1 | #! /bin/sh |
1 | #! /bin/sh |
2 | # Guess values for system-dependent variables and create Makefiles. |
2 | # Guess values for system-dependent variables and create Makefiles. |
3 | # Generated by GNU Autoconf 2.67. |
3 | # Generated by GNU Autoconf 2.69. |
4 | # |
4 | # |
5 | # |
5 | # |
6 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
6 | # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. |
7 | # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software |
|
|
8 | # Foundation, Inc. |
|
|
9 | # |
7 | # |
10 | # |
8 | # |
11 | # This configure script is free software; the Free Software Foundation |
9 | # This configure script is free software; the Free Software Foundation |
12 | # gives unlimited permission to copy, distribute and modify it. |
10 | # gives unlimited permission to copy, distribute and modify it. |
13 | ## -------------------- ## |
11 | ## -------------------- ## |
… | |
… | |
87 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
85 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
88 | # splitting by setting IFS to empty value.) |
86 | # splitting by setting IFS to empty value.) |
89 | IFS=" "" $as_nl" |
87 | IFS=" "" $as_nl" |
90 | |
88 | |
91 | # Find who we are. Look in the path if we contain no directory separator. |
89 | # Find who we are. Look in the path if we contain no directory separator. |
|
|
90 | as_myself= |
92 | case $0 in #(( |
91 | case $0 in #(( |
93 | *[\\/]* ) as_myself=$0 ;; |
92 | *[\\/]* ) as_myself=$0 ;; |
94 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
93 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
95 | for as_dir in $PATH |
94 | for as_dir in $PATH |
96 | do |
95 | do |
… | |
… | |
131 | export LANGUAGE |
130 | export LANGUAGE |
132 | |
131 | |
133 | # CDPATH. |
132 | # CDPATH. |
134 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
133 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
135 | |
134 | |
|
|
135 | # Use a proper internal environment variable to ensure we don't fall |
|
|
136 | # into an infinite loop, continuously re-executing ourselves. |
|
|
137 | if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then |
|
|
138 | _as_can_reexec=no; export _as_can_reexec; |
|
|
139 | # We cannot yet assume a decent shell, so we have to provide a |
|
|
140 | # neutralization value for shells without unset; and this also |
|
|
141 | # works around shells that cannot unset nonexistent variables. |
|
|
142 | # Preserve -v and -x to the replacement shell. |
|
|
143 | BASH_ENV=/dev/null |
|
|
144 | ENV=/dev/null |
|
|
145 | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
|
|
146 | case $- in # (((( |
|
|
147 | *v*x* | *x*v* ) as_opts=-vx ;; |
|
|
148 | *v* ) as_opts=-v ;; |
|
|
149 | *x* ) as_opts=-x ;; |
|
|
150 | * ) as_opts= ;; |
|
|
151 | esac |
|
|
152 | exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} |
|
|
153 | # Admittedly, this is quite paranoid, since all the known shells bail |
|
|
154 | # out after a failed `exec'. |
|
|
155 | $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 |
|
|
156 | as_fn_exit 255 |
|
|
157 | fi |
|
|
158 | # We don't want this to propagate to other subprocesses. |
|
|
159 | { _as_can_reexec=; unset _as_can_reexec;} |
136 | if test "x$CONFIG_SHELL" = x; then |
160 | if test "x$CONFIG_SHELL" = x; then |
137 | as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : |
161 | as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : |
138 | emulate sh |
162 | emulate sh |
139 | NULLCMD=: |
163 | NULLCMD=: |
140 | # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which |
164 | # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which |
… | |
… | |
164 | if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : |
188 | if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : |
165 | |
189 | |
166 | else |
190 | else |
167 | exitcode=1; echo positional parameters were not saved. |
191 | exitcode=1; echo positional parameters were not saved. |
168 | fi |
192 | fi |
169 | test x\$exitcode = x0 || exit 1" |
193 | test x\$exitcode = x0 || exit 1 |
|
|
194 | test -x / || exit 1" |
170 | as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO |
195 | as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO |
171 | as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO |
196 | as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO |
172 | eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && |
197 | eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && |
173 | test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 |
198 | test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 |
174 | test \$(( 1 + 1 )) = 2 || exit 1" |
199 | test \$(( 1 + 1 )) = 2 || exit 1" |
… | |
… | |
209 | fi; } |
234 | fi; } |
210 | IFS=$as_save_IFS |
235 | IFS=$as_save_IFS |
211 | |
236 | |
212 | |
237 | |
213 | if test "x$CONFIG_SHELL" != x; then : |
238 | if test "x$CONFIG_SHELL" != x; then : |
|
|
239 | export CONFIG_SHELL |
214 | # We cannot yet assume a decent shell, so we have to provide a |
240 | # We cannot yet assume a decent shell, so we have to provide a |
215 | # neutralization value for shells without unset; and this also |
241 | # neutralization value for shells without unset; and this also |
216 | # works around shells that cannot unset nonexistent variables. |
242 | # works around shells that cannot unset nonexistent variables. |
|
|
243 | # Preserve -v and -x to the replacement shell. |
217 | BASH_ENV=/dev/null |
244 | BASH_ENV=/dev/null |
218 | ENV=/dev/null |
245 | ENV=/dev/null |
219 | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
246 | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
220 | export CONFIG_SHELL |
247 | case $- in # (((( |
|
|
248 | *v*x* | *x*v* ) as_opts=-vx ;; |
|
|
249 | *v* ) as_opts=-v ;; |
|
|
250 | *x* ) as_opts=-x ;; |
|
|
251 | * ) as_opts= ;; |
|
|
252 | esac |
221 | exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} |
253 | exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} |
|
|
254 | # Admittedly, this is quite paranoid, since all the known shells bail |
|
|
255 | # out after a failed `exec'. |
|
|
256 | $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 |
|
|
257 | exit 255 |
222 | fi |
258 | fi |
223 | |
259 | |
224 | if test x$as_have_required = xno; then : |
260 | if test x$as_have_required = xno; then : |
225 | $as_echo "$0: This script requires a shell more modern than all" |
261 | $as_echo "$0: This script requires a shell more modern than all" |
226 | $as_echo "$0: the shells that I found on your system." |
262 | $as_echo "$0: the shells that I found on your system." |
… | |
… | |
318 | test -z "$as_dirs" || eval "mkdir $as_dirs" |
354 | test -z "$as_dirs" || eval "mkdir $as_dirs" |
319 | } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
355 | } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
320 | |
356 | |
321 | |
357 | |
322 | } # as_fn_mkdir_p |
358 | } # as_fn_mkdir_p |
|
|
359 | |
|
|
360 | # as_fn_executable_p FILE |
|
|
361 | # ----------------------- |
|
|
362 | # Test if FILE is an executable regular file. |
|
|
363 | as_fn_executable_p () |
|
|
364 | { |
|
|
365 | test -f "$1" && test -x "$1" |
|
|
366 | } # as_fn_executable_p |
323 | # as_fn_append VAR VALUE |
367 | # as_fn_append VAR VALUE |
324 | # ---------------------- |
368 | # ---------------------- |
325 | # Append the text in VALUE to the end of the definition contained in VAR. Take |
369 | # Append the text in VALUE to the end of the definition contained in VAR. Take |
326 | # advantage of any shell optimizations that allow amortized linear growth over |
370 | # advantage of any shell optimizations that allow amortized linear growth over |
327 | # repeated appends, instead of the typical quadratic growth present in naive |
371 | # repeated appends, instead of the typical quadratic growth present in naive |
… | |
… | |
439 | s/-\n.*// |
483 | s/-\n.*// |
440 | ' >$as_me.lineno && |
484 | ' >$as_me.lineno && |
441 | chmod +x "$as_me.lineno" || |
485 | chmod +x "$as_me.lineno" || |
442 | { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } |
486 | { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } |
443 | |
487 | |
|
|
488 | # If we had to re-execute with $CONFIG_SHELL, we're ensured to have |
|
|
489 | # already done that, so ensure we don't try to do so again and fall |
|
|
490 | # in an infinite loop. This has already happened in practice. |
|
|
491 | _as_can_reexec=no; export _as_can_reexec |
444 | # Don't try to exec as it changes $[0], causing all sort of problems |
492 | # Don't try to exec as it changes $[0], causing all sort of problems |
445 | # (the dirname of $[0] is not the place where we might find the |
493 | # (the dirname of $[0] is not the place where we might find the |
446 | # original and so on. Autoconf is especially sensitive to this). |
494 | # original and so on. Autoconf is especially sensitive to this). |
447 | . "./$as_me.lineno" |
495 | . "./$as_me.lineno" |
448 | # Exit status is that of the last command. |
496 | # Exit status is that of the last command. |
… | |
… | |
473 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
521 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
474 | as_ln_s='ln -s' |
522 | as_ln_s='ln -s' |
475 | # ... but there are two gotchas: |
523 | # ... but there are two gotchas: |
476 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
524 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
477 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
525 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
478 | # In both cases, we have to default to `cp -p'. |
526 | # In both cases, we have to default to `cp -pR'. |
479 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
527 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
480 | as_ln_s='cp -p' |
528 | as_ln_s='cp -pR' |
481 | elif ln conf$$.file conf$$ 2>/dev/null; then |
529 | elif ln conf$$.file conf$$ 2>/dev/null; then |
482 | as_ln_s=ln |
530 | as_ln_s=ln |
483 | else |
531 | else |
484 | as_ln_s='cp -p' |
532 | as_ln_s='cp -pR' |
485 | fi |
533 | fi |
486 | else |
534 | else |
487 | as_ln_s='cp -p' |
535 | as_ln_s='cp -pR' |
488 | fi |
536 | fi |
489 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
537 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
490 | rmdir conf$$.dir 2>/dev/null |
538 | rmdir conf$$.dir 2>/dev/null |
491 | |
539 | |
492 | if mkdir -p . 2>/dev/null; then |
540 | if mkdir -p . 2>/dev/null; then |
… | |
… | |
494 | else |
542 | else |
495 | test -d ./-p && rmdir ./-p |
543 | test -d ./-p && rmdir ./-p |
496 | as_mkdir_p=false |
544 | as_mkdir_p=false |
497 | fi |
545 | fi |
498 | |
546 | |
499 | if test -x / >/dev/null 2>&1; then |
|
|
500 | as_test_x='test -x' |
547 | as_test_x='test -x' |
501 | else |
548 | as_executable_p=as_fn_executable_p |
502 | if ls -dL / >/dev/null 2>&1; then |
|
|
503 | as_ls_L_option=L |
|
|
504 | else |
|
|
505 | as_ls_L_option= |
|
|
506 | fi |
|
|
507 | as_test_x=' |
|
|
508 | eval sh -c '\'' |
|
|
509 | if test -d "$1"; then |
|
|
510 | test -d "$1/."; |
|
|
511 | else |
|
|
512 | case $1 in #( |
|
|
513 | -*)set "./$1";; |
|
|
514 | esac; |
|
|
515 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( |
|
|
516 | ???[sx]*):;;*)false;;esac;fi |
|
|
517 | '\'' sh |
|
|
518 | ' |
|
|
519 | fi |
|
|
520 | as_executable_p=$as_test_x |
|
|
521 | |
549 | |
522 | # Sed expression to map a string onto a valid CPP name. |
550 | # Sed expression to map a string onto a valid CPP name. |
523 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
551 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
524 | |
552 | |
525 | # Sed expression to map a string onto a valid variable name. |
553 | # Sed expression to map a string onto a valid variable name. |
… | |
… | |
595 | LIBOBJS |
623 | LIBOBJS |
596 | INCLUDES |
624 | INCLUDES |
597 | ROHC_FALSE |
625 | ROHC_FALSE |
598 | ROHC_TRUE |
626 | ROHC_TRUE |
599 | LDFLAGS_DAEMON |
627 | LDFLAGS_DAEMON |
|
|
628 | LIBCRYPTO_LIBS |
|
|
629 | LIBCRYPTO_CFLAGS |
|
|
630 | PKG_CONFIG_LIBDIR |
|
|
631 | PKG_CONFIG_PATH |
|
|
632 | PKG_CONFIG |
600 | HAVE_TUNTAP |
633 | HAVE_TUNTAP |
601 | LINUX_IF_TUN_H |
634 | LINUX_IF_TUN_H |
602 | ALLOCA |
635 | ALLOCA |
603 | CXXCPP |
636 | CXXCPP |
604 | IFSUBTYPE |
637 | IFSUBTYPE |
… | |
… | |
692 | htmldir |
725 | htmldir |
693 | infodir |
726 | infodir |
694 | docdir |
727 | docdir |
695 | oldincludedir |
728 | oldincludedir |
696 | includedir |
729 | includedir |
|
|
730 | runstatedir |
697 | localstatedir |
731 | localstatedir |
698 | sharedstatedir |
732 | sharedstatedir |
699 | sysconfdir |
733 | sysconfdir |
700 | datadir |
734 | datadir |
701 | datarootdir |
735 | datarootdir |
… | |
… | |
723 | with_libiconv_prefix |
757 | with_libiconv_prefix |
724 | enable_nls |
758 | enable_nls |
725 | with_libintl_prefix |
759 | with_libintl_prefix |
726 | enable_iftype |
760 | enable_iftype |
727 | with_kernel |
761 | with_kernel |
728 | with_openssl_include |
762 | enable_threads |
729 | with_openssl_lib |
|
|
730 | enable_static_daemon |
763 | enable_static_daemon |
731 | enable_icmp |
764 | enable_icmp |
732 | enable_tcp |
765 | enable_tcp |
733 | enable_http_proxy |
766 | enable_http_proxy |
734 | enable_dns |
767 | enable_dns |
|
|
768 | enable_rsa_length |
735 | enable_hmac_length |
769 | enable_hmac_length |
736 | enable_rand_length |
|
|
737 | enable_max_mtu |
770 | enable_max_mtu |
738 | enable_compression |
771 | enable_compression |
739 | enable_cipher |
772 | enable_cipher |
740 | enable_digest |
773 | enable_hmac_digest |
|
|
774 | enable_auth_digest |
741 | ' |
775 | ' |
742 | ac_precious_vars='build_alias |
776 | ac_precious_vars='build_alias |
743 | host_alias |
777 | host_alias |
744 | target_alias |
778 | target_alias |
745 | CC |
779 | CC |
… | |
… | |
749 | CPPFLAGS |
783 | CPPFLAGS |
750 | CPP |
784 | CPP |
751 | CXX |
785 | CXX |
752 | CXXFLAGS |
786 | CXXFLAGS |
753 | CCC |
787 | CCC |
754 | CXXCPP' |
788 | CXXCPP |
|
|
789 | PKG_CONFIG |
|
|
790 | PKG_CONFIG_PATH |
|
|
791 | PKG_CONFIG_LIBDIR |
|
|
792 | LIBCRYPTO_CFLAGS |
|
|
793 | LIBCRYPTO_LIBS' |
755 | |
794 | |
756 | |
795 | |
757 | # Initialize some variables set by options. |
796 | # Initialize some variables set by options. |
758 | ac_init_help= |
797 | ac_init_help= |
759 | ac_init_version=false |
798 | ac_init_version=false |
… | |
… | |
788 | datarootdir='${prefix}/share' |
827 | datarootdir='${prefix}/share' |
789 | datadir='${datarootdir}' |
828 | datadir='${datarootdir}' |
790 | sysconfdir='${prefix}/etc' |
829 | sysconfdir='${prefix}/etc' |
791 | sharedstatedir='${prefix}/com' |
830 | sharedstatedir='${prefix}/com' |
792 | localstatedir='${prefix}/var' |
831 | localstatedir='${prefix}/var' |
|
|
832 | runstatedir='${localstatedir}/run' |
793 | includedir='${prefix}/include' |
833 | includedir='${prefix}/include' |
794 | oldincludedir='/usr/include' |
834 | oldincludedir='/usr/include' |
795 | docdir='${datarootdir}/doc/${PACKAGE}' |
835 | docdir='${datarootdir}/doc/${PACKAGE}' |
796 | infodir='${datarootdir}/info' |
836 | infodir='${datarootdir}/info' |
797 | htmldir='${docdir}' |
837 | htmldir='${docdir}' |
… | |
… | |
1040 | |
1080 | |
1041 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
1081 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
1042 | | -silent | --silent | --silen | --sile | --sil) |
1082 | | -silent | --silent | --silen | --sile | --sil) |
1043 | silent=yes ;; |
1083 | silent=yes ;; |
1044 | |
1084 | |
|
|
1085 | -runstatedir | --runstatedir | --runstatedi | --runstated \ |
|
|
1086 | | --runstate | --runstat | --runsta | --runst | --runs \ |
|
|
1087 | | --run | --ru | --r) |
|
|
1088 | ac_prev=runstatedir ;; |
|
|
1089 | -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ |
|
|
1090 | | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ |
|
|
1091 | | --run=* | --ru=* | --r=*) |
|
|
1092 | runstatedir=$ac_optarg ;; |
|
|
1093 | |
1045 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
1094 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
1046 | ac_prev=sbindir ;; |
1095 | ac_prev=sbindir ;; |
1047 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
1096 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
1048 | | --sbi=* | --sb=*) |
1097 | | --sbi=* | --sb=*) |
1049 | sbindir=$ac_optarg ;; |
1098 | sbindir=$ac_optarg ;; |
… | |
… | |
1154 | *) |
1203 | *) |
1155 | # FIXME: should be removed in autoconf 3.0. |
1204 | # FIXME: should be removed in autoconf 3.0. |
1156 | $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
1205 | $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
1157 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
1206 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
1158 | $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
1207 | $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
1159 | : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} |
1208 | : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" |
1160 | ;; |
1209 | ;; |
1161 | |
1210 | |
1162 | esac |
1211 | esac |
1163 | done |
1212 | done |
1164 | |
1213 | |
… | |
… | |
1177 | |
1226 | |
1178 | # Check all directory arguments for consistency. |
1227 | # Check all directory arguments for consistency. |
1179 | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
1228 | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
1180 | datadir sysconfdir sharedstatedir localstatedir includedir \ |
1229 | datadir sysconfdir sharedstatedir localstatedir includedir \ |
1181 | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
1230 | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
1182 | libdir localedir mandir |
1231 | libdir localedir mandir runstatedir |
1183 | do |
1232 | do |
1184 | eval ac_val=\$$ac_var |
1233 | eval ac_val=\$$ac_var |
1185 | # Remove trailing slashes. |
1234 | # Remove trailing slashes. |
1186 | case $ac_val in |
1235 | case $ac_val in |
1187 | */ ) |
1236 | */ ) |
… | |
… | |
1205 | |
1254 | |
1206 | # FIXME: To remove some day. |
1255 | # FIXME: To remove some day. |
1207 | if test "x$host_alias" != x; then |
1256 | if test "x$host_alias" != x; then |
1208 | if test "x$build_alias" = x; then |
1257 | if test "x$build_alias" = x; then |
1209 | cross_compiling=maybe |
1258 | cross_compiling=maybe |
1210 | $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. |
|
|
1211 | If a cross compiler is detected then cross compile mode will be used" >&2 |
|
|
1212 | elif test "x$build_alias" != "x$host_alias"; then |
1259 | elif test "x$build_alias" != "x$host_alias"; then |
1213 | cross_compiling=yes |
1260 | cross_compiling=yes |
1214 | fi |
1261 | fi |
1215 | fi |
1262 | fi |
1216 | |
1263 | |
… | |
… | |
1332 | --sbindir=DIR system admin executables [EPREFIX/sbin] |
1379 | --sbindir=DIR system admin executables [EPREFIX/sbin] |
1333 | --libexecdir=DIR program executables [EPREFIX/libexec] |
1380 | --libexecdir=DIR program executables [EPREFIX/libexec] |
1334 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
1381 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
1335 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
1382 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
1336 | --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
1383 | --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
|
|
1384 | --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] |
1337 | --libdir=DIR object code libraries [EPREFIX/lib] |
1385 | --libdir=DIR object code libraries [EPREFIX/lib] |
1338 | --includedir=DIR C header files [PREFIX/include] |
1386 | --includedir=DIR C header files [PREFIX/include] |
1339 | --oldincludedir=DIR C header files for non-gcc [/usr/include] |
1387 | --oldincludedir=DIR C header files for non-gcc [/usr/include] |
1340 | --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
1388 | --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
1341 | --datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
1389 | --datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
… | |
… | |
1385 | "tincd/darwin" "native/cygwin"; Untested |
1433 | "tincd/darwin" "native/cygwin"; Untested |
1386 | combinations are: "tincd/bsd" "tincd/solaris" |
1434 | combinations are: "tincd/bsd" "tincd/solaris" |
1387 | "tincd/mingw" "tincd/raw_socket" "tincd/uml_socket"; |
1435 | "tincd/mingw" "tincd/raw_socket" "tincd/uml_socket"; |
1388 | Broken combinations are: "tincd/cygwin"; The default |
1436 | Broken combinations are: "tincd/cygwin"; The default |
1389 | is to autodetect. |
1437 | is to autodetect. |
|
|
1438 | --enable-threads try to use threads for long-running asynchronous |
|
|
1439 | operations (default enabled). |
1390 | --enable-static-daemon enable statically linked daemon. |
1440 | --enable-static-daemon enable statically linked daemon. |
1391 | --disable-icmp enable icmp protocol support (default enabled). |
1441 | --disable-icmp enable icmp protocol support (default enabled). |
1392 | --disable-tcp enable tcp protocol support (default enabled). |
1442 | --disable-tcp enable tcp protocol support (default enabled). |
1393 | --disable-http-proxy enable http proxy connect support (default enabled). |
1443 | --disable-http-proxy enable http proxy connect support (default enabled). |
1394 | --enable-dns enable dns tunnel protocol support (default |
1444 | --enable-dns enable dns tunnel protocol support (default |
1395 | disabled). |
1445 | disabled). |
|
|
1446 | --enable-rsa-length=BITS |
|
|
1447 | use BITS rsa keys (default 3072). Allowed values are |
|
|
1448 | 2048-10240. |
1396 | --enable-hmac-length=BYTES |
1449 | --enable-hmac-length=BYTES |
1397 | use a hmac of length BYTES bytes (default 12). |
1450 | use a hmac of length BYTES bytes (default 12). |
1398 | Allowed values are 4, 8, 12, 16. |
1451 | Allowed values are 4, 8, 12, 16. |
1399 | --enable-rand-length=BYTES |
|
|
1400 | use BYTES bytes of extra randomness (default 8). |
|
|
1401 | Allowed values are 0, 4, 8. |
|
|
1402 | --enable-max-mtu=BYTES enable mtu sizes upto BYTES bytes (default 1500). |
1452 | --enable-max-mtu=BYTES enable mtu sizes upto BYTES bytes (default 1500). |
1403 | Use 9100 for jumbogram support. |
1453 | Use 9100 for jumbogram support. |
1404 | --disable-compression Disable compression support. |
1454 | --disable-compression Disable compression support. |
1405 | --enable-cipher=CIPHER Select the symmetric cipher (default "aes-128"). |
1455 | --enable-cipher=CIPHER Select the symmetric cipher (default "aes-128"). |
1406 | Must be one of "bf" (blowfish), "aes-128" |
1456 | Must be one of "aes-128" (rijndael), "aes-192", or |
1407 | (rijndael), "aes-192" or "aes-256". |
1457 | "aes-256". |
1408 | --enable-digest=CIPHER Select the digest algorithm to use (default |
1458 | --enable-hmac-digest=HMAC |
|
|
1459 | Select the HMAC digest algorithm to use (default |
1409 | "ripemd160"). Must be one of "sha512", "sha256", |
1460 | "sha1"). Must be one of "sha512", "sha256", "sha1", |
1410 | "sha1" (somewhat insecure), "ripemd160", "md5" |
1461 | "ripemd160", "whirlpool". |
1411 | (insecure) or "md4" (insecure). |
1462 | --enable-auth-digest=DIGEST |
|
|
1463 | Select the hmac algorithm to use (default "sha512"). |
|
|
1464 | Must be one of "sha512", "sha256", "whirlpool". |
1412 | |
1465 | |
1413 | Optional Packages: |
1466 | Optional Packages: |
1414 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
1467 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
1415 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
1468 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
1416 | --with-gnu-ld assume the C compiler uses GNU ld default=no |
1469 | --with-gnu-ld assume the C compiler uses GNU ld default=no |
… | |
… | |
1418 | --without-libiconv-prefix don't search for libiconv in includedir and libdir |
1471 | --without-libiconv-prefix don't search for libiconv in includedir and libdir |
1419 | --with-libintl-prefix=DIR search for libintl in DIR/include and DIR/lib |
1472 | --with-libintl-prefix=DIR search for libintl in DIR/include and DIR/lib |
1420 | --without-libintl-prefix don't search for libintl in includedir and libdir |
1473 | --without-libintl-prefix don't search for libintl in includedir and libdir |
1421 | --with-kernel=dir give the directory with kernel sources |
1474 | --with-kernel=dir give the directory with kernel sources |
1422 | (default: /usr/src/linux) |
1475 | (default: /usr/src/linux) |
1423 | --with-openssl-include=DIR OpenSSL headers directory (without trailing /openssl) |
|
|
1424 | --with-openssl-lib=DIR OpenSSL library directory |
|
|
1425 | |
1476 | |
1426 | Some influential environment variables: |
1477 | Some influential environment variables: |
1427 | CC C compiler command |
1478 | CC C compiler command |
1428 | CFLAGS C compiler flags |
1479 | CFLAGS C compiler flags |
1429 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
1480 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
… | |
… | |
1433 | you have headers in a nonstandard directory <include dir> |
1484 | you have headers in a nonstandard directory <include dir> |
1434 | CPP C preprocessor |
1485 | CPP C preprocessor |
1435 | CXX C++ compiler command |
1486 | CXX C++ compiler command |
1436 | CXXFLAGS C++ compiler flags |
1487 | CXXFLAGS C++ compiler flags |
1437 | CXXCPP C++ preprocessor |
1488 | CXXCPP C++ preprocessor |
|
|
1489 | PKG_CONFIG path to pkg-config utility |
|
|
1490 | PKG_CONFIG_PATH |
|
|
1491 | directories to add to pkg-config's search path |
|
|
1492 | PKG_CONFIG_LIBDIR |
|
|
1493 | path overriding pkg-config's built-in search path |
|
|
1494 | LIBCRYPTO_CFLAGS |
|
|
1495 | C compiler flags for LIBCRYPTO, overriding pkg-config |
|
|
1496 | LIBCRYPTO_LIBS |
|
|
1497 | linker flags for LIBCRYPTO, overriding pkg-config |
1438 | |
1498 | |
1439 | Use these variables to override the choices made by `configure' or to help |
1499 | Use these variables to override the choices made by `configure' or to help |
1440 | it to find libraries and programs with nonstandard names/locations. |
1500 | it to find libraries and programs with nonstandard names/locations. |
1441 | |
1501 | |
1442 | Report bugs to the package provider. |
1502 | Report bugs to the package provider. |
… | |
… | |
1501 | |
1561 | |
1502 | test -n "$ac_init_help" && exit $ac_status |
1562 | test -n "$ac_init_help" && exit $ac_status |
1503 | if $ac_init_version; then |
1563 | if $ac_init_version; then |
1504 | cat <<\_ACEOF |
1564 | cat <<\_ACEOF |
1505 | configure |
1565 | configure |
1506 | generated by GNU Autoconf 2.67 |
1566 | generated by GNU Autoconf 2.69 |
1507 | |
1567 | |
1508 | Copyright (C) 2010 Free Software Foundation, Inc. |
1568 | Copyright (C) 2012 Free Software Foundation, Inc. |
1509 | This configure script is free software; the Free Software Foundation |
1569 | This configure script is free software; the Free Software Foundation |
1510 | gives unlimited permission to copy, distribute and modify it. |
1570 | gives unlimited permission to copy, distribute and modify it. |
1511 | _ACEOF |
1571 | _ACEOF |
1512 | exit |
1572 | exit |
1513 | fi |
1573 | fi |
… | |
… | |
1547 | $as_echo "$as_me: failed program was:" >&5 |
1607 | $as_echo "$as_me: failed program was:" >&5 |
1548 | sed 's/^/| /' conftest.$ac_ext >&5 |
1608 | sed 's/^/| /' conftest.$ac_ext >&5 |
1549 | |
1609 | |
1550 | ac_retval=1 |
1610 | ac_retval=1 |
1551 | fi |
1611 | fi |
1552 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1612 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1553 | as_fn_set_status $ac_retval |
1613 | as_fn_set_status $ac_retval |
1554 | |
1614 | |
1555 | } # ac_fn_c_try_compile |
1615 | } # ac_fn_c_try_compile |
1556 | |
1616 | |
1557 | # ac_fn_c_try_link LINENO |
1617 | # ac_fn_c_try_link LINENO |
… | |
… | |
1579 | test $ac_status = 0; } && { |
1639 | test $ac_status = 0; } && { |
1580 | test -z "$ac_c_werror_flag" || |
1640 | test -z "$ac_c_werror_flag" || |
1581 | test ! -s conftest.err |
1641 | test ! -s conftest.err |
1582 | } && test -s conftest$ac_exeext && { |
1642 | } && test -s conftest$ac_exeext && { |
1583 | test "$cross_compiling" = yes || |
1643 | test "$cross_compiling" = yes || |
1584 | $as_test_x conftest$ac_exeext |
1644 | test -x conftest$ac_exeext |
1585 | }; then : |
1645 | }; then : |
1586 | ac_retval=0 |
1646 | ac_retval=0 |
1587 | else |
1647 | else |
1588 | $as_echo "$as_me: failed program was:" >&5 |
1648 | $as_echo "$as_me: failed program was:" >&5 |
1589 | sed 's/^/| /' conftest.$ac_ext >&5 |
1649 | sed 's/^/| /' conftest.$ac_ext >&5 |
… | |
… | |
1593 | # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information |
1653 | # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information |
1594 | # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would |
1654 | # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would |
1595 | # interfere with the next link command; also delete a directory that is |
1655 | # interfere with the next link command; also delete a directory that is |
1596 | # left behind by Apple's compiler. We do this before executing the actions. |
1656 | # left behind by Apple's compiler. We do this before executing the actions. |
1597 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
1657 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
1598 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1658 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1599 | as_fn_set_status $ac_retval |
1659 | as_fn_set_status $ac_retval |
1600 | |
1660 | |
1601 | } # ac_fn_c_try_link |
1661 | } # ac_fn_c_try_link |
1602 | |
1662 | |
1603 | # ac_fn_c_try_cpp LINENO |
1663 | # ac_fn_c_try_cpp LINENO |
… | |
… | |
1630 | $as_echo "$as_me: failed program was:" >&5 |
1690 | $as_echo "$as_me: failed program was:" >&5 |
1631 | sed 's/^/| /' conftest.$ac_ext >&5 |
1691 | sed 's/^/| /' conftest.$ac_ext >&5 |
1632 | |
1692 | |
1633 | ac_retval=1 |
1693 | ac_retval=1 |
1634 | fi |
1694 | fi |
1635 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1695 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1636 | as_fn_set_status $ac_retval |
1696 | as_fn_set_status $ac_retval |
1637 | |
1697 | |
1638 | } # ac_fn_c_try_cpp |
1698 | } # ac_fn_c_try_cpp |
1639 | |
1699 | |
1640 | # ac_fn_cxx_try_compile LINENO |
1700 | # ac_fn_cxx_try_compile LINENO |
… | |
… | |
1668 | $as_echo "$as_me: failed program was:" >&5 |
1728 | $as_echo "$as_me: failed program was:" >&5 |
1669 | sed 's/^/| /' conftest.$ac_ext >&5 |
1729 | sed 's/^/| /' conftest.$ac_ext >&5 |
1670 | |
1730 | |
1671 | ac_retval=1 |
1731 | ac_retval=1 |
1672 | fi |
1732 | fi |
1673 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1733 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1674 | as_fn_set_status $ac_retval |
1734 | as_fn_set_status $ac_retval |
1675 | |
1735 | |
1676 | } # ac_fn_cxx_try_compile |
1736 | } # ac_fn_cxx_try_compile |
1677 | |
1737 | |
1678 | # ac_fn_cxx_try_cpp LINENO |
1738 | # ac_fn_cxx_try_cpp LINENO |
… | |
… | |
1705 | $as_echo "$as_me: failed program was:" >&5 |
1765 | $as_echo "$as_me: failed program was:" >&5 |
1706 | sed 's/^/| /' conftest.$ac_ext >&5 |
1766 | sed 's/^/| /' conftest.$ac_ext >&5 |
1707 | |
1767 | |
1708 | ac_retval=1 |
1768 | ac_retval=1 |
1709 | fi |
1769 | fi |
1710 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1770 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1711 | as_fn_set_status $ac_retval |
1771 | as_fn_set_status $ac_retval |
1712 | |
1772 | |
1713 | } # ac_fn_cxx_try_cpp |
1773 | } # ac_fn_cxx_try_cpp |
1714 | |
1774 | |
1715 | # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES |
1775 | # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES |
… | |
… | |
1718 | # the include files in INCLUDES and setting the cache variable VAR |
1778 | # the include files in INCLUDES and setting the cache variable VAR |
1719 | # accordingly. |
1779 | # accordingly. |
1720 | ac_fn_cxx_check_header_mongrel () |
1780 | ac_fn_cxx_check_header_mongrel () |
1721 | { |
1781 | { |
1722 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1782 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1723 | if eval "test \"\${$3+set}\"" = set; then : |
1783 | if eval \${$3+:} false; then : |
1724 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1784 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1725 | $as_echo_n "checking for $2... " >&6; } |
1785 | $as_echo_n "checking for $2... " >&6; } |
1726 | if eval "test \"\${$3+set}\"" = set; then : |
1786 | if eval \${$3+:} false; then : |
1727 | $as_echo_n "(cached) " >&6 |
1787 | $as_echo_n "(cached) " >&6 |
1728 | fi |
1788 | fi |
1729 | eval ac_res=\$$3 |
1789 | eval ac_res=\$$3 |
1730 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1790 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1731 | $as_echo "$ac_res" >&6; } |
1791 | $as_echo "$ac_res" >&6; } |
… | |
… | |
1784 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
1844 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
1785 | ;; |
1845 | ;; |
1786 | esac |
1846 | esac |
1787 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1847 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1788 | $as_echo_n "checking for $2... " >&6; } |
1848 | $as_echo_n "checking for $2... " >&6; } |
1789 | if eval "test \"\${$3+set}\"" = set; then : |
1849 | if eval \${$3+:} false; then : |
1790 | $as_echo_n "(cached) " >&6 |
1850 | $as_echo_n "(cached) " >&6 |
1791 | else |
1851 | else |
1792 | eval "$3=\$ac_header_compiler" |
1852 | eval "$3=\$ac_header_compiler" |
1793 | fi |
1853 | fi |
1794 | eval ac_res=\$$3 |
1854 | eval ac_res=\$$3 |
1795 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1855 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1796 | $as_echo "$ac_res" >&6; } |
1856 | $as_echo "$ac_res" >&6; } |
1797 | fi |
1857 | fi |
1798 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1858 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1799 | |
1859 | |
1800 | } # ac_fn_cxx_check_header_mongrel |
1860 | } # ac_fn_cxx_check_header_mongrel |
1801 | |
1861 | |
1802 | # ac_fn_cxx_try_run LINENO |
1862 | # ac_fn_cxx_try_run LINENO |
1803 | # ------------------------ |
1863 | # ------------------------ |
… | |
… | |
1834 | sed 's/^/| /' conftest.$ac_ext >&5 |
1894 | sed 's/^/| /' conftest.$ac_ext >&5 |
1835 | |
1895 | |
1836 | ac_retval=$ac_status |
1896 | ac_retval=$ac_status |
1837 | fi |
1897 | fi |
1838 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
1898 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
1839 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1899 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1840 | as_fn_set_status $ac_retval |
1900 | as_fn_set_status $ac_retval |
1841 | |
1901 | |
1842 | } # ac_fn_cxx_try_run |
1902 | } # ac_fn_cxx_try_run |
1843 | |
1903 | |
1844 | # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES |
1904 | # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES |
… | |
… | |
1848 | ac_fn_cxx_check_header_compile () |
1908 | ac_fn_cxx_check_header_compile () |
1849 | { |
1909 | { |
1850 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1910 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1851 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1911 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1852 | $as_echo_n "checking for $2... " >&6; } |
1912 | $as_echo_n "checking for $2... " >&6; } |
1853 | if eval "test \"\${$3+set}\"" = set; then : |
1913 | if eval \${$3+:} false; then : |
1854 | $as_echo_n "(cached) " >&6 |
1914 | $as_echo_n "(cached) " >&6 |
1855 | else |
1915 | else |
1856 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1916 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1857 | /* end confdefs.h. */ |
1917 | /* end confdefs.h. */ |
1858 | $4 |
1918 | $4 |
… | |
… | |
1866 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
1926 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
1867 | fi |
1927 | fi |
1868 | eval ac_res=\$$3 |
1928 | eval ac_res=\$$3 |
1869 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1929 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1870 | $as_echo "$ac_res" >&6; } |
1930 | $as_echo "$ac_res" >&6; } |
1871 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1931 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1872 | |
1932 | |
1873 | } # ac_fn_cxx_check_header_compile |
1933 | } # ac_fn_cxx_check_header_compile |
1874 | |
1934 | |
1875 | # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES |
1935 | # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES |
1876 | # --------------------------------------------- |
1936 | # --------------------------------------------- |
… | |
… | |
1879 | ac_fn_cxx_check_type () |
1939 | ac_fn_cxx_check_type () |
1880 | { |
1940 | { |
1881 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1941 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1882 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1942 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1883 | $as_echo_n "checking for $2... " >&6; } |
1943 | $as_echo_n "checking for $2... " >&6; } |
1884 | if eval "test \"\${$3+set}\"" = set; then : |
1944 | if eval \${$3+:} false; then : |
1885 | $as_echo_n "(cached) " >&6 |
1945 | $as_echo_n "(cached) " >&6 |
1886 | else |
1946 | else |
1887 | eval "$3=no" |
1947 | eval "$3=no" |
1888 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1948 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1889 | /* end confdefs.h. */ |
1949 | /* end confdefs.h. */ |
… | |
… | |
1920 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
1980 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
1921 | fi |
1981 | fi |
1922 | eval ac_res=\$$3 |
1982 | eval ac_res=\$$3 |
1923 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1983 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1924 | $as_echo "$ac_res" >&6; } |
1984 | $as_echo "$ac_res" >&6; } |
1925 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1985 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1926 | |
1986 | |
1927 | } # ac_fn_cxx_check_type |
1987 | } # ac_fn_cxx_check_type |
1928 | |
1988 | |
1929 | # ac_fn_c_try_run LINENO |
1989 | # ac_fn_c_try_run LINENO |
1930 | # ---------------------- |
1990 | # ---------------------- |
… | |
… | |
1961 | sed 's/^/| /' conftest.$ac_ext >&5 |
2021 | sed 's/^/| /' conftest.$ac_ext >&5 |
1962 | |
2022 | |
1963 | ac_retval=$ac_status |
2023 | ac_retval=$ac_status |
1964 | fi |
2024 | fi |
1965 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
2025 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
1966 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
2026 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1967 | as_fn_set_status $ac_retval |
2027 | as_fn_set_status $ac_retval |
1968 | |
2028 | |
1969 | } # ac_fn_c_try_run |
2029 | } # ac_fn_c_try_run |
1970 | |
2030 | |
1971 | # ac_fn_c_check_func LINENO FUNC VAR |
2031 | # ac_fn_c_check_func LINENO FUNC VAR |
… | |
… | |
1974 | ac_fn_c_check_func () |
2034 | ac_fn_c_check_func () |
1975 | { |
2035 | { |
1976 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
2036 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1977 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
2037 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1978 | $as_echo_n "checking for $2... " >&6; } |
2038 | $as_echo_n "checking for $2... " >&6; } |
1979 | if eval "test \"\${$3+set}\"" = set; then : |
2039 | if eval \${$3+:} false; then : |
1980 | $as_echo_n "(cached) " >&6 |
2040 | $as_echo_n "(cached) " >&6 |
1981 | else |
2041 | else |
1982 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2042 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1983 | /* end confdefs.h. */ |
2043 | /* end confdefs.h. */ |
1984 | /* Define $2 to an innocuous variant, in case <limits.h> declares $2. |
2044 | /* Define $2 to an innocuous variant, in case <limits.h> declares $2. |
… | |
… | |
2029 | conftest$ac_exeext conftest.$ac_ext |
2089 | conftest$ac_exeext conftest.$ac_ext |
2030 | fi |
2090 | fi |
2031 | eval ac_res=\$$3 |
2091 | eval ac_res=\$$3 |
2032 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
2092 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
2033 | $as_echo "$ac_res" >&6; } |
2093 | $as_echo "$ac_res" >&6; } |
2034 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
2094 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
2035 | |
2095 | |
2036 | } # ac_fn_c_check_func |
2096 | } # ac_fn_c_check_func |
2037 | |
2097 | |
2038 | # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES |
2098 | # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES |
2039 | # ------------------------------------------------------- |
2099 | # ------------------------------------------------------- |
… | |
… | |
2041 | # the include files in INCLUDES and setting the cache variable VAR |
2101 | # the include files in INCLUDES and setting the cache variable VAR |
2042 | # accordingly. |
2102 | # accordingly. |
2043 | ac_fn_c_check_header_mongrel () |
2103 | ac_fn_c_check_header_mongrel () |
2044 | { |
2104 | { |
2045 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
2105 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
2046 | if eval "test \"\${$3+set}\"" = set; then : |
2106 | if eval \${$3+:} false; then : |
2047 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
2107 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
2048 | $as_echo_n "checking for $2... " >&6; } |
2108 | $as_echo_n "checking for $2... " >&6; } |
2049 | if eval "test \"\${$3+set}\"" = set; then : |
2109 | if eval \${$3+:} false; then : |
2050 | $as_echo_n "(cached) " >&6 |
2110 | $as_echo_n "(cached) " >&6 |
2051 | fi |
2111 | fi |
2052 | eval ac_res=\$$3 |
2112 | eval ac_res=\$$3 |
2053 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
2113 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
2054 | $as_echo "$ac_res" >&6; } |
2114 | $as_echo "$ac_res" >&6; } |
… | |
… | |
2107 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
2167 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
2108 | ;; |
2168 | ;; |
2109 | esac |
2169 | esac |
2110 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
2170 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
2111 | $as_echo_n "checking for $2... " >&6; } |
2171 | $as_echo_n "checking for $2... " >&6; } |
2112 | if eval "test \"\${$3+set}\"" = set; then : |
2172 | if eval \${$3+:} false; then : |
2113 | $as_echo_n "(cached) " >&6 |
2173 | $as_echo_n "(cached) " >&6 |
2114 | else |
2174 | else |
2115 | eval "$3=\$ac_header_compiler" |
2175 | eval "$3=\$ac_header_compiler" |
2116 | fi |
2176 | fi |
2117 | eval ac_res=\$$3 |
2177 | eval ac_res=\$$3 |
2118 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
2178 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
2119 | $as_echo "$ac_res" >&6; } |
2179 | $as_echo "$ac_res" >&6; } |
2120 | fi |
2180 | fi |
2121 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
2181 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
2122 | |
2182 | |
2123 | } # ac_fn_c_check_header_mongrel |
2183 | } # ac_fn_c_check_header_mongrel |
2124 | |
2184 | |
2125 | # ac_fn_cxx_try_link LINENO |
2185 | # ac_fn_cxx_try_link LINENO |
2126 | # ------------------------- |
2186 | # ------------------------- |
… | |
… | |
2147 | test $ac_status = 0; } && { |
2207 | test $ac_status = 0; } && { |
2148 | test -z "$ac_cxx_werror_flag" || |
2208 | test -z "$ac_cxx_werror_flag" || |
2149 | test ! -s conftest.err |
2209 | test ! -s conftest.err |
2150 | } && test -s conftest$ac_exeext && { |
2210 | } && test -s conftest$ac_exeext && { |
2151 | test "$cross_compiling" = yes || |
2211 | test "$cross_compiling" = yes || |
2152 | $as_test_x conftest$ac_exeext |
2212 | test -x conftest$ac_exeext |
2153 | }; then : |
2213 | }; then : |
2154 | ac_retval=0 |
2214 | ac_retval=0 |
2155 | else |
2215 | else |
2156 | $as_echo "$as_me: failed program was:" >&5 |
2216 | $as_echo "$as_me: failed program was:" >&5 |
2157 | sed 's/^/| /' conftest.$ac_ext >&5 |
2217 | sed 's/^/| /' conftest.$ac_ext >&5 |
… | |
… | |
2161 | # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information |
2221 | # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information |
2162 | # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would |
2222 | # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would |
2163 | # interfere with the next link command; also delete a directory that is |
2223 | # interfere with the next link command; also delete a directory that is |
2164 | # left behind by Apple's compiler. We do this before executing the actions. |
2224 | # left behind by Apple's compiler. We do this before executing the actions. |
2165 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
2225 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
2166 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
2226 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
2167 | as_fn_set_status $ac_retval |
2227 | as_fn_set_status $ac_retval |
2168 | |
2228 | |
2169 | } # ac_fn_cxx_try_link |
2229 | } # ac_fn_cxx_try_link |
2170 | |
|
|
2171 | # ac_fn_cxx_check_func LINENO FUNC VAR |
|
|
2172 | # ------------------------------------ |
|
|
2173 | # Tests whether FUNC exists, setting the cache variable VAR accordingly |
|
|
2174 | ac_fn_cxx_check_func () |
|
|
2175 | { |
|
|
2176 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
|
2177 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
|
|
2178 | $as_echo_n "checking for $2... " >&6; } |
|
|
2179 | if eval "test \"\${$3+set}\"" = set; then : |
|
|
2180 | $as_echo_n "(cached) " >&6 |
|
|
2181 | else |
|
|
2182 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
2183 | /* end confdefs.h. */ |
|
|
2184 | /* Define $2 to an innocuous variant, in case <limits.h> declares $2. |
|
|
2185 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
|
2186 | #define $2 innocuous_$2 |
|
|
2187 | |
|
|
2188 | /* System header to define __stub macros and hopefully few prototypes, |
|
|
2189 | which can conflict with char $2 (); below. |
|
|
2190 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
2191 | <limits.h> exists even on freestanding compilers. */ |
|
|
2192 | |
|
|
2193 | #ifdef __STDC__ |
|
|
2194 | # include <limits.h> |
|
|
2195 | #else |
|
|
2196 | # include <assert.h> |
|
|
2197 | #endif |
|
|
2198 | |
|
|
2199 | #undef $2 |
|
|
2200 | |
|
|
2201 | /* Override any GCC internal prototype to avoid an error. |
|
|
2202 | Use char because int might match the return type of a GCC |
|
|
2203 | builtin and then its argument prototype would still apply. */ |
|
|
2204 | #ifdef __cplusplus |
|
|
2205 | extern "C" |
|
|
2206 | #endif |
|
|
2207 | char $2 (); |
|
|
2208 | /* The GNU C library defines this for functions which it implements |
|
|
2209 | to always fail with ENOSYS. Some functions are actually named |
|
|
2210 | something starting with __ and the normal name is an alias. */ |
|
|
2211 | #if defined __stub_$2 || defined __stub___$2 |
|
|
2212 | choke me |
|
|
2213 | #endif |
|
|
2214 | |
|
|
2215 | int |
|
|
2216 | main () |
|
|
2217 | { |
|
|
2218 | return $2 (); |
|
|
2219 | ; |
|
|
2220 | return 0; |
|
|
2221 | } |
|
|
2222 | _ACEOF |
|
|
2223 | if ac_fn_cxx_try_link "$LINENO"; then : |
|
|
2224 | eval "$3=yes" |
|
|
2225 | else |
|
|
2226 | eval "$3=no" |
|
|
2227 | fi |
|
|
2228 | rm -f core conftest.err conftest.$ac_objext \ |
|
|
2229 | conftest$ac_exeext conftest.$ac_ext |
|
|
2230 | fi |
|
|
2231 | eval ac_res=\$$3 |
|
|
2232 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
|
|
2233 | $as_echo "$ac_res" >&6; } |
|
|
2234 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
|
|
2235 | |
|
|
2236 | } # ac_fn_cxx_check_func |
|
|
2237 | cat >config.log <<_ACEOF |
2230 | cat >config.log <<_ACEOF |
2238 | This file contains any messages produced by compilers while |
2231 | This file contains any messages produced by compilers while |
2239 | running configure, to aid debugging if configure makes a mistake. |
2232 | running configure, to aid debugging if configure makes a mistake. |
2240 | |
2233 | |
2241 | It was created by $as_me, which was |
2234 | It was created by $as_me, which was |
2242 | generated by GNU Autoconf 2.67. Invocation command line was |
2235 | generated by GNU Autoconf 2.69. Invocation command line was |
2243 | |
2236 | |
2244 | $ $0 $@ |
2237 | $ $0 $@ |
2245 | |
2238 | |
2246 | _ACEOF |
2239 | _ACEOF |
2247 | exec 5>>config.log |
2240 | exec 5>>config.log |
… | |
… | |
2495 | sed 's/^/| /' "$ac_site_file" >&5 |
2488 | sed 's/^/| /' "$ac_site_file" >&5 |
2496 | . "$ac_site_file" \ |
2489 | . "$ac_site_file" \ |
2497 | || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2490 | || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2498 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2491 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2499 | as_fn_error $? "failed to load site script $ac_site_file |
2492 | as_fn_error $? "failed to load site script $ac_site_file |
2500 | See \`config.log' for more details" "$LINENO" 5 ; } |
2493 | See \`config.log' for more details" "$LINENO" 5; } |
2501 | fi |
2494 | fi |
2502 | done |
2495 | done |
2503 | |
2496 | |
2504 | if test -r "$cache_file"; then |
2497 | if test -r "$cache_file"; then |
2505 | # Some versions of bash will fail to source /dev/null (special files |
2498 | # Some versions of bash will fail to source /dev/null (special files |
… | |
… | |
2620 | $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || |
2613 | $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || |
2621 | as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 |
2614 | as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 |
2622 | |
2615 | |
2623 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 |
2616 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 |
2624 | $as_echo_n "checking build system type... " >&6; } |
2617 | $as_echo_n "checking build system type... " >&6; } |
2625 | if test "${ac_cv_build+set}" = set; then : |
2618 | if ${ac_cv_build+:} false; then : |
2626 | $as_echo_n "(cached) " >&6 |
2619 | $as_echo_n "(cached) " >&6 |
2627 | else |
2620 | else |
2628 | ac_build_alias=$build_alias |
2621 | ac_build_alias=$build_alias |
2629 | test "x$ac_build_alias" = x && |
2622 | test "x$ac_build_alias" = x && |
2630 | ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` |
2623 | ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` |
… | |
… | |
2636 | fi |
2629 | fi |
2637 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 |
2630 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 |
2638 | $as_echo "$ac_cv_build" >&6; } |
2631 | $as_echo "$ac_cv_build" >&6; } |
2639 | case $ac_cv_build in |
2632 | case $ac_cv_build in |
2640 | *-*-*) ;; |
2633 | *-*-*) ;; |
2641 | *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;; |
2634 | *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; |
2642 | esac |
2635 | esac |
2643 | build=$ac_cv_build |
2636 | build=$ac_cv_build |
2644 | ac_save_IFS=$IFS; IFS='-' |
2637 | ac_save_IFS=$IFS; IFS='-' |
2645 | set x $ac_cv_build |
2638 | set x $ac_cv_build |
2646 | shift |
2639 | shift |
… | |
… | |
2654 | case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac |
2647 | case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac |
2655 | |
2648 | |
2656 | |
2649 | |
2657 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 |
2650 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 |
2658 | $as_echo_n "checking host system type... " >&6; } |
2651 | $as_echo_n "checking host system type... " >&6; } |
2659 | if test "${ac_cv_host+set}" = set; then : |
2652 | if ${ac_cv_host+:} false; then : |
2660 | $as_echo_n "(cached) " >&6 |
2653 | $as_echo_n "(cached) " >&6 |
2661 | else |
2654 | else |
2662 | if test "x$host_alias" = x; then |
2655 | if test "x$host_alias" = x; then |
2663 | ac_cv_host=$ac_cv_build |
2656 | ac_cv_host=$ac_cv_build |
2664 | else |
2657 | else |
… | |
… | |
2669 | fi |
2662 | fi |
2670 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 |
2663 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 |
2671 | $as_echo "$ac_cv_host" >&6; } |
2664 | $as_echo "$ac_cv_host" >&6; } |
2672 | case $ac_cv_host in |
2665 | case $ac_cv_host in |
2673 | *-*-*) ;; |
2666 | *-*-*) ;; |
2674 | *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;; |
2667 | *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; |
2675 | esac |
2668 | esac |
2676 | host=$ac_cv_host |
2669 | host=$ac_cv_host |
2677 | ac_save_IFS=$IFS; IFS='-' |
2670 | ac_save_IFS=$IFS; IFS='-' |
2678 | set x $ac_cv_host |
2671 | set x $ac_cv_host |
2679 | shift |
2672 | shift |
… | |
… | |
2687 | case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac |
2680 | case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac |
2688 | |
2681 | |
2689 | |
2682 | |
2690 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 |
2683 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 |
2691 | $as_echo_n "checking target system type... " >&6; } |
2684 | $as_echo_n "checking target system type... " >&6; } |
2692 | if test "${ac_cv_target+set}" = set; then : |
2685 | if ${ac_cv_target+:} false; then : |
2693 | $as_echo_n "(cached) " >&6 |
2686 | $as_echo_n "(cached) " >&6 |
2694 | else |
2687 | else |
2695 | if test "x$target_alias" = x; then |
2688 | if test "x$target_alias" = x; then |
2696 | ac_cv_target=$ac_cv_host |
2689 | ac_cv_target=$ac_cv_host |
2697 | else |
2690 | else |
… | |
… | |
2702 | fi |
2695 | fi |
2703 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 |
2696 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 |
2704 | $as_echo "$ac_cv_target" >&6; } |
2697 | $as_echo "$ac_cv_target" >&6; } |
2705 | case $ac_cv_target in |
2698 | case $ac_cv_target in |
2706 | *-*-*) ;; |
2699 | *-*-*) ;; |
2707 | *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5 ;; |
2700 | *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;; |
2708 | esac |
2701 | esac |
2709 | target=$ac_cv_target |
2702 | target=$ac_cv_target |
2710 | ac_save_IFS=$IFS; IFS='-' |
2703 | ac_save_IFS=$IFS; IFS='-' |
2711 | set x $ac_cv_target |
2704 | set x $ac_cv_target |
2712 | shift |
2705 | shift |
… | |
… | |
2742 | # ./install, which can be erroneously created by make from ./install.sh. |
2735 | # ./install, which can be erroneously created by make from ./install.sh. |
2743 | # Reject install programs that cannot install multiple files. |
2736 | # Reject install programs that cannot install multiple files. |
2744 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 |
2737 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 |
2745 | $as_echo_n "checking for a BSD-compatible install... " >&6; } |
2738 | $as_echo_n "checking for a BSD-compatible install... " >&6; } |
2746 | if test -z "$INSTALL"; then |
2739 | if test -z "$INSTALL"; then |
2747 | if test "${ac_cv_path_install+set}" = set; then : |
2740 | if ${ac_cv_path_install+:} false; then : |
2748 | $as_echo_n "(cached) " >&6 |
2741 | $as_echo_n "(cached) " >&6 |
2749 | else |
2742 | else |
2750 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2743 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2751 | for as_dir in $PATH |
2744 | for as_dir in $PATH |
2752 | do |
2745 | do |
… | |
… | |
2762 | # OSF1 and SCO ODT 3.0 have their own names for install. |
2755 | # OSF1 and SCO ODT 3.0 have their own names for install. |
2763 | # Don't use installbsd from OSF since it installs stuff as root |
2756 | # Don't use installbsd from OSF since it installs stuff as root |
2764 | # by default. |
2757 | # by default. |
2765 | for ac_prog in ginstall scoinst install; do |
2758 | for ac_prog in ginstall scoinst install; do |
2766 | for ac_exec_ext in '' $ac_executable_extensions; do |
2759 | for ac_exec_ext in '' $ac_executable_extensions; do |
2767 | if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then |
2760 | if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
2768 | if test $ac_prog = install && |
2761 | if test $ac_prog = install && |
2769 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
2762 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
2770 | # AIX install. It has an incompatible calling convention. |
2763 | # AIX install. It has an incompatible calling convention. |
2771 | : |
2764 | : |
2772 | elif test $ac_prog = install && |
2765 | elif test $ac_prog = install && |
… | |
… | |
2887 | do |
2880 | do |
2888 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
2881 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
2889 | set dummy $ac_prog; ac_word=$2 |
2882 | set dummy $ac_prog; ac_word=$2 |
2890 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2883 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2891 | $as_echo_n "checking for $ac_word... " >&6; } |
2884 | $as_echo_n "checking for $ac_word... " >&6; } |
2892 | if test "${ac_cv_prog_AWK+set}" = set; then : |
2885 | if ${ac_cv_prog_AWK+:} false; then : |
2893 | $as_echo_n "(cached) " >&6 |
2886 | $as_echo_n "(cached) " >&6 |
2894 | else |
2887 | else |
2895 | if test -n "$AWK"; then |
2888 | if test -n "$AWK"; then |
2896 | ac_cv_prog_AWK="$AWK" # Let the user override the test. |
2889 | ac_cv_prog_AWK="$AWK" # Let the user override the test. |
2897 | else |
2890 | else |
… | |
… | |
2899 | for as_dir in $PATH |
2892 | for as_dir in $PATH |
2900 | do |
2893 | do |
2901 | IFS=$as_save_IFS |
2894 | IFS=$as_save_IFS |
2902 | test -z "$as_dir" && as_dir=. |
2895 | test -z "$as_dir" && as_dir=. |
2903 | for ac_exec_ext in '' $ac_executable_extensions; do |
2896 | for ac_exec_ext in '' $ac_executable_extensions; do |
2904 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2897 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2905 | ac_cv_prog_AWK="$ac_prog" |
2898 | ac_cv_prog_AWK="$ac_prog" |
2906 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2899 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2907 | break 2 |
2900 | break 2 |
2908 | fi |
2901 | fi |
2909 | done |
2902 | done |
… | |
… | |
2927 | |
2920 | |
2928 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
2921 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
2929 | $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
2922 | $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
2930 | set x ${MAKE-make} |
2923 | set x ${MAKE-make} |
2931 | ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
2924 | ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
2932 | if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then : |
2925 | if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : |
2933 | $as_echo_n "(cached) " >&6 |
2926 | $as_echo_n "(cached) " >&6 |
2934 | else |
2927 | else |
2935 | cat >conftest.make <<\_ACEOF |
2928 | cat >conftest.make <<\_ACEOF |
2936 | SHELL = /bin/sh |
2929 | SHELL = /bin/sh |
2937 | all: |
2930 | all: |
… | |
… | |
2981 | fi |
2974 | fi |
2982 | |
2975 | |
2983 | |
2976 | |
2984 | # Define the identity of the package. |
2977 | # Define the identity of the package. |
2985 | PACKAGE=gvpe |
2978 | PACKAGE=gvpe |
2986 | VERSION=2.24 |
2979 | VERSION=3.1 |
2987 | |
2980 | |
2988 | |
2981 | |
2989 | cat >>confdefs.h <<_ACEOF |
2982 | cat >>confdefs.h <<_ACEOF |
2990 | #define PACKAGE "$PACKAGE" |
2983 | #define PACKAGE "$PACKAGE" |
2991 | _ACEOF |
2984 | _ACEOF |
… | |
… | |
3024 | if test -n "$ac_tool_prefix"; then |
3017 | if test -n "$ac_tool_prefix"; then |
3025 | # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
3018 | # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
3026 | set dummy ${ac_tool_prefix}strip; ac_word=$2 |
3019 | set dummy ${ac_tool_prefix}strip; ac_word=$2 |
3027 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3020 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3028 | $as_echo_n "checking for $ac_word... " >&6; } |
3021 | $as_echo_n "checking for $ac_word... " >&6; } |
3029 | if test "${ac_cv_prog_STRIP+set}" = set; then : |
3022 | if ${ac_cv_prog_STRIP+:} false; then : |
3030 | $as_echo_n "(cached) " >&6 |
3023 | $as_echo_n "(cached) " >&6 |
3031 | else |
3024 | else |
3032 | if test -n "$STRIP"; then |
3025 | if test -n "$STRIP"; then |
3033 | ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
3026 | ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
3034 | else |
3027 | else |
… | |
… | |
3036 | for as_dir in $PATH |
3029 | for as_dir in $PATH |
3037 | do |
3030 | do |
3038 | IFS=$as_save_IFS |
3031 | IFS=$as_save_IFS |
3039 | test -z "$as_dir" && as_dir=. |
3032 | test -z "$as_dir" && as_dir=. |
3040 | for ac_exec_ext in '' $ac_executable_extensions; do |
3033 | for ac_exec_ext in '' $ac_executable_extensions; do |
3041 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3034 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3042 | ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
3035 | ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
3043 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3036 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3044 | break 2 |
3037 | break 2 |
3045 | fi |
3038 | fi |
3046 | done |
3039 | done |
… | |
… | |
3064 | ac_ct_STRIP=$STRIP |
3057 | ac_ct_STRIP=$STRIP |
3065 | # Extract the first word of "strip", so it can be a program name with args. |
3058 | # Extract the first word of "strip", so it can be a program name with args. |
3066 | set dummy strip; ac_word=$2 |
3059 | set dummy strip; ac_word=$2 |
3067 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3060 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3068 | $as_echo_n "checking for $ac_word... " >&6; } |
3061 | $as_echo_n "checking for $ac_word... " >&6; } |
3069 | if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : |
3062 | if ${ac_cv_prog_ac_ct_STRIP+:} false; then : |
3070 | $as_echo_n "(cached) " >&6 |
3063 | $as_echo_n "(cached) " >&6 |
3071 | else |
3064 | else |
3072 | if test -n "$ac_ct_STRIP"; then |
3065 | if test -n "$ac_ct_STRIP"; then |
3073 | ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
3066 | ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
3074 | else |
3067 | else |
… | |
… | |
3076 | for as_dir in $PATH |
3069 | for as_dir in $PATH |
3077 | do |
3070 | do |
3078 | IFS=$as_save_IFS |
3071 | IFS=$as_save_IFS |
3079 | test -z "$as_dir" && as_dir=. |
3072 | test -z "$as_dir" && as_dir=. |
3080 | for ac_exec_ext in '' $ac_executable_extensions; do |
3073 | for ac_exec_ext in '' $ac_executable_extensions; do |
3081 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3074 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3082 | ac_cv_prog_ac_ct_STRIP="strip" |
3075 | ac_cv_prog_ac_ct_STRIP="strip" |
3083 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3076 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3084 | break 2 |
3077 | break 2 |
3085 | fi |
3078 | fi |
3086 | done |
3079 | done |
… | |
… | |
3151 | |
3144 | |
3152 | |
3145 | |
3153 | |
3146 | |
3154 | |
3147 | |
3155 | |
3148 | |
3156 | test -n "$ACLOCAL_FLAGS" && ACLOCAL="$ACLOCAL $ACLOCAL_FLAGS" |
|
|
3157 | |
|
|
3158 | for k in m4 ; do ACLOCAL="$ACLOCAL -I $k" ; done |
|
|
3159 | |
|
|
3160 | |
|
|
3161 | |
|
|
3162 | MKINSTALLDIRS= |
3149 | MKINSTALLDIRS= |
3163 | if test -n "$ac_aux_dir"; then |
3150 | if test -n "$ac_aux_dir"; then |
3164 | MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" |
3151 | MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" |
3165 | fi |
3152 | fi |
3166 | if test -z "$MKINSTALLDIRS"; then |
3153 | if test -z "$MKINSTALLDIRS"; then |
… | |
… | |
3173 | |
3160 | |
3174 | # Extract the first word of "msgfmt", so it can be a program name with args. |
3161 | # Extract the first word of "msgfmt", so it can be a program name with args. |
3175 | set dummy msgfmt; ac_word=$2 |
3162 | set dummy msgfmt; ac_word=$2 |
3176 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3163 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3177 | $as_echo_n "checking for $ac_word... " >&6; } |
3164 | $as_echo_n "checking for $ac_word... " >&6; } |
3178 | if test "${ac_cv_path_MSGFMT+set}" = set; then : |
3165 | if ${ac_cv_path_MSGFMT+:} false; then : |
3179 | $as_echo_n "(cached) " >&6 |
3166 | $as_echo_n "(cached) " >&6 |
3180 | else |
3167 | else |
3181 | case "$MSGFMT" in |
3168 | case "$MSGFMT" in |
3182 | /*) |
3169 | /*) |
3183 | ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. |
3170 | ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. |
… | |
… | |
3210 | |
3197 | |
3211 | # Extract the first word of "gmsgfmt", so it can be a program name with args. |
3198 | # Extract the first word of "gmsgfmt", so it can be a program name with args. |
3212 | set dummy gmsgfmt; ac_word=$2 |
3199 | set dummy gmsgfmt; ac_word=$2 |
3213 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3200 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3214 | $as_echo_n "checking for $ac_word... " >&6; } |
3201 | $as_echo_n "checking for $ac_word... " >&6; } |
3215 | if test "${ac_cv_path_GMSGFMT+set}" = set; then : |
3202 | if ${ac_cv_path_GMSGFMT+:} false; then : |
3216 | $as_echo_n "(cached) " >&6 |
3203 | $as_echo_n "(cached) " >&6 |
3217 | else |
3204 | else |
3218 | case $GMSGFMT in |
3205 | case $GMSGFMT in |
3219 | [\\/]* | ?:[\\/]*) |
3206 | [\\/]* | ?:[\\/]*) |
3220 | ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. |
3207 | ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. |
… | |
… | |
3224 | for as_dir in $PATH |
3211 | for as_dir in $PATH |
3225 | do |
3212 | do |
3226 | IFS=$as_save_IFS |
3213 | IFS=$as_save_IFS |
3227 | test -z "$as_dir" && as_dir=. |
3214 | test -z "$as_dir" && as_dir=. |
3228 | for ac_exec_ext in '' $ac_executable_extensions; do |
3215 | for ac_exec_ext in '' $ac_executable_extensions; do |
3229 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3216 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3230 | ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" |
3217 | ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" |
3231 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3218 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3232 | break 2 |
3219 | break 2 |
3233 | fi |
3220 | fi |
3234 | done |
3221 | done |
… | |
… | |
3252 | |
3239 | |
3253 | # Extract the first word of "xgettext", so it can be a program name with args. |
3240 | # Extract the first word of "xgettext", so it can be a program name with args. |
3254 | set dummy xgettext; ac_word=$2 |
3241 | set dummy xgettext; ac_word=$2 |
3255 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3242 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3256 | $as_echo_n "checking for $ac_word... " >&6; } |
3243 | $as_echo_n "checking for $ac_word... " >&6; } |
3257 | if test "${ac_cv_path_XGETTEXT+set}" = set; then : |
3244 | if ${ac_cv_path_XGETTEXT+:} false; then : |
3258 | $as_echo_n "(cached) " >&6 |
3245 | $as_echo_n "(cached) " >&6 |
3259 | else |
3246 | else |
3260 | case "$XGETTEXT" in |
3247 | case "$XGETTEXT" in |
3261 | /*) |
3248 | /*) |
3262 | ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. |
3249 | ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. |
… | |
… | |
3291 | |
3278 | |
3292 | # Extract the first word of "msgmerge", so it can be a program name with args. |
3279 | # Extract the first word of "msgmerge", so it can be a program name with args. |
3293 | set dummy msgmerge; ac_word=$2 |
3280 | set dummy msgmerge; ac_word=$2 |
3294 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3281 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3295 | $as_echo_n "checking for $ac_word... " >&6; } |
3282 | $as_echo_n "checking for $ac_word... " >&6; } |
3296 | if test "${ac_cv_path_MSGMERGE+set}" = set; then : |
3283 | if ${ac_cv_path_MSGMERGE+:} false; then : |
3297 | $as_echo_n "(cached) " >&6 |
3284 | $as_echo_n "(cached) " >&6 |
3298 | else |
3285 | else |
3299 | case "$MSGMERGE" in |
3286 | case "$MSGMERGE" in |
3300 | /*) |
3287 | /*) |
3301 | ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. |
3288 | ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. |
… | |
… | |
3442 | if test -n "$ac_tool_prefix"; then |
3429 | if test -n "$ac_tool_prefix"; then |
3443 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
3430 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
3444 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
3431 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
3445 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3432 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3446 | $as_echo_n "checking for $ac_word... " >&6; } |
3433 | $as_echo_n "checking for $ac_word... " >&6; } |
3447 | if test "${ac_cv_prog_CC+set}" = set; then : |
3434 | if ${ac_cv_prog_CC+:} false; then : |
3448 | $as_echo_n "(cached) " >&6 |
3435 | $as_echo_n "(cached) " >&6 |
3449 | else |
3436 | else |
3450 | if test -n "$CC"; then |
3437 | if test -n "$CC"; then |
3451 | ac_cv_prog_CC="$CC" # Let the user override the test. |
3438 | ac_cv_prog_CC="$CC" # Let the user override the test. |
3452 | else |
3439 | else |
… | |
… | |
3454 | for as_dir in $PATH |
3441 | for as_dir in $PATH |
3455 | do |
3442 | do |
3456 | IFS=$as_save_IFS |
3443 | IFS=$as_save_IFS |
3457 | test -z "$as_dir" && as_dir=. |
3444 | test -z "$as_dir" && as_dir=. |
3458 | for ac_exec_ext in '' $ac_executable_extensions; do |
3445 | for ac_exec_ext in '' $ac_executable_extensions; do |
3459 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3446 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3460 | ac_cv_prog_CC="${ac_tool_prefix}gcc" |
3447 | ac_cv_prog_CC="${ac_tool_prefix}gcc" |
3461 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3448 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3462 | break 2 |
3449 | break 2 |
3463 | fi |
3450 | fi |
3464 | done |
3451 | done |
… | |
… | |
3482 | ac_ct_CC=$CC |
3469 | ac_ct_CC=$CC |
3483 | # Extract the first word of "gcc", so it can be a program name with args. |
3470 | # Extract the first word of "gcc", so it can be a program name with args. |
3484 | set dummy gcc; ac_word=$2 |
3471 | set dummy gcc; ac_word=$2 |
3485 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3472 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3486 | $as_echo_n "checking for $ac_word... " >&6; } |
3473 | $as_echo_n "checking for $ac_word... " >&6; } |
3487 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : |
3474 | if ${ac_cv_prog_ac_ct_CC+:} false; then : |
3488 | $as_echo_n "(cached) " >&6 |
3475 | $as_echo_n "(cached) " >&6 |
3489 | else |
3476 | else |
3490 | if test -n "$ac_ct_CC"; then |
3477 | if test -n "$ac_ct_CC"; then |
3491 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
3478 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
3492 | else |
3479 | else |
… | |
… | |
3494 | for as_dir in $PATH |
3481 | for as_dir in $PATH |
3495 | do |
3482 | do |
3496 | IFS=$as_save_IFS |
3483 | IFS=$as_save_IFS |
3497 | test -z "$as_dir" && as_dir=. |
3484 | test -z "$as_dir" && as_dir=. |
3498 | for ac_exec_ext in '' $ac_executable_extensions; do |
3485 | for ac_exec_ext in '' $ac_executable_extensions; do |
3499 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3486 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3500 | ac_cv_prog_ac_ct_CC="gcc" |
3487 | ac_cv_prog_ac_ct_CC="gcc" |
3501 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3488 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3502 | break 2 |
3489 | break 2 |
3503 | fi |
3490 | fi |
3504 | done |
3491 | done |
… | |
… | |
3535 | if test -n "$ac_tool_prefix"; then |
3522 | if test -n "$ac_tool_prefix"; then |
3536 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
3523 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
3537 | set dummy ${ac_tool_prefix}cc; ac_word=$2 |
3524 | set dummy ${ac_tool_prefix}cc; ac_word=$2 |
3538 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3525 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3539 | $as_echo_n "checking for $ac_word... " >&6; } |
3526 | $as_echo_n "checking for $ac_word... " >&6; } |
3540 | if test "${ac_cv_prog_CC+set}" = set; then : |
3527 | if ${ac_cv_prog_CC+:} false; then : |
3541 | $as_echo_n "(cached) " >&6 |
3528 | $as_echo_n "(cached) " >&6 |
3542 | else |
3529 | else |
3543 | if test -n "$CC"; then |
3530 | if test -n "$CC"; then |
3544 | ac_cv_prog_CC="$CC" # Let the user override the test. |
3531 | ac_cv_prog_CC="$CC" # Let the user override the test. |
3545 | else |
3532 | else |
… | |
… | |
3547 | for as_dir in $PATH |
3534 | for as_dir in $PATH |
3548 | do |
3535 | do |
3549 | IFS=$as_save_IFS |
3536 | IFS=$as_save_IFS |
3550 | test -z "$as_dir" && as_dir=. |
3537 | test -z "$as_dir" && as_dir=. |
3551 | for ac_exec_ext in '' $ac_executable_extensions; do |
3538 | for ac_exec_ext in '' $ac_executable_extensions; do |
3552 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3539 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3553 | ac_cv_prog_CC="${ac_tool_prefix}cc" |
3540 | ac_cv_prog_CC="${ac_tool_prefix}cc" |
3554 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3541 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3555 | break 2 |
3542 | break 2 |
3556 | fi |
3543 | fi |
3557 | done |
3544 | done |
… | |
… | |
3575 | if test -z "$CC"; then |
3562 | if test -z "$CC"; then |
3576 | # Extract the first word of "cc", so it can be a program name with args. |
3563 | # Extract the first word of "cc", so it can be a program name with args. |
3577 | set dummy cc; ac_word=$2 |
3564 | set dummy cc; ac_word=$2 |
3578 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3565 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3579 | $as_echo_n "checking for $ac_word... " >&6; } |
3566 | $as_echo_n "checking for $ac_word... " >&6; } |
3580 | if test "${ac_cv_prog_CC+set}" = set; then : |
3567 | if ${ac_cv_prog_CC+:} false; then : |
3581 | $as_echo_n "(cached) " >&6 |
3568 | $as_echo_n "(cached) " >&6 |
3582 | else |
3569 | else |
3583 | if test -n "$CC"; then |
3570 | if test -n "$CC"; then |
3584 | ac_cv_prog_CC="$CC" # Let the user override the test. |
3571 | ac_cv_prog_CC="$CC" # Let the user override the test. |
3585 | else |
3572 | else |
… | |
… | |
3588 | for as_dir in $PATH |
3575 | for as_dir in $PATH |
3589 | do |
3576 | do |
3590 | IFS=$as_save_IFS |
3577 | IFS=$as_save_IFS |
3591 | test -z "$as_dir" && as_dir=. |
3578 | test -z "$as_dir" && as_dir=. |
3592 | for ac_exec_ext in '' $ac_executable_extensions; do |
3579 | for ac_exec_ext in '' $ac_executable_extensions; do |
3593 | 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 |
3594 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
3581 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
3595 | ac_prog_rejected=yes |
3582 | ac_prog_rejected=yes |
3596 | continue |
3583 | continue |
3597 | fi |
3584 | fi |
3598 | ac_cv_prog_CC="cc" |
3585 | ac_cv_prog_CC="cc" |
… | |
… | |
3634 | do |
3621 | do |
3635 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
3622 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
3636 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
3623 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
3637 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3624 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3638 | $as_echo_n "checking for $ac_word... " >&6; } |
3625 | $as_echo_n "checking for $ac_word... " >&6; } |
3639 | if test "${ac_cv_prog_CC+set}" = set; then : |
3626 | if ${ac_cv_prog_CC+:} false; then : |
3640 | $as_echo_n "(cached) " >&6 |
3627 | $as_echo_n "(cached) " >&6 |
3641 | else |
3628 | else |
3642 | if test -n "$CC"; then |
3629 | if test -n "$CC"; then |
3643 | ac_cv_prog_CC="$CC" # Let the user override the test. |
3630 | ac_cv_prog_CC="$CC" # Let the user override the test. |
3644 | else |
3631 | else |
… | |
… | |
3646 | for as_dir in $PATH |
3633 | for as_dir in $PATH |
3647 | do |
3634 | do |
3648 | IFS=$as_save_IFS |
3635 | IFS=$as_save_IFS |
3649 | test -z "$as_dir" && as_dir=. |
3636 | test -z "$as_dir" && as_dir=. |
3650 | for ac_exec_ext in '' $ac_executable_extensions; do |
3637 | for ac_exec_ext in '' $ac_executable_extensions; do |
3651 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3638 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3652 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
3639 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
3653 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3640 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3654 | break 2 |
3641 | break 2 |
3655 | fi |
3642 | fi |
3656 | done |
3643 | done |
… | |
… | |
3678 | do |
3665 | do |
3679 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
3666 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
3680 | set dummy $ac_prog; ac_word=$2 |
3667 | set dummy $ac_prog; ac_word=$2 |
3681 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3668 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3682 | $as_echo_n "checking for $ac_word... " >&6; } |
3669 | $as_echo_n "checking for $ac_word... " >&6; } |
3683 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : |
3670 | if ${ac_cv_prog_ac_ct_CC+:} false; then : |
3684 | $as_echo_n "(cached) " >&6 |
3671 | $as_echo_n "(cached) " >&6 |
3685 | else |
3672 | else |
3686 | if test -n "$ac_ct_CC"; then |
3673 | if test -n "$ac_ct_CC"; then |
3687 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
3674 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
3688 | else |
3675 | else |
… | |
… | |
3690 | for as_dir in $PATH |
3677 | for as_dir in $PATH |
3691 | do |
3678 | do |
3692 | IFS=$as_save_IFS |
3679 | IFS=$as_save_IFS |
3693 | test -z "$as_dir" && as_dir=. |
3680 | test -z "$as_dir" && as_dir=. |
3694 | for ac_exec_ext in '' $ac_executable_extensions; do |
3681 | for ac_exec_ext in '' $ac_executable_extensions; do |
3695 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3682 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3696 | ac_cv_prog_ac_ct_CC="$ac_prog" |
3683 | ac_cv_prog_ac_ct_CC="$ac_prog" |
3697 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3684 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3698 | break 2 |
3685 | break 2 |
3699 | fi |
3686 | fi |
3700 | done |
3687 | done |
… | |
… | |
3733 | |
3720 | |
3734 | |
3721 | |
3735 | test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3722 | test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3736 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3723 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3737 | as_fn_error $? "no acceptable C compiler found in \$PATH |
3724 | as_fn_error $? "no acceptable C compiler found in \$PATH |
3738 | See \`config.log' for more details" "$LINENO" 5 ; } |
3725 | See \`config.log' for more details" "$LINENO" 5; } |
3739 | |
3726 | |
3740 | # Provide some information about the compiler. |
3727 | # Provide some information about the compiler. |
3741 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
3728 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
3742 | set X $ac_compile |
3729 | set X $ac_compile |
3743 | ac_compiler=$2 |
3730 | ac_compiler=$2 |
… | |
… | |
3848 | sed 's/^/| /' conftest.$ac_ext >&5 |
3835 | sed 's/^/| /' conftest.$ac_ext >&5 |
3849 | |
3836 | |
3850 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3837 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3851 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3838 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3852 | as_fn_error 77 "C compiler cannot create executables |
3839 | as_fn_error 77 "C compiler cannot create executables |
3853 | See \`config.log' for more details" "$LINENO" 5 ; } |
3840 | See \`config.log' for more details" "$LINENO" 5; } |
3854 | else |
3841 | else |
3855 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
3842 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
3856 | $as_echo "yes" >&6; } |
3843 | $as_echo "yes" >&6; } |
3857 | fi |
3844 | fi |
3858 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 |
3845 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 |
… | |
… | |
3891 | done |
3878 | done |
3892 | else |
3879 | else |
3893 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3880 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3894 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3881 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3895 | as_fn_error $? "cannot compute suffix of executables: cannot compile and link |
3882 | as_fn_error $? "cannot compute suffix of executables: cannot compile and link |
3896 | See \`config.log' for more details" "$LINENO" 5 ; } |
3883 | See \`config.log' for more details" "$LINENO" 5; } |
3897 | fi |
3884 | fi |
3898 | rm -f conftest conftest$ac_cv_exeext |
3885 | rm -f conftest conftest$ac_cv_exeext |
3899 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
3886 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
3900 | $as_echo "$ac_cv_exeext" >&6; } |
3887 | $as_echo "$ac_cv_exeext" >&6; } |
3901 | |
3888 | |
… | |
… | |
3950 | else |
3937 | else |
3951 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3938 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3952 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3939 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3953 | as_fn_error $? "cannot run C compiled programs. |
3940 | as_fn_error $? "cannot run C compiled programs. |
3954 | If you meant to cross compile, use \`--host'. |
3941 | If you meant to cross compile, use \`--host'. |
3955 | See \`config.log' for more details" "$LINENO" 5 ; } |
3942 | See \`config.log' for more details" "$LINENO" 5; } |
3956 | fi |
3943 | fi |
3957 | fi |
3944 | fi |
3958 | fi |
3945 | fi |
3959 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
3946 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
3960 | $as_echo "$cross_compiling" >&6; } |
3947 | $as_echo "$cross_compiling" >&6; } |
3961 | |
3948 | |
3962 | rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out |
3949 | rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out |
3963 | ac_clean_files=$ac_clean_files_save |
3950 | ac_clean_files=$ac_clean_files_save |
3964 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 |
3951 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 |
3965 | $as_echo_n "checking for suffix of object files... " >&6; } |
3952 | $as_echo_n "checking for suffix of object files... " >&6; } |
3966 | if test "${ac_cv_objext+set}" = set; then : |
3953 | if ${ac_cv_objext+:} false; then : |
3967 | $as_echo_n "(cached) " >&6 |
3954 | $as_echo_n "(cached) " >&6 |
3968 | else |
3955 | else |
3969 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3956 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3970 | /* end confdefs.h. */ |
3957 | /* end confdefs.h. */ |
3971 | |
3958 | |
… | |
… | |
4002 | sed 's/^/| /' conftest.$ac_ext >&5 |
3989 | sed 's/^/| /' conftest.$ac_ext >&5 |
4003 | |
3990 | |
4004 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3991 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
4005 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3992 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
4006 | as_fn_error $? "cannot compute suffix of object files: cannot compile |
3993 | as_fn_error $? "cannot compute suffix of object files: cannot compile |
4007 | See \`config.log' for more details" "$LINENO" 5 ; } |
3994 | See \`config.log' for more details" "$LINENO" 5; } |
4008 | fi |
3995 | fi |
4009 | rm -f conftest.$ac_cv_objext conftest.$ac_ext |
3996 | rm -f conftest.$ac_cv_objext conftest.$ac_ext |
4010 | fi |
3997 | fi |
4011 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 |
3998 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 |
4012 | $as_echo "$ac_cv_objext" >&6; } |
3999 | $as_echo "$ac_cv_objext" >&6; } |
4013 | OBJEXT=$ac_cv_objext |
4000 | OBJEXT=$ac_cv_objext |
4014 | ac_objext=$OBJEXT |
4001 | ac_objext=$OBJEXT |
4015 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
4002 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
4016 | $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
4003 | $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
4017 | if test "${ac_cv_c_compiler_gnu+set}" = set; then : |
4004 | if ${ac_cv_c_compiler_gnu+:} false; then : |
4018 | $as_echo_n "(cached) " >&6 |
4005 | $as_echo_n "(cached) " >&6 |
4019 | else |
4006 | else |
4020 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4007 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4021 | /* end confdefs.h. */ |
4008 | /* end confdefs.h. */ |
4022 | |
4009 | |
… | |
… | |
4049 | fi |
4036 | fi |
4050 | ac_test_CFLAGS=${CFLAGS+set} |
4037 | ac_test_CFLAGS=${CFLAGS+set} |
4051 | ac_save_CFLAGS=$CFLAGS |
4038 | ac_save_CFLAGS=$CFLAGS |
4052 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
4039 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
4053 | $as_echo_n "checking whether $CC accepts -g... " >&6; } |
4040 | $as_echo_n "checking whether $CC accepts -g... " >&6; } |
4054 | if test "${ac_cv_prog_cc_g+set}" = set; then : |
4041 | if ${ac_cv_prog_cc_g+:} false; then : |
4055 | $as_echo_n "(cached) " >&6 |
4042 | $as_echo_n "(cached) " >&6 |
4056 | else |
4043 | else |
4057 | ac_save_c_werror_flag=$ac_c_werror_flag |
4044 | ac_save_c_werror_flag=$ac_c_werror_flag |
4058 | ac_c_werror_flag=yes |
4045 | ac_c_werror_flag=yes |
4059 | ac_cv_prog_cc_g=no |
4046 | ac_cv_prog_cc_g=no |
… | |
… | |
4127 | CFLAGS= |
4114 | CFLAGS= |
4128 | fi |
4115 | fi |
4129 | fi |
4116 | fi |
4130 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 |
4117 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 |
4131 | $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
4118 | $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
4132 | if test "${ac_cv_prog_cc_c89+set}" = set; then : |
4119 | if ${ac_cv_prog_cc_c89+:} false; then : |
4133 | $as_echo_n "(cached) " >&6 |
4120 | $as_echo_n "(cached) " >&6 |
4134 | else |
4121 | else |
4135 | ac_cv_prog_cc_c89=no |
4122 | ac_cv_prog_cc_c89=no |
4136 | ac_save_CC=$CC |
4123 | ac_save_CC=$CC |
4137 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4124 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4138 | /* end confdefs.h. */ |
4125 | /* end confdefs.h. */ |
4139 | #include <stdarg.h> |
4126 | #include <stdarg.h> |
4140 | #include <stdio.h> |
4127 | #include <stdio.h> |
4141 | #include <sys/types.h> |
4128 | struct stat; |
4142 | #include <sys/stat.h> |
|
|
4143 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
4129 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
4144 | struct buf { int x; }; |
4130 | struct buf { int x; }; |
4145 | FILE * (*rcsopen) (struct buf *, struct stat *, int); |
4131 | FILE * (*rcsopen) (struct buf *, struct stat *, int); |
4146 | static char *e (p, i) |
4132 | static char *e (p, i) |
4147 | char **p; |
4133 | char **p; |
… | |
… | |
4226 | |
4212 | |
4227 | depcc="$CC" am_compiler_list= |
4213 | depcc="$CC" am_compiler_list= |
4228 | |
4214 | |
4229 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
4215 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
4230 | $as_echo_n "checking dependency style of $depcc... " >&6; } |
4216 | $as_echo_n "checking dependency style of $depcc... " >&6; } |
4231 | if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then : |
4217 | if ${am_cv_CC_dependencies_compiler_type+:} false; then : |
4232 | $as_echo_n "(cached) " >&6 |
4218 | $as_echo_n "(cached) " >&6 |
4233 | else |
4219 | else |
4234 | if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
4220 | if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
4235 | # We make a subdir and do the tests there. Otherwise we can end up |
4221 | # We make a subdir and do the tests there. Otherwise we can end up |
4236 | # making bogus files that we don't know about and never remove. For |
4222 | # making bogus files that we don't know about and never remove. For |
… | |
… | |
4371 | $as_echo_n "checking for GNU ld... " >&6; } |
4357 | $as_echo_n "checking for GNU ld... " >&6; } |
4372 | else |
4358 | else |
4373 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 |
4359 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 |
4374 | $as_echo_n "checking for non-GNU ld... " >&6; } |
4360 | $as_echo_n "checking for non-GNU ld... " >&6; } |
4375 | fi |
4361 | fi |
4376 | if test "${acl_cv_path_LD+set}" = set; then : |
4362 | if ${acl_cv_path_LD+:} false; then : |
4377 | $as_echo_n "(cached) " >&6 |
4363 | $as_echo_n "(cached) " >&6 |
4378 | else |
4364 | else |
4379 | if test -z "$LD"; then |
4365 | if test -z "$LD"; then |
4380 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" |
4366 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" |
4381 | for ac_dir in $PATH; do |
4367 | for ac_dir in $PATH; do |
… | |
… | |
4407 | $as_echo "no" >&6; } |
4393 | $as_echo "no" >&6; } |
4408 | fi |
4394 | fi |
4409 | test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 |
4395 | test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 |
4410 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 |
4396 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 |
4411 | $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } |
4397 | $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } |
4412 | if test "${acl_cv_prog_gnu_ld+set}" = set; then : |
4398 | if ${acl_cv_prog_gnu_ld+:} false; then : |
4413 | $as_echo_n "(cached) " >&6 |
4399 | $as_echo_n "(cached) " >&6 |
4414 | else |
4400 | else |
4415 | # I'd rather use --version here, but apparently some GNU ld's only accept -v. |
4401 | # I'd rather use --version here, but apparently some GNU ld's only accept -v. |
4416 | if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then |
4402 | if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then |
4417 | acl_cv_prog_gnu_ld=yes |
4403 | acl_cv_prog_gnu_ld=yes |
… | |
… | |
4425 | |
4411 | |
4426 | |
4412 | |
4427 | |
4413 | |
4428 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5 |
4414 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5 |
4429 | $as_echo_n "checking for shared library run path origin... " >&6; } |
4415 | $as_echo_n "checking for shared library run path origin... " >&6; } |
4430 | if test "${acl_cv_rpath+set}" = set; then : |
4416 | if ${acl_cv_rpath+:} false; then : |
4431 | $as_echo_n "(cached) " >&6 |
4417 | $as_echo_n "(cached) " >&6 |
4432 | else |
4418 | else |
4433 | |
4419 | |
4434 | CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ |
4420 | CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ |
4435 | ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh |
4421 | ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh |
… | |
… | |
4882 | |
4868 | |
4883 | |
4869 | |
4884 | |
4870 | |
4885 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5 |
4871 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5 |
4886 | $as_echo_n "checking for GNU gettext in libc... " >&6; } |
4872 | $as_echo_n "checking for GNU gettext in libc... " >&6; } |
4887 | if test "${gt_cv_func_gnugettext1_libc+set}" = set; then : |
4873 | if ${gt_cv_func_gnugettext1_libc+:} false; then : |
4888 | $as_echo_n "(cached) " >&6 |
4874 | $as_echo_n "(cached) " >&6 |
4889 | else |
4875 | else |
4890 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4876 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4891 | /* end confdefs.h. */ |
4877 | /* end confdefs.h. */ |
4892 | #include <libintl.h> |
4878 | #include <libintl.h> |
… | |
… | |
4943 | done |
4929 | done |
4944 | |
4930 | |
4945 | |
4931 | |
4946 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5 |
4932 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5 |
4947 | $as_echo_n "checking for iconv... " >&6; } |
4933 | $as_echo_n "checking for iconv... " >&6; } |
4948 | if test "${am_cv_func_iconv+set}" = set; then : |
4934 | if ${am_cv_func_iconv+:} false; then : |
4949 | $as_echo_n "(cached) " >&6 |
4935 | $as_echo_n "(cached) " >&6 |
4950 | else |
4936 | else |
4951 | |
4937 | |
4952 | am_cv_func_iconv="no, consider installing GNU libiconv" |
4938 | am_cv_func_iconv="no, consider installing GNU libiconv" |
4953 | am_cv_lib_iconv=no |
4939 | am_cv_lib_iconv=no |
… | |
… | |
5396 | done |
5382 | done |
5397 | fi |
5383 | fi |
5398 | |
5384 | |
5399 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5 |
5385 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5 |
5400 | $as_echo_n "checking for GNU gettext in libintl... " >&6; } |
5386 | $as_echo_n "checking for GNU gettext in libintl... " >&6; } |
5401 | if test "${gt_cv_func_gnugettext1_libintl+set}" = set; then : |
5387 | if ${gt_cv_func_gnugettext1_libintl+:} false; then : |
5402 | $as_echo_n "(cached) " >&6 |
5388 | $as_echo_n "(cached) " >&6 |
5403 | else |
5389 | else |
5404 | gt_save_CPPFLAGS="$CPPFLAGS" |
5390 | gt_save_CPPFLAGS="$CPPFLAGS" |
5405 | CPPFLAGS="$CPPFLAGS $INCINTL" |
5391 | CPPFLAGS="$CPPFLAGS $INCINTL" |
5406 | gt_save_LIBS="$LIBS" |
5392 | gt_save_LIBS="$LIBS" |
… | |
… | |
5564 | # On Suns, sometimes $CPP names a directory. |
5550 | # On Suns, sometimes $CPP names a directory. |
5565 | if test -n "$CPP" && test -d "$CPP"; then |
5551 | if test -n "$CPP" && test -d "$CPP"; then |
5566 | CPP= |
5552 | CPP= |
5567 | fi |
5553 | fi |
5568 | if test -z "$CPP"; then |
5554 | if test -z "$CPP"; then |
5569 | if test "${ac_cv_prog_CPP+set}" = set; then : |
5555 | if ${ac_cv_prog_CPP+:} false; then : |
5570 | $as_echo_n "(cached) " >&6 |
5556 | $as_echo_n "(cached) " >&6 |
5571 | else |
5557 | else |
5572 | # Double quotes because CPP needs to be expanded |
5558 | # Double quotes because CPP needs to be expanded |
5573 | for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
5559 | for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
5574 | do |
5560 | do |
… | |
… | |
5680 | |
5666 | |
5681 | else |
5667 | else |
5682 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
5668 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
5683 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
5669 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
5684 | as_fn_error $? "C preprocessor \"$CPP\" fails sanity check |
5670 | as_fn_error $? "C preprocessor \"$CPP\" fails sanity check |
5685 | See \`config.log' for more details" "$LINENO" 5 ; } |
5671 | See \`config.log' for more details" "$LINENO" 5; } |
5686 | fi |
5672 | fi |
5687 | |
5673 | |
5688 | ac_ext=c |
5674 | ac_ext=c |
5689 | ac_cpp='$CPP $CPPFLAGS' |
5675 | ac_cpp='$CPP $CPPFLAGS' |
5690 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
5676 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
… | |
… | |
5705 | do |
5691 | do |
5706 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
5692 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
5707 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
5693 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
5708 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
5694 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
5709 | $as_echo_n "checking for $ac_word... " >&6; } |
5695 | $as_echo_n "checking for $ac_word... " >&6; } |
5710 | if test "${ac_cv_prog_CXX+set}" = set; then : |
5696 | if ${ac_cv_prog_CXX+:} false; then : |
5711 | $as_echo_n "(cached) " >&6 |
5697 | $as_echo_n "(cached) " >&6 |
5712 | else |
5698 | else |
5713 | if test -n "$CXX"; then |
5699 | if test -n "$CXX"; then |
5714 | ac_cv_prog_CXX="$CXX" # Let the user override the test. |
5700 | ac_cv_prog_CXX="$CXX" # Let the user override the test. |
5715 | else |
5701 | else |
… | |
… | |
5717 | for as_dir in $PATH |
5703 | for as_dir in $PATH |
5718 | do |
5704 | do |
5719 | IFS=$as_save_IFS |
5705 | IFS=$as_save_IFS |
5720 | test -z "$as_dir" && as_dir=. |
5706 | test -z "$as_dir" && as_dir=. |
5721 | for ac_exec_ext in '' $ac_executable_extensions; do |
5707 | for ac_exec_ext in '' $ac_executable_extensions; do |
5722 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
5708 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
5723 | ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" |
5709 | ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" |
5724 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5710 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5725 | break 2 |
5711 | break 2 |
5726 | fi |
5712 | fi |
5727 | done |
5713 | done |
… | |
… | |
5749 | do |
5735 | do |
5750 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
5736 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
5751 | set dummy $ac_prog; ac_word=$2 |
5737 | set dummy $ac_prog; ac_word=$2 |
5752 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
5738 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
5753 | $as_echo_n "checking for $ac_word... " >&6; } |
5739 | $as_echo_n "checking for $ac_word... " >&6; } |
5754 | if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then : |
5740 | if ${ac_cv_prog_ac_ct_CXX+:} false; then : |
5755 | $as_echo_n "(cached) " >&6 |
5741 | $as_echo_n "(cached) " >&6 |
5756 | else |
5742 | else |
5757 | if test -n "$ac_ct_CXX"; then |
5743 | if test -n "$ac_ct_CXX"; then |
5758 | ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. |
5744 | ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. |
5759 | else |
5745 | else |
… | |
… | |
5761 | for as_dir in $PATH |
5747 | for as_dir in $PATH |
5762 | do |
5748 | do |
5763 | IFS=$as_save_IFS |
5749 | IFS=$as_save_IFS |
5764 | test -z "$as_dir" && as_dir=. |
5750 | test -z "$as_dir" && as_dir=. |
5765 | for ac_exec_ext in '' $ac_executable_extensions; do |
5751 | for ac_exec_ext in '' $ac_executable_extensions; do |
5766 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
5752 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
5767 | ac_cv_prog_ac_ct_CXX="$ac_prog" |
5753 | ac_cv_prog_ac_ct_CXX="$ac_prog" |
5768 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5754 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5769 | break 2 |
5755 | break 2 |
5770 | fi |
5756 | fi |
5771 | done |
5757 | done |
… | |
… | |
5827 | test $ac_status = 0; } |
5813 | test $ac_status = 0; } |
5828 | done |
5814 | done |
5829 | |
5815 | |
5830 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 |
5816 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 |
5831 | $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } |
5817 | $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } |
5832 | if test "${ac_cv_cxx_compiler_gnu+set}" = set; then : |
5818 | if ${ac_cv_cxx_compiler_gnu+:} false; then : |
5833 | $as_echo_n "(cached) " >&6 |
5819 | $as_echo_n "(cached) " >&6 |
5834 | else |
5820 | else |
5835 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5821 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5836 | /* end confdefs.h. */ |
5822 | /* end confdefs.h. */ |
5837 | |
5823 | |
… | |
… | |
5864 | fi |
5850 | fi |
5865 | ac_test_CXXFLAGS=${CXXFLAGS+set} |
5851 | ac_test_CXXFLAGS=${CXXFLAGS+set} |
5866 | ac_save_CXXFLAGS=$CXXFLAGS |
5852 | ac_save_CXXFLAGS=$CXXFLAGS |
5867 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 |
5853 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 |
5868 | $as_echo_n "checking whether $CXX accepts -g... " >&6; } |
5854 | $as_echo_n "checking whether $CXX accepts -g... " >&6; } |
5869 | if test "${ac_cv_prog_cxx_g+set}" = set; then : |
5855 | if ${ac_cv_prog_cxx_g+:} false; then : |
5870 | $as_echo_n "(cached) " >&6 |
5856 | $as_echo_n "(cached) " >&6 |
5871 | else |
5857 | else |
5872 | ac_save_cxx_werror_flag=$ac_cxx_werror_flag |
5858 | ac_save_cxx_werror_flag=$ac_cxx_werror_flag |
5873 | ac_cxx_werror_flag=yes |
5859 | ac_cxx_werror_flag=yes |
5874 | ac_cv_prog_cxx_g=no |
5860 | ac_cv_prog_cxx_g=no |
… | |
… | |
5950 | |
5936 | |
5951 | depcc="$CXX" am_compiler_list= |
5937 | depcc="$CXX" am_compiler_list= |
5952 | |
5938 | |
5953 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
5939 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
5954 | $as_echo_n "checking dependency style of $depcc... " >&6; } |
5940 | $as_echo_n "checking dependency style of $depcc... " >&6; } |
5955 | if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then : |
5941 | if ${am_cv_CXX_dependencies_compiler_type+:} false; then : |
5956 | $as_echo_n "(cached) " >&6 |
5942 | $as_echo_n "(cached) " >&6 |
5957 | else |
5943 | else |
5958 | if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
5944 | if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
5959 | # We make a subdir and do the tests there. Otherwise we can end up |
5945 | # We make a subdir and do the tests there. Otherwise we can end up |
5960 | # making bogus files that we don't know about and never remove. For |
5946 | # making bogus files that we don't know about and never remove. For |
… | |
… | |
6051 | |
6037 | |
6052 | |
6038 | |
6053 | |
6039 | |
6054 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 |
6040 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 |
6055 | $as_echo_n "checking for grep that handles long lines and -e... " >&6; } |
6041 | $as_echo_n "checking for grep that handles long lines and -e... " >&6; } |
6056 | if test "${ac_cv_path_GREP+set}" = set; then : |
6042 | if ${ac_cv_path_GREP+:} false; then : |
6057 | $as_echo_n "(cached) " >&6 |
6043 | $as_echo_n "(cached) " >&6 |
6058 | else |
6044 | else |
6059 | if test -z "$GREP"; then |
6045 | if test -z "$GREP"; then |
6060 | ac_path_GREP_found=false |
6046 | ac_path_GREP_found=false |
6061 | # Loop through the user's path and test for each of PROGNAME-LIST |
6047 | # Loop through the user's path and test for each of PROGNAME-LIST |
… | |
… | |
6065 | IFS=$as_save_IFS |
6051 | IFS=$as_save_IFS |
6066 | test -z "$as_dir" && as_dir=. |
6052 | test -z "$as_dir" && as_dir=. |
6067 | for ac_prog in grep ggrep; do |
6053 | for ac_prog in grep ggrep; do |
6068 | for ac_exec_ext in '' $ac_executable_extensions; do |
6054 | for ac_exec_ext in '' $ac_executable_extensions; do |
6069 | ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
6055 | ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
6070 | { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue |
6056 | as_fn_executable_p "$ac_path_GREP" || continue |
6071 | # Check for GNU ac_path_GREP and select it if it is found. |
6057 | # Check for GNU ac_path_GREP and select it if it is found. |
6072 | # Check for GNU $ac_path_GREP |
6058 | # Check for GNU $ac_path_GREP |
6073 | case `"$ac_path_GREP" --version 2>&1` in |
6059 | case `"$ac_path_GREP" --version 2>&1` in |
6074 | *GNU*) |
6060 | *GNU*) |
6075 | ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; |
6061 | ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; |
… | |
… | |
6114 | GREP="$ac_cv_path_GREP" |
6100 | GREP="$ac_cv_path_GREP" |
6115 | |
6101 | |
6116 | |
6102 | |
6117 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 |
6103 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 |
6118 | $as_echo_n "checking for egrep... " >&6; } |
6104 | $as_echo_n "checking for egrep... " >&6; } |
6119 | if test "${ac_cv_path_EGREP+set}" = set; then : |
6105 | if ${ac_cv_path_EGREP+:} false; then : |
6120 | $as_echo_n "(cached) " >&6 |
6106 | $as_echo_n "(cached) " >&6 |
6121 | else |
6107 | else |
6122 | if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
6108 | if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
6123 | then ac_cv_path_EGREP="$GREP -E" |
6109 | then ac_cv_path_EGREP="$GREP -E" |
6124 | else |
6110 | else |
… | |
… | |
6131 | IFS=$as_save_IFS |
6117 | IFS=$as_save_IFS |
6132 | test -z "$as_dir" && as_dir=. |
6118 | test -z "$as_dir" && as_dir=. |
6133 | for ac_prog in egrep; do |
6119 | for ac_prog in egrep; do |
6134 | for ac_exec_ext in '' $ac_executable_extensions; do |
6120 | for ac_exec_ext in '' $ac_executable_extensions; do |
6135 | ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
6121 | ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
6136 | { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue |
6122 | as_fn_executable_p "$ac_path_EGREP" || continue |
6137 | # Check for GNU ac_path_EGREP and select it if it is found. |
6123 | # Check for GNU ac_path_EGREP and select it if it is found. |
6138 | # Check for GNU $ac_path_EGREP |
6124 | # Check for GNU $ac_path_EGREP |
6139 | case `"$ac_path_EGREP" --version 2>&1` in |
6125 | case `"$ac_path_EGREP" --version 2>&1` in |
6140 | *GNU*) |
6126 | *GNU*) |
6141 | ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; |
6127 | ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; |
… | |
… | |
6182 | |
6168 | |
6183 | |
6169 | |
6184 | if test $ac_cv_c_compiler_gnu = yes; then |
6170 | if test $ac_cv_c_compiler_gnu = yes; then |
6185 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5 |
6171 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5 |
6186 | $as_echo_n "checking whether $CC needs -traditional... " >&6; } |
6172 | $as_echo_n "checking whether $CC needs -traditional... " >&6; } |
6187 | if test "${ac_cv_prog_gcc_traditional+set}" = set; then : |
6173 | if ${ac_cv_prog_gcc_traditional+:} false; then : |
6188 | $as_echo_n "(cached) " >&6 |
6174 | $as_echo_n "(cached) " >&6 |
6189 | else |
6175 | else |
6190 | ac_pattern="Autoconf.*'x'" |
6176 | ac_pattern="Autoconf.*'x'" |
6191 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6177 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6192 | /* end confdefs.h. */ |
6178 | /* end confdefs.h. */ |
… | |
… | |
6227 | do |
6213 | do |
6228 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
6214 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
6229 | set dummy $ac_prog; ac_word=$2 |
6215 | set dummy $ac_prog; ac_word=$2 |
6230 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
6216 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
6231 | $as_echo_n "checking for $ac_word... " >&6; } |
6217 | $as_echo_n "checking for $ac_word... " >&6; } |
6232 | if test "${ac_cv_prog_AWK+set}" = set; then : |
6218 | if ${ac_cv_prog_AWK+:} false; then : |
6233 | $as_echo_n "(cached) " >&6 |
6219 | $as_echo_n "(cached) " >&6 |
6234 | else |
6220 | else |
6235 | if test -n "$AWK"; then |
6221 | if test -n "$AWK"; then |
6236 | ac_cv_prog_AWK="$AWK" # Let the user override the test. |
6222 | ac_cv_prog_AWK="$AWK" # Let the user override the test. |
6237 | else |
6223 | else |
… | |
… | |
6239 | for as_dir in $PATH |
6225 | for as_dir in $PATH |
6240 | do |
6226 | do |
6241 | IFS=$as_save_IFS |
6227 | IFS=$as_save_IFS |
6242 | test -z "$as_dir" && as_dir=. |
6228 | test -z "$as_dir" && as_dir=. |
6243 | for ac_exec_ext in '' $ac_executable_extensions; do |
6229 | for ac_exec_ext in '' $ac_executable_extensions; do |
6244 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
6230 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
6245 | ac_cv_prog_AWK="$ac_prog" |
6231 | ac_cv_prog_AWK="$ac_prog" |
6246 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6232 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6247 | break 2 |
6233 | break 2 |
6248 | fi |
6234 | fi |
6249 | done |
6235 | done |
… | |
… | |
6279 | |
6265 | |
6280 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
6266 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
6281 | $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
6267 | $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
6282 | set x ${MAKE-make} |
6268 | set x ${MAKE-make} |
6283 | ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
6269 | ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
6284 | if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then : |
6270 | if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : |
6285 | $as_echo_n "(cached) " >&6 |
6271 | $as_echo_n "(cached) " >&6 |
6286 | else |
6272 | else |
6287 | cat >conftest.make <<\_ACEOF |
6273 | cat >conftest.make <<\_ACEOF |
6288 | SHELL = /bin/sh |
6274 | SHELL = /bin/sh |
6289 | all: |
6275 | all: |
… | |
… | |
6311 | if test -n "$ac_tool_prefix"; then |
6297 | if test -n "$ac_tool_prefix"; then |
6312 | # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. |
6298 | # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. |
6313 | set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
6299 | set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
6314 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
6300 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
6315 | $as_echo_n "checking for $ac_word... " >&6; } |
6301 | $as_echo_n "checking for $ac_word... " >&6; } |
6316 | if test "${ac_cv_prog_RANLIB+set}" = set; then : |
6302 | if ${ac_cv_prog_RANLIB+:} false; then : |
6317 | $as_echo_n "(cached) " >&6 |
6303 | $as_echo_n "(cached) " >&6 |
6318 | else |
6304 | else |
6319 | if test -n "$RANLIB"; then |
6305 | if test -n "$RANLIB"; then |
6320 | ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
6306 | ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
6321 | else |
6307 | else |
… | |
… | |
6323 | for as_dir in $PATH |
6309 | for as_dir in $PATH |
6324 | do |
6310 | do |
6325 | IFS=$as_save_IFS |
6311 | IFS=$as_save_IFS |
6326 | test -z "$as_dir" && as_dir=. |
6312 | test -z "$as_dir" && as_dir=. |
6327 | for ac_exec_ext in '' $ac_executable_extensions; do |
6313 | for ac_exec_ext in '' $ac_executable_extensions; do |
6328 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
6314 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
6329 | ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
6315 | ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
6330 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6316 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6331 | break 2 |
6317 | break 2 |
6332 | fi |
6318 | fi |
6333 | done |
6319 | done |
… | |
… | |
6351 | ac_ct_RANLIB=$RANLIB |
6337 | ac_ct_RANLIB=$RANLIB |
6352 | # Extract the first word of "ranlib", so it can be a program name with args. |
6338 | # Extract the first word of "ranlib", so it can be a program name with args. |
6353 | set dummy ranlib; ac_word=$2 |
6339 | set dummy ranlib; ac_word=$2 |
6354 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
6340 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
6355 | $as_echo_n "checking for $ac_word... " >&6; } |
6341 | $as_echo_n "checking for $ac_word... " >&6; } |
6356 | if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then : |
6342 | if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : |
6357 | $as_echo_n "(cached) " >&6 |
6343 | $as_echo_n "(cached) " >&6 |
6358 | else |
6344 | else |
6359 | if test -n "$ac_ct_RANLIB"; then |
6345 | if test -n "$ac_ct_RANLIB"; then |
6360 | ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. |
6346 | ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. |
6361 | else |
6347 | else |
… | |
… | |
6363 | for as_dir in $PATH |
6349 | for as_dir in $PATH |
6364 | do |
6350 | do |
6365 | IFS=$as_save_IFS |
6351 | IFS=$as_save_IFS |
6366 | test -z "$as_dir" && as_dir=. |
6352 | test -z "$as_dir" && as_dir=. |
6367 | for ac_exec_ext in '' $ac_executable_extensions; do |
6353 | for ac_exec_ext in '' $ac_executable_extensions; do |
6368 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
6354 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
6369 | ac_cv_prog_ac_ct_RANLIB="ranlib" |
6355 | ac_cv_prog_ac_ct_RANLIB="ranlib" |
6370 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6356 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6371 | break 2 |
6357 | break 2 |
6372 | fi |
6358 | fi |
6373 | done |
6359 | done |
… | |
… | |
6549 | t end |
6535 | t end |
6550 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
6536 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
6551 | :end' >>confcache |
6537 | :end' >>confcache |
6552 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
6538 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
6553 | if test -w "$cache_file"; then |
6539 | if test -w "$cache_file"; then |
6554 | test "x$cache_file" != "x/dev/null" && |
6540 | if test "x$cache_file" != "x/dev/null"; then |
6555 | { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
6541 | { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
6556 | $as_echo "$as_me: updating cache $cache_file" >&6;} |
6542 | $as_echo "$as_me: updating cache $cache_file" >&6;} |
|
|
6543 | if test ! -f "$cache_file" || test -h "$cache_file"; then |
6557 | cat confcache >$cache_file |
6544 | cat confcache >"$cache_file" |
|
|
6545 | else |
|
|
6546 | case $cache_file in #( |
|
|
6547 | */* | ?:*) |
|
|
6548 | mv -f confcache "$cache_file"$$ && |
|
|
6549 | mv -f "$cache_file"$$ "$cache_file" ;; #( |
|
|
6550 | *) |
|
|
6551 | mv -f confcache "$cache_file" ;; |
|
|
6552 | esac |
|
|
6553 | fi |
|
|
6554 | fi |
6558 | else |
6555 | else |
6559 | { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
6556 | { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
6560 | $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
6557 | $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
6561 | fi |
6558 | fi |
6562 | fi |
6559 | fi |
… | |
… | |
6576 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
6573 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
6577 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
6574 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
6578 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 |
6575 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 |
6579 | $as_echo_n "checking how to run the C++ preprocessor... " >&6; } |
6576 | $as_echo_n "checking how to run the C++ preprocessor... " >&6; } |
6580 | if test -z "$CXXCPP"; then |
6577 | if test -z "$CXXCPP"; then |
6581 | if test "${ac_cv_prog_CXXCPP+set}" = set; then : |
6578 | if ${ac_cv_prog_CXXCPP+:} false; then : |
6582 | $as_echo_n "(cached) " >&6 |
6579 | $as_echo_n "(cached) " >&6 |
6583 | else |
6580 | else |
6584 | # Double quotes because CXXCPP needs to be expanded |
6581 | # Double quotes because CXXCPP needs to be expanded |
6585 | for CXXCPP in "$CXX -E" "/lib/cpp" |
6582 | for CXXCPP in "$CXX -E" "/lib/cpp" |
6586 | do |
6583 | do |
… | |
… | |
6692 | |
6689 | |
6693 | else |
6690 | else |
6694 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
6691 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
6695 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
6692 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
6696 | as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check |
6693 | as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check |
6697 | See \`config.log' for more details" "$LINENO" 5 ; } |
6694 | See \`config.log' for more details" "$LINENO" 5; } |
6698 | fi |
6695 | fi |
6699 | |
6696 | |
6700 | ac_ext=cpp |
6697 | ac_ext=cpp |
6701 | ac_cpp='$CXXCPP $CPPFLAGS' |
6698 | ac_cpp='$CXXCPP $CPPFLAGS' |
6702 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
6699 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
… | |
… | |
6704 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
6701 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
6705 | |
6702 | |
6706 | |
6703 | |
6707 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
6704 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
6708 | $as_echo_n "checking for ANSI C header files... " >&6; } |
6705 | $as_echo_n "checking for ANSI C header files... " >&6; } |
6709 | if test "${ac_cv_header_stdc+set}" = set; then : |
6706 | if ${ac_cv_header_stdc+:} false; then : |
6710 | $as_echo_n "(cached) " >&6 |
6707 | $as_echo_n "(cached) " >&6 |
6711 | else |
6708 | else |
6712 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6709 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6713 | /* end confdefs.h. */ |
6710 | /* end confdefs.h. */ |
6714 | #include <stdlib.h> |
6711 | #include <stdlib.h> |
… | |
… | |
6889 | done |
6886 | done |
6890 | |
6887 | |
6891 | |
6888 | |
6892 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 |
6889 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 |
6893 | $as_echo_n "checking for an ANSI C-conforming const... " >&6; } |
6890 | $as_echo_n "checking for an ANSI C-conforming const... " >&6; } |
6894 | if test "${ac_cv_c_const+set}" = set; then : |
6891 | if ${ac_cv_c_const+:} false; then : |
6895 | $as_echo_n "(cached) " >&6 |
6892 | $as_echo_n "(cached) " >&6 |
6896 | else |
6893 | else |
6897 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6894 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6898 | /* end confdefs.h. */ |
6895 | /* end confdefs.h. */ |
6899 | |
6896 | |
6900 | int |
6897 | int |
6901 | main () |
6898 | main () |
6902 | { |
6899 | { |
6903 | /* FIXME: Include the comments suggested by Paul. */ |
6900 | |
6904 | #ifndef __cplusplus |
6901 | #ifndef __cplusplus |
6905 | /* Ultrix mips cc rejects this. */ |
6902 | /* Ultrix mips cc rejects this sort of thing. */ |
6906 | typedef int charset[2]; |
6903 | typedef int charset[2]; |
6907 | const charset cs; |
6904 | const charset cs = { 0, 0 }; |
6908 | /* SunOS 4.1.1 cc rejects this. */ |
6905 | /* SunOS 4.1.1 cc rejects this. */ |
6909 | char const *const *pcpcc; |
6906 | char const *const *pcpcc; |
6910 | char **ppc; |
6907 | char **ppc; |
6911 | /* NEC SVR4.0.2 mips cc rejects this. */ |
6908 | /* NEC SVR4.0.2 mips cc rejects this. */ |
6912 | struct point {int x, y;}; |
6909 | struct point {int x, y;}; |
… | |
… | |
6919 | pcpcc = &g + (g ? g-g : 0); |
6916 | pcpcc = &g + (g ? g-g : 0); |
6920 | /* HPUX 7.0 cc rejects these. */ |
6917 | /* HPUX 7.0 cc rejects these. */ |
6921 | ++pcpcc; |
6918 | ++pcpcc; |
6922 | ppc = (char**) pcpcc; |
6919 | ppc = (char**) pcpcc; |
6923 | pcpcc = (char const *const *) ppc; |
6920 | pcpcc = (char const *const *) ppc; |
6924 | { /* SCO 3.2v4 cc rejects this. */ |
6921 | { /* SCO 3.2v4 cc rejects this sort of thing. */ |
6925 | char *t; |
6922 | char tx; |
|
|
6923 | char *t = &tx; |
6926 | char const *s = 0 ? (char *) 0 : (char const *) 0; |
6924 | char const *s = 0 ? (char *) 0 : (char const *) 0; |
6927 | |
6925 | |
6928 | *t++ = 0; |
6926 | *t++ = 0; |
6929 | if (s) return 0; |
6927 | if (s) return 0; |
6930 | } |
6928 | } |
… | |
… | |
6936 | { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ |
6934 | { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ |
6937 | typedef const int *iptr; |
6935 | typedef const int *iptr; |
6938 | iptr p = 0; |
6936 | iptr p = 0; |
6939 | ++p; |
6937 | ++p; |
6940 | } |
6938 | } |
6941 | { /* AIX XL C 1.02.0.0 rejects this saying |
6939 | { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying |
6942 | "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ |
6940 | "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ |
6943 | struct s { int j; const int *ap[3]; }; |
6941 | struct s { int j; const int *ap[3]; } bx; |
6944 | struct s *b; b->j = 5; |
6942 | struct s *b = &bx; b->j = 5; |
6945 | } |
6943 | } |
6946 | { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ |
6944 | { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ |
6947 | const int foo = 10; |
6945 | const int foo = 10; |
6948 | if (!foo) return 0; |
6946 | if (!foo) return 0; |
6949 | } |
6947 | } |
… | |
… | |
6968 | $as_echo "#define const /**/" >>confdefs.h |
6966 | $as_echo "#define const /**/" >>confdefs.h |
6969 | |
6967 | |
6970 | fi |
6968 | fi |
6971 | |
6969 | |
6972 | ac_fn_cxx_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default" |
6970 | ac_fn_cxx_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default" |
6973 | if test "x$ac_cv_type_pid_t" = x""yes; then : |
6971 | if test "x$ac_cv_type_pid_t" = xyes; then : |
6974 | |
6972 | |
6975 | else |
6973 | else |
6976 | |
6974 | |
6977 | cat >>confdefs.h <<_ACEOF |
6975 | cat >>confdefs.h <<_ACEOF |
6978 | #define pid_t int |
6976 | #define pid_t int |
6979 | _ACEOF |
6977 | _ACEOF |
6980 | |
6978 | |
6981 | fi |
6979 | fi |
6982 | |
6980 | |
6983 | ac_fn_cxx_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" |
6981 | ac_fn_cxx_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" |
6984 | if test "x$ac_cv_type_size_t" = x""yes; then : |
6982 | if test "x$ac_cv_type_size_t" = xyes; then : |
6985 | |
6983 | |
6986 | else |
6984 | else |
6987 | |
6985 | |
6988 | cat >>confdefs.h <<_ACEOF |
6986 | cat >>confdefs.h <<_ACEOF |
6989 | #define size_t unsigned int |
6987 | #define size_t unsigned int |
… | |
… | |
6991 | |
6989 | |
6992 | fi |
6990 | fi |
6993 | |
6991 | |
6994 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5 |
6992 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5 |
6995 | $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } |
6993 | $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } |
6996 | if test "${ac_cv_header_time+set}" = set; then : |
6994 | if ${ac_cv_header_time+:} false; then : |
6997 | $as_echo_n "(cached) " >&6 |
6995 | $as_echo_n "(cached) " >&6 |
6998 | else |
6996 | else |
6999 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6997 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7000 | /* end confdefs.h. */ |
6998 | /* end confdefs.h. */ |
7001 | #include <sys/types.h> |
6999 | #include <sys/types.h> |
… | |
… | |
7026 | |
7024 | |
7027 | fi |
7025 | fi |
7028 | |
7026 | |
7029 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5 |
7027 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5 |
7030 | $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; } |
7028 | $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; } |
7031 | if test "${ac_cv_struct_tm+set}" = set; then : |
7029 | if ${ac_cv_struct_tm+:} false; then : |
7032 | $as_echo_n "(cached) " >&6 |
7030 | $as_echo_n "(cached) " >&6 |
7033 | else |
7031 | else |
7034 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7032 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7035 | /* end confdefs.h. */ |
7033 | /* end confdefs.h. */ |
7036 | #include <sys/types.h> |
7034 | #include <sys/types.h> |
… | |
… | |
7062 | fi |
7060 | fi |
7063 | |
7061 | |
7064 | |
7062 | |
7065 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socklen_t" >&5 |
7063 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socklen_t" >&5 |
7066 | $as_echo_n "checking for socklen_t... " >&6; } |
7064 | $as_echo_n "checking for socklen_t... " >&6; } |
7067 | if test "${ac_cv_type_socklen_t+set}" = set; then : |
7065 | if ${ac_cv_type_socklen_t+:} false; then : |
7068 | $as_echo_n "(cached) " >&6 |
7066 | $as_echo_n "(cached) " >&6 |
7069 | else |
7067 | else |
7070 | |
7068 | |
7071 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7069 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7072 | /* end confdefs.h. */ |
7070 | /* end confdefs.h. */ |
… | |
… | |
7096 | |
7094 | |
7097 | fi |
7095 | fi |
7098 | |
7096 | |
7099 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct addrinfo" >&5 |
7097 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct addrinfo" >&5 |
7100 | $as_echo_n "checking for struct addrinfo... " >&6; } |
7098 | $as_echo_n "checking for struct addrinfo... " >&6; } |
7101 | if test "${ac_cv_struct_addrinfo+set}" = set; then : |
7099 | if ${ac_cv_struct_addrinfo+:} false; then : |
7102 | $as_echo_n "(cached) " >&6 |
7100 | $as_echo_n "(cached) " >&6 |
7103 | else |
7101 | else |
7104 | |
7102 | |
7105 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7103 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7106 | /* end confdefs.h. */ |
7104 | /* end confdefs.h. */ |
… | |
… | |
7131 | |
7129 | |
7132 | fi |
7130 | fi |
7133 | |
7131 | |
7134 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5 |
7132 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5 |
7135 | $as_echo_n "checking return type of signal handlers... " >&6; } |
7133 | $as_echo_n "checking return type of signal handlers... " >&6; } |
7136 | if test "${ac_cv_type_signal+set}" = set; then : |
7134 | if ${ac_cv_type_signal+:} false; then : |
7137 | $as_echo_n "(cached) " >&6 |
7135 | $as_echo_n "(cached) " >&6 |
7138 | else |
7136 | else |
7139 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7137 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7140 | /* end confdefs.h. */ |
7138 | /* end confdefs.h. */ |
7141 | #include <sys/types.h> |
7139 | #include <sys/types.h> |
… | |
… | |
7172 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
7170 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
7173 | |
7171 | |
7174 | |
7172 | |
7175 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
7173 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
7176 | $as_echo_n "checking for ANSI C header files... " >&6; } |
7174 | $as_echo_n "checking for ANSI C header files... " >&6; } |
7177 | if test "${ac_cv_header_stdc+set}" = set; then : |
7175 | if ${ac_cv_header_stdc+:} false; then : |
7178 | $as_echo_n "(cached) " >&6 |
7176 | $as_echo_n "(cached) " >&6 |
7179 | else |
7177 | else |
7180 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7178 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7181 | /* end confdefs.h. */ |
7179 | /* end confdefs.h. */ |
7182 | #include <stdlib.h> |
7180 | #include <stdlib.h> |
… | |
… | |
7300 | |
7298 | |
7301 | # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
7299 | # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
7302 | # for constant arguments. Useless! |
7300 | # for constant arguments. Useless! |
7303 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5 |
7301 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5 |
7304 | $as_echo_n "checking for working alloca.h... " >&6; } |
7302 | $as_echo_n "checking for working alloca.h... " >&6; } |
7305 | if test "${ac_cv_working_alloca_h+set}" = set; then : |
7303 | if ${ac_cv_working_alloca_h+:} false; then : |
7306 | $as_echo_n "(cached) " >&6 |
7304 | $as_echo_n "(cached) " >&6 |
7307 | else |
7305 | else |
7308 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7306 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7309 | /* end confdefs.h. */ |
7307 | /* end confdefs.h. */ |
7310 | #include <alloca.h> |
7308 | #include <alloca.h> |
… | |
… | |
7333 | |
7331 | |
7334 | fi |
7332 | fi |
7335 | |
7333 | |
7336 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5 |
7334 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5 |
7337 | $as_echo_n "checking for alloca... " >&6; } |
7335 | $as_echo_n "checking for alloca... " >&6; } |
7338 | if test "${ac_cv_func_alloca_works+set}" = set; then : |
7336 | if ${ac_cv_func_alloca_works+:} false; then : |
7339 | $as_echo_n "(cached) " >&6 |
7337 | $as_echo_n "(cached) " >&6 |
7340 | else |
7338 | else |
7341 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7339 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7342 | /* end confdefs.h. */ |
7340 | /* end confdefs.h. */ |
7343 | #ifdef __GNUC__ |
7341 | #ifdef __GNUC__ |
… | |
… | |
7352 | # else |
7350 | # else |
7353 | # ifdef _AIX |
7351 | # ifdef _AIX |
7354 | #pragma alloca |
7352 | #pragma alloca |
7355 | # else |
7353 | # else |
7356 | # ifndef alloca /* predefined by HP cc +Olibcalls */ |
7354 | # ifndef alloca /* predefined by HP cc +Olibcalls */ |
7357 | char *alloca (); |
7355 | void *alloca (size_t); |
7358 | # endif |
7356 | # endif |
7359 | # endif |
7357 | # endif |
7360 | # endif |
7358 | # endif |
7361 | # endif |
7359 | # endif |
7362 | #endif |
7360 | #endif |
… | |
… | |
7396 | $as_echo "#define C_ALLOCA 1" >>confdefs.h |
7394 | $as_echo "#define C_ALLOCA 1" >>confdefs.h |
7397 | |
7395 | |
7398 | |
7396 | |
7399 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5 |
7397 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5 |
7400 | $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; } |
7398 | $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; } |
7401 | if test "${ac_cv_os_cray+set}" = set; then : |
7399 | if ${ac_cv_os_cray+:} false; then : |
7402 | $as_echo_n "(cached) " >&6 |
7400 | $as_echo_n "(cached) " >&6 |
7403 | else |
7401 | else |
7404 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7402 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7405 | /* end confdefs.h. */ |
7403 | /* end confdefs.h. */ |
7406 | #if defined CRAY && ! defined CRAY2 |
7404 | #if defined CRAY && ! defined CRAY2 |
… | |
… | |
7437 | done |
7435 | done |
7438 | fi |
7436 | fi |
7439 | |
7437 | |
7440 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5 |
7438 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5 |
7441 | $as_echo_n "checking stack direction for C alloca... " >&6; } |
7439 | $as_echo_n "checking stack direction for C alloca... " >&6; } |
7442 | if test "${ac_cv_c_stack_direction+set}" = set; then : |
7440 | if ${ac_cv_c_stack_direction+:} false; then : |
7443 | $as_echo_n "(cached) " >&6 |
7441 | $as_echo_n "(cached) " >&6 |
7444 | else |
7442 | else |
7445 | if test "$cross_compiling" = yes; then : |
7443 | if test "$cross_compiling" = yes; then : |
7446 | ac_cv_c_stack_direction=0 |
7444 | ac_cv_c_stack_direction=0 |
7447 | else |
7445 | else |
7448 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7446 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7449 | /* end confdefs.h. */ |
7447 | /* end confdefs.h. */ |
7450 | $ac_includes_default |
7448 | $ac_includes_default |
7451 | int |
7449 | int |
7452 | find_stack_direction () |
7450 | find_stack_direction (int *addr, int depth) |
7453 | { |
7451 | { |
7454 | static char *addr = 0; |
7452 | int dir, dummy = 0; |
7455 | auto char dummy; |
|
|
7456 | if (addr == 0) |
7453 | if (! addr) |
7457 | { |
|
|
7458 | addr = &dummy; |
7454 | addr = &dummy; |
7459 | return find_stack_direction (); |
7455 | *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1; |
7460 | } |
7456 | dir = depth ? find_stack_direction (addr, depth - 1) : 0; |
7461 | else |
7457 | return dir + dummy; |
7462 | return (&dummy > addr) ? 1 : -1; |
|
|
7463 | } |
7458 | } |
7464 | |
7459 | |
7465 | int |
7460 | int |
7466 | main () |
7461 | main (int argc, char **argv) |
7467 | { |
7462 | { |
7468 | return find_stack_direction () < 0; |
7463 | return find_stack_direction (0, argc + !argv + 20) < 0; |
7469 | } |
7464 | } |
7470 | _ACEOF |
7465 | _ACEOF |
7471 | if ac_fn_c_try_run "$LINENO"; then : |
7466 | if ac_fn_c_try_run "$LINENO"; then : |
7472 | ac_cv_c_stack_direction=1 |
7467 | ac_cv_c_stack_direction=1 |
7473 | else |
7468 | else |
… | |
… | |
7488 | fi |
7483 | fi |
7489 | |
7484 | |
7490 | |
7485 | |
7491 | |
7486 | |
7492 | ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket" |
7487 | ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket" |
7493 | if test "x$ac_cv_func_socket" = x""yes; then : |
7488 | if test "x$ac_cv_func_socket" = xyes; then : |
7494 | |
7489 | |
7495 | else |
7490 | else |
7496 | |
7491 | |
7497 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5 |
7492 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5 |
7498 | $as_echo_n "checking for connect in -lsocket... " >&6; } |
7493 | $as_echo_n "checking for connect in -lsocket... " >&6; } |
7499 | if test "${ac_cv_lib_socket_connect+set}" = set; then : |
7494 | if ${ac_cv_lib_socket_connect+:} false; then : |
7500 | $as_echo_n "(cached) " >&6 |
7495 | $as_echo_n "(cached) " >&6 |
7501 | else |
7496 | else |
7502 | ac_check_lib_save_LIBS=$LIBS |
7497 | ac_check_lib_save_LIBS=$LIBS |
7503 | LIBS="-lsocket $LIBS" |
7498 | LIBS="-lsocket $LIBS" |
7504 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7499 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
… | |
… | |
7528 | conftest$ac_exeext conftest.$ac_ext |
7523 | conftest$ac_exeext conftest.$ac_ext |
7529 | LIBS=$ac_check_lib_save_LIBS |
7524 | LIBS=$ac_check_lib_save_LIBS |
7530 | fi |
7525 | fi |
7531 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5 |
7526 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5 |
7532 | $as_echo "$ac_cv_lib_socket_connect" >&6; } |
7527 | $as_echo "$ac_cv_lib_socket_connect" >&6; } |
7533 | if test "x$ac_cv_lib_socket_connect" = x""yes; then : |
7528 | if test "x$ac_cv_lib_socket_connect" = xyes; then : |
7534 | cat >>confdefs.h <<_ACEOF |
7529 | cat >>confdefs.h <<_ACEOF |
7535 | #define HAVE_LIBSOCKET 1 |
7530 | #define HAVE_LIBSOCKET 1 |
7536 | _ACEOF |
7531 | _ACEOF |
7537 | |
7532 | |
7538 | LIBS="-lsocket $LIBS" |
7533 | LIBS="-lsocket $LIBS" |
… | |
… | |
7541 | |
7536 | |
7542 | |
7537 | |
7543 | fi |
7538 | fi |
7544 | |
7539 | |
7545 | ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname" |
7540 | ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname" |
7546 | if test "x$ac_cv_func_gethostbyname" = x""yes; then : |
7541 | if test "x$ac_cv_func_gethostbyname" = xyes; then : |
7547 | |
7542 | |
7548 | else |
7543 | else |
7549 | |
7544 | |
7550 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5 |
7545 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5 |
7551 | $as_echo_n "checking for gethostbyname in -lnsl... " >&6; } |
7546 | $as_echo_n "checking for gethostbyname in -lnsl... " >&6; } |
7552 | if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then : |
7547 | if ${ac_cv_lib_nsl_gethostbyname+:} false; then : |
7553 | $as_echo_n "(cached) " >&6 |
7548 | $as_echo_n "(cached) " >&6 |
7554 | else |
7549 | else |
7555 | ac_check_lib_save_LIBS=$LIBS |
7550 | ac_check_lib_save_LIBS=$LIBS |
7556 | LIBS="-lnsl $LIBS" |
7551 | LIBS="-lnsl $LIBS" |
7557 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7552 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
… | |
… | |
7581 | conftest$ac_exeext conftest.$ac_ext |
7576 | conftest$ac_exeext conftest.$ac_ext |
7582 | LIBS=$ac_check_lib_save_LIBS |
7577 | LIBS=$ac_check_lib_save_LIBS |
7583 | fi |
7578 | fi |
7584 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5 |
7579 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5 |
7585 | $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; } |
7580 | $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; } |
7586 | if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then : |
7581 | if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then : |
7587 | cat >>confdefs.h <<_ACEOF |
7582 | cat >>confdefs.h <<_ACEOF |
7588 | #define HAVE_LIBNSL 1 |
7583 | #define HAVE_LIBNSL 1 |
7589 | _ACEOF |
7584 | _ACEOF |
7590 | |
7585 | |
7591 | LIBS="-lnsl $LIBS" |
7586 | LIBS="-lnsl $LIBS" |
… | |
… | |
7625 | |
7620 | |
7626 | |
7621 | |
7627 | for ac_func in clock_gettime |
7622 | for ac_func in clock_gettime |
7628 | do : |
7623 | do : |
7629 | ac_fn_c_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime" |
7624 | ac_fn_c_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime" |
7630 | if test "x$ac_cv_func_clock_gettime" = x""yes; then : |
7625 | if test "x$ac_cv_func_clock_gettime" = xyes; then : |
7631 | cat >>confdefs.h <<_ACEOF |
7626 | cat >>confdefs.h <<_ACEOF |
7632 | #define HAVE_CLOCK_GETTIME 1 |
7627 | #define HAVE_CLOCK_GETTIME 1 |
7633 | _ACEOF |
7628 | _ACEOF |
7634 | |
7629 | |
7635 | else |
7630 | else |
… | |
… | |
7665 | conftest$ac_exeext conftest.$ac_ext |
7660 | conftest$ac_exeext conftest.$ac_ext |
7666 | fi |
7661 | fi |
7667 | if test -z "$LIBEV_M4_AVOID_LIBRT" && test -z "$ac_have_clock_syscall"; then |
7662 | if test -z "$LIBEV_M4_AVOID_LIBRT" && test -z "$ac_have_clock_syscall"; then |
7668 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5 |
7663 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5 |
7669 | $as_echo_n "checking for clock_gettime in -lrt... " >&6; } |
7664 | $as_echo_n "checking for clock_gettime in -lrt... " >&6; } |
7670 | if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then : |
7665 | if ${ac_cv_lib_rt_clock_gettime+:} false; then : |
7671 | $as_echo_n "(cached) " >&6 |
7666 | $as_echo_n "(cached) " >&6 |
7672 | else |
7667 | else |
7673 | ac_check_lib_save_LIBS=$LIBS |
7668 | ac_check_lib_save_LIBS=$LIBS |
7674 | LIBS="-lrt $LIBS" |
7669 | LIBS="-lrt $LIBS" |
7675 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7670 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
… | |
… | |
7699 | conftest$ac_exeext conftest.$ac_ext |
7694 | conftest$ac_exeext conftest.$ac_ext |
7700 | LIBS=$ac_check_lib_save_LIBS |
7695 | LIBS=$ac_check_lib_save_LIBS |
7701 | fi |
7696 | fi |
7702 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5 |
7697 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5 |
7703 | $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; } |
7698 | $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; } |
7704 | if test "x$ac_cv_lib_rt_clock_gettime" = x""yes; then : |
7699 | if test "x$ac_cv_lib_rt_clock_gettime" = xyes; then : |
7705 | cat >>confdefs.h <<_ACEOF |
7700 | cat >>confdefs.h <<_ACEOF |
7706 | #define HAVE_LIBRT 1 |
7701 | #define HAVE_LIBRT 1 |
7707 | _ACEOF |
7702 | _ACEOF |
7708 | |
7703 | |
7709 | LIBS="-lrt $LIBS" |
7704 | LIBS="-lrt $LIBS" |
… | |
… | |
7712 | |
7707 | |
7713 | unset ac_cv_func_clock_gettime |
7708 | unset ac_cv_func_clock_gettime |
7714 | for ac_func in clock_gettime |
7709 | for ac_func in clock_gettime |
7715 | do : |
7710 | do : |
7716 | ac_fn_c_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime" |
7711 | ac_fn_c_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime" |
7717 | if test "x$ac_cv_func_clock_gettime" = x""yes; then : |
7712 | if test "x$ac_cv_func_clock_gettime" = xyes; then : |
7718 | cat >>confdefs.h <<_ACEOF |
7713 | cat >>confdefs.h <<_ACEOF |
7719 | #define HAVE_CLOCK_GETTIME 1 |
7714 | #define HAVE_CLOCK_GETTIME 1 |
7720 | _ACEOF |
7715 | _ACEOF |
7721 | |
7716 | |
7722 | fi |
7717 | fi |
… | |
… | |
7729 | |
7724 | |
7730 | |
7725 | |
7731 | for ac_func in nanosleep |
7726 | for ac_func in nanosleep |
7732 | do : |
7727 | do : |
7733 | ac_fn_c_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep" |
7728 | ac_fn_c_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep" |
7734 | if test "x$ac_cv_func_nanosleep" = x""yes; then : |
7729 | if test "x$ac_cv_func_nanosleep" = xyes; then : |
7735 | cat >>confdefs.h <<_ACEOF |
7730 | cat >>confdefs.h <<_ACEOF |
7736 | #define HAVE_NANOSLEEP 1 |
7731 | #define HAVE_NANOSLEEP 1 |
7737 | _ACEOF |
7732 | _ACEOF |
7738 | |
7733 | |
7739 | else |
7734 | else |
7740 | |
7735 | |
7741 | if test -z "$LIBEV_M4_AVOID_LIBRT"; then |
7736 | if test -z "$LIBEV_M4_AVOID_LIBRT"; then |
7742 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lrt" >&5 |
7737 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lrt" >&5 |
7743 | $as_echo_n "checking for nanosleep in -lrt... " >&6; } |
7738 | $as_echo_n "checking for nanosleep in -lrt... " >&6; } |
7744 | if test "${ac_cv_lib_rt_nanosleep+set}" = set; then : |
7739 | if ${ac_cv_lib_rt_nanosleep+:} false; then : |
7745 | $as_echo_n "(cached) " >&6 |
7740 | $as_echo_n "(cached) " >&6 |
7746 | else |
7741 | else |
7747 | ac_check_lib_save_LIBS=$LIBS |
7742 | ac_check_lib_save_LIBS=$LIBS |
7748 | LIBS="-lrt $LIBS" |
7743 | LIBS="-lrt $LIBS" |
7749 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7744 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
… | |
… | |
7773 | conftest$ac_exeext conftest.$ac_ext |
7768 | conftest$ac_exeext conftest.$ac_ext |
7774 | LIBS=$ac_check_lib_save_LIBS |
7769 | LIBS=$ac_check_lib_save_LIBS |
7775 | fi |
7770 | fi |
7776 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_nanosleep" >&5 |
7771 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_nanosleep" >&5 |
7777 | $as_echo "$ac_cv_lib_rt_nanosleep" >&6; } |
7772 | $as_echo "$ac_cv_lib_rt_nanosleep" >&6; } |
7778 | if test "x$ac_cv_lib_rt_nanosleep" = x""yes; then : |
7773 | if test "x$ac_cv_lib_rt_nanosleep" = xyes; then : |
7779 | cat >>confdefs.h <<_ACEOF |
7774 | cat >>confdefs.h <<_ACEOF |
7780 | #define HAVE_LIBRT 1 |
7775 | #define HAVE_LIBRT 1 |
7781 | _ACEOF |
7776 | _ACEOF |
7782 | |
7777 | |
7783 | LIBS="-lrt $LIBS" |
7778 | LIBS="-lrt $LIBS" |
… | |
… | |
7786 | |
7781 | |
7787 | unset ac_cv_func_nanosleep |
7782 | unset ac_cv_func_nanosleep |
7788 | for ac_func in nanosleep |
7783 | for ac_func in nanosleep |
7789 | do : |
7784 | do : |
7790 | ac_fn_c_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep" |
7785 | ac_fn_c_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep" |
7791 | if test "x$ac_cv_func_nanosleep" = x""yes; then : |
7786 | if test "x$ac_cv_func_nanosleep" = xyes; then : |
7792 | cat >>confdefs.h <<_ACEOF |
7787 | cat >>confdefs.h <<_ACEOF |
7793 | #define HAVE_NANOSLEEP 1 |
7788 | #define HAVE_NANOSLEEP 1 |
7794 | _ACEOF |
7789 | _ACEOF |
7795 | |
7790 | |
7796 | fi |
7791 | fi |
… | |
… | |
7800 | |
7795 | |
7801 | fi |
7796 | fi |
7802 | done |
7797 | done |
7803 | |
7798 | |
7804 | |
7799 | |
|
|
7800 | if test -z "$LIBEV_M4_AVOID_LIBM"; then |
|
|
7801 | LIBM=m |
|
|
7802 | fi |
7805 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceil in -lm" >&5 |
7803 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing floor" >&5 |
7806 | $as_echo_n "checking for ceil in -lm... " >&6; } |
7804 | $as_echo_n "checking for library containing floor... " >&6; } |
7807 | if test "${ac_cv_lib_m_ceil+set}" = set; then : |
7805 | if ${ac_cv_search_floor+:} false; then : |
7808 | $as_echo_n "(cached) " >&6 |
7806 | $as_echo_n "(cached) " >&6 |
7809 | else |
7807 | else |
7810 | ac_check_lib_save_LIBS=$LIBS |
7808 | ac_func_search_save_LIBS=$LIBS |
7811 | LIBS="-lm $LIBS" |
|
|
7812 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7809 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7813 | /* end confdefs.h. */ |
7810 | /* end confdefs.h. */ |
7814 | |
7811 | |
7815 | /* Override any GCC internal prototype to avoid an error. |
7812 | /* Override any GCC internal prototype to avoid an error. |
7816 | Use char because int might match the return type of a GCC |
7813 | Use char because int might match the return type of a GCC |
7817 | builtin and then its argument prototype would still apply. */ |
7814 | builtin and then its argument prototype would still apply. */ |
7818 | #ifdef __cplusplus |
7815 | #ifdef __cplusplus |
7819 | extern "C" |
7816 | extern "C" |
7820 | #endif |
7817 | #endif |
7821 | char ceil (); |
7818 | char floor (); |
7822 | int |
7819 | int |
7823 | main () |
7820 | main () |
7824 | { |
7821 | { |
7825 | return ceil (); |
7822 | return floor (); |
7826 | ; |
7823 | ; |
7827 | return 0; |
7824 | return 0; |
7828 | } |
7825 | } |
7829 | _ACEOF |
7826 | _ACEOF |
|
|
7827 | for ac_lib in '' $LIBM; do |
|
|
7828 | if test -z "$ac_lib"; then |
|
|
7829 | ac_res="none required" |
|
|
7830 | else |
|
|
7831 | ac_res=-l$ac_lib |
|
|
7832 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
|
|
7833 | fi |
7830 | if ac_fn_c_try_link "$LINENO"; then : |
7834 | if ac_fn_c_try_link "$LINENO"; then : |
7831 | ac_cv_lib_m_ceil=yes |
7835 | ac_cv_search_floor=$ac_res |
7832 | else |
|
|
7833 | ac_cv_lib_m_ceil=no |
|
|
7834 | fi |
7836 | fi |
7835 | rm -f core conftest.err conftest.$ac_objext \ |
7837 | rm -f core conftest.err conftest.$ac_objext \ |
7836 | conftest$ac_exeext conftest.$ac_ext |
7838 | conftest$ac_exeext |
7837 | LIBS=$ac_check_lib_save_LIBS |
7839 | if ${ac_cv_search_floor+:} false; then : |
|
|
7840 | break |
7838 | fi |
7841 | fi |
|
|
7842 | done |
|
|
7843 | if ${ac_cv_search_floor+:} false; then : |
|
|
7844 | |
|
|
7845 | else |
|
|
7846 | ac_cv_search_floor=no |
|
|
7847 | fi |
|
|
7848 | rm conftest.$ac_ext |
|
|
7849 | LIBS=$ac_func_search_save_LIBS |
|
|
7850 | fi |
7839 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ceil" >&5 |
7851 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_floor" >&5 |
7840 | $as_echo "$ac_cv_lib_m_ceil" >&6; } |
7852 | $as_echo "$ac_cv_search_floor" >&6; } |
7841 | if test "x$ac_cv_lib_m_ceil" = x""yes; then : |
7853 | ac_res=$ac_cv_search_floor |
7842 | cat >>confdefs.h <<_ACEOF |
7854 | if test "$ac_res" != no; then : |
7843 | #define HAVE_LIBM 1 |
7855 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
7844 | _ACEOF |
|
|
7845 | |
7856 | |
7846 | LIBS="-lm $LIBS" |
7857 | $as_echo "#define HAVE_FLOOR 1" >>confdefs.h |
7847 | |
7858 | |
7848 | fi |
7859 | fi |
7849 | |
7860 | |
7850 | |
7861 | |
7851 | |
7862 | |
… | |
… | |
7920 | t end |
7931 | t end |
7921 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
7932 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
7922 | :end' >>confcache |
7933 | :end' >>confcache |
7923 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
7934 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
7924 | if test -w "$cache_file"; then |
7935 | if test -w "$cache_file"; then |
7925 | test "x$cache_file" != "x/dev/null" && |
7936 | if test "x$cache_file" != "x/dev/null"; then |
7926 | { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
7937 | { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
7927 | $as_echo "$as_me: updating cache $cache_file" >&6;} |
7938 | $as_echo "$as_me: updating cache $cache_file" >&6;} |
|
|
7939 | if test ! -f "$cache_file" || test -h "$cache_file"; then |
7928 | cat confcache >$cache_file |
7940 | cat confcache >"$cache_file" |
|
|
7941 | else |
|
|
7942 | case $cache_file in #( |
|
|
7943 | */* | ?:*) |
|
|
7944 | mv -f confcache "$cache_file"$$ && |
|
|
7945 | mv -f "$cache_file"$$ "$cache_file" ;; #( |
|
|
7946 | *) |
|
|
7947 | mv -f confcache "$cache_file" ;; |
|
|
7948 | esac |
|
|
7949 | fi |
|
|
7950 | fi |
7929 | else |
7951 | else |
7930 | { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
7952 | { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
7931 | $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
7953 | $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
7932 | fi |
7954 | fi |
7933 | fi |
7955 | fi |
… | |
… | |
7944 | fi |
7966 | fi |
7945 | |
7967 | |
7946 | |
7968 | |
7947 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for linux/if_tun.h" >&5 |
7969 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for linux/if_tun.h" >&5 |
7948 | $as_echo_n "checking for linux/if_tun.h... " >&6; } |
7970 | $as_echo_n "checking for linux/if_tun.h... " >&6; } |
7949 | if test "${tinc_cv_linux_if_tun_h+set}" = set; then : |
7971 | if ${tinc_cv_linux_if_tun_h+:} false; then : |
7950 | $as_echo_n "(cached) " >&6 |
7972 | $as_echo_n "(cached) " >&6 |
7951 | else |
7973 | else |
7952 | |
7974 | |
7953 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7975 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7954 | /* end confdefs.h. */ |
7976 | /* end confdefs.h. */ |
… | |
… | |
8011 | |
8033 | |
8012 | |
8034 | |
8013 | |
8035 | |
8014 | |
8036 | |
8015 | |
8037 | |
8016 | tinc_ac_save_CPPFLAGS="$CPPFLAGS" |
|
|
8017 | |
8038 | |
8018 | |
8039 | |
8019 | # Check whether --with-openssl-include was given. |
|
|
8020 | if test "${with_openssl_include+set}" = set; then : |
|
|
8021 | withval=$with_openssl_include; openssl_include="$withval" |
|
|
8022 | CFLAGS="$CFLAGS -I$withval" |
|
|
8023 | CPPFLAGS="$CPPFLAGS -I$withval" |
|
|
8024 | |
8040 | |
8025 | fi |
|
|
8026 | |
8041 | |
8027 | |
8042 | |
8028 | |
8043 | |
8029 | # Check whether --with-openssl-lib was given. |
8044 | if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then |
8030 | if test "${with_openssl_lib+set}" = set; then : |
8045 | if test -n "$ac_tool_prefix"; then |
8031 | withval=$with_openssl_lib; openssl_lib="$withval" |
8046 | # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. |
8032 | LIBS="$LIBS -L$withval" |
8047 | set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 |
8033 | |
8048 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
8034 | fi |
8049 | $as_echo_n "checking for $ac_word... " >&6; } |
8035 | |
8050 | if ${ac_cv_path_PKG_CONFIG+:} false; then : |
8036 | |
8051 | $as_echo_n "(cached) " >&6 |
8037 | for ac_header in openssl/evp.h openssl/rsa.h openssl/rand.h openssl/err.h openssl/sha.h openssl/pem.h |
|
|
8038 | do : |
|
|
8039 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
|
8040 | ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
|
|
8041 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
|
|
8042 | cat >>confdefs.h <<_ACEOF |
|
|
8043 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
|
|
8044 | _ACEOF |
|
|
8045 | |
|
|
8046 | else |
8052 | else |
8047 | as_fn_error $? "OpenSSL header files not found." "$LINENO" 5 ; break |
8053 | case $PKG_CONFIG in |
8048 | |
8054 | [\\/]* | ?:[\\/]*) |
8049 | fi |
8055 | ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
8050 | |
8056 | ;; |
|
|
8057 | *) |
|
|
8058 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
8059 | for as_dir in $PATH |
|
|
8060 | do |
|
|
8061 | IFS=$as_save_IFS |
|
|
8062 | test -z "$as_dir" && as_dir=. |
|
|
8063 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
8064 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
8065 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
|
|
8066 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
8067 | break 2 |
|
|
8068 | fi |
8051 | done |
8069 | done |
|
|
8070 | done |
|
|
8071 | IFS=$as_save_IFS |
8052 | |
8072 | |
|
|
8073 | ;; |
|
|
8074 | esac |
|
|
8075 | fi |
|
|
8076 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
|
|
8077 | if test -n "$PKG_CONFIG"; then |
|
|
8078 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 |
|
|
8079 | $as_echo "$PKG_CONFIG" >&6; } |
|
|
8080 | else |
|
|
8081 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
8082 | $as_echo "no" >&6; } |
|
|
8083 | fi |
8053 | |
8084 | |
8054 | CPPFLAGS="$tinc_ac_save_CPPFLAGS" |
|
|
8055 | |
8085 | |
|
|
8086 | fi |
|
|
8087 | if test -z "$ac_cv_path_PKG_CONFIG"; then |
|
|
8088 | ac_pt_PKG_CONFIG=$PKG_CONFIG |
|
|
8089 | # Extract the first word of "pkg-config", so it can be a program name with args. |
|
|
8090 | set dummy pkg-config; ac_word=$2 |
8056 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SHA1_version in -lcrypto" >&5 |
8091 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
8057 | $as_echo_n "checking for SHA1_version in -lcrypto... " >&6; } |
8092 | $as_echo_n "checking for $ac_word... " >&6; } |
8058 | if test "${ac_cv_lib_crypto_SHA1_version+set}" = set; then : |
8093 | if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : |
8059 | $as_echo_n "(cached) " >&6 |
8094 | $as_echo_n "(cached) " >&6 |
8060 | else |
8095 | else |
8061 | ac_check_lib_save_LIBS=$LIBS |
8096 | case $ac_pt_PKG_CONFIG in |
8062 | LIBS="-lcrypto $LIBS" |
8097 | [\\/]* | ?:[\\/]*) |
|
|
8098 | ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. |
|
|
8099 | ;; |
|
|
8100 | *) |
|
|
8101 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
8102 | for as_dir in $PATH |
|
|
8103 | do |
|
|
8104 | IFS=$as_save_IFS |
|
|
8105 | test -z "$as_dir" && as_dir=. |
|
|
8106 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
8107 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
8108 | ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
|
|
8109 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
8110 | break 2 |
|
|
8111 | fi |
|
|
8112 | done |
|
|
8113 | done |
|
|
8114 | IFS=$as_save_IFS |
|
|
8115 | |
|
|
8116 | ;; |
|
|
8117 | esac |
|
|
8118 | fi |
|
|
8119 | ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG |
|
|
8120 | if test -n "$ac_pt_PKG_CONFIG"; then |
|
|
8121 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 |
|
|
8122 | $as_echo "$ac_pt_PKG_CONFIG" >&6; } |
|
|
8123 | else |
|
|
8124 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
8125 | $as_echo "no" >&6; } |
|
|
8126 | fi |
|
|
8127 | |
|
|
8128 | if test "x$ac_pt_PKG_CONFIG" = x; then |
|
|
8129 | PKG_CONFIG="" |
|
|
8130 | else |
|
|
8131 | case $cross_compiling:$ac_tool_warned in |
|
|
8132 | yes:) |
|
|
8133 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
|
8134 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
|
8135 | ac_tool_warned=yes ;; |
|
|
8136 | esac |
|
|
8137 | PKG_CONFIG=$ac_pt_PKG_CONFIG |
|
|
8138 | fi |
|
|
8139 | else |
|
|
8140 | PKG_CONFIG="$ac_cv_path_PKG_CONFIG" |
|
|
8141 | fi |
|
|
8142 | |
|
|
8143 | fi |
|
|
8144 | if test -n "$PKG_CONFIG"; then |
|
|
8145 | _pkg_min_version=0.9.0 |
|
|
8146 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 |
|
|
8147 | $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } |
|
|
8148 | if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then |
|
|
8149 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
|
8150 | $as_echo "yes" >&6; } |
|
|
8151 | else |
|
|
8152 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
8153 | $as_echo "no" >&6; } |
|
|
8154 | PKG_CONFIG="" |
|
|
8155 | fi |
|
|
8156 | fi |
|
|
8157 | |
|
|
8158 | pkg_failed=no |
|
|
8159 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBCRYPTO" >&5 |
|
|
8160 | $as_echo_n "checking for LIBCRYPTO... " >&6; } |
|
|
8161 | |
|
|
8162 | if test -n "$LIBCRYPTO_CFLAGS"; then |
|
|
8163 | pkg_cv_LIBCRYPTO_CFLAGS="$LIBCRYPTO_CFLAGS" |
|
|
8164 | elif test -n "$PKG_CONFIG"; then |
|
|
8165 | if test -n "$PKG_CONFIG" && \ |
|
|
8166 | { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcrypto >= 1\""; } >&5 |
|
|
8167 | ($PKG_CONFIG --exists --print-errors "libcrypto >= 1") 2>&5 |
|
|
8168 | ac_status=$? |
|
|
8169 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
|
8170 | test $ac_status = 0; }; then |
|
|
8171 | pkg_cv_LIBCRYPTO_CFLAGS=`$PKG_CONFIG --cflags "libcrypto >= 1" 2>/dev/null` |
|
|
8172 | test "x$?" != "x0" && pkg_failed=yes |
|
|
8173 | else |
|
|
8174 | pkg_failed=yes |
|
|
8175 | fi |
|
|
8176 | else |
|
|
8177 | pkg_failed=untried |
|
|
8178 | fi |
|
|
8179 | if test -n "$LIBCRYPTO_LIBS"; then |
|
|
8180 | pkg_cv_LIBCRYPTO_LIBS="$LIBCRYPTO_LIBS" |
|
|
8181 | elif test -n "$PKG_CONFIG"; then |
|
|
8182 | if test -n "$PKG_CONFIG" && \ |
|
|
8183 | { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcrypto >= 1\""; } >&5 |
|
|
8184 | ($PKG_CONFIG --exists --print-errors "libcrypto >= 1") 2>&5 |
|
|
8185 | ac_status=$? |
|
|
8186 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
|
8187 | test $ac_status = 0; }; then |
|
|
8188 | pkg_cv_LIBCRYPTO_LIBS=`$PKG_CONFIG --libs "libcrypto >= 1" 2>/dev/null` |
|
|
8189 | test "x$?" != "x0" && pkg_failed=yes |
|
|
8190 | else |
|
|
8191 | pkg_failed=yes |
|
|
8192 | fi |
|
|
8193 | else |
|
|
8194 | pkg_failed=untried |
|
|
8195 | fi |
|
|
8196 | |
|
|
8197 | |
|
|
8198 | |
|
|
8199 | if test $pkg_failed = yes; then |
|
|
8200 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
8201 | $as_echo "no" >&6; } |
|
|
8202 | |
|
|
8203 | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
|
|
8204 | _pkg_short_errors_supported=yes |
|
|
8205 | else |
|
|
8206 | _pkg_short_errors_supported=no |
|
|
8207 | fi |
|
|
8208 | if test $_pkg_short_errors_supported = yes; then |
|
|
8209 | LIBCRYPTO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcrypto >= 1" 2>&1` |
|
|
8210 | else |
|
|
8211 | LIBCRYPTO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcrypto >= 1" 2>&1` |
|
|
8212 | fi |
|
|
8213 | # Put the nasty error message in config.log where it belongs |
|
|
8214 | echo "$LIBCRYPTO_PKG_ERRORS" >&5 |
|
|
8215 | |
|
|
8216 | as_fn_error $? "Package requirements (libcrypto >= 1) were not met: |
|
|
8217 | |
|
|
8218 | $LIBCRYPTO_PKG_ERRORS |
|
|
8219 | |
|
|
8220 | Consider adjusting the PKG_CONFIG_PATH environment variable if you |
|
|
8221 | installed software in a non-standard prefix. |
|
|
8222 | |
|
|
8223 | Alternatively, you may set the environment variables LIBCRYPTO_CFLAGS |
|
|
8224 | and LIBCRYPTO_LIBS to avoid the need to call pkg-config. |
|
|
8225 | See the pkg-config man page for more details." "$LINENO" 5 |
|
|
8226 | elif test $pkg_failed = untried; then |
|
|
8227 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
8228 | $as_echo "no" >&6; } |
|
|
8229 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
|
8230 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
|
8231 | as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it |
|
|
8232 | is in your PATH or set the PKG_CONFIG environment variable to the full |
|
|
8233 | path to pkg-config. |
|
|
8234 | |
|
|
8235 | Alternatively, you may set the environment variables LIBCRYPTO_CFLAGS |
|
|
8236 | and LIBCRYPTO_LIBS to avoid the need to call pkg-config. |
|
|
8237 | See the pkg-config man page for more details. |
|
|
8238 | |
|
|
8239 | To get pkg-config, see <http://pkg-config.freedesktop.org/>. |
|
|
8240 | See \`config.log' for more details" "$LINENO" 5; } |
|
|
8241 | else |
|
|
8242 | LIBCRYPTO_CFLAGS=$pkg_cv_LIBCRYPTO_CFLAGS |
|
|
8243 | LIBCRYPTO_LIBS=$pkg_cv_LIBCRYPTO_LIBS |
|
|
8244 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
|
8245 | $as_echo "yes" >&6; } |
|
|
8246 | |
|
|
8247 | fi |
|
|
8248 | |
|
|
8249 | # Check whether --enable-threads was given. |
|
|
8250 | if test "${enable_threads+set}" = set; then : |
|
|
8251 | enableval=$enable_threads; try_threads=$enableval |
|
|
8252 | else |
|
|
8253 | try_threads=yes |
|
|
8254 | |
|
|
8255 | fi |
|
|
8256 | |
|
|
8257 | |
|
|
8258 | if test "x$try_threads" = xyes; then |
|
|
8259 | ac_fn_cxx_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default" |
|
|
8260 | if test "x$ac_cv_header_pthread_h" = xyes; then : |
|
|
8261 | |
|
|
8262 | LIBS="$LIBS -lpthread" |
8063 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
8263 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
8064 | /* end confdefs.h. */ |
8264 | /* end confdefs.h. */ |
8065 | |
8265 | #include <pthread.h> |
8066 | /* Override any GCC internal prototype to avoid an error. |
|
|
8067 | Use char because int might match the return type of a GCC |
|
|
8068 | builtin and then its argument prototype would still apply. */ |
|
|
8069 | #ifdef __cplusplus |
|
|
8070 | extern "C" |
|
|
8071 | #endif |
|
|
8072 | char SHA1_version (); |
|
|
8073 | int |
8266 | int |
8074 | main () |
8267 | main () |
8075 | { |
8268 | { |
8076 | return SHA1_version (); |
8269 | pthread_t id; pthread_create (&id, 0, 0, 0); |
8077 | ; |
8270 | ; |
8078 | return 0; |
8271 | return 0; |
8079 | } |
8272 | } |
8080 | _ACEOF |
8273 | _ACEOF |
8081 | if ac_fn_cxx_try_link "$LINENO"; then : |
8274 | if ac_fn_cxx_try_compile "$LINENO"; then : |
8082 | ac_cv_lib_crypto_SHA1_version=yes |
|
|
8083 | else |
|
|
8084 | ac_cv_lib_crypto_SHA1_version=no |
|
|
8085 | fi |
|
|
8086 | rm -f core conftest.err conftest.$ac_objext \ |
|
|
8087 | conftest$ac_exeext conftest.$ac_ext |
|
|
8088 | LIBS=$ac_check_lib_save_LIBS |
|
|
8089 | fi |
|
|
8090 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_SHA1_version" >&5 |
|
|
8091 | $as_echo "$ac_cv_lib_crypto_SHA1_version" >&6; } |
|
|
8092 | if test "x$ac_cv_lib_crypto_SHA1_version" = x""yes; then : |
|
|
8093 | LIBS="$LIBS -lcrypto" |
|
|
8094 | else |
|
|
8095 | as_fn_error $? "OpenSSL libraries not found." "$LINENO" 5 |
|
|
8096 | |
8275 | |
8097 | fi |
|
|
8098 | |
|
|
8099 | |
|
|
8100 | for ac_func in RAND_pseudo_bytes OPENSSL_add_all_algorithms_noconf OpenSSL_add_all_algorithms SSLeay_add_all_algorithms |
|
|
8101 | do : |
|
|
8102 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
|
|
8103 | ac_fn_cxx_check_func "$LINENO" "$ac_func" "$as_ac_var" |
|
|
8104 | if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
|
|
8105 | cat >>confdefs.h <<_ACEOF |
8276 | cat >>confdefs.h <<_ACEOF |
8106 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
8277 | #define ENABLE_PTHREADS 1 |
8107 | _ACEOF |
8278 | _ACEOF |
8108 | |
8279 | |
8109 | fi |
|
|
8110 | done |
|
|
8111 | |
8280 | |
8112 | |
|
|
8113 | ac_fn_cxx_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" |
|
|
8114 | if test "x$ac_cv_func_dlopen" = x""yes; then : |
|
|
8115 | |
|
|
8116 | else |
|
|
8117 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 |
|
|
8118 | $as_echo_n "checking for dlopen in -ldl... " >&6; } |
|
|
8119 | if test "${ac_cv_lib_dl_dlopen+set}" = set; then : |
|
|
8120 | $as_echo_n "(cached) " >&6 |
|
|
8121 | else |
|
|
8122 | ac_check_lib_save_LIBS=$LIBS |
|
|
8123 | LIBS="-ldl $LIBS" |
|
|
8124 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
8125 | /* end confdefs.h. */ |
|
|
8126 | |
|
|
8127 | /* Override any GCC internal prototype to avoid an error. |
|
|
8128 | Use char because int might match the return type of a GCC |
|
|
8129 | builtin and then its argument prototype would still apply. */ |
|
|
8130 | #ifdef __cplusplus |
|
|
8131 | extern "C" |
|
|
8132 | #endif |
|
|
8133 | char dlopen (); |
|
|
8134 | int |
|
|
8135 | main () |
|
|
8136 | { |
|
|
8137 | return dlopen (); |
|
|
8138 | ; |
|
|
8139 | return 0; |
|
|
8140 | } |
|
|
8141 | _ACEOF |
|
|
8142 | if ac_fn_cxx_try_link "$LINENO"; then : |
|
|
8143 | ac_cv_lib_dl_dlopen=yes |
|
|
8144 | else |
|
|
8145 | ac_cv_lib_dl_dlopen=no |
|
|
8146 | fi |
8281 | fi |
8147 | rm -f core conftest.err conftest.$ac_objext \ |
8282 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
8148 | conftest$ac_exeext conftest.$ac_ext |
|
|
8149 | LIBS=$ac_check_lib_save_LIBS |
|
|
8150 | fi |
|
|
8151 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 |
|
|
8152 | $as_echo "$ac_cv_lib_dl_dlopen" >&6; } |
|
|
8153 | if test "x$ac_cv_lib_dl_dlopen" = x""yes; then : |
|
|
8154 | LIBS="$LIBS -ldl" |
|
|
8155 | else |
|
|
8156 | as_fn_error $? "OpenSSL depends on libdl." "$LINENO" 5 |
|
|
8157 | |
8283 | |
8158 | fi |
8284 | fi |
8159 | |
8285 | |
8160 | |
8286 | |
8161 | fi |
|
|
8162 | |
|
|
8163 | |
|
|
8164 | if test "x$openssl_include" != x; then |
|
|
8165 | CXXFLAGS="$CXXFLAGS -I$openssl_include" |
|
|
8166 | fi |
8287 | fi |
8167 | |
8288 | |
8168 | # Check whether --enable-static-daemon was given. |
8289 | # Check whether --enable-static-daemon was given. |
8169 | if test "${enable_static_daemon+set}" = set; then : |
8290 | if test "${enable_static_daemon+set}" = set; then : |
8170 | enableval=$enable_static_daemon; LDFLAGS_DAEMON=-static |
8291 | enableval=$enable_static_daemon; LDFLAGS_DAEMON=-static |
… | |
… | |
8239 | |
8360 | |
8240 | # Check whether --enable-dns was given. |
8361 | # Check whether --enable-dns was given. |
8241 | if test "${enable_dns+set}" = set; then : |
8362 | if test "${enable_dns+set}" = set; then : |
8242 | enableval=$enable_dns; |
8363 | enableval=$enable_dns; |
8243 | ac_fn_cxx_check_header_mongrel "$LINENO" "gmp.h" "ac_cv_header_gmp_h" "$ac_includes_default" |
8364 | ac_fn_cxx_check_header_mongrel "$LINENO" "gmp.h" "ac_cv_header_gmp_h" "$ac_includes_default" |
8244 | if test "x$ac_cv_header_gmp_h" = x""yes; then : |
8365 | if test "x$ac_cv_header_gmp_h" = xyes; then : |
8245 | |
8366 | |
8246 | else |
8367 | else |
8247 | as_fn_error $? "gmp.h not found, required for --enable-dns" "$LINENO" 5 |
8368 | as_fn_error $? "gmp.h not found, required for --enable-dns" "$LINENO" 5 |
8248 | fi |
8369 | fi |
8249 | |
8370 | |
8250 | |
8371 | |
8251 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lgmp" >&5 |
8372 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lgmp" >&5 |
8252 | $as_echo_n "checking for main in -lgmp... " >&6; } |
8373 | $as_echo_n "checking for main in -lgmp... " >&6; } |
8253 | if test "${ac_cv_lib_gmp_main+set}" = set; then : |
8374 | if ${ac_cv_lib_gmp_main+:} false; then : |
8254 | $as_echo_n "(cached) " >&6 |
8375 | $as_echo_n "(cached) " >&6 |
8255 | else |
8376 | else |
8256 | ac_check_lib_save_LIBS=$LIBS |
8377 | ac_check_lib_save_LIBS=$LIBS |
8257 | LIBS="-lgmp $LIBS" |
8378 | LIBS="-lgmp $LIBS" |
8258 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
8379 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
… | |
… | |
8276 | conftest$ac_exeext conftest.$ac_ext |
8397 | conftest$ac_exeext conftest.$ac_ext |
8277 | LIBS=$ac_check_lib_save_LIBS |
8398 | LIBS=$ac_check_lib_save_LIBS |
8278 | fi |
8399 | fi |
8279 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gmp_main" >&5 |
8400 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gmp_main" >&5 |
8280 | $as_echo "$ac_cv_lib_gmp_main" >&6; } |
8401 | $as_echo "$ac_cv_lib_gmp_main" >&6; } |
8281 | if test "x$ac_cv_lib_gmp_main" = x""yes; then : |
8402 | if test "x$ac_cv_lib_gmp_main" = xyes; then : |
8282 | cat >>confdefs.h <<_ACEOF |
8403 | cat >>confdefs.h <<_ACEOF |
8283 | #define HAVE_LIBGMP 1 |
8404 | #define HAVE_LIBGMP 1 |
8284 | _ACEOF |
8405 | _ACEOF |
8285 | |
8406 | |
8286 | LIBS="-lgmp $LIBS" |
8407 | LIBS="-lgmp $LIBS" |
… | |
… | |
8298 | |
8419 | |
8299 | |
8420 | |
8300 | fi |
8421 | fi |
8301 | |
8422 | |
8302 | |
8423 | |
|
|
8424 | RSA=3072 |
|
|
8425 | # Check whether --enable-rsa-length was given. |
|
|
8426 | if test "${enable_rsa_length+set}" = set; then : |
|
|
8427 | enableval=$enable_rsa_length; RSA=$enableval |
|
|
8428 | |
|
|
8429 | fi |
|
|
8430 | |
|
|
8431 | |
|
|
8432 | cat >>confdefs.h <<_ACEOF |
|
|
8433 | #define RSABITS $RSA |
|
|
8434 | _ACEOF |
|
|
8435 | |
|
|
8436 | |
8303 | HMAC=12 |
8437 | HMACSIZE=12 |
8304 | # Check whether --enable-hmac-length was given. |
8438 | # Check whether --enable-hmac-length was given. |
8305 | if test "${enable_hmac_length+set}" = set; then : |
8439 | if test "${enable_hmac_length+set}" = set; then : |
8306 | enableval=$enable_hmac_length; HMAC=$enableval |
8440 | enableval=$enable_hmac_length; HMACSIZE=$enableval |
8307 | |
8441 | |
8308 | fi |
8442 | fi |
8309 | |
8443 | |
8310 | |
8444 | |
8311 | cat >>confdefs.h <<_ACEOF |
8445 | cat >>confdefs.h <<_ACEOF |
8312 | #define HMACLENGTH $HMAC |
8446 | #define HMACLENGTH $HMACSIZE |
8313 | _ACEOF |
|
|
8314 | |
|
|
8315 | |
|
|
8316 | RAND=8 |
|
|
8317 | # Check whether --enable-rand-length was given. |
|
|
8318 | if test "${enable_rand_length+set}" = set; then : |
|
|
8319 | enableval=$enable_rand_length; RAND=$enableval |
|
|
8320 | |
|
|
8321 | fi |
|
|
8322 | |
|
|
8323 | |
|
|
8324 | cat >>confdefs.h <<_ACEOF |
|
|
8325 | #define RAND_SIZE $RAND |
|
|
8326 | _ACEOF |
8447 | _ACEOF |
8327 | |
8448 | |
8328 | |
8449 | |
8329 | MTU=1500 |
8450 | MTU=1500 |
8330 | # Check whether --enable-max-mtu was given. |
8451 | # Check whether --enable-max-mtu was given. |
… | |
… | |
8333 | |
8454 | |
8334 | fi |
8455 | fi |
8335 | |
8456 | |
8336 | |
8457 | |
8337 | cat >>confdefs.h <<_ACEOF |
8458 | cat >>confdefs.h <<_ACEOF |
8338 | #define MAX_MTU $MTU + 14 |
8459 | #define MAX_MTU ($MTU + 14) |
8339 | _ACEOF |
8460 | _ACEOF |
8340 | |
8461 | |
8341 | |
8462 | |
8342 | COMPRESS=1 |
8463 | COMPRESS=1 |
8343 | # Check whether --enable-compression was given. |
8464 | # Check whether --enable-compression was given. |
… | |
… | |
8352 | cat >>confdefs.h <<_ACEOF |
8473 | cat >>confdefs.h <<_ACEOF |
8353 | #define ENABLE_COMPRESSION $COMPRESS |
8474 | #define ENABLE_COMPRESSION $COMPRESS |
8354 | _ACEOF |
8475 | _ACEOF |
8355 | |
8476 | |
8356 | |
8477 | |
8357 | CIPHER=aes_128_cbc |
8478 | CIPHER=aes_128_ctr |
8358 | # Check whether --enable-cipher was given. |
8479 | # Check whether --enable-cipher was given. |
8359 | if test "${enable_cipher+set}" = set; then : |
8480 | if test "${enable_cipher+set}" = set; then : |
8360 | enableval=$enable_cipher; if test "x$enableval" = xbf ; then CIPHER=bf_cbc ; fi |
8481 | enableval=$enable_cipher; #if test "x$enableval" = xbf ; then CIPHER=bf_ctr ; fi |
8361 | if test "x$enableval" = xaes-128; then CIPHER=aes_128_cbc; fi |
8482 | if test "x$enableval" = xaes-128 ; then CIPHER=aes_128_ctr ; fi |
8362 | if test "x$enableval" = xaes-192; then CIPHER=aes_192_cbc; fi |
8483 | if test "x$enableval" = xaes-192 ; then CIPHER=aes_192_ctr ; fi |
8363 | if test "x$enableval" = xaes-256; then CIPHER=aes_256_cbc; fi |
8484 | if test "x$enableval" = xaes-256 ; then CIPHER=aes_256_ctr ; fi |
|
|
8485 | #if test "x$enableval" = xcamellia-128; then CIPHER=camellia_128_ctr; fi |
|
|
8486 | #if test "x$enableval" = xcamellia-256; then CIPHER=camellia_256_ctr; fi |
8364 | |
8487 | |
8365 | fi |
8488 | fi |
8366 | |
8489 | |
8367 | |
8490 | |
8368 | cat >>confdefs.h <<_ACEOF |
8491 | cat >>confdefs.h <<_ACEOF |
8369 | #define ENABLE_CIPHER EVP_${CIPHER} |
8492 | #define ENABLE_CIPHER EVP_${CIPHER} |
8370 | _ACEOF |
8493 | _ACEOF |
8371 | |
8494 | |
8372 | |
8495 | |
8373 | DIGEST=ripemd160 |
8496 | HMAC=sha1 |
8374 | # Check whether --enable-digest was given. |
8497 | # Check whether --enable-hmac-digest was given. |
8375 | if test "${enable_digest+set}" = set; then : |
8498 | if test "${enable_hmac_digest+set}" = set; then : |
|
|
8499 | enableval=$enable_hmac_digest; if test "x$enableval" = xwhirlpool; then HMAC=whirlpool; fi |
8376 | enableval=$enable_digest; if test "x$enableval" = xsha512 ; then DIGEST=sha512 ; fi |
8500 | if test "x$enableval" = xsha512 ; then HMAC=sha512 ; fi |
8377 | if test "x$enableval" = xsha256 ; then DIGEST=sha256 ; fi |
8501 | if test "x$enableval" = xsha256 ; then HMAC=sha256 ; fi |
8378 | if test "x$enableval" = xsha1 ; then DIGEST=sha1 ; fi |
8502 | if test "x$enableval" = xsha1 ; then HMAC=sha1 ; fi |
8379 | if test "x$enableval" = xripemd160; then DIGEST=ripemd160; fi |
8503 | if test "x$enableval" = xripemd160; then HMAC=ripemd160; fi |
8380 | if test "x$enableval" = xmd5 ; then DIGEST=md5 ; fi |
|
|
8381 | if test "x$enableval" = xmd4 ; then DIGEST=md4 ; fi |
|
|
8382 | |
8504 | |
8383 | fi |
8505 | fi |
8384 | |
8506 | |
8385 | |
8507 | |
8386 | cat >>confdefs.h <<_ACEOF |
8508 | cat >>confdefs.h <<_ACEOF |
|
|
8509 | #define ENABLE_HMAC EVP_${HMAC} |
|
|
8510 | _ACEOF |
|
|
8511 | |
|
|
8512 | |
|
|
8513 | AUTH=sha512 |
|
|
8514 | # Check whether --enable-auth-digest was given. |
|
|
8515 | if test "${enable_auth_digest+set}" = set; then : |
|
|
8516 | enableval=$enable_auth_digest; if test "x$enableval" = xwhirlpool; then AUTH=whirlpool; fi |
|
|
8517 | if test "x$enableval" = xsha512 ; then AUTH=sha512 ; fi |
|
|
8518 | if test "x$enableval" = xsha256 ; then AUTH=sha256 ; fi |
|
|
8519 | |
|
|
8520 | fi |
|
|
8521 | |
|
|
8522 | |
|
|
8523 | cat >>confdefs.h <<_ACEOF |
8387 | #define ENABLE_DIGEST EVP_${DIGEST} |
8524 | #define ENABLE_AUTH EVP_${AUTH} |
8388 | _ACEOF |
8525 | _ACEOF |
8389 | |
8526 | |
8390 | |
8527 | |
8391 | if $CXX -v --help 2>&1 | grep -q fno-rtti; then |
8528 | if $CXX -v --help 2>&1 | grep -q fno-rtti; then |
8392 | CXXFLAGS="$CXXFLAGS -fno-rtti" |
8529 | CXXFLAGS="$CXXFLAGS -fno-rtti" |
… | |
… | |
8465 | t end |
8602 | t end |
8466 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
8603 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
8467 | :end' >>confcache |
8604 | :end' >>confcache |
8468 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
8605 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
8469 | if test -w "$cache_file"; then |
8606 | if test -w "$cache_file"; then |
8470 | test "x$cache_file" != "x/dev/null" && |
8607 | if test "x$cache_file" != "x/dev/null"; then |
8471 | { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
8608 | { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
8472 | $as_echo "$as_me: updating cache $cache_file" >&6;} |
8609 | $as_echo "$as_me: updating cache $cache_file" >&6;} |
|
|
8610 | if test ! -f "$cache_file" || test -h "$cache_file"; then |
8473 | cat confcache >$cache_file |
8611 | cat confcache >"$cache_file" |
|
|
8612 | else |
|
|
8613 | case $cache_file in #( |
|
|
8614 | */* | ?:*) |
|
|
8615 | mv -f confcache "$cache_file"$$ && |
|
|
8616 | mv -f "$cache_file"$$ "$cache_file" ;; #( |
|
|
8617 | *) |
|
|
8618 | mv -f confcache "$cache_file" ;; |
|
|
8619 | esac |
|
|
8620 | fi |
|
|
8621 | fi |
8474 | else |
8622 | else |
8475 | { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
8623 | { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
8476 | $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
8624 | $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
8477 | fi |
8625 | fi |
8478 | fi |
8626 | fi |
… | |
… | |
8520 | if test -z "${ROHC_TRUE}" && test -z "${ROHC_FALSE}"; then |
8668 | if test -z "${ROHC_TRUE}" && test -z "${ROHC_FALSE}"; then |
8521 | as_fn_error $? "conditional \"ROHC\" was never defined. |
8669 | as_fn_error $? "conditional \"ROHC\" was never defined. |
8522 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
8670 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
8523 | fi |
8671 | fi |
8524 | |
8672 | |
8525 | : ${CONFIG_STATUS=./config.status} |
8673 | : "${CONFIG_STATUS=./config.status}" |
8526 | ac_write_fail=0 |
8674 | ac_write_fail=0 |
8527 | ac_clean_files_save=$ac_clean_files |
8675 | ac_clean_files_save=$ac_clean_files |
8528 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
8676 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
8529 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 |
8677 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 |
8530 | $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} |
8678 | $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} |
… | |
… | |
8621 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
8769 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
8622 | # splitting by setting IFS to empty value.) |
8770 | # splitting by setting IFS to empty value.) |
8623 | IFS=" "" $as_nl" |
8771 | IFS=" "" $as_nl" |
8624 | |
8772 | |
8625 | # Find who we are. Look in the path if we contain no directory separator. |
8773 | # Find who we are. Look in the path if we contain no directory separator. |
|
|
8774 | as_myself= |
8626 | case $0 in #(( |
8775 | case $0 in #(( |
8627 | *[\\/]* ) as_myself=$0 ;; |
8776 | *[\\/]* ) as_myself=$0 ;; |
8628 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
8777 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
8629 | for as_dir in $PATH |
8778 | for as_dir in $PATH |
8630 | do |
8779 | do |
… | |
… | |
8816 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
8965 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
8817 | as_ln_s='ln -s' |
8966 | as_ln_s='ln -s' |
8818 | # ... but there are two gotchas: |
8967 | # ... but there are two gotchas: |
8819 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
8968 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
8820 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
8969 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
8821 | # In both cases, we have to default to `cp -p'. |
8970 | # In both cases, we have to default to `cp -pR'. |
8822 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
8971 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
8823 | as_ln_s='cp -p' |
8972 | as_ln_s='cp -pR' |
8824 | elif ln conf$$.file conf$$ 2>/dev/null; then |
8973 | elif ln conf$$.file conf$$ 2>/dev/null; then |
8825 | as_ln_s=ln |
8974 | as_ln_s=ln |
8826 | else |
8975 | else |
8827 | as_ln_s='cp -p' |
8976 | as_ln_s='cp -pR' |
8828 | fi |
8977 | fi |
8829 | else |
8978 | else |
8830 | as_ln_s='cp -p' |
8979 | as_ln_s='cp -pR' |
8831 | fi |
8980 | fi |
8832 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
8981 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
8833 | rmdir conf$$.dir 2>/dev/null |
8982 | rmdir conf$$.dir 2>/dev/null |
8834 | |
8983 | |
8835 | |
8984 | |
… | |
… | |
8885 | else |
9034 | else |
8886 | test -d ./-p && rmdir ./-p |
9035 | test -d ./-p && rmdir ./-p |
8887 | as_mkdir_p=false |
9036 | as_mkdir_p=false |
8888 | fi |
9037 | fi |
8889 | |
9038 | |
8890 | if test -x / >/dev/null 2>&1; then |
9039 | |
|
|
9040 | # as_fn_executable_p FILE |
|
|
9041 | # ----------------------- |
|
|
9042 | # Test if FILE is an executable regular file. |
|
|
9043 | as_fn_executable_p () |
|
|
9044 | { |
|
|
9045 | test -f "$1" && test -x "$1" |
|
|
9046 | } # as_fn_executable_p |
8891 | as_test_x='test -x' |
9047 | as_test_x='test -x' |
8892 | else |
9048 | as_executable_p=as_fn_executable_p |
8893 | if ls -dL / >/dev/null 2>&1; then |
|
|
8894 | as_ls_L_option=L |
|
|
8895 | else |
|
|
8896 | as_ls_L_option= |
|
|
8897 | fi |
|
|
8898 | as_test_x=' |
|
|
8899 | eval sh -c '\'' |
|
|
8900 | if test -d "$1"; then |
|
|
8901 | test -d "$1/."; |
|
|
8902 | else |
|
|
8903 | case $1 in #( |
|
|
8904 | -*)set "./$1";; |
|
|
8905 | esac; |
|
|
8906 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( |
|
|
8907 | ???[sx]*):;;*)false;;esac;fi |
|
|
8908 | '\'' sh |
|
|
8909 | ' |
|
|
8910 | fi |
|
|
8911 | as_executable_p=$as_test_x |
|
|
8912 | |
9049 | |
8913 | # Sed expression to map a string onto a valid CPP name. |
9050 | # Sed expression to map a string onto a valid CPP name. |
8914 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
9051 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
8915 | |
9052 | |
8916 | # Sed expression to map a string onto a valid variable name. |
9053 | # Sed expression to map a string onto a valid variable name. |
… | |
… | |
8928 | # Save the log message, to keep $0 and so on meaningful, and to |
9065 | # Save the log message, to keep $0 and so on meaningful, and to |
8929 | # report actual input values of CONFIG_FILES etc. instead of their |
9066 | # report actual input values of CONFIG_FILES etc. instead of their |
8930 | # values after options handling. |
9067 | # values after options handling. |
8931 | ac_log=" |
9068 | ac_log=" |
8932 | This file was extended by $as_me, which was |
9069 | This file was extended by $as_me, which was |
8933 | generated by GNU Autoconf 2.67. Invocation command line was |
9070 | generated by GNU Autoconf 2.69. Invocation command line was |
8934 | |
9071 | |
8935 | CONFIG_FILES = $CONFIG_FILES |
9072 | CONFIG_FILES = $CONFIG_FILES |
8936 | CONFIG_HEADERS = $CONFIG_HEADERS |
9073 | CONFIG_HEADERS = $CONFIG_HEADERS |
8937 | CONFIG_LINKS = $CONFIG_LINKS |
9074 | CONFIG_LINKS = $CONFIG_LINKS |
8938 | CONFIG_COMMANDS = $CONFIG_COMMANDS |
9075 | CONFIG_COMMANDS = $CONFIG_COMMANDS |
… | |
… | |
8994 | _ACEOF |
9131 | _ACEOF |
8995 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
9132 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
8996 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
9133 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
8997 | ac_cs_version="\\ |
9134 | ac_cs_version="\\ |
8998 | config.status |
9135 | config.status |
8999 | configured by $0, generated by GNU Autoconf 2.67, |
9136 | configured by $0, generated by GNU Autoconf 2.69, |
9000 | with options \\"\$ac_cs_config\\" |
9137 | with options \\"\$ac_cs_config\\" |
9001 | |
9138 | |
9002 | Copyright (C) 2010 Free Software Foundation, Inc. |
9139 | Copyright (C) 2012 Free Software Foundation, Inc. |
9003 | This config.status script is free software; the Free Software Foundation |
9140 | This config.status script is free software; the Free Software Foundation |
9004 | gives unlimited permission to copy, distribute and modify it." |
9141 | gives unlimited permission to copy, distribute and modify it." |
9005 | |
9142 | |
9006 | ac_pwd='$ac_pwd' |
9143 | ac_pwd='$ac_pwd' |
9007 | srcdir='$srcdir' |
9144 | srcdir='$srcdir' |
… | |
… | |
9087 | fi |
9224 | fi |
9088 | |
9225 | |
9089 | _ACEOF |
9226 | _ACEOF |
9090 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
9227 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
9091 | if \$ac_cs_recheck; then |
9228 | if \$ac_cs_recheck; then |
9092 | set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
9229 | set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
9093 | shift |
9230 | shift |
9094 | \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 |
9231 | \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 |
9095 | CONFIG_SHELL='$SHELL' |
9232 | CONFIG_SHELL='$SHELL' |
9096 | export CONFIG_SHELL |
9233 | export CONFIG_SHELL |
9097 | exec "\$@" |
9234 | exec "\$@" |
… | |
… | |
9138 | "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
9275 | "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
9139 | "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; |
9276 | "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; |
9140 | "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;; |
9277 | "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;; |
9141 | "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;; |
9278 | "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;; |
9142 | |
9279 | |
9143 | *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;; |
9280 | *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
9144 | esac |
9281 | esac |
9145 | done |
9282 | done |
9146 | |
9283 | |
9147 | |
9284 | |
9148 | # If the user did not use the arguments to specify the items to instantiate, |
9285 | # If the user did not use the arguments to specify the items to instantiate, |
… | |
… | |
9161 | # Hook for its removal unless debugging. |
9298 | # Hook for its removal unless debugging. |
9162 | # Note that there is a small window in which the directory will not be cleaned: |
9299 | # Note that there is a small window in which the directory will not be cleaned: |
9163 | # after its creation but before its name has been assigned to `$tmp'. |
9300 | # after its creation but before its name has been assigned to `$tmp'. |
9164 | $debug || |
9301 | $debug || |
9165 | { |
9302 | { |
9166 | tmp= |
9303 | tmp= ac_tmp= |
9167 | trap 'exit_status=$? |
9304 | trap 'exit_status=$? |
|
|
9305 | : "${ac_tmp:=$tmp}" |
9168 | { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status |
9306 | { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status |
9169 | ' 0 |
9307 | ' 0 |
9170 | trap 'as_fn_exit 1' 1 2 13 15 |
9308 | trap 'as_fn_exit 1' 1 2 13 15 |
9171 | } |
9309 | } |
9172 | # Create a (secure) tmp directory for tmp files. |
9310 | # Create a (secure) tmp directory for tmp files. |
9173 | |
9311 | |
9174 | { |
9312 | { |
9175 | tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
9313 | tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
9176 | test -n "$tmp" && test -d "$tmp" |
9314 | test -d "$tmp" |
9177 | } || |
9315 | } || |
9178 | { |
9316 | { |
9179 | tmp=./conf$$-$RANDOM |
9317 | tmp=./conf$$-$RANDOM |
9180 | (umask 077 && mkdir "$tmp") |
9318 | (umask 077 && mkdir "$tmp") |
9181 | } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 |
9319 | } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 |
|
|
9320 | ac_tmp=$tmp |
9182 | |
9321 | |
9183 | # Set up the scripts for CONFIG_FILES section. |
9322 | # Set up the scripts for CONFIG_FILES section. |
9184 | # No need to generate them if there are no CONFIG_FILES. |
9323 | # No need to generate them if there are no CONFIG_FILES. |
9185 | # This happens for instance with `./config.status config.h'. |
9324 | # This happens for instance with `./config.status config.h'. |
9186 | if test -n "$CONFIG_FILES"; then |
9325 | if test -n "$CONFIG_FILES"; then |
… | |
… | |
9198 | ac_cs_awk_cr='\\r' |
9337 | ac_cs_awk_cr='\\r' |
9199 | else |
9338 | else |
9200 | ac_cs_awk_cr=$ac_cr |
9339 | ac_cs_awk_cr=$ac_cr |
9201 | fi |
9340 | fi |
9202 | |
9341 | |
9203 | echo 'BEGIN {' >"$tmp/subs1.awk" && |
9342 | echo 'BEGIN {' >"$ac_tmp/subs1.awk" && |
9204 | _ACEOF |
9343 | _ACEOF |
9205 | |
9344 | |
9206 | |
9345 | |
9207 | { |
9346 | { |
9208 | echo "cat >conf$$subs.awk <<_ACEOF" && |
9347 | echo "cat >conf$$subs.awk <<_ACEOF" && |
… | |
… | |
9226 | fi |
9365 | fi |
9227 | done |
9366 | done |
9228 | rm -f conf$$subs.sh |
9367 | rm -f conf$$subs.sh |
9229 | |
9368 | |
9230 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
9369 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
9231 | cat >>"\$tmp/subs1.awk" <<\\_ACAWK && |
9370 | cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && |
9232 | _ACEOF |
9371 | _ACEOF |
9233 | sed -n ' |
9372 | sed -n ' |
9234 | h |
9373 | h |
9235 | s/^/S["/; s/!.*/"]=/ |
9374 | s/^/S["/; s/!.*/"]=/ |
9236 | p |
9375 | p |
… | |
… | |
9274 | } |
9413 | } |
9275 | ' >>$CONFIG_STATUS || ac_write_fail=1 |
9414 | ' >>$CONFIG_STATUS || ac_write_fail=1 |
9276 | rm -f conf$$subs.awk |
9415 | rm -f conf$$subs.awk |
9277 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
9416 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
9278 | _ACAWK |
9417 | _ACAWK |
9279 | cat >>"\$tmp/subs1.awk" <<_ACAWK && |
9418 | cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && |
9280 | for (key in S) S_is_set[key] = 1 |
9419 | for (key in S) S_is_set[key] = 1 |
9281 | FS = "" |
9420 | FS = "" |
9282 | |
9421 | |
9283 | } |
9422 | } |
9284 | { |
9423 | { |
… | |
… | |
9306 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
9445 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
9307 | if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then |
9446 | if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then |
9308 | sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" |
9447 | sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" |
9309 | else |
9448 | else |
9310 | cat |
9449 | cat |
9311 | fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ |
9450 | fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ |
9312 | || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 |
9451 | || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 |
9313 | _ACEOF |
9452 | _ACEOF |
9314 | |
9453 | |
9315 | # VPATH may cause trouble with some makes, so we remove sole $(srcdir), |
9454 | # VPATH may cause trouble with some makes, so we remove sole $(srcdir), |
9316 | # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and |
9455 | # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and |
… | |
… | |
9340 | |
9479 | |
9341 | # Set up the scripts for CONFIG_HEADERS section. |
9480 | # Set up the scripts for CONFIG_HEADERS section. |
9342 | # No need to generate them if there are no CONFIG_HEADERS. |
9481 | # No need to generate them if there are no CONFIG_HEADERS. |
9343 | # This happens for instance with `./config.status Makefile'. |
9482 | # This happens for instance with `./config.status Makefile'. |
9344 | if test -n "$CONFIG_HEADERS"; then |
9483 | if test -n "$CONFIG_HEADERS"; then |
9345 | cat >"$tmp/defines.awk" <<\_ACAWK || |
9484 | cat >"$ac_tmp/defines.awk" <<\_ACAWK || |
9346 | BEGIN { |
9485 | BEGIN { |
9347 | _ACEOF |
9486 | _ACEOF |
9348 | |
9487 | |
9349 | # Transform confdefs.h into an awk script `defines.awk', embedded as |
9488 | # Transform confdefs.h into an awk script `defines.awk', embedded as |
9350 | # here-document in config.status, that substitutes the proper values into |
9489 | # here-document in config.status, that substitutes the proper values into |
… | |
… | |
9352 | |
9491 | |
9353 | # Create a delimiter string that does not exist in confdefs.h, to ease |
9492 | # Create a delimiter string that does not exist in confdefs.h, to ease |
9354 | # handling of long lines. |
9493 | # handling of long lines. |
9355 | ac_delim='%!_!# ' |
9494 | ac_delim='%!_!# ' |
9356 | for ac_last_try in false false :; do |
9495 | for ac_last_try in false false :; do |
9357 | ac_t=`sed -n "/$ac_delim/p" confdefs.h` |
9496 | ac_tt=`sed -n "/$ac_delim/p" confdefs.h` |
9358 | if test -z "$ac_t"; then |
9497 | if test -z "$ac_tt"; then |
9359 | break |
9498 | break |
9360 | elif $ac_last_try; then |
9499 | elif $ac_last_try; then |
9361 | as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 |
9500 | as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 |
9362 | else |
9501 | else |
9363 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
9502 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
… | |
… | |
9454 | case $ac_tag in |
9593 | case $ac_tag in |
9455 | :[FHLC]) ac_mode=$ac_tag; continue;; |
9594 | :[FHLC]) ac_mode=$ac_tag; continue;; |
9456 | esac |
9595 | esac |
9457 | case $ac_mode$ac_tag in |
9596 | case $ac_mode$ac_tag in |
9458 | :[FHL]*:*);; |
9597 | :[FHL]*:*);; |
9459 | :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;; |
9598 | :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; |
9460 | :[FH]-) ac_tag=-:-;; |
9599 | :[FH]-) ac_tag=-:-;; |
9461 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
9600 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
9462 | esac |
9601 | esac |
9463 | ac_save_IFS=$IFS |
9602 | ac_save_IFS=$IFS |
9464 | IFS=: |
9603 | IFS=: |
… | |
… | |
9473 | :[FH]) |
9612 | :[FH]) |
9474 | ac_file_inputs= |
9613 | ac_file_inputs= |
9475 | for ac_f |
9614 | for ac_f |
9476 | do |
9615 | do |
9477 | case $ac_f in |
9616 | case $ac_f in |
9478 | -) ac_f="$tmp/stdin";; |
9617 | -) ac_f="$ac_tmp/stdin";; |
9479 | *) # Look for the file first in the build tree, then in the source tree |
9618 | *) # Look for the file first in the build tree, then in the source tree |
9480 | # (if the path is not absolute). The absolute path cannot be DOS-style, |
9619 | # (if the path is not absolute). The absolute path cannot be DOS-style, |
9481 | # because $ac_f cannot contain `:'. |
9620 | # because $ac_f cannot contain `:'. |
9482 | test -f "$ac_f" || |
9621 | test -f "$ac_f" || |
9483 | case $ac_f in |
9622 | case $ac_f in |
9484 | [\\/$]*) false;; |
9623 | [\\/$]*) false;; |
9485 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
9624 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
9486 | esac || |
9625 | esac || |
9487 | as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;; |
9626 | as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; |
9488 | esac |
9627 | esac |
9489 | case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
9628 | case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
9490 | as_fn_append ac_file_inputs " '$ac_f'" |
9629 | as_fn_append ac_file_inputs " '$ac_f'" |
9491 | done |
9630 | done |
9492 | |
9631 | |
… | |
… | |
9508 | sed 's/[\\\\&|]/\\\\&/g'`;; #( |
9647 | sed 's/[\\\\&|]/\\\\&/g'`;; #( |
9509 | *) ac_sed_conf_input=$configure_input;; |
9648 | *) ac_sed_conf_input=$configure_input;; |
9510 | esac |
9649 | esac |
9511 | |
9650 | |
9512 | case $ac_tag in |
9651 | case $ac_tag in |
9513 | *:-:* | *:-) cat >"$tmp/stdin" \ |
9652 | *:-:* | *:-) cat >"$ac_tmp/stdin" \ |
9514 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; |
9653 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; |
9515 | esac |
9654 | esac |
9516 | ;; |
9655 | ;; |
9517 | esac |
9656 | esac |
9518 | |
9657 | |
9519 | ac_dir=`$as_dirname -- "$ac_file" || |
9658 | ac_dir=`$as_dirname -- "$ac_file" || |
… | |
… | |
9639 | s&@abs_builddir@&$ac_abs_builddir&;t t |
9778 | s&@abs_builddir@&$ac_abs_builddir&;t t |
9640 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
9779 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
9641 | s&@INSTALL@&$ac_INSTALL&;t t |
9780 | s&@INSTALL@&$ac_INSTALL&;t t |
9642 | $ac_datarootdir_hack |
9781 | $ac_datarootdir_hack |
9643 | " |
9782 | " |
9644 | eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ |
9783 | eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ |
9645 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
9784 | >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
9646 | |
9785 | |
9647 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
9786 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
9648 | { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && |
9787 | { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && |
9649 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && |
9788 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ |
|
|
9789 | "$ac_tmp/out"`; test -z "$ac_out"; } && |
9650 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
9790 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
9651 | which seems to be undefined. Please make sure it is defined" >&5 |
9791 | which seems to be undefined. Please make sure it is defined" >&5 |
9652 | $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
9792 | $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
9653 | which seems to be undefined. Please make sure it is defined" >&2;} |
9793 | which seems to be undefined. Please make sure it is defined" >&2;} |
9654 | |
9794 | |
9655 | rm -f "$tmp/stdin" |
9795 | rm -f "$ac_tmp/stdin" |
9656 | case $ac_file in |
9796 | case $ac_file in |
9657 | -) cat "$tmp/out" && rm -f "$tmp/out";; |
9797 | -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; |
9658 | *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; |
9798 | *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; |
9659 | esac \ |
9799 | esac \ |
9660 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
9800 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
9661 | ;; |
9801 | ;; |
9662 | :H) |
9802 | :H) |
9663 | # |
9803 | # |
9664 | # CONFIG_HEADER |
9804 | # CONFIG_HEADER |
9665 | # |
9805 | # |
9666 | if test x"$ac_file" != x-; then |
9806 | if test x"$ac_file" != x-; then |
9667 | { |
9807 | { |
9668 | $as_echo "/* $configure_input */" \ |
9808 | $as_echo "/* $configure_input */" \ |
9669 | && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" |
9809 | && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" |
9670 | } >"$tmp/config.h" \ |
9810 | } >"$ac_tmp/config.h" \ |
9671 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
9811 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
9672 | if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then |
9812 | if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then |
9673 | { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 |
9813 | { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 |
9674 | $as_echo "$as_me: $ac_file is unchanged" >&6;} |
9814 | $as_echo "$as_me: $ac_file is unchanged" >&6;} |
9675 | else |
9815 | else |
9676 | rm -f "$ac_file" |
9816 | rm -f "$ac_file" |
9677 | mv "$tmp/config.h" "$ac_file" \ |
9817 | mv "$ac_tmp/config.h" "$ac_file" \ |
9678 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
9818 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
9679 | fi |
9819 | fi |
9680 | else |
9820 | else |
9681 | $as_echo "/* $configure_input */" \ |
9821 | $as_echo "/* $configure_input */" \ |
9682 | && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ |
9822 | && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ |
9683 | || as_fn_error $? "could not create -" "$LINENO" 5 |
9823 | || as_fn_error $? "could not create -" "$LINENO" 5 |
9684 | fi |
9824 | fi |
9685 | # Compute "$ac_file"'s index in $config_headers. |
9825 | # Compute "$ac_file"'s index in $config_headers. |
9686 | _am_stamp_count=1 |
9826 | _am_stamp_count=1 |
9687 | for _am_header in $config_headers :; do |
9827 | for _am_header in $config_headers :; do |
… | |
… | |
9951 | echo |
10091 | echo |
9952 | echo "***" |
10092 | echo "***" |
9953 | echo "*** Configuration Summary" |
10093 | echo "*** Configuration Summary" |
9954 | echo "***" |
10094 | echo "***" |
9955 | echo "*** Kernel Iface: $IFTYPE/$IFSUBTYPE" |
10095 | echo "*** Kernel Iface: $IFTYPE/$IFSUBTYPE" |
|
|
10096 | echo "*** RSA size: $RSA" |
9956 | echo "*** Cipher used: $CIPHER" |
10097 | echo "*** Cipher used: $CIPHER" |
9957 | echo "*** Digest used: $DIGEST" |
10098 | echo "*** Digest used: $DIGEST" |
|
|
10099 | echo "*** Authdigest: $AUTH" |
9958 | echo "*** HMAC length: $HMAC" |
10100 | echo "*** HMAC length: $HMAC" |
9959 | echo "*** RAND used: $RAND" |
|
|
9960 | echo "*** Max. MTU: $MTU" |
10101 | echo "*** Max. MTU: $MTU" |
9961 | |
10102 | |
9962 | echo "***" |
10103 | echo "***" |
9963 | echo "*** Enable options:" |
10104 | echo "*** Enable options:" |
9964 | grep ENABLE_ config.h | sed -e 's/^/*** /' |
10105 | grep ENABLE_ config.h | sed -e 's/^/*** /' |
9965 | |
10106 | |
9966 | if test "x$DIGEST" = xmd4; then |
10107 | if test "$HMACSIZE" -lt 12; then |
9967 | echo "***" |
10108 | echo "***" |
9968 | echo "*** WARNING: The digest you have chosen ($DIGEST) is known to be insecure" |
|
|
9969 | fi |
|
|
9970 | |
|
|
9971 | if test "$HMAC" -lt 12; then |
|
|
9972 | echo "***" |
|
|
9973 | echo "*** WARNING: The hmac length you have chosen ($HMAC) is probably insecure" |
10109 | echo "*** WARNING: The hmac length you have chosen ($HMACSIZE) is quite insecure" |
9974 | fi |
|
|
9975 | |
|
|
9976 | if test "$RAND" -lt 8; then |
|
|
9977 | echo "***" |
|
|
9978 | echo "*** WARNING: The random prefix you have chosen ($RAND) is probably insecure" |
|
|
9979 | fi |
10110 | fi |
9980 | |
10111 | |
9981 | echo "***" |
10112 | echo "***" |
9982 | echo |
10113 | echo |
9983 | |
10114 | |
|
|
10115 | if pkg-config --exists 'libcrypto >= 1.1 libcrypto < 2.0'; then |
|
|
10116 | cat <<EOF |
|
|
10117 | [33m |
|
|
10118 | *** |
|
|
10119 | *** WARNING WARNING WARNING WARNING WARNING WARNING WARNING |
|
|
10120 | *** |
|
|
10121 | *** You seem to configure gvpe with OpenSSL 1.1 or newer. |
|
|
10122 | *** While this probably compiles, please note that this is not only |
|
|
10123 | *** unsupported, but also discouraged. |
|
|
10124 | *** |
|
|
10125 | *** It is recommended to use either OpenSSL 1.0, as long as that is still |
|
|
10126 | *** supported, or LibreSSL (https://www.libressl.org/). |
|
|
10127 | *** |
|
|
10128 | *** This is not a political issue - while porting GVPE to the newer |
|
|
10129 | *** OpenSSL 1.1 API, I encountered two incompatible API changes that were |
|
|
10130 | *** not documented, were not caught while compiling but caused security |
|
|
10131 | *** issues. When reported, the reaction of the OpenSSL developers was to |
|
|
10132 | *** update the documentation. |
|
|
10133 | *** |
|
|
10134 | *** As a result, I lost all confidence in the ability and desire of |
|
|
10135 | *** OpenSSL developers to create a safe API, and would highly recommend |
|
|
10136 | *** switching to LibreSSL which explicitly avoids such braking changes. |
|
|
10137 | *** |
|
|
10138 | *** WARNING WARNING WARNING WARNING WARNING WARNING WARNING |
|
|
10139 | *** |
|
|
10140 | *** Again, do not use OpenSSL 1.1 and complain if stuff breaks. |
|
|
10141 | *** You have been warned, but your choice is respected. |
|
|
10142 | *** |
|
|
10143 | [0m |
9984 | |
10144 | |
|
|
10145 | EOF |
|
|
10146 | fi |
|
|
10147 | |
|
|
10148 | |