1 | #! /bin/sh |
1 | #! /bin/sh |
2 | # Guess values for system-dependent variables and create Makefiles. |
2 | # Guess values for system-dependent variables and create Makefiles. |
3 | # Generated by GNU Autoconf 2.67. |
3 | # Generated by GNU Autoconf 2.69. |
4 | # |
4 | # |
5 | # |
5 | # |
6 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
6 | # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. |
7 | # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software |
|
|
8 | # Foundation, Inc. |
|
|
9 | # |
7 | # |
10 | # |
8 | # |
11 | # This configure script is free software; the Free Software Foundation |
9 | # This configure script is free software; the Free Software Foundation |
12 | # gives unlimited permission to copy, distribute and modify it. |
10 | # gives unlimited permission to copy, distribute and modify it. |
13 | ## -------------------- ## |
11 | ## -------------------- ## |
… | |
… | |
87 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
85 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
88 | # splitting by setting IFS to empty value.) |
86 | # splitting by setting IFS to empty value.) |
89 | IFS=" "" $as_nl" |
87 | IFS=" "" $as_nl" |
90 | |
88 | |
91 | # Find who we are. Look in the path if we contain no directory separator. |
89 | # Find who we are. Look in the path if we contain no directory separator. |
|
|
90 | as_myself= |
92 | case $0 in #(( |
91 | case $0 in #(( |
93 | *[\\/]* ) as_myself=$0 ;; |
92 | *[\\/]* ) as_myself=$0 ;; |
94 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
93 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
95 | for as_dir in $PATH |
94 | for as_dir in $PATH |
96 | do |
95 | do |
… | |
… | |
131 | export LANGUAGE |
130 | export LANGUAGE |
132 | |
131 | |
133 | # CDPATH. |
132 | # CDPATH. |
134 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
133 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
135 | |
134 | |
|
|
135 | # Use a proper internal environment variable to ensure we don't fall |
|
|
136 | # into an infinite loop, continuously re-executing ourselves. |
|
|
137 | if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then |
|
|
138 | _as_can_reexec=no; export _as_can_reexec; |
|
|
139 | # We cannot yet assume a decent shell, so we have to provide a |
|
|
140 | # neutralization value for shells without unset; and this also |
|
|
141 | # works around shells that cannot unset nonexistent variables. |
|
|
142 | # Preserve -v and -x to the replacement shell. |
|
|
143 | BASH_ENV=/dev/null |
|
|
144 | ENV=/dev/null |
|
|
145 | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
|
|
146 | case $- in # (((( |
|
|
147 | *v*x* | *x*v* ) as_opts=-vx ;; |
|
|
148 | *v* ) as_opts=-v ;; |
|
|
149 | *x* ) as_opts=-x ;; |
|
|
150 | * ) as_opts= ;; |
|
|
151 | esac |
|
|
152 | exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} |
|
|
153 | # Admittedly, this is quite paranoid, since all the known shells bail |
|
|
154 | # out after a failed `exec'. |
|
|
155 | $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 |
|
|
156 | as_fn_exit 255 |
|
|
157 | fi |
|
|
158 | # We don't want this to propagate to other subprocesses. |
|
|
159 | { _as_can_reexec=; unset _as_can_reexec;} |
136 | if test "x$CONFIG_SHELL" = x; then |
160 | if test "x$CONFIG_SHELL" = x; then |
137 | as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : |
161 | as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : |
138 | emulate sh |
162 | emulate sh |
139 | NULLCMD=: |
163 | NULLCMD=: |
140 | # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which |
164 | # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which |
… | |
… | |
164 | if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : |
188 | if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : |
165 | |
189 | |
166 | else |
190 | else |
167 | exitcode=1; echo positional parameters were not saved. |
191 | exitcode=1; echo positional parameters were not saved. |
168 | fi |
192 | fi |
169 | test x\$exitcode = x0 || exit 1" |
193 | test x\$exitcode = x0 || exit 1 |
|
|
194 | test -x / || exit 1" |
170 | as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO |
195 | as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO |
171 | as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO |
196 | as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO |
172 | eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && |
197 | eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && |
173 | test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 |
198 | test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 |
174 | test \$(( 1 + 1 )) = 2 || exit 1" |
199 | test \$(( 1 + 1 )) = 2 || exit 1" |
… | |
… | |
209 | fi; } |
234 | fi; } |
210 | IFS=$as_save_IFS |
235 | IFS=$as_save_IFS |
211 | |
236 | |
212 | |
237 | |
213 | if test "x$CONFIG_SHELL" != x; then : |
238 | if test "x$CONFIG_SHELL" != x; then : |
|
|
239 | export CONFIG_SHELL |
214 | # We cannot yet assume a decent shell, so we have to provide a |
240 | # We cannot yet assume a decent shell, so we have to provide a |
215 | # neutralization value for shells without unset; and this also |
241 | # neutralization value for shells without unset; and this also |
216 | # works around shells that cannot unset nonexistent variables. |
242 | # works around shells that cannot unset nonexistent variables. |
|
|
243 | # Preserve -v and -x to the replacement shell. |
217 | BASH_ENV=/dev/null |
244 | BASH_ENV=/dev/null |
218 | ENV=/dev/null |
245 | ENV=/dev/null |
219 | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
246 | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
220 | export CONFIG_SHELL |
247 | case $- in # (((( |
|
|
248 | *v*x* | *x*v* ) as_opts=-vx ;; |
|
|
249 | *v* ) as_opts=-v ;; |
|
|
250 | *x* ) as_opts=-x ;; |
|
|
251 | * ) as_opts= ;; |
|
|
252 | esac |
221 | exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} |
253 | exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} |
|
|
254 | # Admittedly, this is quite paranoid, since all the known shells bail |
|
|
255 | # out after a failed `exec'. |
|
|
256 | $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 |
|
|
257 | exit 255 |
222 | fi |
258 | fi |
223 | |
259 | |
224 | if test x$as_have_required = xno; then : |
260 | if test x$as_have_required = xno; then : |
225 | $as_echo "$0: This script requires a shell more modern than all" |
261 | $as_echo "$0: This script requires a shell more modern than all" |
226 | $as_echo "$0: the shells that I found on your system." |
262 | $as_echo "$0: the shells that I found on your system." |
… | |
… | |
318 | test -z "$as_dirs" || eval "mkdir $as_dirs" |
354 | test -z "$as_dirs" || eval "mkdir $as_dirs" |
319 | } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
355 | } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
320 | |
356 | |
321 | |
357 | |
322 | } # as_fn_mkdir_p |
358 | } # as_fn_mkdir_p |
|
|
359 | |
|
|
360 | # as_fn_executable_p FILE |
|
|
361 | # ----------------------- |
|
|
362 | # Test if FILE is an executable regular file. |
|
|
363 | as_fn_executable_p () |
|
|
364 | { |
|
|
365 | test -f "$1" && test -x "$1" |
|
|
366 | } # as_fn_executable_p |
323 | # as_fn_append VAR VALUE |
367 | # as_fn_append VAR VALUE |
324 | # ---------------------- |
368 | # ---------------------- |
325 | # Append the text in VALUE to the end of the definition contained in VAR. Take |
369 | # Append the text in VALUE to the end of the definition contained in VAR. Take |
326 | # advantage of any shell optimizations that allow amortized linear growth over |
370 | # advantage of any shell optimizations that allow amortized linear growth over |
327 | # repeated appends, instead of the typical quadratic growth present in naive |
371 | # repeated appends, instead of the typical quadratic growth present in naive |
… | |
… | |
439 | s/-\n.*// |
483 | s/-\n.*// |
440 | ' >$as_me.lineno && |
484 | ' >$as_me.lineno && |
441 | chmod +x "$as_me.lineno" || |
485 | chmod +x "$as_me.lineno" || |
442 | { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } |
486 | { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } |
443 | |
487 | |
|
|
488 | # If we had to re-execute with $CONFIG_SHELL, we're ensured to have |
|
|
489 | # already done that, so ensure we don't try to do so again and fall |
|
|
490 | # in an infinite loop. This has already happened in practice. |
|
|
491 | _as_can_reexec=no; export _as_can_reexec |
444 | # Don't try to exec as it changes $[0], causing all sort of problems |
492 | # Don't try to exec as it changes $[0], causing all sort of problems |
445 | # (the dirname of $[0] is not the place where we might find the |
493 | # (the dirname of $[0] is not the place where we might find the |
446 | # original and so on. Autoconf is especially sensitive to this). |
494 | # original and so on. Autoconf is especially sensitive to this). |
447 | . "./$as_me.lineno" |
495 | . "./$as_me.lineno" |
448 | # Exit status is that of the last command. |
496 | # Exit status is that of the last command. |
… | |
… | |
473 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
521 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
474 | as_ln_s='ln -s' |
522 | as_ln_s='ln -s' |
475 | # ... but there are two gotchas: |
523 | # ... but there are two gotchas: |
476 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
524 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
477 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
525 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
478 | # In both cases, we have to default to `cp -p'. |
526 | # In both cases, we have to default to `cp -pR'. |
479 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
527 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
480 | as_ln_s='cp -p' |
528 | as_ln_s='cp -pR' |
481 | elif ln conf$$.file conf$$ 2>/dev/null; then |
529 | elif ln conf$$.file conf$$ 2>/dev/null; then |
482 | as_ln_s=ln |
530 | as_ln_s=ln |
483 | else |
531 | else |
484 | as_ln_s='cp -p' |
532 | as_ln_s='cp -pR' |
485 | fi |
533 | fi |
486 | else |
534 | else |
487 | as_ln_s='cp -p' |
535 | as_ln_s='cp -pR' |
488 | fi |
536 | fi |
489 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
537 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
490 | rmdir conf$$.dir 2>/dev/null |
538 | rmdir conf$$.dir 2>/dev/null |
491 | |
539 | |
492 | if mkdir -p . 2>/dev/null; then |
540 | if mkdir -p . 2>/dev/null; then |
… | |
… | |
494 | else |
542 | else |
495 | test -d ./-p && rmdir ./-p |
543 | test -d ./-p && rmdir ./-p |
496 | as_mkdir_p=false |
544 | as_mkdir_p=false |
497 | fi |
545 | fi |
498 | |
546 | |
499 | if test -x / >/dev/null 2>&1; then |
|
|
500 | as_test_x='test -x' |
547 | as_test_x='test -x' |
501 | else |
548 | as_executable_p=as_fn_executable_p |
502 | if ls -dL / >/dev/null 2>&1; then |
|
|
503 | as_ls_L_option=L |
|
|
504 | else |
|
|
505 | as_ls_L_option= |
|
|
506 | fi |
|
|
507 | as_test_x=' |
|
|
508 | eval sh -c '\'' |
|
|
509 | if test -d "$1"; then |
|
|
510 | test -d "$1/."; |
|
|
511 | else |
|
|
512 | case $1 in #( |
|
|
513 | -*)set "./$1";; |
|
|
514 | esac; |
|
|
515 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( |
|
|
516 | ???[sx]*):;;*)false;;esac;fi |
|
|
517 | '\'' sh |
|
|
518 | ' |
|
|
519 | fi |
|
|
520 | as_executable_p=$as_test_x |
|
|
521 | |
549 | |
522 | # Sed expression to map a string onto a valid CPP name. |
550 | # Sed expression to map a string onto a valid CPP name. |
523 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
551 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
524 | |
552 | |
525 | # Sed expression to map a string onto a valid variable name. |
553 | # Sed expression to map a string onto a valid variable name. |
… | |
… | |
589 | #endif |
617 | #endif |
590 | #ifdef HAVE_UNISTD_H |
618 | #ifdef HAVE_UNISTD_H |
591 | # include <unistd.h> |
619 | # include <unistd.h> |
592 | #endif" |
620 | #endif" |
593 | |
621 | |
594 | ac_subst_vars='am__EXEEXT_FALSE |
622 | ac_subst_vars='LTLIBOBJS |
595 | am__EXEEXT_TRUE |
|
|
596 | LTLIBOBJS |
|
|
597 | LIBOBJS |
623 | LIBOBJS |
598 | INCLUDES |
624 | INCLUDES |
599 | ROHC_FALSE |
625 | ROHC_FALSE |
600 | ROHC_TRUE |
626 | ROHC_TRUE |
601 | LDFLAGS_DAEMON |
627 | LDFLAGS_DAEMON |
|
|
628 | LIBCRYPTO_LIBS |
|
|
629 | LIBCRYPTO_CFLAGS |
|
|
630 | PKG_CONFIG_LIBDIR |
|
|
631 | PKG_CONFIG_PATH |
|
|
632 | PKG_CONFIG |
602 | HAVE_TUNTAP |
633 | HAVE_TUNTAP |
603 | LINUX_IF_TUN_H |
634 | LINUX_IF_TUN_H |
604 | ALLOCA |
635 | ALLOCA |
605 | CXXCPP |
636 | CXXCPP |
606 | IFSUBTYPE |
637 | IFSUBTYPE |
… | |
… | |
645 | MSGFMT |
676 | MSGFMT |
646 | MKINSTALLDIRS |
677 | MKINSTALLDIRS |
647 | MAINT |
678 | MAINT |
648 | MAINTAINER_MODE_FALSE |
679 | MAINTAINER_MODE_FALSE |
649 | MAINTAINER_MODE_TRUE |
680 | MAINTAINER_MODE_TRUE |
650 | am__untar |
|
|
651 | am__tar |
|
|
652 | AMTAR |
|
|
653 | am__leading_dot |
681 | am__leading_dot |
654 | SET_MAKE |
682 | SET_MAKE |
655 | AWK |
683 | AWK |
656 | mkdir_p |
|
|
657 | MKDIR_P |
|
|
658 | INSTALL_STRIP_PROGRAM |
684 | INSTALL_STRIP_PROGRAM |
659 | STRIP |
685 | STRIP |
660 | install_sh |
686 | install_sh |
|
|
687 | AMTAR |
661 | MAKEINFO |
688 | MAKEINFO |
662 | AUTOHEADER |
689 | AUTOHEADER |
663 | AUTOMAKE |
690 | AUTOMAKE |
664 | AUTOCONF |
691 | AUTOCONF |
665 | ACLOCAL |
692 | ACLOCAL |
666 | VERSION |
693 | VERSION |
667 | PACKAGE |
694 | PACKAGE |
668 | CYGPATH_W |
695 | CYGPATH_W |
669 | am__isrc |
|
|
670 | INSTALL_DATA |
696 | INSTALL_DATA |
671 | INSTALL_SCRIPT |
697 | INSTALL_SCRIPT |
672 | INSTALL_PROGRAM |
698 | INSTALL_PROGRAM |
673 | target_os |
699 | target_os |
674 | target_vendor |
700 | target_vendor |
… | |
… | |
699 | htmldir |
725 | htmldir |
700 | infodir |
726 | infodir |
701 | docdir |
727 | docdir |
702 | oldincludedir |
728 | oldincludedir |
703 | includedir |
729 | includedir |
|
|
730 | runstatedir |
704 | localstatedir |
731 | localstatedir |
705 | sharedstatedir |
732 | sharedstatedir |
706 | sysconfdir |
733 | sysconfdir |
707 | datadir |
734 | datadir |
708 | datarootdir |
735 | datarootdir |
… | |
… | |
730 | with_libiconv_prefix |
757 | with_libiconv_prefix |
731 | enable_nls |
758 | enable_nls |
732 | with_libintl_prefix |
759 | with_libintl_prefix |
733 | enable_iftype |
760 | enable_iftype |
734 | with_kernel |
761 | with_kernel |
735 | with_openssl_include |
762 | enable_threads |
736 | with_openssl_lib |
|
|
737 | enable_static_daemon |
763 | enable_static_daemon |
738 | enable_icmp |
764 | enable_icmp |
739 | enable_tcp |
765 | enable_tcp |
740 | enable_http_proxy |
766 | enable_http_proxy |
741 | enable_dns |
767 | enable_dns |
|
|
768 | enable_rsa_length |
742 | enable_hmac_length |
769 | enable_hmac_length |
743 | enable_rand_length |
|
|
744 | enable_max_mtu |
770 | enable_max_mtu |
745 | enable_compression |
771 | enable_compression |
746 | enable_cipher |
772 | enable_cipher |
747 | enable_digest |
773 | enable_hmac_digest |
|
|
774 | enable_auth_digest |
748 | ' |
775 | ' |
749 | ac_precious_vars='build_alias |
776 | ac_precious_vars='build_alias |
750 | host_alias |
777 | host_alias |
751 | target_alias |
778 | target_alias |
752 | CC |
779 | CC |
… | |
… | |
756 | CPPFLAGS |
783 | CPPFLAGS |
757 | CPP |
784 | CPP |
758 | CXX |
785 | CXX |
759 | CXXFLAGS |
786 | CXXFLAGS |
760 | CCC |
787 | CCC |
761 | CXXCPP' |
788 | CXXCPP |
|
|
789 | PKG_CONFIG |
|
|
790 | PKG_CONFIG_PATH |
|
|
791 | PKG_CONFIG_LIBDIR |
|
|
792 | LIBCRYPTO_CFLAGS |
|
|
793 | LIBCRYPTO_LIBS' |
762 | |
794 | |
763 | |
795 | |
764 | # Initialize some variables set by options. |
796 | # Initialize some variables set by options. |
765 | ac_init_help= |
797 | ac_init_help= |
766 | ac_init_version=false |
798 | ac_init_version=false |
… | |
… | |
795 | datarootdir='${prefix}/share' |
827 | datarootdir='${prefix}/share' |
796 | datadir='${datarootdir}' |
828 | datadir='${datarootdir}' |
797 | sysconfdir='${prefix}/etc' |
829 | sysconfdir='${prefix}/etc' |
798 | sharedstatedir='${prefix}/com' |
830 | sharedstatedir='${prefix}/com' |
799 | localstatedir='${prefix}/var' |
831 | localstatedir='${prefix}/var' |
|
|
832 | runstatedir='${localstatedir}/run' |
800 | includedir='${prefix}/include' |
833 | includedir='${prefix}/include' |
801 | oldincludedir='/usr/include' |
834 | oldincludedir='/usr/include' |
802 | docdir='${datarootdir}/doc/${PACKAGE}' |
835 | docdir='${datarootdir}/doc/${PACKAGE}' |
803 | infodir='${datarootdir}/info' |
836 | infodir='${datarootdir}/info' |
804 | htmldir='${docdir}' |
837 | htmldir='${docdir}' |
… | |
… | |
1047 | |
1080 | |
1048 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
1081 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
1049 | | -silent | --silent | --silen | --sile | --sil) |
1082 | | -silent | --silent | --silen | --sile | --sil) |
1050 | silent=yes ;; |
1083 | silent=yes ;; |
1051 | |
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 | |
1052 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
1094 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
1053 | ac_prev=sbindir ;; |
1095 | ac_prev=sbindir ;; |
1054 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
1096 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
1055 | | --sbi=* | --sb=*) |
1097 | | --sbi=* | --sb=*) |
1056 | sbindir=$ac_optarg ;; |
1098 | sbindir=$ac_optarg ;; |
… | |
… | |
1161 | *) |
1203 | *) |
1162 | # FIXME: should be removed in autoconf 3.0. |
1204 | # FIXME: should be removed in autoconf 3.0. |
1163 | $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 |
1164 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
1206 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
1165 | $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
1207 | $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
1166 | : ${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}" |
1167 | ;; |
1209 | ;; |
1168 | |
1210 | |
1169 | esac |
1211 | esac |
1170 | done |
1212 | done |
1171 | |
1213 | |
… | |
… | |
1184 | |
1226 | |
1185 | # Check all directory arguments for consistency. |
1227 | # Check all directory arguments for consistency. |
1186 | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
1228 | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
1187 | datadir sysconfdir sharedstatedir localstatedir includedir \ |
1229 | datadir sysconfdir sharedstatedir localstatedir includedir \ |
1188 | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
1230 | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
1189 | libdir localedir mandir |
1231 | libdir localedir mandir runstatedir |
1190 | do |
1232 | do |
1191 | eval ac_val=\$$ac_var |
1233 | eval ac_val=\$$ac_var |
1192 | # Remove trailing slashes. |
1234 | # Remove trailing slashes. |
1193 | case $ac_val in |
1235 | case $ac_val in |
1194 | */ ) |
1236 | */ ) |
… | |
… | |
1212 | |
1254 | |
1213 | # FIXME: To remove some day. |
1255 | # FIXME: To remove some day. |
1214 | if test "x$host_alias" != x; then |
1256 | if test "x$host_alias" != x; then |
1215 | if test "x$build_alias" = x; then |
1257 | if test "x$build_alias" = x; then |
1216 | cross_compiling=maybe |
1258 | cross_compiling=maybe |
1217 | $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. |
|
|
1218 | If a cross compiler is detected then cross compile mode will be used" >&2 |
|
|
1219 | elif test "x$build_alias" != "x$host_alias"; then |
1259 | elif test "x$build_alias" != "x$host_alias"; then |
1220 | cross_compiling=yes |
1260 | cross_compiling=yes |
1221 | fi |
1261 | fi |
1222 | fi |
1262 | fi |
1223 | |
1263 | |
… | |
… | |
1339 | --sbindir=DIR system admin executables [EPREFIX/sbin] |
1379 | --sbindir=DIR system admin executables [EPREFIX/sbin] |
1340 | --libexecdir=DIR program executables [EPREFIX/libexec] |
1380 | --libexecdir=DIR program executables [EPREFIX/libexec] |
1341 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
1381 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
1342 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
1382 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
1343 | --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] |
1344 | --libdir=DIR object code libraries [EPREFIX/lib] |
1385 | --libdir=DIR object code libraries [EPREFIX/lib] |
1345 | --includedir=DIR C header files [PREFIX/include] |
1386 | --includedir=DIR C header files [PREFIX/include] |
1346 | --oldincludedir=DIR C header files for non-gcc [/usr/include] |
1387 | --oldincludedir=DIR C header files for non-gcc [/usr/include] |
1347 | --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
1388 | --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
1348 | --datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
1389 | --datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
… | |
… | |
1376 | |
1417 | |
1377 | Optional Features: |
1418 | Optional Features: |
1378 | --disable-option-checking ignore unrecognized --enable/--with options |
1419 | --disable-option-checking ignore unrecognized --enable/--with options |
1379 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
1420 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
1380 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
1421 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
1381 | --enable-maintainer-mode enable make rules and dependencies not useful |
1422 | --enable-maintainer-mode enable make rules and dependencies not useful |
1382 | (and sometimes confusing) to the casual installer |
1423 | (and sometimes confusing) to the casual installer |
1383 | --disable-dependency-tracking speeds up one-time build |
1424 | --disable-dependency-tracking Speeds up one-time builds |
1384 | --enable-dependency-tracking do not reject slow dependency extractors |
1425 | --enable-dependency-tracking Do not reject slow dependency extractors |
1385 | --disable-rpath do not hardcode runtime library paths |
1426 | --disable-rpath do not hardcode runtime library paths |
1386 | --disable-nls do not use Native Language Support |
1427 | --disable-nls do not use Native Language Support |
1387 | --enable-iftype=TYPE/SUBTYPE |
1428 | --enable-iftype=TYPE/SUBTYPE |
1388 | Use kernel/net device interface TYPE/SUBTYPE. |
1429 | Use kernel/net device interface TYPE/SUBTYPE. |
1389 | Working combinations are (see doc/gvpe.osdep.5.pod): |
1430 | Working combinations are (see doc/gvpe.osdep.5.pod): |
… | |
… | |
1392 | "tincd/darwin" "native/cygwin"; Untested |
1433 | "tincd/darwin" "native/cygwin"; Untested |
1393 | combinations are: "tincd/bsd" "tincd/solaris" |
1434 | combinations are: "tincd/bsd" "tincd/solaris" |
1394 | "tincd/mingw" "tincd/raw_socket" "tincd/uml_socket"; |
1435 | "tincd/mingw" "tincd/raw_socket" "tincd/uml_socket"; |
1395 | Broken combinations are: "tincd/cygwin"; The default |
1436 | Broken combinations are: "tincd/cygwin"; The default |
1396 | is to autodetect. |
1437 | is to autodetect. |
|
|
1438 | --enable-threads try to use threads for long-running asynchronous |
|
|
1439 | operations (default enabled). |
1397 | --enable-static-daemon enable statically linked daemon. |
1440 | --enable-static-daemon enable statically linked daemon. |
1398 | --disable-icmp enable icmp protocol support (default enabled). |
1441 | --disable-icmp enable icmp protocol support (default enabled). |
1399 | --disable-tcp enable tcp protocol support (default enabled). |
1442 | --disable-tcp enable tcp protocol support (default enabled). |
1400 | --disable-http-proxy enable http proxy connect support (default enabled). |
1443 | --disable-http-proxy enable http proxy connect support (default enabled). |
1401 | --enable-dns enable dns tunnel protocol support (default |
1444 | --enable-dns enable dns tunnel protocol support (default |
1402 | disabled). |
1445 | disabled). |
|
|
1446 | --enable-rsa-length=BITS |
|
|
1447 | use BITS rsa keys (default 3072). Allowed values are |
|
|
1448 | 2048-10240. |
1403 | --enable-hmac-length=BYTES |
1449 | --enable-hmac-length=BYTES |
1404 | use a hmac of length BYTES bytes (default 12). |
1450 | use a hmac of length BYTES bytes (default 12). |
1405 | Allowed values are 4, 8, 12, 16. |
1451 | Allowed values are 4, 8, 12, 16. |
1406 | --enable-rand-length=BYTES |
|
|
1407 | use BYTES bytes of extra randomness (default 8). |
|
|
1408 | Allowed values are 0, 4, 8. |
|
|
1409 | --enable-max-mtu=BYTES enable mtu sizes upto BYTES bytes (default 1500). |
1452 | --enable-max-mtu=BYTES enable mtu sizes upto BYTES bytes (default 1500). |
1410 | Use 9100 for jumbogram support. |
1453 | Use 9100 for jumbogram support. |
1411 | --disable-compression Disable compression support. |
1454 | --disable-compression Disable compression support. |
1412 | --enable-cipher=CIPHER Select the symmetric cipher (default "aes-128"). |
1455 | --enable-cipher=CIPHER Select the symmetric cipher (default "aes-128"). |
1413 | Must be one of "bf" (blowfish), "aes-128" |
1456 | Must be one of "aes-128" (rijndael), "aes-192", or |
1414 | (rijndael), "aes-192" or "aes-256". |
1457 | "aes-256". |
1415 | --enable-digest=CIPHER Select the digest algorithm to use (default |
1458 | --enable-hmac-digest=HMAC |
|
|
1459 | Select the HMAC digest algorithm to use (default |
1416 | "ripemd160"). Must be one of "sha512", "sha256", |
1460 | "sha1"). Must be one of "sha512", "sha256", "sha1", |
1417 | "sha1" (somewhat insecure), "ripemd160", "md5" |
1461 | "ripemd160", "whirlpool". |
1418 | (insecure) or "md4" (insecure). |
1462 | --enable-auth-digest=DIGEST |
|
|
1463 | Select the hmac algorithm to use (default "sha512"). |
|
|
1464 | Must be one of "sha512", "sha256", "whirlpool". |
1419 | |
1465 | |
1420 | Optional Packages: |
1466 | Optional Packages: |
1421 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
1467 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
1422 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
1468 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
1423 | --with-gnu-ld assume the C compiler uses GNU ld default=no |
1469 | --with-gnu-ld assume the C compiler uses GNU ld default=no |
… | |
… | |
1425 | --without-libiconv-prefix don't search for libiconv in includedir and libdir |
1471 | --without-libiconv-prefix don't search for libiconv in includedir and libdir |
1426 | --with-libintl-prefix=DIR search for libintl in DIR/include and DIR/lib |
1472 | --with-libintl-prefix=DIR search for libintl in DIR/include and DIR/lib |
1427 | --without-libintl-prefix don't search for libintl in includedir and libdir |
1473 | --without-libintl-prefix don't search for libintl in includedir and libdir |
1428 | --with-kernel=dir give the directory with kernel sources |
1474 | --with-kernel=dir give the directory with kernel sources |
1429 | (default: /usr/src/linux) |
1475 | (default: /usr/src/linux) |
1430 | --with-openssl-include=DIR OpenSSL headers directory (without trailing /openssl) |
|
|
1431 | --with-openssl-lib=DIR OpenSSL library directory |
|
|
1432 | |
1476 | |
1433 | Some influential environment variables: |
1477 | Some influential environment variables: |
1434 | CC C compiler command |
1478 | CC C compiler command |
1435 | CFLAGS C compiler flags |
1479 | CFLAGS C compiler flags |
1436 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
1480 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
… | |
… | |
1440 | you have headers in a nonstandard directory <include dir> |
1484 | you have headers in a nonstandard directory <include dir> |
1441 | CPP C preprocessor |
1485 | CPP C preprocessor |
1442 | CXX C++ compiler command |
1486 | CXX C++ compiler command |
1443 | CXXFLAGS C++ compiler flags |
1487 | CXXFLAGS C++ compiler flags |
1444 | CXXCPP C++ preprocessor |
1488 | CXXCPP C++ preprocessor |
|
|
1489 | PKG_CONFIG path to pkg-config utility |
|
|
1490 | PKG_CONFIG_PATH |
|
|
1491 | directories to add to pkg-config's search path |
|
|
1492 | PKG_CONFIG_LIBDIR |
|
|
1493 | path overriding pkg-config's built-in search path |
|
|
1494 | LIBCRYPTO_CFLAGS |
|
|
1495 | C compiler flags for LIBCRYPTO, overriding pkg-config |
|
|
1496 | LIBCRYPTO_LIBS |
|
|
1497 | linker flags for LIBCRYPTO, overriding pkg-config |
1445 | |
1498 | |
1446 | Use these variables to override the choices made by `configure' or to help |
1499 | Use these variables to override the choices made by `configure' or to help |
1447 | it to find libraries and programs with nonstandard names/locations. |
1500 | it to find libraries and programs with nonstandard names/locations. |
1448 | |
1501 | |
1449 | Report bugs to the package provider. |
1502 | Report bugs to the package provider. |
… | |
… | |
1508 | |
1561 | |
1509 | test -n "$ac_init_help" && exit $ac_status |
1562 | test -n "$ac_init_help" && exit $ac_status |
1510 | if $ac_init_version; then |
1563 | if $ac_init_version; then |
1511 | cat <<\_ACEOF |
1564 | cat <<\_ACEOF |
1512 | configure |
1565 | configure |
1513 | generated by GNU Autoconf 2.67 |
1566 | generated by GNU Autoconf 2.69 |
1514 | |
1567 | |
1515 | Copyright (C) 2010 Free Software Foundation, Inc. |
1568 | Copyright (C) 2012 Free Software Foundation, Inc. |
1516 | This configure script is free software; the Free Software Foundation |
1569 | This configure script is free software; the Free Software Foundation |
1517 | gives unlimited permission to copy, distribute and modify it. |
1570 | gives unlimited permission to copy, distribute and modify it. |
1518 | _ACEOF |
1571 | _ACEOF |
1519 | exit |
1572 | exit |
1520 | fi |
1573 | fi |
… | |
… | |
1554 | $as_echo "$as_me: failed program was:" >&5 |
1607 | $as_echo "$as_me: failed program was:" >&5 |
1555 | sed 's/^/| /' conftest.$ac_ext >&5 |
1608 | sed 's/^/| /' conftest.$ac_ext >&5 |
1556 | |
1609 | |
1557 | ac_retval=1 |
1610 | ac_retval=1 |
1558 | fi |
1611 | fi |
1559 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1612 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1560 | as_fn_set_status $ac_retval |
1613 | as_fn_set_status $ac_retval |
1561 | |
1614 | |
1562 | } # ac_fn_c_try_compile |
1615 | } # ac_fn_c_try_compile |
1563 | |
1616 | |
1564 | # ac_fn_c_try_link LINENO |
1617 | # ac_fn_c_try_link LINENO |
… | |
… | |
1586 | test $ac_status = 0; } && { |
1639 | test $ac_status = 0; } && { |
1587 | test -z "$ac_c_werror_flag" || |
1640 | test -z "$ac_c_werror_flag" || |
1588 | test ! -s conftest.err |
1641 | test ! -s conftest.err |
1589 | } && test -s conftest$ac_exeext && { |
1642 | } && test -s conftest$ac_exeext && { |
1590 | test "$cross_compiling" = yes || |
1643 | test "$cross_compiling" = yes || |
1591 | $as_test_x conftest$ac_exeext |
1644 | test -x conftest$ac_exeext |
1592 | }; then : |
1645 | }; then : |
1593 | ac_retval=0 |
1646 | ac_retval=0 |
1594 | else |
1647 | else |
1595 | $as_echo "$as_me: failed program was:" >&5 |
1648 | $as_echo "$as_me: failed program was:" >&5 |
1596 | sed 's/^/| /' conftest.$ac_ext >&5 |
1649 | sed 's/^/| /' conftest.$ac_ext >&5 |
… | |
… | |
1600 | # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information |
1653 | # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information |
1601 | # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would |
1654 | # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would |
1602 | # interfere with the next link command; also delete a directory that is |
1655 | # interfere with the next link command; also delete a directory that is |
1603 | # left behind by Apple's compiler. We do this before executing the actions. |
1656 | # left behind by Apple's compiler. We do this before executing the actions. |
1604 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
1657 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
1605 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1658 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1606 | as_fn_set_status $ac_retval |
1659 | as_fn_set_status $ac_retval |
1607 | |
1660 | |
1608 | } # ac_fn_c_try_link |
1661 | } # ac_fn_c_try_link |
1609 | |
1662 | |
1610 | # ac_fn_c_try_cpp LINENO |
1663 | # ac_fn_c_try_cpp LINENO |
… | |
… | |
1637 | $as_echo "$as_me: failed program was:" >&5 |
1690 | $as_echo "$as_me: failed program was:" >&5 |
1638 | sed 's/^/| /' conftest.$ac_ext >&5 |
1691 | sed 's/^/| /' conftest.$ac_ext >&5 |
1639 | |
1692 | |
1640 | ac_retval=1 |
1693 | ac_retval=1 |
1641 | fi |
1694 | fi |
1642 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1695 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1643 | as_fn_set_status $ac_retval |
1696 | as_fn_set_status $ac_retval |
1644 | |
1697 | |
1645 | } # ac_fn_c_try_cpp |
1698 | } # ac_fn_c_try_cpp |
1646 | |
1699 | |
1647 | # ac_fn_cxx_try_compile LINENO |
1700 | # ac_fn_cxx_try_compile LINENO |
… | |
… | |
1675 | $as_echo "$as_me: failed program was:" >&5 |
1728 | $as_echo "$as_me: failed program was:" >&5 |
1676 | sed 's/^/| /' conftest.$ac_ext >&5 |
1729 | sed 's/^/| /' conftest.$ac_ext >&5 |
1677 | |
1730 | |
1678 | ac_retval=1 |
1731 | ac_retval=1 |
1679 | fi |
1732 | fi |
1680 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1733 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1681 | as_fn_set_status $ac_retval |
1734 | as_fn_set_status $ac_retval |
1682 | |
1735 | |
1683 | } # ac_fn_cxx_try_compile |
1736 | } # ac_fn_cxx_try_compile |
1684 | |
1737 | |
1685 | # ac_fn_cxx_try_cpp LINENO |
1738 | # ac_fn_cxx_try_cpp LINENO |
… | |
… | |
1712 | $as_echo "$as_me: failed program was:" >&5 |
1765 | $as_echo "$as_me: failed program was:" >&5 |
1713 | sed 's/^/| /' conftest.$ac_ext >&5 |
1766 | sed 's/^/| /' conftest.$ac_ext >&5 |
1714 | |
1767 | |
1715 | ac_retval=1 |
1768 | ac_retval=1 |
1716 | fi |
1769 | fi |
1717 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1770 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1718 | as_fn_set_status $ac_retval |
1771 | as_fn_set_status $ac_retval |
1719 | |
1772 | |
1720 | } # ac_fn_cxx_try_cpp |
1773 | } # ac_fn_cxx_try_cpp |
1721 | |
1774 | |
1722 | # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES |
1775 | # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES |
… | |
… | |
1725 | # the include files in INCLUDES and setting the cache variable VAR |
1778 | # the include files in INCLUDES and setting the cache variable VAR |
1726 | # accordingly. |
1779 | # accordingly. |
1727 | ac_fn_cxx_check_header_mongrel () |
1780 | ac_fn_cxx_check_header_mongrel () |
1728 | { |
1781 | { |
1729 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1782 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1730 | if eval "test \"\${$3+set}\"" = set; then : |
1783 | if eval \${$3+:} false; then : |
1731 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1784 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1732 | $as_echo_n "checking for $2... " >&6; } |
1785 | $as_echo_n "checking for $2... " >&6; } |
1733 | if eval "test \"\${$3+set}\"" = set; then : |
1786 | if eval \${$3+:} false; then : |
1734 | $as_echo_n "(cached) " >&6 |
1787 | $as_echo_n "(cached) " >&6 |
1735 | fi |
1788 | fi |
1736 | eval ac_res=\$$3 |
1789 | eval ac_res=\$$3 |
1737 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1790 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1738 | $as_echo "$ac_res" >&6; } |
1791 | $as_echo "$ac_res" >&6; } |
… | |
… | |
1791 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
1844 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
1792 | ;; |
1845 | ;; |
1793 | esac |
1846 | esac |
1794 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1847 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1795 | $as_echo_n "checking for $2... " >&6; } |
1848 | $as_echo_n "checking for $2... " >&6; } |
1796 | if eval "test \"\${$3+set}\"" = set; then : |
1849 | if eval \${$3+:} false; then : |
1797 | $as_echo_n "(cached) " >&6 |
1850 | $as_echo_n "(cached) " >&6 |
1798 | else |
1851 | else |
1799 | eval "$3=\$ac_header_compiler" |
1852 | eval "$3=\$ac_header_compiler" |
1800 | fi |
1853 | fi |
1801 | eval ac_res=\$$3 |
1854 | eval ac_res=\$$3 |
1802 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1855 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1803 | $as_echo "$ac_res" >&6; } |
1856 | $as_echo "$ac_res" >&6; } |
1804 | fi |
1857 | fi |
1805 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1858 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1806 | |
1859 | |
1807 | } # ac_fn_cxx_check_header_mongrel |
1860 | } # ac_fn_cxx_check_header_mongrel |
1808 | |
1861 | |
1809 | # ac_fn_cxx_try_run LINENO |
1862 | # ac_fn_cxx_try_run LINENO |
1810 | # ------------------------ |
1863 | # ------------------------ |
… | |
… | |
1841 | sed 's/^/| /' conftest.$ac_ext >&5 |
1894 | sed 's/^/| /' conftest.$ac_ext >&5 |
1842 | |
1895 | |
1843 | ac_retval=$ac_status |
1896 | ac_retval=$ac_status |
1844 | fi |
1897 | fi |
1845 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
1898 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
1846 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1899 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1847 | as_fn_set_status $ac_retval |
1900 | as_fn_set_status $ac_retval |
1848 | |
1901 | |
1849 | } # ac_fn_cxx_try_run |
1902 | } # ac_fn_cxx_try_run |
1850 | |
1903 | |
1851 | # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES |
1904 | # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES |
… | |
… | |
1855 | ac_fn_cxx_check_header_compile () |
1908 | ac_fn_cxx_check_header_compile () |
1856 | { |
1909 | { |
1857 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1910 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1858 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1911 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1859 | $as_echo_n "checking for $2... " >&6; } |
1912 | $as_echo_n "checking for $2... " >&6; } |
1860 | if eval "test \"\${$3+set}\"" = set; then : |
1913 | if eval \${$3+:} false; then : |
1861 | $as_echo_n "(cached) " >&6 |
1914 | $as_echo_n "(cached) " >&6 |
1862 | else |
1915 | else |
1863 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1916 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1864 | /* end confdefs.h. */ |
1917 | /* end confdefs.h. */ |
1865 | $4 |
1918 | $4 |
… | |
… | |
1873 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
1926 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
1874 | fi |
1927 | fi |
1875 | eval ac_res=\$$3 |
1928 | eval ac_res=\$$3 |
1876 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1929 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1877 | $as_echo "$ac_res" >&6; } |
1930 | $as_echo "$ac_res" >&6; } |
1878 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1931 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1879 | |
1932 | |
1880 | } # ac_fn_cxx_check_header_compile |
1933 | } # ac_fn_cxx_check_header_compile |
1881 | |
1934 | |
1882 | # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES |
1935 | # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES |
1883 | # --------------------------------------------- |
1936 | # --------------------------------------------- |
… | |
… | |
1886 | ac_fn_cxx_check_type () |
1939 | ac_fn_cxx_check_type () |
1887 | { |
1940 | { |
1888 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1941 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1889 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1942 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1890 | $as_echo_n "checking for $2... " >&6; } |
1943 | $as_echo_n "checking for $2... " >&6; } |
1891 | if eval "test \"\${$3+set}\"" = set; then : |
1944 | if eval \${$3+:} false; then : |
1892 | $as_echo_n "(cached) " >&6 |
1945 | $as_echo_n "(cached) " >&6 |
1893 | else |
1946 | else |
1894 | eval "$3=no" |
1947 | eval "$3=no" |
1895 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1948 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1896 | /* end confdefs.h. */ |
1949 | /* end confdefs.h. */ |
… | |
… | |
1927 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
1980 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
1928 | fi |
1981 | fi |
1929 | eval ac_res=\$$3 |
1982 | eval ac_res=\$$3 |
1930 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1983 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1931 | $as_echo "$ac_res" >&6; } |
1984 | $as_echo "$ac_res" >&6; } |
1932 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1985 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1933 | |
1986 | |
1934 | } # ac_fn_cxx_check_type |
1987 | } # ac_fn_cxx_check_type |
1935 | |
1988 | |
1936 | # ac_fn_c_try_run LINENO |
1989 | # ac_fn_c_try_run LINENO |
1937 | # ---------------------- |
1990 | # ---------------------- |
… | |
… | |
1968 | sed 's/^/| /' conftest.$ac_ext >&5 |
2021 | sed 's/^/| /' conftest.$ac_ext >&5 |
1969 | |
2022 | |
1970 | ac_retval=$ac_status |
2023 | ac_retval=$ac_status |
1971 | fi |
2024 | fi |
1972 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
2025 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
1973 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
2026 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1974 | as_fn_set_status $ac_retval |
2027 | as_fn_set_status $ac_retval |
1975 | |
2028 | |
1976 | } # ac_fn_c_try_run |
2029 | } # ac_fn_c_try_run |
1977 | |
2030 | |
1978 | # ac_fn_c_check_func LINENO FUNC VAR |
2031 | # ac_fn_c_check_func LINENO FUNC VAR |
… | |
… | |
1981 | ac_fn_c_check_func () |
2034 | ac_fn_c_check_func () |
1982 | { |
2035 | { |
1983 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
2036 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1984 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
2037 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1985 | $as_echo_n "checking for $2... " >&6; } |
2038 | $as_echo_n "checking for $2... " >&6; } |
1986 | if eval "test \"\${$3+set}\"" = set; then : |
2039 | if eval \${$3+:} false; then : |
1987 | $as_echo_n "(cached) " >&6 |
2040 | $as_echo_n "(cached) " >&6 |
1988 | else |
2041 | else |
1989 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2042 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1990 | /* end confdefs.h. */ |
2043 | /* end confdefs.h. */ |
1991 | /* Define $2 to an innocuous variant, in case <limits.h> declares $2. |
2044 | /* Define $2 to an innocuous variant, in case <limits.h> declares $2. |
… | |
… | |
2036 | conftest$ac_exeext conftest.$ac_ext |
2089 | conftest$ac_exeext conftest.$ac_ext |
2037 | fi |
2090 | fi |
2038 | eval ac_res=\$$3 |
2091 | eval ac_res=\$$3 |
2039 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
2092 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
2040 | $as_echo "$ac_res" >&6; } |
2093 | $as_echo "$ac_res" >&6; } |
2041 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
2094 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
2042 | |
2095 | |
2043 | } # ac_fn_c_check_func |
2096 | } # ac_fn_c_check_func |
2044 | |
2097 | |
2045 | # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES |
2098 | # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES |
2046 | # ------------------------------------------------------- |
2099 | # ------------------------------------------------------- |
… | |
… | |
2048 | # the include files in INCLUDES and setting the cache variable VAR |
2101 | # the include files in INCLUDES and setting the cache variable VAR |
2049 | # accordingly. |
2102 | # accordingly. |
2050 | ac_fn_c_check_header_mongrel () |
2103 | ac_fn_c_check_header_mongrel () |
2051 | { |
2104 | { |
2052 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
2105 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
2053 | if eval "test \"\${$3+set}\"" = set; then : |
2106 | if eval \${$3+:} false; then : |
2054 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
2107 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
2055 | $as_echo_n "checking for $2... " >&6; } |
2108 | $as_echo_n "checking for $2... " >&6; } |
2056 | if eval "test \"\${$3+set}\"" = set; then : |
2109 | if eval \${$3+:} false; then : |
2057 | $as_echo_n "(cached) " >&6 |
2110 | $as_echo_n "(cached) " >&6 |
2058 | fi |
2111 | fi |
2059 | eval ac_res=\$$3 |
2112 | eval ac_res=\$$3 |
2060 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
2113 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
2061 | $as_echo "$ac_res" >&6; } |
2114 | $as_echo "$ac_res" >&6; } |
… | |
… | |
2114 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
2167 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
2115 | ;; |
2168 | ;; |
2116 | esac |
2169 | esac |
2117 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
2170 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
2118 | $as_echo_n "checking for $2... " >&6; } |
2171 | $as_echo_n "checking for $2... " >&6; } |
2119 | if eval "test \"\${$3+set}\"" = set; then : |
2172 | if eval \${$3+:} false; then : |
2120 | $as_echo_n "(cached) " >&6 |
2173 | $as_echo_n "(cached) " >&6 |
2121 | else |
2174 | else |
2122 | eval "$3=\$ac_header_compiler" |
2175 | eval "$3=\$ac_header_compiler" |
2123 | fi |
2176 | fi |
2124 | eval ac_res=\$$3 |
2177 | eval ac_res=\$$3 |
2125 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
2178 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
2126 | $as_echo "$ac_res" >&6; } |
2179 | $as_echo "$ac_res" >&6; } |
2127 | fi |
2180 | fi |
2128 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
2181 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
2129 | |
2182 | |
2130 | } # ac_fn_c_check_header_mongrel |
2183 | } # ac_fn_c_check_header_mongrel |
2131 | |
2184 | |
2132 | # ac_fn_cxx_try_link LINENO |
2185 | # ac_fn_cxx_try_link LINENO |
2133 | # ------------------------- |
2186 | # ------------------------- |
… | |
… | |
2154 | test $ac_status = 0; } && { |
2207 | test $ac_status = 0; } && { |
2155 | test -z "$ac_cxx_werror_flag" || |
2208 | test -z "$ac_cxx_werror_flag" || |
2156 | test ! -s conftest.err |
2209 | test ! -s conftest.err |
2157 | } && test -s conftest$ac_exeext && { |
2210 | } && test -s conftest$ac_exeext && { |
2158 | test "$cross_compiling" = yes || |
2211 | test "$cross_compiling" = yes || |
2159 | $as_test_x conftest$ac_exeext |
2212 | test -x conftest$ac_exeext |
2160 | }; then : |
2213 | }; then : |
2161 | ac_retval=0 |
2214 | ac_retval=0 |
2162 | else |
2215 | else |
2163 | $as_echo "$as_me: failed program was:" >&5 |
2216 | $as_echo "$as_me: failed program was:" >&5 |
2164 | sed 's/^/| /' conftest.$ac_ext >&5 |
2217 | sed 's/^/| /' conftest.$ac_ext >&5 |
… | |
… | |
2168 | # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information |
2221 | # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information |
2169 | # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would |
2222 | # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would |
2170 | # interfere with the next link command; also delete a directory that is |
2223 | # interfere with the next link command; also delete a directory that is |
2171 | # left behind by Apple's compiler. We do this before executing the actions. |
2224 | # left behind by Apple's compiler. We do this before executing the actions. |
2172 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
2225 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
2173 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
2226 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
2174 | as_fn_set_status $ac_retval |
2227 | as_fn_set_status $ac_retval |
2175 | |
2228 | |
2176 | } # ac_fn_cxx_try_link |
2229 | } # ac_fn_cxx_try_link |
2177 | |
|
|
2178 | # ac_fn_cxx_check_func LINENO FUNC VAR |
|
|
2179 | # ------------------------------------ |
|
|
2180 | # Tests whether FUNC exists, setting the cache variable VAR accordingly |
|
|
2181 | ac_fn_cxx_check_func () |
|
|
2182 | { |
|
|
2183 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
|
2184 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
|
|
2185 | $as_echo_n "checking for $2... " >&6; } |
|
|
2186 | if eval "test \"\${$3+set}\"" = set; then : |
|
|
2187 | $as_echo_n "(cached) " >&6 |
|
|
2188 | else |
|
|
2189 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
2190 | /* end confdefs.h. */ |
|
|
2191 | /* Define $2 to an innocuous variant, in case <limits.h> declares $2. |
|
|
2192 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
|
2193 | #define $2 innocuous_$2 |
|
|
2194 | |
|
|
2195 | /* System header to define __stub macros and hopefully few prototypes, |
|
|
2196 | which can conflict with char $2 (); below. |
|
|
2197 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
2198 | <limits.h> exists even on freestanding compilers. */ |
|
|
2199 | |
|
|
2200 | #ifdef __STDC__ |
|
|
2201 | # include <limits.h> |
|
|
2202 | #else |
|
|
2203 | # include <assert.h> |
|
|
2204 | #endif |
|
|
2205 | |
|
|
2206 | #undef $2 |
|
|
2207 | |
|
|
2208 | /* Override any GCC internal prototype to avoid an error. |
|
|
2209 | Use char because int might match the return type of a GCC |
|
|
2210 | builtin and then its argument prototype would still apply. */ |
|
|
2211 | #ifdef __cplusplus |
|
|
2212 | extern "C" |
|
|
2213 | #endif |
|
|
2214 | char $2 (); |
|
|
2215 | /* The GNU C library defines this for functions which it implements |
|
|
2216 | to always fail with ENOSYS. Some functions are actually named |
|
|
2217 | something starting with __ and the normal name is an alias. */ |
|
|
2218 | #if defined __stub_$2 || defined __stub___$2 |
|
|
2219 | choke me |
|
|
2220 | #endif |
|
|
2221 | |
|
|
2222 | int |
|
|
2223 | main () |
|
|
2224 | { |
|
|
2225 | return $2 (); |
|
|
2226 | ; |
|
|
2227 | return 0; |
|
|
2228 | } |
|
|
2229 | _ACEOF |
|
|
2230 | if ac_fn_cxx_try_link "$LINENO"; then : |
|
|
2231 | eval "$3=yes" |
|
|
2232 | else |
|
|
2233 | eval "$3=no" |
|
|
2234 | fi |
|
|
2235 | rm -f core conftest.err conftest.$ac_objext \ |
|
|
2236 | conftest$ac_exeext conftest.$ac_ext |
|
|
2237 | fi |
|
|
2238 | eval ac_res=\$$3 |
|
|
2239 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
|
|
2240 | $as_echo "$ac_res" >&6; } |
|
|
2241 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
|
|
2242 | |
|
|
2243 | } # ac_fn_cxx_check_func |
|
|
2244 | cat >config.log <<_ACEOF |
2230 | cat >config.log <<_ACEOF |
2245 | This file contains any messages produced by compilers while |
2231 | This file contains any messages produced by compilers while |
2246 | running configure, to aid debugging if configure makes a mistake. |
2232 | running configure, to aid debugging if configure makes a mistake. |
2247 | |
2233 | |
2248 | It was created by $as_me, which was |
2234 | It was created by $as_me, which was |
2249 | generated by GNU Autoconf 2.67. Invocation command line was |
2235 | generated by GNU Autoconf 2.69. Invocation command line was |
2250 | |
2236 | |
2251 | $ $0 $@ |
2237 | $ $0 $@ |
2252 | |
2238 | |
2253 | _ACEOF |
2239 | _ACEOF |
2254 | exec 5>>config.log |
2240 | exec 5>>config.log |
… | |
… | |
2502 | sed 's/^/| /' "$ac_site_file" >&5 |
2488 | sed 's/^/| /' "$ac_site_file" >&5 |
2503 | . "$ac_site_file" \ |
2489 | . "$ac_site_file" \ |
2504 | || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2490 | || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2505 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2491 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2506 | as_fn_error $? "failed to load site script $ac_site_file |
2492 | as_fn_error $? "failed to load site script $ac_site_file |
2507 | See \`config.log' for more details" "$LINENO" 5 ; } |
2493 | See \`config.log' for more details" "$LINENO" 5; } |
2508 | fi |
2494 | fi |
2509 | done |
2495 | done |
2510 | |
2496 | |
2511 | if test -r "$cache_file"; then |
2497 | if test -r "$cache_file"; then |
2512 | # Some versions of bash will fail to source /dev/null (special files |
2498 | # Some versions of bash will fail to source /dev/null (special files |
… | |
… | |
2627 | $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || |
2613 | $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || |
2628 | as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 |
2614 | as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 |
2629 | |
2615 | |
2630 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 |
2616 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 |
2631 | $as_echo_n "checking build system type... " >&6; } |
2617 | $as_echo_n "checking build system type... " >&6; } |
2632 | if test "${ac_cv_build+set}" = set; then : |
2618 | if ${ac_cv_build+:} false; then : |
2633 | $as_echo_n "(cached) " >&6 |
2619 | $as_echo_n "(cached) " >&6 |
2634 | else |
2620 | else |
2635 | ac_build_alias=$build_alias |
2621 | ac_build_alias=$build_alias |
2636 | test "x$ac_build_alias" = x && |
2622 | test "x$ac_build_alias" = x && |
2637 | ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` |
2623 | ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` |
… | |
… | |
2643 | fi |
2629 | fi |
2644 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 |
2630 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 |
2645 | $as_echo "$ac_cv_build" >&6; } |
2631 | $as_echo "$ac_cv_build" >&6; } |
2646 | case $ac_cv_build in |
2632 | case $ac_cv_build in |
2647 | *-*-*) ;; |
2633 | *-*-*) ;; |
2648 | *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;; |
2634 | *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; |
2649 | esac |
2635 | esac |
2650 | build=$ac_cv_build |
2636 | build=$ac_cv_build |
2651 | ac_save_IFS=$IFS; IFS='-' |
2637 | ac_save_IFS=$IFS; IFS='-' |
2652 | set x $ac_cv_build |
2638 | set x $ac_cv_build |
2653 | shift |
2639 | shift |
… | |
… | |
2661 | case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac |
2647 | case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac |
2662 | |
2648 | |
2663 | |
2649 | |
2664 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 |
2650 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 |
2665 | $as_echo_n "checking host system type... " >&6; } |
2651 | $as_echo_n "checking host system type... " >&6; } |
2666 | if test "${ac_cv_host+set}" = set; then : |
2652 | if ${ac_cv_host+:} false; then : |
2667 | $as_echo_n "(cached) " >&6 |
2653 | $as_echo_n "(cached) " >&6 |
2668 | else |
2654 | else |
2669 | if test "x$host_alias" = x; then |
2655 | if test "x$host_alias" = x; then |
2670 | ac_cv_host=$ac_cv_build |
2656 | ac_cv_host=$ac_cv_build |
2671 | else |
2657 | else |
… | |
… | |
2676 | fi |
2662 | fi |
2677 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 |
2663 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 |
2678 | $as_echo "$ac_cv_host" >&6; } |
2664 | $as_echo "$ac_cv_host" >&6; } |
2679 | case $ac_cv_host in |
2665 | case $ac_cv_host in |
2680 | *-*-*) ;; |
2666 | *-*-*) ;; |
2681 | *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;; |
2667 | *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; |
2682 | esac |
2668 | esac |
2683 | host=$ac_cv_host |
2669 | host=$ac_cv_host |
2684 | ac_save_IFS=$IFS; IFS='-' |
2670 | ac_save_IFS=$IFS; IFS='-' |
2685 | set x $ac_cv_host |
2671 | set x $ac_cv_host |
2686 | shift |
2672 | shift |
… | |
… | |
2694 | case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac |
2680 | case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac |
2695 | |
2681 | |
2696 | |
2682 | |
2697 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 |
2683 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 |
2698 | $as_echo_n "checking target system type... " >&6; } |
2684 | $as_echo_n "checking target system type... " >&6; } |
2699 | if test "${ac_cv_target+set}" = set; then : |
2685 | if ${ac_cv_target+:} false; then : |
2700 | $as_echo_n "(cached) " >&6 |
2686 | $as_echo_n "(cached) " >&6 |
2701 | else |
2687 | else |
2702 | if test "x$target_alias" = x; then |
2688 | if test "x$target_alias" = x; then |
2703 | ac_cv_target=$ac_cv_host |
2689 | ac_cv_target=$ac_cv_host |
2704 | else |
2690 | else |
… | |
… | |
2709 | fi |
2695 | fi |
2710 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 |
2696 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 |
2711 | $as_echo "$ac_cv_target" >&6; } |
2697 | $as_echo "$ac_cv_target" >&6; } |
2712 | case $ac_cv_target in |
2698 | case $ac_cv_target in |
2713 | *-*-*) ;; |
2699 | *-*-*) ;; |
2714 | *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5 ;; |
2700 | *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;; |
2715 | esac |
2701 | esac |
2716 | target=$ac_cv_target |
2702 | target=$ac_cv_target |
2717 | ac_save_IFS=$IFS; IFS='-' |
2703 | ac_save_IFS=$IFS; IFS='-' |
2718 | set x $ac_cv_target |
2704 | set x $ac_cv_target |
2719 | shift |
2705 | shift |
… | |
… | |
2731 | # will get canonicalized. |
2717 | # will get canonicalized. |
2732 | test -n "$target_alias" && |
2718 | test -n "$target_alias" && |
2733 | test "$program_prefix$program_suffix$program_transform_name" = \ |
2719 | test "$program_prefix$program_suffix$program_transform_name" = \ |
2734 | NONENONEs,x,x, && |
2720 | NONENONEs,x,x, && |
2735 | program_prefix=${target_alias}- |
2721 | program_prefix=${target_alias}- |
2736 | am__api_version='1.11' |
2722 | am__api_version="1.7" |
2737 | |
|
|
2738 | # Find a good install program. We prefer a C program (faster), |
2723 | # Find a good install program. We prefer a C program (faster), |
2739 | # so one script is as good as another. But avoid the broken or |
2724 | # so one script is as good as another. But avoid the broken or |
2740 | # incompatible versions: |
2725 | # incompatible versions: |
2741 | # SysV /etc/install, /usr/sbin/install |
2726 | # SysV /etc/install, /usr/sbin/install |
2742 | # SunOS /usr/etc/install |
2727 | # SunOS /usr/etc/install |
… | |
… | |
2750 | # ./install, which can be erroneously created by make from ./install.sh. |
2735 | # ./install, which can be erroneously created by make from ./install.sh. |
2751 | # Reject install programs that cannot install multiple files. |
2736 | # Reject install programs that cannot install multiple files. |
2752 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 |
2737 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 |
2753 | $as_echo_n "checking for a BSD-compatible install... " >&6; } |
2738 | $as_echo_n "checking for a BSD-compatible install... " >&6; } |
2754 | if test -z "$INSTALL"; then |
2739 | if test -z "$INSTALL"; then |
2755 | if test "${ac_cv_path_install+set}" = set; then : |
2740 | if ${ac_cv_path_install+:} false; then : |
2756 | $as_echo_n "(cached) " >&6 |
2741 | $as_echo_n "(cached) " >&6 |
2757 | else |
2742 | else |
2758 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2743 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2759 | for as_dir in $PATH |
2744 | for as_dir in $PATH |
2760 | do |
2745 | do |
… | |
… | |
2770 | # OSF1 and SCO ODT 3.0 have their own names for install. |
2755 | # OSF1 and SCO ODT 3.0 have their own names for install. |
2771 | # Don't use installbsd from OSF since it installs stuff as root |
2756 | # Don't use installbsd from OSF since it installs stuff as root |
2772 | # by default. |
2757 | # by default. |
2773 | for ac_prog in ginstall scoinst install; do |
2758 | for ac_prog in ginstall scoinst install; do |
2774 | for ac_exec_ext in '' $ac_executable_extensions; do |
2759 | for ac_exec_ext in '' $ac_executable_extensions; do |
2775 | if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then |
2760 | if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
2776 | if test $ac_prog = install && |
2761 | if test $ac_prog = install && |
2777 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
2762 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
2778 | # AIX install. It has an incompatible calling convention. |
2763 | # AIX install. It has an incompatible calling convention. |
2779 | : |
2764 | : |
2780 | elif test $ac_prog = install && |
2765 | elif test $ac_prog = install && |
… | |
… | |
2831 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 |
2816 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 |
2832 | $as_echo_n "checking whether build environment is sane... " >&6; } |
2817 | $as_echo_n "checking whether build environment is sane... " >&6; } |
2833 | # Just in case |
2818 | # Just in case |
2834 | sleep 1 |
2819 | sleep 1 |
2835 | echo timestamp > conftest.file |
2820 | echo timestamp > conftest.file |
2836 | # Reject unsafe characters in $srcdir or the absolute working directory |
|
|
2837 | # name. Accept space and tab only in the latter. |
|
|
2838 | am_lf=' |
|
|
2839 | ' |
|
|
2840 | case `pwd` in |
|
|
2841 | *[\\\"\#\$\&\'\`$am_lf]*) |
|
|
2842 | as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;; |
|
|
2843 | esac |
|
|
2844 | case $srcdir in |
|
|
2845 | *[\\\"\#\$\&\'\`$am_lf\ \ ]*) |
|
|
2846 | as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;; |
|
|
2847 | esac |
|
|
2848 | |
|
|
2849 | # Do `set' in a subshell so we don't clobber the current shell's |
2821 | # Do `set' in a subshell so we don't clobber the current shell's |
2850 | # arguments. Must try -L first in case configure is actually a |
2822 | # arguments. Must try -L first in case configure is actually a |
2851 | # symlink; some systems play weird games with the mod time of symlinks |
2823 | # symlink; some systems play weird games with the mod time of symlinks |
2852 | # (eg FreeBSD returns the mod time of the symlink's containing |
2824 | # (eg FreeBSD returns the mod time of the symlink's containing |
2853 | # directory). |
2825 | # directory). |
2854 | if ( |
2826 | if ( |
2855 | set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` |
2827 | set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` |
2856 | if test "$*" = "X"; then |
2828 | if test "$*" = "X"; then |
2857 | # -L didn't work. |
2829 | # -L didn't work. |
2858 | set X `ls -t "$srcdir/configure" conftest.file` |
2830 | set X `ls -t $srcdir/configure conftest.file` |
2859 | fi |
2831 | fi |
2860 | rm -f conftest.file |
2832 | rm -f conftest.file |
2861 | if test "$*" != "X $srcdir/configure conftest.file" \ |
2833 | if test "$*" != "X $srcdir/configure conftest.file" \ |
2862 | && test "$*" != "X conftest.file $srcdir/configure"; then |
2834 | && test "$*" != "X conftest.file $srcdir/configure"; then |
2863 | |
2835 | |
… | |
… | |
2888 | # Double any \ or $. |
2860 | # Double any \ or $. |
2889 | # By default was `s,x,x', remove it if useless. |
2861 | # By default was `s,x,x', remove it if useless. |
2890 | ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' |
2862 | ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' |
2891 | program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` |
2863 | program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` |
2892 | |
2864 | |
|
|
2865 | |
2893 | # expand $ac_aux_dir to an absolute path |
2866 | # expand $ac_aux_dir to an absolute path |
2894 | am_aux_dir=`cd $ac_aux_dir && pwd` |
2867 | am_aux_dir=`cd $ac_aux_dir && pwd` |
2895 | |
2868 | |
2896 | if test x"${MISSING+set}" != xset; then |
2869 | test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" |
2897 | case $am_aux_dir in |
|
|
2898 | *\ * | *\ *) |
|
|
2899 | MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; |
|
|
2900 | *) |
|
|
2901 | MISSING="\${SHELL} $am_aux_dir/missing" ;; |
|
|
2902 | esac |
|
|
2903 | fi |
|
|
2904 | # Use eval to expand $SHELL |
2870 | # Use eval to expand $SHELL |
2905 | if eval "$MISSING --run true"; then |
2871 | if eval "$MISSING --run true"; then |
2906 | am_missing_run="$MISSING --run " |
2872 | am_missing_run="$MISSING --run " |
2907 | else |
2873 | else |
2908 | am_missing_run= |
2874 | am_missing_run= |
2909 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 |
2875 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 |
2910 | $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} |
2876 | $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} |
2911 | fi |
2877 | fi |
2912 | |
2878 | |
2913 | if test x"${install_sh}" != xset; then |
2879 | for ac_prog in gawk mawk nawk awk |
2914 | case $am_aux_dir in |
2880 | do |
2915 | *\ * | *\ *) |
2881 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
2916 | install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; |
2882 | set dummy $ac_prog; ac_word=$2 |
|
|
2883 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
|
2884 | $as_echo_n "checking for $ac_word... " >&6; } |
|
|
2885 | if ${ac_cv_prog_AWK+:} false; then : |
|
|
2886 | $as_echo_n "(cached) " >&6 |
|
|
2887 | else |
|
|
2888 | if test -n "$AWK"; then |
|
|
2889 | ac_cv_prog_AWK="$AWK" # Let the user override the test. |
|
|
2890 | else |
|
|
2891 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
2892 | for as_dir in $PATH |
|
|
2893 | do |
|
|
2894 | IFS=$as_save_IFS |
|
|
2895 | test -z "$as_dir" && as_dir=. |
|
|
2896 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
2897 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
2898 | ac_cv_prog_AWK="$ac_prog" |
|
|
2899 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
2900 | break 2 |
|
|
2901 | fi |
|
|
2902 | done |
|
|
2903 | done |
|
|
2904 | IFS=$as_save_IFS |
|
|
2905 | |
|
|
2906 | fi |
|
|
2907 | fi |
|
|
2908 | AWK=$ac_cv_prog_AWK |
|
|
2909 | if test -n "$AWK"; then |
|
|
2910 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 |
|
|
2911 | $as_echo "$AWK" >&6; } |
|
|
2912 | else |
|
|
2913 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
2914 | $as_echo "no" >&6; } |
|
|
2915 | fi |
|
|
2916 | |
|
|
2917 | |
|
|
2918 | test -n "$AWK" && break |
|
|
2919 | done |
|
|
2920 | |
|
|
2921 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
|
|
2922 | $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
|
|
2923 | set x ${MAKE-make} |
|
|
2924 | ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
|
|
2925 | if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : |
|
|
2926 | $as_echo_n "(cached) " >&6 |
|
|
2927 | else |
|
|
2928 | cat >conftest.make <<\_ACEOF |
|
|
2929 | SHELL = /bin/sh |
|
|
2930 | all: |
|
|
2931 | @echo '@@@%%%=$(MAKE)=@@@%%%' |
|
|
2932 | _ACEOF |
|
|
2933 | # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. |
|
|
2934 | case `${MAKE-make} -f conftest.make 2>/dev/null` in |
|
|
2935 | *@@@%%%=?*=@@@%%%*) |
|
|
2936 | eval ac_cv_prog_make_${ac_make}_set=yes;; |
2917 | *) |
2937 | *) |
2918 | install_sh="\${SHELL} $am_aux_dir/install-sh" |
2938 | eval ac_cv_prog_make_${ac_make}_set=no;; |
2919 | esac |
2939 | esac |
|
|
2940 | rm -f conftest.make |
2920 | fi |
2941 | fi |
|
|
2942 | if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then |
|
|
2943 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
|
2944 | $as_echo "yes" >&6; } |
|
|
2945 | SET_MAKE= |
|
|
2946 | else |
|
|
2947 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
2948 | $as_echo "no" >&6; } |
|
|
2949 | SET_MAKE="MAKE=${MAKE-make}" |
|
|
2950 | fi |
|
|
2951 | |
|
|
2952 | rm -rf .tst 2>/dev/null |
|
|
2953 | mkdir .tst 2>/dev/null |
|
|
2954 | if test -d .tst; then |
|
|
2955 | am__leading_dot=. |
|
|
2956 | else |
|
|
2957 | am__leading_dot=_ |
|
|
2958 | fi |
|
|
2959 | rmdir .tst 2>/dev/null |
|
|
2960 | |
|
|
2961 | # test to see if srcdir already configured |
|
|
2962 | if test "`cd $srcdir && pwd`" != "`pwd`" && |
|
|
2963 | test -f $srcdir/config.status; then |
|
|
2964 | as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 |
|
|
2965 | fi |
|
|
2966 | |
|
|
2967 | # test whether we have cygpath |
|
|
2968 | if test -z "$CYGPATH_W"; then |
|
|
2969 | if (cygpath --version) >/dev/null 2>/dev/null; then |
|
|
2970 | CYGPATH_W='cygpath -w' |
|
|
2971 | else |
|
|
2972 | CYGPATH_W=echo |
|
|
2973 | fi |
|
|
2974 | fi |
|
|
2975 | |
|
|
2976 | |
|
|
2977 | # Define the identity of the package. |
|
|
2978 | PACKAGE=gvpe |
|
|
2979 | VERSION=3.1 |
|
|
2980 | |
|
|
2981 | |
|
|
2982 | cat >>confdefs.h <<_ACEOF |
|
|
2983 | #define PACKAGE "$PACKAGE" |
|
|
2984 | _ACEOF |
|
|
2985 | |
|
|
2986 | |
|
|
2987 | cat >>confdefs.h <<_ACEOF |
|
|
2988 | #define VERSION "$VERSION" |
|
|
2989 | _ACEOF |
|
|
2990 | |
|
|
2991 | # Some tools Automake needs. |
|
|
2992 | |
|
|
2993 | ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} |
|
|
2994 | |
|
|
2995 | |
|
|
2996 | AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} |
|
|
2997 | |
|
|
2998 | |
|
|
2999 | AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} |
|
|
3000 | |
|
|
3001 | |
|
|
3002 | AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} |
|
|
3003 | |
|
|
3004 | |
|
|
3005 | MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} |
|
|
3006 | |
|
|
3007 | |
|
|
3008 | AMTAR=${AMTAR-"${am_missing_run}tar"} |
|
|
3009 | |
|
|
3010 | install_sh=${install_sh-"$am_aux_dir/install-sh"} |
2921 | |
3011 | |
2922 | # Installed binaries are usually stripped using `strip' when the user |
3012 | # Installed binaries are usually stripped using `strip' when the user |
2923 | # run `make install-strip'. However `strip' might not be the right |
3013 | # run `make install-strip'. However `strip' might not be the right |
2924 | # tool to use in cross-compilation environments, therefore Automake |
3014 | # tool to use in cross-compilation environments, therefore Automake |
2925 | # will honor the `STRIP' environment variable to overrule this program. |
3015 | # will honor the `STRIP' environment variable to overrule this program. |
… | |
… | |
2927 | if test -n "$ac_tool_prefix"; then |
3017 | if test -n "$ac_tool_prefix"; then |
2928 | # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
3018 | # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
2929 | set dummy ${ac_tool_prefix}strip; ac_word=$2 |
3019 | set dummy ${ac_tool_prefix}strip; ac_word=$2 |
2930 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3020 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2931 | $as_echo_n "checking for $ac_word... " >&6; } |
3021 | $as_echo_n "checking for $ac_word... " >&6; } |
2932 | if test "${ac_cv_prog_STRIP+set}" = set; then : |
3022 | if ${ac_cv_prog_STRIP+:} false; then : |
2933 | $as_echo_n "(cached) " >&6 |
3023 | $as_echo_n "(cached) " >&6 |
2934 | else |
3024 | else |
2935 | if test -n "$STRIP"; then |
3025 | if test -n "$STRIP"; then |
2936 | ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
3026 | ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
2937 | else |
3027 | else |
… | |
… | |
2939 | for as_dir in $PATH |
3029 | for as_dir in $PATH |
2940 | do |
3030 | do |
2941 | IFS=$as_save_IFS |
3031 | IFS=$as_save_IFS |
2942 | test -z "$as_dir" && as_dir=. |
3032 | test -z "$as_dir" && as_dir=. |
2943 | for ac_exec_ext in '' $ac_executable_extensions; do |
3033 | for ac_exec_ext in '' $ac_executable_extensions; do |
2944 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3034 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2945 | ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
3035 | ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
2946 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3036 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2947 | break 2 |
3037 | break 2 |
2948 | fi |
3038 | fi |
2949 | done |
3039 | done |
… | |
… | |
2967 | ac_ct_STRIP=$STRIP |
3057 | ac_ct_STRIP=$STRIP |
2968 | # Extract the first word of "strip", so it can be a program name with args. |
3058 | # Extract the first word of "strip", so it can be a program name with args. |
2969 | set dummy strip; ac_word=$2 |
3059 | set dummy strip; ac_word=$2 |
2970 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3060 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2971 | $as_echo_n "checking for $ac_word... " >&6; } |
3061 | $as_echo_n "checking for $ac_word... " >&6; } |
2972 | if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : |
3062 | if ${ac_cv_prog_ac_ct_STRIP+:} false; then : |
2973 | $as_echo_n "(cached) " >&6 |
3063 | $as_echo_n "(cached) " >&6 |
2974 | else |
3064 | else |
2975 | if test -n "$ac_ct_STRIP"; then |
3065 | if test -n "$ac_ct_STRIP"; then |
2976 | ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
3066 | ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
2977 | else |
3067 | else |
… | |
… | |
2979 | for as_dir in $PATH |
3069 | for as_dir in $PATH |
2980 | do |
3070 | do |
2981 | IFS=$as_save_IFS |
3071 | IFS=$as_save_IFS |
2982 | test -z "$as_dir" && as_dir=. |
3072 | test -z "$as_dir" && as_dir=. |
2983 | for ac_exec_ext in '' $ac_executable_extensions; do |
3073 | for ac_exec_ext in '' $ac_executable_extensions; do |
2984 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3074 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2985 | ac_cv_prog_ac_ct_STRIP="strip" |
3075 | ac_cv_prog_ac_ct_STRIP="strip" |
2986 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3076 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2987 | break 2 |
3077 | break 2 |
2988 | fi |
3078 | fi |
2989 | done |
3079 | done |
… | |
… | |
3015 | else |
3105 | else |
3016 | STRIP="$ac_cv_prog_STRIP" |
3106 | STRIP="$ac_cv_prog_STRIP" |
3017 | fi |
3107 | fi |
3018 | |
3108 | |
3019 | fi |
3109 | fi |
3020 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" |
3110 | INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" |
3021 | |
|
|
3022 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 |
|
|
3023 | $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } |
|
|
3024 | if test -z "$MKDIR_P"; then |
|
|
3025 | if test "${ac_cv_path_mkdir+set}" = set; then : |
|
|
3026 | $as_echo_n "(cached) " >&6 |
|
|
3027 | else |
|
|
3028 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
3029 | for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin |
|
|
3030 | do |
|
|
3031 | IFS=$as_save_IFS |
|
|
3032 | test -z "$as_dir" && as_dir=. |
|
|
3033 | for ac_prog in mkdir gmkdir; do |
|
|
3034 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
3035 | { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue |
|
|
3036 | case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( |
|
|
3037 | 'mkdir (GNU coreutils) '* | \ |
|
|
3038 | 'mkdir (coreutils) '* | \ |
|
|
3039 | 'mkdir (fileutils) '4.1*) |
|
|
3040 | ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext |
|
|
3041 | break 3;; |
|
|
3042 | esac |
|
|
3043 | done |
|
|
3044 | done |
|
|
3045 | done |
|
|
3046 | IFS=$as_save_IFS |
|
|
3047 | |
|
|
3048 | fi |
|
|
3049 | |
|
|
3050 | test -d ./--version && rmdir ./--version |
|
|
3051 | if test "${ac_cv_path_mkdir+set}" = set; then |
|
|
3052 | MKDIR_P="$ac_cv_path_mkdir -p" |
|
|
3053 | else |
|
|
3054 | # As a last resort, use the slow shell script. Don't cache a |
|
|
3055 | # value for MKDIR_P within a source directory, because that will |
|
|
3056 | # break other packages using the cache if that directory is |
|
|
3057 | # removed, or if the value is a relative name. |
|
|
3058 | MKDIR_P="$ac_install_sh -d" |
|
|
3059 | fi |
|
|
3060 | fi |
|
|
3061 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 |
|
|
3062 | $as_echo "$MKDIR_P" >&6; } |
|
|
3063 | |
|
|
3064 | mkdir_p="$MKDIR_P" |
|
|
3065 | case $mkdir_p in |
|
|
3066 | [\\/$]* | ?:[\\/]*) ;; |
|
|
3067 | */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; |
|
|
3068 | esac |
|
|
3069 | |
|
|
3070 | for ac_prog in gawk mawk nawk awk |
|
|
3071 | do |
|
|
3072 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
|
|
3073 | set dummy $ac_prog; ac_word=$2 |
|
|
3074 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
|
3075 | $as_echo_n "checking for $ac_word... " >&6; } |
|
|
3076 | if test "${ac_cv_prog_AWK+set}" = set; then : |
|
|
3077 | $as_echo_n "(cached) " >&6 |
|
|
3078 | else |
|
|
3079 | if test -n "$AWK"; then |
|
|
3080 | ac_cv_prog_AWK="$AWK" # Let the user override the test. |
|
|
3081 | else |
|
|
3082 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
3083 | for as_dir in $PATH |
|
|
3084 | do |
|
|
3085 | IFS=$as_save_IFS |
|
|
3086 | test -z "$as_dir" && as_dir=. |
|
|
3087 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
3088 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
|
3089 | ac_cv_prog_AWK="$ac_prog" |
|
|
3090 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
3091 | break 2 |
|
|
3092 | fi |
|
|
3093 | done |
|
|
3094 | done |
|
|
3095 | IFS=$as_save_IFS |
|
|
3096 | |
|
|
3097 | fi |
|
|
3098 | fi |
|
|
3099 | AWK=$ac_cv_prog_AWK |
|
|
3100 | if test -n "$AWK"; then |
|
|
3101 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 |
|
|
3102 | $as_echo "$AWK" >&6; } |
|
|
3103 | else |
|
|
3104 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
3105 | $as_echo "no" >&6; } |
|
|
3106 | fi |
|
|
3107 | |
|
|
3108 | |
|
|
3109 | test -n "$AWK" && break |
|
|
3110 | done |
|
|
3111 | |
|
|
3112 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
|
|
3113 | $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
|
|
3114 | set x ${MAKE-make} |
|
|
3115 | ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
|
|
3116 | if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then : |
|
|
3117 | $as_echo_n "(cached) " >&6 |
|
|
3118 | else |
|
|
3119 | cat >conftest.make <<\_ACEOF |
|
|
3120 | SHELL = /bin/sh |
|
|
3121 | all: |
|
|
3122 | @echo '@@@%%%=$(MAKE)=@@@%%%' |
|
|
3123 | _ACEOF |
|
|
3124 | # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. |
|
|
3125 | case `${MAKE-make} -f conftest.make 2>/dev/null` in |
|
|
3126 | *@@@%%%=?*=@@@%%%*) |
|
|
3127 | eval ac_cv_prog_make_${ac_make}_set=yes;; |
|
|
3128 | *) |
|
|
3129 | eval ac_cv_prog_make_${ac_make}_set=no;; |
|
|
3130 | esac |
|
|
3131 | rm -f conftest.make |
|
|
3132 | fi |
|
|
3133 | if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then |
|
|
3134 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
|
3135 | $as_echo "yes" >&6; } |
|
|
3136 | SET_MAKE= |
|
|
3137 | else |
|
|
3138 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
3139 | $as_echo "no" >&6; } |
|
|
3140 | SET_MAKE="MAKE=${MAKE-make}" |
|
|
3141 | fi |
|
|
3142 | |
|
|
3143 | rm -rf .tst 2>/dev/null |
|
|
3144 | mkdir .tst 2>/dev/null |
|
|
3145 | if test -d .tst; then |
|
|
3146 | am__leading_dot=. |
|
|
3147 | else |
|
|
3148 | am__leading_dot=_ |
|
|
3149 | fi |
|
|
3150 | rmdir .tst 2>/dev/null |
|
|
3151 | |
|
|
3152 | if test "`cd $srcdir && pwd`" != "`pwd`"; then |
|
|
3153 | # Use -I$(srcdir) only when $(srcdir) != ., so that make's output |
|
|
3154 | # is not polluted with repeated "-I." |
|
|
3155 | am__isrc=' -I$(srcdir)' |
|
|
3156 | # test to see if srcdir already configured |
|
|
3157 | if test -f $srcdir/config.status; then |
|
|
3158 | as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 |
|
|
3159 | fi |
|
|
3160 | fi |
|
|
3161 | |
|
|
3162 | # test whether we have cygpath |
|
|
3163 | if test -z "$CYGPATH_W"; then |
|
|
3164 | if (cygpath --version) >/dev/null 2>/dev/null; then |
|
|
3165 | CYGPATH_W='cygpath -w' |
|
|
3166 | else |
|
|
3167 | CYGPATH_W=echo |
|
|
3168 | fi |
|
|
3169 | fi |
|
|
3170 | |
|
|
3171 | |
|
|
3172 | # Define the identity of the package. |
|
|
3173 | PACKAGE=gvpe |
|
|
3174 | VERSION=2.24 |
|
|
3175 | |
|
|
3176 | |
|
|
3177 | cat >>confdefs.h <<_ACEOF |
|
|
3178 | #define PACKAGE "$PACKAGE" |
|
|
3179 | _ACEOF |
|
|
3180 | |
|
|
3181 | |
|
|
3182 | cat >>confdefs.h <<_ACEOF |
|
|
3183 | #define VERSION "$VERSION" |
|
|
3184 | _ACEOF |
|
|
3185 | |
|
|
3186 | # Some tools Automake needs. |
|
|
3187 | |
|
|
3188 | ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} |
|
|
3189 | |
|
|
3190 | |
|
|
3191 | AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} |
|
|
3192 | |
|
|
3193 | |
|
|
3194 | AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} |
|
|
3195 | |
|
|
3196 | |
|
|
3197 | AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} |
|
|
3198 | |
|
|
3199 | |
|
|
3200 | MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} |
|
|
3201 | |
3111 | |
3202 | # We need awk for the "check" target. The system "awk" is bad on |
3112 | # We need awk for the "check" target. The system "awk" is bad on |
3203 | # some platforms. |
3113 | # some platforms. |
3204 | # Always define AMTAR for backward compatibility. |
|
|
3205 | |
|
|
3206 | AMTAR=${AMTAR-"${am_missing_run}tar"} |
|
|
3207 | |
|
|
3208 | am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' |
|
|
3209 | |
|
|
3210 | |
|
|
3211 | |
3114 | |
3212 | |
3115 | |
3213 | |
3116 | |
3214 | ac_config_headers="$ac_config_headers config.h" |
3117 | ac_config_headers="$ac_config_headers config.h" |
3215 | |
|
|
3216 | |
3118 | |
3217 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 |
3119 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 |
3218 | $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } |
3120 | $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } |
3219 | # Check whether --enable-maintainer-mode was given. |
3121 | # Check whether --enable-maintainer-mode was given. |
3220 | if test "${enable_maintainer_mode+set}" = set; then : |
3122 | if test "${enable_maintainer_mode+set}" = set; then : |
… | |
… | |
3223 | USE_MAINTAINER_MODE=no |
3125 | USE_MAINTAINER_MODE=no |
3224 | fi |
3126 | fi |
3225 | |
3127 | |
3226 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 |
3128 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 |
3227 | $as_echo "$USE_MAINTAINER_MODE" >&6; } |
3129 | $as_echo "$USE_MAINTAINER_MODE" >&6; } |
|
|
3130 | |
|
|
3131 | |
3228 | if test $USE_MAINTAINER_MODE = yes; then |
3132 | if test $USE_MAINTAINER_MODE = yes; then |
3229 | MAINTAINER_MODE_TRUE= |
3133 | MAINTAINER_MODE_TRUE= |
3230 | MAINTAINER_MODE_FALSE='#' |
3134 | MAINTAINER_MODE_FALSE='#' |
3231 | else |
3135 | else |
3232 | MAINTAINER_MODE_TRUE='#' |
3136 | MAINTAINER_MODE_TRUE='#' |
3233 | MAINTAINER_MODE_FALSE= |
3137 | MAINTAINER_MODE_FALSE= |
… | |
… | |
3237 | |
3141 | |
3238 | |
3142 | |
3239 | |
3143 | |
3240 | |
3144 | |
3241 | |
3145 | |
3242 | |
|
|
3243 | |
|
|
3244 | |
|
|
3245 | test -n "$ACLOCAL_FLAGS" && ACLOCAL="$ACLOCAL $ACLOCAL_FLAGS" |
|
|
3246 | |
|
|
3247 | for k in m4 ; do ACLOCAL="$ACLOCAL -I $k" ; done |
|
|
3248 | |
3146 | |
3249 | |
3147 | |
3250 | |
3148 | |
3251 | MKINSTALLDIRS= |
3149 | MKINSTALLDIRS= |
3252 | if test -n "$ac_aux_dir"; then |
3150 | if test -n "$ac_aux_dir"; then |
… | |
… | |
3262 | |
3160 | |
3263 | # Extract the first word of "msgfmt", so it can be a program name with args. |
3161 | # Extract the first word of "msgfmt", so it can be a program name with args. |
3264 | set dummy msgfmt; ac_word=$2 |
3162 | set dummy msgfmt; ac_word=$2 |
3265 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3163 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3266 | $as_echo_n "checking for $ac_word... " >&6; } |
3164 | $as_echo_n "checking for $ac_word... " >&6; } |
3267 | if test "${ac_cv_path_MSGFMT+set}" = set; then : |
3165 | if ${ac_cv_path_MSGFMT+:} false; then : |
3268 | $as_echo_n "(cached) " >&6 |
3166 | $as_echo_n "(cached) " >&6 |
3269 | else |
3167 | else |
3270 | case "$MSGFMT" in |
3168 | case "$MSGFMT" in |
3271 | /*) |
3169 | /*) |
3272 | ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. |
3170 | ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. |
… | |
… | |
3299 | |
3197 | |
3300 | # Extract the first word of "gmsgfmt", so it can be a program name with args. |
3198 | # Extract the first word of "gmsgfmt", so it can be a program name with args. |
3301 | set dummy gmsgfmt; ac_word=$2 |
3199 | set dummy gmsgfmt; ac_word=$2 |
3302 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3200 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3303 | $as_echo_n "checking for $ac_word... " >&6; } |
3201 | $as_echo_n "checking for $ac_word... " >&6; } |
3304 | if test "${ac_cv_path_GMSGFMT+set}" = set; then : |
3202 | if ${ac_cv_path_GMSGFMT+:} false; then : |
3305 | $as_echo_n "(cached) " >&6 |
3203 | $as_echo_n "(cached) " >&6 |
3306 | else |
3204 | else |
3307 | case $GMSGFMT in |
3205 | case $GMSGFMT in |
3308 | [\\/]* | ?:[\\/]*) |
3206 | [\\/]* | ?:[\\/]*) |
3309 | ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. |
3207 | ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. |
… | |
… | |
3313 | for as_dir in $PATH |
3211 | for as_dir in $PATH |
3314 | do |
3212 | do |
3315 | IFS=$as_save_IFS |
3213 | IFS=$as_save_IFS |
3316 | test -z "$as_dir" && as_dir=. |
3214 | test -z "$as_dir" && as_dir=. |
3317 | for ac_exec_ext in '' $ac_executable_extensions; do |
3215 | for ac_exec_ext in '' $ac_executable_extensions; do |
3318 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3216 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3319 | ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" |
3217 | ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" |
3320 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3218 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3321 | break 2 |
3219 | break 2 |
3322 | fi |
3220 | fi |
3323 | done |
3221 | done |
… | |
… | |
3341 | |
3239 | |
3342 | # Extract the first word of "xgettext", so it can be a program name with args. |
3240 | # Extract the first word of "xgettext", so it can be a program name with args. |
3343 | set dummy xgettext; ac_word=$2 |
3241 | set dummy xgettext; ac_word=$2 |
3344 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3242 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3345 | $as_echo_n "checking for $ac_word... " >&6; } |
3243 | $as_echo_n "checking for $ac_word... " >&6; } |
3346 | if test "${ac_cv_path_XGETTEXT+set}" = set; then : |
3244 | if ${ac_cv_path_XGETTEXT+:} false; then : |
3347 | $as_echo_n "(cached) " >&6 |
3245 | $as_echo_n "(cached) " >&6 |
3348 | else |
3246 | else |
3349 | case "$XGETTEXT" in |
3247 | case "$XGETTEXT" in |
3350 | /*) |
3248 | /*) |
3351 | ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. |
3249 | ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. |
… | |
… | |
3380 | |
3278 | |
3381 | # Extract the first word of "msgmerge", so it can be a program name with args. |
3279 | # Extract the first word of "msgmerge", so it can be a program name with args. |
3382 | set dummy msgmerge; ac_word=$2 |
3280 | set dummy msgmerge; ac_word=$2 |
3383 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3281 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3384 | $as_echo_n "checking for $ac_word... " >&6; } |
3282 | $as_echo_n "checking for $ac_word... " >&6; } |
3385 | if test "${ac_cv_path_MSGMERGE+set}" = set; then : |
3283 | if ${ac_cv_path_MSGMERGE+:} false; then : |
3386 | $as_echo_n "(cached) " >&6 |
3284 | $as_echo_n "(cached) " >&6 |
3387 | else |
3285 | else |
3388 | case "$MSGMERGE" in |
3286 | case "$MSGMERGE" in |
3389 | /*) |
3287 | /*) |
3390 | ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. |
3288 | ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. |
… | |
… | |
3464 | |
3362 | |
3465 | |
3363 | |
3466 | am_make=${MAKE-make} |
3364 | am_make=${MAKE-make} |
3467 | cat > confinc << 'END' |
3365 | cat > confinc << 'END' |
3468 | am__doit: |
3366 | am__doit: |
3469 | @echo this is the am__doit target |
3367 | @echo done |
3470 | .PHONY: am__doit |
3368 | .PHONY: am__doit |
3471 | END |
3369 | END |
3472 | # If we don't find an include directive, just comment out the code. |
3370 | # If we don't find an include directive, just comment out the code. |
3473 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 |
3371 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 |
3474 | $as_echo_n "checking for style of include used by $am_make... " >&6; } |
3372 | $as_echo_n "checking for style of include used by $am_make... " >&6; } |
3475 | am__include="#" |
3373 | am__include="#" |
3476 | am__quote= |
3374 | am__quote= |
3477 | _am_result=none |
3375 | _am_result=none |
3478 | # First try GNU make style include. |
3376 | # First try GNU make style include. |
3479 | echo "include confinc" > confmf |
3377 | echo "include confinc" > confmf |
3480 | # Ignore all kinds of additional output from `make'. |
3378 | # We grep out `Entering directory' and `Leaving directory' |
3481 | case `$am_make -s -f confmf 2> /dev/null` in #( |
3379 | # messages which can occur if `w' ends up in MAKEFLAGS. |
3482 | *the\ am__doit\ target*) |
3380 | # In particular we don't look at `^make:' because GNU make might |
|
|
3381 | # be invoked under some other name (usually "gmake"), in which |
|
|
3382 | # case it prints its new name instead of `make'. |
|
|
3383 | if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then |
3483 | am__include=include |
3384 | am__include=include |
3484 | am__quote= |
3385 | am__quote= |
3485 | _am_result=GNU |
3386 | _am_result=GNU |
3486 | ;; |
3387 | fi |
3487 | esac |
|
|
3488 | # Now try BSD make style include. |
3388 | # Now try BSD make style include. |
3489 | if test "$am__include" = "#"; then |
3389 | if test "$am__include" = "#"; then |
3490 | echo '.include "confinc"' > confmf |
3390 | echo '.include "confinc"' > confmf |
3491 | case `$am_make -s -f confmf 2> /dev/null` in #( |
3391 | if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then |
3492 | *the\ am__doit\ target*) |
|
|
3493 | am__include=.include |
3392 | am__include=.include |
3494 | am__quote="\"" |
3393 | am__quote="\"" |
3495 | _am_result=BSD |
3394 | _am_result=BSD |
3496 | ;; |
3395 | fi |
3497 | esac |
|
|
3498 | fi |
3396 | fi |
3499 | |
3397 | |
3500 | |
3398 | |
3501 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 |
3399 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 |
3502 | $as_echo "$_am_result" >&6; } |
3400 | $as_echo "$_am_result" >&6; } |
… | |
… | |
3509 | |
3407 | |
3510 | if test "x$enable_dependency_tracking" != xno; then |
3408 | if test "x$enable_dependency_tracking" != xno; then |
3511 | am_depcomp="$ac_aux_dir/depcomp" |
3409 | am_depcomp="$ac_aux_dir/depcomp" |
3512 | AMDEPBACKSLASH='\' |
3410 | AMDEPBACKSLASH='\' |
3513 | fi |
3411 | fi |
|
|
3412 | |
|
|
3413 | |
3514 | if test "x$enable_dependency_tracking" != xno; then |
3414 | if test "x$enable_dependency_tracking" != xno; then |
3515 | AMDEP_TRUE= |
3415 | AMDEP_TRUE= |
3516 | AMDEP_FALSE='#' |
3416 | AMDEP_FALSE='#' |
3517 | else |
3417 | else |
3518 | AMDEP_TRUE='#' |
3418 | AMDEP_TRUE='#' |
3519 | AMDEP_FALSE= |
3419 | AMDEP_FALSE= |
3520 | fi |
3420 | fi |
|
|
3421 | |
3521 | |
3422 | |
3522 | |
3423 | |
3523 | ac_ext=c |
3424 | ac_ext=c |
3524 | ac_cpp='$CPP $CPPFLAGS' |
3425 | ac_cpp='$CPP $CPPFLAGS' |
3525 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3426 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
… | |
… | |
3528 | if test -n "$ac_tool_prefix"; then |
3429 | if test -n "$ac_tool_prefix"; then |
3529 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
3430 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
3530 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
3431 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
3531 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3432 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3532 | $as_echo_n "checking for $ac_word... " >&6; } |
3433 | $as_echo_n "checking for $ac_word... " >&6; } |
3533 | if test "${ac_cv_prog_CC+set}" = set; then : |
3434 | if ${ac_cv_prog_CC+:} false; then : |
3534 | $as_echo_n "(cached) " >&6 |
3435 | $as_echo_n "(cached) " >&6 |
3535 | else |
3436 | else |
3536 | if test -n "$CC"; then |
3437 | if test -n "$CC"; then |
3537 | ac_cv_prog_CC="$CC" # Let the user override the test. |
3438 | ac_cv_prog_CC="$CC" # Let the user override the test. |
3538 | else |
3439 | else |
… | |
… | |
3540 | for as_dir in $PATH |
3441 | for as_dir in $PATH |
3541 | do |
3442 | do |
3542 | IFS=$as_save_IFS |
3443 | IFS=$as_save_IFS |
3543 | test -z "$as_dir" && as_dir=. |
3444 | test -z "$as_dir" && as_dir=. |
3544 | for ac_exec_ext in '' $ac_executable_extensions; do |
3445 | for ac_exec_ext in '' $ac_executable_extensions; do |
3545 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3446 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3546 | ac_cv_prog_CC="${ac_tool_prefix}gcc" |
3447 | ac_cv_prog_CC="${ac_tool_prefix}gcc" |
3547 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3448 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3548 | break 2 |
3449 | break 2 |
3549 | fi |
3450 | fi |
3550 | done |
3451 | done |
… | |
… | |
3568 | ac_ct_CC=$CC |
3469 | ac_ct_CC=$CC |
3569 | # Extract the first word of "gcc", so it can be a program name with args. |
3470 | # Extract the first word of "gcc", so it can be a program name with args. |
3570 | set dummy gcc; ac_word=$2 |
3471 | set dummy gcc; ac_word=$2 |
3571 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3472 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3572 | $as_echo_n "checking for $ac_word... " >&6; } |
3473 | $as_echo_n "checking for $ac_word... " >&6; } |
3573 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : |
3474 | if ${ac_cv_prog_ac_ct_CC+:} false; then : |
3574 | $as_echo_n "(cached) " >&6 |
3475 | $as_echo_n "(cached) " >&6 |
3575 | else |
3476 | else |
3576 | if test -n "$ac_ct_CC"; then |
3477 | if test -n "$ac_ct_CC"; then |
3577 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
3478 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
3578 | else |
3479 | else |
… | |
… | |
3580 | for as_dir in $PATH |
3481 | for as_dir in $PATH |
3581 | do |
3482 | do |
3582 | IFS=$as_save_IFS |
3483 | IFS=$as_save_IFS |
3583 | test -z "$as_dir" && as_dir=. |
3484 | test -z "$as_dir" && as_dir=. |
3584 | for ac_exec_ext in '' $ac_executable_extensions; do |
3485 | for ac_exec_ext in '' $ac_executable_extensions; do |
3585 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3486 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3586 | ac_cv_prog_ac_ct_CC="gcc" |
3487 | ac_cv_prog_ac_ct_CC="gcc" |
3587 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3488 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3588 | break 2 |
3489 | break 2 |
3589 | fi |
3490 | fi |
3590 | done |
3491 | done |
… | |
… | |
3621 | if test -n "$ac_tool_prefix"; then |
3522 | if test -n "$ac_tool_prefix"; then |
3622 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
3523 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
3623 | set dummy ${ac_tool_prefix}cc; ac_word=$2 |
3524 | set dummy ${ac_tool_prefix}cc; ac_word=$2 |
3624 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3525 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3625 | $as_echo_n "checking for $ac_word... " >&6; } |
3526 | $as_echo_n "checking for $ac_word... " >&6; } |
3626 | if test "${ac_cv_prog_CC+set}" = set; then : |
3527 | if ${ac_cv_prog_CC+:} false; then : |
3627 | $as_echo_n "(cached) " >&6 |
3528 | $as_echo_n "(cached) " >&6 |
3628 | else |
3529 | else |
3629 | if test -n "$CC"; then |
3530 | if test -n "$CC"; then |
3630 | ac_cv_prog_CC="$CC" # Let the user override the test. |
3531 | ac_cv_prog_CC="$CC" # Let the user override the test. |
3631 | else |
3532 | else |
… | |
… | |
3633 | for as_dir in $PATH |
3534 | for as_dir in $PATH |
3634 | do |
3535 | do |
3635 | IFS=$as_save_IFS |
3536 | IFS=$as_save_IFS |
3636 | test -z "$as_dir" && as_dir=. |
3537 | test -z "$as_dir" && as_dir=. |
3637 | for ac_exec_ext in '' $ac_executable_extensions; do |
3538 | for ac_exec_ext in '' $ac_executable_extensions; do |
3638 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3539 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3639 | ac_cv_prog_CC="${ac_tool_prefix}cc" |
3540 | ac_cv_prog_CC="${ac_tool_prefix}cc" |
3640 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3541 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3641 | break 2 |
3542 | break 2 |
3642 | fi |
3543 | fi |
3643 | done |
3544 | done |
… | |
… | |
3661 | if test -z "$CC"; then |
3562 | if test -z "$CC"; then |
3662 | # Extract the first word of "cc", so it can be a program name with args. |
3563 | # Extract the first word of "cc", so it can be a program name with args. |
3663 | set dummy cc; ac_word=$2 |
3564 | set dummy cc; ac_word=$2 |
3664 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3565 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3665 | $as_echo_n "checking for $ac_word... " >&6; } |
3566 | $as_echo_n "checking for $ac_word... " >&6; } |
3666 | if test "${ac_cv_prog_CC+set}" = set; then : |
3567 | if ${ac_cv_prog_CC+:} false; then : |
3667 | $as_echo_n "(cached) " >&6 |
3568 | $as_echo_n "(cached) " >&6 |
3668 | else |
3569 | else |
3669 | if test -n "$CC"; then |
3570 | if test -n "$CC"; then |
3670 | ac_cv_prog_CC="$CC" # Let the user override the test. |
3571 | ac_cv_prog_CC="$CC" # Let the user override the test. |
3671 | else |
3572 | else |
… | |
… | |
3674 | for as_dir in $PATH |
3575 | for as_dir in $PATH |
3675 | do |
3576 | do |
3676 | IFS=$as_save_IFS |
3577 | IFS=$as_save_IFS |
3677 | test -z "$as_dir" && as_dir=. |
3578 | test -z "$as_dir" && as_dir=. |
3678 | for ac_exec_ext in '' $ac_executable_extensions; do |
3579 | for ac_exec_ext in '' $ac_executable_extensions; do |
3679 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3580 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3680 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
3581 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
3681 | ac_prog_rejected=yes |
3582 | ac_prog_rejected=yes |
3682 | continue |
3583 | continue |
3683 | fi |
3584 | fi |
3684 | ac_cv_prog_CC="cc" |
3585 | ac_cv_prog_CC="cc" |
… | |
… | |
3720 | do |
3621 | do |
3721 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
3622 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
3722 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
3623 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
3723 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3624 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3724 | $as_echo_n "checking for $ac_word... " >&6; } |
3625 | $as_echo_n "checking for $ac_word... " >&6; } |
3725 | if test "${ac_cv_prog_CC+set}" = set; then : |
3626 | if ${ac_cv_prog_CC+:} false; then : |
3726 | $as_echo_n "(cached) " >&6 |
3627 | $as_echo_n "(cached) " >&6 |
3727 | else |
3628 | else |
3728 | if test -n "$CC"; then |
3629 | if test -n "$CC"; then |
3729 | ac_cv_prog_CC="$CC" # Let the user override the test. |
3630 | ac_cv_prog_CC="$CC" # Let the user override the test. |
3730 | else |
3631 | else |
… | |
… | |
3732 | for as_dir in $PATH |
3633 | for as_dir in $PATH |
3733 | do |
3634 | do |
3734 | IFS=$as_save_IFS |
3635 | IFS=$as_save_IFS |
3735 | test -z "$as_dir" && as_dir=. |
3636 | test -z "$as_dir" && as_dir=. |
3736 | for ac_exec_ext in '' $ac_executable_extensions; do |
3637 | for ac_exec_ext in '' $ac_executable_extensions; do |
3737 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3638 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3738 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
3639 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
3739 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3640 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3740 | break 2 |
3641 | break 2 |
3741 | fi |
3642 | fi |
3742 | done |
3643 | done |
… | |
… | |
3764 | do |
3665 | do |
3765 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
3666 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
3766 | set dummy $ac_prog; ac_word=$2 |
3667 | set dummy $ac_prog; ac_word=$2 |
3767 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3668 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3768 | $as_echo_n "checking for $ac_word... " >&6; } |
3669 | $as_echo_n "checking for $ac_word... " >&6; } |
3769 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : |
3670 | if ${ac_cv_prog_ac_ct_CC+:} false; then : |
3770 | $as_echo_n "(cached) " >&6 |
3671 | $as_echo_n "(cached) " >&6 |
3771 | else |
3672 | else |
3772 | if test -n "$ac_ct_CC"; then |
3673 | if test -n "$ac_ct_CC"; then |
3773 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
3674 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
3774 | else |
3675 | else |
… | |
… | |
3776 | for as_dir in $PATH |
3677 | for as_dir in $PATH |
3777 | do |
3678 | do |
3778 | IFS=$as_save_IFS |
3679 | IFS=$as_save_IFS |
3779 | test -z "$as_dir" && as_dir=. |
3680 | test -z "$as_dir" && as_dir=. |
3780 | for ac_exec_ext in '' $ac_executable_extensions; do |
3681 | for ac_exec_ext in '' $ac_executable_extensions; do |
3781 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3682 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3782 | ac_cv_prog_ac_ct_CC="$ac_prog" |
3683 | ac_cv_prog_ac_ct_CC="$ac_prog" |
3783 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3684 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3784 | break 2 |
3685 | break 2 |
3785 | fi |
3686 | fi |
3786 | done |
3687 | done |
… | |
… | |
3819 | |
3720 | |
3820 | |
3721 | |
3821 | test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3722 | test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3822 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3723 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3823 | as_fn_error $? "no acceptable C compiler found in \$PATH |
3724 | as_fn_error $? "no acceptable C compiler found in \$PATH |
3824 | See \`config.log' for more details" "$LINENO" 5 ; } |
3725 | See \`config.log' for more details" "$LINENO" 5; } |
3825 | |
3726 | |
3826 | # Provide some information about the compiler. |
3727 | # Provide some information about the compiler. |
3827 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
3728 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
3828 | set X $ac_compile |
3729 | set X $ac_compile |
3829 | ac_compiler=$2 |
3730 | ac_compiler=$2 |
… | |
… | |
3934 | sed 's/^/| /' conftest.$ac_ext >&5 |
3835 | sed 's/^/| /' conftest.$ac_ext >&5 |
3935 | |
3836 | |
3936 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3837 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3937 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3838 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3938 | as_fn_error 77 "C compiler cannot create executables |
3839 | as_fn_error 77 "C compiler cannot create executables |
3939 | See \`config.log' for more details" "$LINENO" 5 ; } |
3840 | See \`config.log' for more details" "$LINENO" 5; } |
3940 | else |
3841 | else |
3941 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
3842 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
3942 | $as_echo "yes" >&6; } |
3843 | $as_echo "yes" >&6; } |
3943 | fi |
3844 | fi |
3944 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 |
3845 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 |
… | |
… | |
3977 | done |
3878 | done |
3978 | else |
3879 | else |
3979 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3880 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3980 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3881 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3981 | as_fn_error $? "cannot compute suffix of executables: cannot compile and link |
3882 | as_fn_error $? "cannot compute suffix of executables: cannot compile and link |
3982 | See \`config.log' for more details" "$LINENO" 5 ; } |
3883 | See \`config.log' for more details" "$LINENO" 5; } |
3983 | fi |
3884 | fi |
3984 | rm -f conftest conftest$ac_cv_exeext |
3885 | rm -f conftest conftest$ac_cv_exeext |
3985 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
3886 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
3986 | $as_echo "$ac_cv_exeext" >&6; } |
3887 | $as_echo "$ac_cv_exeext" >&6; } |
3987 | |
3888 | |
… | |
… | |
4036 | else |
3937 | else |
4037 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3938 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
4038 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3939 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
4039 | as_fn_error $? "cannot run C compiled programs. |
3940 | as_fn_error $? "cannot run C compiled programs. |
4040 | If you meant to cross compile, use \`--host'. |
3941 | If you meant to cross compile, use \`--host'. |
4041 | See \`config.log' for more details" "$LINENO" 5 ; } |
3942 | See \`config.log' for more details" "$LINENO" 5; } |
4042 | fi |
3943 | fi |
4043 | fi |
3944 | fi |
4044 | fi |
3945 | fi |
4045 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
3946 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
4046 | $as_echo "$cross_compiling" >&6; } |
3947 | $as_echo "$cross_compiling" >&6; } |
4047 | |
3948 | |
4048 | rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out |
3949 | rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out |
4049 | ac_clean_files=$ac_clean_files_save |
3950 | ac_clean_files=$ac_clean_files_save |
4050 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 |
3951 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 |
4051 | $as_echo_n "checking for suffix of object files... " >&6; } |
3952 | $as_echo_n "checking for suffix of object files... " >&6; } |
4052 | if test "${ac_cv_objext+set}" = set; then : |
3953 | if ${ac_cv_objext+:} false; then : |
4053 | $as_echo_n "(cached) " >&6 |
3954 | $as_echo_n "(cached) " >&6 |
4054 | else |
3955 | else |
4055 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3956 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4056 | /* end confdefs.h. */ |
3957 | /* end confdefs.h. */ |
4057 | |
3958 | |
… | |
… | |
4088 | sed 's/^/| /' conftest.$ac_ext >&5 |
3989 | sed 's/^/| /' conftest.$ac_ext >&5 |
4089 | |
3990 | |
4090 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3991 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
4091 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3992 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
4092 | as_fn_error $? "cannot compute suffix of object files: cannot compile |
3993 | as_fn_error $? "cannot compute suffix of object files: cannot compile |
4093 | See \`config.log' for more details" "$LINENO" 5 ; } |
3994 | See \`config.log' for more details" "$LINENO" 5; } |
4094 | fi |
3995 | fi |
4095 | rm -f conftest.$ac_cv_objext conftest.$ac_ext |
3996 | rm -f conftest.$ac_cv_objext conftest.$ac_ext |
4096 | fi |
3997 | fi |
4097 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 |
3998 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 |
4098 | $as_echo "$ac_cv_objext" >&6; } |
3999 | $as_echo "$ac_cv_objext" >&6; } |
4099 | OBJEXT=$ac_cv_objext |
4000 | OBJEXT=$ac_cv_objext |
4100 | ac_objext=$OBJEXT |
4001 | ac_objext=$OBJEXT |
4101 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
4002 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
4102 | $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
4003 | $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
4103 | if test "${ac_cv_c_compiler_gnu+set}" = set; then : |
4004 | if ${ac_cv_c_compiler_gnu+:} false; then : |
4104 | $as_echo_n "(cached) " >&6 |
4005 | $as_echo_n "(cached) " >&6 |
4105 | else |
4006 | else |
4106 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4007 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4107 | /* end confdefs.h. */ |
4008 | /* end confdefs.h. */ |
4108 | |
4009 | |
… | |
… | |
4135 | fi |
4036 | fi |
4136 | ac_test_CFLAGS=${CFLAGS+set} |
4037 | ac_test_CFLAGS=${CFLAGS+set} |
4137 | ac_save_CFLAGS=$CFLAGS |
4038 | ac_save_CFLAGS=$CFLAGS |
4138 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
4039 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
4139 | $as_echo_n "checking whether $CC accepts -g... " >&6; } |
4040 | $as_echo_n "checking whether $CC accepts -g... " >&6; } |
4140 | if test "${ac_cv_prog_cc_g+set}" = set; then : |
4041 | if ${ac_cv_prog_cc_g+:} false; then : |
4141 | $as_echo_n "(cached) " >&6 |
4042 | $as_echo_n "(cached) " >&6 |
4142 | else |
4043 | else |
4143 | ac_save_c_werror_flag=$ac_c_werror_flag |
4044 | ac_save_c_werror_flag=$ac_c_werror_flag |
4144 | ac_c_werror_flag=yes |
4045 | ac_c_werror_flag=yes |
4145 | ac_cv_prog_cc_g=no |
4046 | ac_cv_prog_cc_g=no |
… | |
… | |
4213 | CFLAGS= |
4114 | CFLAGS= |
4214 | fi |
4115 | fi |
4215 | fi |
4116 | fi |
4216 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 |
4117 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 |
4217 | $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
4118 | $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
4218 | if test "${ac_cv_prog_cc_c89+set}" = set; then : |
4119 | if ${ac_cv_prog_cc_c89+:} false; then : |
4219 | $as_echo_n "(cached) " >&6 |
4120 | $as_echo_n "(cached) " >&6 |
4220 | else |
4121 | else |
4221 | ac_cv_prog_cc_c89=no |
4122 | ac_cv_prog_cc_c89=no |
4222 | ac_save_CC=$CC |
4123 | ac_save_CC=$CC |
4223 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4124 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4224 | /* end confdefs.h. */ |
4125 | /* end confdefs.h. */ |
4225 | #include <stdarg.h> |
4126 | #include <stdarg.h> |
4226 | #include <stdio.h> |
4127 | #include <stdio.h> |
4227 | #include <sys/types.h> |
4128 | struct stat; |
4228 | #include <sys/stat.h> |
|
|
4229 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
4129 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
4230 | struct buf { int x; }; |
4130 | struct buf { int x; }; |
4231 | FILE * (*rcsopen) (struct buf *, struct stat *, int); |
4131 | FILE * (*rcsopen) (struct buf *, struct stat *, int); |
4232 | static char *e (p, i) |
4132 | static char *e (p, i) |
4233 | char **p; |
4133 | char **p; |
… | |
… | |
4312 | |
4212 | |
4313 | depcc="$CC" am_compiler_list= |
4213 | depcc="$CC" am_compiler_list= |
4314 | |
4214 | |
4315 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
4215 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
4316 | $as_echo_n "checking dependency style of $depcc... " >&6; } |
4216 | $as_echo_n "checking dependency style of $depcc... " >&6; } |
4317 | if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then : |
4217 | if ${am_cv_CC_dependencies_compiler_type+:} false; then : |
4318 | $as_echo_n "(cached) " >&6 |
4218 | $as_echo_n "(cached) " >&6 |
4319 | else |
4219 | else |
4320 | if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
4220 | if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
4321 | # We make a subdir and do the tests there. Otherwise we can end up |
4221 | # We make a subdir and do the tests there. Otherwise we can end up |
4322 | # making bogus files that we don't know about and never remove. For |
4222 | # making bogus files that we don't know about and never remove. For |
… | |
… | |
4338 | |
4238 | |
4339 | am_cv_CC_dependencies_compiler_type=none |
4239 | am_cv_CC_dependencies_compiler_type=none |
4340 | if test "$am_compiler_list" = ""; then |
4240 | if test "$am_compiler_list" = ""; then |
4341 | am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
4241 | am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
4342 | fi |
4242 | fi |
4343 | am__universal=false |
|
|
4344 | case " $depcc " in #( |
|
|
4345 | *\ -arch\ *\ -arch\ *) am__universal=true ;; |
|
|
4346 | esac |
|
|
4347 | |
|
|
4348 | for depmode in $am_compiler_list; do |
4243 | for depmode in $am_compiler_list; do |
4349 | # Setup a source with many dependencies, because some compilers |
4244 | # Setup a source with many dependencies, because some compilers |
4350 | # like to wrap large dependency lists on column 80 (with \), and |
4245 | # like to wrap large dependency lists on column 80 (with \), and |
4351 | # we should not choose a depcomp mode which is confused by this. |
4246 | # we should not choose a depcomp mode which is confused by this. |
4352 | # |
4247 | # |
… | |
… | |
4354 | # overwrite some of them when testing with obscure command lines. |
4249 | # overwrite some of them when testing with obscure command lines. |
4355 | # This happens at least with the AIX C compiler. |
4250 | # This happens at least with the AIX C compiler. |
4356 | : > sub/conftest.c |
4251 | : > sub/conftest.c |
4357 | for i in 1 2 3 4 5 6; do |
4252 | for i in 1 2 3 4 5 6; do |
4358 | echo '#include "conftst'$i'.h"' >> sub/conftest.c |
4253 | echo '#include "conftst'$i'.h"' >> sub/conftest.c |
4359 | # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with |
|
|
4360 | # Solaris 8's {/usr,}/bin/sh. |
|
|
4361 | touch sub/conftst$i.h |
4254 | : > sub/conftst$i.h |
4362 | done |
4255 | done |
4363 | echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
4256 | echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
4364 | |
4257 | |
4365 | # We check with `-c' and `-o' for the sake of the "dashmstdout" |
|
|
4366 | # mode. It turns out that the SunPro C++ compiler does not properly |
|
|
4367 | # handle `-M -o', and we need to detect this. Also, some Intel |
|
|
4368 | # versions had trouble with output in subdirs |
|
|
4369 | am__obj=sub/conftest.${OBJEXT-o} |
|
|
4370 | am__minus_obj="-o $am__obj" |
|
|
4371 | case $depmode in |
4258 | case $depmode in |
4372 | gcc) |
|
|
4373 | # This depmode causes a compiler race in universal mode. |
|
|
4374 | test "$am__universal" = false || continue |
|
|
4375 | ;; |
|
|
4376 | nosideeffect) |
4259 | nosideeffect) |
4377 | # after this tag, mechanisms are not by side-effect, so they'll |
4260 | # after this tag, mechanisms are not by side-effect, so they'll |
4378 | # only be used when explicitly requested |
4261 | # only be used when explicitly requested |
4379 | if test "x$enable_dependency_tracking" = xyes; then |
4262 | if test "x$enable_dependency_tracking" = xyes; then |
4380 | continue |
4263 | continue |
4381 | else |
4264 | else |
4382 | break |
4265 | break |
4383 | fi |
4266 | fi |
4384 | ;; |
4267 | ;; |
4385 | msvisualcpp | msvcmsys) |
|
|
4386 | # This compiler won't grok `-c -o', but also, the minuso test has |
|
|
4387 | # not run yet. These depmodes are late enough in the game, and |
|
|
4388 | # so weak that their functioning should not be impacted. |
|
|
4389 | am__obj=conftest.${OBJEXT-o} |
|
|
4390 | am__minus_obj= |
|
|
4391 | ;; |
|
|
4392 | none) break ;; |
4268 | none) break ;; |
4393 | esac |
4269 | esac |
|
|
4270 | # We check with `-c' and `-o' for the sake of the "dashmstdout" |
|
|
4271 | # mode. It turns out that the SunPro C++ compiler does not properly |
|
|
4272 | # handle `-M -o', and we need to detect this. |
4394 | if depmode=$depmode \ |
4273 | if depmode=$depmode \ |
4395 | source=sub/conftest.c object=$am__obj \ |
4274 | source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ |
4396 | depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
4275 | depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
4397 | $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ |
4276 | $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ |
4398 | >/dev/null 2>conftest.err && |
4277 | >/dev/null 2>conftest.err && |
4399 | grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && |
|
|
4400 | grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
4278 | grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
4401 | grep $am__obj sub/conftest.Po > /dev/null 2>&1 && |
4279 | grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && |
4402 | ${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
4280 | ${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
4403 | # icc doesn't choke on unknown options, it will just issue warnings |
4281 | # icc doesn't choke on unknown options, it will just issue warnings |
4404 | # or remarks (even with -Werror). So we grep stderr for any message |
4282 | # (even with -Werror). So we grep stderr for any message |
4405 | # that says an option was ignored or not supported. |
4283 | # that says an option was ignored. |
4406 | # When given -MP, icc 7.0 and 7.1 complain thusly: |
|
|
4407 | # icc: Command line warning: ignoring option '-M'; no argument required |
|
|
4408 | # The diagnosis changed in icc 8.0: |
|
|
4409 | # icc: Command line remark: option '-MP' not supported |
|
|
4410 | if (grep 'ignoring option' conftest.err || |
|
|
4411 | grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else |
4284 | if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else |
4412 | am_cv_CC_dependencies_compiler_type=$depmode |
4285 | am_cv_CC_dependencies_compiler_type=$depmode |
4413 | break |
4286 | break |
4414 | fi |
4287 | fi |
4415 | fi |
4288 | fi |
4416 | done |
4289 | done |
… | |
… | |
4424 | fi |
4297 | fi |
4425 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 |
4298 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 |
4426 | $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } |
4299 | $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } |
4427 | CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type |
4300 | CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type |
4428 | |
4301 | |
|
|
4302 | |
|
|
4303 | |
4429 | if |
4304 | if |
4430 | test "x$enable_dependency_tracking" != xno \ |
4305 | test "x$enable_dependency_tracking" != xno \ |
4431 | && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then |
4306 | && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then |
4432 | am__fastdepCC_TRUE= |
4307 | am__fastdepCC_TRUE= |
4433 | am__fastdepCC_FALSE='#' |
4308 | am__fastdepCC_FALSE='#' |
4434 | else |
4309 | else |
… | |
… | |
4482 | $as_echo_n "checking for GNU ld... " >&6; } |
4357 | $as_echo_n "checking for GNU ld... " >&6; } |
4483 | else |
4358 | else |
4484 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 |
4359 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 |
4485 | $as_echo_n "checking for non-GNU ld... " >&6; } |
4360 | $as_echo_n "checking for non-GNU ld... " >&6; } |
4486 | fi |
4361 | fi |
4487 | if test "${acl_cv_path_LD+set}" = set; then : |
4362 | if ${acl_cv_path_LD+:} false; then : |
4488 | $as_echo_n "(cached) " >&6 |
4363 | $as_echo_n "(cached) " >&6 |
4489 | else |
4364 | else |
4490 | if test -z "$LD"; then |
4365 | if test -z "$LD"; then |
4491 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" |
4366 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" |
4492 | for ac_dir in $PATH; do |
4367 | for ac_dir in $PATH; do |
… | |
… | |
4518 | $as_echo "no" >&6; } |
4393 | $as_echo "no" >&6; } |
4519 | fi |
4394 | fi |
4520 | test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 |
4395 | test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 |
4521 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 |
4396 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 |
4522 | $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } |
4397 | $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } |
4523 | if test "${acl_cv_prog_gnu_ld+set}" = set; then : |
4398 | if ${acl_cv_prog_gnu_ld+:} false; then : |
4524 | $as_echo_n "(cached) " >&6 |
4399 | $as_echo_n "(cached) " >&6 |
4525 | else |
4400 | else |
4526 | # I'd rather use --version here, but apparently some GNU ld's only accept -v. |
4401 | # I'd rather use --version here, but apparently some GNU ld's only accept -v. |
4527 | if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then |
4402 | if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then |
4528 | acl_cv_prog_gnu_ld=yes |
4403 | acl_cv_prog_gnu_ld=yes |
… | |
… | |
4536 | |
4411 | |
4537 | |
4412 | |
4538 | |
4413 | |
4539 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5 |
4414 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5 |
4540 | $as_echo_n "checking for shared library run path origin... " >&6; } |
4415 | $as_echo_n "checking for shared library run path origin... " >&6; } |
4541 | if test "${acl_cv_rpath+set}" = set; then : |
4416 | if ${acl_cv_rpath+:} false; then : |
4542 | $as_echo_n "(cached) " >&6 |
4417 | $as_echo_n "(cached) " >&6 |
4543 | else |
4418 | else |
4544 | |
4419 | |
4545 | CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ |
4420 | CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ |
4546 | ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh |
4421 | ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh |
… | |
… | |
4993 | |
4868 | |
4994 | |
4869 | |
4995 | |
4870 | |
4996 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5 |
4871 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5 |
4997 | $as_echo_n "checking for GNU gettext in libc... " >&6; } |
4872 | $as_echo_n "checking for GNU gettext in libc... " >&6; } |
4998 | if test "${gt_cv_func_gnugettext1_libc+set}" = set; then : |
4873 | if ${gt_cv_func_gnugettext1_libc+:} false; then : |
4999 | $as_echo_n "(cached) " >&6 |
4874 | $as_echo_n "(cached) " >&6 |
5000 | else |
4875 | else |
5001 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4876 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5002 | /* end confdefs.h. */ |
4877 | /* end confdefs.h. */ |
5003 | #include <libintl.h> |
4878 | #include <libintl.h> |
… | |
… | |
5054 | done |
4929 | done |
5055 | |
4930 | |
5056 | |
4931 | |
5057 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5 |
4932 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5 |
5058 | $as_echo_n "checking for iconv... " >&6; } |
4933 | $as_echo_n "checking for iconv... " >&6; } |
5059 | if test "${am_cv_func_iconv+set}" = set; then : |
4934 | if ${am_cv_func_iconv+:} false; then : |
5060 | $as_echo_n "(cached) " >&6 |
4935 | $as_echo_n "(cached) " >&6 |
5061 | else |
4936 | else |
5062 | |
4937 | |
5063 | am_cv_func_iconv="no, consider installing GNU libiconv" |
4938 | am_cv_func_iconv="no, consider installing GNU libiconv" |
5064 | am_cv_lib_iconv=no |
4939 | am_cv_lib_iconv=no |
… | |
… | |
5507 | done |
5382 | done |
5508 | fi |
5383 | fi |
5509 | |
5384 | |
5510 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5 |
5385 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5 |
5511 | $as_echo_n "checking for GNU gettext in libintl... " >&6; } |
5386 | $as_echo_n "checking for GNU gettext in libintl... " >&6; } |
5512 | if test "${gt_cv_func_gnugettext1_libintl+set}" = set; then : |
5387 | if ${gt_cv_func_gnugettext1_libintl+:} false; then : |
5513 | $as_echo_n "(cached) " >&6 |
5388 | $as_echo_n "(cached) " >&6 |
5514 | else |
5389 | else |
5515 | gt_save_CPPFLAGS="$CPPFLAGS" |
5390 | gt_save_CPPFLAGS="$CPPFLAGS" |
5516 | CPPFLAGS="$CPPFLAGS $INCINTL" |
5391 | CPPFLAGS="$CPPFLAGS $INCINTL" |
5517 | gt_save_LIBS="$LIBS" |
5392 | gt_save_LIBS="$LIBS" |
… | |
… | |
5675 | # On Suns, sometimes $CPP names a directory. |
5550 | # On Suns, sometimes $CPP names a directory. |
5676 | if test -n "$CPP" && test -d "$CPP"; then |
5551 | if test -n "$CPP" && test -d "$CPP"; then |
5677 | CPP= |
5552 | CPP= |
5678 | fi |
5553 | fi |
5679 | if test -z "$CPP"; then |
5554 | if test -z "$CPP"; then |
5680 | if test "${ac_cv_prog_CPP+set}" = set; then : |
5555 | if ${ac_cv_prog_CPP+:} false; then : |
5681 | $as_echo_n "(cached) " >&6 |
5556 | $as_echo_n "(cached) " >&6 |
5682 | else |
5557 | else |
5683 | # Double quotes because CPP needs to be expanded |
5558 | # Double quotes because CPP needs to be expanded |
5684 | for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
5559 | for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
5685 | do |
5560 | do |
… | |
… | |
5791 | |
5666 | |
5792 | else |
5667 | else |
5793 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
5668 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
5794 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
5669 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
5795 | as_fn_error $? "C preprocessor \"$CPP\" fails sanity check |
5670 | as_fn_error $? "C preprocessor \"$CPP\" fails sanity check |
5796 | See \`config.log' for more details" "$LINENO" 5 ; } |
5671 | See \`config.log' for more details" "$LINENO" 5; } |
5797 | fi |
5672 | fi |
5798 | |
5673 | |
5799 | ac_ext=c |
5674 | ac_ext=c |
5800 | ac_cpp='$CPP $CPPFLAGS' |
5675 | ac_cpp='$CPP $CPPFLAGS' |
5801 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
5676 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
… | |
… | |
5816 | do |
5691 | do |
5817 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
5692 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
5818 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
5693 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
5819 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
5694 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
5820 | $as_echo_n "checking for $ac_word... " >&6; } |
5695 | $as_echo_n "checking for $ac_word... " >&6; } |
5821 | if test "${ac_cv_prog_CXX+set}" = set; then : |
5696 | if ${ac_cv_prog_CXX+:} false; then : |
5822 | $as_echo_n "(cached) " >&6 |
5697 | $as_echo_n "(cached) " >&6 |
5823 | else |
5698 | else |
5824 | if test -n "$CXX"; then |
5699 | if test -n "$CXX"; then |
5825 | ac_cv_prog_CXX="$CXX" # Let the user override the test. |
5700 | ac_cv_prog_CXX="$CXX" # Let the user override the test. |
5826 | else |
5701 | else |
… | |
… | |
5828 | for as_dir in $PATH |
5703 | for as_dir in $PATH |
5829 | do |
5704 | do |
5830 | IFS=$as_save_IFS |
5705 | IFS=$as_save_IFS |
5831 | test -z "$as_dir" && as_dir=. |
5706 | test -z "$as_dir" && as_dir=. |
5832 | for ac_exec_ext in '' $ac_executable_extensions; do |
5707 | for ac_exec_ext in '' $ac_executable_extensions; do |
5833 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
5708 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
5834 | ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" |
5709 | ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" |
5835 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5710 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5836 | break 2 |
5711 | break 2 |
5837 | fi |
5712 | fi |
5838 | done |
5713 | done |
… | |
… | |
5860 | do |
5735 | do |
5861 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
5736 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
5862 | set dummy $ac_prog; ac_word=$2 |
5737 | set dummy $ac_prog; ac_word=$2 |
5863 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
5738 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
5864 | $as_echo_n "checking for $ac_word... " >&6; } |
5739 | $as_echo_n "checking for $ac_word... " >&6; } |
5865 | if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then : |
5740 | if ${ac_cv_prog_ac_ct_CXX+:} false; then : |
5866 | $as_echo_n "(cached) " >&6 |
5741 | $as_echo_n "(cached) " >&6 |
5867 | else |
5742 | else |
5868 | if test -n "$ac_ct_CXX"; then |
5743 | if test -n "$ac_ct_CXX"; then |
5869 | ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. |
5744 | ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. |
5870 | else |
5745 | else |
… | |
… | |
5872 | for as_dir in $PATH |
5747 | for as_dir in $PATH |
5873 | do |
5748 | do |
5874 | IFS=$as_save_IFS |
5749 | IFS=$as_save_IFS |
5875 | test -z "$as_dir" && as_dir=. |
5750 | test -z "$as_dir" && as_dir=. |
5876 | for ac_exec_ext in '' $ac_executable_extensions; do |
5751 | for ac_exec_ext in '' $ac_executable_extensions; do |
5877 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
5752 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
5878 | ac_cv_prog_ac_ct_CXX="$ac_prog" |
5753 | ac_cv_prog_ac_ct_CXX="$ac_prog" |
5879 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5754 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5880 | break 2 |
5755 | break 2 |
5881 | fi |
5756 | fi |
5882 | done |
5757 | done |
… | |
… | |
5938 | test $ac_status = 0; } |
5813 | test $ac_status = 0; } |
5939 | done |
5814 | done |
5940 | |
5815 | |
5941 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 |
5816 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 |
5942 | $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } |
5817 | $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } |
5943 | if test "${ac_cv_cxx_compiler_gnu+set}" = set; then : |
5818 | if ${ac_cv_cxx_compiler_gnu+:} false; then : |
5944 | $as_echo_n "(cached) " >&6 |
5819 | $as_echo_n "(cached) " >&6 |
5945 | else |
5820 | else |
5946 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5821 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5947 | /* end confdefs.h. */ |
5822 | /* end confdefs.h. */ |
5948 | |
5823 | |
… | |
… | |
5975 | fi |
5850 | fi |
5976 | ac_test_CXXFLAGS=${CXXFLAGS+set} |
5851 | ac_test_CXXFLAGS=${CXXFLAGS+set} |
5977 | ac_save_CXXFLAGS=$CXXFLAGS |
5852 | ac_save_CXXFLAGS=$CXXFLAGS |
5978 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 |
5853 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 |
5979 | $as_echo_n "checking whether $CXX accepts -g... " >&6; } |
5854 | $as_echo_n "checking whether $CXX accepts -g... " >&6; } |
5980 | if test "${ac_cv_prog_cxx_g+set}" = set; then : |
5855 | if ${ac_cv_prog_cxx_g+:} false; then : |
5981 | $as_echo_n "(cached) " >&6 |
5856 | $as_echo_n "(cached) " >&6 |
5982 | else |
5857 | else |
5983 | ac_save_cxx_werror_flag=$ac_cxx_werror_flag |
5858 | ac_save_cxx_werror_flag=$ac_cxx_werror_flag |
5984 | ac_cxx_werror_flag=yes |
5859 | ac_cxx_werror_flag=yes |
5985 | ac_cv_prog_cxx_g=no |
5860 | ac_cv_prog_cxx_g=no |
… | |
… | |
6061 | |
5936 | |
6062 | depcc="$CXX" am_compiler_list= |
5937 | depcc="$CXX" am_compiler_list= |
6063 | |
5938 | |
6064 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
5939 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
6065 | $as_echo_n "checking dependency style of $depcc... " >&6; } |
5940 | $as_echo_n "checking dependency style of $depcc... " >&6; } |
6066 | if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then : |
5941 | if ${am_cv_CXX_dependencies_compiler_type+:} false; then : |
6067 | $as_echo_n "(cached) " >&6 |
5942 | $as_echo_n "(cached) " >&6 |
6068 | else |
5943 | else |
6069 | if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
5944 | if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
6070 | # We make a subdir and do the tests there. Otherwise we can end up |
5945 | # We make a subdir and do the tests there. Otherwise we can end up |
6071 | # making bogus files that we don't know about and never remove. For |
5946 | # making bogus files that we don't know about and never remove. For |
… | |
… | |
6087 | |
5962 | |
6088 | am_cv_CXX_dependencies_compiler_type=none |
5963 | am_cv_CXX_dependencies_compiler_type=none |
6089 | if test "$am_compiler_list" = ""; then |
5964 | if test "$am_compiler_list" = ""; then |
6090 | am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
5965 | am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
6091 | fi |
5966 | fi |
6092 | am__universal=false |
|
|
6093 | case " $depcc " in #( |
|
|
6094 | *\ -arch\ *\ -arch\ *) am__universal=true ;; |
|
|
6095 | esac |
|
|
6096 | |
|
|
6097 | for depmode in $am_compiler_list; do |
5967 | for depmode in $am_compiler_list; do |
6098 | # Setup a source with many dependencies, because some compilers |
5968 | # Setup a source with many dependencies, because some compilers |
6099 | # like to wrap large dependency lists on column 80 (with \), and |
5969 | # like to wrap large dependency lists on column 80 (with \), and |
6100 | # we should not choose a depcomp mode which is confused by this. |
5970 | # we should not choose a depcomp mode which is confused by this. |
6101 | # |
5971 | # |
… | |
… | |
6103 | # overwrite some of them when testing with obscure command lines. |
5973 | # overwrite some of them when testing with obscure command lines. |
6104 | # This happens at least with the AIX C compiler. |
5974 | # This happens at least with the AIX C compiler. |
6105 | : > sub/conftest.c |
5975 | : > sub/conftest.c |
6106 | for i in 1 2 3 4 5 6; do |
5976 | for i in 1 2 3 4 5 6; do |
6107 | echo '#include "conftst'$i'.h"' >> sub/conftest.c |
5977 | echo '#include "conftst'$i'.h"' >> sub/conftest.c |
6108 | # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with |
|
|
6109 | # Solaris 8's {/usr,}/bin/sh. |
|
|
6110 | touch sub/conftst$i.h |
5978 | : > sub/conftst$i.h |
6111 | done |
5979 | done |
6112 | echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
5980 | echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
6113 | |
5981 | |
6114 | # We check with `-c' and `-o' for the sake of the "dashmstdout" |
|
|
6115 | # mode. It turns out that the SunPro C++ compiler does not properly |
|
|
6116 | # handle `-M -o', and we need to detect this. Also, some Intel |
|
|
6117 | # versions had trouble with output in subdirs |
|
|
6118 | am__obj=sub/conftest.${OBJEXT-o} |
|
|
6119 | am__minus_obj="-o $am__obj" |
|
|
6120 | case $depmode in |
5982 | case $depmode in |
6121 | gcc) |
|
|
6122 | # This depmode causes a compiler race in universal mode. |
|
|
6123 | test "$am__universal" = false || continue |
|
|
6124 | ;; |
|
|
6125 | nosideeffect) |
5983 | nosideeffect) |
6126 | # after this tag, mechanisms are not by side-effect, so they'll |
5984 | # after this tag, mechanisms are not by side-effect, so they'll |
6127 | # only be used when explicitly requested |
5985 | # only be used when explicitly requested |
6128 | if test "x$enable_dependency_tracking" = xyes; then |
5986 | if test "x$enable_dependency_tracking" = xyes; then |
6129 | continue |
5987 | continue |
6130 | else |
5988 | else |
6131 | break |
5989 | break |
6132 | fi |
5990 | fi |
6133 | ;; |
5991 | ;; |
6134 | msvisualcpp | msvcmsys) |
|
|
6135 | # This compiler won't grok `-c -o', but also, the minuso test has |
|
|
6136 | # not run yet. These depmodes are late enough in the game, and |
|
|
6137 | # so weak that their functioning should not be impacted. |
|
|
6138 | am__obj=conftest.${OBJEXT-o} |
|
|
6139 | am__minus_obj= |
|
|
6140 | ;; |
|
|
6141 | none) break ;; |
5992 | none) break ;; |
6142 | esac |
5993 | esac |
|
|
5994 | # We check with `-c' and `-o' for the sake of the "dashmstdout" |
|
|
5995 | # mode. It turns out that the SunPro C++ compiler does not properly |
|
|
5996 | # handle `-M -o', and we need to detect this. |
6143 | if depmode=$depmode \ |
5997 | if depmode=$depmode \ |
6144 | source=sub/conftest.c object=$am__obj \ |
5998 | source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ |
6145 | depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
5999 | depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
6146 | $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ |
6000 | $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ |
6147 | >/dev/null 2>conftest.err && |
6001 | >/dev/null 2>conftest.err && |
6148 | grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && |
|
|
6149 | grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
6002 | grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
6150 | grep $am__obj sub/conftest.Po > /dev/null 2>&1 && |
6003 | grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && |
6151 | ${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
6004 | ${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
6152 | # icc doesn't choke on unknown options, it will just issue warnings |
6005 | # icc doesn't choke on unknown options, it will just issue warnings |
6153 | # or remarks (even with -Werror). So we grep stderr for any message |
6006 | # (even with -Werror). So we grep stderr for any message |
6154 | # that says an option was ignored or not supported. |
6007 | # that says an option was ignored. |
6155 | # When given -MP, icc 7.0 and 7.1 complain thusly: |
|
|
6156 | # icc: Command line warning: ignoring option '-M'; no argument required |
|
|
6157 | # The diagnosis changed in icc 8.0: |
|
|
6158 | # icc: Command line remark: option '-MP' not supported |
|
|
6159 | if (grep 'ignoring option' conftest.err || |
|
|
6160 | grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else |
6008 | if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else |
6161 | am_cv_CXX_dependencies_compiler_type=$depmode |
6009 | am_cv_CXX_dependencies_compiler_type=$depmode |
6162 | break |
6010 | break |
6163 | fi |
6011 | fi |
6164 | fi |
6012 | fi |
6165 | done |
6013 | done |
… | |
… | |
6173 | fi |
6021 | fi |
6174 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5 |
6022 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5 |
6175 | $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } |
6023 | $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } |
6176 | CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type |
6024 | CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type |
6177 | |
6025 | |
|
|
6026 | |
|
|
6027 | |
6178 | if |
6028 | if |
6179 | test "x$enable_dependency_tracking" != xno \ |
6029 | test "x$enable_dependency_tracking" != xno \ |
6180 | && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then |
6030 | && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then |
6181 | am__fastdepCXX_TRUE= |
6031 | am__fastdepCXX_TRUE= |
6182 | am__fastdepCXX_FALSE='#' |
6032 | am__fastdepCXX_FALSE='#' |
6183 | else |
6033 | else |
… | |
… | |
6187 | |
6037 | |
6188 | |
6038 | |
6189 | |
6039 | |
6190 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 |
6040 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 |
6191 | $as_echo_n "checking for grep that handles long lines and -e... " >&6; } |
6041 | $as_echo_n "checking for grep that handles long lines and -e... " >&6; } |
6192 | if test "${ac_cv_path_GREP+set}" = set; then : |
6042 | if ${ac_cv_path_GREP+:} false; then : |
6193 | $as_echo_n "(cached) " >&6 |
6043 | $as_echo_n "(cached) " >&6 |
6194 | else |
6044 | else |
6195 | if test -z "$GREP"; then |
6045 | if test -z "$GREP"; then |
6196 | ac_path_GREP_found=false |
6046 | ac_path_GREP_found=false |
6197 | # Loop through the user's path and test for each of PROGNAME-LIST |
6047 | # Loop through the user's path and test for each of PROGNAME-LIST |
… | |
… | |
6201 | IFS=$as_save_IFS |
6051 | IFS=$as_save_IFS |
6202 | test -z "$as_dir" && as_dir=. |
6052 | test -z "$as_dir" && as_dir=. |
6203 | for ac_prog in grep ggrep; do |
6053 | for ac_prog in grep ggrep; do |
6204 | for ac_exec_ext in '' $ac_executable_extensions; do |
6054 | for ac_exec_ext in '' $ac_executable_extensions; do |
6205 | ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
6055 | ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
6206 | { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue |
6056 | as_fn_executable_p "$ac_path_GREP" || continue |
6207 | # Check for GNU ac_path_GREP and select it if it is found. |
6057 | # Check for GNU ac_path_GREP and select it if it is found. |
6208 | # Check for GNU $ac_path_GREP |
6058 | # Check for GNU $ac_path_GREP |
6209 | case `"$ac_path_GREP" --version 2>&1` in |
6059 | case `"$ac_path_GREP" --version 2>&1` in |
6210 | *GNU*) |
6060 | *GNU*) |
6211 | ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; |
6061 | ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; |
… | |
… | |
6250 | GREP="$ac_cv_path_GREP" |
6100 | GREP="$ac_cv_path_GREP" |
6251 | |
6101 | |
6252 | |
6102 | |
6253 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 |
6103 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 |
6254 | $as_echo_n "checking for egrep... " >&6; } |
6104 | $as_echo_n "checking for egrep... " >&6; } |
6255 | if test "${ac_cv_path_EGREP+set}" = set; then : |
6105 | if ${ac_cv_path_EGREP+:} false; then : |
6256 | $as_echo_n "(cached) " >&6 |
6106 | $as_echo_n "(cached) " >&6 |
6257 | else |
6107 | else |
6258 | if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
6108 | if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
6259 | then ac_cv_path_EGREP="$GREP -E" |
6109 | then ac_cv_path_EGREP="$GREP -E" |
6260 | else |
6110 | else |
… | |
… | |
6267 | IFS=$as_save_IFS |
6117 | IFS=$as_save_IFS |
6268 | test -z "$as_dir" && as_dir=. |
6118 | test -z "$as_dir" && as_dir=. |
6269 | for ac_prog in egrep; do |
6119 | for ac_prog in egrep; do |
6270 | for ac_exec_ext in '' $ac_executable_extensions; do |
6120 | for ac_exec_ext in '' $ac_executable_extensions; do |
6271 | ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
6121 | ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
6272 | { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue |
6122 | as_fn_executable_p "$ac_path_EGREP" || continue |
6273 | # Check for GNU ac_path_EGREP and select it if it is found. |
6123 | # Check for GNU ac_path_EGREP and select it if it is found. |
6274 | # Check for GNU $ac_path_EGREP |
6124 | # Check for GNU $ac_path_EGREP |
6275 | case `"$ac_path_EGREP" --version 2>&1` in |
6125 | case `"$ac_path_EGREP" --version 2>&1` in |
6276 | *GNU*) |
6126 | *GNU*) |
6277 | ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; |
6127 | ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; |
… | |
… | |
6318 | |
6168 | |
6319 | |
6169 | |
6320 | if test $ac_cv_c_compiler_gnu = yes; then |
6170 | if test $ac_cv_c_compiler_gnu = yes; then |
6321 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5 |
6171 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5 |
6322 | $as_echo_n "checking whether $CC needs -traditional... " >&6; } |
6172 | $as_echo_n "checking whether $CC needs -traditional... " >&6; } |
6323 | if test "${ac_cv_prog_gcc_traditional+set}" = set; then : |
6173 | if ${ac_cv_prog_gcc_traditional+:} false; then : |
6324 | $as_echo_n "(cached) " >&6 |
6174 | $as_echo_n "(cached) " >&6 |
6325 | else |
6175 | else |
6326 | ac_pattern="Autoconf.*'x'" |
6176 | ac_pattern="Autoconf.*'x'" |
6327 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6177 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6328 | /* end confdefs.h. */ |
6178 | /* end confdefs.h. */ |
… | |
… | |
6363 | do |
6213 | do |
6364 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
6214 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
6365 | set dummy $ac_prog; ac_word=$2 |
6215 | set dummy $ac_prog; ac_word=$2 |
6366 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
6216 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
6367 | $as_echo_n "checking for $ac_word... " >&6; } |
6217 | $as_echo_n "checking for $ac_word... " >&6; } |
6368 | if test "${ac_cv_prog_AWK+set}" = set; then : |
6218 | if ${ac_cv_prog_AWK+:} false; then : |
6369 | $as_echo_n "(cached) " >&6 |
6219 | $as_echo_n "(cached) " >&6 |
6370 | else |
6220 | else |
6371 | if test -n "$AWK"; then |
6221 | if test -n "$AWK"; then |
6372 | ac_cv_prog_AWK="$AWK" # Let the user override the test. |
6222 | ac_cv_prog_AWK="$AWK" # Let the user override the test. |
6373 | else |
6223 | else |
… | |
… | |
6375 | for as_dir in $PATH |
6225 | for as_dir in $PATH |
6376 | do |
6226 | do |
6377 | IFS=$as_save_IFS |
6227 | IFS=$as_save_IFS |
6378 | test -z "$as_dir" && as_dir=. |
6228 | test -z "$as_dir" && as_dir=. |
6379 | for ac_exec_ext in '' $ac_executable_extensions; do |
6229 | for ac_exec_ext in '' $ac_executable_extensions; do |
6380 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
6230 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
6381 | ac_cv_prog_AWK="$ac_prog" |
6231 | ac_cv_prog_AWK="$ac_prog" |
6382 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6232 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6383 | break 2 |
6233 | break 2 |
6384 | fi |
6234 | fi |
6385 | done |
6235 | done |
… | |
… | |
6415 | |
6265 | |
6416 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
6266 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
6417 | $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
6267 | $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
6418 | set x ${MAKE-make} |
6268 | set x ${MAKE-make} |
6419 | ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
6269 | ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
6420 | if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then : |
6270 | if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : |
6421 | $as_echo_n "(cached) " >&6 |
6271 | $as_echo_n "(cached) " >&6 |
6422 | else |
6272 | else |
6423 | cat >conftest.make <<\_ACEOF |
6273 | cat >conftest.make <<\_ACEOF |
6424 | SHELL = /bin/sh |
6274 | SHELL = /bin/sh |
6425 | all: |
6275 | all: |
… | |
… | |
6447 | if test -n "$ac_tool_prefix"; then |
6297 | if test -n "$ac_tool_prefix"; then |
6448 | # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. |
6298 | # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. |
6449 | set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
6299 | set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
6450 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
6300 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
6451 | $as_echo_n "checking for $ac_word... " >&6; } |
6301 | $as_echo_n "checking for $ac_word... " >&6; } |
6452 | if test "${ac_cv_prog_RANLIB+set}" = set; then : |
6302 | if ${ac_cv_prog_RANLIB+:} false; then : |
6453 | $as_echo_n "(cached) " >&6 |
6303 | $as_echo_n "(cached) " >&6 |
6454 | else |
6304 | else |
6455 | if test -n "$RANLIB"; then |
6305 | if test -n "$RANLIB"; then |
6456 | ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
6306 | ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
6457 | else |
6307 | else |
… | |
… | |
6459 | for as_dir in $PATH |
6309 | for as_dir in $PATH |
6460 | do |
6310 | do |
6461 | IFS=$as_save_IFS |
6311 | IFS=$as_save_IFS |
6462 | test -z "$as_dir" && as_dir=. |
6312 | test -z "$as_dir" && as_dir=. |
6463 | for ac_exec_ext in '' $ac_executable_extensions; do |
6313 | for ac_exec_ext in '' $ac_executable_extensions; do |
6464 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
6314 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
6465 | ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
6315 | ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
6466 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6316 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6467 | break 2 |
6317 | break 2 |
6468 | fi |
6318 | fi |
6469 | done |
6319 | done |
… | |
… | |
6487 | ac_ct_RANLIB=$RANLIB |
6337 | ac_ct_RANLIB=$RANLIB |
6488 | # Extract the first word of "ranlib", so it can be a program name with args. |
6338 | # Extract the first word of "ranlib", so it can be a program name with args. |
6489 | set dummy ranlib; ac_word=$2 |
6339 | set dummy ranlib; ac_word=$2 |
6490 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
6340 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
6491 | $as_echo_n "checking for $ac_word... " >&6; } |
6341 | $as_echo_n "checking for $ac_word... " >&6; } |
6492 | if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then : |
6342 | if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : |
6493 | $as_echo_n "(cached) " >&6 |
6343 | $as_echo_n "(cached) " >&6 |
6494 | else |
6344 | else |
6495 | if test -n "$ac_ct_RANLIB"; then |
6345 | if test -n "$ac_ct_RANLIB"; then |
6496 | ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. |
6346 | ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. |
6497 | else |
6347 | else |
… | |
… | |
6499 | for as_dir in $PATH |
6349 | for as_dir in $PATH |
6500 | do |
6350 | do |
6501 | IFS=$as_save_IFS |
6351 | IFS=$as_save_IFS |
6502 | test -z "$as_dir" && as_dir=. |
6352 | test -z "$as_dir" && as_dir=. |
6503 | for ac_exec_ext in '' $ac_executable_extensions; do |
6353 | for ac_exec_ext in '' $ac_executable_extensions; do |
6504 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
6354 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
6505 | ac_cv_prog_ac_ct_RANLIB="ranlib" |
6355 | ac_cv_prog_ac_ct_RANLIB="ranlib" |
6506 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6356 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6507 | break 2 |
6357 | break 2 |
6508 | fi |
6358 | fi |
6509 | done |
6359 | done |
… | |
… | |
6685 | t end |
6535 | t end |
6686 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
6536 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
6687 | :end' >>confcache |
6537 | :end' >>confcache |
6688 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
6538 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
6689 | if test -w "$cache_file"; then |
6539 | if test -w "$cache_file"; then |
6690 | test "x$cache_file" != "x/dev/null" && |
6540 | if test "x$cache_file" != "x/dev/null"; then |
6691 | { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
6541 | { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
6692 | $as_echo "$as_me: updating cache $cache_file" >&6;} |
6542 | $as_echo "$as_me: updating cache $cache_file" >&6;} |
|
|
6543 | if test ! -f "$cache_file" || test -h "$cache_file"; then |
6693 | cat confcache >$cache_file |
6544 | cat confcache >"$cache_file" |
|
|
6545 | else |
|
|
6546 | case $cache_file in #( |
|
|
6547 | */* | ?:*) |
|
|
6548 | mv -f confcache "$cache_file"$$ && |
|
|
6549 | mv -f "$cache_file"$$ "$cache_file" ;; #( |
|
|
6550 | *) |
|
|
6551 | mv -f confcache "$cache_file" ;; |
|
|
6552 | esac |
|
|
6553 | fi |
|
|
6554 | fi |
6694 | else |
6555 | else |
6695 | { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
6556 | { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
6696 | $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
6557 | $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
6697 | fi |
6558 | fi |
6698 | fi |
6559 | fi |
… | |
… | |
6712 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
6573 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
6713 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
6574 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
6714 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 |
6575 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 |
6715 | $as_echo_n "checking how to run the C++ preprocessor... " >&6; } |
6576 | $as_echo_n "checking how to run the C++ preprocessor... " >&6; } |
6716 | if test -z "$CXXCPP"; then |
6577 | if test -z "$CXXCPP"; then |
6717 | if test "${ac_cv_prog_CXXCPP+set}" = set; then : |
6578 | if ${ac_cv_prog_CXXCPP+:} false; then : |
6718 | $as_echo_n "(cached) " >&6 |
6579 | $as_echo_n "(cached) " >&6 |
6719 | else |
6580 | else |
6720 | # Double quotes because CXXCPP needs to be expanded |
6581 | # Double quotes because CXXCPP needs to be expanded |
6721 | for CXXCPP in "$CXX -E" "/lib/cpp" |
6582 | for CXXCPP in "$CXX -E" "/lib/cpp" |
6722 | do |
6583 | do |
… | |
… | |
6828 | |
6689 | |
6829 | else |
6690 | else |
6830 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
6691 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
6831 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
6692 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
6832 | as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check |
6693 | as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check |
6833 | See \`config.log' for more details" "$LINENO" 5 ; } |
6694 | See \`config.log' for more details" "$LINENO" 5; } |
6834 | fi |
6695 | fi |
6835 | |
6696 | |
6836 | ac_ext=cpp |
6697 | ac_ext=cpp |
6837 | ac_cpp='$CXXCPP $CPPFLAGS' |
6698 | ac_cpp='$CXXCPP $CPPFLAGS' |
6838 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
6699 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
… | |
… | |
6840 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
6701 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
6841 | |
6702 | |
6842 | |
6703 | |
6843 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
6704 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
6844 | $as_echo_n "checking for ANSI C header files... " >&6; } |
6705 | $as_echo_n "checking for ANSI C header files... " >&6; } |
6845 | if test "${ac_cv_header_stdc+set}" = set; then : |
6706 | if ${ac_cv_header_stdc+:} false; then : |
6846 | $as_echo_n "(cached) " >&6 |
6707 | $as_echo_n "(cached) " >&6 |
6847 | else |
6708 | else |
6848 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6709 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6849 | /* end confdefs.h. */ |
6710 | /* end confdefs.h. */ |
6850 | #include <stdlib.h> |
6711 | #include <stdlib.h> |
… | |
… | |
7025 | done |
6886 | done |
7026 | |
6887 | |
7027 | |
6888 | |
7028 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 |
6889 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 |
7029 | $as_echo_n "checking for an ANSI C-conforming const... " >&6; } |
6890 | $as_echo_n "checking for an ANSI C-conforming const... " >&6; } |
7030 | if test "${ac_cv_c_const+set}" = set; then : |
6891 | if ${ac_cv_c_const+:} false; then : |
7031 | $as_echo_n "(cached) " >&6 |
6892 | $as_echo_n "(cached) " >&6 |
7032 | else |
6893 | else |
7033 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6894 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7034 | /* end confdefs.h. */ |
6895 | /* end confdefs.h. */ |
7035 | |
6896 | |
7036 | int |
6897 | int |
7037 | main () |
6898 | main () |
7038 | { |
6899 | { |
7039 | /* FIXME: Include the comments suggested by Paul. */ |
6900 | |
7040 | #ifndef __cplusplus |
6901 | #ifndef __cplusplus |
7041 | /* Ultrix mips cc rejects this. */ |
6902 | /* Ultrix mips cc rejects this sort of thing. */ |
7042 | typedef int charset[2]; |
6903 | typedef int charset[2]; |
7043 | const charset cs; |
6904 | const charset cs = { 0, 0 }; |
7044 | /* SunOS 4.1.1 cc rejects this. */ |
6905 | /* SunOS 4.1.1 cc rejects this. */ |
7045 | char const *const *pcpcc; |
6906 | char const *const *pcpcc; |
7046 | char **ppc; |
6907 | char **ppc; |
7047 | /* NEC SVR4.0.2 mips cc rejects this. */ |
6908 | /* NEC SVR4.0.2 mips cc rejects this. */ |
7048 | struct point {int x, y;}; |
6909 | struct point {int x, y;}; |
… | |
… | |
7055 | pcpcc = &g + (g ? g-g : 0); |
6916 | pcpcc = &g + (g ? g-g : 0); |
7056 | /* HPUX 7.0 cc rejects these. */ |
6917 | /* HPUX 7.0 cc rejects these. */ |
7057 | ++pcpcc; |
6918 | ++pcpcc; |
7058 | ppc = (char**) pcpcc; |
6919 | ppc = (char**) pcpcc; |
7059 | pcpcc = (char const *const *) ppc; |
6920 | pcpcc = (char const *const *) ppc; |
7060 | { /* SCO 3.2v4 cc rejects this. */ |
6921 | { /* SCO 3.2v4 cc rejects this sort of thing. */ |
7061 | char *t; |
6922 | char tx; |
|
|
6923 | char *t = &tx; |
7062 | char const *s = 0 ? (char *) 0 : (char const *) 0; |
6924 | char const *s = 0 ? (char *) 0 : (char const *) 0; |
7063 | |
6925 | |
7064 | *t++ = 0; |
6926 | *t++ = 0; |
7065 | if (s) return 0; |
6927 | if (s) return 0; |
7066 | } |
6928 | } |
… | |
… | |
7072 | { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ |
6934 | { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ |
7073 | typedef const int *iptr; |
6935 | typedef const int *iptr; |
7074 | iptr p = 0; |
6936 | iptr p = 0; |
7075 | ++p; |
6937 | ++p; |
7076 | } |
6938 | } |
7077 | { /* AIX XL C 1.02.0.0 rejects this saying |
6939 | { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying |
7078 | "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ |
6940 | "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ |
7079 | struct s { int j; const int *ap[3]; }; |
6941 | struct s { int j; const int *ap[3]; } bx; |
7080 | struct s *b; b->j = 5; |
6942 | struct s *b = &bx; b->j = 5; |
7081 | } |
6943 | } |
7082 | { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ |
6944 | { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ |
7083 | const int foo = 10; |
6945 | const int foo = 10; |
7084 | if (!foo) return 0; |
6946 | if (!foo) return 0; |
7085 | } |
6947 | } |
… | |
… | |
7104 | $as_echo "#define const /**/" >>confdefs.h |
6966 | $as_echo "#define const /**/" >>confdefs.h |
7105 | |
6967 | |
7106 | fi |
6968 | fi |
7107 | |
6969 | |
7108 | ac_fn_cxx_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default" |
6970 | ac_fn_cxx_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default" |
7109 | if test "x$ac_cv_type_pid_t" = x""yes; then : |
6971 | if test "x$ac_cv_type_pid_t" = xyes; then : |
7110 | |
6972 | |
7111 | else |
6973 | else |
7112 | |
6974 | |
7113 | cat >>confdefs.h <<_ACEOF |
6975 | cat >>confdefs.h <<_ACEOF |
7114 | #define pid_t int |
6976 | #define pid_t int |
7115 | _ACEOF |
6977 | _ACEOF |
7116 | |
6978 | |
7117 | fi |
6979 | fi |
7118 | |
6980 | |
7119 | ac_fn_cxx_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" |
6981 | ac_fn_cxx_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" |
7120 | if test "x$ac_cv_type_size_t" = x""yes; then : |
6982 | if test "x$ac_cv_type_size_t" = xyes; then : |
7121 | |
6983 | |
7122 | else |
6984 | else |
7123 | |
6985 | |
7124 | cat >>confdefs.h <<_ACEOF |
6986 | cat >>confdefs.h <<_ACEOF |
7125 | #define size_t unsigned int |
6987 | #define size_t unsigned int |
… | |
… | |
7127 | |
6989 | |
7128 | fi |
6990 | fi |
7129 | |
6991 | |
7130 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5 |
6992 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5 |
7131 | $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } |
6993 | $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } |
7132 | if test "${ac_cv_header_time+set}" = set; then : |
6994 | if ${ac_cv_header_time+:} false; then : |
7133 | $as_echo_n "(cached) " >&6 |
6995 | $as_echo_n "(cached) " >&6 |
7134 | else |
6996 | else |
7135 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6997 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7136 | /* end confdefs.h. */ |
6998 | /* end confdefs.h. */ |
7137 | #include <sys/types.h> |
6999 | #include <sys/types.h> |
… | |
… | |
7162 | |
7024 | |
7163 | fi |
7025 | fi |
7164 | |
7026 | |
7165 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5 |
7027 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5 |
7166 | $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; } |
7028 | $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; } |
7167 | if test "${ac_cv_struct_tm+set}" = set; then : |
7029 | if ${ac_cv_struct_tm+:} false; then : |
7168 | $as_echo_n "(cached) " >&6 |
7030 | $as_echo_n "(cached) " >&6 |
7169 | else |
7031 | else |
7170 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7032 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7171 | /* end confdefs.h. */ |
7033 | /* end confdefs.h. */ |
7172 | #include <sys/types.h> |
7034 | #include <sys/types.h> |
… | |
… | |
7198 | fi |
7060 | fi |
7199 | |
7061 | |
7200 | |
7062 | |
7201 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socklen_t" >&5 |
7063 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socklen_t" >&5 |
7202 | $as_echo_n "checking for socklen_t... " >&6; } |
7064 | $as_echo_n "checking for socklen_t... " >&6; } |
7203 | if test "${ac_cv_type_socklen_t+set}" = set; then : |
7065 | if ${ac_cv_type_socklen_t+:} false; then : |
7204 | $as_echo_n "(cached) " >&6 |
7066 | $as_echo_n "(cached) " >&6 |
7205 | else |
7067 | else |
7206 | |
7068 | |
7207 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7069 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7208 | /* end confdefs.h. */ |
7070 | /* end confdefs.h. */ |
… | |
… | |
7232 | |
7094 | |
7233 | fi |
7095 | fi |
7234 | |
7096 | |
7235 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct addrinfo" >&5 |
7097 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct addrinfo" >&5 |
7236 | $as_echo_n "checking for struct addrinfo... " >&6; } |
7098 | $as_echo_n "checking for struct addrinfo... " >&6; } |
7237 | if test "${ac_cv_struct_addrinfo+set}" = set; then : |
7099 | if ${ac_cv_struct_addrinfo+:} false; then : |
7238 | $as_echo_n "(cached) " >&6 |
7100 | $as_echo_n "(cached) " >&6 |
7239 | else |
7101 | else |
7240 | |
7102 | |
7241 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7103 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7242 | /* end confdefs.h. */ |
7104 | /* end confdefs.h. */ |
… | |
… | |
7267 | |
7129 | |
7268 | fi |
7130 | fi |
7269 | |
7131 | |
7270 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5 |
7132 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5 |
7271 | $as_echo_n "checking return type of signal handlers... " >&6; } |
7133 | $as_echo_n "checking return type of signal handlers... " >&6; } |
7272 | if test "${ac_cv_type_signal+set}" = set; then : |
7134 | if ${ac_cv_type_signal+:} false; then : |
7273 | $as_echo_n "(cached) " >&6 |
7135 | $as_echo_n "(cached) " >&6 |
7274 | else |
7136 | else |
7275 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7137 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7276 | /* end confdefs.h. */ |
7138 | /* end confdefs.h. */ |
7277 | #include <sys/types.h> |
7139 | #include <sys/types.h> |
… | |
… | |
7308 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
7170 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
7309 | |
7171 | |
7310 | |
7172 | |
7311 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
7173 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
7312 | $as_echo_n "checking for ANSI C header files... " >&6; } |
7174 | $as_echo_n "checking for ANSI C header files... " >&6; } |
7313 | if test "${ac_cv_header_stdc+set}" = set; then : |
7175 | if ${ac_cv_header_stdc+:} false; then : |
7314 | $as_echo_n "(cached) " >&6 |
7176 | $as_echo_n "(cached) " >&6 |
7315 | else |
7177 | else |
7316 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7178 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7317 | /* end confdefs.h. */ |
7179 | /* end confdefs.h. */ |
7318 | #include <stdlib.h> |
7180 | #include <stdlib.h> |
… | |
… | |
7436 | |
7298 | |
7437 | # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
7299 | # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
7438 | # for constant arguments. Useless! |
7300 | # for constant arguments. Useless! |
7439 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5 |
7301 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5 |
7440 | $as_echo_n "checking for working alloca.h... " >&6; } |
7302 | $as_echo_n "checking for working alloca.h... " >&6; } |
7441 | if test "${ac_cv_working_alloca_h+set}" = set; then : |
7303 | if ${ac_cv_working_alloca_h+:} false; then : |
7442 | $as_echo_n "(cached) " >&6 |
7304 | $as_echo_n "(cached) " >&6 |
7443 | else |
7305 | else |
7444 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7306 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7445 | /* end confdefs.h. */ |
7307 | /* end confdefs.h. */ |
7446 | #include <alloca.h> |
7308 | #include <alloca.h> |
… | |
… | |
7469 | |
7331 | |
7470 | fi |
7332 | fi |
7471 | |
7333 | |
7472 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5 |
7334 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5 |
7473 | $as_echo_n "checking for alloca... " >&6; } |
7335 | $as_echo_n "checking for alloca... " >&6; } |
7474 | if test "${ac_cv_func_alloca_works+set}" = set; then : |
7336 | if ${ac_cv_func_alloca_works+:} false; then : |
7475 | $as_echo_n "(cached) " >&6 |
7337 | $as_echo_n "(cached) " >&6 |
7476 | else |
7338 | else |
7477 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7339 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7478 | /* end confdefs.h. */ |
7340 | /* end confdefs.h. */ |
7479 | #ifdef __GNUC__ |
7341 | #ifdef __GNUC__ |
… | |
… | |
7488 | # else |
7350 | # else |
7489 | # ifdef _AIX |
7351 | # ifdef _AIX |
7490 | #pragma alloca |
7352 | #pragma alloca |
7491 | # else |
7353 | # else |
7492 | # ifndef alloca /* predefined by HP cc +Olibcalls */ |
7354 | # ifndef alloca /* predefined by HP cc +Olibcalls */ |
7493 | char *alloca (); |
7355 | void *alloca (size_t); |
7494 | # endif |
7356 | # endif |
7495 | # endif |
7357 | # endif |
7496 | # endif |
7358 | # endif |
7497 | # endif |
7359 | # endif |
7498 | #endif |
7360 | #endif |
… | |
… | |
7532 | $as_echo "#define C_ALLOCA 1" >>confdefs.h |
7394 | $as_echo "#define C_ALLOCA 1" >>confdefs.h |
7533 | |
7395 | |
7534 | |
7396 | |
7535 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5 |
7397 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5 |
7536 | $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; } |
7398 | $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; } |
7537 | if test "${ac_cv_os_cray+set}" = set; then : |
7399 | if ${ac_cv_os_cray+:} false; then : |
7538 | $as_echo_n "(cached) " >&6 |
7400 | $as_echo_n "(cached) " >&6 |
7539 | else |
7401 | else |
7540 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7402 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7541 | /* end confdefs.h. */ |
7403 | /* end confdefs.h. */ |
7542 | #if defined CRAY && ! defined CRAY2 |
7404 | #if defined CRAY && ! defined CRAY2 |
… | |
… | |
7573 | done |
7435 | done |
7574 | fi |
7436 | fi |
7575 | |
7437 | |
7576 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5 |
7438 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5 |
7577 | $as_echo_n "checking stack direction for C alloca... " >&6; } |
7439 | $as_echo_n "checking stack direction for C alloca... " >&6; } |
7578 | if test "${ac_cv_c_stack_direction+set}" = set; then : |
7440 | if ${ac_cv_c_stack_direction+:} false; then : |
7579 | $as_echo_n "(cached) " >&6 |
7441 | $as_echo_n "(cached) " >&6 |
7580 | else |
7442 | else |
7581 | if test "$cross_compiling" = yes; then : |
7443 | if test "$cross_compiling" = yes; then : |
7582 | ac_cv_c_stack_direction=0 |
7444 | ac_cv_c_stack_direction=0 |
7583 | else |
7445 | else |
7584 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7446 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7585 | /* end confdefs.h. */ |
7447 | /* end confdefs.h. */ |
7586 | $ac_includes_default |
7448 | $ac_includes_default |
7587 | int |
7449 | int |
7588 | find_stack_direction () |
7450 | find_stack_direction (int *addr, int depth) |
7589 | { |
7451 | { |
7590 | static char *addr = 0; |
7452 | int dir, dummy = 0; |
7591 | auto char dummy; |
|
|
7592 | if (addr == 0) |
7453 | if (! addr) |
7593 | { |
|
|
7594 | addr = &dummy; |
7454 | addr = &dummy; |
7595 | return find_stack_direction (); |
7455 | *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1; |
7596 | } |
7456 | dir = depth ? find_stack_direction (addr, depth - 1) : 0; |
7597 | else |
7457 | return dir + dummy; |
7598 | return (&dummy > addr) ? 1 : -1; |
|
|
7599 | } |
7458 | } |
7600 | |
7459 | |
7601 | int |
7460 | int |
7602 | main () |
7461 | main (int argc, char **argv) |
7603 | { |
7462 | { |
7604 | return find_stack_direction () < 0; |
7463 | return find_stack_direction (0, argc + !argv + 20) < 0; |
7605 | } |
7464 | } |
7606 | _ACEOF |
7465 | _ACEOF |
7607 | if ac_fn_c_try_run "$LINENO"; then : |
7466 | if ac_fn_c_try_run "$LINENO"; then : |
7608 | ac_cv_c_stack_direction=1 |
7467 | ac_cv_c_stack_direction=1 |
7609 | else |
7468 | else |
… | |
… | |
7624 | fi |
7483 | fi |
7625 | |
7484 | |
7626 | |
7485 | |
7627 | |
7486 | |
7628 | ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket" |
7487 | ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket" |
7629 | if test "x$ac_cv_func_socket" = x""yes; then : |
7488 | if test "x$ac_cv_func_socket" = xyes; then : |
7630 | |
7489 | |
7631 | else |
7490 | else |
7632 | |
7491 | |
7633 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5 |
7492 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5 |
7634 | $as_echo_n "checking for connect in -lsocket... " >&6; } |
7493 | $as_echo_n "checking for connect in -lsocket... " >&6; } |
7635 | if test "${ac_cv_lib_socket_connect+set}" = set; then : |
7494 | if ${ac_cv_lib_socket_connect+:} false; then : |
7636 | $as_echo_n "(cached) " >&6 |
7495 | $as_echo_n "(cached) " >&6 |
7637 | else |
7496 | else |
7638 | ac_check_lib_save_LIBS=$LIBS |
7497 | ac_check_lib_save_LIBS=$LIBS |
7639 | LIBS="-lsocket $LIBS" |
7498 | LIBS="-lsocket $LIBS" |
7640 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7499 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
… | |
… | |
7664 | conftest$ac_exeext conftest.$ac_ext |
7523 | conftest$ac_exeext conftest.$ac_ext |
7665 | LIBS=$ac_check_lib_save_LIBS |
7524 | LIBS=$ac_check_lib_save_LIBS |
7666 | fi |
7525 | fi |
7667 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5 |
7526 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5 |
7668 | $as_echo "$ac_cv_lib_socket_connect" >&6; } |
7527 | $as_echo "$ac_cv_lib_socket_connect" >&6; } |
7669 | if test "x$ac_cv_lib_socket_connect" = x""yes; then : |
7528 | if test "x$ac_cv_lib_socket_connect" = xyes; then : |
7670 | cat >>confdefs.h <<_ACEOF |
7529 | cat >>confdefs.h <<_ACEOF |
7671 | #define HAVE_LIBSOCKET 1 |
7530 | #define HAVE_LIBSOCKET 1 |
7672 | _ACEOF |
7531 | _ACEOF |
7673 | |
7532 | |
7674 | LIBS="-lsocket $LIBS" |
7533 | LIBS="-lsocket $LIBS" |
… | |
… | |
7677 | |
7536 | |
7678 | |
7537 | |
7679 | fi |
7538 | fi |
7680 | |
7539 | |
7681 | ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname" |
7540 | ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname" |
7682 | if test "x$ac_cv_func_gethostbyname" = x""yes; then : |
7541 | if test "x$ac_cv_func_gethostbyname" = xyes; then : |
7683 | |
7542 | |
7684 | else |
7543 | else |
7685 | |
7544 | |
7686 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5 |
7545 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5 |
7687 | $as_echo_n "checking for gethostbyname in -lnsl... " >&6; } |
7546 | $as_echo_n "checking for gethostbyname in -lnsl... " >&6; } |
7688 | if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then : |
7547 | if ${ac_cv_lib_nsl_gethostbyname+:} false; then : |
7689 | $as_echo_n "(cached) " >&6 |
7548 | $as_echo_n "(cached) " >&6 |
7690 | else |
7549 | else |
7691 | ac_check_lib_save_LIBS=$LIBS |
7550 | ac_check_lib_save_LIBS=$LIBS |
7692 | LIBS="-lnsl $LIBS" |
7551 | LIBS="-lnsl $LIBS" |
7693 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7552 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
… | |
… | |
7717 | conftest$ac_exeext conftest.$ac_ext |
7576 | conftest$ac_exeext conftest.$ac_ext |
7718 | LIBS=$ac_check_lib_save_LIBS |
7577 | LIBS=$ac_check_lib_save_LIBS |
7719 | fi |
7578 | fi |
7720 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5 |
7579 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5 |
7721 | $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; } |
7580 | $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; } |
7722 | if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then : |
7581 | if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then : |
7723 | cat >>confdefs.h <<_ACEOF |
7582 | cat >>confdefs.h <<_ACEOF |
7724 | #define HAVE_LIBNSL 1 |
7583 | #define HAVE_LIBNSL 1 |
7725 | _ACEOF |
7584 | _ACEOF |
7726 | |
7585 | |
7727 | LIBS="-lnsl $LIBS" |
7586 | LIBS="-lnsl $LIBS" |
… | |
… | |
7761 | |
7620 | |
7762 | |
7621 | |
7763 | for ac_func in clock_gettime |
7622 | for ac_func in clock_gettime |
7764 | do : |
7623 | do : |
7765 | ac_fn_c_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime" |
7624 | ac_fn_c_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime" |
7766 | if test "x$ac_cv_func_clock_gettime" = x""yes; then : |
7625 | if test "x$ac_cv_func_clock_gettime" = xyes; then : |
7767 | cat >>confdefs.h <<_ACEOF |
7626 | cat >>confdefs.h <<_ACEOF |
7768 | #define HAVE_CLOCK_GETTIME 1 |
7627 | #define HAVE_CLOCK_GETTIME 1 |
7769 | _ACEOF |
7628 | _ACEOF |
7770 | |
7629 | |
7771 | else |
7630 | else |
… | |
… | |
7801 | conftest$ac_exeext conftest.$ac_ext |
7660 | conftest$ac_exeext conftest.$ac_ext |
7802 | fi |
7661 | fi |
7803 | if test -z "$LIBEV_M4_AVOID_LIBRT" && test -z "$ac_have_clock_syscall"; then |
7662 | if test -z "$LIBEV_M4_AVOID_LIBRT" && test -z "$ac_have_clock_syscall"; then |
7804 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5 |
7663 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5 |
7805 | $as_echo_n "checking for clock_gettime in -lrt... " >&6; } |
7664 | $as_echo_n "checking for clock_gettime in -lrt... " >&6; } |
7806 | if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then : |
7665 | if ${ac_cv_lib_rt_clock_gettime+:} false; then : |
7807 | $as_echo_n "(cached) " >&6 |
7666 | $as_echo_n "(cached) " >&6 |
7808 | else |
7667 | else |
7809 | ac_check_lib_save_LIBS=$LIBS |
7668 | ac_check_lib_save_LIBS=$LIBS |
7810 | LIBS="-lrt $LIBS" |
7669 | LIBS="-lrt $LIBS" |
7811 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7670 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
… | |
… | |
7835 | conftest$ac_exeext conftest.$ac_ext |
7694 | conftest$ac_exeext conftest.$ac_ext |
7836 | LIBS=$ac_check_lib_save_LIBS |
7695 | LIBS=$ac_check_lib_save_LIBS |
7837 | fi |
7696 | fi |
7838 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5 |
7697 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5 |
7839 | $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; } |
7698 | $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; } |
7840 | if test "x$ac_cv_lib_rt_clock_gettime" = x""yes; then : |
7699 | if test "x$ac_cv_lib_rt_clock_gettime" = xyes; then : |
7841 | cat >>confdefs.h <<_ACEOF |
7700 | cat >>confdefs.h <<_ACEOF |
7842 | #define HAVE_LIBRT 1 |
7701 | #define HAVE_LIBRT 1 |
7843 | _ACEOF |
7702 | _ACEOF |
7844 | |
7703 | |
7845 | LIBS="-lrt $LIBS" |
7704 | LIBS="-lrt $LIBS" |
… | |
… | |
7848 | |
7707 | |
7849 | unset ac_cv_func_clock_gettime |
7708 | unset ac_cv_func_clock_gettime |
7850 | for ac_func in clock_gettime |
7709 | for ac_func in clock_gettime |
7851 | do : |
7710 | do : |
7852 | ac_fn_c_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime" |
7711 | ac_fn_c_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime" |
7853 | if test "x$ac_cv_func_clock_gettime" = x""yes; then : |
7712 | if test "x$ac_cv_func_clock_gettime" = xyes; then : |
7854 | cat >>confdefs.h <<_ACEOF |
7713 | cat >>confdefs.h <<_ACEOF |
7855 | #define HAVE_CLOCK_GETTIME 1 |
7714 | #define HAVE_CLOCK_GETTIME 1 |
7856 | _ACEOF |
7715 | _ACEOF |
7857 | |
7716 | |
7858 | fi |
7717 | fi |
… | |
… | |
7865 | |
7724 | |
7866 | |
7725 | |
7867 | for ac_func in nanosleep |
7726 | for ac_func in nanosleep |
7868 | do : |
7727 | do : |
7869 | ac_fn_c_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep" |
7728 | ac_fn_c_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep" |
7870 | if test "x$ac_cv_func_nanosleep" = x""yes; then : |
7729 | if test "x$ac_cv_func_nanosleep" = xyes; then : |
7871 | cat >>confdefs.h <<_ACEOF |
7730 | cat >>confdefs.h <<_ACEOF |
7872 | #define HAVE_NANOSLEEP 1 |
7731 | #define HAVE_NANOSLEEP 1 |
7873 | _ACEOF |
7732 | _ACEOF |
7874 | |
7733 | |
7875 | else |
7734 | else |
7876 | |
7735 | |
7877 | if test -z "$LIBEV_M4_AVOID_LIBRT"; then |
7736 | if test -z "$LIBEV_M4_AVOID_LIBRT"; then |
7878 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lrt" >&5 |
7737 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lrt" >&5 |
7879 | $as_echo_n "checking for nanosleep in -lrt... " >&6; } |
7738 | $as_echo_n "checking for nanosleep in -lrt... " >&6; } |
7880 | if test "${ac_cv_lib_rt_nanosleep+set}" = set; then : |
7739 | if ${ac_cv_lib_rt_nanosleep+:} false; then : |
7881 | $as_echo_n "(cached) " >&6 |
7740 | $as_echo_n "(cached) " >&6 |
7882 | else |
7741 | else |
7883 | ac_check_lib_save_LIBS=$LIBS |
7742 | ac_check_lib_save_LIBS=$LIBS |
7884 | LIBS="-lrt $LIBS" |
7743 | LIBS="-lrt $LIBS" |
7885 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7744 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
… | |
… | |
7909 | conftest$ac_exeext conftest.$ac_ext |
7768 | conftest$ac_exeext conftest.$ac_ext |
7910 | LIBS=$ac_check_lib_save_LIBS |
7769 | LIBS=$ac_check_lib_save_LIBS |
7911 | fi |
7770 | fi |
7912 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_nanosleep" >&5 |
7771 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_nanosleep" >&5 |
7913 | $as_echo "$ac_cv_lib_rt_nanosleep" >&6; } |
7772 | $as_echo "$ac_cv_lib_rt_nanosleep" >&6; } |
7914 | if test "x$ac_cv_lib_rt_nanosleep" = x""yes; then : |
7773 | if test "x$ac_cv_lib_rt_nanosleep" = xyes; then : |
7915 | cat >>confdefs.h <<_ACEOF |
7774 | cat >>confdefs.h <<_ACEOF |
7916 | #define HAVE_LIBRT 1 |
7775 | #define HAVE_LIBRT 1 |
7917 | _ACEOF |
7776 | _ACEOF |
7918 | |
7777 | |
7919 | LIBS="-lrt $LIBS" |
7778 | LIBS="-lrt $LIBS" |
… | |
… | |
7922 | |
7781 | |
7923 | unset ac_cv_func_nanosleep |
7782 | unset ac_cv_func_nanosleep |
7924 | for ac_func in nanosleep |
7783 | for ac_func in nanosleep |
7925 | do : |
7784 | do : |
7926 | ac_fn_c_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep" |
7785 | ac_fn_c_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep" |
7927 | if test "x$ac_cv_func_nanosleep" = x""yes; then : |
7786 | if test "x$ac_cv_func_nanosleep" = xyes; then : |
7928 | cat >>confdefs.h <<_ACEOF |
7787 | cat >>confdefs.h <<_ACEOF |
7929 | #define HAVE_NANOSLEEP 1 |
7788 | #define HAVE_NANOSLEEP 1 |
7930 | _ACEOF |
7789 | _ACEOF |
7931 | |
7790 | |
7932 | fi |
7791 | fi |
… | |
… | |
7941 | if test -z "$LIBEV_M4_AVOID_LIBM"; then |
7800 | if test -z "$LIBEV_M4_AVOID_LIBM"; then |
7942 | LIBM=m |
7801 | LIBM=m |
7943 | fi |
7802 | fi |
7944 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing floor" >&5 |
7803 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing floor" >&5 |
7945 | $as_echo_n "checking for library containing floor... " >&6; } |
7804 | $as_echo_n "checking for library containing floor... " >&6; } |
7946 | if test "${ac_cv_search_floor+set}" = set; then : |
7805 | if ${ac_cv_search_floor+:} false; then : |
7947 | $as_echo_n "(cached) " >&6 |
7806 | $as_echo_n "(cached) " >&6 |
7948 | else |
7807 | else |
7949 | ac_func_search_save_LIBS=$LIBS |
7808 | ac_func_search_save_LIBS=$LIBS |
7950 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7809 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7951 | /* end confdefs.h. */ |
7810 | /* end confdefs.h. */ |
… | |
… | |
7975 | if ac_fn_c_try_link "$LINENO"; then : |
7834 | if ac_fn_c_try_link "$LINENO"; then : |
7976 | ac_cv_search_floor=$ac_res |
7835 | ac_cv_search_floor=$ac_res |
7977 | fi |
7836 | fi |
7978 | rm -f core conftest.err conftest.$ac_objext \ |
7837 | rm -f core conftest.err conftest.$ac_objext \ |
7979 | conftest$ac_exeext |
7838 | conftest$ac_exeext |
7980 | if test "${ac_cv_search_floor+set}" = set; then : |
7839 | if ${ac_cv_search_floor+:} false; then : |
7981 | break |
7840 | break |
7982 | fi |
7841 | fi |
7983 | done |
7842 | done |
7984 | if test "${ac_cv_search_floor+set}" = set; then : |
7843 | if ${ac_cv_search_floor+:} false; then : |
7985 | |
7844 | |
7986 | else |
7845 | else |
7987 | ac_cv_search_floor=no |
7846 | ac_cv_search_floor=no |
7988 | fi |
7847 | fi |
7989 | rm conftest.$ac_ext |
7848 | rm conftest.$ac_ext |
… | |
… | |
8072 | t end |
7931 | t end |
8073 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
7932 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
8074 | :end' >>confcache |
7933 | :end' >>confcache |
8075 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
7934 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
8076 | if test -w "$cache_file"; then |
7935 | if test -w "$cache_file"; then |
8077 | test "x$cache_file" != "x/dev/null" && |
7936 | if test "x$cache_file" != "x/dev/null"; then |
8078 | { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
7937 | { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
8079 | $as_echo "$as_me: updating cache $cache_file" >&6;} |
7938 | $as_echo "$as_me: updating cache $cache_file" >&6;} |
|
|
7939 | if test ! -f "$cache_file" || test -h "$cache_file"; then |
8080 | cat confcache >$cache_file |
7940 | cat confcache >"$cache_file" |
|
|
7941 | else |
|
|
7942 | case $cache_file in #( |
|
|
7943 | */* | ?:*) |
|
|
7944 | mv -f confcache "$cache_file"$$ && |
|
|
7945 | mv -f "$cache_file"$$ "$cache_file" ;; #( |
|
|
7946 | *) |
|
|
7947 | mv -f confcache "$cache_file" ;; |
|
|
7948 | esac |
|
|
7949 | fi |
|
|
7950 | fi |
8081 | else |
7951 | else |
8082 | { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
7952 | { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
8083 | $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
7953 | $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
8084 | fi |
7954 | fi |
8085 | fi |
7955 | fi |
… | |
… | |
8096 | fi |
7966 | fi |
8097 | |
7967 | |
8098 | |
7968 | |
8099 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for linux/if_tun.h" >&5 |
7969 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for linux/if_tun.h" >&5 |
8100 | $as_echo_n "checking for linux/if_tun.h... " >&6; } |
7970 | $as_echo_n "checking for linux/if_tun.h... " >&6; } |
8101 | if test "${tinc_cv_linux_if_tun_h+set}" = set; then : |
7971 | if ${tinc_cv_linux_if_tun_h+:} false; then : |
8102 | $as_echo_n "(cached) " >&6 |
7972 | $as_echo_n "(cached) " >&6 |
8103 | else |
7973 | else |
8104 | |
7974 | |
8105 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7975 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
8106 | /* end confdefs.h. */ |
7976 | /* end confdefs.h. */ |
… | |
… | |
8163 | |
8033 | |
8164 | |
8034 | |
8165 | |
8035 | |
8166 | |
8036 | |
8167 | |
8037 | |
8168 | tinc_ac_save_CPPFLAGS="$CPPFLAGS" |
|
|
8169 | |
8038 | |
8170 | |
8039 | |
8171 | # Check whether --with-openssl-include was given. |
|
|
8172 | if test "${with_openssl_include+set}" = set; then : |
|
|
8173 | withval=$with_openssl_include; openssl_include="$withval" |
|
|
8174 | CFLAGS="$CFLAGS -I$withval" |
|
|
8175 | CPPFLAGS="$CPPFLAGS -I$withval" |
|
|
8176 | |
8040 | |
8177 | fi |
|
|
8178 | |
8041 | |
8179 | |
8042 | |
8180 | |
8043 | |
8181 | # Check whether --with-openssl-lib was given. |
8044 | if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then |
8182 | if test "${with_openssl_lib+set}" = set; then : |
8045 | if test -n "$ac_tool_prefix"; then |
8183 | withval=$with_openssl_lib; openssl_lib="$withval" |
8046 | # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. |
8184 | LIBS="$LIBS -L$withval" |
8047 | set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 |
8185 | |
8048 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
8186 | fi |
8049 | $as_echo_n "checking for $ac_word... " >&6; } |
8187 | |
8050 | if ${ac_cv_path_PKG_CONFIG+:} false; then : |
8188 | |
8051 | $as_echo_n "(cached) " >&6 |
8189 | for ac_header in openssl/evp.h openssl/rsa.h openssl/rand.h openssl/err.h openssl/sha.h openssl/pem.h |
|
|
8190 | do : |
|
|
8191 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
|
8192 | ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
|
|
8193 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
|
|
8194 | cat >>confdefs.h <<_ACEOF |
|
|
8195 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
|
|
8196 | _ACEOF |
|
|
8197 | |
|
|
8198 | else |
8052 | else |
8199 | as_fn_error $? "OpenSSL header files not found." "$LINENO" 5 ; break |
8053 | case $PKG_CONFIG in |
8200 | |
8054 | [\\/]* | ?:[\\/]*) |
8201 | fi |
8055 | ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
8202 | |
8056 | ;; |
|
|
8057 | *) |
|
|
8058 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
8059 | for as_dir in $PATH |
|
|
8060 | do |
|
|
8061 | IFS=$as_save_IFS |
|
|
8062 | test -z "$as_dir" && as_dir=. |
|
|
8063 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
8064 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
8065 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
|
|
8066 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
8067 | break 2 |
|
|
8068 | fi |
8203 | done |
8069 | done |
|
|
8070 | done |
|
|
8071 | IFS=$as_save_IFS |
8204 | |
8072 | |
|
|
8073 | ;; |
|
|
8074 | esac |
|
|
8075 | fi |
|
|
8076 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
|
|
8077 | if test -n "$PKG_CONFIG"; then |
|
|
8078 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 |
|
|
8079 | $as_echo "$PKG_CONFIG" >&6; } |
|
|
8080 | else |
|
|
8081 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
8082 | $as_echo "no" >&6; } |
|
|
8083 | fi |
8205 | |
8084 | |
8206 | CPPFLAGS="$tinc_ac_save_CPPFLAGS" |
|
|
8207 | |
8085 | |
|
|
8086 | fi |
|
|
8087 | if test -z "$ac_cv_path_PKG_CONFIG"; then |
|
|
8088 | ac_pt_PKG_CONFIG=$PKG_CONFIG |
|
|
8089 | # Extract the first word of "pkg-config", so it can be a program name with args. |
|
|
8090 | set dummy pkg-config; ac_word=$2 |
8208 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SHA1_version in -lcrypto" >&5 |
8091 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
8209 | $as_echo_n "checking for SHA1_version in -lcrypto... " >&6; } |
8092 | $as_echo_n "checking for $ac_word... " >&6; } |
8210 | if test "${ac_cv_lib_crypto_SHA1_version+set}" = set; then : |
8093 | if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : |
8211 | $as_echo_n "(cached) " >&6 |
8094 | $as_echo_n "(cached) " >&6 |
8212 | else |
8095 | else |
8213 | ac_check_lib_save_LIBS=$LIBS |
8096 | case $ac_pt_PKG_CONFIG in |
8214 | LIBS="-lcrypto $LIBS" |
8097 | [\\/]* | ?:[\\/]*) |
|
|
8098 | ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. |
|
|
8099 | ;; |
|
|
8100 | *) |
|
|
8101 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
8102 | for as_dir in $PATH |
|
|
8103 | do |
|
|
8104 | IFS=$as_save_IFS |
|
|
8105 | test -z "$as_dir" && as_dir=. |
|
|
8106 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
8107 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
8108 | ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
|
|
8109 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
8110 | break 2 |
|
|
8111 | fi |
|
|
8112 | done |
|
|
8113 | done |
|
|
8114 | IFS=$as_save_IFS |
|
|
8115 | |
|
|
8116 | ;; |
|
|
8117 | esac |
|
|
8118 | fi |
|
|
8119 | ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG |
|
|
8120 | if test -n "$ac_pt_PKG_CONFIG"; then |
|
|
8121 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 |
|
|
8122 | $as_echo "$ac_pt_PKG_CONFIG" >&6; } |
|
|
8123 | else |
|
|
8124 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
8125 | $as_echo "no" >&6; } |
|
|
8126 | fi |
|
|
8127 | |
|
|
8128 | if test "x$ac_pt_PKG_CONFIG" = x; then |
|
|
8129 | PKG_CONFIG="" |
|
|
8130 | else |
|
|
8131 | case $cross_compiling:$ac_tool_warned in |
|
|
8132 | yes:) |
|
|
8133 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
|
8134 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
|
8135 | ac_tool_warned=yes ;; |
|
|
8136 | esac |
|
|
8137 | PKG_CONFIG=$ac_pt_PKG_CONFIG |
|
|
8138 | fi |
|
|
8139 | else |
|
|
8140 | PKG_CONFIG="$ac_cv_path_PKG_CONFIG" |
|
|
8141 | fi |
|
|
8142 | |
|
|
8143 | fi |
|
|
8144 | if test -n "$PKG_CONFIG"; then |
|
|
8145 | _pkg_min_version=0.9.0 |
|
|
8146 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 |
|
|
8147 | $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } |
|
|
8148 | if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then |
|
|
8149 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
|
8150 | $as_echo "yes" >&6; } |
|
|
8151 | else |
|
|
8152 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
8153 | $as_echo "no" >&6; } |
|
|
8154 | PKG_CONFIG="" |
|
|
8155 | fi |
|
|
8156 | fi |
|
|
8157 | |
|
|
8158 | pkg_failed=no |
|
|
8159 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBCRYPTO" >&5 |
|
|
8160 | $as_echo_n "checking for LIBCRYPTO... " >&6; } |
|
|
8161 | |
|
|
8162 | if test -n "$LIBCRYPTO_CFLAGS"; then |
|
|
8163 | pkg_cv_LIBCRYPTO_CFLAGS="$LIBCRYPTO_CFLAGS" |
|
|
8164 | elif test -n "$PKG_CONFIG"; then |
|
|
8165 | if test -n "$PKG_CONFIG" && \ |
|
|
8166 | { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcrypto >= 1\""; } >&5 |
|
|
8167 | ($PKG_CONFIG --exists --print-errors "libcrypto >= 1") 2>&5 |
|
|
8168 | ac_status=$? |
|
|
8169 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
|
8170 | test $ac_status = 0; }; then |
|
|
8171 | pkg_cv_LIBCRYPTO_CFLAGS=`$PKG_CONFIG --cflags "libcrypto >= 1" 2>/dev/null` |
|
|
8172 | test "x$?" != "x0" && pkg_failed=yes |
|
|
8173 | else |
|
|
8174 | pkg_failed=yes |
|
|
8175 | fi |
|
|
8176 | else |
|
|
8177 | pkg_failed=untried |
|
|
8178 | fi |
|
|
8179 | if test -n "$LIBCRYPTO_LIBS"; then |
|
|
8180 | pkg_cv_LIBCRYPTO_LIBS="$LIBCRYPTO_LIBS" |
|
|
8181 | elif test -n "$PKG_CONFIG"; then |
|
|
8182 | if test -n "$PKG_CONFIG" && \ |
|
|
8183 | { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcrypto >= 1\""; } >&5 |
|
|
8184 | ($PKG_CONFIG --exists --print-errors "libcrypto >= 1") 2>&5 |
|
|
8185 | ac_status=$? |
|
|
8186 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
|
8187 | test $ac_status = 0; }; then |
|
|
8188 | pkg_cv_LIBCRYPTO_LIBS=`$PKG_CONFIG --libs "libcrypto >= 1" 2>/dev/null` |
|
|
8189 | test "x$?" != "x0" && pkg_failed=yes |
|
|
8190 | else |
|
|
8191 | pkg_failed=yes |
|
|
8192 | fi |
|
|
8193 | else |
|
|
8194 | pkg_failed=untried |
|
|
8195 | fi |
|
|
8196 | |
|
|
8197 | |
|
|
8198 | |
|
|
8199 | if test $pkg_failed = yes; then |
|
|
8200 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
8201 | $as_echo "no" >&6; } |
|
|
8202 | |
|
|
8203 | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
|
|
8204 | _pkg_short_errors_supported=yes |
|
|
8205 | else |
|
|
8206 | _pkg_short_errors_supported=no |
|
|
8207 | fi |
|
|
8208 | if test $_pkg_short_errors_supported = yes; then |
|
|
8209 | LIBCRYPTO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcrypto >= 1" 2>&1` |
|
|
8210 | else |
|
|
8211 | LIBCRYPTO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcrypto >= 1" 2>&1` |
|
|
8212 | fi |
|
|
8213 | # Put the nasty error message in config.log where it belongs |
|
|
8214 | echo "$LIBCRYPTO_PKG_ERRORS" >&5 |
|
|
8215 | |
|
|
8216 | as_fn_error $? "Package requirements (libcrypto >= 1) were not met: |
|
|
8217 | |
|
|
8218 | $LIBCRYPTO_PKG_ERRORS |
|
|
8219 | |
|
|
8220 | Consider adjusting the PKG_CONFIG_PATH environment variable if you |
|
|
8221 | installed software in a non-standard prefix. |
|
|
8222 | |
|
|
8223 | Alternatively, you may set the environment variables LIBCRYPTO_CFLAGS |
|
|
8224 | and LIBCRYPTO_LIBS to avoid the need to call pkg-config. |
|
|
8225 | See the pkg-config man page for more details." "$LINENO" 5 |
|
|
8226 | elif test $pkg_failed = untried; then |
|
|
8227 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
8228 | $as_echo "no" >&6; } |
|
|
8229 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
|
8230 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
|
8231 | as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it |
|
|
8232 | is in your PATH or set the PKG_CONFIG environment variable to the full |
|
|
8233 | path to pkg-config. |
|
|
8234 | |
|
|
8235 | Alternatively, you may set the environment variables LIBCRYPTO_CFLAGS |
|
|
8236 | and LIBCRYPTO_LIBS to avoid the need to call pkg-config. |
|
|
8237 | See the pkg-config man page for more details. |
|
|
8238 | |
|
|
8239 | To get pkg-config, see <http://pkg-config.freedesktop.org/>. |
|
|
8240 | See \`config.log' for more details" "$LINENO" 5; } |
|
|
8241 | else |
|
|
8242 | LIBCRYPTO_CFLAGS=$pkg_cv_LIBCRYPTO_CFLAGS |
|
|
8243 | LIBCRYPTO_LIBS=$pkg_cv_LIBCRYPTO_LIBS |
|
|
8244 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
|
8245 | $as_echo "yes" >&6; } |
|
|
8246 | |
|
|
8247 | fi |
|
|
8248 | |
|
|
8249 | # Check whether --enable-threads was given. |
|
|
8250 | if test "${enable_threads+set}" = set; then : |
|
|
8251 | enableval=$enable_threads; try_threads=$enableval |
|
|
8252 | else |
|
|
8253 | try_threads=yes |
|
|
8254 | |
|
|
8255 | fi |
|
|
8256 | |
|
|
8257 | |
|
|
8258 | if test "x$try_threads" = xyes; then |
|
|
8259 | ac_fn_cxx_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default" |
|
|
8260 | if test "x$ac_cv_header_pthread_h" = xyes; then : |
|
|
8261 | |
|
|
8262 | LIBS="$LIBS -lpthread" |
8215 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
8263 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
8216 | /* end confdefs.h. */ |
8264 | /* end confdefs.h. */ |
8217 | |
8265 | #include <pthread.h> |
8218 | /* Override any GCC internal prototype to avoid an error. |
|
|
8219 | Use char because int might match the return type of a GCC |
|
|
8220 | builtin and then its argument prototype would still apply. */ |
|
|
8221 | #ifdef __cplusplus |
|
|
8222 | extern "C" |
|
|
8223 | #endif |
|
|
8224 | char SHA1_version (); |
|
|
8225 | int |
8266 | int |
8226 | main () |
8267 | main () |
8227 | { |
8268 | { |
8228 | return SHA1_version (); |
8269 | pthread_t id; pthread_create (&id, 0, 0, 0); |
8229 | ; |
8270 | ; |
8230 | return 0; |
8271 | return 0; |
8231 | } |
8272 | } |
8232 | _ACEOF |
8273 | _ACEOF |
8233 | if ac_fn_cxx_try_link "$LINENO"; then : |
8274 | if ac_fn_cxx_try_compile "$LINENO"; then : |
8234 | ac_cv_lib_crypto_SHA1_version=yes |
|
|
8235 | else |
|
|
8236 | ac_cv_lib_crypto_SHA1_version=no |
|
|
8237 | fi |
|
|
8238 | rm -f core conftest.err conftest.$ac_objext \ |
|
|
8239 | conftest$ac_exeext conftest.$ac_ext |
|
|
8240 | LIBS=$ac_check_lib_save_LIBS |
|
|
8241 | fi |
|
|
8242 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_SHA1_version" >&5 |
|
|
8243 | $as_echo "$ac_cv_lib_crypto_SHA1_version" >&6; } |
|
|
8244 | if test "x$ac_cv_lib_crypto_SHA1_version" = x""yes; then : |
|
|
8245 | LIBS="$LIBS -lcrypto" |
|
|
8246 | else |
|
|
8247 | as_fn_error $? "OpenSSL libraries not found." "$LINENO" 5 |
|
|
8248 | |
8275 | |
8249 | fi |
|
|
8250 | |
|
|
8251 | |
|
|
8252 | for ac_func in RAND_pseudo_bytes OPENSSL_add_all_algorithms_noconf OpenSSL_add_all_algorithms SSLeay_add_all_algorithms |
|
|
8253 | do : |
|
|
8254 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
|
|
8255 | ac_fn_cxx_check_func "$LINENO" "$ac_func" "$as_ac_var" |
|
|
8256 | if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
|
|
8257 | cat >>confdefs.h <<_ACEOF |
8276 | cat >>confdefs.h <<_ACEOF |
8258 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
8277 | #define ENABLE_PTHREADS 1 |
8259 | _ACEOF |
8278 | _ACEOF |
8260 | |
8279 | |
8261 | fi |
|
|
8262 | done |
|
|
8263 | |
8280 | |
8264 | |
|
|
8265 | ac_fn_cxx_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" |
|
|
8266 | if test "x$ac_cv_func_dlopen" = x""yes; then : |
|
|
8267 | |
|
|
8268 | else |
|
|
8269 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 |
|
|
8270 | $as_echo_n "checking for dlopen in -ldl... " >&6; } |
|
|
8271 | if test "${ac_cv_lib_dl_dlopen+set}" = set; then : |
|
|
8272 | $as_echo_n "(cached) " >&6 |
|
|
8273 | else |
|
|
8274 | ac_check_lib_save_LIBS=$LIBS |
|
|
8275 | LIBS="-ldl $LIBS" |
|
|
8276 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
8277 | /* end confdefs.h. */ |
|
|
8278 | |
|
|
8279 | /* Override any GCC internal prototype to avoid an error. |
|
|
8280 | Use char because int might match the return type of a GCC |
|
|
8281 | builtin and then its argument prototype would still apply. */ |
|
|
8282 | #ifdef __cplusplus |
|
|
8283 | extern "C" |
|
|
8284 | #endif |
|
|
8285 | char dlopen (); |
|
|
8286 | int |
|
|
8287 | main () |
|
|
8288 | { |
|
|
8289 | return dlopen (); |
|
|
8290 | ; |
|
|
8291 | return 0; |
|
|
8292 | } |
|
|
8293 | _ACEOF |
|
|
8294 | if ac_fn_cxx_try_link "$LINENO"; then : |
|
|
8295 | ac_cv_lib_dl_dlopen=yes |
|
|
8296 | else |
|
|
8297 | ac_cv_lib_dl_dlopen=no |
|
|
8298 | fi |
8281 | fi |
8299 | rm -f core conftest.err conftest.$ac_objext \ |
8282 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
8300 | conftest$ac_exeext conftest.$ac_ext |
|
|
8301 | LIBS=$ac_check_lib_save_LIBS |
|
|
8302 | fi |
|
|
8303 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 |
|
|
8304 | $as_echo "$ac_cv_lib_dl_dlopen" >&6; } |
|
|
8305 | if test "x$ac_cv_lib_dl_dlopen" = x""yes; then : |
|
|
8306 | LIBS="$LIBS -ldl" |
|
|
8307 | else |
|
|
8308 | as_fn_error $? "OpenSSL depends on libdl." "$LINENO" 5 |
|
|
8309 | |
8283 | |
8310 | fi |
8284 | fi |
8311 | |
8285 | |
8312 | |
8286 | |
8313 | fi |
|
|
8314 | |
|
|
8315 | |
|
|
8316 | ac_fn_cxx_check_func "$LINENO" "inflate" "ac_cv_func_inflate" |
|
|
8317 | if test "x$ac_cv_func_inflate" = x""yes; then : |
|
|
8318 | |
|
|
8319 | else |
|
|
8320 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5 |
|
|
8321 | $as_echo_n "checking for inflate in -lz... " >&6; } |
|
|
8322 | if test "${ac_cv_lib_z_inflate+set}" = set; then : |
|
|
8323 | $as_echo_n "(cached) " >&6 |
|
|
8324 | else |
|
|
8325 | ac_check_lib_save_LIBS=$LIBS |
|
|
8326 | LIBS="-lz $LIBS" |
|
|
8327 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
8328 | /* end confdefs.h. */ |
|
|
8329 | |
|
|
8330 | /* Override any GCC internal prototype to avoid an error. |
|
|
8331 | Use char because int might match the return type of a GCC |
|
|
8332 | builtin and then its argument prototype would still apply. */ |
|
|
8333 | #ifdef __cplusplus |
|
|
8334 | extern "C" |
|
|
8335 | #endif |
|
|
8336 | char inflate (); |
|
|
8337 | int |
|
|
8338 | main () |
|
|
8339 | { |
|
|
8340 | return inflate (); |
|
|
8341 | ; |
|
|
8342 | return 0; |
|
|
8343 | } |
|
|
8344 | _ACEOF |
|
|
8345 | if ac_fn_cxx_try_link "$LINENO"; then : |
|
|
8346 | ac_cv_lib_z_inflate=yes |
|
|
8347 | else |
|
|
8348 | ac_cv_lib_z_inflate=no |
|
|
8349 | fi |
|
|
8350 | rm -f core conftest.err conftest.$ac_objext \ |
|
|
8351 | conftest$ac_exeext conftest.$ac_ext |
|
|
8352 | LIBS=$ac_check_lib_save_LIBS |
|
|
8353 | fi |
|
|
8354 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5 |
|
|
8355 | $as_echo "$ac_cv_lib_z_inflate" >&6; } |
|
|
8356 | if test "x$ac_cv_lib_z_inflate" = x""yes; then : |
|
|
8357 | LIBS="$LIBS -lz" |
|
|
8358 | else |
|
|
8359 | as_fn_error $? "OpenSSL depends on libz." "$LINENO" 5 |
|
|
8360 | |
|
|
8361 | fi |
|
|
8362 | |
|
|
8363 | |
|
|
8364 | fi |
|
|
8365 | |
|
|
8366 | |
|
|
8367 | if test "x$openssl_include" != x; then |
|
|
8368 | CXXFLAGS="$CXXFLAGS -I$openssl_include" |
|
|
8369 | fi |
8287 | fi |
8370 | |
8288 | |
8371 | # Check whether --enable-static-daemon was given. |
8289 | # Check whether --enable-static-daemon was given. |
8372 | if test "${enable_static_daemon+set}" = set; then : |
8290 | if test "${enable_static_daemon+set}" = set; then : |
8373 | enableval=$enable_static_daemon; LDFLAGS_DAEMON=-static |
8291 | enableval=$enable_static_daemon; LDFLAGS_DAEMON=-static |
… | |
… | |
8375 | fi |
8293 | fi |
8376 | |
8294 | |
8377 | |
8295 | |
8378 | |
8296 | |
8379 | |
8297 | |
|
|
8298 | |
|
|
8299 | |
8380 | if test x$rohc = xtrue; then |
8300 | if test x$rohc = xtrue; then |
8381 | ROHC_TRUE= |
8301 | ROHC_TRUE= |
8382 | ROHC_FALSE='#' |
8302 | ROHC_FALSE='#' |
8383 | else |
8303 | else |
8384 | ROHC_TRUE='#' |
8304 | ROHC_TRUE='#' |
8385 | ROHC_FALSE= |
8305 | ROHC_FALSE= |
… | |
… | |
8440 | |
8360 | |
8441 | # Check whether --enable-dns was given. |
8361 | # Check whether --enable-dns was given. |
8442 | if test "${enable_dns+set}" = set; then : |
8362 | if test "${enable_dns+set}" = set; then : |
8443 | enableval=$enable_dns; |
8363 | enableval=$enable_dns; |
8444 | ac_fn_cxx_check_header_mongrel "$LINENO" "gmp.h" "ac_cv_header_gmp_h" "$ac_includes_default" |
8364 | ac_fn_cxx_check_header_mongrel "$LINENO" "gmp.h" "ac_cv_header_gmp_h" "$ac_includes_default" |
8445 | if test "x$ac_cv_header_gmp_h" = x""yes; then : |
8365 | if test "x$ac_cv_header_gmp_h" = xyes; then : |
8446 | |
8366 | |
8447 | else |
8367 | else |
8448 | as_fn_error $? "gmp.h not found, required for --enable-dns" "$LINENO" 5 |
8368 | as_fn_error $? "gmp.h not found, required for --enable-dns" "$LINENO" 5 |
8449 | fi |
8369 | fi |
8450 | |
8370 | |
8451 | |
8371 | |
8452 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lgmp" >&5 |
8372 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lgmp" >&5 |
8453 | $as_echo_n "checking for main in -lgmp... " >&6; } |
8373 | $as_echo_n "checking for main in -lgmp... " >&6; } |
8454 | if test "${ac_cv_lib_gmp_main+set}" = set; then : |
8374 | if ${ac_cv_lib_gmp_main+:} false; then : |
8455 | $as_echo_n "(cached) " >&6 |
8375 | $as_echo_n "(cached) " >&6 |
8456 | else |
8376 | else |
8457 | ac_check_lib_save_LIBS=$LIBS |
8377 | ac_check_lib_save_LIBS=$LIBS |
8458 | LIBS="-lgmp $LIBS" |
8378 | LIBS="-lgmp $LIBS" |
8459 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
8379 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
… | |
… | |
8477 | conftest$ac_exeext conftest.$ac_ext |
8397 | conftest$ac_exeext conftest.$ac_ext |
8478 | LIBS=$ac_check_lib_save_LIBS |
8398 | LIBS=$ac_check_lib_save_LIBS |
8479 | fi |
8399 | fi |
8480 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gmp_main" >&5 |
8400 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gmp_main" >&5 |
8481 | $as_echo "$ac_cv_lib_gmp_main" >&6; } |
8401 | $as_echo "$ac_cv_lib_gmp_main" >&6; } |
8482 | if test "x$ac_cv_lib_gmp_main" = x""yes; then : |
8402 | if test "x$ac_cv_lib_gmp_main" = xyes; then : |
8483 | cat >>confdefs.h <<_ACEOF |
8403 | cat >>confdefs.h <<_ACEOF |
8484 | #define HAVE_LIBGMP 1 |
8404 | #define HAVE_LIBGMP 1 |
8485 | _ACEOF |
8405 | _ACEOF |
8486 | |
8406 | |
8487 | LIBS="-lgmp $LIBS" |
8407 | LIBS="-lgmp $LIBS" |
… | |
… | |
8499 | |
8419 | |
8500 | |
8420 | |
8501 | fi |
8421 | fi |
8502 | |
8422 | |
8503 | |
8423 | |
|
|
8424 | RSA=3072 |
|
|
8425 | # Check whether --enable-rsa-length was given. |
|
|
8426 | if test "${enable_rsa_length+set}" = set; then : |
|
|
8427 | enableval=$enable_rsa_length; RSA=$enableval |
|
|
8428 | |
|
|
8429 | fi |
|
|
8430 | |
|
|
8431 | |
|
|
8432 | cat >>confdefs.h <<_ACEOF |
|
|
8433 | #define RSABITS $RSA |
|
|
8434 | _ACEOF |
|
|
8435 | |
|
|
8436 | |
8504 | HMAC=12 |
8437 | HMACSIZE=12 |
8505 | # Check whether --enable-hmac-length was given. |
8438 | # Check whether --enable-hmac-length was given. |
8506 | if test "${enable_hmac_length+set}" = set; then : |
8439 | if test "${enable_hmac_length+set}" = set; then : |
8507 | enableval=$enable_hmac_length; HMAC=$enableval |
8440 | enableval=$enable_hmac_length; HMACSIZE=$enableval |
8508 | |
8441 | |
8509 | fi |
8442 | fi |
8510 | |
8443 | |
8511 | |
8444 | |
8512 | cat >>confdefs.h <<_ACEOF |
8445 | cat >>confdefs.h <<_ACEOF |
8513 | #define HMACLENGTH $HMAC |
8446 | #define HMACLENGTH $HMACSIZE |
8514 | _ACEOF |
|
|
8515 | |
|
|
8516 | |
|
|
8517 | RAND=8 |
|
|
8518 | # Check whether --enable-rand-length was given. |
|
|
8519 | if test "${enable_rand_length+set}" = set; then : |
|
|
8520 | enableval=$enable_rand_length; RAND=$enableval |
|
|
8521 | |
|
|
8522 | fi |
|
|
8523 | |
|
|
8524 | |
|
|
8525 | cat >>confdefs.h <<_ACEOF |
|
|
8526 | #define RAND_SIZE $RAND |
|
|
8527 | _ACEOF |
8447 | _ACEOF |
8528 | |
8448 | |
8529 | |
8449 | |
8530 | MTU=1500 |
8450 | MTU=1500 |
8531 | # Check whether --enable-max-mtu was given. |
8451 | # Check whether --enable-max-mtu was given. |
… | |
… | |
8534 | |
8454 | |
8535 | fi |
8455 | fi |
8536 | |
8456 | |
8537 | |
8457 | |
8538 | cat >>confdefs.h <<_ACEOF |
8458 | cat >>confdefs.h <<_ACEOF |
8539 | #define MAX_MTU $MTU + 14 |
8459 | #define MAX_MTU ($MTU + 14) |
8540 | _ACEOF |
8460 | _ACEOF |
8541 | |
8461 | |
8542 | |
8462 | |
8543 | COMPRESS=1 |
8463 | COMPRESS=1 |
8544 | # Check whether --enable-compression was given. |
8464 | # Check whether --enable-compression was given. |
… | |
… | |
8553 | cat >>confdefs.h <<_ACEOF |
8473 | cat >>confdefs.h <<_ACEOF |
8554 | #define ENABLE_COMPRESSION $COMPRESS |
8474 | #define ENABLE_COMPRESSION $COMPRESS |
8555 | _ACEOF |
8475 | _ACEOF |
8556 | |
8476 | |
8557 | |
8477 | |
8558 | CIPHER=aes_128_cbc |
8478 | CIPHER=aes_128_ctr |
8559 | # Check whether --enable-cipher was given. |
8479 | # Check whether --enable-cipher was given. |
8560 | if test "${enable_cipher+set}" = set; then : |
8480 | if test "${enable_cipher+set}" = set; then : |
8561 | enableval=$enable_cipher; if test "x$enableval" = xbf ; then CIPHER=bf_cbc ; fi |
8481 | enableval=$enable_cipher; #if test "x$enableval" = xbf ; then CIPHER=bf_ctr ; fi |
8562 | if test "x$enableval" = xaes-128; then CIPHER=aes_128_cbc; fi |
8482 | if test "x$enableval" = xaes-128 ; then CIPHER=aes_128_ctr ; fi |
8563 | if test "x$enableval" = xaes-192; then CIPHER=aes_192_cbc; fi |
8483 | if test "x$enableval" = xaes-192 ; then CIPHER=aes_192_ctr ; fi |
8564 | if test "x$enableval" = xaes-256; then CIPHER=aes_256_cbc; fi |
8484 | if test "x$enableval" = xaes-256 ; then CIPHER=aes_256_ctr ; fi |
|
|
8485 | #if test "x$enableval" = xcamellia-128; then CIPHER=camellia_128_ctr; fi |
|
|
8486 | #if test "x$enableval" = xcamellia-256; then CIPHER=camellia_256_ctr; fi |
8565 | |
8487 | |
8566 | fi |
8488 | fi |
8567 | |
8489 | |
8568 | |
8490 | |
8569 | cat >>confdefs.h <<_ACEOF |
8491 | cat >>confdefs.h <<_ACEOF |
8570 | #define ENABLE_CIPHER EVP_${CIPHER} |
8492 | #define ENABLE_CIPHER EVP_${CIPHER} |
8571 | _ACEOF |
8493 | _ACEOF |
8572 | |
8494 | |
8573 | |
8495 | |
8574 | DIGEST=ripemd160 |
8496 | HMAC=sha1 |
8575 | # Check whether --enable-digest was given. |
8497 | # Check whether --enable-hmac-digest was given. |
8576 | if test "${enable_digest+set}" = set; then : |
8498 | if test "${enable_hmac_digest+set}" = set; then : |
|
|
8499 | enableval=$enable_hmac_digest; if test "x$enableval" = xwhirlpool; then HMAC=whirlpool; fi |
8577 | enableval=$enable_digest; if test "x$enableval" = xsha512 ; then DIGEST=sha512 ; fi |
8500 | if test "x$enableval" = xsha512 ; then HMAC=sha512 ; fi |
8578 | if test "x$enableval" = xsha256 ; then DIGEST=sha256 ; fi |
8501 | if test "x$enableval" = xsha256 ; then HMAC=sha256 ; fi |
8579 | if test "x$enableval" = xsha1 ; then DIGEST=sha1 ; fi |
8502 | if test "x$enableval" = xsha1 ; then HMAC=sha1 ; fi |
8580 | if test "x$enableval" = xripemd160; then DIGEST=ripemd160; fi |
8503 | if test "x$enableval" = xripemd160; then HMAC=ripemd160; fi |
8581 | if test "x$enableval" = xmd5 ; then DIGEST=md5 ; fi |
|
|
8582 | if test "x$enableval" = xmd4 ; then DIGEST=md4 ; fi |
|
|
8583 | |
8504 | |
8584 | fi |
8505 | fi |
8585 | |
8506 | |
8586 | |
8507 | |
8587 | cat >>confdefs.h <<_ACEOF |
8508 | cat >>confdefs.h <<_ACEOF |
|
|
8509 | #define ENABLE_HMAC EVP_${HMAC} |
|
|
8510 | _ACEOF |
|
|
8511 | |
|
|
8512 | |
|
|
8513 | AUTH=sha512 |
|
|
8514 | # Check whether --enable-auth-digest was given. |
|
|
8515 | if test "${enable_auth_digest+set}" = set; then : |
|
|
8516 | enableval=$enable_auth_digest; if test "x$enableval" = xwhirlpool; then AUTH=whirlpool; fi |
|
|
8517 | if test "x$enableval" = xsha512 ; then AUTH=sha512 ; fi |
|
|
8518 | if test "x$enableval" = xsha256 ; then AUTH=sha256 ; fi |
|
|
8519 | |
|
|
8520 | fi |
|
|
8521 | |
|
|
8522 | |
|
|
8523 | cat >>confdefs.h <<_ACEOF |
8588 | #define ENABLE_DIGEST EVP_${DIGEST} |
8524 | #define ENABLE_AUTH EVP_${AUTH} |
8589 | _ACEOF |
8525 | _ACEOF |
8590 | |
8526 | |
8591 | |
8527 | |
8592 | if $CXX -v --help 2>&1 | grep -q fno-rtti; then |
8528 | if $CXX -v --help 2>&1 | grep -q fno-rtti; then |
8593 | CXXFLAGS="$CXXFLAGS -fno-rtti" |
8529 | CXXFLAGS="$CXXFLAGS -fno-rtti" |
… | |
… | |
8666 | t end |
8602 | t end |
8667 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
8603 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
8668 | :end' >>confcache |
8604 | :end' >>confcache |
8669 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
8605 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
8670 | if test -w "$cache_file"; then |
8606 | if test -w "$cache_file"; then |
8671 | test "x$cache_file" != "x/dev/null" && |
8607 | if test "x$cache_file" != "x/dev/null"; then |
8672 | { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
8608 | { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
8673 | $as_echo "$as_me: updating cache $cache_file" >&6;} |
8609 | $as_echo "$as_me: updating cache $cache_file" >&6;} |
|
|
8610 | if test ! -f "$cache_file" || test -h "$cache_file"; then |
8674 | cat confcache >$cache_file |
8611 | cat confcache >"$cache_file" |
|
|
8612 | else |
|
|
8613 | case $cache_file in #( |
|
|
8614 | */* | ?:*) |
|
|
8615 | mv -f confcache "$cache_file"$$ && |
|
|
8616 | mv -f "$cache_file"$$ "$cache_file" ;; #( |
|
|
8617 | *) |
|
|
8618 | mv -f confcache "$cache_file" ;; |
|
|
8619 | esac |
|
|
8620 | fi |
|
|
8621 | fi |
8675 | else |
8622 | else |
8676 | { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
8623 | { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
8677 | $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
8624 | $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
8678 | fi |
8625 | fi |
8679 | fi |
8626 | fi |
… | |
… | |
8700 | LIBOBJS=$ac_libobjs |
8647 | LIBOBJS=$ac_libobjs |
8701 | |
8648 | |
8702 | LTLIBOBJS=$ac_ltlibobjs |
8649 | LTLIBOBJS=$ac_ltlibobjs |
8703 | |
8650 | |
8704 | |
8651 | |
8705 | if test -n "$EXEEXT"; then |
|
|
8706 | am__EXEEXT_TRUE= |
|
|
8707 | am__EXEEXT_FALSE='#' |
|
|
8708 | else |
|
|
8709 | am__EXEEXT_TRUE='#' |
|
|
8710 | am__EXEEXT_FALSE= |
|
|
8711 | fi |
|
|
8712 | |
|
|
8713 | if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then |
8652 | if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then |
8714 | as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. |
8653 | as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. |
8715 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
8654 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
8716 | fi |
8655 | fi |
8717 | if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then |
8656 | if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then |
… | |
… | |
8729 | if test -z "${ROHC_TRUE}" && test -z "${ROHC_FALSE}"; then |
8668 | if test -z "${ROHC_TRUE}" && test -z "${ROHC_FALSE}"; then |
8730 | as_fn_error $? "conditional \"ROHC\" was never defined. |
8669 | as_fn_error $? "conditional \"ROHC\" was never defined. |
8731 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
8670 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
8732 | fi |
8671 | fi |
8733 | |
8672 | |
8734 | : ${CONFIG_STATUS=./config.status} |
8673 | : "${CONFIG_STATUS=./config.status}" |
8735 | ac_write_fail=0 |
8674 | ac_write_fail=0 |
8736 | ac_clean_files_save=$ac_clean_files |
8675 | ac_clean_files_save=$ac_clean_files |
8737 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
8676 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
8738 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 |
8677 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 |
8739 | $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} |
8678 | $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} |
… | |
… | |
8830 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
8769 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
8831 | # splitting by setting IFS to empty value.) |
8770 | # splitting by setting IFS to empty value.) |
8832 | IFS=" "" $as_nl" |
8771 | IFS=" "" $as_nl" |
8833 | |
8772 | |
8834 | # Find who we are. Look in the path if we contain no directory separator. |
8773 | # Find who we are. Look in the path if we contain no directory separator. |
|
|
8774 | as_myself= |
8835 | case $0 in #(( |
8775 | case $0 in #(( |
8836 | *[\\/]* ) as_myself=$0 ;; |
8776 | *[\\/]* ) as_myself=$0 ;; |
8837 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
8777 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
8838 | for as_dir in $PATH |
8778 | for as_dir in $PATH |
8839 | do |
8779 | do |
… | |
… | |
9025 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
8965 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
9026 | as_ln_s='ln -s' |
8966 | as_ln_s='ln -s' |
9027 | # ... but there are two gotchas: |
8967 | # ... but there are two gotchas: |
9028 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
8968 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
9029 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
8969 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
9030 | # In both cases, we have to default to `cp -p'. |
8970 | # In both cases, we have to default to `cp -pR'. |
9031 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
8971 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
9032 | as_ln_s='cp -p' |
8972 | as_ln_s='cp -pR' |
9033 | elif ln conf$$.file conf$$ 2>/dev/null; then |
8973 | elif ln conf$$.file conf$$ 2>/dev/null; then |
9034 | as_ln_s=ln |
8974 | as_ln_s=ln |
9035 | else |
8975 | else |
9036 | as_ln_s='cp -p' |
8976 | as_ln_s='cp -pR' |
9037 | fi |
8977 | fi |
9038 | else |
8978 | else |
9039 | as_ln_s='cp -p' |
8979 | as_ln_s='cp -pR' |
9040 | fi |
8980 | fi |
9041 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
8981 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
9042 | rmdir conf$$.dir 2>/dev/null |
8982 | rmdir conf$$.dir 2>/dev/null |
9043 | |
8983 | |
9044 | |
8984 | |
… | |
… | |
9094 | else |
9034 | else |
9095 | test -d ./-p && rmdir ./-p |
9035 | test -d ./-p && rmdir ./-p |
9096 | as_mkdir_p=false |
9036 | as_mkdir_p=false |
9097 | fi |
9037 | fi |
9098 | |
9038 | |
9099 | if test -x / >/dev/null 2>&1; then |
9039 | |
|
|
9040 | # as_fn_executable_p FILE |
|
|
9041 | # ----------------------- |
|
|
9042 | # Test if FILE is an executable regular file. |
|
|
9043 | as_fn_executable_p () |
|
|
9044 | { |
|
|
9045 | test -f "$1" && test -x "$1" |
|
|
9046 | } # as_fn_executable_p |
9100 | as_test_x='test -x' |
9047 | as_test_x='test -x' |
9101 | else |
9048 | as_executable_p=as_fn_executable_p |
9102 | if ls -dL / >/dev/null 2>&1; then |
|
|
9103 | as_ls_L_option=L |
|
|
9104 | else |
|
|
9105 | as_ls_L_option= |
|
|
9106 | fi |
|
|
9107 | as_test_x=' |
|
|
9108 | eval sh -c '\'' |
|
|
9109 | if test -d "$1"; then |
|
|
9110 | test -d "$1/."; |
|
|
9111 | else |
|
|
9112 | case $1 in #( |
|
|
9113 | -*)set "./$1";; |
|
|
9114 | esac; |
|
|
9115 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( |
|
|
9116 | ???[sx]*):;;*)false;;esac;fi |
|
|
9117 | '\'' sh |
|
|
9118 | ' |
|
|
9119 | fi |
|
|
9120 | as_executable_p=$as_test_x |
|
|
9121 | |
9049 | |
9122 | # Sed expression to map a string onto a valid CPP name. |
9050 | # Sed expression to map a string onto a valid CPP name. |
9123 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
9051 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
9124 | |
9052 | |
9125 | # Sed expression to map a string onto a valid variable name. |
9053 | # Sed expression to map a string onto a valid variable name. |
… | |
… | |
9137 | # Save the log message, to keep $0 and so on meaningful, and to |
9065 | # Save the log message, to keep $0 and so on meaningful, and to |
9138 | # report actual input values of CONFIG_FILES etc. instead of their |
9066 | # report actual input values of CONFIG_FILES etc. instead of their |
9139 | # values after options handling. |
9067 | # values after options handling. |
9140 | ac_log=" |
9068 | ac_log=" |
9141 | This file was extended by $as_me, which was |
9069 | This file was extended by $as_me, which was |
9142 | generated by GNU Autoconf 2.67. Invocation command line was |
9070 | generated by GNU Autoconf 2.69. Invocation command line was |
9143 | |
9071 | |
9144 | CONFIG_FILES = $CONFIG_FILES |
9072 | CONFIG_FILES = $CONFIG_FILES |
9145 | CONFIG_HEADERS = $CONFIG_HEADERS |
9073 | CONFIG_HEADERS = $CONFIG_HEADERS |
9146 | CONFIG_LINKS = $CONFIG_LINKS |
9074 | CONFIG_LINKS = $CONFIG_LINKS |
9147 | CONFIG_COMMANDS = $CONFIG_COMMANDS |
9075 | CONFIG_COMMANDS = $CONFIG_COMMANDS |
… | |
… | |
9203 | _ACEOF |
9131 | _ACEOF |
9204 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
9132 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
9205 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
9133 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
9206 | ac_cs_version="\\ |
9134 | ac_cs_version="\\ |
9207 | config.status |
9135 | config.status |
9208 | configured by $0, generated by GNU Autoconf 2.67, |
9136 | configured by $0, generated by GNU Autoconf 2.69, |
9209 | with options \\"\$ac_cs_config\\" |
9137 | with options \\"\$ac_cs_config\\" |
9210 | |
9138 | |
9211 | Copyright (C) 2010 Free Software Foundation, Inc. |
9139 | Copyright (C) 2012 Free Software Foundation, Inc. |
9212 | This config.status script is free software; the Free Software Foundation |
9140 | This config.status script is free software; the Free Software Foundation |
9213 | gives unlimited permission to copy, distribute and modify it." |
9141 | gives unlimited permission to copy, distribute and modify it." |
9214 | |
9142 | |
9215 | ac_pwd='$ac_pwd' |
9143 | ac_pwd='$ac_pwd' |
9216 | srcdir='$srcdir' |
9144 | srcdir='$srcdir' |
9217 | INSTALL='$INSTALL' |
9145 | INSTALL='$INSTALL' |
9218 | MKDIR_P='$MKDIR_P' |
|
|
9219 | AWK='$AWK' |
9146 | AWK='$AWK' |
9220 | test -n "\$AWK" || AWK=awk |
9147 | test -n "\$AWK" || AWK=awk |
9221 | _ACEOF |
9148 | _ACEOF |
9222 | |
9149 | |
9223 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
9150 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
… | |
… | |
9297 | fi |
9224 | fi |
9298 | |
9225 | |
9299 | _ACEOF |
9226 | _ACEOF |
9300 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
9227 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
9301 | if \$ac_cs_recheck; then |
9228 | if \$ac_cs_recheck; then |
9302 | set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
9229 | set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
9303 | shift |
9230 | shift |
9304 | \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 |
9231 | \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 |
9305 | CONFIG_SHELL='$SHELL' |
9232 | CONFIG_SHELL='$SHELL' |
9306 | export CONFIG_SHELL |
9233 | export CONFIG_SHELL |
9307 | exec "\$@" |
9234 | exec "\$@" |
… | |
… | |
9348 | "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
9275 | "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
9349 | "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; |
9276 | "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; |
9350 | "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;; |
9277 | "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;; |
9351 | "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;; |
9278 | "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;; |
9352 | |
9279 | |
9353 | *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;; |
9280 | *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
9354 | esac |
9281 | esac |
9355 | done |
9282 | done |
9356 | |
9283 | |
9357 | |
9284 | |
9358 | # If the user did not use the arguments to specify the items to instantiate, |
9285 | # If the user did not use the arguments to specify the items to instantiate, |
… | |
… | |
9371 | # Hook for its removal unless debugging. |
9298 | # Hook for its removal unless debugging. |
9372 | # Note that there is a small window in which the directory will not be cleaned: |
9299 | # Note that there is a small window in which the directory will not be cleaned: |
9373 | # after its creation but before its name has been assigned to `$tmp'. |
9300 | # after its creation but before its name has been assigned to `$tmp'. |
9374 | $debug || |
9301 | $debug || |
9375 | { |
9302 | { |
9376 | tmp= |
9303 | tmp= ac_tmp= |
9377 | trap 'exit_status=$? |
9304 | trap 'exit_status=$? |
|
|
9305 | : "${ac_tmp:=$tmp}" |
9378 | { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status |
9306 | { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status |
9379 | ' 0 |
9307 | ' 0 |
9380 | trap 'as_fn_exit 1' 1 2 13 15 |
9308 | trap 'as_fn_exit 1' 1 2 13 15 |
9381 | } |
9309 | } |
9382 | # Create a (secure) tmp directory for tmp files. |
9310 | # Create a (secure) tmp directory for tmp files. |
9383 | |
9311 | |
9384 | { |
9312 | { |
9385 | tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
9313 | tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
9386 | test -n "$tmp" && test -d "$tmp" |
9314 | test -d "$tmp" |
9387 | } || |
9315 | } || |
9388 | { |
9316 | { |
9389 | tmp=./conf$$-$RANDOM |
9317 | tmp=./conf$$-$RANDOM |
9390 | (umask 077 && mkdir "$tmp") |
9318 | (umask 077 && mkdir "$tmp") |
9391 | } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 |
9319 | } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 |
|
|
9320 | ac_tmp=$tmp |
9392 | |
9321 | |
9393 | # Set up the scripts for CONFIG_FILES section. |
9322 | # Set up the scripts for CONFIG_FILES section. |
9394 | # No need to generate them if there are no CONFIG_FILES. |
9323 | # No need to generate them if there are no CONFIG_FILES. |
9395 | # This happens for instance with `./config.status config.h'. |
9324 | # This happens for instance with `./config.status config.h'. |
9396 | if test -n "$CONFIG_FILES"; then |
9325 | if test -n "$CONFIG_FILES"; then |
… | |
… | |
9408 | ac_cs_awk_cr='\\r' |
9337 | ac_cs_awk_cr='\\r' |
9409 | else |
9338 | else |
9410 | ac_cs_awk_cr=$ac_cr |
9339 | ac_cs_awk_cr=$ac_cr |
9411 | fi |
9340 | fi |
9412 | |
9341 | |
9413 | echo 'BEGIN {' >"$tmp/subs1.awk" && |
9342 | echo 'BEGIN {' >"$ac_tmp/subs1.awk" && |
9414 | _ACEOF |
9343 | _ACEOF |
9415 | |
9344 | |
9416 | |
9345 | |
9417 | { |
9346 | { |
9418 | echo "cat >conf$$subs.awk <<_ACEOF" && |
9347 | echo "cat >conf$$subs.awk <<_ACEOF" && |
… | |
… | |
9436 | fi |
9365 | fi |
9437 | done |
9366 | done |
9438 | rm -f conf$$subs.sh |
9367 | rm -f conf$$subs.sh |
9439 | |
9368 | |
9440 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
9369 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
9441 | cat >>"\$tmp/subs1.awk" <<\\_ACAWK && |
9370 | cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && |
9442 | _ACEOF |
9371 | _ACEOF |
9443 | sed -n ' |
9372 | sed -n ' |
9444 | h |
9373 | h |
9445 | s/^/S["/; s/!.*/"]=/ |
9374 | s/^/S["/; s/!.*/"]=/ |
9446 | p |
9375 | p |
… | |
… | |
9484 | } |
9413 | } |
9485 | ' >>$CONFIG_STATUS || ac_write_fail=1 |
9414 | ' >>$CONFIG_STATUS || ac_write_fail=1 |
9486 | rm -f conf$$subs.awk |
9415 | rm -f conf$$subs.awk |
9487 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
9416 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
9488 | _ACAWK |
9417 | _ACAWK |
9489 | cat >>"\$tmp/subs1.awk" <<_ACAWK && |
9418 | cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && |
9490 | for (key in S) S_is_set[key] = 1 |
9419 | for (key in S) S_is_set[key] = 1 |
9491 | FS = "" |
9420 | FS = "" |
9492 | |
9421 | |
9493 | } |
9422 | } |
9494 | { |
9423 | { |
… | |
… | |
9516 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
9445 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
9517 | if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then |
9446 | if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then |
9518 | sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" |
9447 | sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" |
9519 | else |
9448 | else |
9520 | cat |
9449 | cat |
9521 | fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ |
9450 | fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ |
9522 | || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 |
9451 | || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 |
9523 | _ACEOF |
9452 | _ACEOF |
9524 | |
9453 | |
9525 | # VPATH may cause trouble with some makes, so we remove sole $(srcdir), |
9454 | # VPATH may cause trouble with some makes, so we remove sole $(srcdir), |
9526 | # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and |
9455 | # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and |
… | |
… | |
9550 | |
9479 | |
9551 | # Set up the scripts for CONFIG_HEADERS section. |
9480 | # Set up the scripts for CONFIG_HEADERS section. |
9552 | # No need to generate them if there are no CONFIG_HEADERS. |
9481 | # No need to generate them if there are no CONFIG_HEADERS. |
9553 | # This happens for instance with `./config.status Makefile'. |
9482 | # This happens for instance with `./config.status Makefile'. |
9554 | if test -n "$CONFIG_HEADERS"; then |
9483 | if test -n "$CONFIG_HEADERS"; then |
9555 | cat >"$tmp/defines.awk" <<\_ACAWK || |
9484 | cat >"$ac_tmp/defines.awk" <<\_ACAWK || |
9556 | BEGIN { |
9485 | BEGIN { |
9557 | _ACEOF |
9486 | _ACEOF |
9558 | |
9487 | |
9559 | # Transform confdefs.h into an awk script `defines.awk', embedded as |
9488 | # Transform confdefs.h into an awk script `defines.awk', embedded as |
9560 | # here-document in config.status, that substitutes the proper values into |
9489 | # here-document in config.status, that substitutes the proper values into |
… | |
… | |
9562 | |
9491 | |
9563 | # Create a delimiter string that does not exist in confdefs.h, to ease |
9492 | # Create a delimiter string that does not exist in confdefs.h, to ease |
9564 | # handling of long lines. |
9493 | # handling of long lines. |
9565 | ac_delim='%!_!# ' |
9494 | ac_delim='%!_!# ' |
9566 | for ac_last_try in false false :; do |
9495 | for ac_last_try in false false :; do |
9567 | ac_t=`sed -n "/$ac_delim/p" confdefs.h` |
9496 | ac_tt=`sed -n "/$ac_delim/p" confdefs.h` |
9568 | if test -z "$ac_t"; then |
9497 | if test -z "$ac_tt"; then |
9569 | break |
9498 | break |
9570 | elif $ac_last_try; then |
9499 | elif $ac_last_try; then |
9571 | as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 |
9500 | as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 |
9572 | else |
9501 | else |
9573 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
9502 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
… | |
… | |
9664 | case $ac_tag in |
9593 | case $ac_tag in |
9665 | :[FHLC]) ac_mode=$ac_tag; continue;; |
9594 | :[FHLC]) ac_mode=$ac_tag; continue;; |
9666 | esac |
9595 | esac |
9667 | case $ac_mode$ac_tag in |
9596 | case $ac_mode$ac_tag in |
9668 | :[FHL]*:*);; |
9597 | :[FHL]*:*);; |
9669 | :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;; |
9598 | :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; |
9670 | :[FH]-) ac_tag=-:-;; |
9599 | :[FH]-) ac_tag=-:-;; |
9671 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
9600 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
9672 | esac |
9601 | esac |
9673 | ac_save_IFS=$IFS |
9602 | ac_save_IFS=$IFS |
9674 | IFS=: |
9603 | IFS=: |
… | |
… | |
9683 | :[FH]) |
9612 | :[FH]) |
9684 | ac_file_inputs= |
9613 | ac_file_inputs= |
9685 | for ac_f |
9614 | for ac_f |
9686 | do |
9615 | do |
9687 | case $ac_f in |
9616 | case $ac_f in |
9688 | -) ac_f="$tmp/stdin";; |
9617 | -) ac_f="$ac_tmp/stdin";; |
9689 | *) # Look for the file first in the build tree, then in the source tree |
9618 | *) # Look for the file first in the build tree, then in the source tree |
9690 | # (if the path is not absolute). The absolute path cannot be DOS-style, |
9619 | # (if the path is not absolute). The absolute path cannot be DOS-style, |
9691 | # because $ac_f cannot contain `:'. |
9620 | # because $ac_f cannot contain `:'. |
9692 | test -f "$ac_f" || |
9621 | test -f "$ac_f" || |
9693 | case $ac_f in |
9622 | case $ac_f in |
9694 | [\\/$]*) false;; |
9623 | [\\/$]*) false;; |
9695 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
9624 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
9696 | esac || |
9625 | esac || |
9697 | as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;; |
9626 | as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; |
9698 | esac |
9627 | esac |
9699 | case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
9628 | case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
9700 | as_fn_append ac_file_inputs " '$ac_f'" |
9629 | as_fn_append ac_file_inputs " '$ac_f'" |
9701 | done |
9630 | done |
9702 | |
9631 | |
… | |
… | |
9718 | sed 's/[\\\\&|]/\\\\&/g'`;; #( |
9647 | sed 's/[\\\\&|]/\\\\&/g'`;; #( |
9719 | *) ac_sed_conf_input=$configure_input;; |
9648 | *) ac_sed_conf_input=$configure_input;; |
9720 | esac |
9649 | esac |
9721 | |
9650 | |
9722 | case $ac_tag in |
9651 | case $ac_tag in |
9723 | *:-:* | *:-) cat >"$tmp/stdin" \ |
9652 | *:-:* | *:-) cat >"$ac_tmp/stdin" \ |
9724 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; |
9653 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; |
9725 | esac |
9654 | esac |
9726 | ;; |
9655 | ;; |
9727 | esac |
9656 | esac |
9728 | |
9657 | |
9729 | ac_dir=`$as_dirname -- "$ac_file" || |
9658 | ac_dir=`$as_dirname -- "$ac_file" || |
… | |
… | |
9793 | |
9722 | |
9794 | case $INSTALL in |
9723 | case $INSTALL in |
9795 | [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
9724 | [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
9796 | *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; |
9725 | *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; |
9797 | esac |
9726 | esac |
9798 | ac_MKDIR_P=$MKDIR_P |
|
|
9799 | case $MKDIR_P in |
|
|
9800 | [\\/$]* | ?:[\\/]* ) ;; |
|
|
9801 | */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; |
|
|
9802 | esac |
|
|
9803 | _ACEOF |
9727 | _ACEOF |
9804 | |
9728 | |
9805 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
9729 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
9806 | # If the template does not know about datarootdir, expand it. |
9730 | # If the template does not know about datarootdir, expand it. |
9807 | # FIXME: This hack should be removed a few years after 2.60. |
9731 | # FIXME: This hack should be removed a few years after 2.60. |
… | |
… | |
9852 | s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t |
9776 | s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t |
9853 | s&@builddir@&$ac_builddir&;t t |
9777 | s&@builddir@&$ac_builddir&;t t |
9854 | s&@abs_builddir@&$ac_abs_builddir&;t t |
9778 | s&@abs_builddir@&$ac_abs_builddir&;t t |
9855 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
9779 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
9856 | s&@INSTALL@&$ac_INSTALL&;t t |
9780 | s&@INSTALL@&$ac_INSTALL&;t t |
9857 | s&@MKDIR_P@&$ac_MKDIR_P&;t t |
|
|
9858 | $ac_datarootdir_hack |
9781 | $ac_datarootdir_hack |
9859 | " |
9782 | " |
9860 | eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ |
9783 | eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ |
9861 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
9784 | >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
9862 | |
9785 | |
9863 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
9786 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
9864 | { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && |
9787 | { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && |
9865 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && |
9788 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ |
|
|
9789 | "$ac_tmp/out"`; test -z "$ac_out"; } && |
9866 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
9790 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
9867 | which seems to be undefined. Please make sure it is defined" >&5 |
9791 | which seems to be undefined. Please make sure it is defined" >&5 |
9868 | $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
9792 | $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
9869 | which seems to be undefined. Please make sure it is defined" >&2;} |
9793 | which seems to be undefined. Please make sure it is defined" >&2;} |
9870 | |
9794 | |
9871 | rm -f "$tmp/stdin" |
9795 | rm -f "$ac_tmp/stdin" |
9872 | case $ac_file in |
9796 | case $ac_file in |
9873 | -) cat "$tmp/out" && rm -f "$tmp/out";; |
9797 | -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; |
9874 | *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; |
9798 | *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; |
9875 | esac \ |
9799 | esac \ |
9876 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
9800 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
9877 | ;; |
9801 | ;; |
9878 | :H) |
9802 | :H) |
9879 | # |
9803 | # |
9880 | # CONFIG_HEADER |
9804 | # CONFIG_HEADER |
9881 | # |
9805 | # |
9882 | if test x"$ac_file" != x-; then |
9806 | if test x"$ac_file" != x-; then |
9883 | { |
9807 | { |
9884 | $as_echo "/* $configure_input */" \ |
9808 | $as_echo "/* $configure_input */" \ |
9885 | && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" |
9809 | && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" |
9886 | } >"$tmp/config.h" \ |
9810 | } >"$ac_tmp/config.h" \ |
9887 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
9811 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
9888 | if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then |
9812 | if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then |
9889 | { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 |
9813 | { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 |
9890 | $as_echo "$as_me: $ac_file is unchanged" >&6;} |
9814 | $as_echo "$as_me: $ac_file is unchanged" >&6;} |
9891 | else |
9815 | else |
9892 | rm -f "$ac_file" |
9816 | rm -f "$ac_file" |
9893 | mv "$tmp/config.h" "$ac_file" \ |
9817 | mv "$ac_tmp/config.h" "$ac_file" \ |
9894 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
9818 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
9895 | fi |
9819 | fi |
9896 | else |
9820 | else |
9897 | $as_echo "/* $configure_input */" \ |
9821 | $as_echo "/* $configure_input */" \ |
9898 | && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ |
9822 | && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ |
9899 | || as_fn_error $? "could not create -" "$LINENO" 5 |
9823 | || as_fn_error $? "could not create -" "$LINENO" 5 |
9900 | fi |
9824 | fi |
9901 | # Compute "$ac_file"'s index in $config_headers. |
9825 | # Compute "$ac_file"'s index in $config_headers. |
9902 | _am_arg="$ac_file" |
|
|
9903 | _am_stamp_count=1 |
9826 | _am_stamp_count=1 |
9904 | for _am_header in $config_headers :; do |
9827 | for _am_header in $config_headers :; do |
9905 | case $_am_header in |
9828 | case $_am_header in |
9906 | $_am_arg | $_am_arg:* ) |
9829 | "$ac_file" | "$ac_file":* ) |
9907 | break ;; |
9830 | break ;; |
9908 | * ) |
9831 | * ) |
9909 | _am_stamp_count=`expr $_am_stamp_count + 1` ;; |
9832 | _am_stamp_count=`expr $_am_stamp_count + 1` ;; |
9910 | esac |
9833 | esac |
9911 | done |
9834 | done |
9912 | echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || |
9835 | echo "timestamp for "$ac_file"" >`$as_dirname -- "$ac_file" || |
9913 | $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
9836 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
9914 | X"$_am_arg" : 'X\(//\)[^/]' \| \ |
9837 | X"$ac_file" : 'X\(//\)[^/]' \| \ |
9915 | X"$_am_arg" : 'X\(//\)$' \| \ |
9838 | X"$ac_file" : 'X\(//\)$' \| \ |
9916 | X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || |
9839 | X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || |
9917 | $as_echo X"$_am_arg" | |
9840 | $as_echo X"$ac_file" | |
9918 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
9841 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
9919 | s//\1/ |
9842 | s//\1/ |
9920 | q |
9843 | q |
9921 | } |
9844 | } |
9922 | /^X\(\/\/\)[^/].*/{ |
9845 | /^X\(\/\/\)[^/].*/{ |
… | |
… | |
10035 | done |
9958 | done |
10036 | fi |
9959 | fi |
10037 | ;; |
9960 | ;; |
10038 | esac |
9961 | esac |
10039 | done ;; |
9962 | done ;; |
10040 | "depfiles":C) test x"$AMDEP_TRUE" != x"" || { |
9963 | "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do |
10041 | # Autoconf 2.62 quotes --file arguments for eval, but not when files |
|
|
10042 | # are listed without --file. Let's play safe and only enable the eval |
|
|
10043 | # if we detect the quoting. |
|
|
10044 | case $CONFIG_FILES in |
|
|
10045 | *\'*) eval set x "$CONFIG_FILES" ;; |
|
|
10046 | *) set x $CONFIG_FILES ;; |
|
|
10047 | esac |
|
|
10048 | shift |
|
|
10049 | for mf |
|
|
10050 | do |
|
|
10051 | # Strip MF so we end up with the name of the file. |
9964 | # Strip MF so we end up with the name of the file. |
10052 | mf=`echo "$mf" | sed -e 's/:.*$//'` |
9965 | mf=`echo "$mf" | sed -e 's/:.*$//'` |
10053 | # Check whether this is an Automake generated Makefile or not. |
9966 | # Check whether this is an Automake generated Makefile or not. |
10054 | # We used to match only the files named `Makefile.in', but |
9967 | # We used to match only the files named `Makefile.in', but |
10055 | # some people rename them; so instead we look at the file content. |
9968 | # some people rename them; so instead we look at the file content. |
10056 | # Grep'ing the first line is not enough: some people post-process |
9969 | # Grep'ing the first line is not enough: some people post-process |
10057 | # each Makefile.in and add a new line on top of each file to say so. |
9970 | # each Makefile.in and add a new line on top of each file to say so. |
10058 | # Grep'ing the whole file is not good either: AIX grep has a line |
9971 | # So let's grep whole file. |
10059 | # limit of 2048, but all sed's we know have understand at least 4000. |
|
|
10060 | if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then |
9972 | if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then |
10061 | dirpart=`$as_dirname -- "$mf" || |
9973 | dirpart=`$as_dirname -- "$mf" || |
10062 | $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
9974 | $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
10063 | X"$mf" : 'X\(//\)[^/]' \| \ |
9975 | X"$mf" : 'X\(//\)[^/]' \| \ |
10064 | X"$mf" : 'X\(//\)$' \| \ |
9976 | X"$mf" : 'X\(//\)$' \| \ |
10065 | X"$mf" : 'X\(/\)' \| . 2>/dev/null || |
9977 | X"$mf" : 'X\(/\)' \| . 2>/dev/null || |
10066 | $as_echo X"$mf" | |
9978 | $as_echo X"$mf" | |
… | |
… | |
10079 | /^X\(\/\).*/{ |
9991 | /^X\(\/\).*/{ |
10080 | s//\1/ |
9992 | s//\1/ |
10081 | q |
9993 | q |
10082 | } |
9994 | } |
10083 | s/.*/./; q'` |
9995 | s/.*/./; q'` |
10084 | else |
9996 | else |
10085 | continue |
9997 | continue |
10086 | fi |
9998 | fi |
10087 | # Extract the definition of DEPDIR, am__include, and am__quote |
9999 | grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue |
10088 | # from the Makefile without running `make'. |
10000 | # Extract the definition of DEP_FILES from the Makefile without |
|
|
10001 | # running `make'. |
10089 | DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` |
10002 | DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"` |
10090 | test -z "$DEPDIR" && continue |
10003 | test -z "$DEPDIR" && continue |
10091 | am__include=`sed -n 's/^am__include = //p' < "$mf"` |
|
|
10092 | test -z "am__include" && continue |
|
|
10093 | am__quote=`sed -n 's/^am__quote = //p' < "$mf"` |
|
|
10094 | # When using ansi2knr, U may be empty or an underscore; expand it |
10004 | # When using ansi2knr, U may be empty or an underscore; expand it |
10095 | U=`sed -n 's/^U = //p' < "$mf"` |
10005 | U=`sed -n -e '/^U = / s///p' < "$mf"` |
10096 | # Find all dependency output files, they are included files with |
10006 | test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR" |
10097 | # $(DEPDIR) in their names. We invoke sed twice because it is the |
10007 | # We invoke sed twice because it is the simplest approach to |
10098 | # simplest approach to changing $(DEPDIR) to its actual value in the |
10008 | # changing $(DEPDIR) to its actual value in the expansion. |
10099 | # expansion. |
|
|
10100 | for file in `sed -n " |
10009 | for file in `sed -n -e ' |
10101 | s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ |
10010 | /^DEP_FILES = .*\\\\$/ { |
|
|
10011 | s/^DEP_FILES = // |
|
|
10012 | :loop |
|
|
10013 | s/\\\\$// |
|
|
10014 | p |
|
|
10015 | n |
|
|
10016 | /\\\\$/ b loop |
|
|
10017 | p |
|
|
10018 | } |
|
|
10019 | /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \ |
10102 | sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do |
10020 | sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do |
10103 | # Make sure the directory exists. |
10021 | # Make sure the directory exists. |
10104 | test -f "$dirpart/$file" && continue |
10022 | test -f "$dirpart/$file" && continue |
10105 | fdir=`$as_dirname -- "$file" || |
10023 | fdir=`$as_dirname -- "$file" || |
10106 | $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
10024 | $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
10107 | X"$file" : 'X\(//\)[^/]' \| \ |
10025 | X"$file" : 'X\(//\)[^/]' \| \ |
10108 | X"$file" : 'X\(//\)$' \| \ |
10026 | X"$file" : 'X\(//\)$' \| \ |
10109 | X"$file" : 'X\(/\)' \| . 2>/dev/null || |
10027 | X"$file" : 'X\(/\)' \| . 2>/dev/null || |
10110 | $as_echo X"$file" | |
10028 | $as_echo X"$file" | |
… | |
… | |
10123 | /^X\(\/\).*/{ |
10041 | /^X\(\/\).*/{ |
10124 | s//\1/ |
10042 | s//\1/ |
10125 | q |
10043 | q |
10126 | } |
10044 | } |
10127 | s/.*/./; q'` |
10045 | s/.*/./; q'` |
10128 | as_dir=$dirpart/$fdir; as_fn_mkdir_p |
10046 | as_dir=$dirpart/$fdir; as_fn_mkdir_p |
10129 | # echo "creating $dirpart/$file" |
10047 | # echo "creating $dirpart/$file" |
10130 | echo '# dummy' > "$dirpart/$file" |
10048 | echo '# dummy' > "$dirpart/$file" |
10131 | done |
|
|
10132 | done |
10049 | done |
10133 | } |
10050 | done |
10134 | ;; |
10051 | ;; |
10135 | |
10052 | |
10136 | esac |
10053 | esac |
10137 | done # for ac_tag |
10054 | done # for ac_tag |
10138 | |
10055 | |
… | |
… | |
10174 | echo |
10091 | echo |
10175 | echo "***" |
10092 | echo "***" |
10176 | echo "*** Configuration Summary" |
10093 | echo "*** Configuration Summary" |
10177 | echo "***" |
10094 | echo "***" |
10178 | echo "*** Kernel Iface: $IFTYPE/$IFSUBTYPE" |
10095 | echo "*** Kernel Iface: $IFTYPE/$IFSUBTYPE" |
|
|
10096 | echo "*** RSA size: $RSA" |
10179 | echo "*** Cipher used: $CIPHER" |
10097 | echo "*** Cipher used: $CIPHER" |
10180 | echo "*** Digest used: $DIGEST" |
10098 | echo "*** Digest used: $DIGEST" |
|
|
10099 | echo "*** Authdigest: $AUTH" |
10181 | echo "*** HMAC length: $HMAC" |
10100 | echo "*** HMAC length: $HMAC" |
10182 | echo "*** RAND used: $RAND" |
|
|
10183 | echo "*** Max. MTU: $MTU" |
10101 | echo "*** Max. MTU: $MTU" |
10184 | |
10102 | |
10185 | echo "***" |
10103 | echo "***" |
10186 | echo "*** Enable options:" |
10104 | echo "*** Enable options:" |
10187 | grep ENABLE_ config.h | sed -e 's/^/*** /' |
10105 | grep ENABLE_ config.h | sed -e 's/^/*** /' |
10188 | |
10106 | |
10189 | if test "x$DIGEST" = xmd4; then |
10107 | if test "$HMACSIZE" -lt 12; then |
10190 | echo "***" |
10108 | echo "***" |
10191 | echo "*** WARNING: The digest you have chosen ($DIGEST) is known to be insecure" |
|
|
10192 | fi |
|
|
10193 | |
|
|
10194 | if test "$HMAC" -lt 12; then |
|
|
10195 | echo "***" |
|
|
10196 | echo "*** WARNING: The hmac length you have chosen ($HMAC) is probably insecure" |
10109 | echo "*** WARNING: The hmac length you have chosen ($HMACSIZE) is quite insecure" |
10197 | fi |
|
|
10198 | |
|
|
10199 | if test "$RAND" -lt 8; then |
|
|
10200 | echo "***" |
|
|
10201 | echo "*** WARNING: The random prefix you have chosen ($RAND) is probably insecure" |
|
|
10202 | fi |
10110 | fi |
10203 | |
10111 | |
10204 | echo "***" |
10112 | echo "***" |
10205 | echo |
10113 | echo |
10206 | |
10114 | |
|
|
10115 | if pkg-config --exists 'libcrypto >= 1.1 libcrypto < 2.0'; then |
|
|
10116 | cat <<EOF |
|
|
10117 | [33m |
|
|
10118 | *** |
|
|
10119 | *** WARNING WARNING WARNING WARNING WARNING WARNING WARNING |
|
|
10120 | *** |
|
|
10121 | *** You seem to configure gvpe with OpenSSL 1.1 or newer. |
|
|
10122 | *** While this probably compiles, please note that this is not only |
|
|
10123 | *** unsupported, but also discouraged. |
|
|
10124 | *** |
|
|
10125 | *** It is recommended to use either OpenSSL 1.0, as long as that is still |
|
|
10126 | *** supported, or LibreSSL (https://www.libressl.org/). |
|
|
10127 | *** |
|
|
10128 | *** This is not a political issue - while porting GVPE to the newer |
|
|
10129 | *** OpenSSL 1.1 API, I encountered two incompatible API changes that were |
|
|
10130 | *** not documented, were not caught while compiling but caused security |
|
|
10131 | *** issues. When reported, the reaction of the OpenSSL developers was to |
|
|
10132 | *** update the documentation. |
|
|
10133 | *** |
|
|
10134 | *** As a result, I lost all confidence in the ability and desire of |
|
|
10135 | *** OpenSSL developers to create a safe API, and would highly recommend |
|
|
10136 | *** switching to LibreSSL which explicitly avoids such braking changes. |
|
|
10137 | *** |
|
|
10138 | *** WARNING WARNING WARNING WARNING WARNING WARNING WARNING |
|
|
10139 | *** |
|
|
10140 | *** Again, do not use OpenSSL 1.1 and complain if stuff breaks. |
|
|
10141 | *** You have been warned, but your choice is respected. |
|
|
10142 | *** |
|
|
10143 | [0m |
10207 | |
10144 | |
|
|
10145 | EOF |
|
|
10146 | fi |
|
|
10147 | |
|
|
10148 | |