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 for gvpe 3.1. |
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. |
… | |
… | |
545 | subdirs= |
573 | subdirs= |
546 | MFLAGS= |
574 | MFLAGS= |
547 | MAKEFLAGS= |
575 | MAKEFLAGS= |
548 | |
576 | |
549 | # Identity of this package. |
577 | # Identity of this package. |
550 | PACKAGE_NAME= |
578 | PACKAGE_NAME='gvpe' |
551 | PACKAGE_TARNAME= |
579 | PACKAGE_TARNAME='gvpe' |
552 | PACKAGE_VERSION= |
580 | PACKAGE_VERSION='3.1' |
553 | PACKAGE_STRING= |
581 | PACKAGE_STRING='gvpe 3.1' |
554 | PACKAGE_BUGREPORT= |
582 | PACKAGE_BUGREPORT='' |
555 | PACKAGE_URL= |
583 | PACKAGE_URL='' |
556 | |
584 | |
557 | ac_unique_file="src/gvpe.C" |
585 | ac_unique_file="src/gvpe.C" |
558 | # Factoring default headers for most tests. |
586 | # Factoring default headers for most tests. |
559 | ac_includes_default="\ |
587 | ac_includes_default="\ |
560 | #include <stdio.h> |
588 | #include <stdio.h> |
… | |
… | |
591 | # include <unistd.h> |
619 | # include <unistd.h> |
592 | #endif" |
620 | #endif" |
593 | |
621 | |
594 | ac_subst_vars='LTLIBOBJS |
622 | ac_subst_vars='LTLIBOBJS |
595 | LIBOBJS |
623 | LIBOBJS |
596 | INCLUDES |
624 | AM_CPPFLAGS |
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_TARNAME}' |
796 | infodir='${datarootdir}/info' |
836 | infodir='${datarootdir}/info' |
797 | htmldir='${docdir}' |
837 | htmldir='${docdir}' |
798 | dvidir='${docdir}' |
838 | dvidir='${docdir}' |
799 | pdfdir='${docdir}' |
839 | pdfdir='${docdir}' |
800 | psdir='${docdir}' |
840 | psdir='${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 | |
… | |
… | |
1292 | # |
1339 | # |
1293 | if test "$ac_init_help" = "long"; then |
1340 | if test "$ac_init_help" = "long"; then |
1294 | # Omit some internal or obsolete options to make the list less imposing. |
1341 | # Omit some internal or obsolete options to make the list less imposing. |
1295 | # This message is too long to be a string in the A/UX 3.1 sh. |
1342 | # This message is too long to be a string in the A/UX 3.1 sh. |
1296 | cat <<_ACEOF |
1343 | cat <<_ACEOF |
1297 | \`configure' configures this package to adapt to many kinds of systems. |
1344 | \`configure' configures gvpe 3.1 to adapt to many kinds of systems. |
1298 | |
1345 | |
1299 | Usage: $0 [OPTION]... [VAR=VALUE]... |
1346 | Usage: $0 [OPTION]... [VAR=VALUE]... |
1300 | |
1347 | |
1301 | To assign environment variables (e.g., CC, CFLAGS...), specify them as |
1348 | To assign environment variables (e.g., CC, CFLAGS...), specify them as |
1302 | VAR=VALUE. See below for descriptions of some of the useful variables. |
1349 | VAR=VALUE. See below for descriptions of some of the useful variables. |
… | |
… | |
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] |
1342 | --infodir=DIR info documentation [DATAROOTDIR/info] |
1390 | --infodir=DIR info documentation [DATAROOTDIR/info] |
1343 | --localedir=DIR locale-dependent data [DATAROOTDIR/locale] |
1391 | --localedir=DIR locale-dependent data [DATAROOTDIR/locale] |
1344 | --mandir=DIR man documentation [DATAROOTDIR/man] |
1392 | --mandir=DIR man documentation [DATAROOTDIR/man] |
1345 | --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] |
1393 | --docdir=DIR documentation root [DATAROOTDIR/doc/gvpe] |
1346 | --htmldir=DIR html documentation [DOCDIR] |
1394 | --htmldir=DIR html documentation [DOCDIR] |
1347 | --dvidir=DIR dvi documentation [DOCDIR] |
1395 | --dvidir=DIR dvi documentation [DOCDIR] |
1348 | --pdfdir=DIR pdf documentation [DOCDIR] |
1396 | --pdfdir=DIR pdf documentation [DOCDIR] |
1349 | --psdir=DIR ps documentation [DOCDIR] |
1397 | --psdir=DIR ps documentation [DOCDIR] |
1350 | _ACEOF |
1398 | _ACEOF |
… | |
… | |
1362 | --target=TARGET configure for building compilers for TARGET [HOST] |
1410 | --target=TARGET configure for building compilers for TARGET [HOST] |
1363 | _ACEOF |
1411 | _ACEOF |
1364 | fi |
1412 | fi |
1365 | |
1413 | |
1366 | if test -n "$ac_init_help"; then |
1414 | if test -n "$ac_init_help"; then |
1367 | |
1415 | case $ac_init_help in |
|
|
1416 | short | recursive ) echo "Configuration of gvpe 3.1:";; |
|
|
1417 | esac |
1368 | cat <<\_ACEOF |
1418 | cat <<\_ACEOF |
1369 | |
1419 | |
1370 | Optional Features: |
1420 | Optional Features: |
1371 | --disable-option-checking ignore unrecognized --enable/--with options |
1421 | --disable-option-checking ignore unrecognized --enable/--with options |
1372 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
1422 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
… | |
… | |
1385 | "tincd/darwin" "native/cygwin"; Untested |
1435 | "tincd/darwin" "native/cygwin"; Untested |
1386 | combinations are: "tincd/bsd" "tincd/solaris" |
1436 | combinations are: "tincd/bsd" "tincd/solaris" |
1387 | "tincd/mingw" "tincd/raw_socket" "tincd/uml_socket"; |
1437 | "tincd/mingw" "tincd/raw_socket" "tincd/uml_socket"; |
1388 | Broken combinations are: "tincd/cygwin"; The default |
1438 | Broken combinations are: "tincd/cygwin"; The default |
1389 | is to autodetect. |
1439 | is to autodetect. |
|
|
1440 | --enable-threads try to use threads for long-running asynchronous |
|
|
1441 | operations (default enabled). |
1390 | --enable-static-daemon enable statically linked daemon. |
1442 | --enable-static-daemon enable statically linked daemon. |
1391 | --disable-icmp enable icmp protocol support (default enabled). |
1443 | --disable-icmp enable icmp protocol support (default enabled). |
1392 | --disable-tcp enable tcp protocol support (default enabled). |
1444 | --disable-tcp enable tcp protocol support (default enabled). |
1393 | --disable-http-proxy enable http proxy connect support (default enabled). |
1445 | --disable-http-proxy enable http proxy connect support (default enabled). |
1394 | --enable-dns enable dns tunnel protocol support (default |
1446 | --enable-dns enable dns tunnel protocol support (default |
1395 | disabled). |
1447 | disabled). |
|
|
1448 | --enable-rsa-length=BITS |
|
|
1449 | use BITS rsa keys (default 3072). Allowed values are |
|
|
1450 | 2048-10240. |
1396 | --enable-hmac-length=BYTES |
1451 | --enable-hmac-length=BYTES |
1397 | use a hmac of length BYTES bytes (default 12). |
1452 | use a hmac of length BYTES bytes (default 12). |
1398 | Allowed values are 4, 8, 12, 16. |
1453 | 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). |
1454 | --enable-max-mtu=BYTES enable mtu sizes upto BYTES bytes (default 1500). |
1403 | Use 9100 for jumbogram support. |
1455 | Use 9100 for jumbogram support. |
1404 | --disable-compression Disable compression support. |
1456 | --disable-compression Disable compression support. |
1405 | --enable-cipher=CIPHER Select the symmetric cipher (default "aes-128"). |
1457 | --enable-cipher=CIPHER Select the symmetric cipher (default "aes-128"). |
1406 | Must be one of "bf" (blowfish), "aes-128" |
1458 | Must be one of "aes-128" (rijndael), "aes-192", or |
1407 | (rijndael), "aes-192" or "aes-256". |
1459 | "aes-256". |
1408 | --enable-digest=CIPHER Select the digest algorithm to use (default |
1460 | --enable-hmac-digest=HMAC |
|
|
1461 | Select the HMAC digest algorithm to use (default |
1409 | "ripemd160"). Must be one of "sha512", "sha256", |
1462 | "sha1"). Must be one of "sha512", "sha256", "sha1", |
1410 | "sha1" (somewhat insecure), "ripemd160", "md5" |
1463 | "ripemd160", "whirlpool". |
1411 | (insecure) or "md4" (insecure). |
1464 | --enable-auth-digest=DIGEST |
|
|
1465 | Select the hmac algorithm to use (default "sha512"). |
|
|
1466 | Must be one of "sha512", "sha256", "whirlpool". |
1412 | |
1467 | |
1413 | Optional Packages: |
1468 | Optional Packages: |
1414 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
1469 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
1415 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
1470 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
1416 | --with-gnu-ld assume the C compiler uses GNU ld default=no |
1471 | --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 |
1473 | --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 |
1474 | --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 |
1475 | --without-libintl-prefix don't search for libintl in includedir and libdir |
1421 | --with-kernel=dir give the directory with kernel sources |
1476 | --with-kernel=dir give the directory with kernel sources |
1422 | (default: /usr/src/linux) |
1477 | (default: /usr/src/linux) |
1423 | --with-openssl-include=DIR OpenSSL headers directory (without trailing /openssl) |
|
|
1424 | --with-openssl-lib=DIR OpenSSL library directory |
|
|
1425 | |
1478 | |
1426 | Some influential environment variables: |
1479 | Some influential environment variables: |
1427 | CC C compiler command |
1480 | CC C compiler command |
1428 | CFLAGS C compiler flags |
1481 | CFLAGS C compiler flags |
1429 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
1482 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
… | |
… | |
1433 | you have headers in a nonstandard directory <include dir> |
1486 | you have headers in a nonstandard directory <include dir> |
1434 | CPP C preprocessor |
1487 | CPP C preprocessor |
1435 | CXX C++ compiler command |
1488 | CXX C++ compiler command |
1436 | CXXFLAGS C++ compiler flags |
1489 | CXXFLAGS C++ compiler flags |
1437 | CXXCPP C++ preprocessor |
1490 | CXXCPP C++ preprocessor |
|
|
1491 | PKG_CONFIG path to pkg-config utility |
|
|
1492 | PKG_CONFIG_PATH |
|
|
1493 | directories to add to pkg-config's search path |
|
|
1494 | PKG_CONFIG_LIBDIR |
|
|
1495 | path overriding pkg-config's built-in search path |
|
|
1496 | LIBCRYPTO_CFLAGS |
|
|
1497 | C compiler flags for LIBCRYPTO, overriding pkg-config |
|
|
1498 | LIBCRYPTO_LIBS |
|
|
1499 | linker flags for LIBCRYPTO, overriding pkg-config |
1438 | |
1500 | |
1439 | Use these variables to override the choices made by `configure' or to help |
1501 | Use these variables to override the choices made by `configure' or to help |
1440 | it to find libraries and programs with nonstandard names/locations. |
1502 | it to find libraries and programs with nonstandard names/locations. |
1441 | |
1503 | |
1442 | Report bugs to the package provider. |
1504 | Report bugs to the package provider. |
… | |
… | |
1500 | fi |
1562 | fi |
1501 | |
1563 | |
1502 | test -n "$ac_init_help" && exit $ac_status |
1564 | test -n "$ac_init_help" && exit $ac_status |
1503 | if $ac_init_version; then |
1565 | if $ac_init_version; then |
1504 | cat <<\_ACEOF |
1566 | cat <<\_ACEOF |
1505 | configure |
1567 | gvpe configure 3.1 |
1506 | generated by GNU Autoconf 2.67 |
1568 | generated by GNU Autoconf 2.69 |
1507 | |
1569 | |
1508 | Copyright (C) 2010 Free Software Foundation, Inc. |
1570 | Copyright (C) 2012 Free Software Foundation, Inc. |
1509 | This configure script is free software; the Free Software Foundation |
1571 | This configure script is free software; the Free Software Foundation |
1510 | gives unlimited permission to copy, distribute and modify it. |
1572 | gives unlimited permission to copy, distribute and modify it. |
1511 | _ACEOF |
1573 | _ACEOF |
1512 | exit |
1574 | exit |
1513 | fi |
1575 | fi |
… | |
… | |
1547 | $as_echo "$as_me: failed program was:" >&5 |
1609 | $as_echo "$as_me: failed program was:" >&5 |
1548 | sed 's/^/| /' conftest.$ac_ext >&5 |
1610 | sed 's/^/| /' conftest.$ac_ext >&5 |
1549 | |
1611 | |
1550 | ac_retval=1 |
1612 | ac_retval=1 |
1551 | fi |
1613 | fi |
1552 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1614 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1553 | as_fn_set_status $ac_retval |
1615 | as_fn_set_status $ac_retval |
1554 | |
1616 | |
1555 | } # ac_fn_c_try_compile |
1617 | } # ac_fn_c_try_compile |
1556 | |
1618 | |
1557 | # ac_fn_c_try_link LINENO |
1619 | # ac_fn_c_try_link LINENO |
… | |
… | |
1579 | test $ac_status = 0; } && { |
1641 | test $ac_status = 0; } && { |
1580 | test -z "$ac_c_werror_flag" || |
1642 | test -z "$ac_c_werror_flag" || |
1581 | test ! -s conftest.err |
1643 | test ! -s conftest.err |
1582 | } && test -s conftest$ac_exeext && { |
1644 | } && test -s conftest$ac_exeext && { |
1583 | test "$cross_compiling" = yes || |
1645 | test "$cross_compiling" = yes || |
1584 | $as_test_x conftest$ac_exeext |
1646 | test -x conftest$ac_exeext |
1585 | }; then : |
1647 | }; then : |
1586 | ac_retval=0 |
1648 | ac_retval=0 |
1587 | else |
1649 | else |
1588 | $as_echo "$as_me: failed program was:" >&5 |
1650 | $as_echo "$as_me: failed program was:" >&5 |
1589 | sed 's/^/| /' conftest.$ac_ext >&5 |
1651 | sed 's/^/| /' conftest.$ac_ext >&5 |
… | |
… | |
1593 | # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information |
1655 | # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information |
1594 | # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would |
1656 | # 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 |
1657 | # 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. |
1658 | # left behind by Apple's compiler. We do this before executing the actions. |
1597 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
1659 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
1598 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1660 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1599 | as_fn_set_status $ac_retval |
1661 | as_fn_set_status $ac_retval |
1600 | |
1662 | |
1601 | } # ac_fn_c_try_link |
1663 | } # ac_fn_c_try_link |
1602 | |
1664 | |
1603 | # ac_fn_c_try_cpp LINENO |
1665 | # ac_fn_c_try_cpp LINENO |
… | |
… | |
1630 | $as_echo "$as_me: failed program was:" >&5 |
1692 | $as_echo "$as_me: failed program was:" >&5 |
1631 | sed 's/^/| /' conftest.$ac_ext >&5 |
1693 | sed 's/^/| /' conftest.$ac_ext >&5 |
1632 | |
1694 | |
1633 | ac_retval=1 |
1695 | ac_retval=1 |
1634 | fi |
1696 | fi |
1635 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1697 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1636 | as_fn_set_status $ac_retval |
1698 | as_fn_set_status $ac_retval |
1637 | |
1699 | |
1638 | } # ac_fn_c_try_cpp |
1700 | } # ac_fn_c_try_cpp |
1639 | |
1701 | |
1640 | # ac_fn_cxx_try_compile LINENO |
1702 | # ac_fn_cxx_try_compile LINENO |
… | |
… | |
1668 | $as_echo "$as_me: failed program was:" >&5 |
1730 | $as_echo "$as_me: failed program was:" >&5 |
1669 | sed 's/^/| /' conftest.$ac_ext >&5 |
1731 | sed 's/^/| /' conftest.$ac_ext >&5 |
1670 | |
1732 | |
1671 | ac_retval=1 |
1733 | ac_retval=1 |
1672 | fi |
1734 | fi |
1673 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1735 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1674 | as_fn_set_status $ac_retval |
1736 | as_fn_set_status $ac_retval |
1675 | |
1737 | |
1676 | } # ac_fn_cxx_try_compile |
1738 | } # ac_fn_cxx_try_compile |
1677 | |
1739 | |
1678 | # ac_fn_cxx_try_cpp LINENO |
1740 | # ac_fn_cxx_try_cpp LINENO |
… | |
… | |
1705 | $as_echo "$as_me: failed program was:" >&5 |
1767 | $as_echo "$as_me: failed program was:" >&5 |
1706 | sed 's/^/| /' conftest.$ac_ext >&5 |
1768 | sed 's/^/| /' conftest.$ac_ext >&5 |
1707 | |
1769 | |
1708 | ac_retval=1 |
1770 | ac_retval=1 |
1709 | fi |
1771 | fi |
1710 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1772 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1711 | as_fn_set_status $ac_retval |
1773 | as_fn_set_status $ac_retval |
1712 | |
1774 | |
1713 | } # ac_fn_cxx_try_cpp |
1775 | } # ac_fn_cxx_try_cpp |
1714 | |
1776 | |
1715 | # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES |
1777 | # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES |
… | |
… | |
1718 | # the include files in INCLUDES and setting the cache variable VAR |
1780 | # the include files in INCLUDES and setting the cache variable VAR |
1719 | # accordingly. |
1781 | # accordingly. |
1720 | ac_fn_cxx_check_header_mongrel () |
1782 | ac_fn_cxx_check_header_mongrel () |
1721 | { |
1783 | { |
1722 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1784 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1723 | if eval "test \"\${$3+set}\"" = set; then : |
1785 | if eval \${$3+:} false; then : |
1724 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1786 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1725 | $as_echo_n "checking for $2... " >&6; } |
1787 | $as_echo_n "checking for $2... " >&6; } |
1726 | if eval "test \"\${$3+set}\"" = set; then : |
1788 | if eval \${$3+:} false; then : |
1727 | $as_echo_n "(cached) " >&6 |
1789 | $as_echo_n "(cached) " >&6 |
1728 | fi |
1790 | fi |
1729 | eval ac_res=\$$3 |
1791 | eval ac_res=\$$3 |
1730 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1792 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1731 | $as_echo "$ac_res" >&6; } |
1793 | $as_echo "$ac_res" >&6; } |
… | |
… | |
1784 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
1846 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
1785 | ;; |
1847 | ;; |
1786 | esac |
1848 | esac |
1787 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1849 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1788 | $as_echo_n "checking for $2... " >&6; } |
1850 | $as_echo_n "checking for $2... " >&6; } |
1789 | if eval "test \"\${$3+set}\"" = set; then : |
1851 | if eval \${$3+:} false; then : |
1790 | $as_echo_n "(cached) " >&6 |
1852 | $as_echo_n "(cached) " >&6 |
1791 | else |
1853 | else |
1792 | eval "$3=\$ac_header_compiler" |
1854 | eval "$3=\$ac_header_compiler" |
1793 | fi |
1855 | fi |
1794 | eval ac_res=\$$3 |
1856 | eval ac_res=\$$3 |
1795 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1857 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1796 | $as_echo "$ac_res" >&6; } |
1858 | $as_echo "$ac_res" >&6; } |
1797 | fi |
1859 | fi |
1798 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1860 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1799 | |
1861 | |
1800 | } # ac_fn_cxx_check_header_mongrel |
1862 | } # ac_fn_cxx_check_header_mongrel |
1801 | |
1863 | |
1802 | # ac_fn_cxx_try_run LINENO |
1864 | # ac_fn_cxx_try_run LINENO |
1803 | # ------------------------ |
1865 | # ------------------------ |
… | |
… | |
1834 | sed 's/^/| /' conftest.$ac_ext >&5 |
1896 | sed 's/^/| /' conftest.$ac_ext >&5 |
1835 | |
1897 | |
1836 | ac_retval=$ac_status |
1898 | ac_retval=$ac_status |
1837 | fi |
1899 | fi |
1838 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
1900 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
1839 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1901 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1840 | as_fn_set_status $ac_retval |
1902 | as_fn_set_status $ac_retval |
1841 | |
1903 | |
1842 | } # ac_fn_cxx_try_run |
1904 | } # ac_fn_cxx_try_run |
1843 | |
1905 | |
1844 | # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES |
1906 | # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES |
… | |
… | |
1848 | ac_fn_cxx_check_header_compile () |
1910 | ac_fn_cxx_check_header_compile () |
1849 | { |
1911 | { |
1850 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1912 | 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 |
1913 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1852 | $as_echo_n "checking for $2... " >&6; } |
1914 | $as_echo_n "checking for $2... " >&6; } |
1853 | if eval "test \"\${$3+set}\"" = set; then : |
1915 | if eval \${$3+:} false; then : |
1854 | $as_echo_n "(cached) " >&6 |
1916 | $as_echo_n "(cached) " >&6 |
1855 | else |
1917 | else |
1856 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1918 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1857 | /* end confdefs.h. */ |
1919 | /* end confdefs.h. */ |
1858 | $4 |
1920 | $4 |
… | |
… | |
1866 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
1928 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
1867 | fi |
1929 | fi |
1868 | eval ac_res=\$$3 |
1930 | eval ac_res=\$$3 |
1869 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1931 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1870 | $as_echo "$ac_res" >&6; } |
1932 | $as_echo "$ac_res" >&6; } |
1871 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1933 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1872 | |
1934 | |
1873 | } # ac_fn_cxx_check_header_compile |
1935 | } # ac_fn_cxx_check_header_compile |
1874 | |
1936 | |
1875 | # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES |
1937 | # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES |
1876 | # --------------------------------------------- |
1938 | # --------------------------------------------- |
… | |
… | |
1879 | ac_fn_cxx_check_type () |
1941 | ac_fn_cxx_check_type () |
1880 | { |
1942 | { |
1881 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1943 | 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 |
1944 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1883 | $as_echo_n "checking for $2... " >&6; } |
1945 | $as_echo_n "checking for $2... " >&6; } |
1884 | if eval "test \"\${$3+set}\"" = set; then : |
1946 | if eval \${$3+:} false; then : |
1885 | $as_echo_n "(cached) " >&6 |
1947 | $as_echo_n "(cached) " >&6 |
1886 | else |
1948 | else |
1887 | eval "$3=no" |
1949 | eval "$3=no" |
1888 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1950 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1889 | /* end confdefs.h. */ |
1951 | /* end confdefs.h. */ |
… | |
… | |
1920 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
1982 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
1921 | fi |
1983 | fi |
1922 | eval ac_res=\$$3 |
1984 | eval ac_res=\$$3 |
1923 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1985 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1924 | $as_echo "$ac_res" >&6; } |
1986 | $as_echo "$ac_res" >&6; } |
1925 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1987 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1926 | |
1988 | |
1927 | } # ac_fn_cxx_check_type |
1989 | } # ac_fn_cxx_check_type |
1928 | |
1990 | |
1929 | # ac_fn_c_try_run LINENO |
1991 | # ac_fn_c_try_run LINENO |
1930 | # ---------------------- |
1992 | # ---------------------- |
… | |
… | |
1961 | sed 's/^/| /' conftest.$ac_ext >&5 |
2023 | sed 's/^/| /' conftest.$ac_ext >&5 |
1962 | |
2024 | |
1963 | ac_retval=$ac_status |
2025 | ac_retval=$ac_status |
1964 | fi |
2026 | fi |
1965 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
2027 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
1966 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
2028 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1967 | as_fn_set_status $ac_retval |
2029 | as_fn_set_status $ac_retval |
1968 | |
2030 | |
1969 | } # ac_fn_c_try_run |
2031 | } # ac_fn_c_try_run |
1970 | |
2032 | |
1971 | # ac_fn_c_check_func LINENO FUNC VAR |
2033 | # ac_fn_c_check_func LINENO FUNC VAR |
… | |
… | |
1974 | ac_fn_c_check_func () |
2036 | ac_fn_c_check_func () |
1975 | { |
2037 | { |
1976 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
2038 | 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 |
2039 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1978 | $as_echo_n "checking for $2... " >&6; } |
2040 | $as_echo_n "checking for $2... " >&6; } |
1979 | if eval "test \"\${$3+set}\"" = set; then : |
2041 | if eval \${$3+:} false; then : |
1980 | $as_echo_n "(cached) " >&6 |
2042 | $as_echo_n "(cached) " >&6 |
1981 | else |
2043 | else |
1982 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2044 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1983 | /* end confdefs.h. */ |
2045 | /* end confdefs.h. */ |
1984 | /* Define $2 to an innocuous variant, in case <limits.h> declares $2. |
2046 | /* Define $2 to an innocuous variant, in case <limits.h> declares $2. |
… | |
… | |
2029 | conftest$ac_exeext conftest.$ac_ext |
2091 | conftest$ac_exeext conftest.$ac_ext |
2030 | fi |
2092 | fi |
2031 | eval ac_res=\$$3 |
2093 | eval ac_res=\$$3 |
2032 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
2094 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
2033 | $as_echo "$ac_res" >&6; } |
2095 | $as_echo "$ac_res" >&6; } |
2034 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
2096 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
2035 | |
2097 | |
2036 | } # ac_fn_c_check_func |
2098 | } # ac_fn_c_check_func |
2037 | |
2099 | |
2038 | # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES |
2100 | # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES |
2039 | # ------------------------------------------------------- |
2101 | # ------------------------------------------------------- |
… | |
… | |
2041 | # the include files in INCLUDES and setting the cache variable VAR |
2103 | # the include files in INCLUDES and setting the cache variable VAR |
2042 | # accordingly. |
2104 | # accordingly. |
2043 | ac_fn_c_check_header_mongrel () |
2105 | ac_fn_c_check_header_mongrel () |
2044 | { |
2106 | { |
2045 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
2107 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
2046 | if eval "test \"\${$3+set}\"" = set; then : |
2108 | if eval \${$3+:} false; then : |
2047 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
2109 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
2048 | $as_echo_n "checking for $2... " >&6; } |
2110 | $as_echo_n "checking for $2... " >&6; } |
2049 | if eval "test \"\${$3+set}\"" = set; then : |
2111 | if eval \${$3+:} false; then : |
2050 | $as_echo_n "(cached) " >&6 |
2112 | $as_echo_n "(cached) " >&6 |
2051 | fi |
2113 | fi |
2052 | eval ac_res=\$$3 |
2114 | eval ac_res=\$$3 |
2053 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
2115 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
2054 | $as_echo "$ac_res" >&6; } |
2116 | $as_echo "$ac_res" >&6; } |
… | |
… | |
2107 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
2169 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
2108 | ;; |
2170 | ;; |
2109 | esac |
2171 | esac |
2110 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
2172 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
2111 | $as_echo_n "checking for $2... " >&6; } |
2173 | $as_echo_n "checking for $2... " >&6; } |
2112 | if eval "test \"\${$3+set}\"" = set; then : |
2174 | if eval \${$3+:} false; then : |
2113 | $as_echo_n "(cached) " >&6 |
2175 | $as_echo_n "(cached) " >&6 |
2114 | else |
2176 | else |
2115 | eval "$3=\$ac_header_compiler" |
2177 | eval "$3=\$ac_header_compiler" |
2116 | fi |
2178 | fi |
2117 | eval ac_res=\$$3 |
2179 | eval ac_res=\$$3 |
2118 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
2180 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
2119 | $as_echo "$ac_res" >&6; } |
2181 | $as_echo "$ac_res" >&6; } |
2120 | fi |
2182 | fi |
2121 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
2183 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
2122 | |
2184 | |
2123 | } # ac_fn_c_check_header_mongrel |
2185 | } # ac_fn_c_check_header_mongrel |
2124 | |
2186 | |
2125 | # ac_fn_cxx_try_link LINENO |
2187 | # ac_fn_cxx_try_link LINENO |
2126 | # ------------------------- |
2188 | # ------------------------- |
… | |
… | |
2147 | test $ac_status = 0; } && { |
2209 | test $ac_status = 0; } && { |
2148 | test -z "$ac_cxx_werror_flag" || |
2210 | test -z "$ac_cxx_werror_flag" || |
2149 | test ! -s conftest.err |
2211 | test ! -s conftest.err |
2150 | } && test -s conftest$ac_exeext && { |
2212 | } && test -s conftest$ac_exeext && { |
2151 | test "$cross_compiling" = yes || |
2213 | test "$cross_compiling" = yes || |
2152 | $as_test_x conftest$ac_exeext |
2214 | test -x conftest$ac_exeext |
2153 | }; then : |
2215 | }; then : |
2154 | ac_retval=0 |
2216 | ac_retval=0 |
2155 | else |
2217 | else |
2156 | $as_echo "$as_me: failed program was:" >&5 |
2218 | $as_echo "$as_me: failed program was:" >&5 |
2157 | sed 's/^/| /' conftest.$ac_ext >&5 |
2219 | sed 's/^/| /' conftest.$ac_ext >&5 |
… | |
… | |
2161 | # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information |
2223 | # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information |
2162 | # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would |
2224 | # 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 |
2225 | # 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. |
2226 | # left behind by Apple's compiler. We do this before executing the actions. |
2165 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
2227 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
2166 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
2228 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
2167 | as_fn_set_status $ac_retval |
2229 | as_fn_set_status $ac_retval |
2168 | |
2230 | |
2169 | } # ac_fn_cxx_try_link |
2231 | } # 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 |
2232 | cat >config.log <<_ACEOF |
2238 | This file contains any messages produced by compilers while |
2233 | This file contains any messages produced by compilers while |
2239 | running configure, to aid debugging if configure makes a mistake. |
2234 | running configure, to aid debugging if configure makes a mistake. |
2240 | |
2235 | |
2241 | It was created by $as_me, which was |
2236 | It was created by gvpe $as_me 3.1, which was |
2242 | generated by GNU Autoconf 2.67. Invocation command line was |
2237 | generated by GNU Autoconf 2.69. Invocation command line was |
2243 | |
2238 | |
2244 | $ $0 $@ |
2239 | $ $0 $@ |
2245 | |
2240 | |
2246 | _ACEOF |
2241 | _ACEOF |
2247 | exec 5>>config.log |
2242 | exec 5>>config.log |
… | |
… | |
2495 | sed 's/^/| /' "$ac_site_file" >&5 |
2490 | sed 's/^/| /' "$ac_site_file" >&5 |
2496 | . "$ac_site_file" \ |
2491 | . "$ac_site_file" \ |
2497 | || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2492 | || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2498 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2493 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2499 | as_fn_error $? "failed to load site script $ac_site_file |
2494 | as_fn_error $? "failed to load site script $ac_site_file |
2500 | See \`config.log' for more details" "$LINENO" 5 ; } |
2495 | See \`config.log' for more details" "$LINENO" 5; } |
2501 | fi |
2496 | fi |
2502 | done |
2497 | done |
2503 | |
2498 | |
2504 | if test -r "$cache_file"; then |
2499 | if test -r "$cache_file"; then |
2505 | # Some versions of bash will fail to source /dev/null (special files |
2500 | # Some versions of bash will fail to source /dev/null (special files |
… | |
… | |
2620 | $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || |
2615 | $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 |
2616 | as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 |
2622 | |
2617 | |
2623 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 |
2618 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 |
2624 | $as_echo_n "checking build system type... " >&6; } |
2619 | $as_echo_n "checking build system type... " >&6; } |
2625 | if test "${ac_cv_build+set}" = set; then : |
2620 | if ${ac_cv_build+:} false; then : |
2626 | $as_echo_n "(cached) " >&6 |
2621 | $as_echo_n "(cached) " >&6 |
2627 | else |
2622 | else |
2628 | ac_build_alias=$build_alias |
2623 | ac_build_alias=$build_alias |
2629 | test "x$ac_build_alias" = x && |
2624 | test "x$ac_build_alias" = x && |
2630 | ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` |
2625 | ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` |
… | |
… | |
2636 | fi |
2631 | fi |
2637 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 |
2632 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 |
2638 | $as_echo "$ac_cv_build" >&6; } |
2633 | $as_echo "$ac_cv_build" >&6; } |
2639 | case $ac_cv_build in |
2634 | case $ac_cv_build in |
2640 | *-*-*) ;; |
2635 | *-*-*) ;; |
2641 | *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;; |
2636 | *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; |
2642 | esac |
2637 | esac |
2643 | build=$ac_cv_build |
2638 | build=$ac_cv_build |
2644 | ac_save_IFS=$IFS; IFS='-' |
2639 | ac_save_IFS=$IFS; IFS='-' |
2645 | set x $ac_cv_build |
2640 | set x $ac_cv_build |
2646 | shift |
2641 | shift |
… | |
… | |
2654 | case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac |
2649 | case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac |
2655 | |
2650 | |
2656 | |
2651 | |
2657 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 |
2652 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 |
2658 | $as_echo_n "checking host system type... " >&6; } |
2653 | $as_echo_n "checking host system type... " >&6; } |
2659 | if test "${ac_cv_host+set}" = set; then : |
2654 | if ${ac_cv_host+:} false; then : |
2660 | $as_echo_n "(cached) " >&6 |
2655 | $as_echo_n "(cached) " >&6 |
2661 | else |
2656 | else |
2662 | if test "x$host_alias" = x; then |
2657 | if test "x$host_alias" = x; then |
2663 | ac_cv_host=$ac_cv_build |
2658 | ac_cv_host=$ac_cv_build |
2664 | else |
2659 | else |
… | |
… | |
2669 | fi |
2664 | fi |
2670 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 |
2665 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 |
2671 | $as_echo "$ac_cv_host" >&6; } |
2666 | $as_echo "$ac_cv_host" >&6; } |
2672 | case $ac_cv_host in |
2667 | case $ac_cv_host in |
2673 | *-*-*) ;; |
2668 | *-*-*) ;; |
2674 | *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;; |
2669 | *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; |
2675 | esac |
2670 | esac |
2676 | host=$ac_cv_host |
2671 | host=$ac_cv_host |
2677 | ac_save_IFS=$IFS; IFS='-' |
2672 | ac_save_IFS=$IFS; IFS='-' |
2678 | set x $ac_cv_host |
2673 | set x $ac_cv_host |
2679 | shift |
2674 | shift |
… | |
… | |
2687 | case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac |
2682 | case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac |
2688 | |
2683 | |
2689 | |
2684 | |
2690 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 |
2685 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 |
2691 | $as_echo_n "checking target system type... " >&6; } |
2686 | $as_echo_n "checking target system type... " >&6; } |
2692 | if test "${ac_cv_target+set}" = set; then : |
2687 | if ${ac_cv_target+:} false; then : |
2693 | $as_echo_n "(cached) " >&6 |
2688 | $as_echo_n "(cached) " >&6 |
2694 | else |
2689 | else |
2695 | if test "x$target_alias" = x; then |
2690 | if test "x$target_alias" = x; then |
2696 | ac_cv_target=$ac_cv_host |
2691 | ac_cv_target=$ac_cv_host |
2697 | else |
2692 | else |
… | |
… | |
2702 | fi |
2697 | fi |
2703 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 |
2698 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 |
2704 | $as_echo "$ac_cv_target" >&6; } |
2699 | $as_echo "$ac_cv_target" >&6; } |
2705 | case $ac_cv_target in |
2700 | case $ac_cv_target in |
2706 | *-*-*) ;; |
2701 | *-*-*) ;; |
2707 | *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5 ;; |
2702 | *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;; |
2708 | esac |
2703 | esac |
2709 | target=$ac_cv_target |
2704 | target=$ac_cv_target |
2710 | ac_save_IFS=$IFS; IFS='-' |
2705 | ac_save_IFS=$IFS; IFS='-' |
2711 | set x $ac_cv_target |
2706 | set x $ac_cv_target |
2712 | shift |
2707 | shift |
… | |
… | |
2742 | # ./install, which can be erroneously created by make from ./install.sh. |
2737 | # ./install, which can be erroneously created by make from ./install.sh. |
2743 | # Reject install programs that cannot install multiple files. |
2738 | # Reject install programs that cannot install multiple files. |
2744 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 |
2739 | { $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; } |
2740 | $as_echo_n "checking for a BSD-compatible install... " >&6; } |
2746 | if test -z "$INSTALL"; then |
2741 | if test -z "$INSTALL"; then |
2747 | if test "${ac_cv_path_install+set}" = set; then : |
2742 | if ${ac_cv_path_install+:} false; then : |
2748 | $as_echo_n "(cached) " >&6 |
2743 | $as_echo_n "(cached) " >&6 |
2749 | else |
2744 | else |
2750 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2745 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2751 | for as_dir in $PATH |
2746 | for as_dir in $PATH |
2752 | do |
2747 | do |
… | |
… | |
2762 | # OSF1 and SCO ODT 3.0 have their own names for install. |
2757 | # 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 |
2758 | # Don't use installbsd from OSF since it installs stuff as root |
2764 | # by default. |
2759 | # by default. |
2765 | for ac_prog in ginstall scoinst install; do |
2760 | for ac_prog in ginstall scoinst install; do |
2766 | for ac_exec_ext in '' $ac_executable_extensions; do |
2761 | 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 |
2762 | if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
2768 | if test $ac_prog = install && |
2763 | if test $ac_prog = install && |
2769 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
2764 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
2770 | # AIX install. It has an incompatible calling convention. |
2765 | # AIX install. It has an incompatible calling convention. |
2771 | : |
2766 | : |
2772 | elif test $ac_prog = install && |
2767 | elif test $ac_prog = install && |
… | |
… | |
2887 | do |
2882 | do |
2888 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
2883 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
2889 | set dummy $ac_prog; ac_word=$2 |
2884 | set dummy $ac_prog; ac_word=$2 |
2890 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2885 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2891 | $as_echo_n "checking for $ac_word... " >&6; } |
2886 | $as_echo_n "checking for $ac_word... " >&6; } |
2892 | if test "${ac_cv_prog_AWK+set}" = set; then : |
2887 | if ${ac_cv_prog_AWK+:} false; then : |
2893 | $as_echo_n "(cached) " >&6 |
2888 | $as_echo_n "(cached) " >&6 |
2894 | else |
2889 | else |
2895 | if test -n "$AWK"; then |
2890 | if test -n "$AWK"; then |
2896 | ac_cv_prog_AWK="$AWK" # Let the user override the test. |
2891 | ac_cv_prog_AWK="$AWK" # Let the user override the test. |
2897 | else |
2892 | else |
… | |
… | |
2899 | for as_dir in $PATH |
2894 | for as_dir in $PATH |
2900 | do |
2895 | do |
2901 | IFS=$as_save_IFS |
2896 | IFS=$as_save_IFS |
2902 | test -z "$as_dir" && as_dir=. |
2897 | test -z "$as_dir" && as_dir=. |
2903 | for ac_exec_ext in '' $ac_executable_extensions; do |
2898 | 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 |
2899 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2905 | ac_cv_prog_AWK="$ac_prog" |
2900 | ac_cv_prog_AWK="$ac_prog" |
2906 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2901 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2907 | break 2 |
2902 | break 2 |
2908 | fi |
2903 | fi |
2909 | done |
2904 | done |
… | |
… | |
2927 | |
2922 | |
2928 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
2923 | { $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; } |
2924 | $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
2930 | set x ${MAKE-make} |
2925 | set x ${MAKE-make} |
2931 | ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
2926 | 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 : |
2927 | if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : |
2933 | $as_echo_n "(cached) " >&6 |
2928 | $as_echo_n "(cached) " >&6 |
2934 | else |
2929 | else |
2935 | cat >conftest.make <<\_ACEOF |
2930 | cat >conftest.make <<\_ACEOF |
2936 | SHELL = /bin/sh |
2931 | SHELL = /bin/sh |
2937 | all: |
2932 | all: |
… | |
… | |
2980 | fi |
2975 | fi |
2981 | fi |
2976 | fi |
2982 | |
2977 | |
2983 | |
2978 | |
2984 | # Define the identity of the package. |
2979 | # Define the identity of the package. |
2985 | PACKAGE=gvpe |
2980 | PACKAGE='gvpe' |
2986 | VERSION=2.24 |
2981 | VERSION='3.1' |
2987 | |
2982 | |
2988 | |
2983 | |
2989 | cat >>confdefs.h <<_ACEOF |
2984 | cat >>confdefs.h <<_ACEOF |
2990 | #define PACKAGE "$PACKAGE" |
2985 | #define PACKAGE "$PACKAGE" |
2991 | _ACEOF |
2986 | _ACEOF |
… | |
… | |
3024 | if test -n "$ac_tool_prefix"; then |
3019 | 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. |
3020 | # 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 |
3021 | set dummy ${ac_tool_prefix}strip; ac_word=$2 |
3027 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3022 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3028 | $as_echo_n "checking for $ac_word... " >&6; } |
3023 | $as_echo_n "checking for $ac_word... " >&6; } |
3029 | if test "${ac_cv_prog_STRIP+set}" = set; then : |
3024 | if ${ac_cv_prog_STRIP+:} false; then : |
3030 | $as_echo_n "(cached) " >&6 |
3025 | $as_echo_n "(cached) " >&6 |
3031 | else |
3026 | else |
3032 | if test -n "$STRIP"; then |
3027 | if test -n "$STRIP"; then |
3033 | ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
3028 | ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
3034 | else |
3029 | else |
… | |
… | |
3036 | for as_dir in $PATH |
3031 | for as_dir in $PATH |
3037 | do |
3032 | do |
3038 | IFS=$as_save_IFS |
3033 | IFS=$as_save_IFS |
3039 | test -z "$as_dir" && as_dir=. |
3034 | test -z "$as_dir" && as_dir=. |
3040 | for ac_exec_ext in '' $ac_executable_extensions; do |
3035 | 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 |
3036 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3042 | ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
3037 | 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 |
3038 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3044 | break 2 |
3039 | break 2 |
3045 | fi |
3040 | fi |
3046 | done |
3041 | done |
… | |
… | |
3064 | ac_ct_STRIP=$STRIP |
3059 | ac_ct_STRIP=$STRIP |
3065 | # Extract the first word of "strip", so it can be a program name with args. |
3060 | # Extract the first word of "strip", so it can be a program name with args. |
3066 | set dummy strip; ac_word=$2 |
3061 | set dummy strip; ac_word=$2 |
3067 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3062 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3068 | $as_echo_n "checking for $ac_word... " >&6; } |
3063 | $as_echo_n "checking for $ac_word... " >&6; } |
3069 | if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : |
3064 | if ${ac_cv_prog_ac_ct_STRIP+:} false; then : |
3070 | $as_echo_n "(cached) " >&6 |
3065 | $as_echo_n "(cached) " >&6 |
3071 | else |
3066 | else |
3072 | if test -n "$ac_ct_STRIP"; then |
3067 | if test -n "$ac_ct_STRIP"; then |
3073 | ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
3068 | ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
3074 | else |
3069 | else |
… | |
… | |
3076 | for as_dir in $PATH |
3071 | for as_dir in $PATH |
3077 | do |
3072 | do |
3078 | IFS=$as_save_IFS |
3073 | IFS=$as_save_IFS |
3079 | test -z "$as_dir" && as_dir=. |
3074 | test -z "$as_dir" && as_dir=. |
3080 | for ac_exec_ext in '' $ac_executable_extensions; do |
3075 | 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 |
3076 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3082 | ac_cv_prog_ac_ct_STRIP="strip" |
3077 | ac_cv_prog_ac_ct_STRIP="strip" |
3083 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3078 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3084 | break 2 |
3079 | break 2 |
3085 | fi |
3080 | fi |
3086 | done |
3081 | done |
… | |
… | |
3151 | |
3146 | |
3152 | |
3147 | |
3153 | |
3148 | |
3154 | |
3149 | |
3155 | |
3150 | |
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= |
3151 | MKINSTALLDIRS= |
3163 | if test -n "$ac_aux_dir"; then |
3152 | if test -n "$ac_aux_dir"; then |
3164 | MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" |
3153 | MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" |
3165 | fi |
3154 | fi |
3166 | if test -z "$MKINSTALLDIRS"; then |
3155 | if test -z "$MKINSTALLDIRS"; then |
… | |
… | |
3173 | |
3162 | |
3174 | # Extract the first word of "msgfmt", so it can be a program name with args. |
3163 | # Extract the first word of "msgfmt", so it can be a program name with args. |
3175 | set dummy msgfmt; ac_word=$2 |
3164 | set dummy msgfmt; ac_word=$2 |
3176 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3165 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3177 | $as_echo_n "checking for $ac_word... " >&6; } |
3166 | $as_echo_n "checking for $ac_word... " >&6; } |
3178 | if test "${ac_cv_path_MSGFMT+set}" = set; then : |
3167 | if ${ac_cv_path_MSGFMT+:} false; then : |
3179 | $as_echo_n "(cached) " >&6 |
3168 | $as_echo_n "(cached) " >&6 |
3180 | else |
3169 | else |
3181 | case "$MSGFMT" in |
3170 | case "$MSGFMT" in |
3182 | /*) |
3171 | /*) |
3183 | ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. |
3172 | ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. |
… | |
… | |
3210 | |
3199 | |
3211 | # Extract the first word of "gmsgfmt", so it can be a program name with args. |
3200 | # Extract the first word of "gmsgfmt", so it can be a program name with args. |
3212 | set dummy gmsgfmt; ac_word=$2 |
3201 | set dummy gmsgfmt; ac_word=$2 |
3213 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3202 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3214 | $as_echo_n "checking for $ac_word... " >&6; } |
3203 | $as_echo_n "checking for $ac_word... " >&6; } |
3215 | if test "${ac_cv_path_GMSGFMT+set}" = set; then : |
3204 | if ${ac_cv_path_GMSGFMT+:} false; then : |
3216 | $as_echo_n "(cached) " >&6 |
3205 | $as_echo_n "(cached) " >&6 |
3217 | else |
3206 | else |
3218 | case $GMSGFMT in |
3207 | case $GMSGFMT in |
3219 | [\\/]* | ?:[\\/]*) |
3208 | [\\/]* | ?:[\\/]*) |
3220 | ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. |
3209 | ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. |
… | |
… | |
3224 | for as_dir in $PATH |
3213 | for as_dir in $PATH |
3225 | do |
3214 | do |
3226 | IFS=$as_save_IFS |
3215 | IFS=$as_save_IFS |
3227 | test -z "$as_dir" && as_dir=. |
3216 | test -z "$as_dir" && as_dir=. |
3228 | for ac_exec_ext in '' $ac_executable_extensions; do |
3217 | 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 |
3218 | 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" |
3219 | 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 |
3220 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3232 | break 2 |
3221 | break 2 |
3233 | fi |
3222 | fi |
3234 | done |
3223 | done |
… | |
… | |
3252 | |
3241 | |
3253 | # Extract the first word of "xgettext", so it can be a program name with args. |
3242 | # Extract the first word of "xgettext", so it can be a program name with args. |
3254 | set dummy xgettext; ac_word=$2 |
3243 | set dummy xgettext; ac_word=$2 |
3255 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3244 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3256 | $as_echo_n "checking for $ac_word... " >&6; } |
3245 | $as_echo_n "checking for $ac_word... " >&6; } |
3257 | if test "${ac_cv_path_XGETTEXT+set}" = set; then : |
3246 | if ${ac_cv_path_XGETTEXT+:} false; then : |
3258 | $as_echo_n "(cached) " >&6 |
3247 | $as_echo_n "(cached) " >&6 |
3259 | else |
3248 | else |
3260 | case "$XGETTEXT" in |
3249 | case "$XGETTEXT" in |
3261 | /*) |
3250 | /*) |
3262 | ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. |
3251 | ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. |
… | |
… | |
3291 | |
3280 | |
3292 | # Extract the first word of "msgmerge", so it can be a program name with args. |
3281 | # Extract the first word of "msgmerge", so it can be a program name with args. |
3293 | set dummy msgmerge; ac_word=$2 |
3282 | set dummy msgmerge; ac_word=$2 |
3294 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3283 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3295 | $as_echo_n "checking for $ac_word... " >&6; } |
3284 | $as_echo_n "checking for $ac_word... " >&6; } |
3296 | if test "${ac_cv_path_MSGMERGE+set}" = set; then : |
3285 | if ${ac_cv_path_MSGMERGE+:} false; then : |
3297 | $as_echo_n "(cached) " >&6 |
3286 | $as_echo_n "(cached) " >&6 |
3298 | else |
3287 | else |
3299 | case "$MSGMERGE" in |
3288 | case "$MSGMERGE" in |
3300 | /*) |
3289 | /*) |
3301 | ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. |
3290 | ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. |
… | |
… | |
3442 | if test -n "$ac_tool_prefix"; then |
3431 | 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. |
3432 | # 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 |
3433 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
3445 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3434 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3446 | $as_echo_n "checking for $ac_word... " >&6; } |
3435 | $as_echo_n "checking for $ac_word... " >&6; } |
3447 | if test "${ac_cv_prog_CC+set}" = set; then : |
3436 | if ${ac_cv_prog_CC+:} false; then : |
3448 | $as_echo_n "(cached) " >&6 |
3437 | $as_echo_n "(cached) " >&6 |
3449 | else |
3438 | else |
3450 | if test -n "$CC"; then |
3439 | if test -n "$CC"; then |
3451 | ac_cv_prog_CC="$CC" # Let the user override the test. |
3440 | ac_cv_prog_CC="$CC" # Let the user override the test. |
3452 | else |
3441 | else |
… | |
… | |
3454 | for as_dir in $PATH |
3443 | for as_dir in $PATH |
3455 | do |
3444 | do |
3456 | IFS=$as_save_IFS |
3445 | IFS=$as_save_IFS |
3457 | test -z "$as_dir" && as_dir=. |
3446 | test -z "$as_dir" && as_dir=. |
3458 | for ac_exec_ext in '' $ac_executable_extensions; do |
3447 | 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 |
3448 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3460 | ac_cv_prog_CC="${ac_tool_prefix}gcc" |
3449 | 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 |
3450 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3462 | break 2 |
3451 | break 2 |
3463 | fi |
3452 | fi |
3464 | done |
3453 | done |
… | |
… | |
3482 | ac_ct_CC=$CC |
3471 | ac_ct_CC=$CC |
3483 | # Extract the first word of "gcc", so it can be a program name with args. |
3472 | # Extract the first word of "gcc", so it can be a program name with args. |
3484 | set dummy gcc; ac_word=$2 |
3473 | set dummy gcc; ac_word=$2 |
3485 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3474 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3486 | $as_echo_n "checking for $ac_word... " >&6; } |
3475 | $as_echo_n "checking for $ac_word... " >&6; } |
3487 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : |
3476 | if ${ac_cv_prog_ac_ct_CC+:} false; then : |
3488 | $as_echo_n "(cached) " >&6 |
3477 | $as_echo_n "(cached) " >&6 |
3489 | else |
3478 | else |
3490 | if test -n "$ac_ct_CC"; then |
3479 | if test -n "$ac_ct_CC"; then |
3491 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
3480 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
3492 | else |
3481 | else |
… | |
… | |
3494 | for as_dir in $PATH |
3483 | for as_dir in $PATH |
3495 | do |
3484 | do |
3496 | IFS=$as_save_IFS |
3485 | IFS=$as_save_IFS |
3497 | test -z "$as_dir" && as_dir=. |
3486 | test -z "$as_dir" && as_dir=. |
3498 | for ac_exec_ext in '' $ac_executable_extensions; do |
3487 | 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 |
3488 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3500 | ac_cv_prog_ac_ct_CC="gcc" |
3489 | ac_cv_prog_ac_ct_CC="gcc" |
3501 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3490 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3502 | break 2 |
3491 | break 2 |
3503 | fi |
3492 | fi |
3504 | done |
3493 | done |
… | |
… | |
3535 | if test -n "$ac_tool_prefix"; then |
3524 | 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. |
3525 | # 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 |
3526 | set dummy ${ac_tool_prefix}cc; ac_word=$2 |
3538 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3527 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3539 | $as_echo_n "checking for $ac_word... " >&6; } |
3528 | $as_echo_n "checking for $ac_word... " >&6; } |
3540 | if test "${ac_cv_prog_CC+set}" = set; then : |
3529 | if ${ac_cv_prog_CC+:} false; then : |
3541 | $as_echo_n "(cached) " >&6 |
3530 | $as_echo_n "(cached) " >&6 |
3542 | else |
3531 | else |
3543 | if test -n "$CC"; then |
3532 | if test -n "$CC"; then |
3544 | ac_cv_prog_CC="$CC" # Let the user override the test. |
3533 | ac_cv_prog_CC="$CC" # Let the user override the test. |
3545 | else |
3534 | else |
… | |
… | |
3547 | for as_dir in $PATH |
3536 | for as_dir in $PATH |
3548 | do |
3537 | do |
3549 | IFS=$as_save_IFS |
3538 | IFS=$as_save_IFS |
3550 | test -z "$as_dir" && as_dir=. |
3539 | test -z "$as_dir" && as_dir=. |
3551 | for ac_exec_ext in '' $ac_executable_extensions; do |
3540 | 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 |
3541 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3553 | ac_cv_prog_CC="${ac_tool_prefix}cc" |
3542 | 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 |
3543 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3555 | break 2 |
3544 | break 2 |
3556 | fi |
3545 | fi |
3557 | done |
3546 | done |
… | |
… | |
3575 | if test -z "$CC"; then |
3564 | if test -z "$CC"; then |
3576 | # Extract the first word of "cc", so it can be a program name with args. |
3565 | # Extract the first word of "cc", so it can be a program name with args. |
3577 | set dummy cc; ac_word=$2 |
3566 | set dummy cc; ac_word=$2 |
3578 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3567 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3579 | $as_echo_n "checking for $ac_word... " >&6; } |
3568 | $as_echo_n "checking for $ac_word... " >&6; } |
3580 | if test "${ac_cv_prog_CC+set}" = set; then : |
3569 | if ${ac_cv_prog_CC+:} false; then : |
3581 | $as_echo_n "(cached) " >&6 |
3570 | $as_echo_n "(cached) " >&6 |
3582 | else |
3571 | else |
3583 | if test -n "$CC"; then |
3572 | if test -n "$CC"; then |
3584 | ac_cv_prog_CC="$CC" # Let the user override the test. |
3573 | ac_cv_prog_CC="$CC" # Let the user override the test. |
3585 | else |
3574 | else |
… | |
… | |
3588 | for as_dir in $PATH |
3577 | for as_dir in $PATH |
3589 | do |
3578 | do |
3590 | IFS=$as_save_IFS |
3579 | IFS=$as_save_IFS |
3591 | test -z "$as_dir" && as_dir=. |
3580 | test -z "$as_dir" && as_dir=. |
3592 | for ac_exec_ext in '' $ac_executable_extensions; do |
3581 | 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 |
3582 | 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 |
3583 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
3595 | ac_prog_rejected=yes |
3584 | ac_prog_rejected=yes |
3596 | continue |
3585 | continue |
3597 | fi |
3586 | fi |
3598 | ac_cv_prog_CC="cc" |
3587 | ac_cv_prog_CC="cc" |
… | |
… | |
3634 | do |
3623 | do |
3635 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
3624 | # 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 |
3625 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
3637 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3626 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3638 | $as_echo_n "checking for $ac_word... " >&6; } |
3627 | $as_echo_n "checking for $ac_word... " >&6; } |
3639 | if test "${ac_cv_prog_CC+set}" = set; then : |
3628 | if ${ac_cv_prog_CC+:} false; then : |
3640 | $as_echo_n "(cached) " >&6 |
3629 | $as_echo_n "(cached) " >&6 |
3641 | else |
3630 | else |
3642 | if test -n "$CC"; then |
3631 | if test -n "$CC"; then |
3643 | ac_cv_prog_CC="$CC" # Let the user override the test. |
3632 | ac_cv_prog_CC="$CC" # Let the user override the test. |
3644 | else |
3633 | else |
… | |
… | |
3646 | for as_dir in $PATH |
3635 | for as_dir in $PATH |
3647 | do |
3636 | do |
3648 | IFS=$as_save_IFS |
3637 | IFS=$as_save_IFS |
3649 | test -z "$as_dir" && as_dir=. |
3638 | test -z "$as_dir" && as_dir=. |
3650 | for ac_exec_ext in '' $ac_executable_extensions; do |
3639 | 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 |
3640 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3652 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
3641 | 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 |
3642 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3654 | break 2 |
3643 | break 2 |
3655 | fi |
3644 | fi |
3656 | done |
3645 | done |
… | |
… | |
3678 | do |
3667 | do |
3679 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
3668 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
3680 | set dummy $ac_prog; ac_word=$2 |
3669 | set dummy $ac_prog; ac_word=$2 |
3681 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3670 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3682 | $as_echo_n "checking for $ac_word... " >&6; } |
3671 | $as_echo_n "checking for $ac_word... " >&6; } |
3683 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : |
3672 | if ${ac_cv_prog_ac_ct_CC+:} false; then : |
3684 | $as_echo_n "(cached) " >&6 |
3673 | $as_echo_n "(cached) " >&6 |
3685 | else |
3674 | else |
3686 | if test -n "$ac_ct_CC"; then |
3675 | if test -n "$ac_ct_CC"; then |
3687 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
3676 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
3688 | else |
3677 | else |
… | |
… | |
3690 | for as_dir in $PATH |
3679 | for as_dir in $PATH |
3691 | do |
3680 | do |
3692 | IFS=$as_save_IFS |
3681 | IFS=$as_save_IFS |
3693 | test -z "$as_dir" && as_dir=. |
3682 | test -z "$as_dir" && as_dir=. |
3694 | for ac_exec_ext in '' $ac_executable_extensions; do |
3683 | 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 |
3684 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3696 | ac_cv_prog_ac_ct_CC="$ac_prog" |
3685 | 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 |
3686 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3698 | break 2 |
3687 | break 2 |
3699 | fi |
3688 | fi |
3700 | done |
3689 | done |
… | |
… | |
3733 | |
3722 | |
3734 | |
3723 | |
3735 | test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3724 | 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;} |
3725 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3737 | as_fn_error $? "no acceptable C compiler found in \$PATH |
3726 | as_fn_error $? "no acceptable C compiler found in \$PATH |
3738 | See \`config.log' for more details" "$LINENO" 5 ; } |
3727 | See \`config.log' for more details" "$LINENO" 5; } |
3739 | |
3728 | |
3740 | # Provide some information about the compiler. |
3729 | # Provide some information about the compiler. |
3741 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
3730 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
3742 | set X $ac_compile |
3731 | set X $ac_compile |
3743 | ac_compiler=$2 |
3732 | ac_compiler=$2 |
… | |
… | |
3848 | sed 's/^/| /' conftest.$ac_ext >&5 |
3837 | sed 's/^/| /' conftest.$ac_ext >&5 |
3849 | |
3838 | |
3850 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3839 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3851 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3840 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3852 | as_fn_error 77 "C compiler cannot create executables |
3841 | as_fn_error 77 "C compiler cannot create executables |
3853 | See \`config.log' for more details" "$LINENO" 5 ; } |
3842 | See \`config.log' for more details" "$LINENO" 5; } |
3854 | else |
3843 | else |
3855 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
3844 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
3856 | $as_echo "yes" >&6; } |
3845 | $as_echo "yes" >&6; } |
3857 | fi |
3846 | fi |
3858 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 |
3847 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 |
… | |
… | |
3891 | done |
3880 | done |
3892 | else |
3881 | else |
3893 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3882 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3894 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3883 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3895 | as_fn_error $? "cannot compute suffix of executables: cannot compile and link |
3884 | as_fn_error $? "cannot compute suffix of executables: cannot compile and link |
3896 | See \`config.log' for more details" "$LINENO" 5 ; } |
3885 | See \`config.log' for more details" "$LINENO" 5; } |
3897 | fi |
3886 | fi |
3898 | rm -f conftest conftest$ac_cv_exeext |
3887 | rm -f conftest conftest$ac_cv_exeext |
3899 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
3888 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
3900 | $as_echo "$ac_cv_exeext" >&6; } |
3889 | $as_echo "$ac_cv_exeext" >&6; } |
3901 | |
3890 | |
… | |
… | |
3950 | else |
3939 | else |
3951 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3940 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3952 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3941 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3953 | as_fn_error $? "cannot run C compiled programs. |
3942 | as_fn_error $? "cannot run C compiled programs. |
3954 | If you meant to cross compile, use \`--host'. |
3943 | If you meant to cross compile, use \`--host'. |
3955 | See \`config.log' for more details" "$LINENO" 5 ; } |
3944 | See \`config.log' for more details" "$LINENO" 5; } |
3956 | fi |
3945 | fi |
3957 | fi |
3946 | fi |
3958 | fi |
3947 | fi |
3959 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
3948 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
3960 | $as_echo "$cross_compiling" >&6; } |
3949 | $as_echo "$cross_compiling" >&6; } |
3961 | |
3950 | |
3962 | rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out |
3951 | rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out |
3963 | ac_clean_files=$ac_clean_files_save |
3952 | ac_clean_files=$ac_clean_files_save |
3964 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 |
3953 | { $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; } |
3954 | $as_echo_n "checking for suffix of object files... " >&6; } |
3966 | if test "${ac_cv_objext+set}" = set; then : |
3955 | if ${ac_cv_objext+:} false; then : |
3967 | $as_echo_n "(cached) " >&6 |
3956 | $as_echo_n "(cached) " >&6 |
3968 | else |
3957 | else |
3969 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3958 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3970 | /* end confdefs.h. */ |
3959 | /* end confdefs.h. */ |
3971 | |
3960 | |
… | |
… | |
4002 | sed 's/^/| /' conftest.$ac_ext >&5 |
3991 | sed 's/^/| /' conftest.$ac_ext >&5 |
4003 | |
3992 | |
4004 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3993 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
4005 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3994 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
4006 | as_fn_error $? "cannot compute suffix of object files: cannot compile |
3995 | as_fn_error $? "cannot compute suffix of object files: cannot compile |
4007 | See \`config.log' for more details" "$LINENO" 5 ; } |
3996 | See \`config.log' for more details" "$LINENO" 5; } |
4008 | fi |
3997 | fi |
4009 | rm -f conftest.$ac_cv_objext conftest.$ac_ext |
3998 | rm -f conftest.$ac_cv_objext conftest.$ac_ext |
4010 | fi |
3999 | fi |
4011 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 |
4000 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 |
4012 | $as_echo "$ac_cv_objext" >&6; } |
4001 | $as_echo "$ac_cv_objext" >&6; } |
4013 | OBJEXT=$ac_cv_objext |
4002 | OBJEXT=$ac_cv_objext |
4014 | ac_objext=$OBJEXT |
4003 | ac_objext=$OBJEXT |
4015 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
4004 | { $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; } |
4005 | $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
4017 | if test "${ac_cv_c_compiler_gnu+set}" = set; then : |
4006 | if ${ac_cv_c_compiler_gnu+:} false; then : |
4018 | $as_echo_n "(cached) " >&6 |
4007 | $as_echo_n "(cached) " >&6 |
4019 | else |
4008 | else |
4020 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4009 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4021 | /* end confdefs.h. */ |
4010 | /* end confdefs.h. */ |
4022 | |
4011 | |
… | |
… | |
4049 | fi |
4038 | fi |
4050 | ac_test_CFLAGS=${CFLAGS+set} |
4039 | ac_test_CFLAGS=${CFLAGS+set} |
4051 | ac_save_CFLAGS=$CFLAGS |
4040 | ac_save_CFLAGS=$CFLAGS |
4052 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
4041 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
4053 | $as_echo_n "checking whether $CC accepts -g... " >&6; } |
4042 | $as_echo_n "checking whether $CC accepts -g... " >&6; } |
4054 | if test "${ac_cv_prog_cc_g+set}" = set; then : |
4043 | if ${ac_cv_prog_cc_g+:} false; then : |
4055 | $as_echo_n "(cached) " >&6 |
4044 | $as_echo_n "(cached) " >&6 |
4056 | else |
4045 | else |
4057 | ac_save_c_werror_flag=$ac_c_werror_flag |
4046 | ac_save_c_werror_flag=$ac_c_werror_flag |
4058 | ac_c_werror_flag=yes |
4047 | ac_c_werror_flag=yes |
4059 | ac_cv_prog_cc_g=no |
4048 | ac_cv_prog_cc_g=no |
… | |
… | |
4127 | CFLAGS= |
4116 | CFLAGS= |
4128 | fi |
4117 | fi |
4129 | fi |
4118 | fi |
4130 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 |
4119 | { $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; } |
4120 | $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
4132 | if test "${ac_cv_prog_cc_c89+set}" = set; then : |
4121 | if ${ac_cv_prog_cc_c89+:} false; then : |
4133 | $as_echo_n "(cached) " >&6 |
4122 | $as_echo_n "(cached) " >&6 |
4134 | else |
4123 | else |
4135 | ac_cv_prog_cc_c89=no |
4124 | ac_cv_prog_cc_c89=no |
4136 | ac_save_CC=$CC |
4125 | ac_save_CC=$CC |
4137 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4126 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4138 | /* end confdefs.h. */ |
4127 | /* end confdefs.h. */ |
4139 | #include <stdarg.h> |
4128 | #include <stdarg.h> |
4140 | #include <stdio.h> |
4129 | #include <stdio.h> |
4141 | #include <sys/types.h> |
4130 | struct stat; |
4142 | #include <sys/stat.h> |
|
|
4143 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
4131 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
4144 | struct buf { int x; }; |
4132 | struct buf { int x; }; |
4145 | FILE * (*rcsopen) (struct buf *, struct stat *, int); |
4133 | FILE * (*rcsopen) (struct buf *, struct stat *, int); |
4146 | static char *e (p, i) |
4134 | static char *e (p, i) |
4147 | char **p; |
4135 | char **p; |
… | |
… | |
4226 | |
4214 | |
4227 | depcc="$CC" am_compiler_list= |
4215 | depcc="$CC" am_compiler_list= |
4228 | |
4216 | |
4229 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
4217 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
4230 | $as_echo_n "checking dependency style of $depcc... " >&6; } |
4218 | $as_echo_n "checking dependency style of $depcc... " >&6; } |
4231 | if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then : |
4219 | if ${am_cv_CC_dependencies_compiler_type+:} false; then : |
4232 | $as_echo_n "(cached) " >&6 |
4220 | $as_echo_n "(cached) " >&6 |
4233 | else |
4221 | else |
4234 | if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
4222 | 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 |
4223 | # 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 |
4224 | # making bogus files that we don't know about and never remove. For |
… | |
… | |
4371 | $as_echo_n "checking for GNU ld... " >&6; } |
4359 | $as_echo_n "checking for GNU ld... " >&6; } |
4372 | else |
4360 | else |
4373 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 |
4361 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 |
4374 | $as_echo_n "checking for non-GNU ld... " >&6; } |
4362 | $as_echo_n "checking for non-GNU ld... " >&6; } |
4375 | fi |
4363 | fi |
4376 | if test "${acl_cv_path_LD+set}" = set; then : |
4364 | if ${acl_cv_path_LD+:} false; then : |
4377 | $as_echo_n "(cached) " >&6 |
4365 | $as_echo_n "(cached) " >&6 |
4378 | else |
4366 | else |
4379 | if test -z "$LD"; then |
4367 | if test -z "$LD"; then |
4380 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" |
4368 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" |
4381 | for ac_dir in $PATH; do |
4369 | for ac_dir in $PATH; do |
… | |
… | |
4407 | $as_echo "no" >&6; } |
4395 | $as_echo "no" >&6; } |
4408 | fi |
4396 | fi |
4409 | test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 |
4397 | 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 |
4398 | { $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; } |
4399 | $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } |
4412 | if test "${acl_cv_prog_gnu_ld+set}" = set; then : |
4400 | if ${acl_cv_prog_gnu_ld+:} false; then : |
4413 | $as_echo_n "(cached) " >&6 |
4401 | $as_echo_n "(cached) " >&6 |
4414 | else |
4402 | else |
4415 | # I'd rather use --version here, but apparently some GNU ld's only accept -v. |
4403 | # 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 |
4404 | if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then |
4417 | acl_cv_prog_gnu_ld=yes |
4405 | acl_cv_prog_gnu_ld=yes |
… | |
… | |
4425 | |
4413 | |
4426 | |
4414 | |
4427 | |
4415 | |
4428 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5 |
4416 | { $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; } |
4417 | $as_echo_n "checking for shared library run path origin... " >&6; } |
4430 | if test "${acl_cv_rpath+set}" = set; then : |
4418 | if ${acl_cv_rpath+:} false; then : |
4431 | $as_echo_n "(cached) " >&6 |
4419 | $as_echo_n "(cached) " >&6 |
4432 | else |
4420 | else |
4433 | |
4421 | |
4434 | CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ |
4422 | 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 |
4423 | ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh |
… | |
… | |
4882 | |
4870 | |
4883 | |
4871 | |
4884 | |
4872 | |
4885 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5 |
4873 | { $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; } |
4874 | $as_echo_n "checking for GNU gettext in libc... " >&6; } |
4887 | if test "${gt_cv_func_gnugettext1_libc+set}" = set; then : |
4875 | if ${gt_cv_func_gnugettext1_libc+:} false; then : |
4888 | $as_echo_n "(cached) " >&6 |
4876 | $as_echo_n "(cached) " >&6 |
4889 | else |
4877 | else |
4890 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4878 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4891 | /* end confdefs.h. */ |
4879 | /* end confdefs.h. */ |
4892 | #include <libintl.h> |
4880 | #include <libintl.h> |
… | |
… | |
4943 | done |
4931 | done |
4944 | |
4932 | |
4945 | |
4933 | |
4946 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5 |
4934 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5 |
4947 | $as_echo_n "checking for iconv... " >&6; } |
4935 | $as_echo_n "checking for iconv... " >&6; } |
4948 | if test "${am_cv_func_iconv+set}" = set; then : |
4936 | if ${am_cv_func_iconv+:} false; then : |
4949 | $as_echo_n "(cached) " >&6 |
4937 | $as_echo_n "(cached) " >&6 |
4950 | else |
4938 | else |
4951 | |
4939 | |
4952 | am_cv_func_iconv="no, consider installing GNU libiconv" |
4940 | am_cv_func_iconv="no, consider installing GNU libiconv" |
4953 | am_cv_lib_iconv=no |
4941 | am_cv_lib_iconv=no |
… | |
… | |
5396 | done |
5384 | done |
5397 | fi |
5385 | fi |
5398 | |
5386 | |
5399 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5 |
5387 | { $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; } |
5388 | $as_echo_n "checking for GNU gettext in libintl... " >&6; } |
5401 | if test "${gt_cv_func_gnugettext1_libintl+set}" = set; then : |
5389 | if ${gt_cv_func_gnugettext1_libintl+:} false; then : |
5402 | $as_echo_n "(cached) " >&6 |
5390 | $as_echo_n "(cached) " >&6 |
5403 | else |
5391 | else |
5404 | gt_save_CPPFLAGS="$CPPFLAGS" |
5392 | gt_save_CPPFLAGS="$CPPFLAGS" |
5405 | CPPFLAGS="$CPPFLAGS $INCINTL" |
5393 | CPPFLAGS="$CPPFLAGS $INCINTL" |
5406 | gt_save_LIBS="$LIBS" |
5394 | gt_save_LIBS="$LIBS" |
… | |
… | |
5564 | # On Suns, sometimes $CPP names a directory. |
5552 | # On Suns, sometimes $CPP names a directory. |
5565 | if test -n "$CPP" && test -d "$CPP"; then |
5553 | if test -n "$CPP" && test -d "$CPP"; then |
5566 | CPP= |
5554 | CPP= |
5567 | fi |
5555 | fi |
5568 | if test -z "$CPP"; then |
5556 | if test -z "$CPP"; then |
5569 | if test "${ac_cv_prog_CPP+set}" = set; then : |
5557 | if ${ac_cv_prog_CPP+:} false; then : |
5570 | $as_echo_n "(cached) " >&6 |
5558 | $as_echo_n "(cached) " >&6 |
5571 | else |
5559 | else |
5572 | # Double quotes because CPP needs to be expanded |
5560 | # Double quotes because CPP needs to be expanded |
5573 | for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
5561 | for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
5574 | do |
5562 | do |
… | |
… | |
5680 | |
5668 | |
5681 | else |
5669 | else |
5682 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
5670 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
5683 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
5671 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
5684 | as_fn_error $? "C preprocessor \"$CPP\" fails sanity check |
5672 | as_fn_error $? "C preprocessor \"$CPP\" fails sanity check |
5685 | See \`config.log' for more details" "$LINENO" 5 ; } |
5673 | See \`config.log' for more details" "$LINENO" 5; } |
5686 | fi |
5674 | fi |
5687 | |
5675 | |
5688 | ac_ext=c |
5676 | ac_ext=c |
5689 | ac_cpp='$CPP $CPPFLAGS' |
5677 | ac_cpp='$CPP $CPPFLAGS' |
5690 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
5678 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
… | |
… | |
5705 | do |
5693 | do |
5706 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
5694 | # 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 |
5695 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
5708 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
5696 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
5709 | $as_echo_n "checking for $ac_word... " >&6; } |
5697 | $as_echo_n "checking for $ac_word... " >&6; } |
5710 | if test "${ac_cv_prog_CXX+set}" = set; then : |
5698 | if ${ac_cv_prog_CXX+:} false; then : |
5711 | $as_echo_n "(cached) " >&6 |
5699 | $as_echo_n "(cached) " >&6 |
5712 | else |
5700 | else |
5713 | if test -n "$CXX"; then |
5701 | if test -n "$CXX"; then |
5714 | ac_cv_prog_CXX="$CXX" # Let the user override the test. |
5702 | ac_cv_prog_CXX="$CXX" # Let the user override the test. |
5715 | else |
5703 | else |
… | |
… | |
5717 | for as_dir in $PATH |
5705 | for as_dir in $PATH |
5718 | do |
5706 | do |
5719 | IFS=$as_save_IFS |
5707 | IFS=$as_save_IFS |
5720 | test -z "$as_dir" && as_dir=. |
5708 | test -z "$as_dir" && as_dir=. |
5721 | for ac_exec_ext in '' $ac_executable_extensions; do |
5709 | 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 |
5710 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
5723 | ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" |
5711 | 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 |
5712 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5725 | break 2 |
5713 | break 2 |
5726 | fi |
5714 | fi |
5727 | done |
5715 | done |
… | |
… | |
5749 | do |
5737 | do |
5750 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
5738 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
5751 | set dummy $ac_prog; ac_word=$2 |
5739 | set dummy $ac_prog; ac_word=$2 |
5752 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
5740 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
5753 | $as_echo_n "checking for $ac_word... " >&6; } |
5741 | $as_echo_n "checking for $ac_word... " >&6; } |
5754 | if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then : |
5742 | if ${ac_cv_prog_ac_ct_CXX+:} false; then : |
5755 | $as_echo_n "(cached) " >&6 |
5743 | $as_echo_n "(cached) " >&6 |
5756 | else |
5744 | else |
5757 | if test -n "$ac_ct_CXX"; then |
5745 | if test -n "$ac_ct_CXX"; then |
5758 | ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. |
5746 | ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. |
5759 | else |
5747 | else |
… | |
… | |
5761 | for as_dir in $PATH |
5749 | for as_dir in $PATH |
5762 | do |
5750 | do |
5763 | IFS=$as_save_IFS |
5751 | IFS=$as_save_IFS |
5764 | test -z "$as_dir" && as_dir=. |
5752 | test -z "$as_dir" && as_dir=. |
5765 | for ac_exec_ext in '' $ac_executable_extensions; do |
5753 | 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 |
5754 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
5767 | ac_cv_prog_ac_ct_CXX="$ac_prog" |
5755 | 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 |
5756 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5769 | break 2 |
5757 | break 2 |
5770 | fi |
5758 | fi |
5771 | done |
5759 | done |
… | |
… | |
5827 | test $ac_status = 0; } |
5815 | test $ac_status = 0; } |
5828 | done |
5816 | done |
5829 | |
5817 | |
5830 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 |
5818 | { $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; } |
5819 | $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } |
5832 | if test "${ac_cv_cxx_compiler_gnu+set}" = set; then : |
5820 | if ${ac_cv_cxx_compiler_gnu+:} false; then : |
5833 | $as_echo_n "(cached) " >&6 |
5821 | $as_echo_n "(cached) " >&6 |
5834 | else |
5822 | else |
5835 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5823 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5836 | /* end confdefs.h. */ |
5824 | /* end confdefs.h. */ |
5837 | |
5825 | |
… | |
… | |
5864 | fi |
5852 | fi |
5865 | ac_test_CXXFLAGS=${CXXFLAGS+set} |
5853 | ac_test_CXXFLAGS=${CXXFLAGS+set} |
5866 | ac_save_CXXFLAGS=$CXXFLAGS |
5854 | ac_save_CXXFLAGS=$CXXFLAGS |
5867 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 |
5855 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 |
5868 | $as_echo_n "checking whether $CXX accepts -g... " >&6; } |
5856 | $as_echo_n "checking whether $CXX accepts -g... " >&6; } |
5869 | if test "${ac_cv_prog_cxx_g+set}" = set; then : |
5857 | if ${ac_cv_prog_cxx_g+:} false; then : |
5870 | $as_echo_n "(cached) " >&6 |
5858 | $as_echo_n "(cached) " >&6 |
5871 | else |
5859 | else |
5872 | ac_save_cxx_werror_flag=$ac_cxx_werror_flag |
5860 | ac_save_cxx_werror_flag=$ac_cxx_werror_flag |
5873 | ac_cxx_werror_flag=yes |
5861 | ac_cxx_werror_flag=yes |
5874 | ac_cv_prog_cxx_g=no |
5862 | ac_cv_prog_cxx_g=no |
… | |
… | |
5950 | |
5938 | |
5951 | depcc="$CXX" am_compiler_list= |
5939 | depcc="$CXX" am_compiler_list= |
5952 | |
5940 | |
5953 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
5941 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
5954 | $as_echo_n "checking dependency style of $depcc... " >&6; } |
5942 | $as_echo_n "checking dependency style of $depcc... " >&6; } |
5955 | if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then : |
5943 | if ${am_cv_CXX_dependencies_compiler_type+:} false; then : |
5956 | $as_echo_n "(cached) " >&6 |
5944 | $as_echo_n "(cached) " >&6 |
5957 | else |
5945 | else |
5958 | if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
5946 | 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 |
5947 | # 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 |
5948 | # making bogus files that we don't know about and never remove. For |
… | |
… | |
6051 | |
6039 | |
6052 | |
6040 | |
6053 | |
6041 | |
6054 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 |
6042 | { $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; } |
6043 | $as_echo_n "checking for grep that handles long lines and -e... " >&6; } |
6056 | if test "${ac_cv_path_GREP+set}" = set; then : |
6044 | if ${ac_cv_path_GREP+:} false; then : |
6057 | $as_echo_n "(cached) " >&6 |
6045 | $as_echo_n "(cached) " >&6 |
6058 | else |
6046 | else |
6059 | if test -z "$GREP"; then |
6047 | if test -z "$GREP"; then |
6060 | ac_path_GREP_found=false |
6048 | ac_path_GREP_found=false |
6061 | # Loop through the user's path and test for each of PROGNAME-LIST |
6049 | # Loop through the user's path and test for each of PROGNAME-LIST |
… | |
… | |
6065 | IFS=$as_save_IFS |
6053 | IFS=$as_save_IFS |
6066 | test -z "$as_dir" && as_dir=. |
6054 | test -z "$as_dir" && as_dir=. |
6067 | for ac_prog in grep ggrep; do |
6055 | for ac_prog in grep ggrep; do |
6068 | for ac_exec_ext in '' $ac_executable_extensions; do |
6056 | for ac_exec_ext in '' $ac_executable_extensions; do |
6069 | ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
6057 | ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
6070 | { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue |
6058 | as_fn_executable_p "$ac_path_GREP" || continue |
6071 | # Check for GNU ac_path_GREP and select it if it is found. |
6059 | # Check for GNU ac_path_GREP and select it if it is found. |
6072 | # Check for GNU $ac_path_GREP |
6060 | # Check for GNU $ac_path_GREP |
6073 | case `"$ac_path_GREP" --version 2>&1` in |
6061 | case `"$ac_path_GREP" --version 2>&1` in |
6074 | *GNU*) |
6062 | *GNU*) |
6075 | ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; |
6063 | ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; |
… | |
… | |
6114 | GREP="$ac_cv_path_GREP" |
6102 | GREP="$ac_cv_path_GREP" |
6115 | |
6103 | |
6116 | |
6104 | |
6117 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 |
6105 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 |
6118 | $as_echo_n "checking for egrep... " >&6; } |
6106 | $as_echo_n "checking for egrep... " >&6; } |
6119 | if test "${ac_cv_path_EGREP+set}" = set; then : |
6107 | if ${ac_cv_path_EGREP+:} false; then : |
6120 | $as_echo_n "(cached) " >&6 |
6108 | $as_echo_n "(cached) " >&6 |
6121 | else |
6109 | else |
6122 | if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
6110 | if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
6123 | then ac_cv_path_EGREP="$GREP -E" |
6111 | then ac_cv_path_EGREP="$GREP -E" |
6124 | else |
6112 | else |
… | |
… | |
6131 | IFS=$as_save_IFS |
6119 | IFS=$as_save_IFS |
6132 | test -z "$as_dir" && as_dir=. |
6120 | test -z "$as_dir" && as_dir=. |
6133 | for ac_prog in egrep; do |
6121 | for ac_prog in egrep; do |
6134 | for ac_exec_ext in '' $ac_executable_extensions; do |
6122 | for ac_exec_ext in '' $ac_executable_extensions; do |
6135 | ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
6123 | ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
6136 | { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue |
6124 | as_fn_executable_p "$ac_path_EGREP" || continue |
6137 | # Check for GNU ac_path_EGREP and select it if it is found. |
6125 | # Check for GNU ac_path_EGREP and select it if it is found. |
6138 | # Check for GNU $ac_path_EGREP |
6126 | # Check for GNU $ac_path_EGREP |
6139 | case `"$ac_path_EGREP" --version 2>&1` in |
6127 | case `"$ac_path_EGREP" --version 2>&1` in |
6140 | *GNU*) |
6128 | *GNU*) |
6141 | ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; |
6129 | ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; |
… | |
… | |
6182 | |
6170 | |
6183 | |
6171 | |
6184 | if test $ac_cv_c_compiler_gnu = yes; then |
6172 | if test $ac_cv_c_compiler_gnu = yes; then |
6185 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5 |
6173 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5 |
6186 | $as_echo_n "checking whether $CC needs -traditional... " >&6; } |
6174 | $as_echo_n "checking whether $CC needs -traditional... " >&6; } |
6187 | if test "${ac_cv_prog_gcc_traditional+set}" = set; then : |
6175 | if ${ac_cv_prog_gcc_traditional+:} false; then : |
6188 | $as_echo_n "(cached) " >&6 |
6176 | $as_echo_n "(cached) " >&6 |
6189 | else |
6177 | else |
6190 | ac_pattern="Autoconf.*'x'" |
6178 | ac_pattern="Autoconf.*'x'" |
6191 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6179 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6192 | /* end confdefs.h. */ |
6180 | /* end confdefs.h. */ |
… | |
… | |
6227 | do |
6215 | do |
6228 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
6216 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
6229 | set dummy $ac_prog; ac_word=$2 |
6217 | set dummy $ac_prog; ac_word=$2 |
6230 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
6218 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
6231 | $as_echo_n "checking for $ac_word... " >&6; } |
6219 | $as_echo_n "checking for $ac_word... " >&6; } |
6232 | if test "${ac_cv_prog_AWK+set}" = set; then : |
6220 | if ${ac_cv_prog_AWK+:} false; then : |
6233 | $as_echo_n "(cached) " >&6 |
6221 | $as_echo_n "(cached) " >&6 |
6234 | else |
6222 | else |
6235 | if test -n "$AWK"; then |
6223 | if test -n "$AWK"; then |
6236 | ac_cv_prog_AWK="$AWK" # Let the user override the test. |
6224 | ac_cv_prog_AWK="$AWK" # Let the user override the test. |
6237 | else |
6225 | else |
… | |
… | |
6239 | for as_dir in $PATH |
6227 | for as_dir in $PATH |
6240 | do |
6228 | do |
6241 | IFS=$as_save_IFS |
6229 | IFS=$as_save_IFS |
6242 | test -z "$as_dir" && as_dir=. |
6230 | test -z "$as_dir" && as_dir=. |
6243 | for ac_exec_ext in '' $ac_executable_extensions; do |
6231 | 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 |
6232 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
6245 | ac_cv_prog_AWK="$ac_prog" |
6233 | ac_cv_prog_AWK="$ac_prog" |
6246 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6234 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6247 | break 2 |
6235 | break 2 |
6248 | fi |
6236 | fi |
6249 | done |
6237 | done |
… | |
… | |
6279 | |
6267 | |
6280 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
6268 | { $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; } |
6269 | $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
6282 | set x ${MAKE-make} |
6270 | set x ${MAKE-make} |
6283 | ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
6271 | 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 : |
6272 | if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : |
6285 | $as_echo_n "(cached) " >&6 |
6273 | $as_echo_n "(cached) " >&6 |
6286 | else |
6274 | else |
6287 | cat >conftest.make <<\_ACEOF |
6275 | cat >conftest.make <<\_ACEOF |
6288 | SHELL = /bin/sh |
6276 | SHELL = /bin/sh |
6289 | all: |
6277 | all: |
… | |
… | |
6311 | if test -n "$ac_tool_prefix"; then |
6299 | 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. |
6300 | # 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 |
6301 | set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
6314 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
6302 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
6315 | $as_echo_n "checking for $ac_word... " >&6; } |
6303 | $as_echo_n "checking for $ac_word... " >&6; } |
6316 | if test "${ac_cv_prog_RANLIB+set}" = set; then : |
6304 | if ${ac_cv_prog_RANLIB+:} false; then : |
6317 | $as_echo_n "(cached) " >&6 |
6305 | $as_echo_n "(cached) " >&6 |
6318 | else |
6306 | else |
6319 | if test -n "$RANLIB"; then |
6307 | if test -n "$RANLIB"; then |
6320 | ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
6308 | ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
6321 | else |
6309 | else |
… | |
… | |
6323 | for as_dir in $PATH |
6311 | for as_dir in $PATH |
6324 | do |
6312 | do |
6325 | IFS=$as_save_IFS |
6313 | IFS=$as_save_IFS |
6326 | test -z "$as_dir" && as_dir=. |
6314 | test -z "$as_dir" && as_dir=. |
6327 | for ac_exec_ext in '' $ac_executable_extensions; do |
6315 | 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 |
6316 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
6329 | ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
6317 | 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 |
6318 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6331 | break 2 |
6319 | break 2 |
6332 | fi |
6320 | fi |
6333 | done |
6321 | done |
… | |
… | |
6351 | ac_ct_RANLIB=$RANLIB |
6339 | ac_ct_RANLIB=$RANLIB |
6352 | # Extract the first word of "ranlib", so it can be a program name with args. |
6340 | # Extract the first word of "ranlib", so it can be a program name with args. |
6353 | set dummy ranlib; ac_word=$2 |
6341 | set dummy ranlib; ac_word=$2 |
6354 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
6342 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
6355 | $as_echo_n "checking for $ac_word... " >&6; } |
6343 | $as_echo_n "checking for $ac_word... " >&6; } |
6356 | if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then : |
6344 | if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : |
6357 | $as_echo_n "(cached) " >&6 |
6345 | $as_echo_n "(cached) " >&6 |
6358 | else |
6346 | else |
6359 | if test -n "$ac_ct_RANLIB"; then |
6347 | if test -n "$ac_ct_RANLIB"; then |
6360 | ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. |
6348 | ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. |
6361 | else |
6349 | else |
… | |
… | |
6363 | for as_dir in $PATH |
6351 | for as_dir in $PATH |
6364 | do |
6352 | do |
6365 | IFS=$as_save_IFS |
6353 | IFS=$as_save_IFS |
6366 | test -z "$as_dir" && as_dir=. |
6354 | test -z "$as_dir" && as_dir=. |
6367 | for ac_exec_ext in '' $ac_executable_extensions; do |
6355 | 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 |
6356 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
6369 | ac_cv_prog_ac_ct_RANLIB="ranlib" |
6357 | ac_cv_prog_ac_ct_RANLIB="ranlib" |
6370 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6358 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6371 | break 2 |
6359 | break 2 |
6372 | fi |
6360 | fi |
6373 | done |
6361 | done |
… | |
… | |
6549 | t end |
6537 | t end |
6550 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
6538 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
6551 | :end' >>confcache |
6539 | :end' >>confcache |
6552 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
6540 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
6553 | if test -w "$cache_file"; then |
6541 | if test -w "$cache_file"; then |
6554 | test "x$cache_file" != "x/dev/null" && |
6542 | if test "x$cache_file" != "x/dev/null"; then |
6555 | { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
6543 | { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
6556 | $as_echo "$as_me: updating cache $cache_file" >&6;} |
6544 | $as_echo "$as_me: updating cache $cache_file" >&6;} |
|
|
6545 | if test ! -f "$cache_file" || test -h "$cache_file"; then |
6557 | cat confcache >$cache_file |
6546 | cat confcache >"$cache_file" |
|
|
6547 | else |
|
|
6548 | case $cache_file in #( |
|
|
6549 | */* | ?:*) |
|
|
6550 | mv -f confcache "$cache_file"$$ && |
|
|
6551 | mv -f "$cache_file"$$ "$cache_file" ;; #( |
|
|
6552 | *) |
|
|
6553 | mv -f confcache "$cache_file" ;; |
|
|
6554 | esac |
|
|
6555 | fi |
|
|
6556 | fi |
6558 | else |
6557 | else |
6559 | { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
6558 | { $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;} |
6559 | $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
6561 | fi |
6560 | fi |
6562 | fi |
6561 | fi |
… | |
… | |
6576 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
6575 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
6577 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
6576 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
6578 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 |
6577 | { $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; } |
6578 | $as_echo_n "checking how to run the C++ preprocessor... " >&6; } |
6580 | if test -z "$CXXCPP"; then |
6579 | if test -z "$CXXCPP"; then |
6581 | if test "${ac_cv_prog_CXXCPP+set}" = set; then : |
6580 | if ${ac_cv_prog_CXXCPP+:} false; then : |
6582 | $as_echo_n "(cached) " >&6 |
6581 | $as_echo_n "(cached) " >&6 |
6583 | else |
6582 | else |
6584 | # Double quotes because CXXCPP needs to be expanded |
6583 | # Double quotes because CXXCPP needs to be expanded |
6585 | for CXXCPP in "$CXX -E" "/lib/cpp" |
6584 | for CXXCPP in "$CXX -E" "/lib/cpp" |
6586 | do |
6585 | do |
… | |
… | |
6692 | |
6691 | |
6693 | else |
6692 | else |
6694 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
6693 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
6695 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
6694 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
6696 | as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check |
6695 | as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check |
6697 | See \`config.log' for more details" "$LINENO" 5 ; } |
6696 | See \`config.log' for more details" "$LINENO" 5; } |
6698 | fi |
6697 | fi |
6699 | |
6698 | |
6700 | ac_ext=cpp |
6699 | ac_ext=cpp |
6701 | ac_cpp='$CXXCPP $CPPFLAGS' |
6700 | ac_cpp='$CXXCPP $CPPFLAGS' |
6702 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
6701 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
… | |
… | |
6704 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
6703 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
6705 | |
6704 | |
6706 | |
6705 | |
6707 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
6706 | { $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; } |
6707 | $as_echo_n "checking for ANSI C header files... " >&6; } |
6709 | if test "${ac_cv_header_stdc+set}" = set; then : |
6708 | if ${ac_cv_header_stdc+:} false; then : |
6710 | $as_echo_n "(cached) " >&6 |
6709 | $as_echo_n "(cached) " >&6 |
6711 | else |
6710 | else |
6712 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6711 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6713 | /* end confdefs.h. */ |
6712 | /* end confdefs.h. */ |
6714 | #include <stdlib.h> |
6713 | #include <stdlib.h> |
… | |
… | |
6889 | done |
6888 | done |
6890 | |
6889 | |
6891 | |
6890 | |
6892 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 |
6891 | { $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; } |
6892 | $as_echo_n "checking for an ANSI C-conforming const... " >&6; } |
6894 | if test "${ac_cv_c_const+set}" = set; then : |
6893 | if ${ac_cv_c_const+:} false; then : |
6895 | $as_echo_n "(cached) " >&6 |
6894 | $as_echo_n "(cached) " >&6 |
6896 | else |
6895 | else |
6897 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6896 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6898 | /* end confdefs.h. */ |
6897 | /* end confdefs.h. */ |
6899 | |
6898 | |
6900 | int |
6899 | int |
6901 | main () |
6900 | main () |
6902 | { |
6901 | { |
6903 | /* FIXME: Include the comments suggested by Paul. */ |
6902 | |
6904 | #ifndef __cplusplus |
6903 | #ifndef __cplusplus |
6905 | /* Ultrix mips cc rejects this. */ |
6904 | /* Ultrix mips cc rejects this sort of thing. */ |
6906 | typedef int charset[2]; |
6905 | typedef int charset[2]; |
6907 | const charset cs; |
6906 | const charset cs = { 0, 0 }; |
6908 | /* SunOS 4.1.1 cc rejects this. */ |
6907 | /* SunOS 4.1.1 cc rejects this. */ |
6909 | char const *const *pcpcc; |
6908 | char const *const *pcpcc; |
6910 | char **ppc; |
6909 | char **ppc; |
6911 | /* NEC SVR4.0.2 mips cc rejects this. */ |
6910 | /* NEC SVR4.0.2 mips cc rejects this. */ |
6912 | struct point {int x, y;}; |
6911 | struct point {int x, y;}; |
… | |
… | |
6919 | pcpcc = &g + (g ? g-g : 0); |
6918 | pcpcc = &g + (g ? g-g : 0); |
6920 | /* HPUX 7.0 cc rejects these. */ |
6919 | /* HPUX 7.0 cc rejects these. */ |
6921 | ++pcpcc; |
6920 | ++pcpcc; |
6922 | ppc = (char**) pcpcc; |
6921 | ppc = (char**) pcpcc; |
6923 | pcpcc = (char const *const *) ppc; |
6922 | pcpcc = (char const *const *) ppc; |
6924 | { /* SCO 3.2v4 cc rejects this. */ |
6923 | { /* SCO 3.2v4 cc rejects this sort of thing. */ |
6925 | char *t; |
6924 | char tx; |
|
|
6925 | char *t = &tx; |
6926 | char const *s = 0 ? (char *) 0 : (char const *) 0; |
6926 | char const *s = 0 ? (char *) 0 : (char const *) 0; |
6927 | |
6927 | |
6928 | *t++ = 0; |
6928 | *t++ = 0; |
6929 | if (s) return 0; |
6929 | if (s) return 0; |
6930 | } |
6930 | } |
… | |
… | |
6936 | { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ |
6936 | { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ |
6937 | typedef const int *iptr; |
6937 | typedef const int *iptr; |
6938 | iptr p = 0; |
6938 | iptr p = 0; |
6939 | ++p; |
6939 | ++p; |
6940 | } |
6940 | } |
6941 | { /* AIX XL C 1.02.0.0 rejects this saying |
6941 | { /* 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. */ |
6942 | "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ |
6943 | struct s { int j; const int *ap[3]; }; |
6943 | struct s { int j; const int *ap[3]; } bx; |
6944 | struct s *b; b->j = 5; |
6944 | struct s *b = &bx; b->j = 5; |
6945 | } |
6945 | } |
6946 | { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ |
6946 | { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ |
6947 | const int foo = 10; |
6947 | const int foo = 10; |
6948 | if (!foo) return 0; |
6948 | if (!foo) return 0; |
6949 | } |
6949 | } |
… | |
… | |
6968 | $as_echo "#define const /**/" >>confdefs.h |
6968 | $as_echo "#define const /**/" >>confdefs.h |
6969 | |
6969 | |
6970 | fi |
6970 | fi |
6971 | |
6971 | |
6972 | ac_fn_cxx_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default" |
6972 | 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 : |
6973 | if test "x$ac_cv_type_pid_t" = xyes; then : |
6974 | |
6974 | |
6975 | else |
6975 | else |
6976 | |
6976 | |
6977 | cat >>confdefs.h <<_ACEOF |
6977 | cat >>confdefs.h <<_ACEOF |
6978 | #define pid_t int |
6978 | #define pid_t int |
6979 | _ACEOF |
6979 | _ACEOF |
6980 | |
6980 | |
6981 | fi |
6981 | fi |
6982 | |
6982 | |
6983 | ac_fn_cxx_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" |
6983 | 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 : |
6984 | if test "x$ac_cv_type_size_t" = xyes; then : |
6985 | |
6985 | |
6986 | else |
6986 | else |
6987 | |
6987 | |
6988 | cat >>confdefs.h <<_ACEOF |
6988 | cat >>confdefs.h <<_ACEOF |
6989 | #define size_t unsigned int |
6989 | #define size_t unsigned int |
… | |
… | |
6991 | |
6991 | |
6992 | fi |
6992 | fi |
6993 | |
6993 | |
6994 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5 |
6994 | { $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; } |
6995 | $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 : |
6996 | if ${ac_cv_header_time+:} false; then : |
6997 | $as_echo_n "(cached) " >&6 |
6997 | $as_echo_n "(cached) " >&6 |
6998 | else |
6998 | else |
6999 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6999 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7000 | /* end confdefs.h. */ |
7000 | /* end confdefs.h. */ |
7001 | #include <sys/types.h> |
7001 | #include <sys/types.h> |
… | |
… | |
7026 | |
7026 | |
7027 | fi |
7027 | fi |
7028 | |
7028 | |
7029 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5 |
7029 | { $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; } |
7030 | $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 : |
7031 | if ${ac_cv_struct_tm+:} false; then : |
7032 | $as_echo_n "(cached) " >&6 |
7032 | $as_echo_n "(cached) " >&6 |
7033 | else |
7033 | else |
7034 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7034 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7035 | /* end confdefs.h. */ |
7035 | /* end confdefs.h. */ |
7036 | #include <sys/types.h> |
7036 | #include <sys/types.h> |
… | |
… | |
7062 | fi |
7062 | fi |
7063 | |
7063 | |
7064 | |
7064 | |
7065 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socklen_t" >&5 |
7065 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socklen_t" >&5 |
7066 | $as_echo_n "checking for socklen_t... " >&6; } |
7066 | $as_echo_n "checking for socklen_t... " >&6; } |
7067 | if test "${ac_cv_type_socklen_t+set}" = set; then : |
7067 | if ${ac_cv_type_socklen_t+:} false; then : |
7068 | $as_echo_n "(cached) " >&6 |
7068 | $as_echo_n "(cached) " >&6 |
7069 | else |
7069 | else |
7070 | |
7070 | |
7071 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7071 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7072 | /* end confdefs.h. */ |
7072 | /* end confdefs.h. */ |
… | |
… | |
7096 | |
7096 | |
7097 | fi |
7097 | fi |
7098 | |
7098 | |
7099 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct addrinfo" >&5 |
7099 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct addrinfo" >&5 |
7100 | $as_echo_n "checking for struct addrinfo... " >&6; } |
7100 | $as_echo_n "checking for struct addrinfo... " >&6; } |
7101 | if test "${ac_cv_struct_addrinfo+set}" = set; then : |
7101 | if ${ac_cv_struct_addrinfo+:} false; then : |
7102 | $as_echo_n "(cached) " >&6 |
7102 | $as_echo_n "(cached) " >&6 |
7103 | else |
7103 | else |
7104 | |
7104 | |
7105 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7105 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7106 | /* end confdefs.h. */ |
7106 | /* end confdefs.h. */ |
… | |
… | |
7131 | |
7131 | |
7132 | fi |
7132 | fi |
7133 | |
7133 | |
7134 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5 |
7134 | { $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; } |
7135 | $as_echo_n "checking return type of signal handlers... " >&6; } |
7136 | if test "${ac_cv_type_signal+set}" = set; then : |
7136 | if ${ac_cv_type_signal+:} false; then : |
7137 | $as_echo_n "(cached) " >&6 |
7137 | $as_echo_n "(cached) " >&6 |
7138 | else |
7138 | else |
7139 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7139 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7140 | /* end confdefs.h. */ |
7140 | /* end confdefs.h. */ |
7141 | #include <sys/types.h> |
7141 | #include <sys/types.h> |
… | |
… | |
7172 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
7172 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
7173 | |
7173 | |
7174 | |
7174 | |
7175 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
7175 | { $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; } |
7176 | $as_echo_n "checking for ANSI C header files... " >&6; } |
7177 | if test "${ac_cv_header_stdc+set}" = set; then : |
7177 | if ${ac_cv_header_stdc+:} false; then : |
7178 | $as_echo_n "(cached) " >&6 |
7178 | $as_echo_n "(cached) " >&6 |
7179 | else |
7179 | else |
7180 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7180 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7181 | /* end confdefs.h. */ |
7181 | /* end confdefs.h. */ |
7182 | #include <stdlib.h> |
7182 | #include <stdlib.h> |
… | |
… | |
7300 | |
7300 | |
7301 | # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
7301 | # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
7302 | # for constant arguments. Useless! |
7302 | # for constant arguments. Useless! |
7303 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5 |
7303 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5 |
7304 | $as_echo_n "checking for working alloca.h... " >&6; } |
7304 | $as_echo_n "checking for working alloca.h... " >&6; } |
7305 | if test "${ac_cv_working_alloca_h+set}" = set; then : |
7305 | if ${ac_cv_working_alloca_h+:} false; then : |
7306 | $as_echo_n "(cached) " >&6 |
7306 | $as_echo_n "(cached) " >&6 |
7307 | else |
7307 | else |
7308 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7308 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7309 | /* end confdefs.h. */ |
7309 | /* end confdefs.h. */ |
7310 | #include <alloca.h> |
7310 | #include <alloca.h> |
… | |
… | |
7333 | |
7333 | |
7334 | fi |
7334 | fi |
7335 | |
7335 | |
7336 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5 |
7336 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5 |
7337 | $as_echo_n "checking for alloca... " >&6; } |
7337 | $as_echo_n "checking for alloca... " >&6; } |
7338 | if test "${ac_cv_func_alloca_works+set}" = set; then : |
7338 | if ${ac_cv_func_alloca_works+:} false; then : |
7339 | $as_echo_n "(cached) " >&6 |
7339 | $as_echo_n "(cached) " >&6 |
7340 | else |
7340 | else |
7341 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7341 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7342 | /* end confdefs.h. */ |
7342 | /* end confdefs.h. */ |
7343 | #ifdef __GNUC__ |
7343 | #ifdef __GNUC__ |
… | |
… | |
7352 | # else |
7352 | # else |
7353 | # ifdef _AIX |
7353 | # ifdef _AIX |
7354 | #pragma alloca |
7354 | #pragma alloca |
7355 | # else |
7355 | # else |
7356 | # ifndef alloca /* predefined by HP cc +Olibcalls */ |
7356 | # ifndef alloca /* predefined by HP cc +Olibcalls */ |
7357 | char *alloca (); |
7357 | void *alloca (size_t); |
7358 | # endif |
7358 | # endif |
7359 | # endif |
7359 | # endif |
7360 | # endif |
7360 | # endif |
7361 | # endif |
7361 | # endif |
7362 | #endif |
7362 | #endif |
… | |
… | |
7396 | $as_echo "#define C_ALLOCA 1" >>confdefs.h |
7396 | $as_echo "#define C_ALLOCA 1" >>confdefs.h |
7397 | |
7397 | |
7398 | |
7398 | |
7399 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5 |
7399 | { $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; } |
7400 | $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; } |
7401 | if test "${ac_cv_os_cray+set}" = set; then : |
7401 | if ${ac_cv_os_cray+:} false; then : |
7402 | $as_echo_n "(cached) " >&6 |
7402 | $as_echo_n "(cached) " >&6 |
7403 | else |
7403 | else |
7404 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7404 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7405 | /* end confdefs.h. */ |
7405 | /* end confdefs.h. */ |
7406 | #if defined CRAY && ! defined CRAY2 |
7406 | #if defined CRAY && ! defined CRAY2 |
… | |
… | |
7437 | done |
7437 | done |
7438 | fi |
7438 | fi |
7439 | |
7439 | |
7440 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5 |
7440 | { $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; } |
7441 | $as_echo_n "checking stack direction for C alloca... " >&6; } |
7442 | if test "${ac_cv_c_stack_direction+set}" = set; then : |
7442 | if ${ac_cv_c_stack_direction+:} false; then : |
7443 | $as_echo_n "(cached) " >&6 |
7443 | $as_echo_n "(cached) " >&6 |
7444 | else |
7444 | else |
7445 | if test "$cross_compiling" = yes; then : |
7445 | if test "$cross_compiling" = yes; then : |
7446 | ac_cv_c_stack_direction=0 |
7446 | ac_cv_c_stack_direction=0 |
7447 | else |
7447 | else |
7448 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7448 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7449 | /* end confdefs.h. */ |
7449 | /* end confdefs.h. */ |
7450 | $ac_includes_default |
7450 | $ac_includes_default |
7451 | int |
7451 | int |
7452 | find_stack_direction () |
7452 | find_stack_direction (int *addr, int depth) |
7453 | { |
7453 | { |
7454 | static char *addr = 0; |
7454 | int dir, dummy = 0; |
7455 | auto char dummy; |
|
|
7456 | if (addr == 0) |
7455 | if (! addr) |
7457 | { |
|
|
7458 | addr = &dummy; |
7456 | addr = &dummy; |
7459 | return find_stack_direction (); |
7457 | *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1; |
7460 | } |
7458 | dir = depth ? find_stack_direction (addr, depth - 1) : 0; |
7461 | else |
7459 | return dir + dummy; |
7462 | return (&dummy > addr) ? 1 : -1; |
|
|
7463 | } |
7460 | } |
7464 | |
7461 | |
7465 | int |
7462 | int |
7466 | main () |
7463 | main (int argc, char **argv) |
7467 | { |
7464 | { |
7468 | return find_stack_direction () < 0; |
7465 | return find_stack_direction (0, argc + !argv + 20) < 0; |
7469 | } |
7466 | } |
7470 | _ACEOF |
7467 | _ACEOF |
7471 | if ac_fn_c_try_run "$LINENO"; then : |
7468 | if ac_fn_c_try_run "$LINENO"; then : |
7472 | ac_cv_c_stack_direction=1 |
7469 | ac_cv_c_stack_direction=1 |
7473 | else |
7470 | else |
… | |
… | |
7488 | fi |
7485 | fi |
7489 | |
7486 | |
7490 | |
7487 | |
7491 | |
7488 | |
7492 | ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket" |
7489 | ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket" |
7493 | if test "x$ac_cv_func_socket" = x""yes; then : |
7490 | if test "x$ac_cv_func_socket" = xyes; then : |
7494 | |
7491 | |
7495 | else |
7492 | else |
7496 | |
7493 | |
7497 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5 |
7494 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5 |
7498 | $as_echo_n "checking for connect in -lsocket... " >&6; } |
7495 | $as_echo_n "checking for connect in -lsocket... " >&6; } |
7499 | if test "${ac_cv_lib_socket_connect+set}" = set; then : |
7496 | if ${ac_cv_lib_socket_connect+:} false; then : |
7500 | $as_echo_n "(cached) " >&6 |
7497 | $as_echo_n "(cached) " >&6 |
7501 | else |
7498 | else |
7502 | ac_check_lib_save_LIBS=$LIBS |
7499 | ac_check_lib_save_LIBS=$LIBS |
7503 | LIBS="-lsocket $LIBS" |
7500 | LIBS="-lsocket $LIBS" |
7504 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7501 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
… | |
… | |
7528 | conftest$ac_exeext conftest.$ac_ext |
7525 | conftest$ac_exeext conftest.$ac_ext |
7529 | LIBS=$ac_check_lib_save_LIBS |
7526 | LIBS=$ac_check_lib_save_LIBS |
7530 | fi |
7527 | fi |
7531 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5 |
7528 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5 |
7532 | $as_echo "$ac_cv_lib_socket_connect" >&6; } |
7529 | $as_echo "$ac_cv_lib_socket_connect" >&6; } |
7533 | if test "x$ac_cv_lib_socket_connect" = x""yes; then : |
7530 | if test "x$ac_cv_lib_socket_connect" = xyes; then : |
7534 | cat >>confdefs.h <<_ACEOF |
7531 | cat >>confdefs.h <<_ACEOF |
7535 | #define HAVE_LIBSOCKET 1 |
7532 | #define HAVE_LIBSOCKET 1 |
7536 | _ACEOF |
7533 | _ACEOF |
7537 | |
7534 | |
7538 | LIBS="-lsocket $LIBS" |
7535 | LIBS="-lsocket $LIBS" |
… | |
… | |
7541 | |
7538 | |
7542 | |
7539 | |
7543 | fi |
7540 | fi |
7544 | |
7541 | |
7545 | ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname" |
7542 | ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname" |
7546 | if test "x$ac_cv_func_gethostbyname" = x""yes; then : |
7543 | if test "x$ac_cv_func_gethostbyname" = xyes; then : |
7547 | |
7544 | |
7548 | else |
7545 | else |
7549 | |
7546 | |
7550 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5 |
7547 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5 |
7551 | $as_echo_n "checking for gethostbyname in -lnsl... " >&6; } |
7548 | $as_echo_n "checking for gethostbyname in -lnsl... " >&6; } |
7552 | if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then : |
7549 | if ${ac_cv_lib_nsl_gethostbyname+:} false; then : |
7553 | $as_echo_n "(cached) " >&6 |
7550 | $as_echo_n "(cached) " >&6 |
7554 | else |
7551 | else |
7555 | ac_check_lib_save_LIBS=$LIBS |
7552 | ac_check_lib_save_LIBS=$LIBS |
7556 | LIBS="-lnsl $LIBS" |
7553 | LIBS="-lnsl $LIBS" |
7557 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7554 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
… | |
… | |
7581 | conftest$ac_exeext conftest.$ac_ext |
7578 | conftest$ac_exeext conftest.$ac_ext |
7582 | LIBS=$ac_check_lib_save_LIBS |
7579 | LIBS=$ac_check_lib_save_LIBS |
7583 | fi |
7580 | fi |
7584 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5 |
7581 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5 |
7585 | $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; } |
7582 | $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; } |
7586 | if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then : |
7583 | if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then : |
7587 | cat >>confdefs.h <<_ACEOF |
7584 | cat >>confdefs.h <<_ACEOF |
7588 | #define HAVE_LIBNSL 1 |
7585 | #define HAVE_LIBNSL 1 |
7589 | _ACEOF |
7586 | _ACEOF |
7590 | |
7587 | |
7591 | LIBS="-lnsl $LIBS" |
7588 | LIBS="-lnsl $LIBS" |
… | |
… | |
7625 | |
7622 | |
7626 | |
7623 | |
7627 | for ac_func in clock_gettime |
7624 | for ac_func in clock_gettime |
7628 | do : |
7625 | do : |
7629 | ac_fn_c_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime" |
7626 | 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 : |
7627 | if test "x$ac_cv_func_clock_gettime" = xyes; then : |
7631 | cat >>confdefs.h <<_ACEOF |
7628 | cat >>confdefs.h <<_ACEOF |
7632 | #define HAVE_CLOCK_GETTIME 1 |
7629 | #define HAVE_CLOCK_GETTIME 1 |
7633 | _ACEOF |
7630 | _ACEOF |
7634 | |
7631 | |
7635 | else |
7632 | else |
… | |
… | |
7665 | conftest$ac_exeext conftest.$ac_ext |
7662 | conftest$ac_exeext conftest.$ac_ext |
7666 | fi |
7663 | fi |
7667 | if test -z "$LIBEV_M4_AVOID_LIBRT" && test -z "$ac_have_clock_syscall"; then |
7664 | 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 |
7665 | { $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; } |
7666 | $as_echo_n "checking for clock_gettime in -lrt... " >&6; } |
7670 | if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then : |
7667 | if ${ac_cv_lib_rt_clock_gettime+:} false; then : |
7671 | $as_echo_n "(cached) " >&6 |
7668 | $as_echo_n "(cached) " >&6 |
7672 | else |
7669 | else |
7673 | ac_check_lib_save_LIBS=$LIBS |
7670 | ac_check_lib_save_LIBS=$LIBS |
7674 | LIBS="-lrt $LIBS" |
7671 | LIBS="-lrt $LIBS" |
7675 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7672 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
… | |
… | |
7699 | conftest$ac_exeext conftest.$ac_ext |
7696 | conftest$ac_exeext conftest.$ac_ext |
7700 | LIBS=$ac_check_lib_save_LIBS |
7697 | LIBS=$ac_check_lib_save_LIBS |
7701 | fi |
7698 | fi |
7702 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5 |
7699 | { $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; } |
7700 | $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; } |
7704 | if test "x$ac_cv_lib_rt_clock_gettime" = x""yes; then : |
7701 | if test "x$ac_cv_lib_rt_clock_gettime" = xyes; then : |
7705 | cat >>confdefs.h <<_ACEOF |
7702 | cat >>confdefs.h <<_ACEOF |
7706 | #define HAVE_LIBRT 1 |
7703 | #define HAVE_LIBRT 1 |
7707 | _ACEOF |
7704 | _ACEOF |
7708 | |
7705 | |
7709 | LIBS="-lrt $LIBS" |
7706 | LIBS="-lrt $LIBS" |
… | |
… | |
7712 | |
7709 | |
7713 | unset ac_cv_func_clock_gettime |
7710 | unset ac_cv_func_clock_gettime |
7714 | for ac_func in clock_gettime |
7711 | for ac_func in clock_gettime |
7715 | do : |
7712 | do : |
7716 | ac_fn_c_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime" |
7713 | 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 : |
7714 | if test "x$ac_cv_func_clock_gettime" = xyes; then : |
7718 | cat >>confdefs.h <<_ACEOF |
7715 | cat >>confdefs.h <<_ACEOF |
7719 | #define HAVE_CLOCK_GETTIME 1 |
7716 | #define HAVE_CLOCK_GETTIME 1 |
7720 | _ACEOF |
7717 | _ACEOF |
7721 | |
7718 | |
7722 | fi |
7719 | fi |
… | |
… | |
7729 | |
7726 | |
7730 | |
7727 | |
7731 | for ac_func in nanosleep |
7728 | for ac_func in nanosleep |
7732 | do : |
7729 | do : |
7733 | ac_fn_c_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep" |
7730 | ac_fn_c_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep" |
7734 | if test "x$ac_cv_func_nanosleep" = x""yes; then : |
7731 | if test "x$ac_cv_func_nanosleep" = xyes; then : |
7735 | cat >>confdefs.h <<_ACEOF |
7732 | cat >>confdefs.h <<_ACEOF |
7736 | #define HAVE_NANOSLEEP 1 |
7733 | #define HAVE_NANOSLEEP 1 |
7737 | _ACEOF |
7734 | _ACEOF |
7738 | |
7735 | |
7739 | else |
7736 | else |
7740 | |
7737 | |
7741 | if test -z "$LIBEV_M4_AVOID_LIBRT"; then |
7738 | if test -z "$LIBEV_M4_AVOID_LIBRT"; then |
7742 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lrt" >&5 |
7739 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lrt" >&5 |
7743 | $as_echo_n "checking for nanosleep in -lrt... " >&6; } |
7740 | $as_echo_n "checking for nanosleep in -lrt... " >&6; } |
7744 | if test "${ac_cv_lib_rt_nanosleep+set}" = set; then : |
7741 | if ${ac_cv_lib_rt_nanosleep+:} false; then : |
7745 | $as_echo_n "(cached) " >&6 |
7742 | $as_echo_n "(cached) " >&6 |
7746 | else |
7743 | else |
7747 | ac_check_lib_save_LIBS=$LIBS |
7744 | ac_check_lib_save_LIBS=$LIBS |
7748 | LIBS="-lrt $LIBS" |
7745 | LIBS="-lrt $LIBS" |
7749 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7746 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
… | |
… | |
7773 | conftest$ac_exeext conftest.$ac_ext |
7770 | conftest$ac_exeext conftest.$ac_ext |
7774 | LIBS=$ac_check_lib_save_LIBS |
7771 | LIBS=$ac_check_lib_save_LIBS |
7775 | fi |
7772 | fi |
7776 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_nanosleep" >&5 |
7773 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_nanosleep" >&5 |
7777 | $as_echo "$ac_cv_lib_rt_nanosleep" >&6; } |
7774 | $as_echo "$ac_cv_lib_rt_nanosleep" >&6; } |
7778 | if test "x$ac_cv_lib_rt_nanosleep" = x""yes; then : |
7775 | if test "x$ac_cv_lib_rt_nanosleep" = xyes; then : |
7779 | cat >>confdefs.h <<_ACEOF |
7776 | cat >>confdefs.h <<_ACEOF |
7780 | #define HAVE_LIBRT 1 |
7777 | #define HAVE_LIBRT 1 |
7781 | _ACEOF |
7778 | _ACEOF |
7782 | |
7779 | |
7783 | LIBS="-lrt $LIBS" |
7780 | LIBS="-lrt $LIBS" |
… | |
… | |
7786 | |
7783 | |
7787 | unset ac_cv_func_nanosleep |
7784 | unset ac_cv_func_nanosleep |
7788 | for ac_func in nanosleep |
7785 | for ac_func in nanosleep |
7789 | do : |
7786 | do : |
7790 | ac_fn_c_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep" |
7787 | ac_fn_c_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep" |
7791 | if test "x$ac_cv_func_nanosleep" = x""yes; then : |
7788 | if test "x$ac_cv_func_nanosleep" = xyes; then : |
7792 | cat >>confdefs.h <<_ACEOF |
7789 | cat >>confdefs.h <<_ACEOF |
7793 | #define HAVE_NANOSLEEP 1 |
7790 | #define HAVE_NANOSLEEP 1 |
7794 | _ACEOF |
7791 | _ACEOF |
7795 | |
7792 | |
7796 | fi |
7793 | fi |
… | |
… | |
7800 | |
7797 | |
7801 | fi |
7798 | fi |
7802 | done |
7799 | done |
7803 | |
7800 | |
7804 | |
7801 | |
|
|
7802 | if test -z "$LIBEV_M4_AVOID_LIBM"; then |
|
|
7803 | LIBM=m |
|
|
7804 | fi |
7805 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceil in -lm" >&5 |
7805 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing floor" >&5 |
7806 | $as_echo_n "checking for ceil in -lm... " >&6; } |
7806 | $as_echo_n "checking for library containing floor... " >&6; } |
7807 | if test "${ac_cv_lib_m_ceil+set}" = set; then : |
7807 | if ${ac_cv_search_floor+:} false; then : |
7808 | $as_echo_n "(cached) " >&6 |
7808 | $as_echo_n "(cached) " >&6 |
7809 | else |
7809 | else |
7810 | ac_check_lib_save_LIBS=$LIBS |
7810 | ac_func_search_save_LIBS=$LIBS |
7811 | LIBS="-lm $LIBS" |
|
|
7812 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7811 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7813 | /* end confdefs.h. */ |
7812 | /* end confdefs.h. */ |
7814 | |
7813 | |
7815 | /* Override any GCC internal prototype to avoid an error. |
7814 | /* Override any GCC internal prototype to avoid an error. |
7816 | Use char because int might match the return type of a GCC |
7815 | Use char because int might match the return type of a GCC |
7817 | builtin and then its argument prototype would still apply. */ |
7816 | builtin and then its argument prototype would still apply. */ |
7818 | #ifdef __cplusplus |
7817 | #ifdef __cplusplus |
7819 | extern "C" |
7818 | extern "C" |
7820 | #endif |
7819 | #endif |
7821 | char ceil (); |
7820 | char floor (); |
7822 | int |
7821 | int |
7823 | main () |
7822 | main () |
7824 | { |
7823 | { |
7825 | return ceil (); |
7824 | return floor (); |
7826 | ; |
7825 | ; |
7827 | return 0; |
7826 | return 0; |
7828 | } |
7827 | } |
7829 | _ACEOF |
7828 | _ACEOF |
|
|
7829 | for ac_lib in '' $LIBM; do |
|
|
7830 | if test -z "$ac_lib"; then |
|
|
7831 | ac_res="none required" |
|
|
7832 | else |
|
|
7833 | ac_res=-l$ac_lib |
|
|
7834 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
|
|
7835 | fi |
7830 | if ac_fn_c_try_link "$LINENO"; then : |
7836 | if ac_fn_c_try_link "$LINENO"; then : |
7831 | ac_cv_lib_m_ceil=yes |
7837 | ac_cv_search_floor=$ac_res |
7832 | else |
|
|
7833 | ac_cv_lib_m_ceil=no |
|
|
7834 | fi |
7838 | fi |
7835 | rm -f core conftest.err conftest.$ac_objext \ |
7839 | rm -f core conftest.err conftest.$ac_objext \ |
7836 | conftest$ac_exeext conftest.$ac_ext |
7840 | conftest$ac_exeext |
7837 | LIBS=$ac_check_lib_save_LIBS |
7841 | if ${ac_cv_search_floor+:} false; then : |
|
|
7842 | break |
7838 | fi |
7843 | fi |
|
|
7844 | done |
|
|
7845 | if ${ac_cv_search_floor+:} false; then : |
|
|
7846 | |
|
|
7847 | else |
|
|
7848 | ac_cv_search_floor=no |
|
|
7849 | fi |
|
|
7850 | rm conftest.$ac_ext |
|
|
7851 | LIBS=$ac_func_search_save_LIBS |
|
|
7852 | fi |
7839 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ceil" >&5 |
7853 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_floor" >&5 |
7840 | $as_echo "$ac_cv_lib_m_ceil" >&6; } |
7854 | $as_echo "$ac_cv_search_floor" >&6; } |
7841 | if test "x$ac_cv_lib_m_ceil" = x""yes; then : |
7855 | ac_res=$ac_cv_search_floor |
7842 | cat >>confdefs.h <<_ACEOF |
7856 | if test "$ac_res" != no; then : |
7843 | #define HAVE_LIBM 1 |
7857 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
7844 | _ACEOF |
|
|
7845 | |
7858 | |
7846 | LIBS="-lm $LIBS" |
7859 | $as_echo "#define HAVE_FLOOR 1" >>confdefs.h |
7847 | |
7860 | |
7848 | fi |
7861 | fi |
7849 | |
7862 | |
7850 | |
7863 | |
7851 | |
7864 | |
… | |
… | |
7920 | t end |
7933 | t end |
7921 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
7934 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
7922 | :end' >>confcache |
7935 | :end' >>confcache |
7923 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
7936 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
7924 | if test -w "$cache_file"; then |
7937 | if test -w "$cache_file"; then |
7925 | test "x$cache_file" != "x/dev/null" && |
7938 | if test "x$cache_file" != "x/dev/null"; then |
7926 | { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
7939 | { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
7927 | $as_echo "$as_me: updating cache $cache_file" >&6;} |
7940 | $as_echo "$as_me: updating cache $cache_file" >&6;} |
|
|
7941 | if test ! -f "$cache_file" || test -h "$cache_file"; then |
7928 | cat confcache >$cache_file |
7942 | cat confcache >"$cache_file" |
|
|
7943 | else |
|
|
7944 | case $cache_file in #( |
|
|
7945 | */* | ?:*) |
|
|
7946 | mv -f confcache "$cache_file"$$ && |
|
|
7947 | mv -f "$cache_file"$$ "$cache_file" ;; #( |
|
|
7948 | *) |
|
|
7949 | mv -f confcache "$cache_file" ;; |
|
|
7950 | esac |
|
|
7951 | fi |
|
|
7952 | fi |
7929 | else |
7953 | else |
7930 | { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
7954 | { $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;} |
7955 | $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
7932 | fi |
7956 | fi |
7933 | fi |
7957 | fi |
… | |
… | |
7944 | fi |
7968 | fi |
7945 | |
7969 | |
7946 | |
7970 | |
7947 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for linux/if_tun.h" >&5 |
7971 | { $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; } |
7972 | $as_echo_n "checking for linux/if_tun.h... " >&6; } |
7949 | if test "${tinc_cv_linux_if_tun_h+set}" = set; then : |
7973 | if ${tinc_cv_linux_if_tun_h+:} false; then : |
7950 | $as_echo_n "(cached) " >&6 |
7974 | $as_echo_n "(cached) " >&6 |
7951 | else |
7975 | else |
7952 | |
7976 | |
7953 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7977 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7954 | /* end confdefs.h. */ |
7978 | /* end confdefs.h. */ |
… | |
… | |
8011 | |
8035 | |
8012 | |
8036 | |
8013 | |
8037 | |
8014 | |
8038 | |
8015 | |
8039 | |
8016 | tinc_ac_save_CPPFLAGS="$CPPFLAGS" |
|
|
8017 | |
8040 | |
8018 | |
8041 | |
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 | |
8042 | |
8025 | fi |
|
|
8026 | |
8043 | |
8027 | |
8044 | |
8028 | |
8045 | |
8029 | # Check whether --with-openssl-lib was given. |
8046 | if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then |
8030 | if test "${with_openssl_lib+set}" = set; then : |
8047 | if test -n "$ac_tool_prefix"; then |
8031 | withval=$with_openssl_lib; openssl_lib="$withval" |
8048 | # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. |
8032 | LIBS="$LIBS -L$withval" |
8049 | set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 |
8033 | |
8050 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
8034 | fi |
8051 | $as_echo_n "checking for $ac_word... " >&6; } |
8035 | |
8052 | if ${ac_cv_path_PKG_CONFIG+:} false; then : |
8036 | |
8053 | $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 |
8054 | else |
8047 | as_fn_error $? "OpenSSL header files not found." "$LINENO" 5 ; break |
8055 | case $PKG_CONFIG in |
8048 | |
8056 | [\\/]* | ?:[\\/]*) |
8049 | fi |
8057 | ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
8050 | |
8058 | ;; |
|
|
8059 | *) |
|
|
8060 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
8061 | for as_dir in $PATH |
|
|
8062 | do |
|
|
8063 | IFS=$as_save_IFS |
|
|
8064 | test -z "$as_dir" && as_dir=. |
|
|
8065 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
8066 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
8067 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
|
|
8068 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
8069 | break 2 |
|
|
8070 | fi |
8051 | done |
8071 | done |
|
|
8072 | done |
|
|
8073 | IFS=$as_save_IFS |
8052 | |
8074 | |
|
|
8075 | ;; |
|
|
8076 | esac |
|
|
8077 | fi |
|
|
8078 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
|
|
8079 | if test -n "$PKG_CONFIG"; then |
|
|
8080 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 |
|
|
8081 | $as_echo "$PKG_CONFIG" >&6; } |
|
|
8082 | else |
|
|
8083 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
8084 | $as_echo "no" >&6; } |
|
|
8085 | fi |
8053 | |
8086 | |
8054 | CPPFLAGS="$tinc_ac_save_CPPFLAGS" |
|
|
8055 | |
8087 | |
|
|
8088 | fi |
|
|
8089 | if test -z "$ac_cv_path_PKG_CONFIG"; then |
|
|
8090 | ac_pt_PKG_CONFIG=$PKG_CONFIG |
|
|
8091 | # Extract the first word of "pkg-config", so it can be a program name with args. |
|
|
8092 | set dummy pkg-config; ac_word=$2 |
8056 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SHA1_version in -lcrypto" >&5 |
8093 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
8057 | $as_echo_n "checking for SHA1_version in -lcrypto... " >&6; } |
8094 | $as_echo_n "checking for $ac_word... " >&6; } |
8058 | if test "${ac_cv_lib_crypto_SHA1_version+set}" = set; then : |
8095 | if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : |
8059 | $as_echo_n "(cached) " >&6 |
8096 | $as_echo_n "(cached) " >&6 |
8060 | else |
8097 | else |
8061 | ac_check_lib_save_LIBS=$LIBS |
8098 | case $ac_pt_PKG_CONFIG in |
8062 | LIBS="-lcrypto $LIBS" |
8099 | [\\/]* | ?:[\\/]*) |
|
|
8100 | ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. |
|
|
8101 | ;; |
|
|
8102 | *) |
|
|
8103 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
8104 | for as_dir in $PATH |
|
|
8105 | do |
|
|
8106 | IFS=$as_save_IFS |
|
|
8107 | test -z "$as_dir" && as_dir=. |
|
|
8108 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
8109 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
8110 | ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
|
|
8111 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
8112 | break 2 |
|
|
8113 | fi |
|
|
8114 | done |
|
|
8115 | done |
|
|
8116 | IFS=$as_save_IFS |
|
|
8117 | |
|
|
8118 | ;; |
|
|
8119 | esac |
|
|
8120 | fi |
|
|
8121 | ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG |
|
|
8122 | if test -n "$ac_pt_PKG_CONFIG"; then |
|
|
8123 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 |
|
|
8124 | $as_echo "$ac_pt_PKG_CONFIG" >&6; } |
|
|
8125 | else |
|
|
8126 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
8127 | $as_echo "no" >&6; } |
|
|
8128 | fi |
|
|
8129 | |
|
|
8130 | if test "x$ac_pt_PKG_CONFIG" = x; then |
|
|
8131 | PKG_CONFIG="" |
|
|
8132 | else |
|
|
8133 | case $cross_compiling:$ac_tool_warned in |
|
|
8134 | yes:) |
|
|
8135 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
|
8136 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
|
8137 | ac_tool_warned=yes ;; |
|
|
8138 | esac |
|
|
8139 | PKG_CONFIG=$ac_pt_PKG_CONFIG |
|
|
8140 | fi |
|
|
8141 | else |
|
|
8142 | PKG_CONFIG="$ac_cv_path_PKG_CONFIG" |
|
|
8143 | fi |
|
|
8144 | |
|
|
8145 | fi |
|
|
8146 | if test -n "$PKG_CONFIG"; then |
|
|
8147 | _pkg_min_version=0.9.0 |
|
|
8148 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 |
|
|
8149 | $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } |
|
|
8150 | if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then |
|
|
8151 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
|
8152 | $as_echo "yes" >&6; } |
|
|
8153 | else |
|
|
8154 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
8155 | $as_echo "no" >&6; } |
|
|
8156 | PKG_CONFIG="" |
|
|
8157 | fi |
|
|
8158 | fi |
|
|
8159 | |
|
|
8160 | pkg_failed=no |
|
|
8161 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBCRYPTO" >&5 |
|
|
8162 | $as_echo_n "checking for LIBCRYPTO... " >&6; } |
|
|
8163 | |
|
|
8164 | if test -n "$LIBCRYPTO_CFLAGS"; then |
|
|
8165 | pkg_cv_LIBCRYPTO_CFLAGS="$LIBCRYPTO_CFLAGS" |
|
|
8166 | elif test -n "$PKG_CONFIG"; then |
|
|
8167 | if test -n "$PKG_CONFIG" && \ |
|
|
8168 | { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcrypto >= 1\""; } >&5 |
|
|
8169 | ($PKG_CONFIG --exists --print-errors "libcrypto >= 1") 2>&5 |
|
|
8170 | ac_status=$? |
|
|
8171 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
|
8172 | test $ac_status = 0; }; then |
|
|
8173 | pkg_cv_LIBCRYPTO_CFLAGS=`$PKG_CONFIG --cflags "libcrypto >= 1" 2>/dev/null` |
|
|
8174 | test "x$?" != "x0" && pkg_failed=yes |
|
|
8175 | else |
|
|
8176 | pkg_failed=yes |
|
|
8177 | fi |
|
|
8178 | else |
|
|
8179 | pkg_failed=untried |
|
|
8180 | fi |
|
|
8181 | if test -n "$LIBCRYPTO_LIBS"; then |
|
|
8182 | pkg_cv_LIBCRYPTO_LIBS="$LIBCRYPTO_LIBS" |
|
|
8183 | elif test -n "$PKG_CONFIG"; then |
|
|
8184 | if test -n "$PKG_CONFIG" && \ |
|
|
8185 | { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcrypto >= 1\""; } >&5 |
|
|
8186 | ($PKG_CONFIG --exists --print-errors "libcrypto >= 1") 2>&5 |
|
|
8187 | ac_status=$? |
|
|
8188 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
|
8189 | test $ac_status = 0; }; then |
|
|
8190 | pkg_cv_LIBCRYPTO_LIBS=`$PKG_CONFIG --libs "libcrypto >= 1" 2>/dev/null` |
|
|
8191 | test "x$?" != "x0" && pkg_failed=yes |
|
|
8192 | else |
|
|
8193 | pkg_failed=yes |
|
|
8194 | fi |
|
|
8195 | else |
|
|
8196 | pkg_failed=untried |
|
|
8197 | fi |
|
|
8198 | |
|
|
8199 | |
|
|
8200 | |
|
|
8201 | if test $pkg_failed = yes; then |
|
|
8202 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
8203 | $as_echo "no" >&6; } |
|
|
8204 | |
|
|
8205 | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
|
|
8206 | _pkg_short_errors_supported=yes |
|
|
8207 | else |
|
|
8208 | _pkg_short_errors_supported=no |
|
|
8209 | fi |
|
|
8210 | if test $_pkg_short_errors_supported = yes; then |
|
|
8211 | LIBCRYPTO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcrypto >= 1" 2>&1` |
|
|
8212 | else |
|
|
8213 | LIBCRYPTO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcrypto >= 1" 2>&1` |
|
|
8214 | fi |
|
|
8215 | # Put the nasty error message in config.log where it belongs |
|
|
8216 | echo "$LIBCRYPTO_PKG_ERRORS" >&5 |
|
|
8217 | |
|
|
8218 | as_fn_error $? "Package requirements (libcrypto >= 1) were not met: |
|
|
8219 | |
|
|
8220 | $LIBCRYPTO_PKG_ERRORS |
|
|
8221 | |
|
|
8222 | Consider adjusting the PKG_CONFIG_PATH environment variable if you |
|
|
8223 | installed software in a non-standard prefix. |
|
|
8224 | |
|
|
8225 | Alternatively, you may set the environment variables LIBCRYPTO_CFLAGS |
|
|
8226 | and LIBCRYPTO_LIBS to avoid the need to call pkg-config. |
|
|
8227 | See the pkg-config man page for more details." "$LINENO" 5 |
|
|
8228 | elif test $pkg_failed = untried; then |
|
|
8229 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
8230 | $as_echo "no" >&6; } |
|
|
8231 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
|
8232 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
|
8233 | as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it |
|
|
8234 | is in your PATH or set the PKG_CONFIG environment variable to the full |
|
|
8235 | path to pkg-config. |
|
|
8236 | |
|
|
8237 | Alternatively, you may set the environment variables LIBCRYPTO_CFLAGS |
|
|
8238 | and LIBCRYPTO_LIBS to avoid the need to call pkg-config. |
|
|
8239 | See the pkg-config man page for more details. |
|
|
8240 | |
|
|
8241 | To get pkg-config, see <http://pkg-config.freedesktop.org/>. |
|
|
8242 | See \`config.log' for more details" "$LINENO" 5; } |
|
|
8243 | else |
|
|
8244 | LIBCRYPTO_CFLAGS=$pkg_cv_LIBCRYPTO_CFLAGS |
|
|
8245 | LIBCRYPTO_LIBS=$pkg_cv_LIBCRYPTO_LIBS |
|
|
8246 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
|
8247 | $as_echo "yes" >&6; } |
|
|
8248 | |
|
|
8249 | fi |
|
|
8250 | |
|
|
8251 | # Check whether --enable-threads was given. |
|
|
8252 | if test "${enable_threads+set}" = set; then : |
|
|
8253 | enableval=$enable_threads; try_threads=$enableval |
|
|
8254 | else |
|
|
8255 | try_threads=yes |
|
|
8256 | |
|
|
8257 | fi |
|
|
8258 | |
|
|
8259 | |
|
|
8260 | if test "x$try_threads" = xyes; then |
|
|
8261 | ac_fn_cxx_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default" |
|
|
8262 | if test "x$ac_cv_header_pthread_h" = xyes; then : |
|
|
8263 | |
|
|
8264 | LIBS="$LIBS -lpthread" |
8063 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
8265 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
8064 | /* end confdefs.h. */ |
8266 | /* end confdefs.h. */ |
8065 | |
8267 | #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 |
8268 | int |
8074 | main () |
8269 | main () |
8075 | { |
8270 | { |
8076 | return SHA1_version (); |
8271 | pthread_t id; pthread_create (&id, 0, 0, 0); |
8077 | ; |
8272 | ; |
8078 | return 0; |
8273 | return 0; |
8079 | } |
8274 | } |
8080 | _ACEOF |
8275 | _ACEOF |
8081 | if ac_fn_cxx_try_link "$LINENO"; then : |
8276 | 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 | |
8277 | |
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 |
8278 | cat >>confdefs.h <<_ACEOF |
8106 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
8279 | #define ENABLE_PTHREADS 1 |
8107 | _ACEOF |
8280 | _ACEOF |
8108 | |
8281 | |
8109 | fi |
|
|
8110 | done |
|
|
8111 | |
8282 | |
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 |
8283 | fi |
8147 | rm -f core conftest.err conftest.$ac_objext \ |
8284 | 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 | |
8285 | |
8158 | fi |
8286 | fi |
8159 | |
8287 | |
8160 | |
8288 | |
8161 | fi |
|
|
8162 | |
|
|
8163 | |
|
|
8164 | if test "x$openssl_include" != x; then |
|
|
8165 | CXXFLAGS="$CXXFLAGS -I$openssl_include" |
|
|
8166 | fi |
8289 | fi |
8167 | |
8290 | |
8168 | # Check whether --enable-static-daemon was given. |
8291 | # Check whether --enable-static-daemon was given. |
8169 | if test "${enable_static_daemon+set}" = set; then : |
8292 | if test "${enable_static_daemon+set}" = set; then : |
8170 | enableval=$enable_static_daemon; LDFLAGS_DAEMON=-static |
8293 | enableval=$enable_static_daemon; LDFLAGS_DAEMON=-static |
… | |
… | |
8239 | |
8362 | |
8240 | # Check whether --enable-dns was given. |
8363 | # Check whether --enable-dns was given. |
8241 | if test "${enable_dns+set}" = set; then : |
8364 | if test "${enable_dns+set}" = set; then : |
8242 | enableval=$enable_dns; |
8365 | enableval=$enable_dns; |
8243 | ac_fn_cxx_check_header_mongrel "$LINENO" "gmp.h" "ac_cv_header_gmp_h" "$ac_includes_default" |
8366 | 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 : |
8367 | if test "x$ac_cv_header_gmp_h" = xyes; then : |
8245 | |
8368 | |
8246 | else |
8369 | else |
8247 | as_fn_error $? "gmp.h not found, required for --enable-dns" "$LINENO" 5 |
8370 | as_fn_error $? "gmp.h not found, required for --enable-dns" "$LINENO" 5 |
8248 | fi |
8371 | fi |
8249 | |
8372 | |
8250 | |
8373 | |
8251 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lgmp" >&5 |
8374 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lgmp" >&5 |
8252 | $as_echo_n "checking for main in -lgmp... " >&6; } |
8375 | $as_echo_n "checking for main in -lgmp... " >&6; } |
8253 | if test "${ac_cv_lib_gmp_main+set}" = set; then : |
8376 | if ${ac_cv_lib_gmp_main+:} false; then : |
8254 | $as_echo_n "(cached) " >&6 |
8377 | $as_echo_n "(cached) " >&6 |
8255 | else |
8378 | else |
8256 | ac_check_lib_save_LIBS=$LIBS |
8379 | ac_check_lib_save_LIBS=$LIBS |
8257 | LIBS="-lgmp $LIBS" |
8380 | LIBS="-lgmp $LIBS" |
8258 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
8381 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
… | |
… | |
8276 | conftest$ac_exeext conftest.$ac_ext |
8399 | conftest$ac_exeext conftest.$ac_ext |
8277 | LIBS=$ac_check_lib_save_LIBS |
8400 | LIBS=$ac_check_lib_save_LIBS |
8278 | fi |
8401 | fi |
8279 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gmp_main" >&5 |
8402 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gmp_main" >&5 |
8280 | $as_echo "$ac_cv_lib_gmp_main" >&6; } |
8403 | $as_echo "$ac_cv_lib_gmp_main" >&6; } |
8281 | if test "x$ac_cv_lib_gmp_main" = x""yes; then : |
8404 | if test "x$ac_cv_lib_gmp_main" = xyes; then : |
8282 | cat >>confdefs.h <<_ACEOF |
8405 | cat >>confdefs.h <<_ACEOF |
8283 | #define HAVE_LIBGMP 1 |
8406 | #define HAVE_LIBGMP 1 |
8284 | _ACEOF |
8407 | _ACEOF |
8285 | |
8408 | |
8286 | LIBS="-lgmp $LIBS" |
8409 | LIBS="-lgmp $LIBS" |
… | |
… | |
8298 | |
8421 | |
8299 | |
8422 | |
8300 | fi |
8423 | fi |
8301 | |
8424 | |
8302 | |
8425 | |
|
|
8426 | RSA=3072 |
|
|
8427 | # Check whether --enable-rsa-length was given. |
|
|
8428 | if test "${enable_rsa_length+set}" = set; then : |
|
|
8429 | enableval=$enable_rsa_length; RSA=$enableval |
|
|
8430 | |
|
|
8431 | fi |
|
|
8432 | |
|
|
8433 | |
|
|
8434 | cat >>confdefs.h <<_ACEOF |
|
|
8435 | #define RSABITS $RSA |
|
|
8436 | _ACEOF |
|
|
8437 | |
|
|
8438 | |
8303 | HMAC=12 |
8439 | HMACSIZE=12 |
8304 | # Check whether --enable-hmac-length was given. |
8440 | # Check whether --enable-hmac-length was given. |
8305 | if test "${enable_hmac_length+set}" = set; then : |
8441 | if test "${enable_hmac_length+set}" = set; then : |
8306 | enableval=$enable_hmac_length; HMAC=$enableval |
8442 | enableval=$enable_hmac_length; HMACSIZE=$enableval |
8307 | |
8443 | |
8308 | fi |
8444 | fi |
8309 | |
8445 | |
8310 | |
8446 | |
8311 | cat >>confdefs.h <<_ACEOF |
8447 | cat >>confdefs.h <<_ACEOF |
8312 | #define HMACLENGTH $HMAC |
8448 | #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 |
8449 | _ACEOF |
8327 | |
8450 | |
8328 | |
8451 | |
8329 | MTU=1500 |
8452 | MTU=1500 |
8330 | # Check whether --enable-max-mtu was given. |
8453 | # Check whether --enable-max-mtu was given. |
… | |
… | |
8333 | |
8456 | |
8334 | fi |
8457 | fi |
8335 | |
8458 | |
8336 | |
8459 | |
8337 | cat >>confdefs.h <<_ACEOF |
8460 | cat >>confdefs.h <<_ACEOF |
8338 | #define MAX_MTU $MTU + 14 |
8461 | #define MAX_MTU ($MTU + 14) |
8339 | _ACEOF |
8462 | _ACEOF |
8340 | |
8463 | |
8341 | |
8464 | |
8342 | COMPRESS=1 |
8465 | COMPRESS=1 |
8343 | # Check whether --enable-compression was given. |
8466 | # Check whether --enable-compression was given. |
… | |
… | |
8352 | cat >>confdefs.h <<_ACEOF |
8475 | cat >>confdefs.h <<_ACEOF |
8353 | #define ENABLE_COMPRESSION $COMPRESS |
8476 | #define ENABLE_COMPRESSION $COMPRESS |
8354 | _ACEOF |
8477 | _ACEOF |
8355 | |
8478 | |
8356 | |
8479 | |
8357 | CIPHER=aes_128_cbc |
8480 | CIPHER=aes_128_ctr |
8358 | # Check whether --enable-cipher was given. |
8481 | # Check whether --enable-cipher was given. |
8359 | if test "${enable_cipher+set}" = set; then : |
8482 | if test "${enable_cipher+set}" = set; then : |
8360 | enableval=$enable_cipher; if test "x$enableval" = xbf ; then CIPHER=bf_cbc ; fi |
8483 | 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 |
8484 | 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 |
8485 | 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 |
8486 | if test "x$enableval" = xaes-256 ; then CIPHER=aes_256_ctr ; fi |
|
|
8487 | #if test "x$enableval" = xcamellia-128; then CIPHER=camellia_128_ctr; fi |
|
|
8488 | #if test "x$enableval" = xcamellia-256; then CIPHER=camellia_256_ctr; fi |
8364 | |
8489 | |
8365 | fi |
8490 | fi |
8366 | |
8491 | |
8367 | |
8492 | |
8368 | cat >>confdefs.h <<_ACEOF |
8493 | cat >>confdefs.h <<_ACEOF |
8369 | #define ENABLE_CIPHER EVP_${CIPHER} |
8494 | #define ENABLE_CIPHER EVP_${CIPHER} |
8370 | _ACEOF |
8495 | _ACEOF |
8371 | |
8496 | |
8372 | |
8497 | |
8373 | DIGEST=ripemd160 |
8498 | HMAC=sha1 |
8374 | # Check whether --enable-digest was given. |
8499 | # Check whether --enable-hmac-digest was given. |
8375 | if test "${enable_digest+set}" = set; then : |
8500 | if test "${enable_hmac_digest+set}" = set; then : |
|
|
8501 | 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 |
8502 | if test "x$enableval" = xsha512 ; then HMAC=sha512 ; fi |
8377 | if test "x$enableval" = xsha256 ; then DIGEST=sha256 ; fi |
8503 | if test "x$enableval" = xsha256 ; then HMAC=sha256 ; fi |
8378 | if test "x$enableval" = xsha1 ; then DIGEST=sha1 ; fi |
8504 | if test "x$enableval" = xsha1 ; then HMAC=sha1 ; fi |
8379 | if test "x$enableval" = xripemd160; then DIGEST=ripemd160; fi |
8505 | 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 | |
8506 | |
8383 | fi |
8507 | fi |
8384 | |
8508 | |
8385 | |
8509 | |
8386 | cat >>confdefs.h <<_ACEOF |
8510 | cat >>confdefs.h <<_ACEOF |
|
|
8511 | #define ENABLE_HMAC EVP_${HMAC} |
|
|
8512 | _ACEOF |
|
|
8513 | |
|
|
8514 | |
|
|
8515 | AUTH=sha512 |
|
|
8516 | # Check whether --enable-auth-digest was given. |
|
|
8517 | if test "${enable_auth_digest+set}" = set; then : |
|
|
8518 | enableval=$enable_auth_digest; if test "x$enableval" = xwhirlpool; then AUTH=whirlpool; fi |
|
|
8519 | if test "x$enableval" = xsha512 ; then AUTH=sha512 ; fi |
|
|
8520 | if test "x$enableval" = xsha256 ; then AUTH=sha256 ; fi |
|
|
8521 | |
|
|
8522 | fi |
|
|
8523 | |
|
|
8524 | |
|
|
8525 | cat >>confdefs.h <<_ACEOF |
8387 | #define ENABLE_DIGEST EVP_${DIGEST} |
8526 | #define ENABLE_AUTH EVP_${AUTH} |
8388 | _ACEOF |
8527 | _ACEOF |
8389 | |
8528 | |
8390 | |
8529 | |
8391 | if $CXX -v --help 2>&1 | grep -q fno-rtti; then |
8530 | if $CXX -v --help 2>&1 | grep -q fno-rtti; then |
8392 | CXXFLAGS="$CXXFLAGS -fno-rtti" |
8531 | CXXFLAGS="$CXXFLAGS -fno-rtti" |
… | |
… | |
8465 | t end |
8604 | t end |
8466 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
8605 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
8467 | :end' >>confcache |
8606 | :end' >>confcache |
8468 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
8607 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
8469 | if test -w "$cache_file"; then |
8608 | if test -w "$cache_file"; then |
8470 | test "x$cache_file" != "x/dev/null" && |
8609 | if test "x$cache_file" != "x/dev/null"; then |
8471 | { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
8610 | { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
8472 | $as_echo "$as_me: updating cache $cache_file" >&6;} |
8611 | $as_echo "$as_me: updating cache $cache_file" >&6;} |
|
|
8612 | if test ! -f "$cache_file" || test -h "$cache_file"; then |
8473 | cat confcache >$cache_file |
8613 | cat confcache >"$cache_file" |
|
|
8614 | else |
|
|
8615 | case $cache_file in #( |
|
|
8616 | */* | ?:*) |
|
|
8617 | mv -f confcache "$cache_file"$$ && |
|
|
8618 | mv -f "$cache_file"$$ "$cache_file" ;; #( |
|
|
8619 | *) |
|
|
8620 | mv -f confcache "$cache_file" ;; |
|
|
8621 | esac |
|
|
8622 | fi |
|
|
8623 | fi |
8474 | else |
8624 | else |
8475 | { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
8625 | { $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;} |
8626 | $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
8477 | fi |
8627 | fi |
8478 | fi |
8628 | fi |
… | |
… | |
8520 | if test -z "${ROHC_TRUE}" && test -z "${ROHC_FALSE}"; then |
8670 | if test -z "${ROHC_TRUE}" && test -z "${ROHC_FALSE}"; then |
8521 | as_fn_error $? "conditional \"ROHC\" was never defined. |
8671 | as_fn_error $? "conditional \"ROHC\" was never defined. |
8522 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
8672 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
8523 | fi |
8673 | fi |
8524 | |
8674 | |
8525 | : ${CONFIG_STATUS=./config.status} |
8675 | : "${CONFIG_STATUS=./config.status}" |
8526 | ac_write_fail=0 |
8676 | ac_write_fail=0 |
8527 | ac_clean_files_save=$ac_clean_files |
8677 | ac_clean_files_save=$ac_clean_files |
8528 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
8678 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
8529 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 |
8679 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 |
8530 | $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} |
8680 | $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} |
… | |
… | |
8621 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
8771 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
8622 | # splitting by setting IFS to empty value.) |
8772 | # splitting by setting IFS to empty value.) |
8623 | IFS=" "" $as_nl" |
8773 | IFS=" "" $as_nl" |
8624 | |
8774 | |
8625 | # Find who we are. Look in the path if we contain no directory separator. |
8775 | # Find who we are. Look in the path if we contain no directory separator. |
|
|
8776 | as_myself= |
8626 | case $0 in #(( |
8777 | case $0 in #(( |
8627 | *[\\/]* ) as_myself=$0 ;; |
8778 | *[\\/]* ) as_myself=$0 ;; |
8628 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
8779 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
8629 | for as_dir in $PATH |
8780 | for as_dir in $PATH |
8630 | do |
8781 | do |
… | |
… | |
8816 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
8967 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
8817 | as_ln_s='ln -s' |
8968 | as_ln_s='ln -s' |
8818 | # ... but there are two gotchas: |
8969 | # ... but there are two gotchas: |
8819 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
8970 | # 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. |
8971 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
8821 | # In both cases, we have to default to `cp -p'. |
8972 | # In both cases, we have to default to `cp -pR'. |
8822 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
8973 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
8823 | as_ln_s='cp -p' |
8974 | as_ln_s='cp -pR' |
8824 | elif ln conf$$.file conf$$ 2>/dev/null; then |
8975 | elif ln conf$$.file conf$$ 2>/dev/null; then |
8825 | as_ln_s=ln |
8976 | as_ln_s=ln |
8826 | else |
8977 | else |
8827 | as_ln_s='cp -p' |
8978 | as_ln_s='cp -pR' |
8828 | fi |
8979 | fi |
8829 | else |
8980 | else |
8830 | as_ln_s='cp -p' |
8981 | as_ln_s='cp -pR' |
8831 | fi |
8982 | fi |
8832 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
8983 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
8833 | rmdir conf$$.dir 2>/dev/null |
8984 | rmdir conf$$.dir 2>/dev/null |
8834 | |
8985 | |
8835 | |
8986 | |
… | |
… | |
8885 | else |
9036 | else |
8886 | test -d ./-p && rmdir ./-p |
9037 | test -d ./-p && rmdir ./-p |
8887 | as_mkdir_p=false |
9038 | as_mkdir_p=false |
8888 | fi |
9039 | fi |
8889 | |
9040 | |
8890 | if test -x / >/dev/null 2>&1; then |
9041 | |
|
|
9042 | # as_fn_executable_p FILE |
|
|
9043 | # ----------------------- |
|
|
9044 | # Test if FILE is an executable regular file. |
|
|
9045 | as_fn_executable_p () |
|
|
9046 | { |
|
|
9047 | test -f "$1" && test -x "$1" |
|
|
9048 | } # as_fn_executable_p |
8891 | as_test_x='test -x' |
9049 | as_test_x='test -x' |
8892 | else |
9050 | 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 | |
9051 | |
8913 | # Sed expression to map a string onto a valid CPP name. |
9052 | # 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'" |
9053 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
8915 | |
9054 | |
8916 | # Sed expression to map a string onto a valid variable name. |
9055 | # Sed expression to map a string onto a valid variable name. |
… | |
… | |
8927 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
9066 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
8928 | # Save the log message, to keep $0 and so on meaningful, and to |
9067 | # 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 |
9068 | # report actual input values of CONFIG_FILES etc. instead of their |
8930 | # values after options handling. |
9069 | # values after options handling. |
8931 | ac_log=" |
9070 | ac_log=" |
8932 | This file was extended by $as_me, which was |
9071 | This file was extended by gvpe $as_me 3.1, which was |
8933 | generated by GNU Autoconf 2.67. Invocation command line was |
9072 | generated by GNU Autoconf 2.69. Invocation command line was |
8934 | |
9073 | |
8935 | CONFIG_FILES = $CONFIG_FILES |
9074 | CONFIG_FILES = $CONFIG_FILES |
8936 | CONFIG_HEADERS = $CONFIG_HEADERS |
9075 | CONFIG_HEADERS = $CONFIG_HEADERS |
8937 | CONFIG_LINKS = $CONFIG_LINKS |
9076 | CONFIG_LINKS = $CONFIG_LINKS |
8938 | CONFIG_COMMANDS = $CONFIG_COMMANDS |
9077 | CONFIG_COMMANDS = $CONFIG_COMMANDS |
… | |
… | |
8993 | |
9132 | |
8994 | _ACEOF |
9133 | _ACEOF |
8995 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
9134 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
8996 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
9135 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
8997 | ac_cs_version="\\ |
9136 | ac_cs_version="\\ |
8998 | config.status |
9137 | gvpe config.status 3.1 |
8999 | configured by $0, generated by GNU Autoconf 2.67, |
9138 | configured by $0, generated by GNU Autoconf 2.69, |
9000 | with options \\"\$ac_cs_config\\" |
9139 | with options \\"\$ac_cs_config\\" |
9001 | |
9140 | |
9002 | Copyright (C) 2010 Free Software Foundation, Inc. |
9141 | Copyright (C) 2012 Free Software Foundation, Inc. |
9003 | This config.status script is free software; the Free Software Foundation |
9142 | This config.status script is free software; the Free Software Foundation |
9004 | gives unlimited permission to copy, distribute and modify it." |
9143 | gives unlimited permission to copy, distribute and modify it." |
9005 | |
9144 | |
9006 | ac_pwd='$ac_pwd' |
9145 | ac_pwd='$ac_pwd' |
9007 | srcdir='$srcdir' |
9146 | srcdir='$srcdir' |
… | |
… | |
9087 | fi |
9226 | fi |
9088 | |
9227 | |
9089 | _ACEOF |
9228 | _ACEOF |
9090 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
9229 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
9091 | if \$ac_cs_recheck; then |
9230 | if \$ac_cs_recheck; then |
9092 | set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
9231 | set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
9093 | shift |
9232 | shift |
9094 | \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 |
9233 | \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 |
9095 | CONFIG_SHELL='$SHELL' |
9234 | CONFIG_SHELL='$SHELL' |
9096 | export CONFIG_SHELL |
9235 | export CONFIG_SHELL |
9097 | exec "\$@" |
9236 | exec "\$@" |
… | |
… | |
9138 | "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
9277 | "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
9139 | "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; |
9278 | "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; |
9140 | "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;; |
9279 | "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;; |
9141 | "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;; |
9280 | "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;; |
9142 | |
9281 | |
9143 | *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;; |
9282 | *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
9144 | esac |
9283 | esac |
9145 | done |
9284 | done |
9146 | |
9285 | |
9147 | |
9286 | |
9148 | # If the user did not use the arguments to specify the items to instantiate, |
9287 | # If the user did not use the arguments to specify the items to instantiate, |
… | |
… | |
9161 | # Hook for its removal unless debugging. |
9300 | # Hook for its removal unless debugging. |
9162 | # Note that there is a small window in which the directory will not be cleaned: |
9301 | # 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'. |
9302 | # after its creation but before its name has been assigned to `$tmp'. |
9164 | $debug || |
9303 | $debug || |
9165 | { |
9304 | { |
9166 | tmp= |
9305 | tmp= ac_tmp= |
9167 | trap 'exit_status=$? |
9306 | trap 'exit_status=$? |
|
|
9307 | : "${ac_tmp:=$tmp}" |
9168 | { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status |
9308 | { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status |
9169 | ' 0 |
9309 | ' 0 |
9170 | trap 'as_fn_exit 1' 1 2 13 15 |
9310 | trap 'as_fn_exit 1' 1 2 13 15 |
9171 | } |
9311 | } |
9172 | # Create a (secure) tmp directory for tmp files. |
9312 | # Create a (secure) tmp directory for tmp files. |
9173 | |
9313 | |
9174 | { |
9314 | { |
9175 | tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
9315 | tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
9176 | test -n "$tmp" && test -d "$tmp" |
9316 | test -d "$tmp" |
9177 | } || |
9317 | } || |
9178 | { |
9318 | { |
9179 | tmp=./conf$$-$RANDOM |
9319 | tmp=./conf$$-$RANDOM |
9180 | (umask 077 && mkdir "$tmp") |
9320 | (umask 077 && mkdir "$tmp") |
9181 | } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 |
9321 | } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 |
|
|
9322 | ac_tmp=$tmp |
9182 | |
9323 | |
9183 | # Set up the scripts for CONFIG_FILES section. |
9324 | # Set up the scripts for CONFIG_FILES section. |
9184 | # No need to generate them if there are no CONFIG_FILES. |
9325 | # No need to generate them if there are no CONFIG_FILES. |
9185 | # This happens for instance with `./config.status config.h'. |
9326 | # This happens for instance with `./config.status config.h'. |
9186 | if test -n "$CONFIG_FILES"; then |
9327 | if test -n "$CONFIG_FILES"; then |
… | |
… | |
9198 | ac_cs_awk_cr='\\r' |
9339 | ac_cs_awk_cr='\\r' |
9199 | else |
9340 | else |
9200 | ac_cs_awk_cr=$ac_cr |
9341 | ac_cs_awk_cr=$ac_cr |
9201 | fi |
9342 | fi |
9202 | |
9343 | |
9203 | echo 'BEGIN {' >"$tmp/subs1.awk" && |
9344 | echo 'BEGIN {' >"$ac_tmp/subs1.awk" && |
9204 | _ACEOF |
9345 | _ACEOF |
9205 | |
9346 | |
9206 | |
9347 | |
9207 | { |
9348 | { |
9208 | echo "cat >conf$$subs.awk <<_ACEOF" && |
9349 | echo "cat >conf$$subs.awk <<_ACEOF" && |
… | |
… | |
9226 | fi |
9367 | fi |
9227 | done |
9368 | done |
9228 | rm -f conf$$subs.sh |
9369 | rm -f conf$$subs.sh |
9229 | |
9370 | |
9230 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
9371 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
9231 | cat >>"\$tmp/subs1.awk" <<\\_ACAWK && |
9372 | cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && |
9232 | _ACEOF |
9373 | _ACEOF |
9233 | sed -n ' |
9374 | sed -n ' |
9234 | h |
9375 | h |
9235 | s/^/S["/; s/!.*/"]=/ |
9376 | s/^/S["/; s/!.*/"]=/ |
9236 | p |
9377 | p |
… | |
… | |
9274 | } |
9415 | } |
9275 | ' >>$CONFIG_STATUS || ac_write_fail=1 |
9416 | ' >>$CONFIG_STATUS || ac_write_fail=1 |
9276 | rm -f conf$$subs.awk |
9417 | rm -f conf$$subs.awk |
9277 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
9418 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
9278 | _ACAWK |
9419 | _ACAWK |
9279 | cat >>"\$tmp/subs1.awk" <<_ACAWK && |
9420 | cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && |
9280 | for (key in S) S_is_set[key] = 1 |
9421 | for (key in S) S_is_set[key] = 1 |
9281 | FS = "" |
9422 | FS = "" |
9282 | |
9423 | |
9283 | } |
9424 | } |
9284 | { |
9425 | { |
… | |
… | |
9306 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
9447 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
9307 | if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then |
9448 | 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" |
9449 | sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" |
9309 | else |
9450 | else |
9310 | cat |
9451 | cat |
9311 | fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ |
9452 | fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ |
9312 | || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 |
9453 | || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 |
9313 | _ACEOF |
9454 | _ACEOF |
9314 | |
9455 | |
9315 | # VPATH may cause trouble with some makes, so we remove sole $(srcdir), |
9456 | # 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 |
9457 | # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and |
… | |
… | |
9340 | |
9481 | |
9341 | # Set up the scripts for CONFIG_HEADERS section. |
9482 | # Set up the scripts for CONFIG_HEADERS section. |
9342 | # No need to generate them if there are no CONFIG_HEADERS. |
9483 | # No need to generate them if there are no CONFIG_HEADERS. |
9343 | # This happens for instance with `./config.status Makefile'. |
9484 | # This happens for instance with `./config.status Makefile'. |
9344 | if test -n "$CONFIG_HEADERS"; then |
9485 | if test -n "$CONFIG_HEADERS"; then |
9345 | cat >"$tmp/defines.awk" <<\_ACAWK || |
9486 | cat >"$ac_tmp/defines.awk" <<\_ACAWK || |
9346 | BEGIN { |
9487 | BEGIN { |
9347 | _ACEOF |
9488 | _ACEOF |
9348 | |
9489 | |
9349 | # Transform confdefs.h into an awk script `defines.awk', embedded as |
9490 | # Transform confdefs.h into an awk script `defines.awk', embedded as |
9350 | # here-document in config.status, that substitutes the proper values into |
9491 | # here-document in config.status, that substitutes the proper values into |
… | |
… | |
9352 | |
9493 | |
9353 | # Create a delimiter string that does not exist in confdefs.h, to ease |
9494 | # Create a delimiter string that does not exist in confdefs.h, to ease |
9354 | # handling of long lines. |
9495 | # handling of long lines. |
9355 | ac_delim='%!_!# ' |
9496 | ac_delim='%!_!# ' |
9356 | for ac_last_try in false false :; do |
9497 | for ac_last_try in false false :; do |
9357 | ac_t=`sed -n "/$ac_delim/p" confdefs.h` |
9498 | ac_tt=`sed -n "/$ac_delim/p" confdefs.h` |
9358 | if test -z "$ac_t"; then |
9499 | if test -z "$ac_tt"; then |
9359 | break |
9500 | break |
9360 | elif $ac_last_try; then |
9501 | elif $ac_last_try; then |
9361 | as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 |
9502 | as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 |
9362 | else |
9503 | else |
9363 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
9504 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
… | |
… | |
9454 | case $ac_tag in |
9595 | case $ac_tag in |
9455 | :[FHLC]) ac_mode=$ac_tag; continue;; |
9596 | :[FHLC]) ac_mode=$ac_tag; continue;; |
9456 | esac |
9597 | esac |
9457 | case $ac_mode$ac_tag in |
9598 | case $ac_mode$ac_tag in |
9458 | :[FHL]*:*);; |
9599 | :[FHL]*:*);; |
9459 | :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;; |
9600 | :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; |
9460 | :[FH]-) ac_tag=-:-;; |
9601 | :[FH]-) ac_tag=-:-;; |
9461 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
9602 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
9462 | esac |
9603 | esac |
9463 | ac_save_IFS=$IFS |
9604 | ac_save_IFS=$IFS |
9464 | IFS=: |
9605 | IFS=: |
… | |
… | |
9473 | :[FH]) |
9614 | :[FH]) |
9474 | ac_file_inputs= |
9615 | ac_file_inputs= |
9475 | for ac_f |
9616 | for ac_f |
9476 | do |
9617 | do |
9477 | case $ac_f in |
9618 | case $ac_f in |
9478 | -) ac_f="$tmp/stdin";; |
9619 | -) ac_f="$ac_tmp/stdin";; |
9479 | *) # Look for the file first in the build tree, then in the source tree |
9620 | *) # 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, |
9621 | # (if the path is not absolute). The absolute path cannot be DOS-style, |
9481 | # because $ac_f cannot contain `:'. |
9622 | # because $ac_f cannot contain `:'. |
9482 | test -f "$ac_f" || |
9623 | test -f "$ac_f" || |
9483 | case $ac_f in |
9624 | case $ac_f in |
9484 | [\\/$]*) false;; |
9625 | [\\/$]*) false;; |
9485 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
9626 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
9486 | esac || |
9627 | esac || |
9487 | as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;; |
9628 | as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; |
9488 | esac |
9629 | esac |
9489 | case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
9630 | case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
9490 | as_fn_append ac_file_inputs " '$ac_f'" |
9631 | as_fn_append ac_file_inputs " '$ac_f'" |
9491 | done |
9632 | done |
9492 | |
9633 | |
… | |
… | |
9508 | sed 's/[\\\\&|]/\\\\&/g'`;; #( |
9649 | sed 's/[\\\\&|]/\\\\&/g'`;; #( |
9509 | *) ac_sed_conf_input=$configure_input;; |
9650 | *) ac_sed_conf_input=$configure_input;; |
9510 | esac |
9651 | esac |
9511 | |
9652 | |
9512 | case $ac_tag in |
9653 | case $ac_tag in |
9513 | *:-:* | *:-) cat >"$tmp/stdin" \ |
9654 | *:-:* | *:-) cat >"$ac_tmp/stdin" \ |
9514 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; |
9655 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; |
9515 | esac |
9656 | esac |
9516 | ;; |
9657 | ;; |
9517 | esac |
9658 | esac |
9518 | |
9659 | |
9519 | ac_dir=`$as_dirname -- "$ac_file" || |
9660 | ac_dir=`$as_dirname -- "$ac_file" || |
… | |
… | |
9639 | s&@abs_builddir@&$ac_abs_builddir&;t t |
9780 | s&@abs_builddir@&$ac_abs_builddir&;t t |
9640 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
9781 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
9641 | s&@INSTALL@&$ac_INSTALL&;t t |
9782 | s&@INSTALL@&$ac_INSTALL&;t t |
9642 | $ac_datarootdir_hack |
9783 | $ac_datarootdir_hack |
9643 | " |
9784 | " |
9644 | eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ |
9785 | 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 |
9786 | >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
9646 | |
9787 | |
9647 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
9788 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
9648 | { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && |
9789 | { 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"; } && |
9790 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ |
|
|
9791 | "$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' |
9792 | { $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 |
9793 | 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' |
9794 | $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;} |
9795 | which seems to be undefined. Please make sure it is defined" >&2;} |
9654 | |
9796 | |
9655 | rm -f "$tmp/stdin" |
9797 | rm -f "$ac_tmp/stdin" |
9656 | case $ac_file in |
9798 | case $ac_file in |
9657 | -) cat "$tmp/out" && rm -f "$tmp/out";; |
9799 | -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; |
9658 | *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; |
9800 | *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; |
9659 | esac \ |
9801 | esac \ |
9660 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
9802 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
9661 | ;; |
9803 | ;; |
9662 | :H) |
9804 | :H) |
9663 | # |
9805 | # |
9664 | # CONFIG_HEADER |
9806 | # CONFIG_HEADER |
9665 | # |
9807 | # |
9666 | if test x"$ac_file" != x-; then |
9808 | if test x"$ac_file" != x-; then |
9667 | { |
9809 | { |
9668 | $as_echo "/* $configure_input */" \ |
9810 | $as_echo "/* $configure_input */" \ |
9669 | && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" |
9811 | && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" |
9670 | } >"$tmp/config.h" \ |
9812 | } >"$ac_tmp/config.h" \ |
9671 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
9813 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
9672 | if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then |
9814 | 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 |
9815 | { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 |
9674 | $as_echo "$as_me: $ac_file is unchanged" >&6;} |
9816 | $as_echo "$as_me: $ac_file is unchanged" >&6;} |
9675 | else |
9817 | else |
9676 | rm -f "$ac_file" |
9818 | rm -f "$ac_file" |
9677 | mv "$tmp/config.h" "$ac_file" \ |
9819 | mv "$ac_tmp/config.h" "$ac_file" \ |
9678 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
9820 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
9679 | fi |
9821 | fi |
9680 | else |
9822 | else |
9681 | $as_echo "/* $configure_input */" \ |
9823 | $as_echo "/* $configure_input */" \ |
9682 | && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ |
9824 | && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ |
9683 | || as_fn_error $? "could not create -" "$LINENO" 5 |
9825 | || as_fn_error $? "could not create -" "$LINENO" 5 |
9684 | fi |
9826 | fi |
9685 | # Compute "$ac_file"'s index in $config_headers. |
9827 | # Compute "$ac_file"'s index in $config_headers. |
9686 | _am_stamp_count=1 |
9828 | _am_stamp_count=1 |
9687 | for _am_header in $config_headers :; do |
9829 | for _am_header in $config_headers :; do |
… | |
… | |
9951 | echo |
10093 | echo |
9952 | echo "***" |
10094 | echo "***" |
9953 | echo "*** Configuration Summary" |
10095 | echo "*** Configuration Summary" |
9954 | echo "***" |
10096 | echo "***" |
9955 | echo "*** Kernel Iface: $IFTYPE/$IFSUBTYPE" |
10097 | echo "*** Kernel Iface: $IFTYPE/$IFSUBTYPE" |
|
|
10098 | echo "*** RSA size: $RSA" |
9956 | echo "*** Cipher used: $CIPHER" |
10099 | echo "*** Cipher used: $CIPHER" |
9957 | echo "*** Digest used: $DIGEST" |
10100 | echo "*** Digest used: $DIGEST" |
|
|
10101 | echo "*** Authdigest: $AUTH" |
9958 | echo "*** HMAC length: $HMAC" |
10102 | echo "*** HMAC length: $HMAC" |
9959 | echo "*** RAND used: $RAND" |
|
|
9960 | echo "*** Max. MTU: $MTU" |
10103 | echo "*** Max. MTU: $MTU" |
9961 | |
10104 | |
9962 | echo "***" |
10105 | echo "***" |
9963 | echo "*** Enable options:" |
10106 | echo "*** Enable options:" |
9964 | grep ENABLE_ config.h | sed -e 's/^/*** /' |
10107 | grep ENABLE_ config.h | sed -e 's/^/*** /' |
9965 | |
10108 | |
9966 | if test "x$DIGEST" = xmd4; then |
10109 | if test "$HMACSIZE" -lt 12; then |
9967 | echo "***" |
10110 | 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" |
10111 | 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 |
10112 | fi |
9980 | |
10113 | |
9981 | echo "***" |
10114 | echo "***" |
9982 | echo |
10115 | echo |
9983 | |
10116 | |
|
|
10117 | if pkg-config --exists 'libcrypto >= 1.1 libcrypto < 2.0'; then |
|
|
10118 | cat <<EOF |
|
|
10119 | [33m |
|
|
10120 | *** |
|
|
10121 | *** WARNING WARNING WARNING WARNING WARNING WARNING WARNING |
|
|
10122 | *** |
|
|
10123 | *** You seem to configure gvpe with OpenSSL 1.1 or newer. |
|
|
10124 | *** While this probably compiles, please note that this is not only |
|
|
10125 | *** unsupported, but also discouraged. |
|
|
10126 | *** |
|
|
10127 | *** It is recommended to use either OpenSSL 1.0, as long as that is still |
|
|
10128 | *** supported, or LibreSSL (https://www.libressl.org/). |
|
|
10129 | *** |
|
|
10130 | *** This is not a political issue - while porting GVPE to the newer |
|
|
10131 | *** OpenSSL 1.1 API, I encountered two incompatible API changes that were |
|
|
10132 | *** not documented, were not caught while compiling but caused security |
|
|
10133 | *** issues. When reported, the reaction of the OpenSSL developers was to |
|
|
10134 | *** update the documentation. |
|
|
10135 | *** |
|
|
10136 | *** As a result, I lost all confidence in the ability and desire of |
|
|
10137 | *** OpenSSL developers to create a safe API, and would highly recommend |
|
|
10138 | *** switching to LibreSSL which explicitly avoids such braking changes. |
|
|
10139 | *** |
|
|
10140 | *** WARNING WARNING WARNING WARNING WARNING WARNING WARNING |
|
|
10141 | *** |
|
|
10142 | *** Again, do not use OpenSSL 1.1 and complain if stuff breaks. |
|
|
10143 | *** You have been warned, but your choice is respected. |
|
|
10144 | *** |
|
|
10145 | [0m |
9984 | |
10146 | |
|
|
10147 | EOF |
|
|
10148 | fi |
|
|
10149 | |
|
|
10150 | |