~ubuntu-branches/ubuntu/karmic/trousers/karmic

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Baumann
  • Date: 2008-01-23 22:03:00 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20080123220300-fhtqja3c0oq0gp6z
Tags: 0.3.1-4
* Added patch from Aaron M. Ucko <ucko@debian.org> to allow trousers to
  build successfully on amd64, and presumably also other 64-bit
  architectures (Closes: #457400).
* Including udev rule for /dev/tpm from William Lima
  <wlima.amadeus@gmail.com> as suggested by David Smith <dds@google.com>
  (Closes: #459682).
* Added lintian overrides.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
2
# Guess values for system-dependent variables and create Makefiles.
3
 
# Generated by GNU Autoconf 2.59 for trousers 0.2.9.1.
 
3
# Generated by GNU Autoconf 2.59 for trousers 0.3.1.
4
4
#
5
5
# Report bugs to <trousers-tech@lists.sf.net>.
6
6
#
423
423
# Identity of this package.
424
424
PACKAGE_NAME='trousers'
425
425
PACKAGE_TARNAME='trousers'
426
 
PACKAGE_VERSION='0.2.9.1'
427
 
PACKAGE_STRING='trousers 0.2.9.1'
 
426
PACKAGE_VERSION='0.3.1'
 
427
PACKAGE_STRING='trousers 0.3.1'
428
428
PACKAGE_BUGREPORT='trousers-tech@lists.sf.net'
429
429
 
430
430
# Factoring default headers for most tests.
464
464
# include <unistd.h>
465
465
#endif"
466
466
 
467
 
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar OPENSSL_LIB_DIR CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CRYPTO_PACKAGE HAVE_GTK_TRUE HAVE_GTK_FALSE PKG_CONFIG GTK_CFLAGS GTK_LIBS EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL TCSD_DEFAULT_PORT LIBOBJS LTLIBOBJS'
 
467
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar OPENSSL_LIB_DIR CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CRYPTO_PACKAGE CRYPTOLIB CPP EGREP HAVE_GTK_TRUE HAVE_GTK_FALSE PKG_CONFIG GTK_CFLAGS GTK_LIBS TCSD_DEFAULT_PORT RPC TSS_BUILD_HASH_TRUE TSS_BUILD_HASH_FALSE TSS_BUILD_GETSET_TRUE TSS_BUILD_GETSET_FALSE TSS_BUILD_RANDOM_TRUE TSS_BUILD_RANDOM_FALSE TSS_BUILD_CAPS_TRUE TSS_BUILD_CAPS_FALSE TSS_BUILD_CAPS_TPM_TRUE TSS_BUILD_CAPS_TPM_FALSE TSS_BUILD_POLICY_TRUE TSS_BUILD_POLICY_FALSE TSS_BUILD_DIR_TRUE TSS_BUILD_DIR_FALSE TSS_BUILD_PCR_EVENTS_TRUE TSS_BUILD_PCR_EVENTS_FALSE TSS_BUILD_SIGN_TRUE TSS_BUILD_SIGN_FALSE TSS_BUILD_QUOTE_TRUE TSS_BUILD_QUOTE_FALSE TSS_BUILD_PCR_COMP_TRUE TSS_BUILD_PCR_COMP_FALSE TSS_BUILD_SEAL_TRUE TSS_BUILD_SEAL_FALSE TSS_BUILD_CHANGEAUTH_TRUE TSS_BUILD_CHANGEAUTH_FALSE TSS_BUILD_BIND_TRUE TSS_BUILD_BIND_FALSE TSS_BUILD_OWN_TRUE TSS_BUILD_OWN_FALSE TSS_BUILD_EK_TRUE TSS_BUILD_EK_FALSE TSS_BUILD_PS_TRUE TSS_BUILD_PS_FALSE TSS_BUILD_ADMIN_TRUE TSS_BUILD_ADMIN_FALSE TSS_BUILD_AIK_TRUE TSS_BUILD_AIK_FALSE TSS_BUILD_CERTIFY_TRUE TSS_BUILD_CERTIFY_FALSE TSS_BUILD_MAINT_TRUE TSS_BUILD_MAINT_FALSE TSS_BUILD_MIGRATION_TRUE TSS_BUILD_MIGRATION_FALSE TSS_BUILD_KEY_TRUE TSS_BUILD_KEY_FALSE TSS_BUILD_PCR_EXTEND_TRUE TSS_BUILD_PCR_EXTEND_FALSE TSS_BUILD_SELFTEST_TRUE TSS_BUILD_SELFTEST_FALSE TSS_BUILD_TSS12_TRUE TSS_BUILD_TSS12_FALSE TSS_BUILD_DAA_TRUE TSS_BUILD_DAA_FALSE TSS_BUILD_PCR_COMP12_TRUE TSS_BUILD_PCR_COMP12_FALSE TSS_BUILD_COUNTER_TRUE TSS_BUILD_COUNTER_FALSE TSS_BUILD_TICK_TRUE TSS_BUILD_TICK_FALSE TSS_BUILD_TRANSPORT_TRUE TSS_BUILD_TRANSPORT_FALSE TSS_BUILD_ASN1_TRUE TSS_BUILD_ASN1_FALSE TSS_BUILD_NV_TRUE TSS_BUILD_NV_FALSE TSS_BUILD_AUDIT_TRUE TSS_BUILD_AUDIT_FALSE TSS_BUILD_SEALX_TRUE TSS_BUILD_SEALX_FALSE TSS_BUILD_DELEGATION_TRUE TSS_BUILD_DELEGATION_FALSE TSS_BUILD_QUOTE2_TRUE TSS_BUILD_QUOTE2_FALSE TSS_BUILD_CMK_TRUE TSS_BUILD_CMK_FALSE TSS_BUILD_NV_LIST_TRUE TSS_BUILD_NV_LIST_FALSE TSS_BUILD_NV_SUPPORT_TRUE TSS_BUILD_NV_SUPPORT_FALSE TSS_BUILD_GET_FLAGS_TRUE TSS_BUILD_GET_FLAGS_FALSE TSS_BUILD_PCRS_LIST_TRUE TSS_BUILD_PCRS_LIST_FALSE TSS_BUILD_HASH_LIST_TRUE TSS_BUILD_HASH_LIST_FALSE TSS_BUILD_ENCDATA_LIST_TRUE TSS_BUILD_ENCDATA_LIST_FALSE TSS_BUILD_RSAKEY_LIST_TRUE TSS_BUILD_RSAKEY_LIST_FALSE TSS_BUILD_AUTH_TRUE TSS_BUILD_AUTH_FALSE TSS_BUILD_ASYM_CRYPTO_TRUE TSS_BUILD_ASYM_CRYPTO_FALSE TSS_BUILD_SYM_CRYPTO_TRUE TSS_BUILD_SYM_CRYPTO_FALSE LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL LIBOBJS LTLIBOBJS'
468
468
ac_subst_files=''
469
469
 
470
470
# Initialize some variables set by options.
953
953
  # Omit some internal or obsolete options to make the list less imposing.
954
954
  # This message is too long to be a string in the A/UX 3.1 sh.
955
955
  cat <<_ACEOF
956
 
\`configure' configures trousers 0.2.9.1 to adapt to many kinds of systems.
 
956
\`configure' configures trousers 0.3.1 to adapt to many kinds of systems.
957
957
 
958
958
Usage: $0 [OPTION]... [VAR=VALUE]...
959
959
 
1020
1020
 
1021
1021
if test -n "$ac_init_help"; then
1022
1022
  case $ac_init_help in
1023
 
     short | recursive ) echo "Configuration of trousers 0.2.9.1:";;
 
1023
     short | recursive ) echo "Configuration of trousers 0.3.1:";;
1024
1024
   esac
1025
1025
  cat <<\_ACEOF
1026
1026
 
1033
1033
  --enable-dependency-tracking   do not reject slow dependency extractors
1034
1034
  --enable-gcov           turn on gcov code coverage flags [default=off]
1035
1035
  --enable-gprof          enable profiling with gprof [default=off]
1036
 
  --enable-policy-copying enable copying the default policy when a new working
1037
 
                          object is created (not spec compliant) [default=off]
1038
1036
  --enable-strict-spec-compliance
1039
1037
                          build TrouSerS as strictly spec compliant
1040
1038
                          [default=off]
1050
1048
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1051
1049
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1052
1050
  --with-openssl=PATH     Location of openssl libs/includes
 
1051
  --with-gmp              build TrouSerS with the GMP math lib (used in DAA)
1053
1052
  --with-gui              type of gui popup (gtk/none) [default=gtk]
 
1053
  --with-api              Version of the TSS API to build [default=1.2]
1054
1054
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1055
1055
  --with-pic              try to use only PIC/non-PIC objects [default=use
1056
1056
                          both]
1170
1170
test -n "$ac_init_help" && exit 0
1171
1171
if $ac_init_version; then
1172
1172
  cat <<\_ACEOF
1173
 
trousers configure 0.2.9.1
 
1173
trousers configure 0.3.1
1174
1174
generated by GNU Autoconf 2.59
1175
1175
 
1176
1176
Copyright (C) 2003 Free Software Foundation, Inc.
1184
1184
This file contains any messages produced by compilers while
1185
1185
running configure, to aid debugging if configure makes a mistake.
1186
1186
 
1187
 
It was created by trousers $as_me 0.2.9.1, which was
 
1187
It was created by trousers $as_me 0.3.1, which was
1188
1188
generated by GNU Autoconf 2.59.  Invocation command line was
1189
1189
 
1190
1190
  $ $0 $@
1521
1521
 
1522
1522
 
1523
1523
 
 
1524
TSS_SPEC_MAJOR=1
 
1525
TSS_SPEC_MINOR=2
1524
1526
TSS_VER_MAJOR=0
1525
 
TSS_VER_MINOR=2
 
1527
TSS_VER_MINOR=3
1526
1528
 
1527
1529
# compute $target
1528
1530
ac_aux_dir=
1914
1916
 
1915
1917
# Define the identity of the package.
1916
1918
 PACKAGE='trousers'
1917
 
 VERSION='0.2.9.1'
 
1919
 VERSION='0.3.1'
1918
1920
 
1919
1921
 
1920
1922
cat >>confdefs.h <<_ACEOF
2074
2076
                ;;
2075
2077
esac
2076
2078
 
2077
 
# Non-standard OpenSSL (for 64bit platforms)
2078
 
echo "$as_me:$LINENO: checking Non-standard OpenSSL" >&5
2079
 
echo $ECHO_N "checking Non-standard OpenSSL... $ECHO_C" >&6
 
2079
# Non-standard OpenSSL location
 
2080
echo "$as_me:$LINENO: checking Non-standard OpenSSL location" >&5
 
2081
echo $ECHO_N "checking Non-standard OpenSSL location... $ECHO_C" >&6
2080
2082
 
2081
2083
# Check whether --with-openssl or --without-openssl was given.
2082
2084
if test "${with_openssl+set}" = set; then
3280
3282
fi
3281
3283
 
3282
3284
 
 
3285
CRYPTOLIB=-lcrypto
 
3286
 
3283
3287
 
3284
3288
# Check whether --enable-gcov or --disable-gcov was given.
3285
3289
if test "${enable_gcov+set}" = set; then
3298
3302
echo "${ECHO_T}*** Enabling profiling at user request ***" >&6
3299
3303
fi;
3300
3304
 
3301
 
COPY_POLICIES=0
3302
 
# strict spec compliance
3303
 
# Check whether --enable-policy-copying or --disable-policy-copying was given.
3304
 
if test "${enable_policy_copying+set}" = set; then
3305
 
  enableval="$enable_policy_copying"
3306
 
  CFLAGS="$CFLAGS -DTSS_COPY_POLICY_OBJECTS"
3307
 
                 COPY_POLICIES=1
3308
 
                 echo "$as_me:$LINENO: result: *** Enabling spec compliance at user request ***" >&5
3309
 
echo "${ECHO_T}*** Enabling spec compliance at user request ***" >&6
3310
 
fi;
3311
 
 
3312
3305
SPEC_COMP=0
3313
3306
# strict spec compliance
3314
3307
# Check whether --enable-strict-spec-compliance or --disable-strict-spec-compliance was given.
3315
3308
if test "${enable_strict_spec_compliance+set}" = set; then
3316
3309
  enableval="$enable_strict_spec_compliance"
3317
 
  if test $COPY_POLICIES -eq 1; then { { echo "$as_me:$LINENO: error: Policy copying cannot be enabled in strict spec compliance mode" >&5
3318
 
echo "$as_me: error: Policy copying cannot be enabled in strict spec compliance mode" >&2;}
3319
 
   { (exit 1); exit 1; }; } fi
3320
 
                 CFLAGS="$CFLAGS -DTSS_SPEC_COMPLIANCE"
 
3310
  CFLAGS="$CFLAGS -DTSS_SPEC_COMPLIANCE"
3321
3311
                 SPEC_COMP=1
3322
3312
                 echo "$as_me:$LINENO: result: *** Enabling spec compliance at user request ***" >&5
3323
3313
echo "${ECHO_T}*** Enabling spec compliance at user request ***" >&6
3324
3314
fi;
3325
3315
 
 
3316
# daa math lib: gmp or openssl (default openssl)
 
3317
MATH_DEFINE=BI_OPENSSL
 
3318
ac_ext=c
 
3319
ac_cpp='$CPP $CPPFLAGS'
 
3320
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
3321
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
3322
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
3323
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 
3324
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
 
3325
# On Suns, sometimes $CPP names a directory.
 
3326
if test -n "$CPP" && test -d "$CPP"; then
 
3327
  CPP=
 
3328
fi
 
3329
if test -z "$CPP"; then
 
3330
  if test "${ac_cv_prog_CPP+set}" = set; then
 
3331
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3332
else
 
3333
      # Double quotes because CPP needs to be expanded
 
3334
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
 
3335
    do
 
3336
      ac_preproc_ok=false
 
3337
for ac_c_preproc_warn_flag in '' yes
 
3338
do
 
3339
  # Use a header file that comes with gcc, so configuring glibc
 
3340
  # with a fresh cross-compiler works.
 
3341
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
3342
  # <limits.h> exists even on freestanding compilers.
 
3343
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
3344
  # not just through cpp. "Syntax error" is here to catch this case.
 
3345
  cat >conftest.$ac_ext <<_ACEOF
 
3346
/* confdefs.h.  */
 
3347
_ACEOF
 
3348
cat confdefs.h >>conftest.$ac_ext
 
3349
cat >>conftest.$ac_ext <<_ACEOF
 
3350
/* end confdefs.h.  */
 
3351
#ifdef __STDC__
 
3352
# include <limits.h>
 
3353
#else
 
3354
# include <assert.h>
 
3355
#endif
 
3356
                     Syntax error
 
3357
_ACEOF
 
3358
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 
3359
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
3360
  ac_status=$?
 
3361
  grep -v '^ *+' conftest.er1 >conftest.err
 
3362
  rm -f conftest.er1
 
3363
  cat conftest.err >&5
 
3364
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3365
  (exit $ac_status); } >/dev/null; then
 
3366
  if test -s conftest.err; then
 
3367
    ac_cpp_err=$ac_c_preproc_warn_flag
 
3368
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 
3369
  else
 
3370
    ac_cpp_err=
 
3371
  fi
 
3372
else
 
3373
  ac_cpp_err=yes
 
3374
fi
 
3375
if test -z "$ac_cpp_err"; then
 
3376
  :
 
3377
else
 
3378
  echo "$as_me: failed program was:" >&5
 
3379
sed 's/^/| /' conftest.$ac_ext >&5
 
3380
 
 
3381
  # Broken: fails on valid input.
 
3382
continue
 
3383
fi
 
3384
rm -f conftest.err conftest.$ac_ext
 
3385
 
 
3386
  # OK, works on sane cases.  Now check whether non-existent headers
 
3387
  # can be detected and how.
 
3388
  cat >conftest.$ac_ext <<_ACEOF
 
3389
/* confdefs.h.  */
 
3390
_ACEOF
 
3391
cat confdefs.h >>conftest.$ac_ext
 
3392
cat >>conftest.$ac_ext <<_ACEOF
 
3393
/* end confdefs.h.  */
 
3394
#include <ac_nonexistent.h>
 
3395
_ACEOF
 
3396
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 
3397
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
3398
  ac_status=$?
 
3399
  grep -v '^ *+' conftest.er1 >conftest.err
 
3400
  rm -f conftest.er1
 
3401
  cat conftest.err >&5
 
3402
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3403
  (exit $ac_status); } >/dev/null; then
 
3404
  if test -s conftest.err; then
 
3405
    ac_cpp_err=$ac_c_preproc_warn_flag
 
3406
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 
3407
  else
 
3408
    ac_cpp_err=
 
3409
  fi
 
3410
else
 
3411
  ac_cpp_err=yes
 
3412
fi
 
3413
if test -z "$ac_cpp_err"; then
 
3414
  # Broken: success on invalid input.
 
3415
continue
 
3416
else
 
3417
  echo "$as_me: failed program was:" >&5
 
3418
sed 's/^/| /' conftest.$ac_ext >&5
 
3419
 
 
3420
  # Passes both tests.
 
3421
ac_preproc_ok=:
 
3422
break
 
3423
fi
 
3424
rm -f conftest.err conftest.$ac_ext
 
3425
 
 
3426
done
 
3427
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
3428
rm -f conftest.err conftest.$ac_ext
 
3429
if $ac_preproc_ok; then
 
3430
  break
 
3431
fi
 
3432
 
 
3433
    done
 
3434
    ac_cv_prog_CPP=$CPP
 
3435
 
 
3436
fi
 
3437
  CPP=$ac_cv_prog_CPP
 
3438
else
 
3439
  ac_cv_prog_CPP=$CPP
 
3440
fi
 
3441
echo "$as_me:$LINENO: result: $CPP" >&5
 
3442
echo "${ECHO_T}$CPP" >&6
 
3443
ac_preproc_ok=false
 
3444
for ac_c_preproc_warn_flag in '' yes
 
3445
do
 
3446
  # Use a header file that comes with gcc, so configuring glibc
 
3447
  # with a fresh cross-compiler works.
 
3448
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
3449
  # <limits.h> exists even on freestanding compilers.
 
3450
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
3451
  # not just through cpp. "Syntax error" is here to catch this case.
 
3452
  cat >conftest.$ac_ext <<_ACEOF
 
3453
/* confdefs.h.  */
 
3454
_ACEOF
 
3455
cat confdefs.h >>conftest.$ac_ext
 
3456
cat >>conftest.$ac_ext <<_ACEOF
 
3457
/* end confdefs.h.  */
 
3458
#ifdef __STDC__
 
3459
# include <limits.h>
 
3460
#else
 
3461
# include <assert.h>
 
3462
#endif
 
3463
                     Syntax error
 
3464
_ACEOF
 
3465
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 
3466
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
3467
  ac_status=$?
 
3468
  grep -v '^ *+' conftest.er1 >conftest.err
 
3469
  rm -f conftest.er1
 
3470
  cat conftest.err >&5
 
3471
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3472
  (exit $ac_status); } >/dev/null; then
 
3473
  if test -s conftest.err; then
 
3474
    ac_cpp_err=$ac_c_preproc_warn_flag
 
3475
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 
3476
  else
 
3477
    ac_cpp_err=
 
3478
  fi
 
3479
else
 
3480
  ac_cpp_err=yes
 
3481
fi
 
3482
if test -z "$ac_cpp_err"; then
 
3483
  :
 
3484
else
 
3485
  echo "$as_me: failed program was:" >&5
 
3486
sed 's/^/| /' conftest.$ac_ext >&5
 
3487
 
 
3488
  # Broken: fails on valid input.
 
3489
continue
 
3490
fi
 
3491
rm -f conftest.err conftest.$ac_ext
 
3492
 
 
3493
  # OK, works on sane cases.  Now check whether non-existent headers
 
3494
  # can be detected and how.
 
3495
  cat >conftest.$ac_ext <<_ACEOF
 
3496
/* confdefs.h.  */
 
3497
_ACEOF
 
3498
cat confdefs.h >>conftest.$ac_ext
 
3499
cat >>conftest.$ac_ext <<_ACEOF
 
3500
/* end confdefs.h.  */
 
3501
#include <ac_nonexistent.h>
 
3502
_ACEOF
 
3503
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 
3504
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
3505
  ac_status=$?
 
3506
  grep -v '^ *+' conftest.er1 >conftest.err
 
3507
  rm -f conftest.er1
 
3508
  cat conftest.err >&5
 
3509
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3510
  (exit $ac_status); } >/dev/null; then
 
3511
  if test -s conftest.err; then
 
3512
    ac_cpp_err=$ac_c_preproc_warn_flag
 
3513
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 
3514
  else
 
3515
    ac_cpp_err=
 
3516
  fi
 
3517
else
 
3518
  ac_cpp_err=yes
 
3519
fi
 
3520
if test -z "$ac_cpp_err"; then
 
3521
  # Broken: success on invalid input.
 
3522
continue
 
3523
else
 
3524
  echo "$as_me: failed program was:" >&5
 
3525
sed 's/^/| /' conftest.$ac_ext >&5
 
3526
 
 
3527
  # Passes both tests.
 
3528
ac_preproc_ok=:
 
3529
break
 
3530
fi
 
3531
rm -f conftest.err conftest.$ac_ext
 
3532
 
 
3533
done
 
3534
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
3535
rm -f conftest.err conftest.$ac_ext
 
3536
if $ac_preproc_ok; then
 
3537
  :
 
3538
else
 
3539
  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
 
3540
See \`config.log' for more details." >&5
 
3541
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
 
3542
See \`config.log' for more details." >&2;}
 
3543
   { (exit 1); exit 1; }; }
 
3544
fi
 
3545
 
 
3546
ac_ext=c
 
3547
ac_cpp='$CPP $CPPFLAGS'
 
3548
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
3549
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
3550
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
3551
 
 
3552
 
 
3553
echo "$as_me:$LINENO: checking for egrep" >&5
 
3554
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
 
3555
if test "${ac_cv_prog_egrep+set}" = set; then
 
3556
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3557
else
 
3558
  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
 
3559
    then ac_cv_prog_egrep='grep -E'
 
3560
    else ac_cv_prog_egrep='egrep'
 
3561
    fi
 
3562
fi
 
3563
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
 
3564
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
 
3565
 EGREP=$ac_cv_prog_egrep
 
3566
 
 
3567
 
 
3568
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
3569
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
 
3570
if test "${ac_cv_header_stdc+set}" = set; then
 
3571
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3572
else
 
3573
  cat >conftest.$ac_ext <<_ACEOF
 
3574
/* confdefs.h.  */
 
3575
_ACEOF
 
3576
cat confdefs.h >>conftest.$ac_ext
 
3577
cat >>conftest.$ac_ext <<_ACEOF
 
3578
/* end confdefs.h.  */
 
3579
#include <stdlib.h>
 
3580
#include <stdarg.h>
 
3581
#include <string.h>
 
3582
#include <float.h>
 
3583
 
 
3584
int
 
3585
main ()
 
3586
{
 
3587
 
 
3588
  ;
 
3589
  return 0;
 
3590
}
 
3591
_ACEOF
 
3592
rm -f conftest.$ac_objext
 
3593
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
3594
  (eval $ac_compile) 2>conftest.er1
 
3595
  ac_status=$?
 
3596
  grep -v '^ *+' conftest.er1 >conftest.err
 
3597
  rm -f conftest.er1
 
3598
  cat conftest.err >&5
 
3599
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3600
  (exit $ac_status); } &&
 
3601
         { ac_try='test -z "$ac_c_werror_flag"
 
3602
                         || test ! -s conftest.err'
 
3603
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3604
  (eval $ac_try) 2>&5
 
3605
  ac_status=$?
 
3606
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3607
  (exit $ac_status); }; } &&
 
3608
         { ac_try='test -s conftest.$ac_objext'
 
3609
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3610
  (eval $ac_try) 2>&5
 
3611
  ac_status=$?
 
3612
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3613
  (exit $ac_status); }; }; then
 
3614
  ac_cv_header_stdc=yes
 
3615
else
 
3616
  echo "$as_me: failed program was:" >&5
 
3617
sed 's/^/| /' conftest.$ac_ext >&5
 
3618
 
 
3619
ac_cv_header_stdc=no
 
3620
fi
 
3621
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
3622
 
 
3623
if test $ac_cv_header_stdc = yes; then
 
3624
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 
3625
  cat >conftest.$ac_ext <<_ACEOF
 
3626
/* confdefs.h.  */
 
3627
_ACEOF
 
3628
cat confdefs.h >>conftest.$ac_ext
 
3629
cat >>conftest.$ac_ext <<_ACEOF
 
3630
/* end confdefs.h.  */
 
3631
#include <string.h>
 
3632
 
 
3633
_ACEOF
 
3634
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
3635
  $EGREP "memchr" >/dev/null 2>&1; then
 
3636
  :
 
3637
else
 
3638
  ac_cv_header_stdc=no
 
3639
fi
 
3640
rm -f conftest*
 
3641
 
 
3642
fi
 
3643
 
 
3644
if test $ac_cv_header_stdc = yes; then
 
3645
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 
3646
  cat >conftest.$ac_ext <<_ACEOF
 
3647
/* confdefs.h.  */
 
3648
_ACEOF
 
3649
cat confdefs.h >>conftest.$ac_ext
 
3650
cat >>conftest.$ac_ext <<_ACEOF
 
3651
/* end confdefs.h.  */
 
3652
#include <stdlib.h>
 
3653
 
 
3654
_ACEOF
 
3655
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
3656
  $EGREP "free" >/dev/null 2>&1; then
 
3657
  :
 
3658
else
 
3659
  ac_cv_header_stdc=no
 
3660
fi
 
3661
rm -f conftest*
 
3662
 
 
3663
fi
 
3664
 
 
3665
if test $ac_cv_header_stdc = yes; then
 
3666
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 
3667
  if test "$cross_compiling" = yes; then
 
3668
  :
 
3669
else
 
3670
  cat >conftest.$ac_ext <<_ACEOF
 
3671
/* confdefs.h.  */
 
3672
_ACEOF
 
3673
cat confdefs.h >>conftest.$ac_ext
 
3674
cat >>conftest.$ac_ext <<_ACEOF
 
3675
/* end confdefs.h.  */
 
3676
#include <ctype.h>
 
3677
#if ((' ' & 0x0FF) == 0x020)
 
3678
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 
3679
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 
3680
#else
 
3681
# define ISLOWER(c) \
 
3682
                   (('a' <= (c) && (c) <= 'i') \
 
3683
                     || ('j' <= (c) && (c) <= 'r') \
 
3684
                     || ('s' <= (c) && (c) <= 'z'))
 
3685
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 
3686
#endif
 
3687
 
 
3688
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 
3689
int
 
3690
main ()
 
3691
{
 
3692
  int i;
 
3693
  for (i = 0; i < 256; i++)
 
3694
    if (XOR (islower (i), ISLOWER (i))
 
3695
        || toupper (i) != TOUPPER (i))
 
3696
      exit(2);
 
3697
  exit (0);
 
3698
}
 
3699
_ACEOF
 
3700
rm -f conftest$ac_exeext
 
3701
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
3702
  (eval $ac_link) 2>&5
 
3703
  ac_status=$?
 
3704
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3705
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 
3706
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3707
  (eval $ac_try) 2>&5
 
3708
  ac_status=$?
 
3709
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3710
  (exit $ac_status); }; }; then
 
3711
  :
 
3712
else
 
3713
  echo "$as_me: program exited with status $ac_status" >&5
 
3714
echo "$as_me: failed program was:" >&5
 
3715
sed 's/^/| /' conftest.$ac_ext >&5
 
3716
 
 
3717
( exit $ac_status )
 
3718
ac_cv_header_stdc=no
 
3719
fi
 
3720
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
3721
fi
 
3722
fi
 
3723
fi
 
3724
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
3725
echo "${ECHO_T}$ac_cv_header_stdc" >&6
 
3726
if test $ac_cv_header_stdc = yes; then
 
3727
 
 
3728
cat >>confdefs.h <<\_ACEOF
 
3729
#define STDC_HEADERS 1
 
3730
_ACEOF
 
3731
 
 
3732
fi
 
3733
 
 
3734
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
 
3735
 
 
3736
 
 
3737
 
 
3738
 
 
3739
 
 
3740
 
 
3741
 
 
3742
 
 
3743
 
 
3744
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
 
3745
                  inttypes.h stdint.h unistd.h
 
3746
do
 
3747
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
3748
echo "$as_me:$LINENO: checking for $ac_header" >&5
 
3749
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 
3750
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
3751
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3752
else
 
3753
  cat >conftest.$ac_ext <<_ACEOF
 
3754
/* confdefs.h.  */
 
3755
_ACEOF
 
3756
cat confdefs.h >>conftest.$ac_ext
 
3757
cat >>conftest.$ac_ext <<_ACEOF
 
3758
/* end confdefs.h.  */
 
3759
$ac_includes_default
 
3760
 
 
3761
#include <$ac_header>
 
3762
_ACEOF
 
3763
rm -f conftest.$ac_objext
 
3764
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
3765
  (eval $ac_compile) 2>conftest.er1
 
3766
  ac_status=$?
 
3767
  grep -v '^ *+' conftest.er1 >conftest.err
 
3768
  rm -f conftest.er1
 
3769
  cat conftest.err >&5
 
3770
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3771
  (exit $ac_status); } &&
 
3772
         { ac_try='test -z "$ac_c_werror_flag"
 
3773
                         || test ! -s conftest.err'
 
3774
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3775
  (eval $ac_try) 2>&5
 
3776
  ac_status=$?
 
3777
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3778
  (exit $ac_status); }; } &&
 
3779
         { ac_try='test -s conftest.$ac_objext'
 
3780
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3781
  (eval $ac_try) 2>&5
 
3782
  ac_status=$?
 
3783
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3784
  (exit $ac_status); }; }; then
 
3785
  eval "$as_ac_Header=yes"
 
3786
else
 
3787
  echo "$as_me: failed program was:" >&5
 
3788
sed 's/^/| /' conftest.$ac_ext >&5
 
3789
 
 
3790
eval "$as_ac_Header=no"
 
3791
fi
 
3792
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
3793
fi
 
3794
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
 
3795
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
3796
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
3797
  cat >>confdefs.h <<_ACEOF
 
3798
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
3799
_ACEOF
 
3800
 
 
3801
fi
 
3802
 
 
3803
done
 
3804
 
 
3805
 
 
3806
 
 
3807
# Check whether --with-gmp or --without-gmp was given.
 
3808
if test "${with_gmp+set}" = set; then
 
3809
  withval="$with_gmp"
 
3810
 
 
3811
echo "$as_me:$LINENO: checking for __gmp_rand in -lgmp" >&5
 
3812
echo $ECHO_N "checking for __gmp_rand in -lgmp... $ECHO_C" >&6
 
3813
if test "${ac_cv_lib_gmp___gmp_rand+set}" = set; then
 
3814
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3815
else
 
3816
  ac_check_lib_save_LIBS=$LIBS
 
3817
LIBS="-lgmp  $LIBS"
 
3818
cat >conftest.$ac_ext <<_ACEOF
 
3819
/* confdefs.h.  */
 
3820
_ACEOF
 
3821
cat confdefs.h >>conftest.$ac_ext
 
3822
cat >>conftest.$ac_ext <<_ACEOF
 
3823
/* end confdefs.h.  */
 
3824
 
 
3825
/* Override any gcc2 internal prototype to avoid an error.  */
 
3826
#ifdef __cplusplus
 
3827
extern "C"
 
3828
#endif
 
3829
/* We use char because int might match the return type of a gcc2
 
3830
   builtin and then its argument prototype would still apply.  */
 
3831
char __gmp_rand ();
 
3832
int
 
3833
main ()
 
3834
{
 
3835
__gmp_rand ();
 
3836
  ;
 
3837
  return 0;
 
3838
}
 
3839
_ACEOF
 
3840
rm -f conftest.$ac_objext conftest$ac_exeext
 
3841
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
3842
  (eval $ac_link) 2>conftest.er1
 
3843
  ac_status=$?
 
3844
  grep -v '^ *+' conftest.er1 >conftest.err
 
3845
  rm -f conftest.er1
 
3846
  cat conftest.err >&5
 
3847
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3848
  (exit $ac_status); } &&
 
3849
         { ac_try='test -z "$ac_c_werror_flag"
 
3850
                         || test ! -s conftest.err'
 
3851
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3852
  (eval $ac_try) 2>&5
 
3853
  ac_status=$?
 
3854
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3855
  (exit $ac_status); }; } &&
 
3856
         { ac_try='test -s conftest$ac_exeext'
 
3857
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3858
  (eval $ac_try) 2>&5
 
3859
  ac_status=$?
 
3860
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3861
  (exit $ac_status); }; }; then
 
3862
  ac_cv_lib_gmp___gmp_rand=yes
 
3863
else
 
3864
  echo "$as_me: failed program was:" >&5
 
3865
sed 's/^/| /' conftest.$ac_ext >&5
 
3866
 
 
3867
ac_cv_lib_gmp___gmp_rand=no
 
3868
fi
 
3869
rm -f conftest.err conftest.$ac_objext \
 
3870
      conftest$ac_exeext conftest.$ac_ext
 
3871
LIBS=$ac_check_lib_save_LIBS
 
3872
fi
 
3873
echo "$as_me:$LINENO: result: $ac_cv_lib_gmp___gmp_rand" >&5
 
3874
echo "${ECHO_T}$ac_cv_lib_gmp___gmp_rand" >&6
 
3875
if test $ac_cv_lib_gmp___gmp_rand = yes; then
 
3876
  cat >>confdefs.h <<_ACEOF
 
3877
#define HAVE_LIBGMP 1
 
3878
_ACEOF
 
3879
 
 
3880
  LIBS="-lgmp $LIBS"
 
3881
 
 
3882
fi
 
3883
 
 
3884
 
 
3885
for ac_header in gmp.h
 
3886
do
 
3887
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
3888
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
3889
  echo "$as_me:$LINENO: checking for $ac_header" >&5
 
3890
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 
3891
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
3892
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3893
fi
 
3894
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
 
3895
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
3896
else
 
3897
  # Is the header compilable?
 
3898
echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
3899
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
3900
cat >conftest.$ac_ext <<_ACEOF
 
3901
/* confdefs.h.  */
 
3902
_ACEOF
 
3903
cat confdefs.h >>conftest.$ac_ext
 
3904
cat >>conftest.$ac_ext <<_ACEOF
 
3905
/* end confdefs.h.  */
 
3906
$ac_includes_default
 
3907
#include <$ac_header>
 
3908
_ACEOF
 
3909
rm -f conftest.$ac_objext
 
3910
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
3911
  (eval $ac_compile) 2>conftest.er1
 
3912
  ac_status=$?
 
3913
  grep -v '^ *+' conftest.er1 >conftest.err
 
3914
  rm -f conftest.er1
 
3915
  cat conftest.err >&5
 
3916
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3917
  (exit $ac_status); } &&
 
3918
         { ac_try='test -z "$ac_c_werror_flag"
 
3919
                         || test ! -s conftest.err'
 
3920
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3921
  (eval $ac_try) 2>&5
 
3922
  ac_status=$?
 
3923
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3924
  (exit $ac_status); }; } &&
 
3925
         { ac_try='test -s conftest.$ac_objext'
 
3926
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3927
  (eval $ac_try) 2>&5
 
3928
  ac_status=$?
 
3929
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3930
  (exit $ac_status); }; }; then
 
3931
  ac_header_compiler=yes
 
3932
else
 
3933
  echo "$as_me: failed program was:" >&5
 
3934
sed 's/^/| /' conftest.$ac_ext >&5
 
3935
 
 
3936
ac_header_compiler=no
 
3937
fi
 
3938
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
3939
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
3940
echo "${ECHO_T}$ac_header_compiler" >&6
 
3941
 
 
3942
# Is the header present?
 
3943
echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
3944
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
3945
cat >conftest.$ac_ext <<_ACEOF
 
3946
/* confdefs.h.  */
 
3947
_ACEOF
 
3948
cat confdefs.h >>conftest.$ac_ext
 
3949
cat >>conftest.$ac_ext <<_ACEOF
 
3950
/* end confdefs.h.  */
 
3951
#include <$ac_header>
 
3952
_ACEOF
 
3953
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 
3954
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
3955
  ac_status=$?
 
3956
  grep -v '^ *+' conftest.er1 >conftest.err
 
3957
  rm -f conftest.er1
 
3958
  cat conftest.err >&5
 
3959
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3960
  (exit $ac_status); } >/dev/null; then
 
3961
  if test -s conftest.err; then
 
3962
    ac_cpp_err=$ac_c_preproc_warn_flag
 
3963
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 
3964
  else
 
3965
    ac_cpp_err=
 
3966
  fi
 
3967
else
 
3968
  ac_cpp_err=yes
 
3969
fi
 
3970
if test -z "$ac_cpp_err"; then
 
3971
  ac_header_preproc=yes
 
3972
else
 
3973
  echo "$as_me: failed program was:" >&5
 
3974
sed 's/^/| /' conftest.$ac_ext >&5
 
3975
 
 
3976
  ac_header_preproc=no
 
3977
fi
 
3978
rm -f conftest.err conftest.$ac_ext
 
3979
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
3980
echo "${ECHO_T}$ac_header_preproc" >&6
 
3981
 
 
3982
# So?  What about this header?
 
3983
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 
3984
  yes:no: )
 
3985
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
3986
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
3987
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
3988
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
3989
    ac_header_preproc=yes
 
3990
    ;;
 
3991
  no:yes:* )
 
3992
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
3993
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
3994
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
3995
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
3996
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
3997
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
3998
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
3999
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
4000
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
4001
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
4002
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
4003
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
4004
    (
 
4005
      cat <<\_ASBOX
 
4006
## ----------------------------------------- ##
 
4007
## Report this to trousers-tech@lists.sf.net ##
 
4008
## ----------------------------------------- ##
 
4009
_ASBOX
 
4010
    ) |
 
4011
      sed "s/^/$as_me: WARNING:     /" >&2
 
4012
    ;;
 
4013
esac
 
4014
echo "$as_me:$LINENO: checking for $ac_header" >&5
 
4015
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 
4016
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
4017
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4018
else
 
4019
  eval "$as_ac_Header=\$ac_header_preproc"
 
4020
fi
 
4021
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
 
4022
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
4023
 
 
4024
fi
 
4025
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
4026
  cat >>confdefs.h <<_ACEOF
 
4027
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
4028
_ACEOF
 
4029
 
 
4030
fi
 
4031
 
 
4032
done
 
4033
 
 
4034
            MATH_DEFINE=BI_GMP
 
4035
                echo "$as_me:$LINENO: result: *** Enabling GMP lib at user request ***" >&5
 
4036
echo "${ECHO_T}*** Enabling GMP lib at user request ***" >&6
 
4037
 
 
4038
fi;
 
4039
 
 
4040
case "$MATH_DEFINE" in
 
4041
BI_OPENSSL)
 
4042
 
 
4043
 
 
4044
for ac_header in  openssl/bn.h openssl/engine.h
 
4045
do
 
4046
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
4047
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
4048
  echo "$as_me:$LINENO: checking for $ac_header" >&5
 
4049
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 
4050
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
4051
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4052
fi
 
4053
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
 
4054
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
4055
else
 
4056
  # Is the header compilable?
 
4057
echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
4058
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
4059
cat >conftest.$ac_ext <<_ACEOF
 
4060
/* confdefs.h.  */
 
4061
_ACEOF
 
4062
cat confdefs.h >>conftest.$ac_ext
 
4063
cat >>conftest.$ac_ext <<_ACEOF
 
4064
/* end confdefs.h.  */
 
4065
$ac_includes_default
 
4066
#include <$ac_header>
 
4067
_ACEOF
 
4068
rm -f conftest.$ac_objext
 
4069
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
4070
  (eval $ac_compile) 2>conftest.er1
 
4071
  ac_status=$?
 
4072
  grep -v '^ *+' conftest.er1 >conftest.err
 
4073
  rm -f conftest.er1
 
4074
  cat conftest.err >&5
 
4075
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4076
  (exit $ac_status); } &&
 
4077
         { ac_try='test -z "$ac_c_werror_flag"
 
4078
                         || test ! -s conftest.err'
 
4079
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4080
  (eval $ac_try) 2>&5
 
4081
  ac_status=$?
 
4082
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4083
  (exit $ac_status); }; } &&
 
4084
         { ac_try='test -s conftest.$ac_objext'
 
4085
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4086
  (eval $ac_try) 2>&5
 
4087
  ac_status=$?
 
4088
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4089
  (exit $ac_status); }; }; then
 
4090
  ac_header_compiler=yes
 
4091
else
 
4092
  echo "$as_me: failed program was:" >&5
 
4093
sed 's/^/| /' conftest.$ac_ext >&5
 
4094
 
 
4095
ac_header_compiler=no
 
4096
fi
 
4097
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
4098
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
4099
echo "${ECHO_T}$ac_header_compiler" >&6
 
4100
 
 
4101
# Is the header present?
 
4102
echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
4103
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
4104
cat >conftest.$ac_ext <<_ACEOF
 
4105
/* confdefs.h.  */
 
4106
_ACEOF
 
4107
cat confdefs.h >>conftest.$ac_ext
 
4108
cat >>conftest.$ac_ext <<_ACEOF
 
4109
/* end confdefs.h.  */
 
4110
#include <$ac_header>
 
4111
_ACEOF
 
4112
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 
4113
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
4114
  ac_status=$?
 
4115
  grep -v '^ *+' conftest.er1 >conftest.err
 
4116
  rm -f conftest.er1
 
4117
  cat conftest.err >&5
 
4118
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4119
  (exit $ac_status); } >/dev/null; then
 
4120
  if test -s conftest.err; then
 
4121
    ac_cpp_err=$ac_c_preproc_warn_flag
 
4122
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 
4123
  else
 
4124
    ac_cpp_err=
 
4125
  fi
 
4126
else
 
4127
  ac_cpp_err=yes
 
4128
fi
 
4129
if test -z "$ac_cpp_err"; then
 
4130
  ac_header_preproc=yes
 
4131
else
 
4132
  echo "$as_me: failed program was:" >&5
 
4133
sed 's/^/| /' conftest.$ac_ext >&5
 
4134
 
 
4135
  ac_header_preproc=no
 
4136
fi
 
4137
rm -f conftest.err conftest.$ac_ext
 
4138
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
4139
echo "${ECHO_T}$ac_header_preproc" >&6
 
4140
 
 
4141
# So?  What about this header?
 
4142
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 
4143
  yes:no: )
 
4144
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
4145
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
4146
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
4147
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
4148
    ac_header_preproc=yes
 
4149
    ;;
 
4150
  no:yes:* )
 
4151
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
4152
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
4153
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
4154
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
4155
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
4156
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
4157
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
4158
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
4159
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
4160
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
4161
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
4162
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
4163
    (
 
4164
      cat <<\_ASBOX
 
4165
## ----------------------------------------- ##
 
4166
## Report this to trousers-tech@lists.sf.net ##
 
4167
## ----------------------------------------- ##
 
4168
_ASBOX
 
4169
    ) |
 
4170
      sed "s/^/$as_me: WARNING:     /" >&2
 
4171
    ;;
 
4172
esac
 
4173
echo "$as_me:$LINENO: checking for $ac_header" >&5
 
4174
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 
4175
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
4176
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4177
else
 
4178
  eval "$as_ac_Header=\$ac_header_preproc"
 
4179
fi
 
4180
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
 
4181
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
4182
 
 
4183
fi
 
4184
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
4185
  cat >>confdefs.h <<_ACEOF
 
4186
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
4187
_ACEOF
 
4188
 
 
4189
fi
 
4190
 
 
4191
done
 
4192
 
 
4193
        ;;
 
4194
esac
 
4195
CFLAGS="$CFLAGS -D$MATH_DEFINE"
 
4196
 
3326
4197
GUI=gtk
3327
4198
 
3328
4199
# Check whether --with-gui or --without-gui was given.
3446
4317
  HAVE_GTK_FALSE=
3447
4318
fi
3448
4319
 
3449
 
                          { { echo "$as_me:$LINENO: error: GTK libs are currently the only supported GUI library for trousers. Please install the gtk2-devel package for your distro." >&5
 
4320
                { { echo "$as_me:$LINENO: error: GTK libs are currently the only supported GUI library for trousers. Please install the gtk2-devel package for your distro." >&5
3450
4321
echo "$as_me: error: GTK libs are currently the only supported GUI library for trousers. Please install the gtk2-devel package for your distro." >&2;}
3451
4322
   { (exit 1); exit 1; }; }
3452
4323
  fi
3480
4351
   { (exit 1); exit 1; }; }
3481
4352
fi
3482
4353
 
 
4354
#
 
4355
# The default port that the TCS daemon listens on
 
4356
#
 
4357
TCSD_DEFAULT_PORT=30003
 
4358
 
 
4359
#
 
4360
# The RPC mechanism to build into both libtspi and the tcsd
 
4361
#
 
4362
# AC_SUBST(RPC, "soap")
 
4363
RPC="tcstp"
 
4364
 
 
4365
 
 
4366
#
 
4367
# API= The TSS API level to build by default.
 
4368
#
 
4369
# To build a 1.1 TSS, set API=1.1 (./configure --with-api=1.1)
 
4370
# To build a 1.2 TSS, set API=1.2 (./configure --with-api=1.2)
 
4371
#
 
4372
# In order to build a custom TSS API, set API to the lowest API level that
 
4373
# contains the APIs you need. For instance, if you need only APIs that are
 
4374
# a subset of the TSS 1.1 API, set this to 1.1. If you need any of the 1.2
 
4375
# APIs, you'll need to set this to 1.2. Send mail to trousers-tech@lists.sf.net
 
4376
# if you have questions.
 
4377
#
 
4378
API=1.2
 
4379
 
 
4380
# Check whether --with-api or --without-api was given.
 
4381
if test "${with_api+set}" = set; then
 
4382
  withval="$with_api"
 
4383
  API=$withval
 
4384
fi;
 
4385
 
 
4386
if test "x$API" != "x1.1" && test "x$API" != "x1.2"; then
 
4387
        { { echo "$as_me:$LINENO: error: \"1.1\" and \"1.2\" are the only supported API versions for trousers.
 
4388
                      Custom API build options are available by editing 'configure.in'." >&5
 
4389
echo "$as_me: error: \"1.1\" and \"1.2\" are the only supported API versions for trousers.
 
4390
                      Custom API build options are available by editing 'configure.in'." >&2;}
 
4391
   { (exit 1); exit 1; }; }
 
4392
fi
 
4393
 
 
4394
if test "x$API" == "x1.1" || test "x$API" == "x1.2"; then
 
4395
        # Tspi_Hash_GetHashValue,SetHashValue,UpdateHashValue
 
4396
 
 
4397
 
 
4398
if true; then
 
4399
  TSS_BUILD_HASH_TRUE=
 
4400
  TSS_BUILD_HASH_FALSE='#'
 
4401
else
 
4402
  TSS_BUILD_HASH_TRUE='#'
 
4403
  TSS_BUILD_HASH_FALSE=
 
4404
fi
 
4405
 
 
4406
        # Tspi_{Get|Set}Attribdata,{Get|Set}AttribUint32
 
4407
 
 
4408
 
 
4409
if true; then
 
4410
  TSS_BUILD_GETSET_TRUE=
 
4411
  TSS_BUILD_GETSET_FALSE='#'
 
4412
else
 
4413
  TSS_BUILD_GETSET_TRUE='#'
 
4414
  TSS_BUILD_GETSET_FALSE=
 
4415
fi
 
4416
 
 
4417
        # Tspi_TPM_GetRandom,StirRandom
 
4418
 
 
4419
 
 
4420
if true; then
 
4421
  TSS_BUILD_RANDOM_TRUE=
 
4422
  TSS_BUILD_RANDOM_FALSE='#'
 
4423
else
 
4424
  TSS_BUILD_RANDOM_TRUE='#'
 
4425
  TSS_BUILD_RANDOM_FALSE=
 
4426
fi
 
4427
 
 
4428
        # Tspi_GetCapability (for TSP and TCS capabilities)
 
4429
 
 
4430
 
 
4431
if true; then
 
4432
  TSS_BUILD_CAPS_TRUE=
 
4433
  TSS_BUILD_CAPS_FALSE='#'
 
4434
else
 
4435
  TSS_BUILD_CAPS_TRUE='#'
 
4436
  TSS_BUILD_CAPS_FALSE=
 
4437
fi
 
4438
 
 
4439
        # Tspi_TPM_GetCapability (for TPM chip capabilities)
 
4440
 
 
4441
 
 
4442
if true; then
 
4443
  TSS_BUILD_CAPS_TPM_TRUE=
 
4444
  TSS_BUILD_CAPS_TPM_FALSE='#'
 
4445
else
 
4446
  TSS_BUILD_CAPS_TPM_TRUE='#'
 
4447
  TSS_BUILD_CAPS_TPM_FALSE=
 
4448
fi
 
4449
 
 
4450
        # Tspi_GetPolicyObject, Tspi_Policy_SetSecret,FlushSecret,AssignToObject
 
4451
 
 
4452
 
 
4453
if true; then
 
4454
  TSS_BUILD_POLICY_TRUE=
 
4455
  TSS_BUILD_POLICY_FALSE='#'
 
4456
else
 
4457
  TSS_BUILD_POLICY_TRUE='#'
 
4458
  TSS_BUILD_POLICY_FALSE=
 
4459
fi
 
4460
 
 
4461
        # Tspi_TPM_DirWrite,DirRead
 
4462
 
 
4463
 
 
4464
if true; then
 
4465
  TSS_BUILD_DIR_TRUE=
 
4466
  TSS_BUILD_DIR_FALSE='#'
 
4467
else
 
4468
  TSS_BUILD_DIR_TRUE='#'
 
4469
  TSS_BUILD_DIR_FALSE=
 
4470
fi
 
4471
 
 
4472
        # Tspi_TPM_GetEvent,GetEvents,GetEventLog
 
4473
 
 
4474
 
 
4475
if true; then
 
4476
  TSS_BUILD_PCR_EVENTS_TRUE=
 
4477
  TSS_BUILD_PCR_EVENTS_FALSE='#'
 
4478
else
 
4479
  TSS_BUILD_PCR_EVENTS_TRUE='#'
 
4480
  TSS_BUILD_PCR_EVENTS_FALSE=
 
4481
fi
 
4482
 
 
4483
        # Tspi_Hash_Sign,VerifySignature
 
4484
 
 
4485
 
 
4486
if true; then
 
4487
  TSS_BUILD_SIGN_TRUE=
 
4488
  TSS_BUILD_SIGN_FALSE='#'
 
4489
else
 
4490
  TSS_BUILD_SIGN_TRUE='#'
 
4491
  TSS_BUILD_SIGN_FALSE=
 
4492
fi
 
4493
 
 
4494
        # Tspi_TPM_Quote
 
4495
 
 
4496
 
 
4497
if true; then
 
4498
  TSS_BUILD_QUOTE_TRUE=
 
4499
  TSS_BUILD_QUOTE_FALSE='#'
 
4500
else
 
4501
  TSS_BUILD_QUOTE_TRUE='#'
 
4502
  TSS_BUILD_QUOTE_FALSE=
 
4503
fi
 
4504
 
 
4505
        # Tspi_PcrComposite_{Set|Get}PcrValue,SelectPcrIndex
 
4506
 
 
4507
 
 
4508
if true; then
 
4509
  TSS_BUILD_PCR_COMP_TRUE=
 
4510
  TSS_BUILD_PCR_COMP_FALSE='#'
 
4511
else
 
4512
  TSS_BUILD_PCR_COMP_TRUE='#'
 
4513
  TSS_BUILD_PCR_COMP_FALSE=
 
4514
fi
 
4515
 
 
4516
        # Tspi_Data_Seal,Unseal
 
4517
 
 
4518
 
 
4519
if true; then
 
4520
  TSS_BUILD_SEAL_TRUE=
 
4521
  TSS_BUILD_SEAL_FALSE='#'
 
4522
else
 
4523
  TSS_BUILD_SEAL_TRUE='#'
 
4524
  TSS_BUILD_SEAL_FALSE=
 
4525
fi
 
4526
 
 
4527
        # Tspi_ChangeAuth,ChangeAuthAsym
 
4528
 
 
4529
 
 
4530
if true; then
 
4531
  TSS_BUILD_CHANGEAUTH_TRUE=
 
4532
  TSS_BUILD_CHANGEAUTH_FALSE='#'
 
4533
else
 
4534
  TSS_BUILD_CHANGEAUTH_TRUE='#'
 
4535
  TSS_BUILD_CHANGEAUTH_FALSE=
 
4536
fi
 
4537
 
 
4538
        # Tspi_Data_Bind,Unbind
 
4539
 
 
4540
 
 
4541
if true; then
 
4542
  TSS_BUILD_BIND_TRUE=
 
4543
  TSS_BUILD_BIND_FALSE='#'
 
4544
else
 
4545
  TSS_BUILD_BIND_TRUE='#'
 
4546
  TSS_BUILD_BIND_FALSE=
 
4547
fi
 
4548
 
 
4549
        # Tspi_TPM_TakeOwnership,ClearOwner (REQ: EK)
 
4550
 
 
4551
 
 
4552
if true; then
 
4553
  TSS_BUILD_OWN_TRUE=
 
4554
  TSS_BUILD_OWN_FALSE='#'
 
4555
else
 
4556
  TSS_BUILD_OWN_TRUE='#'
 
4557
  TSS_BUILD_OWN_FALSE=
 
4558
fi
 
4559
 
 
4560
        # Tspi_TPM_CreateEndorsementKey,GetPubEndorsementKey
 
4561
 
 
4562
 
 
4563
if true; then
 
4564
  TSS_BUILD_EK_TRUE=
 
4565
  TSS_BUILD_EK_FALSE='#'
 
4566
else
 
4567
  TSS_BUILD_EK_TRUE='#'
 
4568
  TSS_BUILD_EK_FALSE=
 
4569
fi
 
4570
 
 
4571
        # Tspi_Context_RegisterKey,UnregisterKey,LoadKeyByUUID,GetKeyByUUID,GetKeyByPublicInfo,
 
4572
        # GetRegisteredKeysByUUID
 
4573
 
 
4574
 
 
4575
if true; then
 
4576
  TSS_BUILD_PS_TRUE=
 
4577
  TSS_BUILD_PS_FALSE='#'
 
4578
else
 
4579
  TSS_BUILD_PS_TRUE='#'
 
4580
  TSS_BUILD_PS_FALSE=
 
4581
fi
 
4582
 
 
4583
        # Tspi_TPM_{Set|Get}Status
 
4584
 
 
4585
 
 
4586
if true; then
 
4587
  TSS_BUILD_ADMIN_TRUE=
 
4588
  TSS_BUILD_ADMIN_FALSE='#'
 
4589
else
 
4590
  TSS_BUILD_ADMIN_TRUE='#'
 
4591
  TSS_BUILD_ADMIN_FALSE=
 
4592
fi
 
4593
 
 
4594
        # Tspi_TPM_CollateIdentityRequest,ActivateIdentity
 
4595
 
 
4596
 
 
4597
if true; then
 
4598
  TSS_BUILD_AIK_TRUE=
 
4599
  TSS_BUILD_AIK_FALSE='#'
 
4600
else
 
4601
  TSS_BUILD_AIK_TRUE='#'
 
4602
  TSS_BUILD_AIK_FALSE=
 
4603
fi
 
4604
 
 
4605
        # Tspi_Key_CertifyKey
 
4606
 
 
4607
 
 
4608
if true; then
 
4609
  TSS_BUILD_CERTIFY_TRUE=
 
4610
  TSS_BUILD_CERTIFY_FALSE='#'
 
4611
else
 
4612
  TSS_BUILD_CERTIFY_TRUE='#'
 
4613
  TSS_BUILD_CERTIFY_FALSE=
 
4614
fi
 
4615
 
 
4616
        # Tspi_TPM_CreateMaintenanceArchive,KillMaintenanceFeature,LoadMaintenancePubKey,
 
4617
        # CheckMaintenancePubKey
 
4618
 
 
4619
 
 
4620
if true; then
 
4621
  TSS_BUILD_MAINT_TRUE=
 
4622
  TSS_BUILD_MAINT_FALSE='#'
 
4623
else
 
4624
  TSS_BUILD_MAINT_TRUE='#'
 
4625
  TSS_BUILD_MAINT_FALSE=
 
4626
fi
 
4627
 
 
4628
        # Tspi_TPM_AuthorizeMigrationTicket,Key_CreateMigrationBlob,ConvertMigrationBlob
 
4629
 
 
4630
 
 
4631
if true; then
 
4632
  TSS_BUILD_MIGRATION_TRUE=
 
4633
  TSS_BUILD_MIGRATION_FALSE='#'
 
4634
else
 
4635
  TSS_BUILD_MIGRATION_TRUE='#'
 
4636
  TSS_BUILD_MIGRATION_FALSE=
 
4637
fi
 
4638
 
 
4639
        # Tspi_Context_LoadKeyByBlob,Key_LoadKey,UnloadKey,CreateKey,WrapKey,GetPubKey
 
4640
 
 
4641
 
 
4642
if true; then
 
4643
  TSS_BUILD_KEY_TRUE=
 
4644
  TSS_BUILD_KEY_FALSE='#'
 
4645
else
 
4646
  TSS_BUILD_KEY_TRUE='#'
 
4647
  TSS_BUILD_KEY_FALSE=
 
4648
fi
 
4649
 
 
4650
        # Tspi_TPM_PcrExtend,PcrRead,PcrReset
 
4651
 
 
4652
 
 
4653
if true; then
 
4654
  TSS_BUILD_PCR_EXTEND_TRUE=
 
4655
  TSS_BUILD_PCR_EXTEND_FALSE='#'
 
4656
else
 
4657
  TSS_BUILD_PCR_EXTEND_TRUE='#'
 
4658
  TSS_BUILD_PCR_EXTEND_FALSE=
 
4659
fi
 
4660
 
 
4661
        # Tspi_TPM_SelfTestFull,CertifySelfTest,GetTestResult
 
4662
 
 
4663
 
 
4664
if true; then
 
4665
  TSS_BUILD_SELFTEST_TRUE=
 
4666
  TSS_BUILD_SELFTEST_FALSE='#'
 
4667
else
 
4668
  TSS_BUILD_SELFTEST_TRUE='#'
 
4669
  TSS_BUILD_SELFTEST_FALSE=
 
4670
fi
 
4671
 
 
4672
fi
 
4673
 
 
4674
if test "x$API" == "x1.2"; then
 
4675
 
 
4676
 
 
4677
if true; then
 
4678
  TSS_BUILD_TSS12_TRUE=
 
4679
  TSS_BUILD_TSS12_FALSE='#'
 
4680
else
 
4681
  TSS_BUILD_TSS12_TRUE='#'
 
4682
  TSS_BUILD_TSS12_FALSE=
 
4683
fi
 
4684
 
 
4685
        # Don't build DAA until the API is fixed - KEY
 
4686
 
 
4687
 
 
4688
if false; then
 
4689
  TSS_BUILD_DAA_TRUE=
 
4690
  TSS_BUILD_DAA_FALSE='#'
 
4691
else
 
4692
  TSS_BUILD_DAA_TRUE='#'
 
4693
  TSS_BUILD_DAA_FALSE=
 
4694
fi
 
4695
 
 
4696
 
 
4697
 
 
4698
if true; then
 
4699
  TSS_BUILD_PCR_COMP12_TRUE=
 
4700
  TSS_BUILD_PCR_COMP12_FALSE='#'
 
4701
else
 
4702
  TSS_BUILD_PCR_COMP12_TRUE='#'
 
4703
  TSS_BUILD_PCR_COMP12_FALSE=
 
4704
fi
 
4705
 
 
4706
 
 
4707
 
 
4708
if true; then
 
4709
  TSS_BUILD_COUNTER_TRUE=
 
4710
  TSS_BUILD_COUNTER_FALSE='#'
 
4711
else
 
4712
  TSS_BUILD_COUNTER_TRUE='#'
 
4713
  TSS_BUILD_COUNTER_FALSE=
 
4714
fi
 
4715
 
 
4716
 
 
4717
 
 
4718
if true; then
 
4719
  TSS_BUILD_TICK_TRUE=
 
4720
  TSS_BUILD_TICK_FALSE='#'
 
4721
else
 
4722
  TSS_BUILD_TICK_TRUE='#'
 
4723
  TSS_BUILD_TICK_FALSE=
 
4724
fi
 
4725
 
 
4726
 
 
4727
 
 
4728
if true; then
 
4729
  TSS_BUILD_TRANSPORT_TRUE=
 
4730
  TSS_BUILD_TRANSPORT_FALSE='#'
 
4731
else
 
4732
  TSS_BUILD_TRANSPORT_TRUE='#'
 
4733
  TSS_BUILD_TRANSPORT_FALSE=
 
4734
fi
 
4735
 
 
4736
 
 
4737
 
 
4738
if true; then
 
4739
  TSS_BUILD_ASN1_TRUE=
 
4740
  TSS_BUILD_ASN1_FALSE='#'
 
4741
else
 
4742
  TSS_BUILD_ASN1_TRUE='#'
 
4743
  TSS_BUILD_ASN1_FALSE=
 
4744
fi
 
4745
 
 
4746
 
 
4747
 
 
4748
if true; then
 
4749
  TSS_BUILD_NV_TRUE=
 
4750
  TSS_BUILD_NV_FALSE='#'
 
4751
else
 
4752
  TSS_BUILD_NV_TRUE='#'
 
4753
  TSS_BUILD_NV_FALSE=
 
4754
fi
 
4755
 
 
4756
 
 
4757
 
 
4758
if true; then
 
4759
  TSS_BUILD_AUDIT_TRUE=
 
4760
  TSS_BUILD_AUDIT_FALSE='#'
 
4761
else
 
4762
  TSS_BUILD_AUDIT_TRUE='#'
 
4763
  TSS_BUILD_AUDIT_FALSE=
 
4764
fi
 
4765
 
 
4766
 
 
4767
 
 
4768
if true; then
 
4769
  TSS_BUILD_SEALX_TRUE=
 
4770
  TSS_BUILD_SEALX_FALSE='#'
 
4771
else
 
4772
  TSS_BUILD_SEALX_TRUE='#'
 
4773
  TSS_BUILD_SEALX_FALSE=
 
4774
fi
 
4775
 
 
4776
 
 
4777
 
 
4778
if true; then
 
4779
  TSS_BUILD_DELEGATION_TRUE=
 
4780
  TSS_BUILD_DELEGATION_FALSE='#'
 
4781
else
 
4782
  TSS_BUILD_DELEGATION_TRUE='#'
 
4783
  TSS_BUILD_DELEGATION_FALSE=
 
4784
fi
 
4785
 
 
4786
 
 
4787
 
 
4788
if true; then
 
4789
  TSS_BUILD_QUOTE2_TRUE=
 
4790
  TSS_BUILD_QUOTE2_FALSE='#'
 
4791
else
 
4792
  TSS_BUILD_QUOTE2_TRUE='#'
 
4793
  TSS_BUILD_QUOTE2_FALSE=
 
4794
fi
 
4795
 
 
4796
        # CMK depends on MIGRATION
 
4797
 
 
4798
 
 
4799
if true; then
 
4800
  TSS_BUILD_CMK_TRUE=
 
4801
  TSS_BUILD_CMK_FALSE='#'
 
4802
else
 
4803
  TSS_BUILD_CMK_TRUE='#'
 
4804
  TSS_BUILD_CMK_FALSE=
 
4805
fi
 
4806
 
 
4807
else
 
4808
 
 
4809
 
 
4810
if false; then
 
4811
  TSS_BUILD_TSS12_TRUE=
 
4812
  TSS_BUILD_TSS12_FALSE='#'
 
4813
else
 
4814
  TSS_BUILD_TSS12_TRUE='#'
 
4815
  TSS_BUILD_TSS12_FALSE=
 
4816
fi
 
4817
 
 
4818
 
 
4819
 
 
4820
if false; then
 
4821
  TSS_BUILD_DAA_TRUE=
 
4822
  TSS_BUILD_DAA_FALSE='#'
 
4823
else
 
4824
  TSS_BUILD_DAA_TRUE='#'
 
4825
  TSS_BUILD_DAA_FALSE=
 
4826
fi
 
4827
 
 
4828
 
 
4829
 
 
4830
if false; then
 
4831
  TSS_BUILD_PCR_COMP12_TRUE=
 
4832
  TSS_BUILD_PCR_COMP12_FALSE='#'
 
4833
else
 
4834
  TSS_BUILD_PCR_COMP12_TRUE='#'
 
4835
  TSS_BUILD_PCR_COMP12_FALSE=
 
4836
fi
 
4837
 
 
4838
 
 
4839
 
 
4840
if false; then
 
4841
  TSS_BUILD_COUNTER_TRUE=
 
4842
  TSS_BUILD_COUNTER_FALSE='#'
 
4843
else
 
4844
  TSS_BUILD_COUNTER_TRUE='#'
 
4845
  TSS_BUILD_COUNTER_FALSE=
 
4846
fi
 
4847
 
 
4848
 
 
4849
 
 
4850
if false; then
 
4851
  TSS_BUILD_TICK_TRUE=
 
4852
  TSS_BUILD_TICK_FALSE='#'
 
4853
else
 
4854
  TSS_BUILD_TICK_TRUE='#'
 
4855
  TSS_BUILD_TICK_FALSE=
 
4856
fi
 
4857
 
 
4858
 
 
4859
 
 
4860
if false; then
 
4861
  TSS_BUILD_TRANSPORT_TRUE=
 
4862
  TSS_BUILD_TRANSPORT_FALSE='#'
 
4863
else
 
4864
  TSS_BUILD_TRANSPORT_TRUE='#'
 
4865
  TSS_BUILD_TRANSPORT_FALSE=
 
4866
fi
 
4867
 
 
4868
 
 
4869
 
 
4870
if false; then
 
4871
  TSS_BUILD_ASN1_TRUE=
 
4872
  TSS_BUILD_ASN1_FALSE='#'
 
4873
else
 
4874
  TSS_BUILD_ASN1_TRUE='#'
 
4875
  TSS_BUILD_ASN1_FALSE=
 
4876
fi
 
4877
 
 
4878
 
 
4879
 
 
4880
if false; then
 
4881
  TSS_BUILD_NV_TRUE=
 
4882
  TSS_BUILD_NV_FALSE='#'
 
4883
else
 
4884
  TSS_BUILD_NV_TRUE='#'
 
4885
  TSS_BUILD_NV_FALSE=
 
4886
fi
 
4887
 
 
4888
 
 
4889
 
 
4890
if false; then
 
4891
  TSS_BUILD_AUDIT_TRUE=
 
4892
  TSS_BUILD_AUDIT_FALSE='#'
 
4893
else
 
4894
  TSS_BUILD_AUDIT_TRUE='#'
 
4895
  TSS_BUILD_AUDIT_FALSE=
 
4896
fi
 
4897
 
 
4898
 
 
4899
 
 
4900
if false; then
 
4901
  TSS_BUILD_SEALX_TRUE=
 
4902
  TSS_BUILD_SEALX_FALSE='#'
 
4903
else
 
4904
  TSS_BUILD_SEALX_TRUE='#'
 
4905
  TSS_BUILD_SEALX_FALSE=
 
4906
fi
 
4907
 
 
4908
 
 
4909
 
 
4910
if false; then
 
4911
  TSS_BUILD_DELEGATION_TRUE=
 
4912
  TSS_BUILD_DELEGATION_FALSE='#'
 
4913
else
 
4914
  TSS_BUILD_DELEGATION_TRUE='#'
 
4915
  TSS_BUILD_DELEGATION_FALSE=
 
4916
fi
 
4917
 
 
4918
 
 
4919
 
 
4920
if false; then
 
4921
  TSS_BUILD_QUOTE2_TRUE=
 
4922
  TSS_BUILD_QUOTE2_FALSE='#'
 
4923
else
 
4924
  TSS_BUILD_QUOTE2_TRUE='#'
 
4925
  TSS_BUILD_QUOTE2_FALSE=
 
4926
fi
 
4927
 
 
4928
 
 
4929
 
 
4930
if false; then
 
4931
  TSS_BUILD_CMK_TRUE=
 
4932
  TSS_BUILD_CMK_FALSE='#'
 
4933
else
 
4934
  TSS_BUILD_CMK_TRUE='#'
 
4935
  TSS_BUILD_CMK_FALSE=
 
4936
fi
 
4937
 
 
4938
fi
 
4939
 
 
4940
#
 
4941
# There's no need to edit anything below, these conditionals control the building
 
4942
# of files that support the files above, which all contain TSS APIs
 
4943
#
 
4944
 
 
4945
 
 
4946
if test -z $TSS_BUILD_NV_TRUE; then
 
4947
  TSS_BUILD_NV_LIST_TRUE=
 
4948
  TSS_BUILD_NV_LIST_FALSE='#'
 
4949
else
 
4950
  TSS_BUILD_NV_LIST_TRUE='#'
 
4951
  TSS_BUILD_NV_LIST_FALSE=
 
4952
fi
 
4953
 
 
4954
 
 
4955
 
 
4956
if test -z $TSS_BUILD_NV_TRUE; then
 
4957
  TSS_BUILD_NV_SUPPORT_TRUE=
 
4958
  TSS_BUILD_NV_SUPPORT_FALSE='#'
 
4959
else
 
4960
  TSS_BUILD_NV_SUPPORT_TRUE='#'
 
4961
  TSS_BUILD_NV_SUPPORT_FALSE=
 
4962
fi
 
4963
 
 
4964
 
 
4965
 
 
4966
if test -z $TSS_BUILD_ADMIN_TRUE || \
 
4967
                                    test -z $TSS_BUILD_CAPS_TPM_TRUE; then
 
4968
  TSS_BUILD_GET_FLAGS_TRUE=
 
4969
  TSS_BUILD_GET_FLAGS_FALSE='#'
 
4970
else
 
4971
  TSS_BUILD_GET_FLAGS_TRUE='#'
 
4972
  TSS_BUILD_GET_FLAGS_FALSE=
 
4973
fi
 
4974
 
 
4975
 
 
4976
 
 
4977
if test -z $TSS_BUILD_SEAL_TRUE || \
 
4978
                                    test -z $TSS_BUILD_QUOTE_TRUE || \
 
4979
                                    test -z $TSS_BUILD_PCRS_TRUE || \
 
4980
                                    test -z $TSS_BUILD_PCR_COMP_TRUE || \
 
4981
                                    test -z $TSS_BUILD_SEALX_TRUE; then
 
4982
  TSS_BUILD_PCRS_LIST_TRUE=
 
4983
  TSS_BUILD_PCRS_LIST_FALSE='#'
 
4984
else
 
4985
  TSS_BUILD_PCRS_LIST_TRUE='#'
 
4986
  TSS_BUILD_PCRS_LIST_FALSE=
 
4987
fi
 
4988
 
 
4989
 
 
4990
 
 
4991
if test -z $TSS_BUILD_SIGN_TRUE || test -z $TSS_BUILD_HASH_TRUE; then
 
4992
  TSS_BUILD_HASH_LIST_TRUE=
 
4993
  TSS_BUILD_HASH_LIST_FALSE='#'
 
4994
else
 
4995
  TSS_BUILD_HASH_LIST_TRUE='#'
 
4996
  TSS_BUILD_HASH_LIST_FALSE=
 
4997
fi
 
4998
 
 
4999
 
 
5000
 
 
5001
if test -z $TSS_BUILD_SEAL_TRUE || \
 
5002
                                       test -z $TSS_BUILD_CHANGEAUTH_TRUE || \
 
5003
                                       test -z $TSS_BUILD_BIND_TRUE || \
 
5004
                                       test -z $TSS_BUILD_SEALX_TRUE; then
 
5005
  TSS_BUILD_ENCDATA_LIST_TRUE=
 
5006
  TSS_BUILD_ENCDATA_LIST_FALSE='#'
 
5007
else
 
5008
  TSS_BUILD_ENCDATA_LIST_TRUE='#'
 
5009
  TSS_BUILD_ENCDATA_LIST_FALSE=
 
5010
fi
 
5011
 
 
5012
 
 
5013
 
 
5014
if test -z $TSS_BUILD_ADMIN_TRUE || \
 
5015
                                      test -z $TSS_BUILD_EK_TRUE || \
 
5016
                                      test -z $TSS_BUILD_MIGRATION_TRUE || \
 
5017
                                      test -z $TSS_BUILD_MAINT_TRUE || \
 
5018
                                      test -z $TSS_BUILD_CERTIFY_TRUE || \
 
5019
                                      test -z $TSS_BUILD_AIK_TRUE || \
 
5020
                                      test -z $TSS_BUILD_QUOTE_TRUE || \
 
5021
                                      test -z $TSS_BUILD_BIND_TRUE || \
 
5022
                                      test -z $TSS_BUILD_CHANGEAUTH_TRUE || \
 
5023
                                      test -z $TSS_BUILD_OWN_TRUE || \
 
5024
                                      test -z $TSS_BUILD_SIGN_TRUE || \
 
5025
                                      test -z $TSS_BUILD_PS_TRUE || \
 
5026
                                      test -z $TSS_BUILD_SEAL_TRUE || \
 
5027
                                      test -z $TSS_BUILD_DAA_TRUE || \
 
5028
                                      test -z $TSS_BUILD_KEY_TRUE || \
 
5029
                                      test -z $TSS_BUILD_SEALX_TRUE; then
 
5030
  TSS_BUILD_RSAKEY_LIST_TRUE=
 
5031
  TSS_BUILD_RSAKEY_LIST_FALSE='#'
 
5032
else
 
5033
  TSS_BUILD_RSAKEY_LIST_TRUE='#'
 
5034
  TSS_BUILD_RSAKEY_LIST_FALSE=
 
5035
fi
 
5036
 
 
5037
 
 
5038
 
 
5039
if test -z $TSS_BUILD_HASH_TRUE || \
 
5040
                               test -z $TSS_BUILD_CAPS_TRUE || \
 
5041
                               test -z $TSS_BUILD_CAPS_TPM_TRUE || \
 
5042
                               test -z $TSS_BUILD_POLICY_TRUE || \
 
5043
                               test -z $TSS_BUILD_DIR_TRUE || \
 
5044
                               test -z $TSS_BUILD_PCR_EVENTS_TRUE || \
 
5045
                               test -z $TSS_BUILD_SIGN_TRUE || \
 
5046
                               test -z $TSS_BUILD_QUOTE_TRUE || \
 
5047
                               test -z $TSS_BUILD_PCR_COMP_TRUE || \
 
5048
                               test -z $TSS_BUILD_SEAL_TRUE || \
 
5049
                               test -z $TSS_BUILD_SEALX_TRUE || \
 
5050
                               test -z $TSS_BUILD_CHANGEAUTH_TRUE || \
 
5051
                               test -z $TSS_BUILD_BIND_TRUE || \
 
5052
                               test -z $TSS_BUILD_OWN_TRUE || \
 
5053
                               test -z $TSS_BUILD_PS_TRUE || \
 
5054
                               test -z $TSS_BUILD_ADMIN_TRUE || \
 
5055
                               test -z $TSS_BUILD_AIK_TRUE || \
 
5056
                               test -z $TSS_BUILD_EK_TRUE || \
 
5057
                               test -z $TSS_BUILD_CERTIFY_TRUE || \
 
5058
                               test -z $TSS_BUILD_MAINT_TRUE || \
 
5059
                               test -z $TSS_BUILD_MIGRATION_TRUE || \
 
5060
                               test -z $TSS_BUILD_KEY_TRUE || \
 
5061
                               test -z $TSS_BUILD_PCR_EXTEND_TRUE || \
 
5062
                               test -z $TSS_BUILD_SELFTEST_TRUE || \
 
5063
                               test -z $TSS_BUILD_DAA_TRUE; then
 
5064
  TSS_BUILD_AUTH_TRUE=
 
5065
  TSS_BUILD_AUTH_FALSE='#'
 
5066
else
 
5067
  TSS_BUILD_AUTH_TRUE='#'
 
5068
  TSS_BUILD_AUTH_FALSE=
 
5069
fi
 
5070
 
 
5071
 
 
5072
 
 
5073
if test -z $TSS_BUILD_AIK_TRUE || \
 
5074
                                      test -z $TSS_BUILD_CERTIFY_TRUE || \
 
5075
                                      test -z $TSS_BUILD_QUOTE_TRUE || \
 
5076
                                      test -z $TSS_BUILD_EK_TRUE || \
 
5077
                                      test -z $TSS_BUILD_CHANGEAUTH_TRUE || \
 
5078
                                      test -z $TSS_BUILD_BIND_TRUE || \
 
5079
                                      test -z $TSS_BUILD_OWN_TRUE || \
 
5080
                                      test -z $TSS_BUILD_SELFTEST_TRUE || \
 
5081
                                      test -z $TSS_BUILD_SIGN_TRUE || \
 
5082
                                      test -z $TSS_BUILD_KEY_TRUE || \
 
5083
                                      test -z $TSS_BUILD_DAA_TRUE; then
 
5084
  TSS_BUILD_ASYM_CRYPTO_TRUE=
 
5085
  TSS_BUILD_ASYM_CRYPTO_FALSE='#'
 
5086
else
 
5087
  TSS_BUILD_ASYM_CRYPTO_TRUE='#'
 
5088
  TSS_BUILD_ASYM_CRYPTO_FALSE=
 
5089
fi
 
5090
 
 
5091
 
 
5092
 
 
5093
if test -z $TSS_BUILD_AIK_TRUE || \
 
5094
                                     test -z $TSS_BUILD_TRANSPORT_TRUE; then
 
5095
  TSS_BUILD_SYM_CRYPTO_TRUE=
 
5096
  TSS_BUILD_SYM_CRYPTO_FALSE='#'
 
5097
else
 
5098
  TSS_BUILD_SYM_CRYPTO_TRUE='#'
 
5099
  TSS_BUILD_SYM_CRYPTO_FALSE=
 
5100
fi
 
5101
 
 
5102
 
3483
5103
#GETTEXT_PACKAGE=trousers
3484
5104
#AC_SUBST(GETTEXT_PACKAGE)
3485
5105
#AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE")
3489
5109
 
3490
5110
# end Glade section
3491
5111
 
 
5112
if test "${ac_cv_header_pthread_h+set}" = set; then
 
5113
  echo "$as_me:$LINENO: checking for pthread.h" >&5
 
5114
echo $ECHO_N "checking for pthread.h... $ECHO_C" >&6
 
5115
if test "${ac_cv_header_pthread_h+set}" = set; then
 
5116
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5117
fi
 
5118
echo "$as_me:$LINENO: result: $ac_cv_header_pthread_h" >&5
 
5119
echo "${ECHO_T}$ac_cv_header_pthread_h" >&6
 
5120
else
 
5121
  # Is the header compilable?
 
5122
echo "$as_me:$LINENO: checking pthread.h usability" >&5
 
5123
echo $ECHO_N "checking pthread.h usability... $ECHO_C" >&6
 
5124
cat >conftest.$ac_ext <<_ACEOF
 
5125
/* confdefs.h.  */
 
5126
_ACEOF
 
5127
cat confdefs.h >>conftest.$ac_ext
 
5128
cat >>conftest.$ac_ext <<_ACEOF
 
5129
/* end confdefs.h.  */
 
5130
$ac_includes_default
 
5131
#include <pthread.h>
 
5132
_ACEOF
 
5133
rm -f conftest.$ac_objext
 
5134
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
5135
  (eval $ac_compile) 2>conftest.er1
 
5136
  ac_status=$?
 
5137
  grep -v '^ *+' conftest.er1 >conftest.err
 
5138
  rm -f conftest.er1
 
5139
  cat conftest.err >&5
 
5140
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5141
  (exit $ac_status); } &&
 
5142
         { ac_try='test -z "$ac_c_werror_flag"
 
5143
                         || test ! -s conftest.err'
 
5144
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
5145
  (eval $ac_try) 2>&5
 
5146
  ac_status=$?
 
5147
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5148
  (exit $ac_status); }; } &&
 
5149
         { ac_try='test -s conftest.$ac_objext'
 
5150
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
5151
  (eval $ac_try) 2>&5
 
5152
  ac_status=$?
 
5153
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5154
  (exit $ac_status); }; }; then
 
5155
  ac_header_compiler=yes
 
5156
else
 
5157
  echo "$as_me: failed program was:" >&5
 
5158
sed 's/^/| /' conftest.$ac_ext >&5
 
5159
 
 
5160
ac_header_compiler=no
 
5161
fi
 
5162
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
5163
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
5164
echo "${ECHO_T}$ac_header_compiler" >&6
 
5165
 
 
5166
# Is the header present?
 
5167
echo "$as_me:$LINENO: checking pthread.h presence" >&5
 
5168
echo $ECHO_N "checking pthread.h presence... $ECHO_C" >&6
 
5169
cat >conftest.$ac_ext <<_ACEOF
 
5170
/* confdefs.h.  */
 
5171
_ACEOF
 
5172
cat confdefs.h >>conftest.$ac_ext
 
5173
cat >>conftest.$ac_ext <<_ACEOF
 
5174
/* end confdefs.h.  */
 
5175
#include <pthread.h>
 
5176
_ACEOF
 
5177
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 
5178
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
5179
  ac_status=$?
 
5180
  grep -v '^ *+' conftest.er1 >conftest.err
 
5181
  rm -f conftest.er1
 
5182
  cat conftest.err >&5
 
5183
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5184
  (exit $ac_status); } >/dev/null; then
 
5185
  if test -s conftest.err; then
 
5186
    ac_cpp_err=$ac_c_preproc_warn_flag
 
5187
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 
5188
  else
 
5189
    ac_cpp_err=
 
5190
  fi
 
5191
else
 
5192
  ac_cpp_err=yes
 
5193
fi
 
5194
if test -z "$ac_cpp_err"; then
 
5195
  ac_header_preproc=yes
 
5196
else
 
5197
  echo "$as_me: failed program was:" >&5
 
5198
sed 's/^/| /' conftest.$ac_ext >&5
 
5199
 
 
5200
  ac_header_preproc=no
 
5201
fi
 
5202
rm -f conftest.err conftest.$ac_ext
 
5203
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
5204
echo "${ECHO_T}$ac_header_preproc" >&6
 
5205
 
 
5206
# So?  What about this header?
 
5207
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 
5208
  yes:no: )
 
5209
    { echo "$as_me:$LINENO: WARNING: pthread.h: accepted by the compiler, rejected by the preprocessor!" >&5
 
5210
echo "$as_me: WARNING: pthread.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
5211
    { echo "$as_me:$LINENO: WARNING: pthread.h: proceeding with the compiler's result" >&5
 
5212
echo "$as_me: WARNING: pthread.h: proceeding with the compiler's result" >&2;}
 
5213
    ac_header_preproc=yes
 
5214
    ;;
 
5215
  no:yes:* )
 
5216
    { echo "$as_me:$LINENO: WARNING: pthread.h: present but cannot be compiled" >&5
 
5217
echo "$as_me: WARNING: pthread.h: present but cannot be compiled" >&2;}
 
5218
    { echo "$as_me:$LINENO: WARNING: pthread.h:     check for missing prerequisite headers?" >&5
 
5219
echo "$as_me: WARNING: pthread.h:     check for missing prerequisite headers?" >&2;}
 
5220
    { echo "$as_me:$LINENO: WARNING: pthread.h: see the Autoconf documentation" >&5
 
5221
echo "$as_me: WARNING: pthread.h: see the Autoconf documentation" >&2;}
 
5222
    { echo "$as_me:$LINENO: WARNING: pthread.h:     section \"Present But Cannot Be Compiled\"" >&5
 
5223
echo "$as_me: WARNING: pthread.h:     section \"Present But Cannot Be Compiled\"" >&2;}
 
5224
    { echo "$as_me:$LINENO: WARNING: pthread.h: proceeding with the preprocessor's result" >&5
 
5225
echo "$as_me: WARNING: pthread.h: proceeding with the preprocessor's result" >&2;}
 
5226
    { echo "$as_me:$LINENO: WARNING: pthread.h: in the future, the compiler will take precedence" >&5
 
5227
echo "$as_me: WARNING: pthread.h: in the future, the compiler will take precedence" >&2;}
 
5228
    (
 
5229
      cat <<\_ASBOX
 
5230
## ----------------------------------------- ##
 
5231
## Report this to trousers-tech@lists.sf.net ##
 
5232
## ----------------------------------------- ##
 
5233
_ASBOX
 
5234
    ) |
 
5235
      sed "s/^/$as_me: WARNING:     /" >&2
 
5236
    ;;
 
5237
esac
 
5238
echo "$as_me:$LINENO: checking for pthread.h" >&5
 
5239
echo $ECHO_N "checking for pthread.h... $ECHO_C" >&6
 
5240
if test "${ac_cv_header_pthread_h+set}" = set; then
 
5241
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5242
else
 
5243
  ac_cv_header_pthread_h=$ac_header_preproc
 
5244
fi
 
5245
echo "$as_me:$LINENO: result: $ac_cv_header_pthread_h" >&5
 
5246
echo "${ECHO_T}$ac_cv_header_pthread_h" >&6
 
5247
 
 
5248
fi
 
5249
if test $ac_cv_header_pthread_h = yes; then
 
5250
  cat >>confdefs.h <<\_ACEOF
 
5251
#define HAVE_PTHREAD_H 1
 
5252
_ACEOF
 
5253
 
 
5254
fi
 
5255
 
 
5256
 
3492
5257
 
3493
5258
# Check whether --enable-static or --disable-static was given.
3494
5259
if test "${enable_static+set}" = set; then
4458
6223
echo "$as_me:$LINENO: result: $SED" >&5
4459
6224
echo "${ECHO_T}$SED" >&6
4460
6225
 
4461
 
echo "$as_me:$LINENO: checking for egrep" >&5
4462
 
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4463
 
if test "${ac_cv_prog_egrep+set}" = set; then
4464
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4465
 
else
4466
 
  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
4467
 
    then ac_cv_prog_egrep='grep -E'
4468
 
    else ac_cv_prog_egrep='egrep'
4469
 
    fi
4470
 
fi
4471
 
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4472
 
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4473
 
 EGREP=$ac_cv_prog_egrep
4474
 
 
4475
 
 
4476
6226
 
4477
6227
# Check whether --with-gnu-ld or --without-gnu-ld was given.
4478
6228
if test "${with_gnu_ld+set}" = set; then
4880
6630
  ;;
4881
6631
*-*-irix6*)
4882
6632
  # Find out which ABI we are using.
4883
 
  echo '#line 4883 "configure"' > conftest.$ac_ext
 
6633
  echo '#line 6633 "configure"' > conftest.$ac_ext
4884
6634
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4885
6635
  (eval $ac_compile) 2>&5
4886
6636
  ac_status=$?
5042
6792
need_locks="$enable_libtool_lock"
5043
6793
 
5044
6794
 
5045
 
ac_ext=c
5046
 
ac_cpp='$CPP $CPPFLAGS'
5047
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5048
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5049
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5050
 
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5051
 
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5052
 
# On Suns, sometimes $CPP names a directory.
5053
 
if test -n "$CPP" && test -d "$CPP"; then
5054
 
  CPP=
5055
 
fi
5056
 
if test -z "$CPP"; then
5057
 
  if test "${ac_cv_prog_CPP+set}" = set; then
5058
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5059
 
else
5060
 
      # Double quotes because CPP needs to be expanded
5061
 
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5062
 
    do
5063
 
      ac_preproc_ok=false
5064
 
for ac_c_preproc_warn_flag in '' yes
5065
 
do
5066
 
  # Use a header file that comes with gcc, so configuring glibc
5067
 
  # with a fresh cross-compiler works.
5068
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5069
 
  # <limits.h> exists even on freestanding compilers.
5070
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
5071
 
  # not just through cpp. "Syntax error" is here to catch this case.
5072
 
  cat >conftest.$ac_ext <<_ACEOF
5073
 
/* confdefs.h.  */
5074
 
_ACEOF
5075
 
cat confdefs.h >>conftest.$ac_ext
5076
 
cat >>conftest.$ac_ext <<_ACEOF
5077
 
/* end confdefs.h.  */
5078
 
#ifdef __STDC__
5079
 
# include <limits.h>
5080
 
#else
5081
 
# include <assert.h>
5082
 
#endif
5083
 
                     Syntax error
5084
 
_ACEOF
5085
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5086
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5087
 
  ac_status=$?
5088
 
  grep -v '^ *+' conftest.er1 >conftest.err
5089
 
  rm -f conftest.er1
5090
 
  cat conftest.err >&5
5091
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5092
 
  (exit $ac_status); } >/dev/null; then
5093
 
  if test -s conftest.err; then
5094
 
    ac_cpp_err=$ac_c_preproc_warn_flag
5095
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5096
 
  else
5097
 
    ac_cpp_err=
5098
 
  fi
5099
 
else
5100
 
  ac_cpp_err=yes
5101
 
fi
5102
 
if test -z "$ac_cpp_err"; then
5103
 
  :
5104
 
else
5105
 
  echo "$as_me: failed program was:" >&5
5106
 
sed 's/^/| /' conftest.$ac_ext >&5
5107
 
 
5108
 
  # Broken: fails on valid input.
5109
 
continue
5110
 
fi
5111
 
rm -f conftest.err conftest.$ac_ext
5112
 
 
5113
 
  # OK, works on sane cases.  Now check whether non-existent headers
5114
 
  # can be detected and how.
5115
 
  cat >conftest.$ac_ext <<_ACEOF
5116
 
/* confdefs.h.  */
5117
 
_ACEOF
5118
 
cat confdefs.h >>conftest.$ac_ext
5119
 
cat >>conftest.$ac_ext <<_ACEOF
5120
 
/* end confdefs.h.  */
5121
 
#include <ac_nonexistent.h>
5122
 
_ACEOF
5123
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5124
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5125
 
  ac_status=$?
5126
 
  grep -v '^ *+' conftest.er1 >conftest.err
5127
 
  rm -f conftest.er1
5128
 
  cat conftest.err >&5
5129
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5130
 
  (exit $ac_status); } >/dev/null; then
5131
 
  if test -s conftest.err; then
5132
 
    ac_cpp_err=$ac_c_preproc_warn_flag
5133
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5134
 
  else
5135
 
    ac_cpp_err=
5136
 
  fi
5137
 
else
5138
 
  ac_cpp_err=yes
5139
 
fi
5140
 
if test -z "$ac_cpp_err"; then
5141
 
  # Broken: success on invalid input.
5142
 
continue
5143
 
else
5144
 
  echo "$as_me: failed program was:" >&5
5145
 
sed 's/^/| /' conftest.$ac_ext >&5
5146
 
 
5147
 
  # Passes both tests.
5148
 
ac_preproc_ok=:
5149
 
break
5150
 
fi
5151
 
rm -f conftest.err conftest.$ac_ext
5152
 
 
5153
 
done
5154
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5155
 
rm -f conftest.err conftest.$ac_ext
5156
 
if $ac_preproc_ok; then
5157
 
  break
5158
 
fi
5159
 
 
5160
 
    done
5161
 
    ac_cv_prog_CPP=$CPP
5162
 
 
5163
 
fi
5164
 
  CPP=$ac_cv_prog_CPP
5165
 
else
5166
 
  ac_cv_prog_CPP=$CPP
5167
 
fi
5168
 
echo "$as_me:$LINENO: result: $CPP" >&5
5169
 
echo "${ECHO_T}$CPP" >&6
5170
 
ac_preproc_ok=false
5171
 
for ac_c_preproc_warn_flag in '' yes
5172
 
do
5173
 
  # Use a header file that comes with gcc, so configuring glibc
5174
 
  # with a fresh cross-compiler works.
5175
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5176
 
  # <limits.h> exists even on freestanding compilers.
5177
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
5178
 
  # not just through cpp. "Syntax error" is here to catch this case.
5179
 
  cat >conftest.$ac_ext <<_ACEOF
5180
 
/* confdefs.h.  */
5181
 
_ACEOF
5182
 
cat confdefs.h >>conftest.$ac_ext
5183
 
cat >>conftest.$ac_ext <<_ACEOF
5184
 
/* end confdefs.h.  */
5185
 
#ifdef __STDC__
5186
 
# include <limits.h>
5187
 
#else
5188
 
# include <assert.h>
5189
 
#endif
5190
 
                     Syntax error
5191
 
_ACEOF
5192
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5193
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5194
 
  ac_status=$?
5195
 
  grep -v '^ *+' conftest.er1 >conftest.err
5196
 
  rm -f conftest.er1
5197
 
  cat conftest.err >&5
5198
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5199
 
  (exit $ac_status); } >/dev/null; then
5200
 
  if test -s conftest.err; then
5201
 
    ac_cpp_err=$ac_c_preproc_warn_flag
5202
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5203
 
  else
5204
 
    ac_cpp_err=
5205
 
  fi
5206
 
else
5207
 
  ac_cpp_err=yes
5208
 
fi
5209
 
if test -z "$ac_cpp_err"; then
5210
 
  :
5211
 
else
5212
 
  echo "$as_me: failed program was:" >&5
5213
 
sed 's/^/| /' conftest.$ac_ext >&5
5214
 
 
5215
 
  # Broken: fails on valid input.
5216
 
continue
5217
 
fi
5218
 
rm -f conftest.err conftest.$ac_ext
5219
 
 
5220
 
  # OK, works on sane cases.  Now check whether non-existent headers
5221
 
  # can be detected and how.
5222
 
  cat >conftest.$ac_ext <<_ACEOF
5223
 
/* confdefs.h.  */
5224
 
_ACEOF
5225
 
cat confdefs.h >>conftest.$ac_ext
5226
 
cat >>conftest.$ac_ext <<_ACEOF
5227
 
/* end confdefs.h.  */
5228
 
#include <ac_nonexistent.h>
5229
 
_ACEOF
5230
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5231
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5232
 
  ac_status=$?
5233
 
  grep -v '^ *+' conftest.er1 >conftest.err
5234
 
  rm -f conftest.er1
5235
 
  cat conftest.err >&5
5236
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5237
 
  (exit $ac_status); } >/dev/null; then
5238
 
  if test -s conftest.err; then
5239
 
    ac_cpp_err=$ac_c_preproc_warn_flag
5240
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5241
 
  else
5242
 
    ac_cpp_err=
5243
 
  fi
5244
 
else
5245
 
  ac_cpp_err=yes
5246
 
fi
5247
 
if test -z "$ac_cpp_err"; then
5248
 
  # Broken: success on invalid input.
5249
 
continue
5250
 
else
5251
 
  echo "$as_me: failed program was:" >&5
5252
 
sed 's/^/| /' conftest.$ac_ext >&5
5253
 
 
5254
 
  # Passes both tests.
5255
 
ac_preproc_ok=:
5256
 
break
5257
 
fi
5258
 
rm -f conftest.err conftest.$ac_ext
5259
 
 
5260
 
done
5261
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5262
 
rm -f conftest.err conftest.$ac_ext
5263
 
if $ac_preproc_ok; then
5264
 
  :
5265
 
else
5266
 
  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5267
 
See \`config.log' for more details." >&5
5268
 
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5269
 
See \`config.log' for more details." >&2;}
5270
 
   { (exit 1); exit 1; }; }
5271
 
fi
5272
 
 
5273
 
ac_ext=c
5274
 
ac_cpp='$CPP $CPPFLAGS'
5275
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5276
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5277
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5278
 
 
5279
 
 
5280
 
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5281
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5282
 
if test "${ac_cv_header_stdc+set}" = set; then
5283
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5284
 
else
5285
 
  cat >conftest.$ac_ext <<_ACEOF
5286
 
/* confdefs.h.  */
5287
 
_ACEOF
5288
 
cat confdefs.h >>conftest.$ac_ext
5289
 
cat >>conftest.$ac_ext <<_ACEOF
5290
 
/* end confdefs.h.  */
5291
 
#include <stdlib.h>
5292
 
#include <stdarg.h>
5293
 
#include <string.h>
5294
 
#include <float.h>
5295
 
 
5296
 
int
5297
 
main ()
5298
 
{
5299
 
 
5300
 
  ;
5301
 
  return 0;
5302
 
}
5303
 
_ACEOF
5304
 
rm -f conftest.$ac_objext
5305
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5306
 
  (eval $ac_compile) 2>conftest.er1
5307
 
  ac_status=$?
5308
 
  grep -v '^ *+' conftest.er1 >conftest.err
5309
 
  rm -f conftest.er1
5310
 
  cat conftest.err >&5
5311
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5312
 
  (exit $ac_status); } &&
5313
 
         { ac_try='test -z "$ac_c_werror_flag"
5314
 
                         || test ! -s conftest.err'
5315
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5316
 
  (eval $ac_try) 2>&5
5317
 
  ac_status=$?
5318
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5319
 
  (exit $ac_status); }; } &&
5320
 
         { ac_try='test -s conftest.$ac_objext'
5321
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5322
 
  (eval $ac_try) 2>&5
5323
 
  ac_status=$?
5324
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5325
 
  (exit $ac_status); }; }; then
5326
 
  ac_cv_header_stdc=yes
5327
 
else
5328
 
  echo "$as_me: failed program was:" >&5
5329
 
sed 's/^/| /' conftest.$ac_ext >&5
5330
 
 
5331
 
ac_cv_header_stdc=no
5332
 
fi
5333
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5334
 
 
5335
 
if test $ac_cv_header_stdc = yes; then
5336
 
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5337
 
  cat >conftest.$ac_ext <<_ACEOF
5338
 
/* confdefs.h.  */
5339
 
_ACEOF
5340
 
cat confdefs.h >>conftest.$ac_ext
5341
 
cat >>conftest.$ac_ext <<_ACEOF
5342
 
/* end confdefs.h.  */
5343
 
#include <string.h>
5344
 
 
5345
 
_ACEOF
5346
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5347
 
  $EGREP "memchr" >/dev/null 2>&1; then
5348
 
  :
5349
 
else
5350
 
  ac_cv_header_stdc=no
5351
 
fi
5352
 
rm -f conftest*
5353
 
 
5354
 
fi
5355
 
 
5356
 
if test $ac_cv_header_stdc = yes; then
5357
 
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5358
 
  cat >conftest.$ac_ext <<_ACEOF
5359
 
/* confdefs.h.  */
5360
 
_ACEOF
5361
 
cat confdefs.h >>conftest.$ac_ext
5362
 
cat >>conftest.$ac_ext <<_ACEOF
5363
 
/* end confdefs.h.  */
5364
 
#include <stdlib.h>
5365
 
 
5366
 
_ACEOF
5367
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5368
 
  $EGREP "free" >/dev/null 2>&1; then
5369
 
  :
5370
 
else
5371
 
  ac_cv_header_stdc=no
5372
 
fi
5373
 
rm -f conftest*
5374
 
 
5375
 
fi
5376
 
 
5377
 
if test $ac_cv_header_stdc = yes; then
5378
 
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5379
 
  if test "$cross_compiling" = yes; then
5380
 
  :
5381
 
else
5382
 
  cat >conftest.$ac_ext <<_ACEOF
5383
 
/* confdefs.h.  */
5384
 
_ACEOF
5385
 
cat confdefs.h >>conftest.$ac_ext
5386
 
cat >>conftest.$ac_ext <<_ACEOF
5387
 
/* end confdefs.h.  */
5388
 
#include <ctype.h>
5389
 
#if ((' ' & 0x0FF) == 0x020)
5390
 
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5391
 
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5392
 
#else
5393
 
# define ISLOWER(c) \
5394
 
                   (('a' <= (c) && (c) <= 'i') \
5395
 
                     || ('j' <= (c) && (c) <= 'r') \
5396
 
                     || ('s' <= (c) && (c) <= 'z'))
5397
 
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5398
 
#endif
5399
 
 
5400
 
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5401
 
int
5402
 
main ()
5403
 
{
5404
 
  int i;
5405
 
  for (i = 0; i < 256; i++)
5406
 
    if (XOR (islower (i), ISLOWER (i))
5407
 
        || toupper (i) != TOUPPER (i))
5408
 
      exit(2);
5409
 
  exit (0);
5410
 
}
5411
 
_ACEOF
5412
 
rm -f conftest$ac_exeext
5413
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5414
 
  (eval $ac_link) 2>&5
5415
 
  ac_status=$?
5416
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5417
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5418
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5419
 
  (eval $ac_try) 2>&5
5420
 
  ac_status=$?
5421
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5422
 
  (exit $ac_status); }; }; then
5423
 
  :
5424
 
else
5425
 
  echo "$as_me: program exited with status $ac_status" >&5
5426
 
echo "$as_me: failed program was:" >&5
5427
 
sed 's/^/| /' conftest.$ac_ext >&5
5428
 
 
5429
 
( exit $ac_status )
5430
 
ac_cv_header_stdc=no
5431
 
fi
5432
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5433
 
fi
5434
 
fi
5435
 
fi
5436
 
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5437
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6
5438
 
if test $ac_cv_header_stdc = yes; then
5439
 
 
5440
 
cat >>confdefs.h <<\_ACEOF
5441
 
#define STDC_HEADERS 1
5442
 
_ACEOF
5443
 
 
5444
 
fi
5445
 
 
5446
 
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
5447
 
 
5448
 
 
5449
 
 
5450
 
 
5451
 
 
5452
 
 
5453
 
 
5454
 
 
5455
 
 
5456
 
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5457
 
                  inttypes.h stdint.h unistd.h
5458
 
do
5459
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5460
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
5461
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5462
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
5463
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5464
 
else
5465
 
  cat >conftest.$ac_ext <<_ACEOF
5466
 
/* confdefs.h.  */
5467
 
_ACEOF
5468
 
cat confdefs.h >>conftest.$ac_ext
5469
 
cat >>conftest.$ac_ext <<_ACEOF
5470
 
/* end confdefs.h.  */
5471
 
$ac_includes_default
5472
 
 
5473
 
#include <$ac_header>
5474
 
_ACEOF
5475
 
rm -f conftest.$ac_objext
5476
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5477
 
  (eval $ac_compile) 2>conftest.er1
5478
 
  ac_status=$?
5479
 
  grep -v '^ *+' conftest.er1 >conftest.err
5480
 
  rm -f conftest.er1
5481
 
  cat conftest.err >&5
5482
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5483
 
  (exit $ac_status); } &&
5484
 
         { ac_try='test -z "$ac_c_werror_flag"
5485
 
                         || test ! -s conftest.err'
5486
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5487
 
  (eval $ac_try) 2>&5
5488
 
  ac_status=$?
5489
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5490
 
  (exit $ac_status); }; } &&
5491
 
         { ac_try='test -s conftest.$ac_objext'
5492
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5493
 
  (eval $ac_try) 2>&5
5494
 
  ac_status=$?
5495
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5496
 
  (exit $ac_status); }; }; then
5497
 
  eval "$as_ac_Header=yes"
5498
 
else
5499
 
  echo "$as_me: failed program was:" >&5
5500
 
sed 's/^/| /' conftest.$ac_ext >&5
5501
 
 
5502
 
eval "$as_ac_Header=no"
5503
 
fi
5504
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5505
 
fi
5506
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5507
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5508
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
5509
 
  cat >>confdefs.h <<_ACEOF
5510
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5511
 
_ACEOF
5512
 
 
5513
 
fi
5514
 
 
5515
 
done
5516
 
 
5517
 
 
5518
6795
 
5519
6796
for ac_header in dlfcn.h
5520
6797
do
6459
7736
 
6460
7737
 
6461
7738
# Provide some information about the compiler.
6462
 
echo "$as_me:6462:" \
 
7739
echo "$as_me:7739:" \
6463
7740
     "checking for Fortran 77 compiler version" >&5
6464
7741
ac_compiler=`set X $ac_compile; echo $2`
6465
7742
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
7528
8805
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
7529
8806
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7530
8807
   -e 's:$: $lt_compiler_flag:'`
7531
 
   (eval echo "\"\$as_me:7531: $lt_compile\"" >&5)
 
8808
   (eval echo "\"\$as_me:8808: $lt_compile\"" >&5)
7532
8809
   (eval "$lt_compile" 2>conftest.err)
7533
8810
   ac_status=$?
7534
8811
   cat conftest.err >&5
7535
 
   echo "$as_me:7535: \$? = $ac_status" >&5
 
8812
   echo "$as_me:8812: \$? = $ac_status" >&5
7536
8813
   if (exit $ac_status) && test -s "$ac_outfile"; then
7537
8814
     # The compiler can only warn and ignore the option if not recognized
7538
8815
     # So say no if there are warnings
7783
9060
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
7784
9061
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7785
9062
   -e 's:$: $lt_compiler_flag:'`
7786
 
   (eval echo "\"\$as_me:7786: $lt_compile\"" >&5)
 
9063
   (eval echo "\"\$as_me:9063: $lt_compile\"" >&5)
7787
9064
   (eval "$lt_compile" 2>conftest.err)
7788
9065
   ac_status=$?
7789
9066
   cat conftest.err >&5
7790
 
   echo "$as_me:7790: \$? = $ac_status" >&5
 
9067
   echo "$as_me:9067: \$? = $ac_status" >&5
7791
9068
   if (exit $ac_status) && test -s "$ac_outfile"; then
7792
9069
     # The compiler can only warn and ignore the option if not recognized
7793
9070
     # So say no if there are warnings
7843
9120
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
7844
9121
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7845
9122
   -e 's:$: $lt_compiler_flag:'`
7846
 
   (eval echo "\"\$as_me:7846: $lt_compile\"" >&5)
 
9123
   (eval echo "\"\$as_me:9123: $lt_compile\"" >&5)
7847
9124
   (eval "$lt_compile" 2>out/conftest.err)
7848
9125
   ac_status=$?
7849
9126
   cat out/conftest.err >&5
7850
 
   echo "$as_me:7850: \$? = $ac_status" >&5
 
9127
   echo "$as_me:9127: \$? = $ac_status" >&5
7851
9128
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
7852
9129
   then
7853
9130
     # The compiler can only warn and ignore the option if not recognized
10043
11320
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10044
11321
  lt_status=$lt_dlunknown
10045
11322
  cat > conftest.$ac_ext <<EOF
10046
 
#line 10046 "configure"
 
11323
#line 11323 "configure"
10047
11324
#include "confdefs.h"
10048
11325
 
10049
11326
#if HAVE_DLFCN_H
10141
11418
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10142
11419
  lt_status=$lt_dlunknown
10143
11420
  cat > conftest.$ac_ext <<EOF
10144
 
#line 10144 "configure"
 
11421
#line 11421 "configure"
10145
11422
#include "confdefs.h"
10146
11423
 
10147
11424
#if HAVE_DLFCN_H
12361
13638
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
12362
13639
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12363
13640
   -e 's:$: $lt_compiler_flag:'`
12364
 
   (eval echo "\"\$as_me:12364: $lt_compile\"" >&5)
 
13641
   (eval echo "\"\$as_me:13641: $lt_compile\"" >&5)
12365
13642
   (eval "$lt_compile" 2>conftest.err)
12366
13643
   ac_status=$?
12367
13644
   cat conftest.err >&5
12368
 
   echo "$as_me:12368: \$? = $ac_status" >&5
 
13645
   echo "$as_me:13645: \$? = $ac_status" >&5
12369
13646
   if (exit $ac_status) && test -s "$ac_outfile"; then
12370
13647
     # The compiler can only warn and ignore the option if not recognized
12371
13648
     # So say no if there are warnings
12421
13698
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
12422
13699
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12423
13700
   -e 's:$: $lt_compiler_flag:'`
12424
 
   (eval echo "\"\$as_me:12424: $lt_compile\"" >&5)
 
13701
   (eval echo "\"\$as_me:13701: $lt_compile\"" >&5)
12425
13702
   (eval "$lt_compile" 2>out/conftest.err)
12426
13703
   ac_status=$?
12427
13704
   cat out/conftest.err >&5
12428
 
   echo "$as_me:12428: \$? = $ac_status" >&5
 
13705
   echo "$as_me:13705: \$? = $ac_status" >&5
12429
13706
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
12430
13707
   then
12431
13708
     # The compiler can only warn and ignore the option if not recognized
13784
15061
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13785
15062
  lt_status=$lt_dlunknown
13786
15063
  cat > conftest.$ac_ext <<EOF
13787
 
#line 13787 "configure"
 
15064
#line 15064 "configure"
13788
15065
#include "confdefs.h"
13789
15066
 
13790
15067
#if HAVE_DLFCN_H
13882
15159
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13883
15160
  lt_status=$lt_dlunknown
13884
15161
  cat > conftest.$ac_ext <<EOF
13885
 
#line 13885 "configure"
 
15162
#line 15162 "configure"
13886
15163
#include "confdefs.h"
13887
15164
 
13888
15165
#if HAVE_DLFCN_H
14737
16014
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
14738
16015
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14739
16016
   -e 's:$: $lt_compiler_flag:'`
14740
 
   (eval echo "\"\$as_me:14740: $lt_compile\"" >&5)
 
16017
   (eval echo "\"\$as_me:16017: $lt_compile\"" >&5)
14741
16018
   (eval "$lt_compile" 2>conftest.err)
14742
16019
   ac_status=$?
14743
16020
   cat conftest.err >&5
14744
 
   echo "$as_me:14744: \$? = $ac_status" >&5
 
16021
   echo "$as_me:16021: \$? = $ac_status" >&5
14745
16022
   if (exit $ac_status) && test -s "$ac_outfile"; then
14746
16023
     # The compiler can only warn and ignore the option if not recognized
14747
16024
     # So say no if there are warnings
14797
16074
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
14798
16075
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14799
16076
   -e 's:$: $lt_compiler_flag:'`
14800
 
   (eval echo "\"\$as_me:14800: $lt_compile\"" >&5)
 
16077
   (eval echo "\"\$as_me:16077: $lt_compile\"" >&5)
14801
16078
   (eval "$lt_compile" 2>out/conftest.err)
14802
16079
   ac_status=$?
14803
16080
   cat out/conftest.err >&5
14804
 
   echo "$as_me:14804: \$? = $ac_status" >&5
 
16081
   echo "$as_me:16081: \$? = $ac_status" >&5
14805
16082
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
14806
16083
   then
14807
16084
     # The compiler can only warn and ignore the option if not recognized
16853
18130
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
16854
18131
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16855
18132
   -e 's:$: $lt_compiler_flag:'`
16856
 
   (eval echo "\"\$as_me:16856: $lt_compile\"" >&5)
 
18133
   (eval echo "\"\$as_me:18133: $lt_compile\"" >&5)
16857
18134
   (eval "$lt_compile" 2>conftest.err)
16858
18135
   ac_status=$?
16859
18136
   cat conftest.err >&5
16860
 
   echo "$as_me:16860: \$? = $ac_status" >&5
 
18137
   echo "$as_me:18137: \$? = $ac_status" >&5
16861
18138
   if (exit $ac_status) && test -s "$ac_outfile"; then
16862
18139
     # The compiler can only warn and ignore the option if not recognized
16863
18140
     # So say no if there are warnings
17108
18385
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
17109
18386
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17110
18387
   -e 's:$: $lt_compiler_flag:'`
17111
 
   (eval echo "\"\$as_me:17111: $lt_compile\"" >&5)
 
18388
   (eval echo "\"\$as_me:18388: $lt_compile\"" >&5)
17112
18389
   (eval "$lt_compile" 2>conftest.err)
17113
18390
   ac_status=$?
17114
18391
   cat conftest.err >&5
17115
 
   echo "$as_me:17115: \$? = $ac_status" >&5
 
18392
   echo "$as_me:18392: \$? = $ac_status" >&5
17116
18393
   if (exit $ac_status) && test -s "$ac_outfile"; then
17117
18394
     # The compiler can only warn and ignore the option if not recognized
17118
18395
     # So say no if there are warnings
17168
18445
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
17169
18446
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17170
18447
   -e 's:$: $lt_compiler_flag:'`
17171
 
   (eval echo "\"\$as_me:17171: $lt_compile\"" >&5)
 
18448
   (eval echo "\"\$as_me:18448: $lt_compile\"" >&5)
17172
18449
   (eval "$lt_compile" 2>out/conftest.err)
17173
18450
   ac_status=$?
17174
18451
   cat out/conftest.err >&5
17175
 
   echo "$as_me:17175: \$? = $ac_status" >&5
 
18452
   echo "$as_me:18452: \$? = $ac_status" >&5
17176
18453
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
17177
18454
   then
17178
18455
     # The compiler can only warn and ignore the option if not recognized
19368
20645
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
19369
20646
  lt_status=$lt_dlunknown
19370
20647
  cat > conftest.$ac_ext <<EOF
19371
 
#line 19371 "configure"
 
20648
#line 20648 "configure"
19372
20649
#include "confdefs.h"
19373
20650
 
19374
20651
#if HAVE_DLFCN_H
19466
20743
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
19467
20744
  lt_status=$lt_dlunknown
19468
20745
  cat > conftest.$ac_ext <<EOF
19469
 
#line 19469 "configure"
 
20746
#line 20746 "configure"
19470
20747
#include "confdefs.h"
19471
20748
 
19472
20749
#if HAVE_DLFCN_H
20493
21770
 
20494
21771
 
20495
21772
 
20496
 
TCSD_DEFAULT_PORT=30003
20497
 
 
20498
 
 
20499
 
 
20500
 
CFLAGS="$CFLAGS -I../include -W -Wall -Werror -Wno-unused-parameter -DTCSD_DEFAULT_PORT=${TCSD_DEFAULT_PORT} -DTSS_VER_MAJOR=${TSS_VER_MAJOR} -DTSS_VER_MINOR=${TSS_VER_MINOR}"
 
21773
CFLAGS="$CFLAGS -I../include -W -Wall -Werror -Wno-unused-parameter \
 
21774
        -DTCSD_DEFAULT_PORT=${TCSD_DEFAULT_PORT} -DTSS_VER_MAJOR=${TSS_VER_MAJOR} \
 
21775
        -DTSS_VER_MINOR=${TSS_VER_MINOR} -DTSS_SPEC_MAJOR=${TSS_SPEC_MAJOR} \
 
21776
        -DTSS_SPEC_MINOR=${TSS_SPEC_MINOR}"
20501
21777
#CFLAGS="$CFLAGS -I../include -std=c99 -pedantic -W -Wall"
20502
21778
KERNEL_VERSION=`uname -r`
20503
21779
 
20673
21949
Usually this means the macro was only invoked conditionally." >&2;}
20674
21950
   { (exit 1); exit 1; }; }
20675
21951
fi
 
21952
if test -z "${TSS_BUILD_HASH_TRUE}" && test -z "${TSS_BUILD_HASH_FALSE}"; then
 
21953
  { { echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_HASH\" was never defined.
 
21954
Usually this means the macro was only invoked conditionally." >&5
 
21955
echo "$as_me: error: conditional \"TSS_BUILD_HASH\" was never defined.
 
21956
Usually this means the macro was only invoked conditionally." >&2;}
 
21957
   { (exit 1); exit 1; }; }
 
21958
fi
 
21959
if test -z "${TSS_BUILD_GETSET_TRUE}" && test -z "${TSS_BUILD_GETSET_FALSE}"; then
 
21960
  { { echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_GETSET\" was never defined.
 
21961
Usually this means the macro was only invoked conditionally." >&5
 
21962
echo "$as_me: error: conditional \"TSS_BUILD_GETSET\" was never defined.
 
21963
Usually this means the macro was only invoked conditionally." >&2;}
 
21964
   { (exit 1); exit 1; }; }
 
21965
fi
 
21966
if test -z "${TSS_BUILD_RANDOM_TRUE}" && test -z "${TSS_BUILD_RANDOM_FALSE}"; then
 
21967
  { { echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_RANDOM\" was never defined.
 
21968
Usually this means the macro was only invoked conditionally." >&5
 
21969
echo "$as_me: error: conditional \"TSS_BUILD_RANDOM\" was never defined.
 
21970
Usually this means the macro was only invoked conditionally." >&2;}
 
21971
   { (exit 1); exit 1; }; }
 
21972
fi
 
21973
if test -z "${TSS_BUILD_CAPS_TRUE}" && test -z "${TSS_BUILD_CAPS_FALSE}"; then
 
21974
  { { echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_CAPS\" was never defined.
 
21975
Usually this means the macro was only invoked conditionally." >&5
 
21976
echo "$as_me: error: conditional \"TSS_BUILD_CAPS\" was never defined.
 
21977
Usually this means the macro was only invoked conditionally." >&2;}
 
21978
   { (exit 1); exit 1; }; }
 
21979
fi
 
21980
if test -z "${TSS_BUILD_CAPS_TPM_TRUE}" && test -z "${TSS_BUILD_CAPS_TPM_FALSE}"; then
 
21981
  { { echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_CAPS_TPM\" was never defined.
 
21982
Usually this means the macro was only invoked conditionally." >&5
 
21983
echo "$as_me: error: conditional \"TSS_BUILD_CAPS_TPM\" was never defined.
 
21984
Usually this means the macro was only invoked conditionally." >&2;}
 
21985
   { (exit 1); exit 1; }; }
 
21986
fi
 
21987
if test -z "${TSS_BUILD_POLICY_TRUE}" && test -z "${TSS_BUILD_POLICY_FALSE}"; then
 
21988
  { { echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_POLICY\" was never defined.
 
21989
Usually this means the macro was only invoked conditionally." >&5
 
21990
echo "$as_me: error: conditional \"TSS_BUILD_POLICY\" was never defined.
 
21991
Usually this means the macro was only invoked conditionally." >&2;}
 
21992
   { (exit 1); exit 1; }; }
 
21993
fi
 
21994
if test -z "${TSS_BUILD_DIR_TRUE}" && test -z "${TSS_BUILD_DIR_FALSE}"; then
 
21995
  { { echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_DIR\" was never defined.
 
21996
Usually this means the macro was only invoked conditionally." >&5
 
21997
echo "$as_me: error: conditional \"TSS_BUILD_DIR\" was never defined.
 
21998
Usually this means the macro was only invoked conditionally." >&2;}
 
21999
   { (exit 1); exit 1; }; }
 
22000
fi
 
22001
if test -z "${TSS_BUILD_PCR_EVENTS_TRUE}" && test -z "${TSS_BUILD_PCR_EVENTS_FALSE}"; then
 
22002
  { { echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_PCR_EVENTS\" was never defined.
 
22003
Usually this means the macro was only invoked conditionally." >&5
 
22004
echo "$as_me: error: conditional \"TSS_BUILD_PCR_EVENTS\" was never defined.
 
22005
Usually this means the macro was only invoked conditionally." >&2;}
 
22006
   { (exit 1); exit 1; }; }
 
22007
fi
 
22008
if test -z "${TSS_BUILD_SIGN_TRUE}" && test -z "${TSS_BUILD_SIGN_FALSE}"; then
 
22009
  { { echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_SIGN\" was never defined.
 
22010
Usually this means the macro was only invoked conditionally." >&5
 
22011
echo "$as_me: error: conditional \"TSS_BUILD_SIGN\" was never defined.
 
22012
Usually this means the macro was only invoked conditionally." >&2;}
 
22013
   { (exit 1); exit 1; }; }
 
22014
fi
 
22015
if test -z "${TSS_BUILD_QUOTE_TRUE}" && test -z "${TSS_BUILD_QUOTE_FALSE}"; then
 
22016
  { { echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_QUOTE\" was never defined.
 
22017
Usually this means the macro was only invoked conditionally." >&5
 
22018
echo "$as_me: error: conditional \"TSS_BUILD_QUOTE\" was never defined.
 
22019
Usually this means the macro was only invoked conditionally." >&2;}
 
22020
   { (exit 1); exit 1; }; }
 
22021
fi
 
22022
if test -z "${TSS_BUILD_PCR_COMP_TRUE}" && test -z "${TSS_BUILD_PCR_COMP_FALSE}"; then
 
22023
  { { echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_PCR_COMP\" was never defined.
 
22024
Usually this means the macro was only invoked conditionally." >&5
 
22025
echo "$as_me: error: conditional \"TSS_BUILD_PCR_COMP\" was never defined.
 
22026
Usually this means the macro was only invoked conditionally." >&2;}
 
22027
   { (exit 1); exit 1; }; }
 
22028
fi
 
22029
if test -z "${TSS_BUILD_SEAL_TRUE}" && test -z "${TSS_BUILD_SEAL_FALSE}"; then
 
22030
  { { echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_SEAL\" was never defined.
 
22031
Usually this means the macro was only invoked conditionally." >&5
 
22032
echo "$as_me: error: conditional \"TSS_BUILD_SEAL\" was never defined.
 
22033
Usually this means the macro was only invoked conditionally." >&2;}
 
22034
   { (exit 1); exit 1; }; }
 
22035
fi
 
22036
if test -z "${TSS_BUILD_CHANGEAUTH_TRUE}" && test -z "${TSS_BUILD_CHANGEAUTH_FALSE}"; then
 
22037
  { { echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_CHANGEAUTH\" was never defined.
 
22038
Usually this means the macro was only invoked conditionally." >&5
 
22039
echo "$as_me: error: conditional \"TSS_BUILD_CHANGEAUTH\" was never defined.
 
22040
Usually this means the macro was only invoked conditionally." >&2;}
 
22041
   { (exit 1); exit 1; }; }
 
22042
fi
 
22043
if test -z "${TSS_BUILD_BIND_TRUE}" && test -z "${TSS_BUILD_BIND_FALSE}"; then
 
22044
  { { echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_BIND\" was never defined.
 
22045
Usually this means the macro was only invoked conditionally." >&5
 
22046
echo "$as_me: error: conditional \"TSS_BUILD_BIND\" was never defined.
 
22047
Usually this means the macro was only invoked conditionally." >&2;}
 
22048
   { (exit 1); exit 1; }; }
 
22049
fi
 
22050
if test -z "${TSS_BUILD_OWN_TRUE}" && test -z "${TSS_BUILD_OWN_FALSE}"; then
 
22051
  { { echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_OWN\" was never defined.
 
22052
Usually this means the macro was only invoked conditionally." >&5
 
22053
echo "$as_me: error: conditional \"TSS_BUILD_OWN\" was never defined.
 
22054
Usually this means the macro was only invoked conditionally." >&2;}
 
22055
   { (exit 1); exit 1; }; }
 
22056
fi
 
22057
if test -z "${TSS_BUILD_EK_TRUE}" && test -z "${TSS_BUILD_EK_FALSE}"; then
 
22058
  { { echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_EK\" was never defined.
 
22059
Usually this means the macro was only invoked conditionally." >&5
 
22060
echo "$as_me: error: conditional \"TSS_BUILD_EK\" was never defined.
 
22061
Usually this means the macro was only invoked conditionally." >&2;}
 
22062
   { (exit 1); exit 1; }; }
 
22063
fi
 
22064
if test -z "${TSS_BUILD_PS_TRUE}" && test -z "${TSS_BUILD_PS_FALSE}"; then
 
22065
  { { echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_PS\" was never defined.
 
22066
Usually this means the macro was only invoked conditionally." >&5
 
22067
echo "$as_me: error: conditional \"TSS_BUILD_PS\" was never defined.
 
22068
Usually this means the macro was only invoked conditionally." >&2;}
 
22069
   { (exit 1); exit 1; }; }
 
22070
fi
 
22071
if test -z "${TSS_BUILD_ADMIN_TRUE}" && test -z "${TSS_BUILD_ADMIN_FALSE}"; then
 
22072
  { { echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_ADMIN\" was never defined.
 
22073
Usually this means the macro was only invoked conditionally." >&5
 
22074
echo "$as_me: error: conditional \"TSS_BUILD_ADMIN\" was never defined.
 
22075
Usually this means the macro was only invoked conditionally." >&2;}
 
22076
   { (exit 1); exit 1; }; }
 
22077
fi
 
22078
if test -z "${TSS_BUILD_AIK_TRUE}" && test -z "${TSS_BUILD_AIK_FALSE}"; then
 
22079
  { { echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_AIK\" was never defined.
 
22080
Usually this means the macro was only invoked conditionally." >&5
 
22081
echo "$as_me: error: conditional \"TSS_BUILD_AIK\" was never defined.
 
22082
Usually this means the macro was only invoked conditionally." >&2;}
 
22083
   { (exit 1); exit 1; }; }
 
22084
fi
 
22085
if test -z "${TSS_BUILD_CERTIFY_TRUE}" && test -z "${TSS_BUILD_CERTIFY_FALSE}"; then
 
22086
  { { echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_CERTIFY\" was never defined.
 
22087
Usually this means the macro was only invoked conditionally." >&5
 
22088
echo "$as_me: error: conditional \"TSS_BUILD_CERTIFY\" was never defined.
 
22089
Usually this means the macro was only invoked conditionally." >&2;}
 
22090
   { (exit 1); exit 1; }; }
 
22091
fi
 
22092
if test -z "${TSS_BUILD_MAINT_TRUE}" && test -z "${TSS_BUILD_MAINT_FALSE}"; then
 
22093
  { { echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_MAINT\" was never defined.
 
22094
Usually this means the macro was only invoked conditionally." >&5
 
22095
echo "$as_me: error: conditional \"TSS_BUILD_MAINT\" was never defined.
 
22096
Usually this means the macro was only invoked conditionally." >&2;}
 
22097
   { (exit 1); exit 1; }; }
 
22098
fi
 
22099
if test -z "${TSS_BUILD_MIGRATION_TRUE}" && test -z "${TSS_BUILD_MIGRATION_FALSE}"; then
 
22100
  { { echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_MIGRATION\" was never defined.
 
22101
Usually this means the macro was only invoked conditionally." >&5
 
22102
echo "$as_me: error: conditional \"TSS_BUILD_MIGRATION\" was never defined.
 
22103
Usually this means the macro was only invoked conditionally." >&2;}
 
22104
   { (exit 1); exit 1; }; }
 
22105
fi
 
22106
if test -z "${TSS_BUILD_KEY_TRUE}" && test -z "${TSS_BUILD_KEY_FALSE}"; then
 
22107
  { { echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_KEY\" was never defined.
 
22108
Usually this means the macro was only invoked conditionally." >&5
 
22109
echo "$as_me: error: conditional \"TSS_BUILD_KEY\" was never defined.
 
22110
Usually this means the macro was only invoked conditionally." >&2;}
 
22111
   { (exit 1); exit 1; }; }
 
22112
fi
 
22113
if test -z "${TSS_BUILD_PCR_EXTEND_TRUE}" && test -z "${TSS_BUILD_PCR_EXTEND_FALSE}"; then
 
22114
  { { echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_PCR_EXTEND\" was never defined.
 
22115
Usually this means the macro was only invoked conditionally." >&5
 
22116
echo "$as_me: error: conditional \"TSS_BUILD_PCR_EXTEND\" was never defined.
 
22117
Usually this means the macro was only invoked conditionally." >&2;}
 
22118
   { (exit 1); exit 1; }; }
 
22119
fi
 
22120
if test -z "${TSS_BUILD_SELFTEST_TRUE}" && test -z "${TSS_BUILD_SELFTEST_FALSE}"; then
 
22121
  { { echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_SELFTEST\" was never defined.
 
22122
Usually this means the macro was only invoked conditionally." >&5
 
22123
echo "$as_me: error: conditional \"TSS_BUILD_SELFTEST\" was never defined.
 
22124
Usually this means the macro was only invoked conditionally." >&2;}
 
22125
   { (exit 1); exit 1; }; }
 
22126
fi
 
22127
if test -z "${TSS_BUILD_TSS12_TRUE}" && test -z "${TSS_BUILD_TSS12_FALSE}"; then
 
22128
  { { echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_TSS12\" was never defined.
 
22129
Usually this means the macro was only invoked conditionally." >&5
 
22130
echo "$as_me: error: conditional \"TSS_BUILD_TSS12\" was never defined.
 
22131
Usually this means the macro was only invoked conditionally." >&2;}
 
22132
   { (exit 1); exit 1; }; }
 
22133
fi
 
22134
if test -z "${TSS_BUILD_DAA_TRUE}" && test -z "${TSS_BUILD_DAA_FALSE}"; then
 
22135
  { { echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_DAA\" was never defined.
 
22136
Usually this means the macro was only invoked conditionally." >&5
 
22137
echo "$as_me: error: conditional \"TSS_BUILD_DAA\" was never defined.
 
22138
Usually this means the macro was only invoked conditionally." >&2;}
 
22139
   { (exit 1); exit 1; }; }
 
22140
fi
 
22141
if test -z "${TSS_BUILD_PCR_COMP12_TRUE}" && test -z "${TSS_BUILD_PCR_COMP12_FALSE}"; then
 
22142
  { { echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_PCR_COMP12\" was never defined.
 
22143
Usually this means the macro was only invoked conditionally." >&5
 
22144
echo "$as_me: error: conditional \"TSS_BUILD_PCR_COMP12\" was never defined.
 
22145
Usually this means the macro was only invoked conditionally." >&2;}
 
22146
   { (exit 1); exit 1; }; }
 
22147
fi
 
22148
if test -z "${TSS_BUILD_COUNTER_TRUE}" && test -z "${TSS_BUILD_COUNTER_FALSE}"; then
 
22149
  { { echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_COUNTER\" was never defined.
 
22150
Usually this means the macro was only invoked conditionally." >&5
 
22151
echo "$as_me: error: conditional \"TSS_BUILD_COUNTER\" was never defined.
 
22152
Usually this means the macro was only invoked conditionally." >&2;}
 
22153
   { (exit 1); exit 1; }; }
 
22154
fi
 
22155
if test -z "${TSS_BUILD_TICK_TRUE}" && test -z "${TSS_BUILD_TICK_FALSE}"; then
 
22156
  { { echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_TICK\" was never defined.
 
22157
Usually this means the macro was only invoked conditionally." >&5
 
22158
echo "$as_me: error: conditional \"TSS_BUILD_TICK\" was never defined.
 
22159
Usually this means the macro was only invoked conditionally." >&2;}
 
22160
   { (exit 1); exit 1; }; }
 
22161
fi
 
22162
if test -z "${TSS_BUILD_TRANSPORT_TRUE}" && test -z "${TSS_BUILD_TRANSPORT_FALSE}"; then
 
22163
  { { echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_TRANSPORT\" was never defined.
 
22164
Usually this means the macro was only invoked conditionally." >&5
 
22165
echo "$as_me: error: conditional \"TSS_BUILD_TRANSPORT\" was never defined.
 
22166
Usually this means the macro was only invoked conditionally." >&2;}
 
22167
   { (exit 1); exit 1; }; }
 
22168
fi
 
22169
if test -z "${TSS_BUILD_ASN1_TRUE}" && test -z "${TSS_BUILD_ASN1_FALSE}"; then
 
22170
  { { echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_ASN1\" was never defined.
 
22171
Usually this means the macro was only invoked conditionally." >&5
 
22172
echo "$as_me: error: conditional \"TSS_BUILD_ASN1\" was never defined.
 
22173
Usually this means the macro was only invoked conditionally." >&2;}
 
22174
   { (exit 1); exit 1; }; }
 
22175
fi
 
22176
if test -z "${TSS_BUILD_NV_TRUE}" && test -z "${TSS_BUILD_NV_FALSE}"; then
 
22177
  { { echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_NV\" was never defined.
 
22178
Usually this means the macro was only invoked conditionally." >&5
 
22179
echo "$as_me: error: conditional \"TSS_BUILD_NV\" was never defined.
 
22180
Usually this means the macro was only invoked conditionally." >&2;}
 
22181
   { (exit 1); exit 1; }; }
 
22182
fi
 
22183
if test -z "${TSS_BUILD_AUDIT_TRUE}" && test -z "${TSS_BUILD_AUDIT_FALSE}"; then
 
22184
  { { echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_AUDIT\" was never defined.
 
22185
Usually this means the macro was only invoked conditionally." >&5
 
22186
echo "$as_me: error: conditional \"TSS_BUILD_AUDIT\" was never defined.
 
22187
Usually this means the macro was only invoked conditionally." >&2;}
 
22188
   { (exit 1); exit 1; }; }
 
22189
fi
 
22190
if test -z "${TSS_BUILD_SEALX_TRUE}" && test -z "${TSS_BUILD_SEALX_FALSE}"; then
 
22191
  { { echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_SEALX\" was never defined.
 
22192
Usually this means the macro was only invoked conditionally." >&5
 
22193
echo "$as_me: error: conditional \"TSS_BUILD_SEALX\" was never defined.
 
22194
Usually this means the macro was only invoked conditionally." >&2;}
 
22195
   { (exit 1); exit 1; }; }
 
22196
fi
 
22197
if test -z "${TSS_BUILD_DELEGATION_TRUE}" && test -z "${TSS_BUILD_DELEGATION_FALSE}"; then
 
22198
  { { echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_DELEGATION\" was never defined.
 
22199
Usually this means the macro was only invoked conditionally." >&5
 
22200
echo "$as_me: error: conditional \"TSS_BUILD_DELEGATION\" was never defined.
 
22201
Usually this means the macro was only invoked conditionally." >&2;}
 
22202
   { (exit 1); exit 1; }; }
 
22203
fi
 
22204
if test -z "${TSS_BUILD_QUOTE2_TRUE}" && test -z "${TSS_BUILD_QUOTE2_FALSE}"; then
 
22205
  { { echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_QUOTE2\" was never defined.
 
22206
Usually this means the macro was only invoked conditionally." >&5
 
22207
echo "$as_me: error: conditional \"TSS_BUILD_QUOTE2\" was never defined.
 
22208
Usually this means the macro was only invoked conditionally." >&2;}
 
22209
   { (exit 1); exit 1; }; }
 
22210
fi
 
22211
if test -z "${TSS_BUILD_CMK_TRUE}" && test -z "${TSS_BUILD_CMK_FALSE}"; then
 
22212
  { { echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_CMK\" was never defined.
 
22213
Usually this means the macro was only invoked conditionally." >&5
 
22214
echo "$as_me: error: conditional \"TSS_BUILD_CMK\" was never defined.
 
22215
Usually this means the macro was only invoked conditionally." >&2;}
 
22216
   { (exit 1); exit 1; }; }
 
22217
fi
 
22218
if test -z "${TSS_BUILD_TSS12_TRUE}" && test -z "${TSS_BUILD_TSS12_FALSE}"; then
 
22219
  { { echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_TSS12\" was never defined.
 
22220
Usually this means the macro was only invoked conditionally." >&5
 
22221
echo "$as_me: error: conditional \"TSS_BUILD_TSS12\" was never defined.
 
22222
Usually this means the macro was only invoked conditionally." >&2;}
 
22223
   { (exit 1); exit 1; }; }
 
22224
fi
 
22225
if test -z "${TSS_BUILD_DAA_TRUE}" && test -z "${TSS_BUILD_DAA_FALSE}"; then
 
22226
  { { echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_DAA\" was never defined.
 
22227
Usually this means the macro was only invoked conditionally." >&5
 
22228
echo "$as_me: error: conditional \"TSS_BUILD_DAA\" was never defined.
 
22229
Usually this means the macro was only invoked conditionally." >&2;}
 
22230
   { (exit 1); exit 1; }; }
 
22231
fi
 
22232
if test -z "${TSS_BUILD_PCR_COMP12_TRUE}" && test -z "${TSS_BUILD_PCR_COMP12_FALSE}"; then
 
22233
  { { echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_PCR_COMP12\" was never defined.
 
22234
Usually this means the macro was only invoked conditionally." >&5
 
22235
echo "$as_me: error: conditional \"TSS_BUILD_PCR_COMP12\" was never defined.
 
22236
Usually this means the macro was only invoked conditionally." >&2;}
 
22237
   { (exit 1); exit 1; }; }
 
22238
fi
 
22239
if test -z "${TSS_BUILD_COUNTER_TRUE}" && test -z "${TSS_BUILD_COUNTER_FALSE}"; then
 
22240
  { { echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_COUNTER\" was never defined.
 
22241
Usually this means the macro was only invoked conditionally." >&5
 
22242
echo "$as_me: error: conditional \"TSS_BUILD_COUNTER\" was never defined.
 
22243
Usually this means the macro was only invoked conditionally." >&2;}
 
22244
   { (exit 1); exit 1; }; }
 
22245
fi
 
22246
if test -z "${TSS_BUILD_TICK_TRUE}" && test -z "${TSS_BUILD_TICK_FALSE}"; then
 
22247
  { { echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_TICK\" was never defined.
 
22248
Usually this means the macro was only invoked conditionally." >&5
 
22249
echo "$as_me: error: conditional \"TSS_BUILD_TICK\" was never defined.
 
22250
Usually this means the macro was only invoked conditionally." >&2;}
 
22251
   { (exit 1); exit 1; }; }
 
22252
fi
 
22253
if test -z "${TSS_BUILD_TRANSPORT_TRUE}" && test -z "${TSS_BUILD_TRANSPORT_FALSE}"; then
 
22254
  { { echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_TRANSPORT\" was never defined.
 
22255
Usually this means the macro was only invoked conditionally." >&5
 
22256
echo "$as_me: error: conditional \"TSS_BUILD_TRANSPORT\" was never defined.
 
22257
Usually this means the macro was only invoked conditionally." >&2;}
 
22258
   { (exit 1); exit 1; }; }
 
22259
fi
 
22260
if test -z "${TSS_BUILD_ASN1_TRUE}" && test -z "${TSS_BUILD_ASN1_FALSE}"; then
 
22261
  { { echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_ASN1\" was never defined.
 
22262
Usually this means the macro was only invoked conditionally." >&5
 
22263
echo "$as_me: error: conditional \"TSS_BUILD_ASN1\" was never defined.
 
22264
Usually this means the macro was only invoked conditionally." >&2;}
 
22265
   { (exit 1); exit 1; }; }
 
22266
fi
 
22267
if test -z "${TSS_BUILD_NV_TRUE}" && test -z "${TSS_BUILD_NV_FALSE}"; then
 
22268
  { { echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_NV\" was never defined.
 
22269
Usually this means the macro was only invoked conditionally." >&5
 
22270
echo "$as_me: error: conditional \"TSS_BUILD_NV\" was never defined.
 
22271
Usually this means the macro was only invoked conditionally." >&2;}
 
22272
   { (exit 1); exit 1; }; }
 
22273
fi
 
22274
if test -z "${TSS_BUILD_AUDIT_TRUE}" && test -z "${TSS_BUILD_AUDIT_FALSE}"; then
 
22275
  { { echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_AUDIT\" was never defined.
 
22276
Usually this means the macro was only invoked conditionally." >&5
 
22277
echo "$as_me: error: conditional \"TSS_BUILD_AUDIT\" was never defined.
 
22278
Usually this means the macro was only invoked conditionally." >&2;}
 
22279
   { (exit 1); exit 1; }; }
 
22280
fi
 
22281
if test -z "${TSS_BUILD_SEALX_TRUE}" && test -z "${TSS_BUILD_SEALX_FALSE}"; then
 
22282
  { { echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_SEALX\" was never defined.
 
22283
Usually this means the macro was only invoked conditionally." >&5
 
22284
echo "$as_me: error: conditional \"TSS_BUILD_SEALX\" was never defined.
 
22285
Usually this means the macro was only invoked conditionally." >&2;}
 
22286
   { (exit 1); exit 1; }; }
 
22287
fi
 
22288
if test -z "${TSS_BUILD_DELEGATION_TRUE}" && test -z "${TSS_BUILD_DELEGATION_FALSE}"; then
 
22289
  { { echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_DELEGATION\" was never defined.
 
22290
Usually this means the macro was only invoked conditionally." >&5
 
22291
echo "$as_me: error: conditional \"TSS_BUILD_DELEGATION\" was never defined.
 
22292
Usually this means the macro was only invoked conditionally." >&2;}
 
22293
   { (exit 1); exit 1; }; }
 
22294
fi
 
22295
if test -z "${TSS_BUILD_QUOTE2_TRUE}" && test -z "${TSS_BUILD_QUOTE2_FALSE}"; then
 
22296
  { { echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_QUOTE2\" was never defined.
 
22297
Usually this means the macro was only invoked conditionally." >&5
 
22298
echo "$as_me: error: conditional \"TSS_BUILD_QUOTE2\" was never defined.
 
22299
Usually this means the macro was only invoked conditionally." >&2;}
 
22300
   { (exit 1); exit 1; }; }
 
22301
fi
 
22302
if test -z "${TSS_BUILD_CMK_TRUE}" && test -z "${TSS_BUILD_CMK_FALSE}"; then
 
22303
  { { echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_CMK\" was never defined.
 
22304
Usually this means the macro was only invoked conditionally." >&5
 
22305
echo "$as_me: error: conditional \"TSS_BUILD_CMK\" was never defined.
 
22306
Usually this means the macro was only invoked conditionally." >&2;}
 
22307
   { (exit 1); exit 1; }; }
 
22308
fi
 
22309
if test -z "${TSS_BUILD_NV_LIST_TRUE}" && test -z "${TSS_BUILD_NV_LIST_FALSE}"; then
 
22310
  { { echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_NV_LIST\" was never defined.
 
22311
Usually this means the macro was only invoked conditionally." >&5
 
22312
echo "$as_me: error: conditional \"TSS_BUILD_NV_LIST\" was never defined.
 
22313
Usually this means the macro was only invoked conditionally." >&2;}
 
22314
   { (exit 1); exit 1; }; }
 
22315
fi
 
22316
if test -z "${TSS_BUILD_NV_SUPPORT_TRUE}" && test -z "${TSS_BUILD_NV_SUPPORT_FALSE}"; then
 
22317
  { { echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_NV_SUPPORT\" was never defined.
 
22318
Usually this means the macro was only invoked conditionally." >&5
 
22319
echo "$as_me: error: conditional \"TSS_BUILD_NV_SUPPORT\" was never defined.
 
22320
Usually this means the macro was only invoked conditionally." >&2;}
 
22321
   { (exit 1); exit 1; }; }
 
22322
fi
 
22323
if test -z "${TSS_BUILD_GET_FLAGS_TRUE}" && test -z "${TSS_BUILD_GET_FLAGS_FALSE}"; then
 
22324
  { { echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_GET_FLAGS\" was never defined.
 
22325
Usually this means the macro was only invoked conditionally." >&5
 
22326
echo "$as_me: error: conditional \"TSS_BUILD_GET_FLAGS\" was never defined.
 
22327
Usually this means the macro was only invoked conditionally." >&2;}
 
22328
   { (exit 1); exit 1; }; }
 
22329
fi
 
22330
if test -z "${TSS_BUILD_PCRS_LIST_TRUE}" && test -z "${TSS_BUILD_PCRS_LIST_FALSE}"; then
 
22331
  { { echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_PCRS_LIST\" was never defined.
 
22332
Usually this means the macro was only invoked conditionally." >&5
 
22333
echo "$as_me: error: conditional \"TSS_BUILD_PCRS_LIST\" was never defined.
 
22334
Usually this means the macro was only invoked conditionally." >&2;}
 
22335
   { (exit 1); exit 1; }; }
 
22336
fi
 
22337
if test -z "${TSS_BUILD_HASH_LIST_TRUE}" && test -z "${TSS_BUILD_HASH_LIST_FALSE}"; then
 
22338
  { { echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_HASH_LIST\" was never defined.
 
22339
Usually this means the macro was only invoked conditionally." >&5
 
22340
echo "$as_me: error: conditional \"TSS_BUILD_HASH_LIST\" was never defined.
 
22341
Usually this means the macro was only invoked conditionally." >&2;}
 
22342
   { (exit 1); exit 1; }; }
 
22343
fi
 
22344
if test -z "${TSS_BUILD_ENCDATA_LIST_TRUE}" && test -z "${TSS_BUILD_ENCDATA_LIST_FALSE}"; then
 
22345
  { { echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_ENCDATA_LIST\" was never defined.
 
22346
Usually this means the macro was only invoked conditionally." >&5
 
22347
echo "$as_me: error: conditional \"TSS_BUILD_ENCDATA_LIST\" was never defined.
 
22348
Usually this means the macro was only invoked conditionally." >&2;}
 
22349
   { (exit 1); exit 1; }; }
 
22350
fi
 
22351
if test -z "${TSS_BUILD_RSAKEY_LIST_TRUE}" && test -z "${TSS_BUILD_RSAKEY_LIST_FALSE}"; then
 
22352
  { { echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_RSAKEY_LIST\" was never defined.
 
22353
Usually this means the macro was only invoked conditionally." >&5
 
22354
echo "$as_me: error: conditional \"TSS_BUILD_RSAKEY_LIST\" was never defined.
 
22355
Usually this means the macro was only invoked conditionally." >&2;}
 
22356
   { (exit 1); exit 1; }; }
 
22357
fi
 
22358
if test -z "${TSS_BUILD_AUTH_TRUE}" && test -z "${TSS_BUILD_AUTH_FALSE}"; then
 
22359
  { { echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_AUTH\" was never defined.
 
22360
Usually this means the macro was only invoked conditionally." >&5
 
22361
echo "$as_me: error: conditional \"TSS_BUILD_AUTH\" was never defined.
 
22362
Usually this means the macro was only invoked conditionally." >&2;}
 
22363
   { (exit 1); exit 1; }; }
 
22364
fi
 
22365
if test -z "${TSS_BUILD_ASYM_CRYPTO_TRUE}" && test -z "${TSS_BUILD_ASYM_CRYPTO_FALSE}"; then
 
22366
  { { echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_ASYM_CRYPTO\" was never defined.
 
22367
Usually this means the macro was only invoked conditionally." >&5
 
22368
echo "$as_me: error: conditional \"TSS_BUILD_ASYM_CRYPTO\" was never defined.
 
22369
Usually this means the macro was only invoked conditionally." >&2;}
 
22370
   { (exit 1); exit 1; }; }
 
22371
fi
 
22372
if test -z "${TSS_BUILD_SYM_CRYPTO_TRUE}" && test -z "${TSS_BUILD_SYM_CRYPTO_FALSE}"; then
 
22373
  { { echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_SYM_CRYPTO\" was never defined.
 
22374
Usually this means the macro was only invoked conditionally." >&5
 
22375
echo "$as_me: error: conditional \"TSS_BUILD_SYM_CRYPTO\" was never defined.
 
22376
Usually this means the macro was only invoked conditionally." >&2;}
 
22377
   { (exit 1); exit 1; }; }
 
22378
fi
20676
22379
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
20677
22380
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
20678
22381
Usually this means the macro was only invoked conditionally." >&5
20958
22661
} >&5
20959
22662
cat >&5 <<_CSEOF
20960
22663
 
20961
 
This file was extended by trousers $as_me 0.2.9.1, which was
 
22664
This file was extended by trousers $as_me 0.3.1, which was
20962
22665
generated by GNU Autoconf 2.59.  Invocation command line was
20963
22666
 
20964
22667
  CONFIG_FILES    = $CONFIG_FILES
21016
22719
 
21017
22720
cat >>$CONFIG_STATUS <<_ACEOF
21018
22721
ac_cs_version="\\
21019
 
trousers config.status 0.2.9.1
 
22722
trousers config.status 0.3.1
21020
22723
configured by $0, generated by GNU Autoconf 2.59,
21021
22724
  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
21022
22725
 
21282
22985
s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
21283
22986
s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
21284
22987
s,@CRYPTO_PACKAGE@,$CRYPTO_PACKAGE,;t t
 
22988
s,@CRYPTOLIB@,$CRYPTOLIB,;t t
 
22989
s,@CPP@,$CPP,;t t
 
22990
s,@EGREP@,$EGREP,;t t
21285
22991
s,@HAVE_GTK_TRUE@,$HAVE_GTK_TRUE,;t t
21286
22992
s,@HAVE_GTK_FALSE@,$HAVE_GTK_FALSE,;t t
21287
22993
s,@PKG_CONFIG@,$PKG_CONFIG,;t t
21288
22994
s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
21289
22995
s,@GTK_LIBS@,$GTK_LIBS,;t t
21290
 
s,@EGREP@,$EGREP,;t t
 
22996
s,@TCSD_DEFAULT_PORT@,$TCSD_DEFAULT_PORT,;t t
 
22997
s,@RPC@,$RPC,;t t
 
22998
s,@TSS_BUILD_HASH_TRUE@,$TSS_BUILD_HASH_TRUE,;t t
 
22999
s,@TSS_BUILD_HASH_FALSE@,$TSS_BUILD_HASH_FALSE,;t t
 
23000
s,@TSS_BUILD_GETSET_TRUE@,$TSS_BUILD_GETSET_TRUE,;t t
 
23001
s,@TSS_BUILD_GETSET_FALSE@,$TSS_BUILD_GETSET_FALSE,;t t
 
23002
s,@TSS_BUILD_RANDOM_TRUE@,$TSS_BUILD_RANDOM_TRUE,;t t
 
23003
s,@TSS_BUILD_RANDOM_FALSE@,$TSS_BUILD_RANDOM_FALSE,;t t
 
23004
s,@TSS_BUILD_CAPS_TRUE@,$TSS_BUILD_CAPS_TRUE,;t t
 
23005
s,@TSS_BUILD_CAPS_FALSE@,$TSS_BUILD_CAPS_FALSE,;t t
 
23006
s,@TSS_BUILD_CAPS_TPM_TRUE@,$TSS_BUILD_CAPS_TPM_TRUE,;t t
 
23007
s,@TSS_BUILD_CAPS_TPM_FALSE@,$TSS_BUILD_CAPS_TPM_FALSE,;t t
 
23008
s,@TSS_BUILD_POLICY_TRUE@,$TSS_BUILD_POLICY_TRUE,;t t
 
23009
s,@TSS_BUILD_POLICY_FALSE@,$TSS_BUILD_POLICY_FALSE,;t t
 
23010
s,@TSS_BUILD_DIR_TRUE@,$TSS_BUILD_DIR_TRUE,;t t
 
23011
s,@TSS_BUILD_DIR_FALSE@,$TSS_BUILD_DIR_FALSE,;t t
 
23012
s,@TSS_BUILD_PCR_EVENTS_TRUE@,$TSS_BUILD_PCR_EVENTS_TRUE,;t t
 
23013
s,@TSS_BUILD_PCR_EVENTS_FALSE@,$TSS_BUILD_PCR_EVENTS_FALSE,;t t
 
23014
s,@TSS_BUILD_SIGN_TRUE@,$TSS_BUILD_SIGN_TRUE,;t t
 
23015
s,@TSS_BUILD_SIGN_FALSE@,$TSS_BUILD_SIGN_FALSE,;t t
 
23016
s,@TSS_BUILD_QUOTE_TRUE@,$TSS_BUILD_QUOTE_TRUE,;t t
 
23017
s,@TSS_BUILD_QUOTE_FALSE@,$TSS_BUILD_QUOTE_FALSE,;t t
 
23018
s,@TSS_BUILD_PCR_COMP_TRUE@,$TSS_BUILD_PCR_COMP_TRUE,;t t
 
23019
s,@TSS_BUILD_PCR_COMP_FALSE@,$TSS_BUILD_PCR_COMP_FALSE,;t t
 
23020
s,@TSS_BUILD_SEAL_TRUE@,$TSS_BUILD_SEAL_TRUE,;t t
 
23021
s,@TSS_BUILD_SEAL_FALSE@,$TSS_BUILD_SEAL_FALSE,;t t
 
23022
s,@TSS_BUILD_CHANGEAUTH_TRUE@,$TSS_BUILD_CHANGEAUTH_TRUE,;t t
 
23023
s,@TSS_BUILD_CHANGEAUTH_FALSE@,$TSS_BUILD_CHANGEAUTH_FALSE,;t t
 
23024
s,@TSS_BUILD_BIND_TRUE@,$TSS_BUILD_BIND_TRUE,;t t
 
23025
s,@TSS_BUILD_BIND_FALSE@,$TSS_BUILD_BIND_FALSE,;t t
 
23026
s,@TSS_BUILD_OWN_TRUE@,$TSS_BUILD_OWN_TRUE,;t t
 
23027
s,@TSS_BUILD_OWN_FALSE@,$TSS_BUILD_OWN_FALSE,;t t
 
23028
s,@TSS_BUILD_EK_TRUE@,$TSS_BUILD_EK_TRUE,;t t
 
23029
s,@TSS_BUILD_EK_FALSE@,$TSS_BUILD_EK_FALSE,;t t
 
23030
s,@TSS_BUILD_PS_TRUE@,$TSS_BUILD_PS_TRUE,;t t
 
23031
s,@TSS_BUILD_PS_FALSE@,$TSS_BUILD_PS_FALSE,;t t
 
23032
s,@TSS_BUILD_ADMIN_TRUE@,$TSS_BUILD_ADMIN_TRUE,;t t
 
23033
s,@TSS_BUILD_ADMIN_FALSE@,$TSS_BUILD_ADMIN_FALSE,;t t
 
23034
s,@TSS_BUILD_AIK_TRUE@,$TSS_BUILD_AIK_TRUE,;t t
 
23035
s,@TSS_BUILD_AIK_FALSE@,$TSS_BUILD_AIK_FALSE,;t t
 
23036
s,@TSS_BUILD_CERTIFY_TRUE@,$TSS_BUILD_CERTIFY_TRUE,;t t
 
23037
s,@TSS_BUILD_CERTIFY_FALSE@,$TSS_BUILD_CERTIFY_FALSE,;t t
 
23038
s,@TSS_BUILD_MAINT_TRUE@,$TSS_BUILD_MAINT_TRUE,;t t
 
23039
s,@TSS_BUILD_MAINT_FALSE@,$TSS_BUILD_MAINT_FALSE,;t t
 
23040
s,@TSS_BUILD_MIGRATION_TRUE@,$TSS_BUILD_MIGRATION_TRUE,;t t
 
23041
s,@TSS_BUILD_MIGRATION_FALSE@,$TSS_BUILD_MIGRATION_FALSE,;t t
 
23042
s,@TSS_BUILD_KEY_TRUE@,$TSS_BUILD_KEY_TRUE,;t t
 
23043
s,@TSS_BUILD_KEY_FALSE@,$TSS_BUILD_KEY_FALSE,;t t
 
23044
s,@TSS_BUILD_PCR_EXTEND_TRUE@,$TSS_BUILD_PCR_EXTEND_TRUE,;t t
 
23045
s,@TSS_BUILD_PCR_EXTEND_FALSE@,$TSS_BUILD_PCR_EXTEND_FALSE,;t t
 
23046
s,@TSS_BUILD_SELFTEST_TRUE@,$TSS_BUILD_SELFTEST_TRUE,;t t
 
23047
s,@TSS_BUILD_SELFTEST_FALSE@,$TSS_BUILD_SELFTEST_FALSE,;t t
 
23048
s,@TSS_BUILD_TSS12_TRUE@,$TSS_BUILD_TSS12_TRUE,;t t
 
23049
s,@TSS_BUILD_TSS12_FALSE@,$TSS_BUILD_TSS12_FALSE,;t t
 
23050
s,@TSS_BUILD_DAA_TRUE@,$TSS_BUILD_DAA_TRUE,;t t
 
23051
s,@TSS_BUILD_DAA_FALSE@,$TSS_BUILD_DAA_FALSE,;t t
 
23052
s,@TSS_BUILD_PCR_COMP12_TRUE@,$TSS_BUILD_PCR_COMP12_TRUE,;t t
 
23053
s,@TSS_BUILD_PCR_COMP12_FALSE@,$TSS_BUILD_PCR_COMP12_FALSE,;t t
 
23054
s,@TSS_BUILD_COUNTER_TRUE@,$TSS_BUILD_COUNTER_TRUE,;t t
 
23055
s,@TSS_BUILD_COUNTER_FALSE@,$TSS_BUILD_COUNTER_FALSE,;t t
 
23056
s,@TSS_BUILD_TICK_TRUE@,$TSS_BUILD_TICK_TRUE,;t t
 
23057
s,@TSS_BUILD_TICK_FALSE@,$TSS_BUILD_TICK_FALSE,;t t
 
23058
s,@TSS_BUILD_TRANSPORT_TRUE@,$TSS_BUILD_TRANSPORT_TRUE,;t t
 
23059
s,@TSS_BUILD_TRANSPORT_FALSE@,$TSS_BUILD_TRANSPORT_FALSE,;t t
 
23060
s,@TSS_BUILD_ASN1_TRUE@,$TSS_BUILD_ASN1_TRUE,;t t
 
23061
s,@TSS_BUILD_ASN1_FALSE@,$TSS_BUILD_ASN1_FALSE,;t t
 
23062
s,@TSS_BUILD_NV_TRUE@,$TSS_BUILD_NV_TRUE,;t t
 
23063
s,@TSS_BUILD_NV_FALSE@,$TSS_BUILD_NV_FALSE,;t t
 
23064
s,@TSS_BUILD_AUDIT_TRUE@,$TSS_BUILD_AUDIT_TRUE,;t t
 
23065
s,@TSS_BUILD_AUDIT_FALSE@,$TSS_BUILD_AUDIT_FALSE,;t t
 
23066
s,@TSS_BUILD_SEALX_TRUE@,$TSS_BUILD_SEALX_TRUE,;t t
 
23067
s,@TSS_BUILD_SEALX_FALSE@,$TSS_BUILD_SEALX_FALSE,;t t
 
23068
s,@TSS_BUILD_DELEGATION_TRUE@,$TSS_BUILD_DELEGATION_TRUE,;t t
 
23069
s,@TSS_BUILD_DELEGATION_FALSE@,$TSS_BUILD_DELEGATION_FALSE,;t t
 
23070
s,@TSS_BUILD_QUOTE2_TRUE@,$TSS_BUILD_QUOTE2_TRUE,;t t
 
23071
s,@TSS_BUILD_QUOTE2_FALSE@,$TSS_BUILD_QUOTE2_FALSE,;t t
 
23072
s,@TSS_BUILD_CMK_TRUE@,$TSS_BUILD_CMK_TRUE,;t t
 
23073
s,@TSS_BUILD_CMK_FALSE@,$TSS_BUILD_CMK_FALSE,;t t
 
23074
s,@TSS_BUILD_NV_LIST_TRUE@,$TSS_BUILD_NV_LIST_TRUE,;t t
 
23075
s,@TSS_BUILD_NV_LIST_FALSE@,$TSS_BUILD_NV_LIST_FALSE,;t t
 
23076
s,@TSS_BUILD_NV_SUPPORT_TRUE@,$TSS_BUILD_NV_SUPPORT_TRUE,;t t
 
23077
s,@TSS_BUILD_NV_SUPPORT_FALSE@,$TSS_BUILD_NV_SUPPORT_FALSE,;t t
 
23078
s,@TSS_BUILD_GET_FLAGS_TRUE@,$TSS_BUILD_GET_FLAGS_TRUE,;t t
 
23079
s,@TSS_BUILD_GET_FLAGS_FALSE@,$TSS_BUILD_GET_FLAGS_FALSE,;t t
 
23080
s,@TSS_BUILD_PCRS_LIST_TRUE@,$TSS_BUILD_PCRS_LIST_TRUE,;t t
 
23081
s,@TSS_BUILD_PCRS_LIST_FALSE@,$TSS_BUILD_PCRS_LIST_FALSE,;t t
 
23082
s,@TSS_BUILD_HASH_LIST_TRUE@,$TSS_BUILD_HASH_LIST_TRUE,;t t
 
23083
s,@TSS_BUILD_HASH_LIST_FALSE@,$TSS_BUILD_HASH_LIST_FALSE,;t t
 
23084
s,@TSS_BUILD_ENCDATA_LIST_TRUE@,$TSS_BUILD_ENCDATA_LIST_TRUE,;t t
 
23085
s,@TSS_BUILD_ENCDATA_LIST_FALSE@,$TSS_BUILD_ENCDATA_LIST_FALSE,;t t
 
23086
s,@TSS_BUILD_RSAKEY_LIST_TRUE@,$TSS_BUILD_RSAKEY_LIST_TRUE,;t t
 
23087
s,@TSS_BUILD_RSAKEY_LIST_FALSE@,$TSS_BUILD_RSAKEY_LIST_FALSE,;t t
 
23088
s,@TSS_BUILD_AUTH_TRUE@,$TSS_BUILD_AUTH_TRUE,;t t
 
23089
s,@TSS_BUILD_AUTH_FALSE@,$TSS_BUILD_AUTH_FALSE,;t t
 
23090
s,@TSS_BUILD_ASYM_CRYPTO_TRUE@,$TSS_BUILD_ASYM_CRYPTO_TRUE,;t t
 
23091
s,@TSS_BUILD_ASYM_CRYPTO_FALSE@,$TSS_BUILD_ASYM_CRYPTO_FALSE,;t t
 
23092
s,@TSS_BUILD_SYM_CRYPTO_TRUE@,$TSS_BUILD_SYM_CRYPTO_TRUE,;t t
 
23093
s,@TSS_BUILD_SYM_CRYPTO_FALSE@,$TSS_BUILD_SYM_CRYPTO_FALSE,;t t
21291
23094
s,@LN_S@,$LN_S,;t t
21292
23095
s,@ECHO@,$ECHO,;t t
21293
23096
s,@AR@,$AR,;t t
21294
23097
s,@ac_ct_AR@,$ac_ct_AR,;t t
21295
23098
s,@RANLIB@,$RANLIB,;t t
21296
23099
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
21297
 
s,@CPP@,$CPP,;t t
21298
23100
s,@CXX@,$CXX,;t t
21299
23101
s,@CXXFLAGS@,$CXXFLAGS,;t t
21300
23102
s,@ac_ct_CXX@,$ac_ct_CXX,;t t
21306
23108
s,@FFLAGS@,$FFLAGS,;t t
21307
23109
s,@ac_ct_F77@,$ac_ct_F77,;t t
21308
23110
s,@LIBTOOL@,$LIBTOOL,;t t
21309
 
s,@TCSD_DEFAULT_PORT@,$TCSD_DEFAULT_PORT,;t t
21310
23111
s,@LIBOBJS@,$LIBOBJS,;t t
21311
23112
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
21312
23113
CEOF