2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for g2hec-lib 0.1.
5 # Report bugs to <Ning Shang <nshang@math.purdue.edu>>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in
26 *posix
*) set -o posix
;;
35 # Avoid depending upon Character Ranges.
36 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits
='0123456789'
40 as_cr_alnum
=$as_cr_Letters$as_cr_digits
42 # The user is always right.
43 if test "${PATH_SEPARATOR+set}" != set; then
44 echo "#! /bin/sh" >conf$$.sh
45 echo "exit 0" >>conf$$.sh
47 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
55 # Support unset when possible.
56 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
64 # We need space, tab and new line, in precisely that order. Quoting is
65 # there to prevent editors from complaining about space-tab.
66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
67 # splitting by setting IFS to empty value.)
72 # Find who we are. Look in the path if we contain no directory separator.
74 *[\\/]* ) as_myself
=$0 ;;
75 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
79 test -z "$as_dir" && as_dir
=.
80 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
86 # We did not find ourselves, most probably we were run as `sh COMMAND'
87 # in which case we are not to be found in the path.
88 if test "x$as_myself" = x
; then
91 if test ! -f "$as_myself"; then
92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
96 # Work around bugs in pre-3.0 UWIN ksh.
97 for as_var
in ENV MAIL MAILPATH
98 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
110 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111 eval $as_var=C
; export $as_var
113 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
117 # Required to use basename.
118 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
119 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
125 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
132 # Name of the executable.
133 as_me
=`$as_basename -- "$0" ||
134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135 X"$0" : 'X\(//\)$' \| \
136 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138 sed '/^.*\/\([^/][^/]*\)\/*$/{
156 if test "x$CONFIG_SHELL" = x
; then
157 if (eval ":") 2>/dev
/null
; then
163 if test $as_have_required = yes && (eval ":
173 as_func_ret_success () {
176 as_func_ret_failure () {
181 if as_func_success; then
185 echo as_func_success failed.
188 if as_func_failure; then
190 echo as_func_failure succeeded.
193 if as_func_ret_success; then
197 echo as_func_ret_success failed.
200 if as_func_ret_failure; then
202 echo as_func_ret_failure succeeded.
205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
209 echo positional parameters were not saved.
212 test \$exitcode = 0) || { (exit 1); exit 1; }
217 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219 ") 2> /dev
/null
; then
223 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
224 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
227 test -z "$as_dir" && as_dir
=.
230 for as_base
in sh bash ksh sh5
; do
231 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
238 for as_shell
in $as_candidate_shells $SHELL; do
239 # Try only shells that exist, to save several forks.
240 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
241 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
242 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246 # is contrary to our usage. Disable this feature.
247 alias -g '${1+"$@"}'='"$@"'
250 case `(set -o) 2>/dev/null` in
251 *posix
*) set -o posix
;;
260 CONFIG_SHELL
=$as_shell
262 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
263 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267 # is contrary to our usage. Disable this feature.
268 alias -g '${1+"$@"}'='"$@"'
271 case `(set -o) 2>/dev/null` in
272 *posix
*) set -o posix
;;
288 as_func_ret_success
() {
291 as_func_ret_failure
() {
296 if as_func_success
; then
300 echo as_func_success failed.
303 if as_func_failure
; then
305 echo as_func_failure succeeded.
308 if as_func_ret_success
; then
312 echo as_func_ret_success failed.
315 if as_func_ret_failure
; then
317 echo as_func_ret_failure succeeded.
320 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
324 echo positional parameters were not saved.
327 test $exitcode = 0) ||
{ (exit 1); exit 1; }
332 test "x$as_lineno_1" != "x$as_lineno_2" &&
333 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
344 if test "x$CONFIG_SHELL" != x
; then
345 for as_var
in BASH_ENV ENV
346 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
353 if test $as_have_required = no
; then
354 echo This
script requires a shell
more modern than all the
355 echo shells that I found on your system. Please
install a
356 echo modern shell
, or manually run the
script under such a
357 echo shell
if you
do have one.
358 { (exit 1); exit 1; }
368 (eval "as_func_return () {
377 as_func_ret_success () {
380 as_func_ret_failure () {
385 if as_func_success; then
389 echo as_func_success failed.
392 if as_func_failure; then
394 echo as_func_failure succeeded.
397 if as_func_ret_success; then
401 echo as_func_ret_success failed.
404 if as_func_ret_failure; then
406 echo as_func_ret_failure succeeded.
409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
413 echo positional parameters were not saved.
416 test \$exitcode = 0") ||
{
417 echo No shell found that supports shell functions.
418 echo Please tell autoconf@gnu.org about your system
,
419 echo including any error possibly output before this
427 test "x$as_lineno_1" != "x$as_lineno_2" &&
428 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431 # uniformly replaced by the line number. The first 'sed' inserts a
432 # line-number line after each line using $LINENO; the second 'sed'
433 # does the real work. The second script uses 'N' to pair each
434 # line-number line with the line containing $LINENO, and appends
435 # trailing '-' during substitution so that $LINENO is not a special
437 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438 # scripts with optimization help from Paolo Bonzini. Blame Lee
439 # E. McMahon (1931-1989) for sed's syntax. :-)
451 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
455 chmod +x
"$as_me.lineno" ||
456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457 { (exit 1); exit 1; }; }
459 # Don't try to exec as it changes $[0], causing all sort of problems
460 # (the dirname of $[0] is not the place where we might find the
461 # original and so on. Autoconf is especially sensitive to this).
463 # Exit status is that of the last command.
468 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
474 ECHO_C
= ECHO_N
= ECHO_T
=
478 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
485 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
486 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
492 rm -f conf$$ conf$$.exe conf$$.
file
493 if test -d conf$$.dir
; then
494 rm -f conf$$.dir
/conf$$.
file
500 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
502 # ... but there are two gotchas:
503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505 # In both cases, we have to default to `cp -p'.
506 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
508 elif ln conf$$.
file conf$$
2>/dev
/null
; then
513 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
514 rmdir conf$$.dir
2>/dev
/null
516 if mkdir
-p .
2>/dev
/null
; then
519 test -d .
/-p && rmdir .
/-p
523 if test -x / >/dev
/null
2>&1; then
526 if ls -dL / >/dev
/null
2>&1; then
533 if test -d "$1"; then
539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540 ???[sx]*):;;*)false;;esac;fi
544 as_executable_p
=$as_test_x
546 # Sed expression to map a string onto a valid CPP name.
547 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549 # Sed expression to map a string onto a valid variable name.
550 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
554 exec 7<&0 </dev
/null
6>&1
557 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
558 # so uname gets run too.
559 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
564 ac_default_prefix
=/usr
/local
566 ac_config_libobj_dir
=.
572 SHELL
=${CONFIG_SHELL-/bin/sh}
574 # Identity of this package.
575 PACKAGE_NAME
='g2hec-lib'
576 PACKAGE_TARNAME
='g2hec-lib'
577 PACKAGE_VERSION
='0.1'
578 PACKAGE_STRING
='g2hec-lib 0.1'
579 PACKAGE_BUGREPORT
='Ning Shang <nshang@math.purdue.edu>'
581 ac_unique_file
="src/divisor_negate.C"
582 # Factoring default headers for most tests.
583 ac_includes_default
="\
585 #ifdef HAVE_SYS_TYPES_H
586 # include <sys/types.h>
588 #ifdef HAVE_SYS_STAT_H
589 # include <sys/stat.h>
595 # ifdef HAVE_STDLIB_H
600 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
605 #ifdef HAVE_STRINGS_H
606 # include <strings.h>
608 #ifdef HAVE_INTTYPES_H
609 # include <inttypes.h>
627 program_transform_name
669 INSTALL_STRIP_PROGRAM
706 ac_precious_vars
='build_alias
720 # Initialize some variables set by options.
722 ac_init_version
=false
723 # The variables have the same names as the options, with
724 # dashes changed to underlines.
732 program_transform_name
=s
,x
,x
,
740 # Installation directory options.
741 # These are left unexpanded so users can "make install exec_prefix=/foo"
742 # and all the variables that are supposed to be based on exec_prefix
743 # by default will actually change.
744 # Use braces instead of parens because sh, perl, etc. also accept them.
745 # (The list follows the same order as the GNU Coding Standards.)
746 bindir
='${exec_prefix}/bin'
747 sbindir
='${exec_prefix}/sbin'
748 libexecdir
='${exec_prefix}/libexec'
749 datarootdir
='${prefix}/share'
750 datadir
='${datarootdir}'
751 sysconfdir
='${prefix}/etc'
752 sharedstatedir
='${prefix}/com'
753 localstatedir
='${prefix}/var'
754 includedir
='${prefix}/include'
755 oldincludedir
='/usr/include'
756 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
757 infodir
='${datarootdir}/info'
762 libdir
='${exec_prefix}/lib'
763 localedir
='${datarootdir}/locale'
764 mandir
='${datarootdir}/man'
770 # If the previous option needs an argument, assign it.
771 if test -n "$ac_prev"; then
772 eval $ac_prev=\
$ac_option
778 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
782 # Accept the important Cygnus configure options, so we can diagnose typos.
784 case $ac_dashdash$ac_option in
788 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
790 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
793 -build |
--build |
--buil |
--bui |
--bu)
794 ac_prev
=build_alias
;;
795 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
796 build_alias
=$ac_optarg ;;
798 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
799 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
800 ac_prev
=cache_file
;;
801 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
802 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
803 cache_file
=$ac_optarg ;;
806 cache_file
=config.cache
;;
808 -datadir |
--datadir |
--datadi |
--datad)
810 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
811 datadir
=$ac_optarg ;;
813 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
814 |
--dataroo |
--dataro |
--datar)
815 ac_prev
=datarootdir
;;
816 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
817 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
818 datarootdir
=$ac_optarg ;;
820 -disable-* |
--disable-*)
821 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
822 # Reject names that are not valid shell variable names.
823 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
824 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
825 { (exit 1); exit 1; }; }
826 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
827 eval enable_
$ac_feature=no
;;
829 -docdir |
--docdir |
--docdi |
--doc |
--do)
831 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
834 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
836 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
839 -enable-* |
--enable-*)
840 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
841 # Reject names that are not valid shell variable names.
842 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
843 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
844 { (exit 1); exit 1; }; }
845 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
846 eval enable_
$ac_feature=\
$ac_optarg ;;
848 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
849 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
850 |
--exec |
--exe |
--ex)
851 ac_prev
=exec_prefix
;;
852 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
853 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
854 |
--exec=* |
--exe=* |
--ex=*)
855 exec_prefix
=$ac_optarg ;;
857 -gas |
--gas |
--ga |
--g)
858 # Obsolete; use --with-gas.
861 -help |
--help |
--hel |
--he |
-h)
863 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
864 ac_init_help
=recursive
;;
865 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
866 ac_init_help
=short
;;
868 -host |
--host |
--hos |
--ho)
869 ac_prev
=host_alias
;;
870 -host=* |
--host=* |
--hos=* |
--ho=*)
871 host_alias
=$ac_optarg ;;
873 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
875 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
877 htmldir
=$ac_optarg ;;
879 -includedir |
--includedir |
--includedi |
--included |
--include \
880 |
--includ |
--inclu |
--incl |
--inc)
881 ac_prev
=includedir
;;
882 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
883 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
884 includedir
=$ac_optarg ;;
886 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
888 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
889 infodir
=$ac_optarg ;;
891 -libdir |
--libdir |
--libdi |
--libd)
893 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
896 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
897 |
--libexe |
--libex |
--libe)
898 ac_prev
=libexecdir
;;
899 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
900 |
--libexe=* |
--libex=* |
--libe=*)
901 libexecdir
=$ac_optarg ;;
903 -localedir |
--localedir |
--localedi |
--localed |
--locale)
905 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
906 localedir
=$ac_optarg ;;
908 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
909 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
910 ac_prev
=localstatedir
;;
911 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
912 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
913 localstatedir
=$ac_optarg ;;
915 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
917 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
921 # Obsolete; use --without-fp.
924 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
925 |
--no-cr |
--no-c |
-n)
928 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
929 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
932 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
933 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
934 |
--oldin |
--oldi |
--old |
--ol |
--o)
935 ac_prev
=oldincludedir
;;
936 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
937 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
938 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
939 oldincludedir
=$ac_optarg ;;
941 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
943 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
946 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
947 |
--program-pre |
--program-pr |
--program-p)
948 ac_prev
=program_prefix
;;
949 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
950 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
951 program_prefix
=$ac_optarg ;;
953 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
954 |
--program-suf |
--program-su |
--program-s)
955 ac_prev
=program_suffix
;;
956 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
957 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
958 program_suffix
=$ac_optarg ;;
960 -program-transform-name |
--program-transform-name \
961 |
--program-transform-nam |
--program-transform-na \
962 |
--program-transform-n |
--program-transform- \
963 |
--program-transform |
--program-transfor \
964 |
--program-transfo |
--program-transf \
965 |
--program-trans |
--program-tran \
966 |
--progr-tra |
--program-tr |
--program-t)
967 ac_prev
=program_transform_name
;;
968 -program-transform-name=* |
--program-transform-name=* \
969 |
--program-transform-nam=* |
--program-transform-na=* \
970 |
--program-transform-n=* |
--program-transform-=* \
971 |
--program-transform=* |
--program-transfor=* \
972 |
--program-transfo=* |
--program-transf=* \
973 |
--program-trans=* |
--program-tran=* \
974 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
975 program_transform_name
=$ac_optarg ;;
977 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
979 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
982 -psdir |
--psdir |
--psdi |
--psd |
--ps)
984 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
987 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
988 |
-silent |
--silent |
--silen |
--sile |
--sil)
991 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
993 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
995 sbindir
=$ac_optarg ;;
997 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
998 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
999 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1001 ac_prev
=sharedstatedir
;;
1002 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1003 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1004 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1006 sharedstatedir
=$ac_optarg ;;
1008 -site |
--site |
--sit)
1010 -site=* |
--site=* |
--sit=*)
1013 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1015 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1016 srcdir
=$ac_optarg ;;
1018 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1019 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1020 ac_prev
=sysconfdir
;;
1021 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1022 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1023 sysconfdir
=$ac_optarg ;;
1025 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1026 ac_prev
=target_alias
;;
1027 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1028 target_alias
=$ac_optarg ;;
1030 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1033 -version |
--version |
--versio |
--versi |
--vers |
-V)
1034 ac_init_version
=: ;;
1037 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1038 # Reject names that are not valid shell variable names.
1039 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1040 { echo "$as_me: error: invalid package name: $ac_package" >&2
1041 { (exit 1); exit 1; }; }
1042 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1043 eval with_
$ac_package=\
$ac_optarg ;;
1045 -without-* |
--without-*)
1046 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1047 # Reject names that are not valid shell variable names.
1048 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1049 { echo "$as_me: error: invalid package name: $ac_package" >&2
1050 { (exit 1); exit 1; }; }
1051 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1052 eval with_
$ac_package=no
;;
1055 # Obsolete; use --with-x.
1058 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1059 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1060 ac_prev
=x_includes
;;
1061 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1062 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1063 x_includes
=$ac_optarg ;;
1065 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1066 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1067 ac_prev
=x_libraries
;;
1068 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1069 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1070 x_libraries
=$ac_optarg ;;
1072 -*) { echo "$as_me: error: unrecognized option: $ac_option
1073 Try \`$0 --help' for more information." >&2
1074 { (exit 1); exit 1; }; }
1078 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1079 # Reject names that are not valid shell variable names.
1080 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1081 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1082 { (exit 1); exit 1; }; }
1083 eval $ac_envvar=\
$ac_optarg
1084 export $ac_envvar ;;
1087 # FIXME: should be removed in autoconf 3.0.
1088 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1089 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1090 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1091 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1097 if test -n "$ac_prev"; then
1098 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1099 { echo "$as_me: error: missing argument to $ac_option" >&2
1100 { (exit 1); exit 1; }; }
1103 # Be sure to have absolute directory names.
1104 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1105 datadir sysconfdir sharedstatedir localstatedir includedir \
1106 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1107 libdir localedir mandir
1109 eval ac_val
=\$
$ac_var
1111 [\\/$
]* | ?
:[\\/]* ) continue;;
1112 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1114 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1115 { (exit 1); exit 1; }; }
1118 # There might be people who depend on the old broken behavior: `$host'
1119 # used to hold the argument of --host etc.
1120 # FIXME: To remove some day.
1123 target
=$target_alias
1125 # FIXME: To remove some day.
1126 if test "x$host_alias" != x
; then
1127 if test "x$build_alias" = x
; then
1128 cross_compiling
=maybe
1129 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1130 If a cross compiler is detected then cross compile mode will be used." >&2
1131 elif test "x$build_alias" != "x$host_alias"; then
1137 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1139 test "$silent" = yes && exec 6>/dev
/null
1142 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1143 ac_ls_di
=`ls -di .` &&
1144 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1145 { echo "$as_me: error: Working directory cannot be determined" >&2
1146 { (exit 1); exit 1; }; }
1147 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1148 { echo "$as_me: error: pwd does not report name of working directory" >&2
1149 { (exit 1); exit 1; }; }
1152 # Find the source files, if location was not specified.
1153 if test -z "$srcdir"; then
1154 ac_srcdir_defaulted
=yes
1155 # Try the directory containing this script, then the parent directory.
1156 ac_confdir
=`$as_dirname -- "$0" ||
1157 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1158 X"$0" : 'X\(//\)[^/]' \| \
1159 X"$0" : 'X\(//\)$' \| \
1160 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1162 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1180 if test ! -r "$srcdir/$ac_unique_file"; then
1184 ac_srcdir_defaulted
=no
1186 if test ! -r "$srcdir/$ac_unique_file"; then
1187 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1188 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1189 { (exit 1); exit 1; }; }
1191 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1193 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1194 { (exit 1); exit 1; }; }
1196 # When building in place, set srcdir=.
1197 if test "$ac_abs_confdir" = "$ac_pwd"; then
1200 # Remove unnecessary trailing slashes from srcdir.
1201 # Double slashes in file names in object file debugging info
1202 # mess up M-x gdb in Emacs.
1204 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1206 for ac_var
in $ac_precious_vars; do
1207 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1208 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1209 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1210 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1214 # Report the --help message.
1216 if test "$ac_init_help" = "long"; then
1217 # Omit some internal or obsolete options to make the list less imposing.
1218 # This message is too long to be a string in the A/UX 3.1 sh.
1220 \`configure' configures g2hec-lib 0.1 to adapt to many kinds of systems.
1222 Usage: $0 [OPTION]... [VAR=VALUE]...
1224 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1225 VAR=VALUE. See below for descriptions of some of the useful variables.
1227 Defaults for the options are specified in brackets.
1230 -h, --help display this help and exit
1231 --help=short display options specific to this package
1232 --help=recursive display the short help of all the included packages
1233 -V, --version display version information and exit
1234 -q, --quiet, --silent do not print \`checking...' messages
1235 --cache-file=FILE cache test results in FILE [disabled]
1236 -C, --config-cache alias for \`--cache-file=config.cache'
1237 -n, --no-create do not create output files
1238 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1240 Installation directories:
1241 --prefix=PREFIX install architecture-independent files in PREFIX
1242 [$ac_default_prefix]
1243 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1246 By default, \`make install' will install all the files in
1247 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1248 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1249 for instance \`--prefix=\$HOME'.
1251 For better control, use the options below.
1253 Fine tuning of the installation directories:
1254 --bindir=DIR user executables [EPREFIX/bin]
1255 --sbindir=DIR system admin executables [EPREFIX/sbin]
1256 --libexecdir=DIR program executables [EPREFIX/libexec]
1257 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1258 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1259 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1260 --libdir=DIR object code libraries [EPREFIX/lib]
1261 --includedir=DIR C header files [PREFIX/include]
1262 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1263 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1264 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1265 --infodir=DIR info documentation [DATAROOTDIR/info]
1266 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1267 --mandir=DIR man documentation [DATAROOTDIR/man]
1268 --docdir=DIR documentation root [DATAROOTDIR/doc/g2hec-lib]
1269 --htmldir=DIR html documentation [DOCDIR]
1270 --dvidir=DIR dvi documentation [DOCDIR]
1271 --pdfdir=DIR pdf documentation [DOCDIR]
1272 --psdir=DIR ps documentation [DOCDIR]
1278 --program-prefix=PREFIX prepend PREFIX to installed program names
1279 --program-suffix=SUFFIX append SUFFIX to installed program names
1280 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1284 if test -n "$ac_init_help"; then
1285 case $ac_init_help in
1286 short | recursive
) echo "Configuration of g2hec-lib 0.1:";;
1291 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1292 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1293 --disable-dependency-tracking speeds up one-time build
1294 --enable-dependency-tracking do not reject slow dependency extractors
1296 Some influential environment variables
:
1297 CC C compiler
command
1298 CFLAGS C compiler flags
1299 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1300 nonstandard directory
<lib dir
>
1301 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1302 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1303 you have headers
in a nonstandard directory
<include dir
>
1304 CXX C
++ compiler
command
1305 CXXFLAGS C
++ compiler flags
1306 CXXCPP C
++ preprocessor
1308 Use these variables to override the choices made by
`configure' or to help
1309 it to find libraries and programs with nonstandard names/locations.
1311 Report bugs to <Ning Shang <nshang@math.purdue.edu>>.
1316 if test "$ac_init_help" = "recursive"; then
1317 # If there are subdirs, report their specific --help.
1318 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1319 test -d "$ac_dir" || continue
1323 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1325 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1326 # A ".." for each directory in $ac_dir_suffix.
1327 ac_top_builddir_sub=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,/..,g;s,/,,'`
1328 case $ac_top_builddir_sub in
1329 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1330 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1333 ac_abs_top_builddir=$ac_pwd
1334 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1335 # for backward compatibility:
1336 ac_top_builddir=$ac_top_build_prefix
1339 .) # We are building in place.
1341 ac_top_srcdir=$ac_top_builddir_sub
1342 ac_abs_top_srcdir=$ac_pwd ;;
1343 [\\/]* | ?:[\\/]* ) # Absolute name.
1344 ac_srcdir=$srcdir$ac_dir_suffix;
1345 ac_top_srcdir=$srcdir
1346 ac_abs_top_srcdir=$srcdir ;;
1348 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1349 ac_top_srcdir=$ac_top_build_prefix$srcdir
1350 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1352 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1354 cd "$ac_dir" || { ac_status=$?; continue; }
1355 # Check for guested configure.
1356 if test -f "$ac_srcdir/configure.gnu"; then
1358 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1359 elif test -f "$ac_srcdir/configure"; then
1361 $SHELL "$ac_srcdir/configure" --help=recursive
1363 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1365 cd "$ac_pwd" || { ac_status=$?; break; }
1369 test -n "$ac_init_help" && exit $ac_status
1370 if $ac_init_version; then
1372 g2hec-lib configure 0.1
1373 generated by GNU Autoconf 2.61
1375 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1376 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1377 This configure script is free software; the Free Software Foundation
1378 gives unlimited permission to copy, distribute and modify it.
1382 cat >config.log <<_ACEOF
1383 This file contains any messages produced by compilers while
1384 running configure, to aid debugging if configure makes a mistake.
1386 It was created by g2hec-lib $as_me 0.1, which was
1387 generated by GNU Autoconf 2.61. Invocation command line was
1399 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1400 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1401 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1402 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1403 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1405 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1406 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1408 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1409 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1410 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1411 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1412 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1413 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1414 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1422 test -z "$as_dir" && as_dir=.
1423 echo "PATH: $as_dir"
1439 # Keep a trace of the command line.
1440 # Strip out --no-create and --no-recursion so they do not pile up.
1441 # Strip out --silent because we don't want to record it for future runs.
1442 # Also quote any args containing shell meta-characters.
1443 # Make two passes to allow for proper duplicate-argument suppression.
1447 ac_must_keep_next=false
1453 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1454 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1455 | -silent | --silent | --silen | --sile | --sil)
1458 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1461 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1463 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1464 if test $ac_must_keep_next = true; then
1465 ac_must_keep_next=false # Got value, back to normal.
1468 *=* | --config-cache | -C | -disable-* | --disable-* \
1469 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1470 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1471 | -with-* | --with-* | -without-* | --without-* | --x)
1472 case "$ac_configure_args0 " in
1473 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1476 -* ) ac_must_keep_next=true ;;
1479 ac_configure_args="$ac_configure_args '$ac_arg'"
1484 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1485 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1487 # When interrupted or exit'd, cleanup temporary files, and complete
1488 # config.log. We remove comments because anyway the quotes in there
1489 # would cause problems or look ugly.
1490 # WARNING: Use '\'' to represent an apostrophe within the trap.
1491 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1492 trap 'exit_status=$?
1493 # Save into config.log some information that might help in debugging.
1498 ## ---------------- ##
1499 ## Cache variables. ##
1500 ## ---------------- ##
1503 # The following way of writing the cache mishandles newlines in values,
1505 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1506 eval ac_val=\$$ac_var
1510 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1511 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1514 _ | IFS | as_nl) ;; #(
1515 *) $as_unset $ac_var ;;
1520 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1521 *${as_nl}ac_space=\ *)
1523 "s/'\''/'\''\\\\'\'''\''/g;
1524 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1527 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1535 ## ----------------- ##
1536 ## Output variables. ##
1537 ## ----------------- ##
1540 for ac_var in $ac_subst_vars
1542 eval ac_val=\$$ac_var
1544 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1546 echo "$ac_var='\''$ac_val'\''"
1550 if test -n "$ac_subst_files"; then
1552 ## ------------------- ##
1553 ## File substitutions. ##
1554 ## ------------------- ##
1557 for ac_var in $ac_subst_files
1559 eval ac_val=\$$ac_var
1561 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1563 echo "$ac_var='\''$ac_val'\''"
1568 if test -s confdefs.h; then
1578 test "$ac_signal" != 0 &&
1579 echo "$as_me: caught signal $ac_signal"
1580 echo "$as_me: exit $exit_status"
1582 rm -f core *.core core.conftest.* &&
1583 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1586 for ac_signal in 1 2 13 15; do
1587 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1591 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1592 rm -f -r conftest* confdefs.h
1594 # Predefined preprocessor variables.
1596 cat >>confdefs.h <<_ACEOF
1597 #define PACKAGE_NAME "$PACKAGE_NAME"
1601 cat >>confdefs.h <<_ACEOF
1602 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1606 cat >>confdefs.h <<_ACEOF
1607 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1611 cat >>confdefs.h <<_ACEOF
1612 #define PACKAGE_STRING "$PACKAGE_STRING"
1616 cat >>confdefs.h <<_ACEOF
1617 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1621 # Let the site file select an alternate cache file if it wants to.
1622 # Prefer explicitly selected file to automatically selected ones.
1623 if test -n "$CONFIG_SITE"; then
1624 set x "$CONFIG_SITE"
1625 elif test "x$prefix" != xNONE; then
1626 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1628 set x "$ac_default_prefix/share/config.site" \
1629 "$ac_default_prefix/etc/config.site"
1634 if test -r "$ac_site_file"; then
1635 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1636 echo "$as_me: loading site script $ac_site_file" >&6;}
1637 sed 's/^/| /' "$ac_site_file" >&5
1642 if test -r "$cache_file"; then
1643 # Some versions of bash will fail to source /dev/null (special
1644 # files actually), so we avoid doing that.
1645 if test -f "$cache_file"; then
1646 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1647 echo "$as_me: loading cache $cache_file" >&6;}
1649 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1650 *) . "./$cache_file";;
1654 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1655 echo "$as_me: creating cache $cache_file" >&6;}
1659 # Check that the precious variables saved in the cache have kept the same
1661 ac_cache_corrupted=false
1662 for ac_var in $ac_precious_vars; do
1663 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1664 eval ac_new_set=\$ac_env_${ac_var}_set
1665 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1666 eval ac_new_val=\$ac_env_${ac_var}_value
1667 case $ac_old_set,$ac_new_set in
1669 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1670 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1671 ac_cache_corrupted=: ;;
1673 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1674 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1675 ac_cache_corrupted=: ;;
1678 if test "x$ac_old_val" != "x$ac_new_val"; then
1679 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1680 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1681 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1682 echo "$as_me: former value
: $ac_old_val" >&2;}
1683 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1684 echo "$as_me: current value
: $ac_new_val" >&2;}
1685 ac_cache_corrupted=:
1688 # Pass precious variables to config.status.
1689 if test "$ac_new_set" = set; then
1691 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1692 *) ac_arg=$ac_var=$ac_new_val ;;
1694 case " $ac_configure_args " in
1695 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1696 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1700 if $ac_cache_corrupted; then
1701 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1702 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1703 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1704 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1705 { (exit 1); exit 1; }; }
1733 ac_cpp='$CPP $CPPFLAGS'
1734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1739 am__api_version='1.10'
1742 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1743 if test -f "$ac_dir/install-sh"; then
1745 ac_install_sh="$ac_aux_dir/install-sh -c"
1747 elif test -f "$ac_dir/install.sh"; then
1749 ac_install_sh="$ac_aux_dir/install.sh -c"
1751 elif test -f "$ac_dir/shtool"; then
1753 ac_install_sh="$ac_aux_dir/shtool install -c"
1757 if test -z "$ac_aux_dir"; then
1758 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1759 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1760 { (exit 1); exit 1; }; }
1763 # These three variables are undocumented and unsupported,
1764 # and are intended to be withdrawn in a future Autoconf release.
1765 # They can cause serious problems if a builder's source tree is in a directory
1766 # whose full name contains unusual characters.
1767 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1768 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1769 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1772 # Find a good install program. We prefer a C program (faster),
1773 # so one script is as good as another. But avoid the broken or
1774 # incompatible versions:
1775 # SysV /etc/install, /usr/sbin/install
1776 # SunOS /usr/etc/install
1777 # IRIX /sbin/install
1779 # AmigaOS /C/install, which installs bootblocks on floppy discs
1780 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1781 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1782 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1783 # OS/2's system install, which has a completely different semantic
1784 # ./install, which can be erroneously created by make from ./install.sh.
1785 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1786 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1787 if test -z "$INSTALL"; then
1788 if test "${ac_cv_path_install+set}" = set; then
1789 echo $ECHO_N "(cached) $ECHO_C" >&6
1791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1795 test -z "$as_dir" && as_dir=.
1796 # Account for people who put trailing slashes in PATH elements.
1798 ./ | .// | /cC/* | \
1799 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1800 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1803 # OSF1 and SCO ODT 3.0 have their own names for install.
1804 # Don't use installbsd from OSF since it installs stuff as root
1806 for ac_prog in ginstall scoinst install; do
1807 for ac_exec_ext in '' $ac_executable_extensions; do
1808 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1809 if test $ac_prog = install &&
1810 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1811 # AIX install. It has an incompatible calling convention.
1813 elif test $ac_prog = install &&
1814 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1815 # program-specific install script used by HP pwplus--don't use.
1818 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1831 if test "${ac_cv_path_install+set}" = set; then
1832 INSTALL=$ac_cv_path_install
1834 # As a last resort, use the slow shell script. Don't cache a
1835 # value for INSTALL within a source directory, because that will
1836 # break other packages using the cache if that directory is
1837 # removed, or if the value is a relative name.
1838 INSTALL=$ac_install_sh
1841 { echo "$as_me:$LINENO: result: $INSTALL" >&5
1842 echo "${ECHO_T}$INSTALL" >&6; }
1844 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1845 # It thinks the first close brace ends the variable substitution.
1846 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1848 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1850 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1852 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1853 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1856 echo timestamp > conftest.file
1857 # Do `set' in a subshell so we don't clobber the current shell
's
1858 # arguments. Must try -L first in case configure is actually a
1859 # symlink; some systems play weird games with the mod time of symlinks
1860 # (eg FreeBSD returns the mod time of the symlink's containing
1863 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1864 if test "$*" = "X"; then
1866 set X
`ls -t $srcdir/configure conftest.file`
1869 if test "$*" != "X $srcdir/configure conftest.file" \
1870 && test "$*" != "X conftest.file $srcdir/configure"; then
1872 # If neither matched, then we have a broken ls. This can happen
1873 # if, for instance, CONFIG_SHELL is bash and it inherits a
1874 # broken ls alias from the environment. This has actually
1875 # happened. Such a system could not be considered "sane".
1876 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1877 alias in your environment" >&5
1878 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1879 alias in your environment" >&2;}
1880 { (exit 1); exit 1; }; }
1883 test "$2" = conftest.
file
1889 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1890 Check your system clock" >&5
1891 echo "$as_me: error: newly created file is older than distributed files!
1892 Check your system clock" >&2;}
1893 { (exit 1); exit 1; }; }
1895 { echo "$as_me:$LINENO: result: yes" >&5
1896 echo "${ECHO_T}yes" >&6; }
1897 test "$program_prefix" != NONE
&&
1898 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
1899 # Use a double $ so make ignores it.
1900 test "$program_suffix" != NONE
&&
1901 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
1902 # Double any \ or $. echo might interpret backslashes.
1903 # By default was `s,x,x', remove it if useless.
1904 cat <<\_ACEOF
>conftest.
sed
1905 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1907 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1910 # expand $ac_aux_dir to an absolute path
1911 am_aux_dir
=`cd $ac_aux_dir && pwd`
1913 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1914 # Use eval to expand $SHELL
1915 if eval "$MISSING --run true"; then
1916 am_missing_run
="$MISSING --run "
1919 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1920 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1923 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
1924 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
1925 if test -z "$MKDIR_P"; then
1926 if test "${ac_cv_path_mkdir+set}" = set; then
1927 echo $ECHO_N "(cached) $ECHO_C" >&6
1929 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1930 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
1933 test -z "$as_dir" && as_dir
=.
1934 for ac_prog
in mkdir gmkdir
; do
1935 for ac_exec_ext
in '' $ac_executable_extensions; do
1936 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
1937 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
1938 'mkdir (GNU coreutils) '* | \
1939 'mkdir (coreutils) '* | \
1940 'mkdir (fileutils) '4.1*)
1941 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
1951 if test "${ac_cv_path_mkdir+set}" = set; then
1952 MKDIR_P
="$ac_cv_path_mkdir -p"
1954 # As a last resort, use the slow shell script. Don't cache a
1955 # value for MKDIR_P within a source directory, because that will
1956 # break other packages using the cache if that directory is
1957 # removed, or if the value is a relative name.
1958 test -d .
/--version && rmdir .
/--version
1959 MKDIR_P
="$ac_install_sh -d"
1962 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
1963 echo "${ECHO_T}$MKDIR_P" >&6; }
1967 [\\/$
]* | ?
:[\\/]*) ;;
1968 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
1971 for ac_prog
in gawk mawk nawk
awk
1973 # Extract the first word of "$ac_prog", so it can be a program name with args.
1974 set dummy
$ac_prog; ac_word
=$2
1975 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1976 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1977 if test "${ac_cv_prog_AWK+set}" = set; then
1978 echo $ECHO_N "(cached) $ECHO_C" >&6
1980 if test -n "$AWK"; then
1981 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1983 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1987 test -z "$as_dir" && as_dir
=.
1988 for ac_exec_ext
in '' $ac_executable_extensions; do
1989 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1990 ac_cv_prog_AWK
="$ac_prog"
1991 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2001 if test -n "$AWK"; then
2002 { echo "$as_me:$LINENO: result: $AWK" >&5
2003 echo "${ECHO_T}$AWK" >&6; }
2005 { echo "$as_me:$LINENO: result: no" >&5
2006 echo "${ECHO_T}no" >&6; }
2010 test -n "$AWK" && break
2013 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2014 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2015 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2016 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2017 echo $ECHO_N "(cached) $ECHO_C" >&6
2019 cat >conftest.
make <<\_ACEOF
2022 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2024 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2025 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2027 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2029 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2033 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2034 { echo "$as_me:$LINENO: result: yes" >&5
2035 echo "${ECHO_T}yes" >&6; }
2038 { echo "$as_me:$LINENO: result: no" >&5
2039 echo "${ECHO_T}no" >&6; }
2040 SET_MAKE
="MAKE=${MAKE-make}"
2043 rm -rf .tst
2>/dev
/null
2044 mkdir .tst
2>/dev
/null
2045 if test -d .tst
; then
2050 rmdir .tst
2>/dev
/null
2052 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2053 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2054 # is not polluted with repeated "-I."
2055 am__isrc
=' -I$(srcdir)'
2056 # test to see if srcdir already configured
2057 if test -f $srcdir/config.status
; then
2058 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2059 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2060 { (exit 1); exit 1; }; }
2064 # test whether we have cygpath
2065 if test -z "$CYGPATH_W"; then
2066 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2067 CYGPATH_W
='cygpath -w'
2074 # Define the identity of the package.
2079 cat >>confdefs.h
<<_ACEOF
2080 #define PACKAGE "$PACKAGE"
2084 cat >>confdefs.h
<<_ACEOF
2085 #define VERSION "$VERSION"
2088 # Some tools Automake needs.
2090 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2093 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2096 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2099 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2102 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2104 install_sh
=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2106 # Installed binaries are usually stripped using `strip' when the user
2107 # run `make install-strip'. However `strip' might not be the right
2108 # tool to use in cross-compilation environments, therefore Automake
2109 # will honor the `STRIP' environment variable to overrule this program.
2110 if test "$cross_compiling" != no
; then
2111 if test -n "$ac_tool_prefix"; then
2112 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2113 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2114 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2115 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2116 if test "${ac_cv_prog_STRIP+set}" = set; then
2117 echo $ECHO_N "(cached) $ECHO_C" >&6
2119 if test -n "$STRIP"; then
2120 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2122 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2126 test -z "$as_dir" && as_dir
=.
2127 for ac_exec_ext
in '' $ac_executable_extensions; do
2128 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2129 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2130 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2139 STRIP
=$ac_cv_prog_STRIP
2140 if test -n "$STRIP"; then
2141 { echo "$as_me:$LINENO: result: $STRIP" >&5
2142 echo "${ECHO_T}$STRIP" >&6; }
2144 { echo "$as_me:$LINENO: result: no" >&5
2145 echo "${ECHO_T}no" >&6; }
2150 if test -z "$ac_cv_prog_STRIP"; then
2152 # Extract the first word of "strip", so it can be a program name with args.
2153 set dummy strip
; ac_word
=$2
2154 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2155 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2156 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2157 echo $ECHO_N "(cached) $ECHO_C" >&6
2159 if test -n "$ac_ct_STRIP"; then
2160 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2162 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2166 test -z "$as_dir" && as_dir
=.
2167 for ac_exec_ext
in '' $ac_executable_extensions; do
2168 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2169 ac_cv_prog_ac_ct_STRIP
="strip"
2170 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2179 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2180 if test -n "$ac_ct_STRIP"; then
2181 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2182 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2184 { echo "$as_me:$LINENO: result: no" >&5
2185 echo "${ECHO_T}no" >&6; }
2188 if test "x$ac_ct_STRIP" = x
; then
2191 case $cross_compiling:$ac_tool_warned in
2193 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2194 whose name does not start with the host triplet. If you think this
2195 configuration is useful to you, please write to autoconf@gnu.org." >&5
2196 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2197 whose name does not start with the host triplet. If you think this
2198 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2199 ac_tool_warned
=yes ;;
2204 STRIP
="$ac_cv_prog_STRIP"
2208 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2210 # We need awk for the "check" target. The system "awk" is bad on
2212 # Always define AMTAR for backward compatibility.
2214 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2216 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2223 ac_config_headers
="$ac_config_headers config.h"
2227 # Checks for programs.
2229 ac_cpp
='$CPP $CPPFLAGS'
2230 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2231 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2232 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2233 if test -n "$ac_tool_prefix"; then
2234 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2235 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2236 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2237 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2238 if test "${ac_cv_prog_CC+set}" = set; then
2239 echo $ECHO_N "(cached) $ECHO_C" >&6
2241 if test -n "$CC"; then
2242 ac_cv_prog_CC
="$CC" # Let the user override the test.
2244 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2248 test -z "$as_dir" && as_dir
=.
2249 for ac_exec_ext
in '' $ac_executable_extensions; do
2250 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2251 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2252 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2262 if test -n "$CC"; then
2263 { echo "$as_me:$LINENO: result: $CC" >&5
2264 echo "${ECHO_T}$CC" >&6; }
2266 { echo "$as_me:$LINENO: result: no" >&5
2267 echo "${ECHO_T}no" >&6; }
2272 if test -z "$ac_cv_prog_CC"; then
2274 # Extract the first word of "gcc", so it can be a program name with args.
2275 set dummy gcc
; ac_word
=$2
2276 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2277 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2278 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2279 echo $ECHO_N "(cached) $ECHO_C" >&6
2281 if test -n "$ac_ct_CC"; then
2282 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2284 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2288 test -z "$as_dir" && as_dir
=.
2289 for ac_exec_ext
in '' $ac_executable_extensions; do
2290 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2291 ac_cv_prog_ac_ct_CC
="gcc"
2292 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2301 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2302 if test -n "$ac_ct_CC"; then
2303 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2304 echo "${ECHO_T}$ac_ct_CC" >&6; }
2306 { echo "$as_me:$LINENO: result: no" >&5
2307 echo "${ECHO_T}no" >&6; }
2310 if test "x$ac_ct_CC" = x
; then
2313 case $cross_compiling:$ac_tool_warned in
2315 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2316 whose name does not start with the host triplet. If you think this
2317 configuration is useful to you, please write to autoconf@gnu.org." >&5
2318 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2319 whose name does not start with the host triplet. If you think this
2320 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2321 ac_tool_warned
=yes ;;
2329 if test -z "$CC"; then
2330 if test -n "$ac_tool_prefix"; then
2331 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2332 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2333 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2334 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2335 if test "${ac_cv_prog_CC+set}" = set; then
2336 echo $ECHO_N "(cached) $ECHO_C" >&6
2338 if test -n "$CC"; then
2339 ac_cv_prog_CC
="$CC" # Let the user override the test.
2341 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2345 test -z "$as_dir" && as_dir
=.
2346 for ac_exec_ext
in '' $ac_executable_extensions; do
2347 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2348 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2349 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2359 if test -n "$CC"; then
2360 { echo "$as_me:$LINENO: result: $CC" >&5
2361 echo "${ECHO_T}$CC" >&6; }
2363 { echo "$as_me:$LINENO: result: no" >&5
2364 echo "${ECHO_T}no" >&6; }
2370 if test -z "$CC"; then
2371 # Extract the first word of "cc", so it can be a program name with args.
2372 set dummy cc
; ac_word
=$2
2373 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2374 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2375 if test "${ac_cv_prog_CC+set}" = set; then
2376 echo $ECHO_N "(cached) $ECHO_C" >&6
2378 if test -n "$CC"; then
2379 ac_cv_prog_CC
="$CC" # Let the user override the test.
2382 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2386 test -z "$as_dir" && as_dir
=.
2387 for ac_exec_ext
in '' $ac_executable_extensions; do
2388 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2389 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2390 ac_prog_rejected
=yes
2394 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2401 if test $ac_prog_rejected = yes; then
2402 # We found a bogon in the path, so make sure we never use it.
2403 set dummy
$ac_cv_prog_CC
2405 if test $# != 0; then
2406 # We chose a different compiler from the bogus one.
2407 # However, it has the same basename, so the bogon will be chosen
2408 # first if we set CC to just the basename; use the full file name.
2410 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2416 if test -n "$CC"; then
2417 { echo "$as_me:$LINENO: result: $CC" >&5
2418 echo "${ECHO_T}$CC" >&6; }
2420 { echo "$as_me:$LINENO: result: no" >&5
2421 echo "${ECHO_T}no" >&6; }
2426 if test -z "$CC"; then
2427 if test -n "$ac_tool_prefix"; then
2428 for ac_prog
in cl.exe
2430 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2431 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2432 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2433 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2434 if test "${ac_cv_prog_CC+set}" = set; then
2435 echo $ECHO_N "(cached) $ECHO_C" >&6
2437 if test -n "$CC"; then
2438 ac_cv_prog_CC
="$CC" # Let the user override the test.
2440 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2444 test -z "$as_dir" && as_dir
=.
2445 for ac_exec_ext
in '' $ac_executable_extensions; do
2446 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2447 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2448 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2458 if test -n "$CC"; then
2459 { echo "$as_me:$LINENO: result: $CC" >&5
2460 echo "${ECHO_T}$CC" >&6; }
2462 { echo "$as_me:$LINENO: result: no" >&5
2463 echo "${ECHO_T}no" >&6; }
2467 test -n "$CC" && break
2470 if test -z "$CC"; then
2472 for ac_prog
in cl.exe
2474 # Extract the first word of "$ac_prog", so it can be a program name with args.
2475 set dummy
$ac_prog; ac_word
=$2
2476 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2477 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2478 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2479 echo $ECHO_N "(cached) $ECHO_C" >&6
2481 if test -n "$ac_ct_CC"; then
2482 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2484 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2488 test -z "$as_dir" && as_dir
=.
2489 for ac_exec_ext
in '' $ac_executable_extensions; do
2490 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2491 ac_cv_prog_ac_ct_CC
="$ac_prog"
2492 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2501 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2502 if test -n "$ac_ct_CC"; then
2503 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2504 echo "${ECHO_T}$ac_ct_CC" >&6; }
2506 { echo "$as_me:$LINENO: result: no" >&5
2507 echo "${ECHO_T}no" >&6; }
2511 test -n "$ac_ct_CC" && break
2514 if test "x$ac_ct_CC" = x
; then
2517 case $cross_compiling:$ac_tool_warned in
2519 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2520 whose name does not start with the host triplet. If you think this
2521 configuration is useful to you, please write to autoconf@gnu.org." >&5
2522 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2523 whose name does not start with the host triplet. If you think this
2524 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2525 ac_tool_warned
=yes ;;
2534 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2535 See \`config.log' for more details." >&5
2536 echo "$as_me: error: no acceptable C compiler found in \$PATH
2537 See \`config.log' for more details." >&2;}
2538 { (exit 1); exit 1; }; }
2540 # Provide some information about the compiler.
2541 echo "$as_me:$LINENO: checking for C compiler version" >&5
2542 ac_compiler
=`set X $ac_compile; echo $2`
2543 { (ac_try
="$ac_compiler --version >&5"
2545 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2546 *) ac_try_echo=$ac_try;;
2548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2549 (eval "$ac_compiler --version >&5") 2>&5
2551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2552 (exit $ac_status); }
2553 { (ac_try="$ac_compiler -v >&5"
2555 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2556 *) ac_try_echo
=$ac_try;;
2558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2559 (eval "$ac_compiler -v >&5") 2>&5
2561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2562 (exit $ac_status); }
2563 { (ac_try
="$ac_compiler -V >&5"
2565 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2566 *) ac_try_echo=$ac_try;;
2568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2569 (eval "$ac_compiler -V >&5") 2>&5
2571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2572 (exit $ac_status); }
2574 cat >conftest.$ac_ext <<_ACEOF
2577 cat confdefs.h >>conftest.$ac_ext
2578 cat >>conftest.$ac_ext <<_ACEOF
2579 /* end confdefs.h. */
2589 ac_clean_files_save=$ac_clean_files
2590 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2591 # Try to create an executable without -o first, disregard a.out.
2592 # It will help us diagnose broken compilers, and finding out an intuition
2594 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2595 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2596 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2598 # List of possible output files, starting from the most likely.
2599 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2600 # only as a last resort. b.out is created by i960 compilers.
2601 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2603 # The IRIX 6 linker writes into existing files which may not be
2604 # executable, retaining their permissions. Remove them first so a
2605 # subsequent execution test works.
2607 for ac_file in $ac_files
2610 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2611 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2616 if { (ac_try="$ac_link_default"
2618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2619 *) ac_try_echo=$ac_try;;
2621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2622 (eval "$ac_link_default") 2>&5
2624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2625 (exit $ac_status); }; then
2626 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2627 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2628 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2629 # so that the user can short-circuit this test for compilers unknown to
2631 for ac_file
in $ac_files ''
2633 test -f "$ac_file" ||
continue
2635 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
2638 # We found the default executable, but exeext='' is most
2642 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2644 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2646 # We set ac_cv_exeext here because the later test for it is not
2647 # safe: cross compilers may not add the suffix if given an `-o'
2648 # argument, so we may need to know it at that point already.
2649 # Even if this section looks crufty: it has the advantage of
2656 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2662 { echo "$as_me:$LINENO: result: $ac_file" >&5
2663 echo "${ECHO_T}$ac_file" >&6; }
2664 if test -z "$ac_file"; then
2665 echo "$as_me: failed program was:" >&5
2666 sed 's/^/| /' conftest.
$ac_ext >&5
2668 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2669 See \`config.log' for more details." >&5
2670 echo "$as_me: error: C compiler cannot create executables
2671 See \`config.log' for more details." >&2;}
2672 { (exit 77); exit 77; }; }
2675 ac_exeext
=$ac_cv_exeext
2677 # Check that the compiler produces executables we can run. If not, either
2678 # the compiler is broken, or we cross compile.
2679 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2680 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2681 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2682 # If not cross compiling, check that we can run a simple program.
2683 if test "$cross_compiling" != yes; then
2684 if { ac_try
='./$ac_file'
2685 { (case "(($ac_try" in
2686 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2687 *) ac_try_echo=$ac_try;;
2689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2690 (eval "$ac_try") 2>&5
2692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2693 (exit $ac_status); }; }; then
2696 if test "$cross_compiling" = maybe; then
2699 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2700 If you meant to cross compile, use \`--host'.
2701 See \`config.log' for more details.
" >&5
2702 echo "$as_me: error
: cannot run C compiled programs.
2703 If you meant to cross compile
, use \
`--host'.
2704 See \`config.log
' for more details." >&2;}
2705 { (exit 1); exit 1; }; }
2709 { echo "$as_me:$LINENO: result: yes" >&5
2710 echo "${ECHO_T}yes" >&6; }
2712 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2713 ac_clean_files=$ac_clean_files_save
2714 # Check that the compiler produces executables we can run. If not, either
2715 # the compiler is broken, or we cross compile.
2716 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2717 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2718 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2719 echo "${ECHO_T}$cross_compiling" >&6; }
2721 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2722 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2723 if { (ac_try="$ac_link"
2725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2726 *) ac_try_echo=$ac_try;;
2728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2729 (eval "$ac_link") 2>&5
2731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2732 (exit $ac_status); }; then
2733 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2734 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2735 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2737 for ac_file
in conftest.exe conftest conftest.
*; do
2738 test -f "$ac_file" ||
continue
2740 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
2741 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2747 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2748 See \`config.log' for more details." >&5
2749 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2750 See \`config.log' for more details." >&2;}
2751 { (exit 1); exit 1; }; }
2754 rm -f conftest
$ac_cv_exeext
2755 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2756 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2758 rm -f conftest.
$ac_ext
2759 EXEEXT
=$ac_cv_exeext
2761 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2762 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2763 if test "${ac_cv_objext+set}" = set; then
2764 echo $ECHO_N "(cached) $ECHO_C" >&6
2766 cat >conftest.
$ac_ext <<_ACEOF
2769 cat confdefs.h
>>conftest.
$ac_ext
2770 cat >>conftest.
$ac_ext <<_ACEOF
2771 /* end confdefs.h. */
2781 rm -f conftest.o conftest.obj
2782 if { (ac_try
="$ac_compile"
2784 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2785 *) ac_try_echo=$ac_try;;
2787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2788 (eval "$ac_compile") 2>&5
2790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2791 (exit $ac_status); }; then
2792 for ac_file in conftest.o conftest.obj conftest.*; do
2793 test -f "$ac_file" || continue;
2795 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2796 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2801 echo "$as_me: failed program was:" >&5
2802 sed 's/^/| /' conftest.$ac_ext >&5
2804 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2805 See \`config.log
' for more details." >&5
2806 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2807 See \`config.log' for more details.
" >&2;}
2808 { (exit 1); exit 1; }; }
2811 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2813 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
2814 echo "${ECHO_T}$ac_cv_objext" >&6; }
2815 OBJEXT=$ac_cv_objext
2817 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
2818 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
2819 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2820 echo $ECHO_N "(cached
) $ECHO_C" >&6
2822 cat >conftest.$ac_ext <<_ACEOF
2825 cat confdefs.h >>conftest.$ac_ext
2826 cat >>conftest.$ac_ext <<_ACEOF
2827 /* end confdefs.h. */
2840 rm -f conftest.$ac_objext
2841 if { (ac_try="$ac_compile"
2843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2844 *) ac_try_echo=$ac_try;;
2846 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2847 (eval "$ac_compile") 2>conftest.er1
2849 grep -v '^ *+' conftest.er1 >conftest.err
2851 cat conftest.err >&5
2852 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2853 (exit $ac_status); } && {
2854 test -z "$ac_c_werror_flag" ||
2855 test ! -s conftest.err
2856 } && test -s conftest.$ac_objext; then
2859 echo "$as_me: failed program was
:" >&5
2860 sed 's/^/| /' conftest.$ac_ext >&5
2865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2866 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2869 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
2870 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2871 GCC=`test $ac_compiler_gnu = yes && echo yes`
2872 ac_test_CFLAGS=${CFLAGS+set}
2873 ac_save_CFLAGS=$CFLAGS
2874 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
2875 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
2876 if test "${ac_cv_prog_cc_g+set}" = set; then
2877 echo $ECHO_N "(cached
) $ECHO_C" >&6
2879 ac_save_c_werror_flag=$ac_c_werror_flag
2880 ac_c_werror_flag=yes
2883 cat >conftest.$ac_ext <<_ACEOF
2886 cat confdefs.h >>conftest.$ac_ext
2887 cat >>conftest.$ac_ext <<_ACEOF
2888 /* end confdefs.h. */
2898 rm -f conftest.$ac_objext
2899 if { (ac_try="$ac_compile"
2901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2902 *) ac_try_echo=$ac_try;;
2904 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2905 (eval "$ac_compile") 2>conftest.er1
2907 grep -v '^ *+' conftest.er1 >conftest.err
2909 cat conftest.err >&5
2910 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2911 (exit $ac_status); } && {
2912 test -z "$ac_c_werror_flag" ||
2913 test ! -s conftest.err
2914 } && test -s conftest.$ac_objext; then
2917 echo "$as_me: failed program was
:" >&5
2918 sed 's/^/| /' conftest.$ac_ext >&5
2921 cat >conftest.$ac_ext <<_ACEOF
2924 cat confdefs.h >>conftest.$ac_ext
2925 cat >>conftest.$ac_ext <<_ACEOF
2926 /* end confdefs.h. */
2936 rm -f conftest.$ac_objext
2937 if { (ac_try="$ac_compile"
2939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2940 *) ac_try_echo=$ac_try;;
2942 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2943 (eval "$ac_compile") 2>conftest.er1
2945 grep -v '^ *+' conftest.er1 >conftest.err
2947 cat conftest.err >&5
2948 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2949 (exit $ac_status); } && {
2950 test -z "$ac_c_werror_flag" ||
2951 test ! -s conftest.err
2952 } && test -s conftest.$ac_objext; then
2955 echo "$as_me: failed program was
:" >&5
2956 sed 's/^/| /' conftest.$ac_ext >&5
2958 ac_c_werror_flag=$ac_save_c_werror_flag
2960 cat >conftest.$ac_ext <<_ACEOF
2963 cat confdefs.h >>conftest.$ac_ext
2964 cat >>conftest.$ac_ext <<_ACEOF
2965 /* end confdefs.h. */
2975 rm -f conftest.$ac_objext
2976 if { (ac_try="$ac_compile"
2978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2979 *) ac_try_echo=$ac_try;;
2981 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2982 (eval "$ac_compile") 2>conftest.er1
2984 grep -v '^ *+' conftest.er1 >conftest.err
2986 cat conftest.err >&5
2987 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2988 (exit $ac_status); } && {
2989 test -z "$ac_c_werror_flag" ||
2990 test ! -s conftest.err
2991 } && test -s conftest.$ac_objext; then
2994 echo "$as_me: failed program was
:" >&5
2995 sed 's/^/| /' conftest.$ac_ext >&5
3000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3007 ac_c_werror_flag=$ac_save_c_werror_flag
3009 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
3010 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3011 if test "$ac_test_CFLAGS" = set; then
3012 CFLAGS=$ac_save_CFLAGS
3013 elif test $ac_cv_prog_cc_g = yes; then
3014 if test "$GCC" = yes; then
3020 if test "$GCC" = yes; then
3026 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
3027 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
3028 if test "${ac_cv_prog_cc_c89+set}" = set; then
3029 echo $ECHO_N "(cached
) $ECHO_C" >&6
3031 ac_cv_prog_cc_c89=no
3033 cat >conftest.$ac_ext <<_ACEOF
3036 cat confdefs.h >>conftest.$ac_ext
3037 cat >>conftest.$ac_ext <<_ACEOF
3038 /* end confdefs.h. */
3041 #include <sys/types.h>
3042 #include <sys/stat.h>
3043 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3044 struct buf { int x; };
3045 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3046 static char *e (p, i)
3052 static char *f (char * (*g) (char **, int), char **p, ...)
3057 s = g (p, va_arg (v,int));
3062 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3063 function prototypes and stuff, but not '\xHH' hex character constants.
3064 These don't provoke an error unfortunately, instead are silently treated
3065 as 'x'. The following induces an error, until -std is added to get
3066 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3067 array size at least. It's necessary to write '\x00'==0 to get something
3068 that's true only with -std. */
3069 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3071 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3072 inside strings and character constants. */
3074 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3076 int test (int i, double x);
3077 struct s1 {int (*f) (int a);};
3078 struct s2 {int (*f) (double a);};
3079 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3085 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3090 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3091 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3093 CC="$ac_save_CC $ac_arg"
3094 rm -f conftest.$ac_objext
3095 if { (ac_try="$ac_compile"
3097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3098 *) ac_try_echo=$ac_try;;
3100 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3101 (eval "$ac_compile") 2>conftest.er1
3103 grep -v '^ *+' conftest.er1 >conftest.err
3105 cat conftest.err >&5
3106 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3107 (exit $ac_status); } && {
3108 test -z "$ac_c_werror_flag" ||
3109 test ! -s conftest.err
3110 } && test -s conftest.$ac_objext; then
3111 ac_cv_prog_cc_c89=$ac_arg
3113 echo "$as_me: failed program was
:" >&5
3114 sed 's/^/| /' conftest.$ac_ext >&5
3119 rm -f core conftest.err conftest.$ac_objext
3120 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3122 rm -f conftest.$ac_ext
3127 case "x
$ac_cv_prog_cc_c89" in
3129 { echo "$as_me:$LINENO: result
: none needed
" >&5
3130 echo "${ECHO_T}none needed
" >&6; } ;;
3132 { echo "$as_me:$LINENO: result
: unsupported
" >&5
3133 echo "${ECHO_T}unsupported
" >&6; } ;;
3135 CC="$CC $ac_cv_prog_cc_c89"
3136 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
3137 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3142 ac_cpp='$CPP $CPPFLAGS'
3143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3146 DEPDIR="${am__leading_dot}deps
"
3148 ac_config_commands="$ac_config_commands depfiles
"
3151 am_make=${MAKE-make}
3152 cat > confinc << 'END'
3157 # If we don't find an include directive, just comment out the code.
3158 { echo "$as_me:$LINENO: checking
for style of include used by
$am_make" >&5
3159 echo $ECHO_N "checking
for style of include used by
$am_make...
$ECHO_C" >&6; }
3163 # First try GNU make style include.
3164 echo "include confinc" > confmf
3165 # We grep out `Entering directory' and `Leaving directory'
3166 # messages which can occur if `w' ends up in MAKEFLAGS.
3167 # In particular we don't look at `^make:' because GNU make might
3168 # be invoked under some other name (usually "gmake"), in which
3169 # case it prints its new name instead of `make'.
3170 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3175 # Now try BSD make style include.
3176 if test "$am__include" = "#"; then
3177 echo '.include "confinc"' > confmf
3178 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3179 am__include
=.include
3186 { echo "$as_me:$LINENO: result: $_am_result" >&5
3187 echo "${ECHO_T}$_am_result" >&6; }
3188 rm -f confinc confmf
3190 # Check whether --enable-dependency-tracking was given.
3191 if test "${enable_dependency_tracking+set}" = set; then
3192 enableval
=$enable_dependency_tracking;
3195 if test "x$enable_dependency_tracking" != xno
; then
3196 am_depcomp
="$ac_aux_dir/depcomp"
3199 if test "x$enable_dependency_tracking" != xno; then
3209 depcc
="$CC" am_compiler_list
=
3211 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3212 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3213 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3214 echo $ECHO_N "(cached) $ECHO_C" >&6
3216 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3217 # We make a subdir and do the tests there. Otherwise we can end up
3218 # making bogus files that we don't know about and never remove. For
3219 # instance it was reported that on HP-UX the gcc test will end up
3220 # making a dummy file named `D' -- because `-MD' means `put the output
3223 # Copy depcomp to subdir because otherwise we won't find it if we're
3224 # using a relative directory.
3225 cp "$am_depcomp" conftest.dir
3227 # We will build objects and dependencies in a subdirectory because
3228 # it helps to detect inapplicable dependency modes. For instance
3229 # both Tru64's cc and ICC support -MD to output dependencies as a
3230 # side effect of compilation, but ICC will put the dependencies in
3231 # the current directory while Tru64 will put them in the object
3235 am_cv_CC_dependencies_compiler_type
=none
3236 if test "$am_compiler_list" = ""; then
3237 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3239 for depmode
in $am_compiler_list; do
3240 # Setup a source with many dependencies, because some compilers
3241 # like to wrap large dependency lists on column 80 (with \), and
3242 # we should not choose a depcomp mode which is confused by this.
3244 # We need to recreate these files for each test, as the compiler may
3245 # overwrite some of them when testing with obscure command lines.
3246 # This happens at least with the AIX C compiler.
3248 for i
in 1 2 3 4 5 6; do
3249 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3250 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3251 # Solaris 8's {/usr,}/bin/sh.
3252 touch sub
/conftst
$i.h
3254 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3258 # after this tag, mechanisms are not by side-effect, so they'll
3259 # only be used when explicitly requested
3260 if test "x$enable_dependency_tracking" = xyes
; then
3268 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3269 # mode. It turns out that the SunPro C++ compiler does not properly
3270 # handle `-M -o', and we need to detect this.
3271 if depmode
=$depmode \
3272 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3273 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3274 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3275 >/dev
/null
2>conftest.err
&&
3276 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3277 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3278 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3279 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3280 # icc doesn't choke on unknown options, it will just issue warnings
3281 # or remarks (even with -Werror). So we grep stderr for any message
3282 # that says an option was ignored or not supported.
3283 # When given -MP, icc 7.0 and 7.1 complain thusly:
3284 # icc: Command line warning: ignoring option '-M'; no argument required
3285 # The diagnosis changed in icc 8.0:
3286 # icc: Command line remark: option '-MP' not supported
3287 if (grep 'ignoring option' conftest.err ||
3288 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3289 am_cv_CC_dependencies_compiler_type
=$depmode
3298 am_cv_CC_dependencies_compiler_type
=none
3302 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3303 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3304 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3307 test "x$enable_dependency_tracking" != xno \
3308 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3310 am__fastdepCC_FALSE
='#'
3312 am__fastdepCC_TRUE
='#'
3313 am__fastdepCC_FALSE
=
3318 ac_cpp
='$CXXCPP $CPPFLAGS'
3319 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3320 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3321 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3322 if test -z "$CXX"; then
3323 if test -n "$CCC"; then
3326 if test -n "$ac_tool_prefix"; then
3327 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
3329 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3330 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3331 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3332 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3333 if test "${ac_cv_prog_CXX+set}" = set; then
3334 echo $ECHO_N "(cached) $ECHO_C" >&6
3336 if test -n "$CXX"; then
3337 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
3339 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3343 test -z "$as_dir" && as_dir
=.
3344 for ac_exec_ext
in '' $ac_executable_extensions; do
3345 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3346 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
3347 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3357 if test -n "$CXX"; then
3358 { echo "$as_me:$LINENO: result: $CXX" >&5
3359 echo "${ECHO_T}$CXX" >&6; }
3361 { echo "$as_me:$LINENO: result: no" >&5
3362 echo "${ECHO_T}no" >&6; }
3366 test -n "$CXX" && break
3369 if test -z "$CXX"; then
3371 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
3373 # Extract the first word of "$ac_prog", so it can be a program name with args.
3374 set dummy
$ac_prog; ac_word
=$2
3375 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3376 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3377 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3378 echo $ECHO_N "(cached) $ECHO_C" >&6
3380 if test -n "$ac_ct_CXX"; then
3381 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
3383 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3387 test -z "$as_dir" && as_dir
=.
3388 for ac_exec_ext
in '' $ac_executable_extensions; do
3389 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3390 ac_cv_prog_ac_ct_CXX
="$ac_prog"
3391 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3400 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
3401 if test -n "$ac_ct_CXX"; then
3402 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3403 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3405 { echo "$as_me:$LINENO: result: no" >&5
3406 echo "${ECHO_T}no" >&6; }
3410 test -n "$ac_ct_CXX" && break
3413 if test "x$ac_ct_CXX" = x
; then
3416 case $cross_compiling:$ac_tool_warned in
3418 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3419 whose name does not start with the host triplet. If you think this
3420 configuration is useful to you, please write to autoconf@gnu.org." >&5
3421 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3422 whose name does not start with the host triplet. If you think this
3423 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3424 ac_tool_warned
=yes ;;
3432 # Provide some information about the compiler.
3433 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3434 ac_compiler
=`set X $ac_compile; echo $2`
3435 { (ac_try
="$ac_compiler --version >&5"
3437 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3438 *) ac_try_echo=$ac_try;;
3440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3441 (eval "$ac_compiler --version >&5") 2>&5
3443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3444 (exit $ac_status); }
3445 { (ac_try="$ac_compiler -v >&5"
3447 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3448 *) ac_try_echo
=$ac_try;;
3450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3451 (eval "$ac_compiler -v >&5") 2>&5
3453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3454 (exit $ac_status); }
3455 { (ac_try
="$ac_compiler -V >&5"
3457 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3458 *) ac_try_echo=$ac_try;;
3460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3461 (eval "$ac_compiler -V >&5") 2>&5
3463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3464 (exit $ac_status); }
3466 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3467 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3468 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3469 echo $ECHO_N "(cached) $ECHO_C" >&6
3471 cat >conftest.$ac_ext <<_ACEOF
3474 cat confdefs.h >>conftest.$ac_ext
3475 cat >>conftest.$ac_ext <<_ACEOF
3476 /* end confdefs.h. */
3489 rm -f conftest.$ac_objext
3490 if { (ac_try="$ac_compile"
3492 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3493 *) ac_try_echo
=$ac_try;;
3495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3496 (eval "$ac_compile") 2>conftest.er1
3498 grep -v '^ *+' conftest.er1
>conftest.err
3500 cat conftest.err
>&5
3501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3502 (exit $ac_status); } && {
3503 test -z "$ac_cxx_werror_flag" ||
3504 test ! -s conftest.err
3505 } && test -s conftest.
$ac_objext; then
3508 echo "$as_me: failed program was:" >&5
3509 sed 's/^/| /' conftest.
$ac_ext >&5
3514 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3515 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
3518 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3519 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3520 GXX
=`test $ac_compiler_gnu = yes && echo yes`
3521 ac_test_CXXFLAGS
=${CXXFLAGS+set}
3522 ac_save_CXXFLAGS
=$CXXFLAGS
3523 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3524 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3525 if test "${ac_cv_prog_cxx_g+set}" = set; then
3526 echo $ECHO_N "(cached) $ECHO_C" >&6
3528 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
3529 ac_cxx_werror_flag
=yes
3532 cat >conftest.
$ac_ext <<_ACEOF
3535 cat confdefs.h
>>conftest.
$ac_ext
3536 cat >>conftest.
$ac_ext <<_ACEOF
3537 /* end confdefs.h. */
3547 rm -f conftest.
$ac_objext
3548 if { (ac_try
="$ac_compile"
3550 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3551 *) ac_try_echo=$ac_try;;
3553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3554 (eval "$ac_compile") 2>conftest.er1
3556 grep -v '^ *+' conftest.er1 >conftest.err
3558 cat conftest.err >&5
3559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3560 (exit $ac_status); } && {
3561 test -z "$ac_cxx_werror_flag" ||
3562 test ! -s conftest.err
3563 } && test -s conftest.$ac_objext; then
3564 ac_cv_prog_cxx_g=yes
3566 echo "$as_me: failed program was:" >&5
3567 sed 's/^/| /' conftest.$ac_ext >&5
3570 cat >conftest.$ac_ext <<_ACEOF
3573 cat confdefs.h >>conftest.$ac_ext
3574 cat >>conftest.$ac_ext <<_ACEOF
3575 /* end confdefs.h. */
3585 rm -f conftest.$ac_objext
3586 if { (ac_try="$ac_compile"
3588 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3589 *) ac_try_echo
=$ac_try;;
3591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3592 (eval "$ac_compile") 2>conftest.er1
3594 grep -v '^ *+' conftest.er1
>conftest.err
3596 cat conftest.err
>&5
3597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3598 (exit $ac_status); } && {
3599 test -z "$ac_cxx_werror_flag" ||
3600 test ! -s conftest.err
3601 } && test -s conftest.
$ac_objext; then
3604 echo "$as_me: failed program was:" >&5
3605 sed 's/^/| /' conftest.
$ac_ext >&5
3607 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3609 cat >conftest.
$ac_ext <<_ACEOF
3612 cat confdefs.h
>>conftest.
$ac_ext
3613 cat >>conftest.
$ac_ext <<_ACEOF
3614 /* end confdefs.h. */
3624 rm -f conftest.
$ac_objext
3625 if { (ac_try
="$ac_compile"
3627 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3628 *) ac_try_echo=$ac_try;;
3630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3631 (eval "$ac_compile") 2>conftest.er1
3633 grep -v '^ *+' conftest.er1 >conftest.err
3635 cat conftest.err >&5
3636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3637 (exit $ac_status); } && {
3638 test -z "$ac_cxx_werror_flag" ||
3639 test ! -s conftest.err
3640 } && test -s conftest.$ac_objext; then
3641 ac_cv_prog_cxx_g=yes
3643 echo "$as_me: failed program was:" >&5
3644 sed 's/^/| /' conftest.$ac_ext >&5
3649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3656 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3658 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3659 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3660 if test "$ac_test_CXXFLAGS" = set; then
3661 CXXFLAGS=$ac_save_CXXFLAGS
3662 elif test $ac_cv_prog_cxx_g = yes; then
3663 if test "$GXX" = yes; then
3669 if test "$GXX" = yes; then
3676 ac_cpp='$CPP $CPPFLAGS'
3677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3681 depcc="$CXX" am_compiler_list=
3683 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3684 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3685 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3686 echo $ECHO_N "(cached) $ECHO_C" >&6
3688 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3689 # We make a subdir and do the tests there. Otherwise we can end up
3690 # making bogus files that we don't know about and never remove. For
3691 # instance it was reported that on HP-UX the gcc test will end up
3692 # making a dummy file named `D
' -- because `-MD' means
`put the output
3695 # Copy depcomp to subdir because otherwise we won't find it if we're
3696 # using a relative directory.
3697 cp "$am_depcomp" conftest.dir
3699 # We will build objects and dependencies in a subdirectory because
3700 # it helps to detect inapplicable dependency modes. For instance
3701 # both Tru64's cc and ICC support -MD to output dependencies as a
3702 # side effect of compilation, but ICC will put the dependencies in
3703 # the current directory while Tru64 will put them in the object
3707 am_cv_CXX_dependencies_compiler_type=none
3708 if test "$am_compiler_list" = ""; then
3709 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
3711 for depmode in $am_compiler_list; do
3712 # Setup a source with many dependencies, because some compilers
3713 # like to wrap large dependency lists on column 80 (with \), and
3714 # we should not choose a depcomp mode which is confused by this.
3716 # We need to recreate these files for each test, as the compiler may
3717 # overwrite some of them when testing with obscure command lines.
3718 # This happens at least with the AIX C compiler.
3720 for i in 1 2 3 4 5 6; do
3721 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3722 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
3723 # Solaris 8's
{/usr
,}/bin
/sh.
3724 touch sub
/conftst
$i.h
3726 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3730 # after this tag, mechanisms are not by side-effect, so they'll
3731 # only be used when explicitly requested
3732 if test "x$enable_dependency_tracking" = xyes
; then
3740 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3741 # mode. It turns out that the SunPro C++ compiler does not properly
3742 # handle `-M -o', and we need to detect this.
3743 if depmode
=$depmode \
3744 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3745 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3746 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3747 >/dev
/null
2>conftest.err
&&
3748 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3749 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3750 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3751 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3752 # icc doesn't choke on unknown options, it will just issue warnings
3753 # or remarks (even with -Werror). So we grep stderr for any message
3754 # that says an option was ignored or not supported.
3755 # When given -MP, icc 7.0 and 7.1 complain thusly:
3756 # icc: Command line warning: ignoring option '-M'; no argument required
3757 # The diagnosis changed in icc 8.0:
3758 # icc: Command line remark: option '-MP' not supported
3759 if (grep 'ignoring option' conftest.err ||
3760 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3761 am_cv_CXX_dependencies_compiler_type
=$depmode
3770 am_cv_CXX_dependencies_compiler_type
=none
3774 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
3775 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
3776 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
3779 test "x$enable_dependency_tracking" != xno \
3780 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
3781 am__fastdepCXX_TRUE
=
3782 am__fastdepCXX_FALSE
='#'
3784 am__fastdepCXX_TRUE
='#'
3785 am__fastdepCXX_FALSE
=
3789 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3790 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
3791 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3792 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
3793 echo $ECHO_N "(cached) $ECHO_C" >&6
3795 cat >conftest.
make <<\_ACEOF
3798 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3800 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3801 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3803 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3805 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3809 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3810 { echo "$as_me:$LINENO: result: yes" >&5
3811 echo "${ECHO_T}yes" >&6; }
3814 { echo "$as_me:$LINENO: result: no" >&5
3815 echo "${ECHO_T}no" >&6; }
3816 SET_MAKE
="MAKE=${MAKE-make}"
3819 if test -n "$ac_tool_prefix"; then
3820 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3821 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3822 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3823 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3824 if test "${ac_cv_prog_RANLIB+set}" = set; then
3825 echo $ECHO_N "(cached) $ECHO_C" >&6
3827 if test -n "$RANLIB"; then
3828 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3830 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3834 test -z "$as_dir" && as_dir
=.
3835 for ac_exec_ext
in '' $ac_executable_extensions; do
3836 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3837 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3838 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3847 RANLIB
=$ac_cv_prog_RANLIB
3848 if test -n "$RANLIB"; then
3849 { echo "$as_me:$LINENO: result: $RANLIB" >&5
3850 echo "${ECHO_T}$RANLIB" >&6; }
3852 { echo "$as_me:$LINENO: result: no" >&5
3853 echo "${ECHO_T}no" >&6; }
3858 if test -z "$ac_cv_prog_RANLIB"; then
3859 ac_ct_RANLIB
=$RANLIB
3860 # Extract the first word of "ranlib", so it can be a program name with args.
3861 set dummy ranlib
; ac_word
=$2
3862 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3863 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3864 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3865 echo $ECHO_N "(cached) $ECHO_C" >&6
3867 if test -n "$ac_ct_RANLIB"; then
3868 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3870 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3874 test -z "$as_dir" && as_dir
=.
3875 for ac_exec_ext
in '' $ac_executable_extensions; do
3876 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3877 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3878 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3887 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3888 if test -n "$ac_ct_RANLIB"; then
3889 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3890 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
3892 { echo "$as_me:$LINENO: result: no" >&5
3893 echo "${ECHO_T}no" >&6; }
3896 if test "x$ac_ct_RANLIB" = x
; then
3899 case $cross_compiling:$ac_tool_warned in
3901 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3902 whose name does not start with the host triplet. If you think this
3903 configuration is useful to you, please write to autoconf@gnu.org." >&5
3904 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3905 whose name does not start with the host triplet. If you think this
3906 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3907 ac_tool_warned
=yes ;;
3909 RANLIB
=$ac_ct_RANLIB
3912 RANLIB
="$ac_cv_prog_RANLIB"
3916 ac_cpp
='$CXXCPP $CPPFLAGS'
3917 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3918 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3919 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3922 # hack to locate on BSD systems
3923 CPPFLAGS
="$CPPFLAGS -I/usr/local/include"
3924 LIBS
="$LIBS -L/usr/local/lib"
3927 # Checks for libraries.
3928 # FIXME: Replace `main' with a function in `-lgmp':
3930 { echo "$as_me:$LINENO: checking for library containing __gmpz_init" >&5
3931 echo $ECHO_N "checking for library containing __gmpz_init... $ECHO_C" >&6; }
3932 if test "${ac_cv_search___gmpz_init+set}" = set; then
3933 echo $ECHO_N "(cached) $ECHO_C" >&6
3935 ac_func_search_save_LIBS
=$LIBS
3936 cat >conftest.
$ac_ext <<_ACEOF
3939 cat confdefs.h
>>conftest.
$ac_ext
3940 cat >>conftest.
$ac_ext <<_ACEOF
3941 /* end confdefs.h. */
3943 /* Override any GCC internal prototype to avoid an error.
3944 Use char because int might match the return type of a GCC
3945 builtin and then its argument prototype would still apply. */
3949 char __gmpz_init ();
3953 return __gmpz_init ();
3958 for ac_lib
in '' gmp
; do
3959 if test -z "$ac_lib"; then
3960 ac_res
="none required"
3963 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
3965 rm -f conftest.
$ac_objext conftest
$ac_exeext
3966 if { (ac_try
="$ac_link"
3968 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3969 *) ac_try_echo=$ac_try;;
3971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3972 (eval "$ac_link") 2>conftest.er1
3974 grep -v '^ *+' conftest.er1 >conftest.err
3976 cat conftest.err >&5
3977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3978 (exit $ac_status); } && {
3979 test -z "$ac_cxx_werror_flag" ||
3980 test ! -s conftest.err
3981 } && test -s conftest$ac_exeext &&
3982 $as_test_x conftest$ac_exeext; then
3983 ac_cv_search___gmpz_init=$ac_res
3985 echo "$as_me: failed program was:" >&5
3986 sed 's/^/| /' conftest.$ac_ext >&5
3991 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3993 if test "${ac_cv_search___gmpz_init+set}" = set; then
3997 if test "${ac_cv_search___gmpz_init+set}" = set; then
4000 ac_cv_search___gmpz_init=no
4003 LIBS=$ac_func_search_save_LIBS
4005 { echo "$as_me:$LINENO: result: $ac_cv_search___gmpz_init" >&5
4006 echo "${ECHO_T}$ac_cv_search___gmpz_init" >&6; }
4007 ac_res=$ac_cv_search___gmpz_init
4008 if test "$ac_res" != no; then
4009 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4013 # FIXME: Replace `main
' with a function in `-lm':
4014 { echo "$as_me:$LINENO: checking for library containing pow" >&5
4015 echo $ECHO_N "checking for library containing pow... $ECHO_C" >&6; }
4016 if test "${ac_cv_search_pow+set}" = set; then
4017 echo $ECHO_N "(cached) $ECHO_C" >&6
4019 ac_func_search_save_LIBS
=$LIBS
4020 cat >conftest.
$ac_ext <<_ACEOF
4023 cat confdefs.h
>>conftest.
$ac_ext
4024 cat >>conftest.
$ac_ext <<_ACEOF
4025 /* end confdefs.h. */
4027 /* Override any GCC internal prototype to avoid an error.
4028 Use char because int might match the return type of a GCC
4029 builtin and then its argument prototype would still apply. */
4042 for ac_lib
in '' m
; do
4043 if test -z "$ac_lib"; then
4044 ac_res
="none required"
4047 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
4049 rm -f conftest.
$ac_objext conftest
$ac_exeext
4050 if { (ac_try
="$ac_link"
4052 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4053 *) ac_try_echo=$ac_try;;
4055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4056 (eval "$ac_link") 2>conftest.er1
4058 grep -v '^ *+' conftest.er1 >conftest.err
4060 cat conftest.err >&5
4061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4062 (exit $ac_status); } && {
4063 test -z "$ac_cxx_werror_flag" ||
4064 test ! -s conftest.err
4065 } && test -s conftest$ac_exeext &&
4066 $as_test_x conftest$ac_exeext; then
4067 ac_cv_search_pow=$ac_res
4069 echo "$as_me: failed program was:" >&5
4070 sed 's/^/| /' conftest.$ac_ext >&5
4075 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4077 if test "${ac_cv_search_pow+set}" = set; then
4081 if test "${ac_cv_search_pow+set}" = set; then
4087 LIBS=$ac_func_search_save_LIBS
4089 { echo "$as_me:$LINENO: result: $ac_cv_search_pow" >&5
4090 echo "${ECHO_T}$ac_cv_search_pow" >&6; }
4091 ac_res=$ac_cv_search_pow
4092 if test "$ac_res" != no; then
4093 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4097 # FIXME: Replace `main
' with a function in `-lntl':
4098 { echo "$as_me:$LINENO: checking for library containing FFT" >&5
4099 echo $ECHO_N "checking for library containing FFT... $ECHO_C" >&6; }
4100 if test "${ac_cv_search_FFT+set}" = set; then
4101 echo $ECHO_N "(cached) $ECHO_C" >&6
4103 ac_func_search_save_LIBS
=$LIBS
4104 cat >conftest.
$ac_ext <<_ACEOF
4107 cat confdefs.h
>>conftest.
$ac_ext
4108 cat >>conftest.
$ac_ext <<_ACEOF
4109 /* end confdefs.h. */
4111 /* Override any GCC internal prototype to avoid an error.
4112 Use char because int might match the return type of a GCC
4113 builtin and then its argument prototype would still apply. */
4126 for ac_lib
in '' ntl
; do
4127 if test -z "$ac_lib"; then
4128 ac_res
="none required"
4131 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
4133 rm -f conftest.
$ac_objext conftest
$ac_exeext
4134 if { (ac_try
="$ac_link"
4136 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4137 *) ac_try_echo=$ac_try;;
4139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4140 (eval "$ac_link") 2>conftest.er1
4142 grep -v '^ *+' conftest.er1 >conftest.err
4144 cat conftest.err >&5
4145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4146 (exit $ac_status); } && {
4147 test -z "$ac_cxx_werror_flag" ||
4148 test ! -s conftest.err
4149 } && test -s conftest$ac_exeext &&
4150 $as_test_x conftest$ac_exeext; then
4151 ac_cv_search_FFT=$ac_res
4153 echo "$as_me: failed program was:" >&5
4154 sed 's/^/| /' conftest.$ac_ext >&5
4159 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4161 if test "${ac_cv_search_FFT+set}" = set; then
4165 if test "${ac_cv_search_FFT+set}" = set; then
4171 LIBS=$ac_func_search_save_LIBS
4173 { echo "$as_me:$LINENO: result: $ac_cv_search_FFT" >&5
4174 echo "${ECHO_T}$ac_cv_search_FFT" >&6; }
4175 ac_res=$ac_cv_search_FFT
4176 if test "$ac_res" != no; then
4177 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4181 #AC_SEARCH_LIBS([NTL::FFT], [ntl], [], [have_ntl=no])
4184 #if test "x${have_ntl}" = xno; then
4185 # AC_ARG_WITH([ntl],
4186 # [AS_HELP_STRING([--with-ntl=<path>],
4187 # [prefix of NTL installation, e.g. /usr/local])],
4188 # [NTL_PREFIX=$with_ntl],
4189 # [AC_MSG_ERROR([You must call configure with the --with-ntl option.
4190 # This tells configure where to find the NTL library and headers.
4191 # e.g. --with-ntl=/usr/local or --with-mysql=/homes/user/local])])
4193 # AC_SUBST(NTL_PREFIX)
4194 # NTL_LIBS="-L${NTL_PREFIX}/lib -lntl"
4195 # NTL_CPPFLAGS="-I${NTL_PREFIX}/include"
4196 # AC_SUBST(NTL_LIBS)
4197 # AC_SUBST(NTL_CPPFLAGS)
4200 # Checks for header files.
4202 # Checks for typedefs, structures, and compiler characteristics.
4204 ac_cpp='$CXXCPP $CPPFLAGS'
4205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4208 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4209 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
4210 if test -z "$CXXCPP"; then
4211 if test "${ac_cv_prog_CXXCPP+set}" = set; then
4212 echo $ECHO_N "(cached) $ECHO_C" >&6
4214 # Double quotes because CXXCPP needs to be expanded
4215 for CXXCPP in "$CXX -E" "/lib/cpp"
4218 for ac_cxx_preproc_warn_flag in '' yes
4220 # Use a header file that comes with gcc, so configuring glibc
4221 # with a fresh cross-compiler works.
4222 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4223 # <limits.h> exists even on freestanding compilers.
4224 # On the NeXT, cc -E runs the code through the compiler's parser,
4225 # not just through cpp. "Syntax error" is here to catch this case.
4226 cat >conftest.$ac_ext <<_ACEOF
4229 cat confdefs.h >>conftest.$ac_ext
4230 cat >>conftest.$ac_ext <<_ACEOF
4231 /* end confdefs.h. */
4233 # include <limits.h>
4235 # include <assert.h>
4239 if { (ac_try="$ac_cpp conftest.$ac_ext"
4241 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4242 *) ac_try_echo
=$ac_try;;
4244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4245 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4247 grep -v '^ *+' conftest.er1
>conftest.err
4249 cat conftest.err
>&5
4250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4251 (exit $ac_status); } >/dev
/null
&& {
4252 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
4253 test ! -s conftest.err
4257 echo "$as_me: failed program was:" >&5
4258 sed 's/^/| /' conftest.
$ac_ext >&5
4260 # Broken: fails on valid input.
4264 rm -f conftest.err conftest.
$ac_ext
4266 # OK, works on sane cases. Now check whether nonexistent headers
4267 # can be detected and how.
4268 cat >conftest.
$ac_ext <<_ACEOF
4271 cat confdefs.h
>>conftest.
$ac_ext
4272 cat >>conftest.
$ac_ext <<_ACEOF
4273 /* end confdefs.h. */
4274 #include <ac_nonexistent.h>
4276 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4278 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4279 *) ac_try_echo=$ac_try;;
4281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4282 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4284 grep -v '^ *+' conftest.er1 >conftest.err
4286 cat conftest.err >&5
4287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4288 (exit $ac_status); } >/dev/null && {
4289 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
4290 test ! -s conftest.err
4292 # Broken: success on invalid input.
4295 echo "$as_me: failed program was:" >&5
4296 sed 's/^/| /' conftest.$ac_ext >&5
4298 # Passes both tests.
4303 rm -f conftest.err conftest.$ac_ext
4306 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4307 rm -f conftest.err conftest.
$ac_ext
4308 if $ac_preproc_ok; then
4313 ac_cv_prog_CXXCPP
=$CXXCPP
4316 CXXCPP
=$ac_cv_prog_CXXCPP
4318 ac_cv_prog_CXXCPP
=$CXXCPP
4320 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
4321 echo "${ECHO_T}$CXXCPP" >&6; }
4323 for ac_cxx_preproc_warn_flag
in '' yes
4325 # Use a header file that comes with gcc, so configuring glibc
4326 # with a fresh cross-compiler works.
4327 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4328 # <limits.h> exists even on freestanding compilers.
4329 # On the NeXT, cc -E runs the code through the compiler's parser,
4330 # not just through cpp. "Syntax error" is here to catch this case.
4331 cat >conftest.
$ac_ext <<_ACEOF
4334 cat confdefs.h
>>conftest.
$ac_ext
4335 cat >>conftest.
$ac_ext <<_ACEOF
4336 /* end confdefs.h. */
4338 # include <limits.h>
4340 # include <assert.h>
4344 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4346 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4347 *) ac_try_echo=$ac_try;;
4349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4350 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4352 grep -v '^ *+' conftest.er1 >conftest.err
4354 cat conftest.err >&5
4355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4356 (exit $ac_status); } >/dev/null && {
4357 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
4358 test ! -s conftest.err
4362 echo "$as_me: failed program was:" >&5
4363 sed 's/^/| /' conftest.$ac_ext >&5
4365 # Broken: fails on valid input.
4369 rm -f conftest.err conftest.$ac_ext
4371 # OK, works on sane cases. Now check whether nonexistent headers
4372 # can be detected and how.
4373 cat >conftest.$ac_ext <<_ACEOF
4376 cat confdefs.h >>conftest.$ac_ext
4377 cat >>conftest.$ac_ext <<_ACEOF
4378 /* end confdefs.h. */
4379 #include <ac_nonexistent.h>
4381 if { (ac_try="$ac_cpp conftest.$ac_ext"
4383 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4384 *) ac_try_echo
=$ac_try;;
4386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4387 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4389 grep -v '^ *+' conftest.er1
>conftest.err
4391 cat conftest.err
>&5
4392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4393 (exit $ac_status); } >/dev
/null
&& {
4394 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
4395 test ! -s conftest.err
4397 # Broken: success on invalid input.
4400 echo "$as_me: failed program was:" >&5
4401 sed 's/^/| /' conftest.
$ac_ext >&5
4403 # Passes both tests.
4408 rm -f conftest.err conftest.
$ac_ext
4411 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4412 rm -f conftest.err conftest.
$ac_ext
4413 if $ac_preproc_ok; then
4416 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4417 See \`config.log' for more details." >&5
4418 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4419 See \`config.log' for more details." >&2;}
4420 { (exit 1); exit 1; }; }
4424 ac_cpp
='$CXXCPP $CPPFLAGS'
4425 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4426 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4427 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4430 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4431 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4432 if test "${ac_cv_path_GREP+set}" = set; then
4433 echo $ECHO_N "(cached) $ECHO_C" >&6
4435 # Extract the first word of "grep ggrep" to use in msg output
4436 if test -z "$GREP"; then
4437 set dummy
grep ggrep
; ac_prog_name
=$2
4438 if test "${ac_cv_path_GREP+set}" = set; then
4439 echo $ECHO_N "(cached) $ECHO_C" >&6
4441 ac_path_GREP_found
=false
4442 # Loop through the user's path and test for each of PROGNAME-LIST
4443 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4444 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4447 test -z "$as_dir" && as_dir
=.
4448 for ac_prog
in grep ggrep
; do
4449 for ac_exec_ext
in '' $ac_executable_extensions; do
4450 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4451 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4452 # Check for GNU ac_path_GREP and select it if it is found.
4453 # Check for GNU $ac_path_GREP
4454 case `"$ac_path_GREP" --version 2>&1` in
4456 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4459 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4462 cat "conftest.in" "conftest.in" >"conftest.tmp"
4463 mv "conftest.tmp" "conftest.in"
4464 cp "conftest.in" "conftest.nl"
4465 echo 'GREP' >> "conftest.nl"
4466 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4467 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4468 ac_count
=`expr $ac_count + 1`
4469 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4470 # Best one so far, save it but keep looking for a better one
4471 ac_cv_path_GREP
="$ac_path_GREP"
4472 ac_path_GREP_max
=$ac_count
4474 # 10*(2^10) chars as input seems more than enough
4475 test $ac_count -gt 10 && break
4477 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4481 $ac_path_GREP_found && break 3
4491 GREP
="$ac_cv_path_GREP"
4492 if test -z "$GREP"; then
4493 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4494 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4495 { (exit 1); exit 1; }; }
4499 ac_cv_path_GREP
=$GREP
4504 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4505 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4506 GREP
="$ac_cv_path_GREP"
4509 { echo "$as_me:$LINENO: checking for egrep" >&5
4510 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4511 if test "${ac_cv_path_EGREP+set}" = set; then
4512 echo $ECHO_N "(cached) $ECHO_C" >&6
4514 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4515 then ac_cv_path_EGREP
="$GREP -E"
4517 # Extract the first word of "egrep" to use in msg output
4518 if test -z "$EGREP"; then
4519 set dummy
egrep; ac_prog_name
=$2
4520 if test "${ac_cv_path_EGREP+set}" = set; then
4521 echo $ECHO_N "(cached) $ECHO_C" >&6
4523 ac_path_EGREP_found
=false
4524 # Loop through the user's path and test for each of PROGNAME-LIST
4525 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4526 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4529 test -z "$as_dir" && as_dir
=.
4530 for ac_prog
in egrep; do
4531 for ac_exec_ext
in '' $ac_executable_extensions; do
4532 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4533 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4534 # Check for GNU ac_path_EGREP and select it if it is found.
4535 # Check for GNU $ac_path_EGREP
4536 case `"$ac_path_EGREP" --version 2>&1` in
4538 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4541 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4544 cat "conftest.in" "conftest.in" >"conftest.tmp"
4545 mv "conftest.tmp" "conftest.in"
4546 cp "conftest.in" "conftest.nl"
4547 echo 'EGREP' >> "conftest.nl"
4548 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4549 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4550 ac_count
=`expr $ac_count + 1`
4551 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4552 # Best one so far, save it but keep looking for a better one
4553 ac_cv_path_EGREP
="$ac_path_EGREP"
4554 ac_path_EGREP_max
=$ac_count
4556 # 10*(2^10) chars as input seems more than enough
4557 test $ac_count -gt 10 && break
4559 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4563 $ac_path_EGREP_found && break 3
4573 EGREP
="$ac_cv_path_EGREP"
4574 if test -z "$EGREP"; then
4575 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4576 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4577 { (exit 1); exit 1; }; }
4581 ac_cv_path_EGREP
=$EGREP
4587 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4588 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4589 EGREP
="$ac_cv_path_EGREP"
4592 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4593 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4594 if test "${ac_cv_header_stdc+set}" = set; then
4595 echo $ECHO_N "(cached) $ECHO_C" >&6
4597 cat >conftest.
$ac_ext <<_ACEOF
4600 cat confdefs.h
>>conftest.
$ac_ext
4601 cat >>conftest.
$ac_ext <<_ACEOF
4602 /* end confdefs.h. */
4616 rm -f conftest.
$ac_objext
4617 if { (ac_try
="$ac_compile"
4619 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4620 *) ac_try_echo=$ac_try;;
4622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4623 (eval "$ac_compile") 2>conftest.er1
4625 grep -v '^ *+' conftest.er1 >conftest.err
4627 cat conftest.err >&5
4628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4629 (exit $ac_status); } && {
4630 test -z "$ac_cxx_werror_flag" ||
4631 test ! -s conftest.err
4632 } && test -s conftest.$ac_objext; then
4633 ac_cv_header_stdc=yes
4635 echo "$as_me: failed program was:" >&5
4636 sed 's/^/| /' conftest.$ac_ext >&5
4638 ac_cv_header_stdc=no
4641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4643 if test $ac_cv_header_stdc = yes; then
4644 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4645 cat >conftest.$ac_ext <<_ACEOF
4648 cat confdefs.h >>conftest.$ac_ext
4649 cat >>conftest.$ac_ext <<_ACEOF
4650 /* end confdefs.h. */
4654 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4655 $EGREP "memchr" >/dev/null 2>&1; then
4658 ac_cv_header_stdc=no
4664 if test $ac_cv_header_stdc = yes; then
4665 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4666 cat >conftest.$ac_ext <<_ACEOF
4669 cat confdefs.h >>conftest.$ac_ext
4670 cat >>conftest.$ac_ext <<_ACEOF
4671 /* end confdefs.h. */
4675 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4676 $EGREP "free" >/dev/null 2>&1; then
4679 ac_cv_header_stdc=no
4685 if test $ac_cv_header_stdc = yes; then
4686 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4687 if test "$cross_compiling" = yes; then
4690 cat >conftest.$ac_ext <<_ACEOF
4693 cat confdefs.h >>conftest.$ac_ext
4694 cat >>conftest.$ac_ext <<_ACEOF
4695 /* end confdefs.h. */
4698 #if ((' ' & 0x0FF) == 0x020)
4699 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4700 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4702 # define ISLOWER(c) \
4703 (('a' <= (c) && (c) <= 'i') \
4704 || ('j' <= (c) && (c) <= 'r') \
4705 || ('s' <= (c) && (c) <= 'z'))
4706 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4709 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4714 for (i = 0; i < 256; i++)
4715 if (XOR (islower (i), ISLOWER (i))
4716 || toupper (i) != TOUPPER (i))
4721 rm -f conftest$ac_exeext
4722 if { (ac_try="$ac_link"
4724 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4725 *) ac_try_echo
=$ac_try;;
4727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4728 (eval "$ac_link") 2>&5
4730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4731 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4732 { (case "(($ac_try" in
4733 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4734 *) ac_try_echo=$ac_try;;
4736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4737 (eval "$ac_try") 2>&5
4739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4740 (exit $ac_status); }; }; then
4743 echo "$as_me: program exited with status $ac_status" >&5
4744 echo "$as_me: failed program was:" >&5
4745 sed 's/^/| /' conftest.$ac_ext >&5
4748 ac_cv_header_stdc=no
4750 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4756 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4757 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4758 if test $ac_cv_header_stdc = yes; then
4760 cat >>confdefs.h <<\_ACEOF
4761 #define STDC_HEADERS 1
4766 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4776 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4777 inttypes.h stdint.h unistd.h
4779 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
4780 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4781 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4782 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4783 echo $ECHO_N "(cached) $ECHO_C" >&6
4785 cat >conftest.$ac_ext <<_ACEOF
4788 cat confdefs.h >>conftest.$ac_ext
4789 cat >>conftest.$ac_ext <<_ACEOF
4790 /* end confdefs.h. */
4791 $ac_includes_default
4793 #include <$ac_header>
4795 rm -f conftest.$ac_objext
4796 if { (ac_try="$ac_compile"
4798 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4799 *) ac_try_echo
=$ac_try;;
4801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4802 (eval "$ac_compile") 2>conftest.er1
4804 grep -v '^ *+' conftest.er1
>conftest.err
4806 cat conftest.err
>&5
4807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4808 (exit $ac_status); } && {
4809 test -z "$ac_cxx_werror_flag" ||
4810 test ! -s conftest.err
4811 } && test -s conftest.
$ac_objext; then
4812 eval "$as_ac_Header=yes"
4814 echo "$as_me: failed program was:" >&5
4815 sed 's/^/| /' conftest.
$ac_ext >&5
4817 eval "$as_ac_Header=no"
4820 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4822 ac_res
=`eval echo '${'$as_ac_Header'}'`
4823 { echo "$as_me:$LINENO: result: $ac_res" >&5
4824 echo "${ECHO_T}$ac_res" >&6; }
4825 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4826 cat >>confdefs.h
<<_ACEOF
4827 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4835 { echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5
4836 echo $ECHO_N "checking for stdbool.h that conforms to C99... $ECHO_C" >&6; }
4837 if test "${ac_cv_header_stdbool_h+set}" = set; then
4838 echo $ECHO_N "(cached) $ECHO_C" >&6
4840 cat >conftest.
$ac_ext <<_ACEOF
4843 cat confdefs.h
>>conftest.
$ac_ext
4844 cat >>conftest.
$ac_ext <<_ACEOF
4845 /* end confdefs.h. */
4847 #include <stdbool.h>
4849 "error: bool is not defined"
4852 "error: false is not defined"
4855 "error: false is not 0"
4858 "error: true is not defined"
4861 "error: true is not 1"
4863 #ifndef __bool_true_false_are_defined
4864 "error: __bool_true_false_are_defined is not defined"
4867 struct s { _Bool s: 1; _Bool t; } s;
4869 char a[true == 1 ? 1 : -1];
4870 char b[false == 0 ? 1 : -1];
4871 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
4872 char d[(bool) 0.5 == true ? 1 : -1];
4874 char f[(_Bool) 0.0 == false ? 1 : -1];
4876 char h[sizeof (_Bool)];
4878 enum { j = false, k = true, l = false * true, m = true * 256 };
4880 char o[sizeof n == m * sizeof n[0] ? 1 : -1];
4881 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
4882 # if defined __xlc__ || defined __GNUC__
4883 /* Catch a bug in IBM AIX xlc compiler version 6.0.0.0
4884 reported by James Lemley on 2005-10-05; see
4885 http://lists.gnu.org/archive/html/bug-coreutils/2005-10/msg00086.html
4886 This test is not quite right, since xlc is allowed to
4887 reject this program, as the initializer for xlcbug is
4888 not one of the forms that C requires support for.
4889 However, doing the test right would require a runtime
4890 test, and that would make cross-compilation harder.
4891 Let us hope that IBM fixes the xlc bug, and also adds
4892 support for this kind of constant expression. In the
4893 meantime, this test will reject xlc, which is OK, since
4894 our stdbool.h substitute should suffice. We also test
4895 this with GCC, where it should work, to detect more
4896 quickly whether someone messes up the test in the
4898 char digs[] = "0123456789";
4899 int xlcbug = 1 / (&(digs + 5)[-2 + (bool) 1] == &digs[4] ? 1 : -1);
4901 /* Catch a bug in an HP-UX C compiler. See
4902 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
4903 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
4914 /* Refer to every declared value, to avoid compiler optimizations. */
4915 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
4916 + !m + !n + !o + !p + !q + !pq);
4922 rm -f conftest.
$ac_objext
4923 if { (ac_try
="$ac_compile"
4925 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4926 *) ac_try_echo=$ac_try;;
4928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4929 (eval "$ac_compile") 2>conftest.er1
4931 grep -v '^ *+' conftest.er1 >conftest.err
4933 cat conftest.err >&5
4934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4935 (exit $ac_status); } && {
4936 test -z "$ac_cxx_werror_flag" ||
4937 test ! -s conftest.err
4938 } && test -s conftest.$ac_objext; then
4939 ac_cv_header_stdbool_h=yes
4941 echo "$as_me: failed program was:" >&5
4942 sed 's/^/| /' conftest.$ac_ext >&5
4944 ac_cv_header_stdbool_h=no
4947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4949 { echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5
4950 echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6; }
4951 { echo "$as_me:$LINENO: checking for _Bool" >&5
4952 echo $ECHO_N "checking for _Bool... $ECHO_C" >&6; }
4953 if test "${ac_cv_type__Bool+set}" = set; then
4954 echo $ECHO_N "(cached) $ECHO_C" >&6
4956 cat >conftest.$ac_ext <<_ACEOF
4959 cat confdefs.h >>conftest.$ac_ext
4960 cat >>conftest.$ac_ext <<_ACEOF
4961 /* end confdefs.h. */
4962 $ac_includes_default
4963 typedef _Bool ac__type_new_;
4967 if ((ac__type_new_ *) 0)
4969 if (sizeof (ac__type_new_))
4975 rm -f conftest.$ac_objext
4976 if { (ac_try="$ac_compile"
4978 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4979 *) ac_try_echo
=$ac_try;;
4981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4982 (eval "$ac_compile") 2>conftest.er1
4984 grep -v '^ *+' conftest.er1
>conftest.err
4986 cat conftest.err
>&5
4987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4988 (exit $ac_status); } && {
4989 test -z "$ac_cxx_werror_flag" ||
4990 test ! -s conftest.err
4991 } && test -s conftest.
$ac_objext; then
4992 ac_cv_type__Bool
=yes
4994 echo "$as_me: failed program was:" >&5
4995 sed 's/^/| /' conftest.
$ac_ext >&5
5000 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5002 { echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5
5003 echo "${ECHO_T}$ac_cv_type__Bool" >&6; }
5004 if test $ac_cv_type__Bool = yes; then
5006 cat >>confdefs.h
<<_ACEOF
5007 #define HAVE__BOOL 1
5013 if test $ac_cv_header_stdbool_h = yes; then
5015 cat >>confdefs.h
<<\_ACEOF
5016 #define HAVE_STDBOOL_H 1
5021 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
5022 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
5023 if test "${ac_cv_c_const+set}" = set; then
5024 echo $ECHO_N "(cached) $ECHO_C" >&6
5026 cat >conftest.
$ac_ext <<_ACEOF
5029 cat confdefs.h
>>conftest.
$ac_ext
5030 cat >>conftest.
$ac_ext <<_ACEOF
5031 /* end confdefs.h. */
5036 /* FIXME: Include the comments suggested by Paul. */
5038 /* Ultrix mips cc rejects this. */
5039 typedef int charset[2];
5041 /* SunOS 4.1.1 cc rejects this. */
5042 char const *const *pcpcc;
5044 /* NEC SVR4.0.2 mips cc rejects this. */
5045 struct point {int x, y;};
5046 static struct point const zero = {0,0};
5047 /* AIX XL C 1.02.0.0 rejects this.
5048 It does not let you subtract one const X* pointer from another in
5049 an arm of an if-expression whose if-part is not a constant
5051 const char *g = "string";
5052 pcpcc = &g + (g ? g-g : 0);
5053 /* HPUX 7.0 cc rejects these. */
5055 ppc = (char**) pcpcc;
5056 pcpcc = (char const *const *) ppc;
5057 { /* SCO 3.2v4 cc rejects this. */
5059 char const *s = 0 ? (char *) 0 : (char const *) 0;
5064 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
5066 const int *foo = &x[0];
5069 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
5070 typedef const int *iptr;
5074 { /* AIX XL C 1.02.0.0 rejects this saying
5075 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
5076 struct s { int j; const int *ap[3]; };
5077 struct s *b; b->j = 5;
5079 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
5083 return !cs[0] && !zero.x;
5090 rm -f conftest.
$ac_objext
5091 if { (ac_try
="$ac_compile"
5093 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5094 *) ac_try_echo=$ac_try;;
5096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5097 (eval "$ac_compile") 2>conftest.er1
5099 grep -v '^ *+' conftest.er1 >conftest.err
5101 cat conftest.err >&5
5102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5103 (exit $ac_status); } && {
5104 test -z "$ac_cxx_werror_flag" ||
5105 test ! -s conftest.err
5106 } && test -s conftest.$ac_objext; then
5109 echo "$as_me: failed program was:" >&5
5110 sed 's/^/| /' conftest.$ac_ext >&5
5115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5117 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
5118 echo "${ECHO_T}$ac_cv_c_const" >&6; }
5119 if test $ac_cv_c_const = no; then
5121 cat >>confdefs.h <<\_ACEOF
5127 { echo "$as_me:$LINENO: checking for inline" >&5
5128 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
5129 if test "${ac_cv_c_inline+set}" = set; then
5130 echo $ECHO_N "(cached) $ECHO_C" >&6
5133 for ac_kw in inline __inline__ __inline; do
5134 cat >conftest.$ac_ext <<_ACEOF
5137 cat confdefs.h >>conftest.$ac_ext
5138 cat >>conftest.$ac_ext <<_ACEOF
5139 /* end confdefs.h. */
5142 static $ac_kw foo_t static_foo () {return 0; }
5143 $ac_kw foo_t foo () {return 0; }
5147 rm -f conftest.$ac_objext
5148 if { (ac_try="$ac_compile"
5150 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5151 *) ac_try_echo
=$ac_try;;
5153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5154 (eval "$ac_compile") 2>conftest.er1
5156 grep -v '^ *+' conftest.er1
>conftest.err
5158 cat conftest.err
>&5
5159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5160 (exit $ac_status); } && {
5161 test -z "$ac_cxx_werror_flag" ||
5162 test ! -s conftest.err
5163 } && test -s conftest.
$ac_objext; then
5164 ac_cv_c_inline
=$ac_kw
5166 echo "$as_me: failed program was:" >&5
5167 sed 's/^/| /' conftest.
$ac_ext >&5
5172 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5173 test "$ac_cv_c_inline" != no
&& break
5177 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
5178 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
5181 case $ac_cv_c_inline in
5184 case $ac_cv_c_inline in
5186 *) ac_val
=$ac_cv_c_inline;;
5188 cat >>confdefs.h
<<_ACEOF
5190 #define inline $ac_val
5197 # Checks for library functions.
5199 ac_config_files
="$ac_config_files Makefile src/Makefile doc/Makefile"
5202 cat >confcache
<<\_ACEOF
5203 # This file is a shell script that caches the results of configure
5204 # tests run on this system so they can be shared between configure
5205 # scripts and configure runs, see configure's option --config-cache.
5206 # It is not useful on other systems. If it contains results you don't
5207 # want to keep, you may remove or edit it.
5209 # config.status only pays attention to the cache file if you give it
5210 # the --recheck option to rerun configure.
5212 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5213 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5218 # The following way of writing the cache mishandles newlines in values,
5219 # but we know of no workaround that is simple, portable, and efficient.
5220 # So, we kill variables containing newlines.
5221 # Ultrix sh set writes to stderr and can't be redirected directly,
5222 # and sets the high bit in the cache file unless we assign to the vars.
5224 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5225 eval ac_val
=\$
$ac_var
5229 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
5230 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
5233 _ | IFS | as_nl
) ;; #(
5234 *) $as_unset $ac_var ;;
5240 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5241 *${as_nl}ac_space
=\
*)
5242 # `set' does not quote correctly, so add quotes (double-quote
5243 # substitution turns \\\\ into \\, and sed turns \\ into \).
5246 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5249 # `set' quotes correctly as required by POSIX, so do not add quotes.
5250 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5259 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5261 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5263 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
5264 if test -w "$cache_file"; then
5265 test "x$cache_file" != "x/dev/null" &&
5266 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
5267 echo "$as_me: updating cache $cache_file" >&6;}
5268 cat confcache
>$cache_file
5270 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
5271 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5276 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
5277 # Let make expand exec_prefix.
5278 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
5280 DEFS
=-DHAVE_CONFIG_H
5284 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
5285 # 1. Remove the extension, and $U if already installed.
5286 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
5287 ac_i
=`echo "$ac_i" | sed "$ac_script"`
5288 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5289 # will be set to the directory where LIBOBJS objects are built.
5290 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5291 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
5295 LTLIBOBJS
=$ac_ltlibobjs
5298 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5299 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
5300 Usually this means the macro was only invoked conditionally." >&5
5301 echo "$as_me: error: conditional \"AMDEP\" was never defined.
5302 Usually this means the macro was only invoked conditionally." >&2;}
5303 { (exit 1); exit 1; }; }
5305 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5306 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
5307 Usually this means the macro was only invoked conditionally." >&5
5308 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
5309 Usually this means the macro was only invoked conditionally." >&2;}
5310 { (exit 1); exit 1; }; }
5312 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
5313 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
5314 Usually this means the macro was only invoked conditionally." >&5
5315 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
5316 Usually this means the macro was only invoked conditionally." >&2;}
5317 { (exit 1); exit 1; }; }
5320 : ${CONFIG_STATUS=./config.status}
5321 ac_clean_files_save
=$ac_clean_files
5322 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
5323 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5324 echo "$as_me: creating $CONFIG_STATUS" >&6;}
5325 cat >$CONFIG_STATUS <<_ACEOF
5327 # Generated by $as_me.
5328 # Run this file to recreate the current configuration.
5329 # Compiler output produced by configure, useful for debugging
5330 # configure, is in config.log if it exists.
5335 SHELL=\${CONFIG_SHELL-$SHELL}
5338 cat >>$CONFIG_STATUS <<\_ACEOF
5339 ## --------------------- ##
5340 ## M4sh Initialization. ##
5341 ## --------------------- ##
5343 # Be more Bourne compatible
5344 DUALCASE
=1; export DUALCASE
# for MKS sh
5345 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
5348 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5349 # is contrary to our usage. Disable this feature.
5350 alias -g '${1+"$@"}'='"$@"'
5351 setopt NO_GLOB_SUBST
5353 case `(set -o) 2>/dev/null` in
5354 *posix
*) set -o posix
;;
5363 # Avoid depending upon Character Ranges.
5364 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
5365 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5366 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
5367 as_cr_digits
='0123456789'
5368 as_cr_alnum
=$as_cr_Letters$as_cr_digits
5370 # The user is always right.
5371 if test "${PATH_SEPARATOR+set}" != set; then
5372 echo "#! /bin/sh" >conf$$.sh
5373 echo "exit 0" >>conf$$.sh
5375 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
5383 # Support unset when possible.
5384 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
5392 # We need space, tab and new line, in precisely that order. Quoting is
5393 # there to prevent editors from complaining about space-tab.
5394 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5395 # splitting by setting IFS to empty value.)
5400 # Find who we are. Look in the path if we contain no directory separator.
5402 *[\\/]* ) as_myself
=$0 ;;
5403 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5407 test -z "$as_dir" && as_dir
=.
5408 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
5414 # We did not find ourselves, most probably we were run as `sh COMMAND'
5415 # in which case we are not to be found in the path.
5416 if test "x$as_myself" = x
; then
5419 if test ! -f "$as_myself"; then
5420 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5421 { (exit 1); exit 1; }
5424 # Work around bugs in pre-3.0 UWIN ksh.
5425 for as_var
in ENV MAIL MAILPATH
5426 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
5434 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5435 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5436 LC_TELEPHONE LC_TIME
5438 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5439 eval $as_var=C
; export $as_var
5441 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
5445 # Required to use basename.
5446 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
5447 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
5453 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5454 as_basename
=basename
5460 # Name of the executable.
5461 as_me
=`$as_basename -- "$0" ||
5462 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5463 X"$0" : 'X\(//\)$' \| \
5464 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5466 sed '/^.*\/\([^/][^/]*\)\/*$/{
5487 test "x$as_lineno_1" != "x$as_lineno_2" &&
5488 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
5490 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5491 # uniformly replaced by the line number. The first 'sed' inserts a
5492 # line-number line after each line using $LINENO; the second 'sed'
5493 # does the real work. The second script uses 'N' to pair each
5494 # line-number line with the line containing $LINENO, and appends
5495 # trailing '-' during substitution so that $LINENO is not a special
5497 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5498 # scripts with optimization help from Paolo Bonzini. Blame Lee
5499 # E. McMahon (1931-1989) for sed's syntax. :-)
5511 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
5515 chmod +x
"$as_me.lineno" ||
5516 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
5517 { (exit 1); exit 1; }; }
5519 # Don't try to exec as it changes $[0], causing all sort of problems
5520 # (the dirname of $[0] is not the place where we might find the
5521 # original and so on. Autoconf is especially sensitive to this).
5523 # Exit status is that of the last command.
5528 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
5534 ECHO_C
= ECHO_N
= ECHO_T
=
5537 case `echo 'x\c'` in
5538 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
5545 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
5546 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
5552 rm -f conf$$ conf$$.exe conf$$.
file
5553 if test -d conf$$.dir
; then
5554 rm -f conf$$.dir
/conf$$.
file
5560 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
5562 # ... but there are two gotchas:
5563 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5564 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5565 # In both cases, we have to default to `cp -p'.
5566 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
5568 elif ln conf$$.
file conf$$
2>/dev
/null
; then
5573 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
5574 rmdir conf$$.dir
2>/dev
/null
5576 if mkdir
-p .
2>/dev
/null
; then
5579 test -d .
/-p && rmdir .
/-p
5583 if test -x / >/dev
/null
2>&1; then
5586 if ls -dL / >/dev
/null
2>&1; then
5593 if test -d "$1"; then
5599 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
5600 ???[sx]*):;;*)false;;esac;fi
5604 as_executable_p
=$as_test_x
5606 # Sed expression to map a string onto a valid CPP name.
5607 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5609 # Sed expression to map a string onto a valid variable name.
5610 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5615 # Save the log message, to keep $[0] and so on meaningful, and to
5616 # report actual input values of CONFIG_FILES etc. instead of their
5617 # values after options handling.
5619 This file was extended by g2hec-lib $as_me 0.1, which was
5620 generated by GNU Autoconf 2.61. Invocation command line was
5622 CONFIG_FILES = $CONFIG_FILES
5623 CONFIG_HEADERS = $CONFIG_HEADERS
5624 CONFIG_LINKS = $CONFIG_LINKS
5625 CONFIG_COMMANDS = $CONFIG_COMMANDS
5628 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5633 cat >>$CONFIG_STATUS <<_ACEOF
5634 # Files that config.status was made for.
5635 config_files="$ac_config_files"
5636 config_headers="$ac_config_headers"
5637 config_commands="$ac_config_commands"
5641 cat >>$CONFIG_STATUS <<\_ACEOF
5643 \`$as_me' instantiates files from templates according to the
5644 current configuration.
5646 Usage: $0 [OPTIONS] [FILE]...
5648 -h, --help print this help, then exit
5649 -V, --version print version number and configuration settings, then exit
5650 -q, --quiet do not print progress messages
5651 -d, --debug don't remove temporary files
5652 --recheck update $as_me by reconfiguring in the same conditions
5653 --file=FILE[:TEMPLATE]
5654 instantiate the configuration file FILE
5655 --header=FILE[:TEMPLATE]
5656 instantiate the configuration header FILE
5658 Configuration files:
5661 Configuration headers:
5664 Configuration commands:
5667 Report bugs to <bug-autoconf@gnu.org>."
5670 cat >>$CONFIG_STATUS <<_ACEOF
5672 g2hec-lib config.status 0.1
5673 configured by $0, generated by GNU Autoconf 2.61,
5674 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
5676 Copyright (C) 2006 Free Software Foundation, Inc.
5677 This config.status script is free software; the Free Software Foundation
5678 gives unlimited permission to copy, distribute and modify it."
5686 cat >>$CONFIG_STATUS <<\_ACEOF
5687 # If no file are specified by the user, then we need to provide default
5688 # value. By we need to know if files were specified by the user.
5694 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
5695 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
5706 # Handling of the options.
5707 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
5709 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
5710 echo "$ac_cs_version"; exit ;;
5711 --debug |
--debu |
--deb |
--de |
--d |
-d )
5713 --file |
--fil |
--fi |
--f )
5715 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
5716 ac_need_defaults
=false
;;
5717 --header |
--heade |
--head |
--hea )
5719 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
5720 ac_need_defaults
=false
;;
5722 # Conflict between --help and --header
5723 { echo "$as_me: error: ambiguous option: $1
5724 Try \`$0 --help' for more information." >&2
5725 { (exit 1); exit 1; }; };;
5726 --help |
--hel |
-h )
5727 echo "$ac_cs_usage"; exit ;;
5728 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
5729 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
5733 -*) { echo "$as_me: error: unrecognized option: $1
5734 Try \`$0 --help' for more information." >&2
5735 { (exit 1); exit 1; }; } ;;
5737 *) ac_config_targets
="$ac_config_targets $1"
5738 ac_need_defaults
=false
;;
5744 ac_configure_extra_args
=
5746 if $ac_cs_silent; then
5748 ac_configure_extra_args
="$ac_configure_extra_args --silent"
5752 cat >>$CONFIG_STATUS <<_ACEOF
5753 if \$ac_cs_recheck; then
5754 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5757 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5761 cat >>$CONFIG_STATUS <<\_ACEOF
5765 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5766 ## Running $as_me. ##
5772 cat >>$CONFIG_STATUS <<_ACEOF
5776 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5780 cat >>$CONFIG_STATUS <<\_ACEOF
5782 # Handling of arguments.
5783 for ac_config_target
in $ac_config_targets
5785 case $ac_config_target in
5786 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
5787 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
5788 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
5789 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
5790 "doc/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
5792 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5793 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5794 { (exit 1); exit 1; }; };;
5799 # If the user did not use the arguments to specify the items to instantiate,
5800 # then the envvar interface is used. Set only those that are not.
5801 # We use the long form for the default assignment because of an extremely
5802 # bizarre bug on SunOS 4.1.3.
5803 if $ac_need_defaults; then
5804 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
5805 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
5806 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
5809 # Have a temporary directory for convenience. Make it in the build tree
5810 # simply because there is no reason against having it here, and in addition,
5811 # creating and moving files from /tmp can sometimes cause problems.
5812 # Hook for its removal unless debugging.
5813 # Note that there is a small window in which the directory will not be cleaned:
5814 # after its creation but before its name has been assigned to `$tmp'.
5818 trap 'exit_status=$?
5819 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5821 trap '{ (exit 1); exit 1; }' 1 2 13 15
5823 # Create a (secure) tmp directory for tmp files.
5826 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5827 test -n "$tmp" && test -d "$tmp"
5830 tmp
=.
/conf$$
-$RANDOM
5831 (umask 077 && mkdir
"$tmp")
5834 echo "$me: cannot create a temporary directory in ." >&2
5835 { (exit 1); exit 1; }
5839 # Set up the sed scripts for CONFIG_FILES section.
5842 # No need to generate the scripts if there are no CONFIG_FILES.
5843 # This happens for instance when ./config.status config.h
5844 if test -n "$CONFIG_FILES"; then
5851 for ac_last_try
in false false false false false
:; do
5852 cat >conf$
$subs.
sed <<_ACEOF
5853 SHELL!$SHELL$ac_delim
5854 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
5855 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
5856 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
5857 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
5858 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
5859 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
5860 exec_prefix!$exec_prefix$ac_delim
5861 prefix!$prefix$ac_delim
5862 program_transform_name!$program_transform_name$ac_delim
5863 bindir!$bindir$ac_delim
5864 sbindir!$sbindir$ac_delim
5865 libexecdir!$libexecdir$ac_delim
5866 datarootdir!$datarootdir$ac_delim
5867 datadir!$datadir$ac_delim
5868 sysconfdir!$sysconfdir$ac_delim
5869 sharedstatedir!$sharedstatedir$ac_delim
5870 localstatedir!$localstatedir$ac_delim
5871 includedir!$includedir$ac_delim
5872 oldincludedir!$oldincludedir$ac_delim
5873 docdir!$docdir$ac_delim
5874 infodir!$infodir$ac_delim
5875 htmldir!$htmldir$ac_delim
5876 dvidir!$dvidir$ac_delim
5877 pdfdir!$pdfdir$ac_delim
5878 psdir!$psdir$ac_delim
5879 libdir!$libdir$ac_delim
5880 localedir!$localedir$ac_delim
5881 mandir!$mandir$ac_delim
5883 ECHO_C!$ECHO_C$ac_delim
5884 ECHO_N!$ECHO_N$ac_delim
5885 ECHO_T!$ECHO_T$ac_delim
5887 build_alias!$build_alias$ac_delim
5888 host_alias!$host_alias$ac_delim
5889 target_alias!$target_alias$ac_delim
5890 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
5891 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
5892 INSTALL_DATA!$INSTALL_DATA$ac_delim
5893 am__isrc!$am__isrc$ac_delim
5894 CYGPATH_W!$CYGPATH_W$ac_delim
5895 PACKAGE!$PACKAGE$ac_delim
5896 VERSION!$VERSION$ac_delim
5897 ACLOCAL!$ACLOCAL$ac_delim
5898 AUTOCONF!$AUTOCONF$ac_delim
5899 AUTOMAKE!$AUTOMAKE$ac_delim
5900 AUTOHEADER!$AUTOHEADER$ac_delim
5901 MAKEINFO!$MAKEINFO$ac_delim
5902 install_sh!$install_sh$ac_delim
5903 STRIP!$STRIP$ac_delim
5904 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
5905 mkdir_p!$mkdir_p$ac_delim
5907 SET_MAKE!$SET_MAKE$ac_delim
5908 am__leading_dot!$am__leading_dot$ac_delim
5909 AMTAR!$AMTAR$ac_delim
5910 am__tar!$am__tar$ac_delim
5911 am__untar!$am__untar$ac_delim
5913 CFLAGS!$CFLAGS$ac_delim
5914 LDFLAGS!$LDFLAGS$ac_delim
5915 CPPFLAGS!$CPPFLAGS$ac_delim
5916 ac_ct_CC!$ac_ct_CC$ac_delim
5917 EXEEXT!$EXEEXT$ac_delim
5918 OBJEXT!$OBJEXT$ac_delim
5919 DEPDIR!$DEPDIR$ac_delim
5920 am__include!$am__include$ac_delim
5921 am__quote!$am__quote$ac_delim
5922 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
5923 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
5924 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
5925 CCDEPMODE!$CCDEPMODE$ac_delim
5926 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
5927 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
5929 CXXFLAGS!$CXXFLAGS$ac_delim
5930 ac_ct_CXX!$ac_ct_CXX$ac_delim
5931 CXXDEPMODE!$CXXDEPMODE$ac_delim
5932 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
5933 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
5934 RANLIB!$RANLIB$ac_delim
5935 CXXCPP!$CXXCPP$ac_delim
5937 EGREP!$EGREP$ac_delim
5938 LIBOBJS!$LIBOBJS$ac_delim
5939 LTLIBOBJS!$LTLIBOBJS$ac_delim
5942 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 87; then
5944 elif $ac_last_try; then
5945 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5946 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5947 { (exit 1); exit 1; }; }
5949 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
5953 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
5954 if test -n "$ac_eof"; then
5955 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
5956 ac_eof
=`expr $ac_eof + 1`
5959 cat >>$CONFIG_STATUS <<_ACEOF
5960 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
5961 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
5964 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
5965 s/^/s,@/; s/!/@,|#_!!_#|/
5968 s/'"$ac_delim"'$/,g/; t
5970 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
5971 ' >>$CONFIG_STATUS <conf$
$subs.
sed
5972 rm -f conf$
$subs.
sed
5973 cat >>$CONFIG_STATUS <<_ACEOF
5980 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5981 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5982 # trailing colons and then remove the whole line if VPATH becomes empty
5983 # (actually we leave an empty line to preserve line numbers).
5984 if test "x$srcdir" = x.
; then
5985 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
5989 s/^\([^=]*=[ ]*\):*/\1/
5995 cat >>$CONFIG_STATUS <<\_ACEOF
5996 fi # test -n "$CONFIG_FILES"
5999 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
6002 :[FHLC
]) ac_mode
=$ac_tag; continue;;
6004 case $ac_mode$ac_tag in
6006 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
6007 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
6008 { (exit 1); exit 1; }; };;
6009 :[FH
]-) ac_tag
=-:-;;
6010 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
6027 -) ac_f
="$tmp/stdin";;
6028 *) # Look for the file first in the build tree, then in the source tree
6029 # (if the path is not absolute). The absolute path cannot be DOS-style,
6030 # because $ac_f cannot contain `:'.
6034 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
6036 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
6037 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
6038 { (exit 1); exit 1; }; };;
6040 ac_file_inputs
="$ac_file_inputs $ac_f"
6043 # Let's still pretend it is `configure' which instantiates (i.e., don't
6044 # use $as_me), people would be surprised to read:
6045 # /* config.h. Generated by config.status. */
6046 configure_input
="Generated from "`IFS=:
6047 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
6048 if test x
"$ac_file" != x-
; then
6049 configure_input
="$ac_file. $configure_input"
6050 { echo "$as_me:$LINENO: creating $ac_file" >&5
6051 echo "$as_me: creating $ac_file" >&6;}
6055 *:-:* |
*:-) cat >"$tmp/stdin";;
6060 ac_dir
=`$as_dirname -- "$ac_file" ||
6061 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6062 X"$ac_file" : 'X\(//\)[^/]' \| \
6063 X"$ac_file" : 'X\(//\)$' \| \
6064 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6066 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6085 -*) as_dir
=.
/$as_dir;;
6087 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
6091 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
6092 *) as_qdir
=$as_dir;;
6094 as_dirs
="'$as_qdir' $as_dirs"
6095 as_dir
=`$as_dirname -- "$as_dir" ||
6096 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6097 X"$as_dir" : 'X\(//\)[^/]' \| \
6098 X"$as_dir" : 'X\(//\)$' \| \
6099 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6101 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6118 test -d "$as_dir" && break
6120 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
6121 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
6122 echo "$as_me: error: cannot create directory $as_dir" >&2;}
6123 { (exit 1); exit 1; }; }; }
6127 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
6129 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6130 # A ".." for each directory in $ac_dir_suffix.
6131 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
6132 case $ac_top_builddir_sub in
6133 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
6134 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
6137 ac_abs_top_builddir
=$ac_pwd
6138 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
6139 # for backward compatibility:
6140 ac_top_builddir
=$ac_top_build_prefix
6143 .
) # We are building in place.
6145 ac_top_srcdir
=$ac_top_builddir_sub
6146 ac_abs_top_srcdir
=$ac_pwd ;;
6147 [\\/]* | ?
:[\\/]* ) # Absolute name.
6148 ac_srcdir
=$srcdir$ac_dir_suffix;
6149 ac_top_srcdir
=$srcdir
6150 ac_abs_top_srcdir
=$srcdir ;;
6152 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
6153 ac_top_srcdir
=$ac_top_build_prefix$srcdir
6154 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
6156 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
6166 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
6167 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
6171 [\\/$
]* | ?
:[\\/]* ) ;;
6172 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
6176 cat >>$CONFIG_STATUS <<\_ACEOF
6177 # If the template does not know about datarootdir, expand it.
6178 # FIXME: This hack should be removed a few years after 2.60.
6179 ac_datarootdir_hack
=; ac_datarootdir_seen
=
6181 case `sed -n '/datarootdir/ {
6190 ' $ac_file_inputs` in
6191 *datarootdir
*) ac_datarootdir_seen
=yes;;
6192 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
6193 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6194 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6196 cat >>$CONFIG_STATUS <<_ACEOF
6197 ac_datarootdir_hack='
6198 s&@datadir@&$datadir&g
6199 s&@docdir@&$docdir&g
6200 s&@infodir@&$infodir&g
6201 s&@localedir@&$localedir&g
6202 s&@mandir@&$mandir&g
6203 s&\\\${datarootdir}&$datarootdir&g' ;;
6207 # Neutralize VPATH when `$srcdir' = `.'.
6208 # Shell code in configure.ac might set extrasub.
6209 # FIXME: do we really want to maintain this feature?
6210 cat >>$CONFIG_STATUS <<_ACEOF
6214 cat >>$CONFIG_STATUS <<\_ACEOF
6216 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
6217 s
&@configure_input@
&$configure_input&;t t
6218 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
6219 s
&@srcdir@
&$ac_srcdir&;t t
6220 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
6221 s
&@top_srcdir@
&$ac_top_srcdir&;t t
6222 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
6223 s
&@builddir@
&$ac_builddir&;t t
6224 s
&@abs_builddir@
&$ac_abs_builddir&;t t
6225 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
6226 s
&@INSTALL@
&$ac_INSTALL&;t t
6227 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
6228 $ac_datarootdir_hack
6229 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" >$tmp/out
6231 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6232 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
6233 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
6234 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
6235 which seems to be undefined. Please make sure it is defined." >&5
6236 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
6237 which seems to be undefined. Please make sure it is defined." >&2;}
6241 -) cat "$tmp/out"; rm -f "$tmp/out";;
6242 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
6251 # Transform confdefs.h into a sed script `conftest.defines', that
6252 # substitutes the proper values into config.h.in to produce config.h.
6253 rm -f conftest.defines conftest.
tail
6254 # First, append a space to every undef/define line, to ease matching.
6255 echo 's/$/ /' >conftest.defines
6256 # Then, protect against being on the right side of a sed subst, or in
6257 # an unquoted here document, in config.status. If some macros were
6258 # called several times there might be several #defines for the same
6259 # symbol, which is useless. But do not sort them, since the last
6260 # AC_DEFINE must be honored.
6261 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
6262 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
6263 # NAME is the cpp macro being defined, VALUE is the value it is being given.
6264 # PARAMS is the parameter list in the macro definition--in most cases, it's
6265 # just an empty string.
6266 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
6267 ac_dB
='\\)[ (].*,\\1define\\2'
6275 s/^[ ]*#[ ]*define[ ][ ]*//
6280 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
6281 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
6282 ' >>conftest.defines
6284 # Remove the space that was appended to ease matching.
6285 # Then replace #undef with comments. This is necessary, for
6286 # example, in the case of _POSIX_SOURCE, which is predefined and required
6287 # on some systems where configure will not decide to define it.
6288 # (The regexp can be short, since the line contains either #define or #undef.)
6290 s,^[ #]*u.*,/* & */,' >>conftest.defines
6292 # Break up conftest.defines:
6295 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
6296 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
6297 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
6299 ac_in
='$ac_file_inputs'
6300 ac_out
='"$tmp/out1"'
6301 ac_nxt
='"$tmp/out2"'
6305 # Write a here document:
6306 cat >>$CONFIG_STATUS <<_ACEOF
6307 # First, check the format of the line:
6308 cat >"\$tmp/defines.sed" <<\\CEOF
6309 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
6310 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
6314 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
6316 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
6317 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
6318 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
6319 grep . conftest.
tail >/dev
/null ||
break
6320 rm -f conftest.defines
6321 mv conftest.
tail conftest.defines
6323 rm -f conftest.defines conftest.
tail
6325 echo "ac_result=$ac_in" >>$CONFIG_STATUS
6326 cat >>$CONFIG_STATUS <<\_ACEOF
6327 if test x
"$ac_file" != x-
; then
6328 echo "/* $configure_input */" >"$tmp/config.h"
6329 cat "$ac_result" >>"$tmp/config.h"
6330 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
6331 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6332 echo "$as_me: $ac_file is unchanged" >&6;}
6335 mv "$tmp/config.h" $ac_file
6338 echo "/* $configure_input */"
6342 # Compute $ac_file's index in $config_headers.
6345 for _am_header
in $config_headers :; do
6347 $_am_arg |
$_am_arg:* )
6350 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
6353 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
6354 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6355 X"$_am_arg" : 'X\(//\)[^/]' \| \
6356 X"$_am_arg" : 'X\(//\)$' \| \
6357 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
6359 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6375 s/.*/./; q'`/stamp-h
$_am_stamp_count
6378 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
6379 echo "$as_me: executing $ac_file commands" >&6;}
6384 case $ac_file$ac_mode in
6385 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
6386 # Strip MF so we end up with the name of the file.
6387 mf
=`echo "$mf" | sed -e 's/:.*$//'`
6388 # Check whether this is an Automake generated Makefile or not.
6389 # We used to match only the files named `Makefile.in', but
6390 # some people rename them; so instead we look at the file content.
6391 # Grep'ing the first line is not enough: some people post-process
6392 # each Makefile.in and add a new line on top of each file to say so.
6393 # Grep'ing the whole file is not good either: AIX grep has a line
6394 # limit of 2048, but all sed's we know have understand at least 4000.
6395 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
6396 dirpart
=`$as_dirname -- "$mf" ||
6397 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6398 X"$mf" : 'X\(//\)[^/]' \| \
6399 X"$mf" : 'X\(//\)$' \| \
6400 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6402 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6422 # Extract the definition of DEPDIR, am__include, and am__quote
6423 # from the Makefile without running `make'.
6424 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
6425 test -z "$DEPDIR" && continue
6426 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
6427 test -z "am__include" && continue
6428 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
6429 # When using ansi2knr, U may be empty or an underscore; expand it
6430 U
=`sed -n 's/^U = //p' < "$mf"`
6431 # Find all dependency output files, they are included files with
6432 # $(DEPDIR) in their names. We invoke sed twice because it is the
6433 # simplest approach to changing $(DEPDIR) to its actual value in the
6435 for file in `sed -n "
6436 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6437 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6438 # Make sure the directory exists.
6439 test -f "$dirpart/$file" && continue
6440 fdir
=`$as_dirname -- "$file" ||
6441 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6442 X"$file" : 'X\(//\)[^/]' \| \
6443 X"$file" : 'X\(//\)$' \| \
6444 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6446 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6463 { as_dir
=$dirpart/$fdir
6465 -*) as_dir
=.
/$as_dir;;
6467 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
6471 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
6472 *) as_qdir
=$as_dir;;
6474 as_dirs
="'$as_qdir' $as_dirs"
6475 as_dir
=`$as_dirname -- "$as_dir" ||
6476 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6477 X"$as_dir" : 'X\(//\)[^/]' \| \
6478 X"$as_dir" : 'X\(//\)$' \| \
6479 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6481 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6498 test -d "$as_dir" && break
6500 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
6501 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
6502 echo "$as_me: error: cannot create directory $as_dir" >&2;}
6503 { (exit 1); exit 1; }; }; }
6504 # echo "creating $dirpart/$file"
6505 echo '# dummy' > "$dirpart/$file"
6514 { (exit 0); exit 0; }
6516 chmod +x
$CONFIG_STATUS
6517 ac_clean_files
=$ac_clean_files_save
6520 # configure is writing to config.log, and then calls config.status.
6521 # config.status does its own redirection, appending to config.log.
6522 # Unfortunately, on DOS this fails, as config.log is still kept open
6523 # by configure, so config.status won't be able to write to it; its
6524 # output is simply discarded. So we exec the FD to /dev/null,
6525 # effectively closing config.log, so it can be properly (re)opened and
6526 # appended to by config.status. When coming back to configure, we
6527 # need to make the FD available again.
6528 if test "$no_create" != yes; then
6530 ac_config_status_args
=
6531 test "$silent" = yes &&
6532 ac_config_status_args
="$ac_config_status_args --quiet"
6534 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
6536 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6537 # would make configure fail if this is the last instruction.
6538 $ac_cs_success ||
{ (exit 1); exit 1; }