2
2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.67 for nettle 2.5.
3
# Generated by GNU Autoconf 2.69 for nettle 2.6.
5
5
# Report bugs to <nettle-bugs@lists.lysator.liu.se>.
8
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
8
# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
13
11
# This configure script is free software; the Free Software Foundation
136
135
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137
# Use a proper internal environment variable to ensure we don't fall
138
# into an infinite loop, continuously re-executing ourselves.
139
if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140
_as_can_reexec=no; export _as_can_reexec;
141
# We cannot yet assume a decent shell, so we have to provide a
142
# neutralization value for shells without unset; and this also
143
# works around shells that cannot unset nonexistent variables.
144
# Preserve -v and -x to the replacement shell.
147
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
149
*v*x* | *x*v* ) as_opts=-vx ;;
154
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155
# Admittedly, this is quite paranoid, since all the known shells bail
156
# out after a failed `exec'.
157
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160
# We don't want this to propagate to other subprocesses.
161
{ _as_can_reexec=; unset _as_can_reexec;}
138
162
if test "x$CONFIG_SHELL" = x; then
139
163
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
169
193
exitcode=1; echo positional parameters were not saved.
171
test x\$exitcode = x0 || exit 1"
195
test x\$exitcode = x0 || exit 1
172
197
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
173
198
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
174
199
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
215
240
if test "x$CONFIG_SHELL" != x; then :
216
# We cannot yet assume a decent shell, so we have to provide a
217
# neutralization value for shells without unset; and this also
218
# works around shells that cannot unset nonexistent variables.
221
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
223
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
242
# We cannot yet assume a decent shell, so we have to provide a
243
# neutralization value for shells without unset; and this also
244
# works around shells that cannot unset nonexistent variables.
245
# Preserve -v and -x to the replacement shell.
248
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
250
*v*x* | *x*v* ) as_opts=-vx ;;
255
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256
# Admittedly, this is quite paranoid, since all the known shells bail
257
# out after a failed `exec'.
258
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
226
262
if test x$as_have_required = xno; then :
444
488
chmod +x "$as_me.lineno" ||
445
489
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
491
# If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492
# already done that, so ensure we don't try to do so again and fall
493
# in an infinite loop. This has already happened in practice.
494
_as_can_reexec=no; export _as_can_reexec
447
495
# Don't try to exec as it changes $[0], causing all sort of problems
448
496
# (the dirname of $[0] is not the place where we might find the
449
497
# original and so on. Autoconf is especially sensitive to this).
478
526
# ... but there are two gotchas:
479
527
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
480
528
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
481
# In both cases, we have to default to `cp -p'.
529
# In both cases, we have to default to `cp -pR'.
482
530
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
484
532
elif ln conf$$.file conf$$ 2>/dev/null; then
492
540
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
493
541
rmdir conf$$.dir 2>/dev/null
502
if test -x / >/dev/null 2>&1; then
505
if ls -dL / >/dev/null 2>&1; then
512
if test -d "$1"; then
518
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
519
???[sx]*):;;*)false;;esac;fi
523
as_executable_p=$as_test_x
551
as_executable_p=as_fn_executable_p
525
553
# Sed expression to map a string onto a valid CPP name.
526
554
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
1131
1165
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1132
1166
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1133
1167
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1134
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1168
: "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1344
1376
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1345
1377
--disable-public-key Disable public key algorithms
1346
1378
--disable-assembler Disable assembler code
1379
--disable-static Do not build any static library
1347
1380
--disable-shared Do not build any shared library
1348
1381
--disable-pic Do not try to compile library files as position
1349
1382
independent code
1350
1383
--disable-openssl Do not include openssl glue in the benchmark program
1351
1384
--enable-gcov Instrument for gcov (requires a modern gcc)
1385
--disable-documentation Omit building and installing the documentation.
1352
1387
--disable-dependency-tracking
1353
1388
Disable dependency tracking. Dependency tracking
1354
1389
doesn't work with BSD make
1439
1474
test -n "$ac_init_help" && exit $ac_status
1440
1475
if $ac_init_version; then
1442
nettle configure 2.5
1443
generated by GNU Autoconf 2.67
1477
nettle configure 2.6
1478
generated by GNU Autoconf 2.69
1445
Copyright (C) 2010 Free Software Foundation, Inc.
1480
Copyright (C) 2012 Free Software Foundation, Inc.
1446
1481
This configure script is free software; the Free Software Foundation
1447
1482
gives unlimited permission to copy, distribute and modify it.
1575
1610
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1576
1611
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1577
1612
$as_echo_n "checking for $2... " >&6; }
1578
if eval "test \"\${$3+set}\"" = set; then :
1613
if eval \${$3+:} false; then :
1579
1614
$as_echo_n "(cached) " >&6
1671
1706
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1672
1707
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1673
1708
$as_echo_n "checking for $2... " >&6; }
1674
if eval "test \"\${$3+set}\"" = set; then :
1709
if eval \${$3+:} false; then :
1675
1710
$as_echo_n "(cached) " >&6
1677
1712
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1879
1919
ac_fn_c_check_header_mongrel ()
1881
1921
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1882
if eval "test \"\${$3+set}\"" = set; then :
1922
if eval \${$3+:} false; then :
1883
1923
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1884
1924
$as_echo_n "checking for $2... " >&6; }
1885
if eval "test \"\${$3+set}\"" = set; then :
1925
if eval \${$3+:} false; then :
1886
1926
$as_echo_n "(cached) " >&6
1888
1928
eval ac_res=\$$3
1950
1990
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1951
1991
$as_echo_n "checking for $2... " >&6; }
1952
if eval "test \"\${$3+set}\"" = set; then :
1992
if eval \${$3+:} false; then :
1953
1993
$as_echo_n "(cached) " >&6
1955
1995
eval "$3=\$ac_header_compiler"
2003
2043
# interfere with the next link command; also delete a directory that is
2004
2044
# left behind by Apple's compiler. We do this before executing the actions.
2005
2045
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2006
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2046
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2007
2047
as_fn_set_status $ac_retval
2009
2049
} # ac_fn_c_try_link
2016
2056
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2017
2057
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2018
2058
$as_echo_n "checking for $2... " >&6; }
2019
if eval "test \"\${$3+set}\"" = set; then :
2059
if eval \${$3+:} false; then :
2020
2060
$as_echo_n "(cached) " >&6
2022
2062
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2071
2111
eval ac_res=\$$3
2072
2112
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2073
2113
$as_echo "$ac_res" >&6; }
2074
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2114
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2076
2116
} # ac_fn_c_check_func
2077
2117
cat >config.log <<_ACEOF
2078
2118
This file contains any messages produced by compilers while
2079
2119
running configure, to aid debugging if configure makes a mistake.
2081
It was created by nettle $as_me 2.5, which was
2082
generated by GNU Autoconf 2.67. Invocation command line was
2121
It was created by nettle $as_me 2.6, which was
2122
generated by GNU Autoconf 2.69. Invocation command line was
2475
2515
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2476
2516
$as_echo_n "checking build system type... " >&6; }
2477
if test "${ac_cv_build+set}" = set; then :
2517
if ${ac_cv_build+:} false; then :
2478
2518
$as_echo_n "(cached) " >&6
2480
2520
ac_build_alias=$build_alias
2509
2549
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2510
2550
$as_echo_n "checking host system type... " >&6; }
2511
if test "${ac_cv_host+set}" = set; then :
2551
if ${ac_cv_host+:} false; then :
2512
2552
$as_echo_n "(cached) " >&6
2514
2554
if test "x$host_alias" = x; then
2626
# Check whether --enable-static was given.
2627
if test "${enable_static+set}" = set; then :
2628
enableval=$enable_static;
2586
2634
# Check whether --enable-shared was given.
2587
2635
if test "${enable_shared+set}" = set; then :
2588
2636
enableval=$enable_shared;
2666
# Check whether --enable-documentation was given.
2667
if test "${enable_documentation+set}" = set; then :
2668
enableval=$enable_documentation;
2670
enable_documentation=auto
2618
2674
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -R flag" >&5
2619
2675
$as_echo_n "checking for -R flag... " >&6; }
2696
2752
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2697
2753
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2698
2754
$as_echo_n "checking for $ac_word... " >&6; }
2699
if test "${ac_cv_prog_CC+set}" = set; then :
2755
if ${ac_cv_prog_CC+:} false; then :
2700
2756
$as_echo_n "(cached) " >&6
2702
2758
if test -n "$CC"; then
2708
2764
IFS=$as_save_IFS
2709
2765
test -z "$as_dir" && as_dir=.
2710
2766
for ac_exec_ext in '' $ac_executable_extensions; do
2711
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2767
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2712
2768
ac_cv_prog_CC="${ac_tool_prefix}gcc"
2713
2769
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2736
2792
set dummy gcc; ac_word=$2
2737
2793
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2738
2794
$as_echo_n "checking for $ac_word... " >&6; }
2739
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2795
if ${ac_cv_prog_ac_ct_CC+:} false; then :
2740
2796
$as_echo_n "(cached) " >&6
2742
2798
if test -n "$ac_ct_CC"; then
2748
2804
IFS=$as_save_IFS
2749
2805
test -z "$as_dir" && as_dir=.
2750
2806
for ac_exec_ext in '' $ac_executable_extensions; do
2751
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2807
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2752
2808
ac_cv_prog_ac_ct_CC="gcc"
2753
2809
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2789
2845
set dummy ${ac_tool_prefix}cc; ac_word=$2
2790
2846
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2791
2847
$as_echo_n "checking for $ac_word... " >&6; }
2792
if test "${ac_cv_prog_CC+set}" = set; then :
2848
if ${ac_cv_prog_CC+:} false; then :
2793
2849
$as_echo_n "(cached) " >&6
2795
2851
if test -n "$CC"; then
2801
2857
IFS=$as_save_IFS
2802
2858
test -z "$as_dir" && as_dir=.
2803
2859
for ac_exec_ext in '' $ac_executable_extensions; do
2804
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2860
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2805
2861
ac_cv_prog_CC="${ac_tool_prefix}cc"
2806
2862
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2888
2944
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2889
2945
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2890
2946
$as_echo_n "checking for $ac_word... " >&6; }
2891
if test "${ac_cv_prog_CC+set}" = set; then :
2947
if ${ac_cv_prog_CC+:} false; then :
2892
2948
$as_echo_n "(cached) " >&6
2894
2950
if test -n "$CC"; then
2900
2956
IFS=$as_save_IFS
2901
2957
test -z "$as_dir" && as_dir=.
2902
2958
for ac_exec_ext in '' $ac_executable_extensions; do
2903
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2959
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2904
2960
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2905
2961
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2932
2988
set dummy $ac_prog; ac_word=$2
2933
2989
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2934
2990
$as_echo_n "checking for $ac_word... " >&6; }
2935
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2991
if ${ac_cv_prog_ac_ct_CC+:} false; then :
2936
2992
$as_echo_n "(cached) " >&6
2938
2994
if test -n "$ac_ct_CC"; then
2944
3000
IFS=$as_save_IFS
2945
3001
test -z "$as_dir" && as_dir=.
2946
3002
for ac_exec_ext in '' $ac_executable_extensions; do
2947
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3003
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2948
3004
ac_cv_prog_ac_ct_CC="$ac_prog"
2949
3005
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2987
3043
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2988
3044
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2989
3045
as_fn_error $? "no acceptable C compiler found in \$PATH
2990
See \`config.log' for more details" "$LINENO" 5 ; }
3046
See \`config.log' for more details" "$LINENO" 5; }
2992
3048
# Provide some information about the compiler.
2993
3049
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3102
3158
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3103
3159
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3104
3160
as_fn_error 77 "C compiler cannot create executables
3105
See \`config.log' for more details" "$LINENO" 5 ; }
3161
See \`config.log' for more details" "$LINENO" 5; }
3107
3163
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3108
3164
$as_echo "yes" >&6; }
3145
3201
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3146
3202
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3147
3203
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3148
See \`config.log' for more details" "$LINENO" 5 ; }
3204
See \`config.log' for more details" "$LINENO" 5; }
3150
3206
rm -f conftest conftest$ac_cv_exeext
3151
3207
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3215
3271
ac_clean_files=$ac_clean_files_save
3216
3272
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3217
3273
$as_echo_n "checking for suffix of object files... " >&6; }
3218
if test "${ac_cv_objext+set}" = set; then :
3274
if ${ac_cv_objext+:} false; then :
3219
3275
$as_echo_n "(cached) " >&6
3221
3277
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3256
3312
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3257
3313
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3258
3314
as_fn_error $? "cannot compute suffix of object files: cannot compile
3259
See \`config.log' for more details" "$LINENO" 5 ; }
3315
See \`config.log' for more details" "$LINENO" 5; }
3261
3317
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3266
3322
ac_objext=$OBJEXT
3267
3323
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3268
3324
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3269
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3325
if ${ac_cv_c_compiler_gnu+:} false; then :
3270
3326
$as_echo_n "(cached) " >&6
3272
3328
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3303
3359
ac_save_CFLAGS=$CFLAGS
3304
3360
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3305
3361
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3306
if test "${ac_cv_prog_cc_g+set}" = set; then :
3362
if ${ac_cv_prog_cc_g+:} false; then :
3307
3363
$as_echo_n "(cached) " >&6
3309
3365
ac_save_c_werror_flag=$ac_c_werror_flag
3510
3565
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3511
3566
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3512
3567
$as_echo_n "checking for $ac_word... " >&6; }
3513
if test "${ac_cv_prog_CXX+set}" = set; then :
3568
if ${ac_cv_prog_CXX+:} false; then :
3514
3569
$as_echo_n "(cached) " >&6
3516
3571
if test -n "$CXX"; then
3522
3577
IFS=$as_save_IFS
3523
3578
test -z "$as_dir" && as_dir=.
3524
3579
for ac_exec_ext in '' $ac_executable_extensions; do
3525
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3580
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3526
3581
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3527
3582
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3554
3609
set dummy $ac_prog; ac_word=$2
3555
3610
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3556
3611
$as_echo_n "checking for $ac_word... " >&6; }
3557
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
3612
if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3558
3613
$as_echo_n "(cached) " >&6
3560
3615
if test -n "$ac_ct_CXX"; then
3566
3621
IFS=$as_save_IFS
3567
3622
test -z "$as_dir" && as_dir=.
3568
3623
for ac_exec_ext in '' $ac_executable_extensions; do
3569
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3624
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3570
3625
ac_cv_prog_ac_ct_CXX="$ac_prog"
3571
3626
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3633
3688
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3634
3689
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3635
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
3690
if ${ac_cv_cxx_compiler_gnu+:} false; then :
3636
3691
$as_echo_n "(cached) " >&6
3638
3693
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3669
3724
ac_save_CXXFLAGS=$CXXFLAGS
3670
3725
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3671
3726
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
3672
if test "${ac_cv_prog_cxx_g+set}" = set; then :
3727
if ${ac_cv_prog_cxx_g+:} false; then :
3673
3728
$as_echo_n "(cached) " >&6
3675
3730
ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3788
3843
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3789
3844
set x ${MAKE-make}
3790
3845
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3791
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
3846
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3792
3847
$as_echo_n "(cached) " >&6
3794
3849
cat >conftest.make <<\_ACEOF
3820
3875
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3821
3876
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3822
3877
$as_echo_n "checking for $ac_word... " >&6; }
3823
if test "${ac_cv_prog_RANLIB+set}" = set; then :
3878
if ${ac_cv_prog_RANLIB+:} false; then :
3824
3879
$as_echo_n "(cached) " >&6
3826
3881
if test -n "$RANLIB"; then
3832
3887
IFS=$as_save_IFS
3833
3888
test -z "$as_dir" && as_dir=.
3834
3889
for ac_exec_ext in '' $ac_executable_extensions; do
3835
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3890
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3836
3891
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3837
3892
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3860
3915
set dummy ranlib; ac_word=$2
3861
3916
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3862
3917
$as_echo_n "checking for $ac_word... " >&6; }
3863
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
3918
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
3864
3919
$as_echo_n "(cached) " >&6
3866
3921
if test -n "$ac_ct_RANLIB"; then
3872
3927
IFS=$as_save_IFS
3873
3928
test -z "$as_dir" && as_dir=.
3874
3929
for ac_exec_ext in '' $ac_executable_extensions; do
3875
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3930
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3876
3931
ac_cv_prog_ac_ct_RANLIB="ranlib"
3877
3932
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3912
3967
set dummy ${ac_tool_prefix}nm; ac_word=$2
3913
3968
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3914
3969
$as_echo_n "checking for $ac_word... " >&6; }
3915
if test "${ac_cv_prog_NM+set}" = set; then :
3970
if ${ac_cv_prog_NM+:} false; then :
3916
3971
$as_echo_n "(cached) " >&6
3918
3973
if test -n "$NM"; then
3924
3979
IFS=$as_save_IFS
3925
3980
test -z "$as_dir" && as_dir=.
3926
3981
for ac_exec_ext in '' $ac_executable_extensions; do
3927
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3982
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3928
3983
ac_cv_prog_NM="${ac_tool_prefix}nm"
3929
3984
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3952
4007
set dummy nm; ac_word=$2
3953
4008
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3954
4009
$as_echo_n "checking for $ac_word... " >&6; }
3955
if test "${ac_cv_prog_ac_ct_NM+set}" = set; then :
4010
if ${ac_cv_prog_ac_ct_NM+:} false; then :
3956
4011
$as_echo_n "(cached) " >&6
3958
4013
if test -n "$ac_ct_NM"; then
4005
4060
set dummy ${ac_tool_prefix}objdump; ac_word=$2
4006
4061
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4007
4062
$as_echo_n "checking for $ac_word... " >&6; }
4008
if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
4063
if ${ac_cv_prog_OBJDUMP+:} false; then :
4009
4064
$as_echo_n "(cached) " >&6
4011
4066
if test -n "$OBJDUMP"; then
4017
4072
IFS=$as_save_IFS
4018
4073
test -z "$as_dir" && as_dir=.
4019
4074
for ac_exec_ext in '' $ac_executable_extensions; do
4020
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4075
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4021
4076
ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4022
4077
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4045
4100
set dummy objdump; ac_word=$2
4046
4101
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4047
4102
$as_echo_n "checking for $ac_word... " >&6; }
4048
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
4103
if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
4049
4104
$as_echo_n "(cached) " >&6
4051
4106
if test -n "$ac_ct_OBJDUMP"; then
4057
4112
IFS=$as_save_IFS
4058
4113
test -z "$as_dir" && as_dir=.
4059
4114
for ac_exec_ext in '' $ac_executable_extensions; do
4060
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4115
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4061
4116
ac_cv_prog_ac_ct_OBJDUMP="objdump"
4062
4117
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4092
4147
OBJDUMP="$ac_cv_prog_OBJDUMP"
4150
if test -n "$ac_tool_prefix"; then
4151
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4152
set dummy ${ac_tool_prefix}ar; ac_word=$2
4153
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4154
$as_echo_n "checking for $ac_word... " >&6; }
4155
if ${ac_cv_prog_AR+:} false; then :
4156
$as_echo_n "(cached) " >&6
4158
if test -n "$AR"; then
4159
ac_cv_prog_AR="$AR" # Let the user override the test.
4161
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4165
test -z "$as_dir" && as_dir=.
4166
for ac_exec_ext in '' $ac_executable_extensions; do
4167
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4168
ac_cv_prog_AR="${ac_tool_prefix}ar"
4169
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4179
if test -n "$AR"; then
4180
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4181
$as_echo "$AR" >&6; }
4183
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4184
$as_echo "no" >&6; }
4189
if test -z "$ac_cv_prog_AR"; then
4191
# Extract the first word of "ar", so it can be a program name with args.
4192
set dummy ar; ac_word=$2
4193
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4194
$as_echo_n "checking for $ac_word... " >&6; }
4195
if ${ac_cv_prog_ac_ct_AR+:} false; then :
4196
$as_echo_n "(cached) " >&6
4198
if test -n "$ac_ct_AR"; then
4199
ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4201
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4205
test -z "$as_dir" && as_dir=.
4206
for ac_exec_ext in '' $ac_executable_extensions; do
4207
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4208
ac_cv_prog_ac_ct_AR="ar"
4209
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4218
ac_ct_AR=$ac_cv_prog_ac_ct_AR
4219
if test -n "$ac_ct_AR"; then
4220
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4221
$as_echo "$ac_ct_AR" >&6; }
4223
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4224
$as_echo "no" >&6; }
4227
if test "x$ac_ct_AR" = x; then
4230
case $cross_compiling:$ac_tool_warned in
4232
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4233
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4234
ac_tool_warned=yes ;;
4096
4243
if test "x$ac_cv_prog_cc_stdc" = xno ; then
4097
as_fn_error $? "the C compiler doesn't handle ANSI-C" "$LINENO" 5 #'
4244
as_fn_error $? "the C compiler doesn't handle ANSI-C" "$LINENO" 5 #'
4100
4247
# Find a good install program. We prefer a C program (faster),
4114
4261
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4115
4262
$as_echo_n "checking for a BSD-compatible install... " >&6; }
4116
4263
if test -z "$INSTALL"; then
4117
if test "${ac_cv_path_install+set}" = set; then :
4264
if ${ac_cv_path_install+:} false; then :
4118
4265
$as_echo_n "(cached) " >&6
4120
4267
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4135
4282
for ac_prog in ginstall scoinst install; do
4136
4283
for ac_exec_ext in '' $ac_executable_extensions; do
4137
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4284
if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4138
4285
if test $ac_prog = install &&
4139
4286
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4140
4287
# AIX install. It has an incompatible calling convention.
4196
4343
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
4197
4344
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
4198
4345
if test -z "$MKDIR_P"; then
4199
if test "${ac_cv_path_mkdir+set}" = set; then :
4346
if ${ac_cv_path_mkdir+:} false; then :
4200
4347
$as_echo_n "(cached) " >&6
4202
4349
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4206
4353
test -z "$as_dir" && as_dir=.
4207
4354
for ac_prog in mkdir gmkdir; do
4208
4355
for ac_exec_ext in '' $ac_executable_extensions; do
4209
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
4356
as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
4210
4357
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
4211
4358
'mkdir (GNU coreutils) '* | \
4212
4359
'mkdir (coreutils) '* | \
4446
4593
for tmp_f in aes-encrypt-internal.asm aes-decrypt-internal.asm \
4447
4594
arcfour-crypt.asm camellia-crypt-internal.asm \
4448
md5-compress.asm memxor.asm salsa20-crypt.asm \
4595
md5-compress.asm memxor.asm \
4596
salsa20-crypt.asm salsa20-core-internal.asm \
4449
4597
serpent-encrypt.asm serpent-decrypt.asm \
4450
4598
sha1-compress.asm machine.m4; do
4451
4599
# echo "Looking for $srcdir/$asm_path/$tmp_f"
4563
4711
LIBNETTLE_SONAME=''
4564
4712
LIBNETTLE_FILE='libnettle.dll.a'
4565
4713
LIBNETTLE_FILE_SRC='$(LIBNETTLE_FILE)'
4566
LIBNETTLE_LINK='$(CC) $(LDFLAGS) -shared -Wl,--out-implib=$(LIBNETTLE_FILE) -Wl,--export-all-symbols -Wl,--enable-auto-import -Wl,--whole-archive'
4714
LIBNETTLE_LINK='$(CC) $(CFLAGS) $(LDFLAGS) -shared -Wl,--out-implib=$(LIBNETTLE_FILE) -Wl,--export-all-symbols -Wl,--enable-auto-import -Wl,--whole-archive'
4567
4715
LIBNETTLE_LIBS='-Wl,--no-whole-archive $(LIBS)'
4569
4717
LIBHOGWEED_SONAME=''
4570
4718
LIBHOGWEED_FILE='libhogweed.dll.a'
4571
4719
LIBHOGWEED_FILE_SRC='$(LIBHOGWEED_FILE)'
4572
LIBHOGWEED_LINK='$(CC) $(LDFLAGS) -shared -Wl,--out-implib=$(LIBHOGWEED_FILE) -Wl,--export-all-symbols -Wl,--enable-auto-import -Wl,--whole-archive'
4720
LIBHOGWEED_LINK='$(CC) $(CFLAGS) $(LDFLAGS) -shared -Wl,--out-implib=$(LIBHOGWEED_FILE) -Wl,--export-all-symbols -Wl,--enable-auto-import -Wl,--whole-archive'
4573
4721
LIBHOGWEED_LIBS='-Wl,--no-whole-archive $(LIBS) libnettle.dll.a'
4577
4725
LIBNETTLE_FORLINK=libnettle.dylib
4578
4726
LIBNETTLE_SONAME='libnettle.$(LIBNETTLE_MAJOR).dylib'
4579
4727
LIBNETTLE_FILE='libnettle.$(LIBNETTLE_MAJOR).$(LIBNETTLE_MINOR).dylib'
4580
LIBNETTLE_LINK='$(CC) -dynamiclib $(LDFLAGS) -install_name ${libdir}/$(LIBNETTLE_SONAME) -compatibility_version $(LIBNETTLE_MAJOR) -current_version $(LIBNETTLE_MAJOR).$(LIBNETTLE_MINOR)'
4728
LIBNETTLE_LINK='$(CC) $(CFLAGS) -dynamiclib $(LDFLAGS) -install_name ${libdir}/$(LIBNETTLE_SONAME) -compatibility_version $(LIBNETTLE_MAJOR) -current_version $(LIBNETTLE_MAJOR).$(LIBNETTLE_MINOR)'
4581
4729
LIBNETTLE_LIBS=''
4583
4731
LIBHOGWEED_FORLINK=libhogweed.dylib
4584
4732
LIBHOGWEED_SONAME='libhogweed.$(LIBHOGWEED_MAJOR).dylib'
4585
4733
LIBHOGWEED_FILE='libhogweed.$(LIBHOGWEED_MAJOR).$(LIBHOGWEED_MINOR).dylib'
4586
LIBHOGWEED_LINK='$(CC) -dynamiclib -L. $(LDFLAGS) -install_name ${libdir}/$(LIBHOGWEED_SONAME) -compatibility_version $(LIBHOGWEED_MAJOR) -current_version $(LIBHOGWEED_MAJOR).$(LIBHOGWEED_MINOR)'
4734
LIBHOGWEED_LINK='$(CC) $(CFLAGS) -dynamiclib -L. $(LDFLAGS) -install_name ${libdir}/$(LIBHOGWEED_SONAME) -compatibility_version $(LIBHOGWEED_MAJOR) -current_version $(LIBHOGWEED_MAJOR).$(LIBHOGWEED_MINOR)'
4587
4735
LIBHOGWEED_LIBS='-lnettle -lgmp'
4593
4741
LIBNETTLE_FORLINK=libnettle.so
4594
4742
LIBNETTLE_SONAME='$(LIBNETTLE_FORLINK).$(LIBNETTLE_MAJOR)'
4595
4743
LIBNETTLE_FILE='$(LIBNETTLE_SONAME).$(LIBNETTLE_MINOR)'
4596
LIBNETTLE_LINK='$(CC) $(LDFLAGS) -G -h $(LIBNETTLE_SONAME)'
4744
LIBNETTLE_LINK='$(CC) $(CFLAGS) $(LDFLAGS) -G -h $(LIBNETTLE_SONAME)'
4597
4745
LIBNETTLE_LIBS=''
4599
4747
LIBHOGWEED_FORLINK=libhogweed.so
4600
4748
LIBHOGWEED_SONAME='$(LIBHOGWEED_FORLINK).$(LIBHOGWEED_MAJOR)'
4601
4749
LIBHOGWEED_FILE='$(LIBHOGWEED_SONAME).$(LIBHOGWEED_MINOR)'
4602
LIBHOGWEED_LINK='$(CC) $(LDFLAGS) -L. -G -h $(LIBHOGWEED_SONAME)'
4750
LIBHOGWEED_LINK='$(CC) $(CFLAGS) $(LDFLAGS) -L. -G -h $(LIBHOGWEED_SONAME)'
4603
4751
LIBHOGWEED_LIBS='-lnettle -lgmp'
4606
4754
LIBNETTLE_FORLINK=libnettle.so
4607
4755
LIBNETTLE_SONAME='$(LIBNETTLE_FORLINK).$(LIBNETTLE_MAJOR)'
4608
4756
LIBNETTLE_FILE='$(LIBNETTLE_SONAME).$(LIBNETTLE_MINOR)'
4609
LIBNETTLE_LINK='$(CC) $(LDFLAGS) -shared -Wl,-soname=$(LIBNETTLE_SONAME)'
4757
LIBNETTLE_LINK='$(CC) $(CFLAGS) $(LDFLAGS) -shared -Wl,-soname=$(LIBNETTLE_SONAME)'
4610
4758
LIBNETTLE_LIBS=''
4612
4760
LIBHOGWEED_FORLINK=libhogweed.so
4613
4761
LIBHOGWEED_SONAME='$(LIBHOGWEED_FORLINK).$(LIBHOGWEED_MAJOR)'
4614
4762
LIBHOGWEED_FILE='$(LIBHOGWEED_SONAME).$(LIBHOGWEED_MINOR)'
4615
LIBHOGWEED_LINK='$(CC) $(LDFLAGS) -L. -shared -Wl,-soname=$(LIBHOGWEED_SONAME)'
4763
LIBHOGWEED_LINK='$(CC) $(CFLAGS) $(LDFLAGS) -L. -shared -Wl,-soname=$(LIBHOGWEED_SONAME)'
4616
4764
# Requested by debian, to make linking with only -lhogweed work
4617
4765
# (does not work in general, e.g., with static linking all of
4618
4766
# -lhogweed -lgmp -lnettle are still required). Also makes dlopen
4638
4786
if test x$enable_assembler = xyes ; then
4639
4787
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if globals are prefixed by underscore" >&5
4640
4788
$as_echo_n "checking if globals are prefixed by underscore... " >&6; }
4641
if test "${nettle_cv_asm_underscore+set}" = set; then :
4789
if ${nettle_cv_asm_underscore+:} false; then :
4642
4790
$as_echo_n "(cached) " >&6
4644
4792
# Default is no underscore
4705
4853
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELF-style .type,%function pseudo-ops" >&5
4706
4854
$as_echo_n "checking for ELF-style .type,%function pseudo-ops... " >&6; }
4707
if test "${nettle_cv_asm_type_percent_function+set}" = set; then :
4855
if ${nettle_cv_asm_type_percent_function+:} false; then :
4708
4856
$as_echo_n "(cached) " >&6
4710
4858
cat >conftest.s <<EOF
4741
4889
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELF-style .type,#function pseudo-ops" >&5
4742
4890
$as_echo_n "checking for ELF-style .type,#function pseudo-ops... " >&6; }
4743
if test "${nettle_cv_asm_type_hash_function+set}" = set; then :
4891
if ${nettle_cv_asm_type_hash_function+:} false; then :
4744
4892
$as_echo_n "(cached) " >&6
4746
4894
cat >conftest.s <<EOF
4863
5011
IFS=$as_save_IFS
4864
5012
test -z "$as_dir" && as_dir=.
4865
5013
for ac_exec_ext in '' $ac_executable_extensions; do
4866
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5014
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4867
5015
ac_cv_path_M4="$as_dir/$ac_word$ac_exec_ext"
4868
5016
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4894
5042
# Checks for typedefs, structures, and compiler characteristics.
4895
5043
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
4896
5044
$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
4897
if test "${ac_cv_c_const+set}" = set; then :
5045
if ${ac_cv_c_const+:} false; then :
4898
5046
$as_echo_n "(cached) " >&6
4900
5048
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4906
/* FIXME: Include the comments suggested by Paul. */
4907
5055
#ifndef __cplusplus
4908
/* Ultrix mips cc rejects this. */
5056
/* Ultrix mips cc rejects this sort of thing. */
4909
5057
typedef int charset[2];
5058
const charset cs = { 0, 0 };
4911
5059
/* SunOS 4.1.1 cc rejects this. */
4912
5060
char const *const *pcpcc;
4944
{ /* AIX XL C 1.02.0.0 rejects this saying
5093
{ /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
4945
5094
"k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4946
struct s { int j; const int *ap[3]; };
4947
struct s *b; b->j = 5;
5095
struct s { int j; const int *ap[3]; } bx;
5096
struct s *b = &bx; b->j = 5;
4949
5098
{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4950
5099
const int foo = 10;
5168
5317
for ac_prog in grep ggrep; do
5169
5318
for ac_exec_ext in '' $ac_executable_extensions; do
5170
5319
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5171
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5320
as_fn_executable_p "$ac_path_GREP" || continue
5172
5321
# Check for GNU ac_path_GREP and select it if it is found.
5173
5322
# Check for GNU $ac_path_GREP
5174
5323
case `"$ac_path_GREP" --version 2>&1` in
5218
5367
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5219
5368
$as_echo_n "checking for egrep... " >&6; }
5220
if test "${ac_cv_path_EGREP+set}" = set; then :
5369
if ${ac_cv_path_EGREP+:} false; then :
5221
5370
$as_echo_n "(cached) " >&6
5223
5372
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5234
5383
for ac_prog in egrep; do
5235
5384
for ac_exec_ext in '' $ac_executable_extensions; do
5236
5385
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5237
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5386
as_fn_executable_p "$ac_path_EGREP" || continue
5238
5387
# Check for GNU ac_path_EGREP and select it if it is found.
5239
5388
# Check for GNU $ac_path_EGREP
5240
5389
case `"$ac_path_EGREP" --version 2>&1` in
5285
5434
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
5286
5435
$as_echo_n "checking for uid_t in sys/types.h... " >&6; }
5287
if test "${ac_cv_type_uid_t+set}" = set; then :
5436
if ${ac_cv_type_uid_t+:} false; then :
5288
5437
$as_echo_n "(cached) " >&6
5290
5439
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5315
5464
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5316
5465
$as_echo_n "checking for ANSI C header files... " >&6; }
5317
if test "${ac_cv_header_stdc+set}" = set; then :
5466
if ${ac_cv_header_stdc+:} false; then :
5318
5467
$as_echo_n "(cached) " >&6
5320
5469
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5455
5604
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
5456
5605
$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
5457
if test "${ac_cv_header_time+set}" = set; then :
5606
if ${ac_cv_header_time+:} false; then :
5458
5607
$as_echo_n "(cached) " >&6
5460
5609
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5493
5642
# This bug is HP SR number 8606223364.
5494
5643
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
5495
5644
$as_echo_n "checking size of long... " >&6; }
5496
if test "${ac_cv_sizeof_long+set}" = set; then :
5645
if ${ac_cv_sizeof_long+:} false; then :
5497
5646
$as_echo_n "(cached) " >&6
5499
5648
if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
5524
5673
# see AC_CHECK_SIZEOF for more information.
5525
5674
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking alignment of uint64_t" >&5
5526
5675
$as_echo_n "checking alignment of uint64_t... " >&6; }
5527
if test "${ac_cv_alignof_uint64_t+set}" = set; then :
5676
if ${ac_cv_alignof_uint64_t+:} false; then :
5528
5677
$as_echo_n "(cached) " >&6
5530
5679
if ac_fn_c_compute_int "$LINENO" "(long int) offsetof (ac__type_alignof_, y)" "ac_cv_alignof_uint64_t" "$ac_includes_default
5580
5729
# for constant arguments. Useless!
5581
5730
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
5582
5731
$as_echo_n "checking for working alloca.h... " >&6; }
5583
if test "${ac_cv_working_alloca_h+set}" = set; then :
5732
if ${ac_cv_working_alloca_h+:} false; then :
5584
5733
$as_echo_n "(cached) " >&6
5586
5735
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5614
5763
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
5615
5764
$as_echo_n "checking for alloca... " >&6; }
5616
if test "${ac_cv_func_alloca_works+set}" = set; then :
5765
if ${ac_cv_func_alloca_works+:} false; then :
5617
5766
$as_echo_n "(cached) " >&6
5619
5768
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5677
5826
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
5678
5827
$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
5679
if test "${ac_cv_os_cray+set}" = set; then :
5828
if ${ac_cv_os_cray+:} false; then :
5680
5829
$as_echo_n "(cached) " >&6
5682
5831
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5718
5867
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
5719
5868
$as_echo_n "checking stack direction for C alloca... " >&6; }
5720
if test "${ac_cv_c_stack_direction+set}" = set; then :
5869
if ${ac_cv_c_stack_direction+:} false; then :
5721
5870
$as_echo_n "(cached) " >&6
5723
5872
if test "$cross_compiling" = yes; then :
5727
5876
/* end confdefs.h. */
5728
5877
$ac_includes_default
5730
find_stack_direction ()
5879
find_stack_direction (int *addr, int depth)
5732
static char *addr = 0;
5737
return find_stack_direction ();
5740
return (&dummy > addr) ? 1 : -1;
5884
*addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
5885
dir = depth ? find_stack_direction (addr, depth - 1) : 0;
5890
main (int argc, char **argv)
5746
return find_stack_direction () < 0;
5892
return find_stack_direction (0, argc + !argv + 20) < 0;
5749
5895
if ac_fn_c_try_run "$LINENO"; then :
5794
5940
# Needed by the supplied memcmp.c
5795
5941
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
5796
5942
$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
5797
if test "${ac_cv_c_bigendian+set}" = set; then :
5943
if ${ac_cv_c_bigendian+:} false; then :
5798
5944
$as_echo_n "(cached) " >&6
5800
5946
ac_cv_c_bigendian=unknown
6015
6161
as_fn_error $? "unknown endianness
6016
presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
6162
presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
6019
6165
ac_fn_c_check_func "$LINENO" "memxor" "ac_cv_func_memxor"
6020
if test "x$ac_cv_func_memxor" = x""yes; then :
6166
if test "x$ac_cv_func_memxor" = xyes; then :
6021
6167
$as_echo "#define HAVE_MEMXOR 1" >>confdefs.h
6034
6180
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__" >&5
6035
6181
$as_echo_n "checking for __attribute__... " >&6; }
6036
if test "${lsh_cv_c_attribute+set}" = set; then :
6182
if ${lsh_cv_c_attribute+:} false; then :
6037
6183
$as_echo_n "(cached) " >&6
6039
6185
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6083
6229
ac_stdint_h=`echo nettle-stdint.h`
6084
6230
# try to shortcircuit - if the default include path of the compiler
6085
6231
# can find a "stdint.h" header then we assume that all compilers can.
6086
if test "${ac_cv_header_stdint_t+set}" = set; then :
6232
if ${ac_cv_header_stdint_t+:} false; then :
6087
6233
$as_echo_n "(cached) " >&6
6138
6284
ac_cv_stdint_result="(no helpful system typedefs seen)"
6139
6285
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uintptr_t" >&5
6140
6286
$as_echo_n "checking for stdint uintptr_t... " >&6; }
6141
if test "${ac_cv_header_stdint_x+set}" = set; then :
6287
if ${ac_cv_header_stdint_x+:} false; then :
6142
6288
$as_echo_n "(cached) " >&6
6177
6323
if test "_$ac_cv_header_stdint_x" = "_" ; then
6178
6324
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uint32_t" >&5
6179
6325
$as_echo_n "checking for stdint uint32_t... " >&6; }
6180
if test "${ac_cv_header_stdint_o+set}" = set; then :
6326
if ${ac_cv_header_stdint_o+:} false; then :
6181
6327
$as_echo_n "(cached) " >&6
6218
6364
if test "_$ac_cv_header_stdint_o" = "_" ; then
6219
6365
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint u_int32_t" >&5
6220
6366
$as_echo_n "checking for stdint u_int32_t... " >&6; }
6221
if test "${ac_cv_header_stdint_u+set}" = set; then :
6367
if ${ac_cv_header_stdint_u+:} false; then :
6222
6368
$as_echo_n "(cached) " >&6
6266
6412
# This bug is HP SR number 8606223364.
6267
6413
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
6268
6414
$as_echo_n "checking size of char... " >&6; }
6269
if test "${ac_cv_sizeof_char+set}" = set; then :
6415
if ${ac_cv_sizeof_char+:} false; then :
6270
6416
$as_echo_n "(cached) " >&6
6272
6418
if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
6299
6445
# This bug is HP SR number 8606223364.
6300
6446
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
6301
6447
$as_echo_n "checking size of short... " >&6; }
6302
if test "${ac_cv_sizeof_short+set}" = set; then :
6448
if ${ac_cv_sizeof_short+:} false; then :
6303
6449
$as_echo_n "(cached) " >&6
6305
6451
if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
6332
6478
# This bug is HP SR number 8606223364.
6333
6479
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
6334
6480
$as_echo_n "checking size of int... " >&6; }
6335
if test "${ac_cv_sizeof_int+set}" = set; then :
6481
if ${ac_cv_sizeof_int+:} false; then :
6336
6482
$as_echo_n "(cached) " >&6
6338
6484
if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
6365
6511
# This bug is HP SR number 8606223364.
6366
6512
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
6367
6513
$as_echo_n "checking size of long... " >&6; }
6368
if test "${ac_cv_sizeof_long+set}" = set; then :
6514
if ${ac_cv_sizeof_long+:} false; then :
6369
6515
$as_echo_n "(cached) " >&6
6371
6517
if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
6398
6544
# This bug is HP SR number 8606223364.
6399
6545
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void*" >&5
6400
6546
$as_echo_n "checking size of void*... " >&6; }
6401
if test "${ac_cv_sizeof_voidp+set}" = set; then :
6547
if ${ac_cv_sizeof_voidp+:} false; then :
6402
6548
$as_echo_n "(cached) " >&6
6404
6550
if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void*))" "ac_cv_sizeof_voidp" "$ac_includes_default"; then :
6469
6615
unset ac_cv_type_int_fast32_t
6470
6616
ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <$ac_cv_header_stdint>
6472
if test "x$ac_cv_type_int_least32_t" = x""yes; then :
6618
if test "x$ac_cv_type_int_least32_t" = xyes; then :
6476
6622
ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include<$ac_cv_header_stdint>
6478
if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
6624
if test "x$ac_cv_type_int_fast32_t" = xyes; then :
6482
6628
ac_fn_c_check_type "$LINENO" "intmax_t" "ac_cv_type_intmax_t" "#include <$ac_cv_header_stdint>
6484
if test "x$ac_cv_type_intmax_t" = x""yes; then :
6630
if test "x$ac_cv_type_intmax_t" = xyes; then :
6506
6652
# sys/types.h and unistd.h.
6507
6653
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fcntl file locking" >&5
6508
6654
$as_echo_n "checking for fcntl file locking... " >&6; }
6509
if test "${nettle_cv_fcntl_locking+set}" = set; then :
6655
if ${nettle_cv_fcntl_locking+:} false; then :
6510
6656
$as_echo_n "(cached) " >&6
6512
6658
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6550
6696
# Checks for libraries
6551
6697
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for __gmpz_getlimbn in -lgmp" >&5
6552
6698
$as_echo_n "checking for __gmpz_getlimbn in -lgmp... " >&6; }
6553
if test "${ac_cv_lib_gmp___gmpz_getlimbn+set}" = set; then :
6699
if ${ac_cv_lib_gmp___gmpz_getlimbn+:} false; then :
6554
6700
$as_echo_n "(cached) " >&6
6556
6702
ac_check_lib_save_LIBS=$LIBS
6829
if test "x$enable_static" = xyes ; then
6683
6835
if test "x$enable_shared" = xyes ; then
6841
# Documentation tools
6842
if test "x$enable_documentation" != "xno"; then
6843
# Extract the first word of "makeinfo", so it can be a program name with args.
6844
set dummy makeinfo; ac_word=$2
6845
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6846
$as_echo_n "checking for $ac_word... " >&6; }
6847
if ${ac_cv_path_MAKEINFO+:} false; then :
6848
$as_echo_n "(cached) " >&6
6852
ac_cv_path_MAKEINFO="$MAKEINFO" # Let the user override the test with a path.
6855
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6859
test -z "$as_dir" && as_dir=.
6860
for ac_exec_ext in '' $ac_executable_extensions; do
6861
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6862
ac_cv_path_MAKEINFO="$as_dir/$ac_word$ac_exec_ext"
6863
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6870
test -z "$ac_cv_path_MAKEINFO" && ac_cv_path_MAKEINFO="not-found"
6874
MAKEINFO=$ac_cv_path_MAKEINFO
6875
if test -n "$MAKEINFO"; then
6876
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
6877
$as_echo "$MAKEINFO" >&6; }
6879
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6880
$as_echo "no" >&6; }
6885
if test "x$MAKEINFO" != "xnot-found"; then
6886
enable_documentation=yes
6889
if test "x$enable_documentation" == "xauto" ; then
6890
enable_documentation=no
6892
as_fn_error $? "Cannot find 'makeinfo', required for documentation." "$LINENO" 5
6897
if test "x$enable_documentation" = "xyes" ; then
6900
IF_DOCUMENTATION='#'
6696
6912
if test x$enable_openssl = xyes ; then
6697
6913
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BF_ecb_encrypt in -lcrypto" >&5
6698
6914
$as_echo_n "checking for BF_ecb_encrypt in -lcrypto... " >&6; }
6699
if test "${ac_cv_lib_crypto_BF_ecb_encrypt+set}" = set; then :
6915
if ${ac_cv_lib_crypto_BF_ecb_encrypt+:} false; then :
6700
6916
$as_echo_n "(cached) " >&6
6702
6918
ac_check_lib_save_LIBS=$LIBS
6756
6972
old_LIBS="$LIBS"
6757
6973
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
6758
6974
$as_echo_n "checking for library containing clock_gettime... " >&6; }
6759
if test "${ac_cv_search_clock_gettime+set}" = set; then :
6975
if ${ac_cv_search_clock_gettime+:} false; then :
6760
6976
$as_echo_n "(cached) " >&6
6762
6978
ac_func_search_save_LIBS=$LIBS
6791
7007
rm -f core conftest.err conftest.$ac_objext \
6792
7008
conftest$ac_exeext
6793
if test "${ac_cv_search_clock_gettime+set}" = set; then :
7009
if ${ac_cv_search_clock_gettime+:} false; then :
6797
if test "${ac_cv_search_clock_gettime+set}" = set; then :
7013
if ${ac_cv_search_clock_gettime+:} false; then :
6800
7016
ac_cv_search_clock_gettime=no
6912
7128
:end' >>confcache
6913
7129
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
6914
7130
if test -w "$cache_file"; then
6915
test "x$cache_file" != "x/dev/null" &&
7131
if test "x$cache_file" != "x/dev/null"; then
6916
7132
{ $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
6917
7133
$as_echo "$as_me: updating cache $cache_file" >&6;}
6918
cat confcache >$cache_file
7134
if test ! -f "$cache_file" || test -h "$cache_file"; then
7135
cat confcache >"$cache_file"
7137
case $cache_file in #(
7139
mv -f confcache "$cache_file"$$ &&
7140
mv -f "$cache_file"$$ "$cache_file" ;; #(
7142
mv -f confcache "$cache_file" ;;
6920
7147
{ $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
6921
7148
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
7244
7472
# ... but there are two gotchas:
7245
7473
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7246
7474
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7247
# In both cases, we have to default to `cp -p'.
7475
# In both cases, we have to default to `cp -pR'.
7248
7476
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
7250
7478
elif ln conf$$.file conf$$ 2>/dev/null; then
7258
7486
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
7259
7487
rmdir conf$$.dir 2>/dev/null
7313
7541
as_mkdir_p=false
7316
if test -x / >/dev/null 2>&1; then
7319
if ls -dL / >/dev/null 2>&1; then
7326
if test -d "$1"; then
7332
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
7333
???[sx]*):;;*)false;;esac;fi
7337
as_executable_p=$as_test_x
7545
# as_fn_executable_p FILE
7546
# -----------------------
7547
# Test if FILE is an executable regular file.
7548
as_fn_executable_p ()
7550
test -f "$1" && test -x "$1"
7551
} # as_fn_executable_p
7553
as_executable_p=as_fn_executable_p
7339
7555
# Sed expression to map a string onto a valid CPP name.
7340
7556
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7355
7571
# report actual input values of CONFIG_FILES etc. instead of their
7356
7572
# values after options handling.
7358
This file was extended by nettle $as_me 2.5, which was
7359
generated by GNU Autoconf 2.67. Invocation command line was
7574
This file was extended by nettle $as_me 2.6, which was
7575
generated by GNU Autoconf 2.69. Invocation command line was
7361
7577
CONFIG_FILES = $CONFIG_FILES
7362
7578
CONFIG_HEADERS = $CONFIG_HEADERS
7425
7641
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7426
7642
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
7427
7643
ac_cs_version="\\
7428
nettle config.status 2.5
7429
configured by $0, generated by GNU Autoconf 2.67,
7644
nettle config.status 2.6
7645
configured by $0, generated by GNU Autoconf 2.69,
7430
7646
with options \\"\$ac_cs_config\\"
7432
Copyright (C) 2010 Free Software Foundation, Inc.
7648
Copyright (C) 2012 Free Software Foundation, Inc.
7433
7649
This config.status script is free software; the Free Software Foundation
7434
7650
gives unlimited permission to copy, distribute and modify it."
7619
7836
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7620
test -n "$tmp" && test -d "$tmp"
7623
7840
tmp=./conf$$-$RANDOM
7624
7841
(umask 077 && mkdir "$tmp")
7625
7842
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
7627
7845
# Set up the scripts for CONFIG_FILES section.
7628
7846
# No need to generate them if there are no CONFIG_FILES.
7798
8016
# handling of long lines.
7799
8017
ac_delim='%!_!# '
7800
8018
for ac_last_try in false false :; do
7801
ac_t=`sed -n "/$ac_delim/p" confdefs.h`
7802
if test -z "$ac_t"; then
8019
ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
8020
if test -z "$ac_tt"; then
7804
8022
elif $ac_last_try; then
7805
8023
as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
8091
8309
s&@MKDIR_P@&$ac_MKDIR_P&;t t
8092
8310
$ac_datarootdir_hack
8094
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
8095
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
8312
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
8313
>$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8097
8315
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
8098
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
8099
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
8316
{ ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
8317
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
8318
"$ac_tmp/out"`; test -z "$ac_out"; } &&
8100
8319
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8101
8320
which seems to be undefined. Please make sure it is defined" >&5
8102
8321
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8103
8322
which seems to be undefined. Please make sure it is defined" >&2;}
8324
rm -f "$ac_tmp/stdin"
8106
8325
case $ac_file in
8107
-) cat "$tmp/out" && rm -f "$tmp/out";;
8108
*) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
8326
-) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
8327
*) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
8110
8329
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
8116
8335
if test x"$ac_file" != x-; then
8118
8337
$as_echo "/* $configure_input */" \
8119
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
8120
} >"$tmp/config.h" \
8338
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
8339
} >"$ac_tmp/config.h" \
8121
8340
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
8122
if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
8341
if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
8123
8342
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
8124
8343
$as_echo "$as_me: $ac_file is unchanged" >&6;}
8126
8345
rm -f "$ac_file"
8127
mv "$tmp/config.h" "$ac_file" \
8346
mv "$ac_tmp/config.h" "$ac_file" \
8128
8347
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
8131
8350
$as_echo "/* $configure_input */" \
8132
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
8351
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
8133
8352
|| as_fn_error $? "could not create -" "$LINENO" 5
8174
8393
case $ac_file$ac_mode in
8175
"dummy-dep-files":C) (cd "$srcdir" && find . -name '*.c' -print) \
8176
| sed 's/\.c$//' | (while read f; do echo > "$f.o.d"; echo > "$f.po.d"; done)
8394
"dummy-dep-files":C) (cd "$srcdir" && find . '(' -name '*.c' -o -name '*.cxx' ')' -print) \
8395
| sed 's/\.c\(xx\)\{0,1\}$//' | (while read f; do echo > "$f.o.d"; echo > "$f.po.d"; done)
8178
8397
"$ac_stdint_h":C)
8179
8398
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_stdint_h : $_ac_stdint_h" >&5
8606
8825
Install prefix: ${prefix}
8607
8826
Library directory: ${libdir}
8608
8827
Compiler: ${CC}
8828
Static libraries: ${enable_static}
8609
8829
Shared libraries: ${enable_shared}
8610
8830
Public key crypto: ${enable_public_key}
8831
Documentation: ${enable_documentation}
8612
8833
$as_echo "$as_me: summary of build options: