2
2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.64 for libgnutls-extra 2.9.9.
3
# Generated by GNU Autoconf 2.65 for libgnutls-extra 2.9.10.
5
5
# Report bugs to <bug-gnutls@gnu.org>.
7
8
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
9
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
11
13
# This configure script is free software; the Free Software Foundation
12
14
# gives unlimited permission to copy, distribute and modify it.
1683
1706
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1684
1707
nonstandard directory <lib dir>
1685
1708
LIBS libraries to pass to the linker, e.g. -l<library>
1686
CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1709
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1687
1710
you have headers in a nonstandard directory <include dir>
1688
1711
CPP C preprocessor
1753
1776
test -n "$ac_init_help" && exit $ac_status
1754
1777
if $ac_init_version; then
1756
libgnutls-extra configure 2.9.9
1757
generated by GNU Autoconf 2.64
1779
libgnutls-extra configure 2.9.10
1780
generated by GNU Autoconf 2.65
1759
1782
Copyright (C) 2009 Free Software Foundation, Inc.
1760
1783
This configure script is free software; the Free Software Foundation
2297
2320
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2321
as_fn_set_status $ac_retval
2300
2323
} # ac_fn_c_compute_int
2301
2324
cat >config.log <<_ACEOF
2302
2325
This file contains any messages produced by compilers while
2303
2326
running configure, to aid debugging if configure makes a mistake.
2305
It was created by libgnutls-extra $as_me 2.9.9, which was
2306
generated by GNU Autoconf 2.64. Invocation command line was
2328
It was created by libgnutls-extra $as_me 2.9.10, which was
2329
generated by GNU Autoconf 2.65. Invocation command line was
2567
2590
if test -r "$cache_file"; then
2568
# Some versions of bash will fail to source /dev/null (special
2569
# files actually), so we avoid doing that.
2570
if test -f "$cache_file"; then
2591
# Some versions of bash will fail to source /dev/null (special files
2592
# actually), so we avoid doing that. DJGPP emulates it as a regular file.
2593
if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2571
2594
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2572
2595
$as_echo "$as_me: loading cache $cache_file" >&6;}
2573
2596
case $cache_file in
2996
3020
# value for MKDIR_P within a source directory, because that will
2997
3021
# break other packages using the cache if that directory is
2998
3022
# removed, or if the value is a relative name.
2999
test -d ./--version && rmdir ./--version
3000
3023
MKDIR_P="$ac_install_sh -d"
3003
3026
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3004
3027
$as_echo "$MKDIR_P" >&6; }
3006
3030
mkdir_p="$MKDIR_P"
3007
3031
case $mkdir_p in
3008
3032
[\\/$]* | ?:[\\/]*) ;;
3478
3502
... rest of stderr output deleted ...
3479
3503
10q' conftest.err >conftest.er1
3480
3504
cat conftest.er1 >&5
3481
rm -f conftest.er1 conftest.err
3506
rm -f conftest.er1 conftest.err
3483
3507
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3484
3508
test $ac_status = 0; }
3487
3511
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3488
3512
/* end confdefs.h. */
3493
FILE *f = fopen ("conftest.out", "w");
3494
return ferror (f) || fclose (f) != 0;
3500
3522
ac_clean_files_save=$ac_clean_files
3501
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3523
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3502
3524
# Try to create an executable without -o first, disregard a.out.
3503
3525
# It will help us diagnose broken compilers, and finding out an intuition
3505
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3506
$as_echo_n "checking for C compiler default output file name... " >&6; }
3527
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3528
$as_echo_n "checking whether the C compiler works... " >&6; }
3507
3529
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3509
3531
# The possible output files:
3590
if test -z "$ac_file"; then :
3591
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3592
$as_echo "no" >&6; }
3593
$as_echo "$as_me: failed program was:" >&5
3594
sed 's/^/| /' conftest.$ac_ext >&5
3596
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3597
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3598
{ as_fn_set_status 77
3599
as_fn_error "C compiler cannot create executables
3600
See \`config.log' for more details." "$LINENO" 5; }; }
3602
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3603
$as_echo "yes" >&6; }
3605
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3606
$as_echo_n "checking for C compiler default output file name... " >&6; }
3568
3607
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3569
3608
$as_echo "$ac_file" >&6; }
3570
if test -z "$ac_file"; then :
3571
$as_echo "$as_me: failed program was:" >&5
3572
sed 's/^/| /' conftest.$ac_ext >&5
3574
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3575
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3576
{ as_fn_set_status 77
3577
as_fn_error "C compiler cannot create executables
3578
See \`config.log' for more details." "$LINENO" 5; }; }
3580
3609
ac_exeext=$ac_cv_exeext
3582
# Check that the compiler produces executables we can run. If not, either
3583
# the compiler is broken, or we cross compile.
3584
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3585
$as_echo_n "checking whether the C compiler works... " >&6; }
3586
# If not cross compiling, check that we can run a simple program.
3587
if test "$cross_compiling" != yes; then
3588
if { ac_try='./$ac_file'
3589
{ { case "(($ac_try" in
3590
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3591
*) ac_try_echo=$ac_try;;
3593
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3594
$as_echo "$ac_try_echo"; } >&5
3595
(eval "$ac_try") 2>&5
3597
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3598
test $ac_status = 0; }; }; then
3601
if test "$cross_compiling" = maybe; then
3604
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3605
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3606
as_fn_error "cannot run C compiled programs.
3607
If you meant to cross compile, use \`--host'.
3608
See \`config.log' for more details." "$LINENO" 5; }
3612
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3613
$as_echo "yes" >&6; }
3615
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3611
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3616
3612
ac_clean_files=$ac_clean_files_save
3617
# Check that the compiler produces executables we can run. If not, either
3618
# the compiler is broken, or we cross compile.
3619
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3620
$as_echo_n "checking whether we are cross compiling... " >&6; }
3621
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3622
$as_echo "$cross_compiling" >&6; }
3624
3613
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3625
3614
$as_echo_n "checking for suffix of executables... " >&6; }
3626
3615
if { { ac_try="$ac_link"
3653
3642
as_fn_error "cannot compute suffix of executables: cannot compile and link
3654
3643
See \`config.log' for more details." "$LINENO" 5; }
3656
rm -f conftest$ac_cv_exeext
3645
rm -f conftest conftest$ac_cv_exeext
3657
3646
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3658
3647
$as_echo "$ac_cv_exeext" >&6; }
3660
3649
rm -f conftest.$ac_ext
3661
3650
EXEEXT=$ac_cv_exeext
3662
3651
ac_exeext=$EXEEXT
3652
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3653
/* end confdefs.h. */
3658
FILE *f = fopen ("conftest.out", "w");
3659
return ferror (f) || fclose (f) != 0;
3665
ac_clean_files="$ac_clean_files conftest.out"
3666
# Check that the compiler produces executables we can run. If not, either
3667
# the compiler is broken, or we cross compile.
3668
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3669
$as_echo_n "checking whether we are cross compiling... " >&6; }
3670
if test "$cross_compiling" != yes; then
3671
{ { ac_try="$ac_link"
3673
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3674
*) ac_try_echo=$ac_try;;
3676
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3677
$as_echo "$ac_try_echo"; } >&5
3678
(eval "$ac_link") 2>&5
3680
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3681
test $ac_status = 0; }
3682
if { ac_try='./conftest$ac_cv_exeext'
3683
{ { case "(($ac_try" in
3684
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3685
*) ac_try_echo=$ac_try;;
3687
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3688
$as_echo "$ac_try_echo"; } >&5
3689
(eval "$ac_try") 2>&5
3691
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3692
test $ac_status = 0; }; }; then
3695
if test "$cross_compiling" = maybe; then
3698
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3699
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3700
as_fn_error "cannot run C compiled programs.
3701
If you meant to cross compile, use \`--host'.
3702
See \`config.log' for more details." "$LINENO" 5; }
3706
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3707
$as_echo "$cross_compiling" >&6; }
3709
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3710
ac_clean_files=$ac_clean_files_save
3663
3711
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3664
3712
$as_echo_n "checking for suffix of object files... " >&6; }
3665
3713
if test "${ac_cv_objext+set}" = set; then :
5539
5594
lt_cv_nm_interface="BSD nm"
5540
5595
echo "int some_variable = 0;" > conftest.$ac_ext
5541
(eval echo "\"\$as_me:5541: $ac_compile\"" >&5)
5596
(eval echo "\"\$as_me:5596: $ac_compile\"" >&5)
5542
5597
(eval "$ac_compile" 2>conftest.err)
5543
5598
cat conftest.err >&5
5544
(eval echo "\"\$as_me:5544: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5599
(eval echo "\"\$as_me:5599: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5545
5600
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5546
5601
cat conftest.err >&5
5547
(eval echo "\"\$as_me:5547: output\"" >&5)
5602
(eval echo "\"\$as_me:5602: output\"" >&5)
5548
5603
cat conftest.out >&5
5549
5604
if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5550
5605
lt_cv_nm_interface="MS dumpbin"
8006
8061
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8007
8062
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8008
8063
-e 's:$: $lt_compiler_flag:'`
8009
(eval echo "\"\$as_me:8009: $lt_compile\"" >&5)
8064
(eval echo "\"\$as_me:8064: $lt_compile\"" >&5)
8010
8065
(eval "$lt_compile" 2>conftest.err)
8012
8067
cat conftest.err >&5
8013
echo "$as_me:8013: \$? = $ac_status" >&5
8068
echo "$as_me:8068: \$? = $ac_status" >&5
8014
8069
if (exit $ac_status) && test -s "$ac_outfile"; then
8015
8070
# The compiler can only warn and ignore the option if not recognized
8016
8071
# So say no if there are warnings other than the usual output.
8345
8400
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8346
8401
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8347
8402
-e 's:$: $lt_compiler_flag:'`
8348
(eval echo "\"\$as_me:8348: $lt_compile\"" >&5)
8403
(eval echo "\"\$as_me:8403: $lt_compile\"" >&5)
8349
8404
(eval "$lt_compile" 2>conftest.err)
8351
8406
cat conftest.err >&5
8352
echo "$as_me:8352: \$? = $ac_status" >&5
8407
echo "$as_me:8407: \$? = $ac_status" >&5
8353
8408
if (exit $ac_status) && test -s "$ac_outfile"; then
8354
8409
# The compiler can only warn and ignore the option if not recognized
8355
8410
# So say no if there are warnings other than the usual output.
8450
8505
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8451
8506
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8452
8507
-e 's:$: $lt_compiler_flag:'`
8453
(eval echo "\"\$as_me:8453: $lt_compile\"" >&5)
8454
(eval "$lt_compile" 2>out/conftest.err)
8456
cat out/conftest.err >&5
8457
echo "$as_me:8457: \$? = $ac_status" >&5
8458
if (exit $ac_status) && test -s out/conftest2.$ac_objext
8460
# The compiler can only warn and ignore the option if not recognized
8461
# So say no if there are warnings
8462
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8463
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8464
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8465
lt_cv_prog_compiler_c_o=yes
8470
# SGI C++ compiler will create directory out/ii_files/ for
8471
# template instantiation
8472
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8473
$RM out/* && rmdir out
8479
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8480
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8487
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8488
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8489
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8490
$as_echo_n "(cached) " >&6
8492
lt_cv_prog_compiler_c_o=no
8493
$RM -r conftest 2>/dev/null
8497
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8499
lt_compiler_flag="-o out/conftest2.$ac_objext"
8500
# Insert the option either (1) after the last *FLAGS variable, or
8501
# (2) before a word containing "conftest.", or (3) at the end.
8502
# Note that $ac_compile itself does not contain backslashes and begins
8503
# with a dollar sign (not a hyphen), so the echo should work correctly.
8504
lt_compile=`echo "$ac_compile" | $SED \
8505
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8506
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8507
-e 's:$: $lt_compiler_flag:'`
8508
8508
(eval echo "\"\$as_me:8508: $lt_compile\"" >&5)
8509
8509
(eval "$lt_compile" 2>out/conftest.err)
8542
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8543
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8544
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8545
$as_echo_n "(cached) " >&6
8547
lt_cv_prog_compiler_c_o=no
8548
$RM -r conftest 2>/dev/null
8552
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8554
lt_compiler_flag="-o out/conftest2.$ac_objext"
8555
# Insert the option either (1) after the last *FLAGS variable, or
8556
# (2) before a word containing "conftest.", or (3) at the end.
8557
# Note that $ac_compile itself does not contain backslashes and begins
8558
# with a dollar sign (not a hyphen), so the echo should work correctly.
8559
lt_compile=`echo "$ac_compile" | $SED \
8560
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8561
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8562
-e 's:$: $lt_compiler_flag:'`
8563
(eval echo "\"\$as_me:8563: $lt_compile\"" >&5)
8564
(eval "$lt_compile" 2>out/conftest.err)
8566
cat out/conftest.err >&5
8567
echo "$as_me:8567: \$? = $ac_status" >&5
8568
if (exit $ac_status) && test -s out/conftest2.$ac_objext
8570
# The compiler can only warn and ignore the option if not recognized
8571
# So say no if there are warnings
8572
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8573
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8574
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8575
lt_cv_prog_compiler_c_o=yes
8580
# SGI C++ compiler will create directory out/ii_files/ for
8581
# template instantiation
8582
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8583
$RM out/* && rmdir out
8589
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8590
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8540
8595
hard_links="nottested"
8541
8596
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8542
8597
# do not overwrite the value of need_locks provided by the user
8739
8795
archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8742
gnu* | linux* | tpf* | k*bsd*-gnu)
8798
gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8744
8800
if test "$host_os" = linux-dietlibc; then
8745
8801
case $cc_basename in
13071
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to add cryptodev support" >&5
13072
$as_echo_n "checking whether to add cryptodev support... " >&6; }
13073
# Check whether --enable-cryptodev was given.
13074
if test "${enable_cryptodev+set}" = set; then :
13075
enableval=$enable_cryptodev; enable_cryptodev=yes
13077
enable_cryptodev=no
13080
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_cryptodev" >&5
13081
$as_echo "$enable_cryptodev" >&6; }
13083
if test "$enable_cryptodev" = "yes"; then
13085
$as_echo "#define ENABLE_CRYPTODEV 1" >>confdefs.h
13008
13089
# For storing integers in pointers without warnings
13009
13090
# http://developer.gnome.org/doc/API/2.0/glib/glib-Type-Conversion-Macros.html#desc
13010
13091
# The cast to long int works around a bug in the HP C Compiler
14565
14677
# report actual input values of CONFIG_FILES etc. instead of their
14566
14678
# values after options handling.
14568
This file was extended by libgnutls-extra $as_me 2.9.9, which was
14569
generated by GNU Autoconf 2.64. Invocation command line was
14680
This file was extended by libgnutls-extra $as_me 2.9.10, which was
14681
generated by GNU Autoconf 2.65. Invocation command line was
14571
14683
CONFIG_FILES = $CONFIG_FILES
14572
14684
CONFIG_HEADERS = $CONFIG_HEADERS
14607
14719
-h, --help print this help, then exit
14608
14720
-V, --version print version number and configuration settings, then exit
14721
--config print configuration, then exit
14609
14722
-q, --quiet, --silent
14610
14723
do not print progress messages
14611
14724
-d, --debug don't remove temporary files
14630
14743
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14744
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14631
14745
ac_cs_version="\\
14632
libgnutls-extra config.status 2.9.9
14633
configured by $0, generated by GNU Autoconf 2.64,
14634
with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
14746
libgnutls-extra config.status 2.9.10
14747
configured by $0, generated by GNU Autoconf 2.65,
14748
with options \\"\$ac_cs_config\\"
14636
14750
Copyright (C) 2009 Free Software Foundation, Inc.
14637
14751
This config.status script is free software; the Free Software Foundation