2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61a.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be more Bourne compatible
14 DUALCASE=1; export DUALCASE # for MKS sh
15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
23 case `(set -o) 2>/dev/null` in
24 *posix*) set -o posix ;;
33 # Avoid depending upon Character Ranges.
34 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37 as_cr_digits='0123456789'
38 as_cr_alnum=$as_cr_Letters$as_cr_digits
43 # Printing a long string crashes Solaris 7 /usr/bin/printf.
44 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
45 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
46 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
47 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66 as_echo_n='sh -c $as_echo_n_body as_echo'
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74 echo "#! /bin/sh" >conf$$.sh
75 echo "exit 0" >>conf$$.sh
77 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
85 # Support unset when possible.
86 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
94 # We need space, tab and new line, in precisely that order. Quoting is
95 # there to prevent editors from complaining about space-tab.
96 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
97 # splitting by setting IFS to empty value.)
100 # Find who we are. Look in the path if we contain no directory separator.
102 *[\\/]* ) as_myself=$0 ;;
103 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
107 test -z "$as_dir" && as_dir=.
108 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
114 # We did not find ourselves, most probably we were run as `sh COMMAND'
115 # in which case we are not to be found in the path.
116 if test "x$as_myself" = x; then
119 if test ! -f "$as_myself"; then
120 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
121 { (exit 1); exit 1; }
124 # Work around bugs in pre-3.0 UWIN ksh.
125 for as_var in ENV MAIL MAILPATH
126 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
134 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
135 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
138 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
139 eval $as_var=C; export $as_var
141 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
145 # Required to use basename.
146 if expr a : '\(a\)' >/dev/null 2>&1 &&
147 test "X`expr 00001 : '.*\(...\)'`" = X001; then
153 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
160 # Name of the executable.
161 as_me=`$as_basename -- "$0" ||
162 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
163 X"$0" : 'X\(//\)$' \| \
164 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
166 sed '/^.*\/\([^/][^/]*\)\/*$/{
184 if test "x$CONFIG_SHELL" = x; then
185 if (eval ":") 2>/dev/null; then
191 if test $as_have_required = yes && (eval ":
201 as_func_ret_success () {
204 as_func_ret_failure () {
209 if as_func_success; then
213 echo as_func_success failed.
216 if as_func_failure; then
218 echo as_func_failure succeeded.
221 if as_func_ret_success; then
225 echo as_func_ret_success failed.
228 if as_func_ret_failure; then
230 echo as_func_ret_failure succeeded.
233 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
237 echo positional parameters were not saved.
240 test \$exitcode = 0) || { (exit 1); exit 1; }
245 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
246 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
247 ") 2> /dev/null; then
251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
252 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
255 test -z "$as_dir" && as_dir=.
258 for as_base in sh bash ksh sh5; do
259 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
266 for as_shell in $as_candidate_shells $SHELL; do
267 # Try only shells that exist, to save several forks.
268 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
269 { ("$as_shell") 2> /dev/null <<\_ASEOF
270 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
273 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
274 # is contrary to our usage. Disable this feature.
275 alias -g '${1+"$@"}'='"$@"'
278 case `(set -o) 2>/dev/null` in
279 *posix*) set -o posix ;;
288 CONFIG_SHELL=$as_shell
290 if { "$as_shell" 2> /dev/null <<\_ASEOF
291 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
294 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
295 # is contrary to our usage. Disable this feature.
296 alias -g '${1+"$@"}'='"$@"'
299 case `(set -o) 2>/dev/null` in
300 *posix*) set -o posix ;;
316 as_func_ret_success () {
319 as_func_ret_failure () {
324 if as_func_success; then
328 echo as_func_success failed.
331 if as_func_failure; then
333 echo as_func_failure succeeded.
336 if as_func_ret_success; then
340 echo as_func_ret_success failed.
343 if as_func_ret_failure; then
345 echo as_func_ret_failure succeeded.
348 if ( set x; as_func_ret_success y && test x = "$1" ); then
352 echo positional parameters were not saved.
355 test $exitcode = 0) || { (exit 1); exit 1; }
360 test "x$as_lineno_1" != "x$as_lineno_2" &&
361 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
372 if test "x$CONFIG_SHELL" != x; then
373 for as_var in BASH_ENV ENV
374 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
377 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
381 if test $as_have_required = no; then
382 echo This script requires a shell more modern than all the
383 echo shells that I found on your system. Please install a
384 echo modern shell, or manually run the script under such a
385 echo shell if you do have one.
386 { (exit 1); exit 1; }
396 (eval "as_func_return () {
405 as_func_ret_success () {
408 as_func_ret_failure () {
413 if as_func_success; then
417 echo as_func_success failed.
420 if as_func_failure; then
422 echo as_func_failure succeeded.
425 if as_func_ret_success; then
429 echo as_func_ret_success failed.
432 if as_func_ret_failure; then
434 echo as_func_ret_failure succeeded.
437 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
441 echo positional parameters were not saved.
444 test \$exitcode = 0") || {
445 echo No shell found that supports shell functions.
446 echo Please tell autoconf@gnu.org about your system,
447 echo including any error possibly output before this
455 test "x$as_lineno_1" != "x$as_lineno_2" &&
456 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
458 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
459 # uniformly replaced by the line number. The first 'sed' inserts a
460 # line-number line after each line using $LINENO; the second 'sed'
461 # does the real work. The second script uses 'N' to pair each
462 # line-number line with the line containing $LINENO, and appends
463 # trailing '-' during substitution so that $LINENO is not a special
465 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
466 # scripts with optimization help from Paolo Bonzini. Blame Lee
467 # E. McMahon (1931-1989) for sed's syntax. :-)
479 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
483 chmod +x "$as_me.lineno" ||
484 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
485 { (exit 1); exit 1; }; }
487 # Don't try to exec as it changes $[0], causing all sort of problems
488 # (the dirname of $[0] is not the place where we might find the
489 # original and so on. Autoconf is especially sensitive to this).
491 # Exit status is that of the last command.
496 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
502 ECHO_C= ECHO_N= ECHO_T=
506 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
512 if expr a : '\(a\)' >/dev/null 2>&1 &&
513 test "X`expr 00001 : '.*\(...\)'`" = X001; then
519 rm -f conf$$ conf$$.exe conf$$.file
520 if test -d conf$$.dir; then
521 rm -f conf$$.dir/conf$$.file
527 if ln -s conf$$.file conf$$ 2>/dev/null; then
529 # ... but there are two gotchas:
530 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
531 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
532 # In both cases, we have to default to `cp -p'.
533 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
535 elif ln conf$$.file conf$$ 2>/dev/null; then
540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541 rmdir conf$$.dir 2>/dev/null
543 if mkdir -p . 2>/dev/null; then
546 test -d ./-p && rmdir ./-p
550 if test -x / >/dev/null 2>&1; then
553 if ls -dL / >/dev/null 2>&1; then
560 if test -d "$1"; then
566 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
567 ???[sx]*):;;*)false;;esac;fi
571 as_executable_p=$as_test_x
573 # Sed expression to map a string onto a valid CPP name.
574 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
576 # Sed expression to map a string onto a valid variable name.
577 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
581 exec 7<&0 </dev/null 6>&1
584 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
585 # so uname gets run too.
586 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
591 ac_default_prefix=/usr/local
593 ac_config_libobj_dir=.
599 SHELL=${CONFIG_SHELL-/bin/sh}
601 # Identity of this package.
608 ac_unique_file="fapg.c"
609 # Factoring default headers for most tests.
610 ac_includes_default="\
612 #ifdef HAVE_SYS_TYPES_H
613 # include <sys/types.h>
615 #ifdef HAVE_SYS_STAT_H
616 # include <sys/stat.h>
622 # ifdef HAVE_STDLIB_H
627 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
632 #ifdef HAVE_STRINGS_H
633 # include <strings.h>
635 #ifdef HAVE_INTTYPES_H
636 # include <inttypes.h>
654 program_transform_name
696 INSTALL_STRIP_PROGRAM
726 ac_precious_vars='build_alias
737 # Initialize some variables set by options.
739 ac_init_version=false
740 # The variables have the same names as the options, with
741 # dashes changed to underlines.
749 program_transform_name=s,x,x,
757 # Installation directory options.
758 # These are left unexpanded so users can "make install exec_prefix=/foo"
759 # and all the variables that are supposed to be based on exec_prefix
760 # by default will actually change.
761 # Use braces instead of parens because sh, perl, etc. also accept them.
762 # (The list follows the same order as the GNU Coding Standards.)
763 bindir='${exec_prefix}/bin'
764 sbindir='${exec_prefix}/sbin'
765 libexecdir='${exec_prefix}/libexec'
766 datarootdir='${prefix}/share'
767 datadir='${datarootdir}'
768 sysconfdir='${prefix}/etc'
769 sharedstatedir='${prefix}/com'
770 localstatedir='${prefix}/var'
771 includedir='${prefix}/include'
772 oldincludedir='/usr/include'
773 docdir='${datarootdir}/doc/${PACKAGE}'
774 infodir='${datarootdir}/info'
779 libdir='${exec_prefix}/lib'
780 localedir='${datarootdir}/locale'
781 mandir='${datarootdir}/man'
787 # If the previous option needs an argument, assign it.
788 if test -n "$ac_prev"; then
789 eval $ac_prev=\$ac_option
795 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
799 # Accept the important Cygnus configure options, so we can diagnose typos.
801 case $ac_dashdash$ac_option in
805 -bindir | --bindir | --bindi | --bind | --bin | --bi)
807 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
810 -build | --build | --buil | --bui | --bu)
811 ac_prev=build_alias ;;
812 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
813 build_alias=$ac_optarg ;;
815 -cache-file | --cache-file | --cache-fil | --cache-fi \
816 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
817 ac_prev=cache_file ;;
818 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
819 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
820 cache_file=$ac_optarg ;;
823 cache_file=config.cache ;;
825 -datadir | --datadir | --datadi | --datad)
827 -datadir=* | --datadir=* | --datadi=* | --datad=*)
828 datadir=$ac_optarg ;;
830 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
831 | --dataroo | --dataro | --datar)
832 ac_prev=datarootdir ;;
833 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
834 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
835 datarootdir=$ac_optarg ;;
837 -disable-* | --disable-*)
838 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
839 # Reject names that are not valid shell variable names.
840 expr "x$ac_useropt" : ".*[^-._$as_cr_alnum]" >/dev/null &&
841 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
842 { (exit 1); exit 1; }; }
843 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-.]/_/g'`
844 eval enable_$ac_useropt=no ;;
846 -docdir | --docdir | --docdi | --doc | --do)
848 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
851 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
853 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
856 -enable-* | --enable-*)
857 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
858 # Reject names that are not valid shell variable names.
859 expr "x$ac_useropt" : ".*[^-._$as_cr_alnum]" >/dev/null &&
860 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
861 { (exit 1); exit 1; }; }
862 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-.]/_/g'`
863 eval enable_$ac_useropt=\$ac_optarg ;;
865 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
866 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
867 | --exec | --exe | --ex)
868 ac_prev=exec_prefix ;;
869 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
870 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
871 | --exec=* | --exe=* | --ex=*)
872 exec_prefix=$ac_optarg ;;
874 -gas | --gas | --ga | --g)
875 # Obsolete; use --with-gas.
878 -help | --help | --hel | --he | -h)
880 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
881 ac_init_help=recursive ;;
882 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
883 ac_init_help=short ;;
885 -host | --host | --hos | --ho)
886 ac_prev=host_alias ;;
887 -host=* | --host=* | --hos=* | --ho=*)
888 host_alias=$ac_optarg ;;
890 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
892 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
894 htmldir=$ac_optarg ;;
896 -includedir | --includedir | --includedi | --included | --include \
897 | --includ | --inclu | --incl | --inc)
898 ac_prev=includedir ;;
899 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
900 | --includ=* | --inclu=* | --incl=* | --inc=*)
901 includedir=$ac_optarg ;;
903 -infodir | --infodir | --infodi | --infod | --info | --inf)
905 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
906 infodir=$ac_optarg ;;
908 -libdir | --libdir | --libdi | --libd)
910 -libdir=* | --libdir=* | --libdi=* | --libd=*)
913 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
914 | --libexe | --libex | --libe)
915 ac_prev=libexecdir ;;
916 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
917 | --libexe=* | --libex=* | --libe=*)
918 libexecdir=$ac_optarg ;;
920 -localedir | --localedir | --localedi | --localed | --locale)
922 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
923 localedir=$ac_optarg ;;
925 -localstatedir | --localstatedir | --localstatedi | --localstated \
926 | --localstate | --localstat | --localsta | --localst | --locals)
927 ac_prev=localstatedir ;;
928 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
929 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
930 localstatedir=$ac_optarg ;;
932 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
934 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
938 # Obsolete; use --without-fp.
941 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
942 | --no-cr | --no-c | -n)
945 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
946 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
949 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
950 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
951 | --oldin | --oldi | --old | --ol | --o)
952 ac_prev=oldincludedir ;;
953 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
954 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
955 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
956 oldincludedir=$ac_optarg ;;
958 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
960 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
963 -program-prefix | --program-prefix | --program-prefi | --program-pref \
964 | --program-pre | --program-pr | --program-p)
965 ac_prev=program_prefix ;;
966 -program-prefix=* | --program-prefix=* | --program-prefi=* \
967 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
968 program_prefix=$ac_optarg ;;
970 -program-suffix | --program-suffix | --program-suffi | --program-suff \
971 | --program-suf | --program-su | --program-s)
972 ac_prev=program_suffix ;;
973 -program-suffix=* | --program-suffix=* | --program-suffi=* \
974 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
975 program_suffix=$ac_optarg ;;
977 -program-transform-name | --program-transform-name \
978 | --program-transform-nam | --program-transform-na \
979 | --program-transform-n | --program-transform- \
980 | --program-transform | --program-transfor \
981 | --program-transfo | --program-transf \
982 | --program-trans | --program-tran \
983 | --progr-tra | --program-tr | --program-t)
984 ac_prev=program_transform_name ;;
985 -program-transform-name=* | --program-transform-name=* \
986 | --program-transform-nam=* | --program-transform-na=* \
987 | --program-transform-n=* | --program-transform-=* \
988 | --program-transform=* | --program-transfor=* \
989 | --program-transfo=* | --program-transf=* \
990 | --program-trans=* | --program-tran=* \
991 | --progr-tra=* | --program-tr=* | --program-t=*)
992 program_transform_name=$ac_optarg ;;
994 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
996 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
999 -psdir | --psdir | --psdi | --psd | --ps)
1001 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1004 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1005 | -silent | --silent | --silen | --sile | --sil)
1008 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1010 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1012 sbindir=$ac_optarg ;;
1014 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1015 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1016 | --sharedst | --shareds | --shared | --share | --shar \
1018 ac_prev=sharedstatedir ;;
1019 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1020 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1021 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1023 sharedstatedir=$ac_optarg ;;
1025 -site | --site | --sit)
1027 -site=* | --site=* | --sit=*)
1030 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1032 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1033 srcdir=$ac_optarg ;;
1035 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1036 | --syscon | --sysco | --sysc | --sys | --sy)
1037 ac_prev=sysconfdir ;;
1038 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1039 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1040 sysconfdir=$ac_optarg ;;
1042 -target | --target | --targe | --targ | --tar | --ta | --t)
1043 ac_prev=target_alias ;;
1044 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1045 target_alias=$ac_optarg ;;
1047 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1050 -version | --version | --versio | --versi | --vers | -V)
1051 ac_init_version=: ;;
1054 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1055 # Reject names that are not valid shell variable names.
1056 expr "x$ac_useropt" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1057 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1058 { (exit 1); exit 1; }; }
1059 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-.]/_/g'`
1060 eval with_$ac_useropt=\$ac_optarg ;;
1062 -without-* | --without-*)
1063 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1064 # Reject names that are not valid shell variable names.
1065 expr "x$ac_useropt" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1066 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1067 { (exit 1); exit 1; }; }
1068 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-.]/_/g'`
1069 eval with_$ac_useropt=no ;;
1072 # Obsolete; use --with-x.
1075 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1076 | --x-incl | --x-inc | --x-in | --x-i)
1077 ac_prev=x_includes ;;
1078 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1079 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1080 x_includes=$ac_optarg ;;
1082 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1083 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1084 ac_prev=x_libraries ;;
1085 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1086 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1087 x_libraries=$ac_optarg ;;
1089 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1090 Try \`$0 --help' for more information." >&2
1091 { (exit 1); exit 1; }; }
1095 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1096 # Reject names that are not valid shell variable names.
1097 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1098 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1099 { (exit 1); exit 1; }; }
1100 eval $ac_envvar=\$ac_optarg
1101 export $ac_envvar ;;
1104 # FIXME: should be removed in autoconf 3.0.
1105 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1106 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1107 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1108 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1114 if test -n "$ac_prev"; then
1115 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1116 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1117 { (exit 1); exit 1; }; }
1120 # Be sure to have absolute directory names.
1121 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1122 datadir sysconfdir sharedstatedir localstatedir includedir \
1123 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1124 libdir localedir mandir
1126 eval ac_val=\$$ac_var
1128 [\\/$]* | ?:[\\/]* ) continue;;
1129 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1131 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1132 { (exit 1); exit 1; }; }
1135 # There might be people who depend on the old broken behavior: `$host'
1136 # used to hold the argument of --host etc.
1137 # FIXME: To remove some day.
1140 target=$target_alias
1142 # FIXME: To remove some day.
1143 if test "x$host_alias" != x; then
1144 if test "x$build_alias" = x; then
1145 cross_compiling=maybe
1146 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1147 If a cross compiler is detected then cross compile mode will be used." >&2
1148 elif test "x$build_alias" != "x$host_alias"; then
1154 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1156 test "$silent" = yes && exec 6>/dev/null
1159 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1160 ac_ls_di=`ls -di .` &&
1161 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1162 { $as_echo "$as_me: error: Working directory cannot be determined" >&2
1163 { (exit 1); exit 1; }; }
1164 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1165 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1166 { (exit 1); exit 1; }; }
1169 # Find the source files, if location was not specified.
1170 if test -z "$srcdir"; then
1171 ac_srcdir_defaulted=yes
1172 # Try the directory containing this script, then the parent directory.
1173 ac_confdir=`$as_dirname -- "$0" ||
1174 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1175 X"$0" : 'X\(//\)[^/]' \| \
1176 X"$0" : 'X\(//\)$' \| \
1177 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1179 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1197 if test ! -r "$srcdir/$ac_unique_file"; then
1201 ac_srcdir_defaulted=no
1203 if test ! -r "$srcdir/$ac_unique_file"; then
1204 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1205 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1206 { (exit 1); exit 1; }; }
1208 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1210 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1211 { (exit 1); exit 1; }; }
1213 # When building in place, set srcdir=.
1214 if test "$ac_abs_confdir" = "$ac_pwd"; then
1217 # Remove unnecessary trailing slashes from srcdir.
1218 # Double slashes in file names in object file debugging info
1219 # mess up M-x gdb in Emacs.
1221 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1223 for ac_var in $ac_precious_vars; do
1224 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1225 eval ac_env_${ac_var}_value=\$${ac_var}
1226 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1227 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1231 # Report the --help message.
1233 if test "$ac_init_help" = "long"; then
1234 # Omit some internal or obsolete options to make the list less imposing.
1235 # This message is too long to be a string in the A/UX 3.1 sh.
1237 \`configure' configures this package to adapt to many kinds of systems.
1239 Usage: $0 [OPTION]... [VAR=VALUE]...
1241 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1242 VAR=VALUE. See below for descriptions of some of the useful variables.
1244 Defaults for the options are specified in brackets.
1247 -h, --help display this help and exit
1248 --help=short display options specific to this package
1249 --help=recursive display the short help of all the included packages
1250 -V, --version display version information and exit
1251 -q, --quiet, --silent do not print \`checking...' messages
1252 --cache-file=FILE cache test results in FILE [disabled]
1253 -C, --config-cache alias for \`--cache-file=config.cache'
1254 -n, --no-create do not create output files
1255 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1257 Installation directories:
1258 --prefix=PREFIX install architecture-independent files in PREFIX
1259 [$ac_default_prefix]
1260 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1263 By default, \`make install' will install all the files in
1264 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1265 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1266 for instance \`--prefix=\$HOME'.
1268 For better control, use the options below.
1270 Fine tuning of the installation directories:
1271 --bindir=DIR user executables [EPREFIX/bin]
1272 --sbindir=DIR system admin executables [EPREFIX/sbin]
1273 --libexecdir=DIR program executables [EPREFIX/libexec]
1274 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1275 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1276 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1277 --libdir=DIR object code libraries [EPREFIX/lib]
1278 --includedir=DIR C header files [PREFIX/include]
1279 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1280 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1281 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1282 --infodir=DIR info documentation [DATAROOTDIR/info]
1283 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1284 --mandir=DIR man documentation [DATAROOTDIR/man]
1285 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1286 --htmldir=DIR html documentation [DOCDIR]
1287 --dvidir=DIR dvi documentation [DOCDIR]
1288 --pdfdir=DIR pdf documentation [DOCDIR]
1289 --psdir=DIR ps documentation [DOCDIR]
1295 --program-prefix=PREFIX prepend PREFIX to installed program names
1296 --program-suffix=SUFFIX append SUFFIX to installed program names
1297 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1301 if test -n "$ac_init_help"; then
1306 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1307 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1308 --disable-dependency-tracking speeds up one-time build
1309 --enable-dependency-tracking do not reject slow dependency extractors
1312 --enable-xspf enable XSPF support (default)
1313 --disable-xspf disable XSPF support
1316 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1317 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1318 --with-uriparser=DIR override path of uriparser
1319 ("/lib" and "/include" is appended)
1320 --with-uriparser-inc=D override include path of uriparser
1321 --with-uriparser-lib=D override library path of uriparser
1323 Some influential environment variables:
1324 CC C compiler command
1325 CFLAGS C compiler flags
1326 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1327 nonstandard directory <lib dir>
1328 LIBS libraries to pass to the linker, e.g. -l<library>
1329 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1330 you have headers in a nonstandard directory <include dir>
1333 Use these variables to override the choices made by `configure' or to help
1334 it to find libraries and programs with nonstandard names/locations.
1340 if test "$ac_init_help" = "recursive"; then
1341 # If there are subdirs, report their specific --help.
1342 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1343 test -d "$ac_dir" || continue
1347 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1349 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's,^\.[\\/],,'`
1350 # A ".." for each directory in $ac_dir_suffix.
1351 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1352 case $ac_top_builddir_sub in
1353 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1354 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1357 ac_abs_top_builddir=$ac_pwd
1358 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1359 # for backward compatibility:
1360 ac_top_builddir=$ac_top_build_prefix
1363 .) # We are building in place.
1365 ac_top_srcdir=$ac_top_builddir_sub
1366 ac_abs_top_srcdir=$ac_pwd ;;
1367 [\\/]* | ?:[\\/]* ) # Absolute name.
1368 ac_srcdir=$srcdir$ac_dir_suffix;
1369 ac_top_srcdir=$srcdir
1370 ac_abs_top_srcdir=$srcdir ;;
1372 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1373 ac_top_srcdir=$ac_top_build_prefix$srcdir
1374 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1376 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1378 cd "$ac_dir" || { ac_status=$?; continue; }
1379 # Check for guested configure.
1380 if test -f "$ac_srcdir/configure.gnu"; then
1382 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1383 elif test -f "$ac_srcdir/configure"; then
1385 $SHELL "$ac_srcdir/configure" --help=recursive
1387 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1389 cd "$ac_pwd" || { ac_status=$?; break; }
1393 test -n "$ac_init_help" && exit $ac_status
1394 if $ac_init_version; then
1397 generated by GNU Autoconf 2.61a
1399 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1400 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1401 This configure script is free software; the Free Software Foundation
1402 gives unlimited permission to copy, distribute and modify it.
1406 cat >config.log <<_ACEOF
1407 This file contains any messages produced by compilers while
1408 running configure, to aid debugging if configure makes a mistake.
1410 It was created by $as_me, which was
1411 generated by GNU Autoconf 2.61a. Invocation command line was
1423 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1424 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1425 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1426 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1427 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1429 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1430 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1432 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1433 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1434 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1435 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1436 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1437 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1438 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1446 test -z "$as_dir" && as_dir=.
1447 $as_echo "PATH: $as_dir"
1463 # Keep a trace of the command line.
1464 # Strip out --no-create and --no-recursion so they do not pile up.
1465 # Strip out --silent because we don't want to record it for future runs.
1466 # Also quote any args containing shell meta-characters.
1467 # Make two passes to allow for proper duplicate-argument suppression.
1471 ac_must_keep_next=false
1477 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1478 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1479 | -silent | --silent | --silen | --sile | --sil)
1482 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1485 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1487 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1488 if test $ac_must_keep_next = true; then
1489 ac_must_keep_next=false # Got value, back to normal.
1492 *=* | --config-cache | -C | -disable-* | --disable-* \
1493 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1494 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1495 | -with-* | --with-* | -without-* | --without-* | --x)
1496 case "$ac_configure_args0 " in
1497 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1500 -* ) ac_must_keep_next=true ;;
1503 ac_configure_args="$ac_configure_args '$ac_arg'"
1508 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1509 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1511 # When interrupted or exit'd, cleanup temporary files, and complete
1512 # config.log. We remove comments because anyway the quotes in there
1513 # would cause problems or look ugly.
1514 # WARNING: Use '\'' to represent an apostrophe within the trap.
1515 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1516 trap 'exit_status=$?
1517 # Save into config.log some information that might help in debugging.
1522 ## ---------------- ##
1523 ## Cache variables. ##
1524 ## ---------------- ##
1527 # The following way of writing the cache mishandles newlines in values,
1529 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1530 eval ac_val=\$$ac_var
1534 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1535 $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1538 _ | IFS | as_nl) ;; #(
1539 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1540 *) $as_unset $ac_var ;;
1545 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1546 *${as_nl}ac_space=\ *)
1548 "s/'\''/'\''\\\\'\'''\''/g;
1549 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1552 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1560 ## ----------------- ##
1561 ## Output variables. ##
1562 ## ----------------- ##
1565 for ac_var in $ac_subst_vars
1567 eval ac_val=\$$ac_var
1569 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1571 $as_echo "$ac_var='\''$ac_val'\''"
1575 if test -n "$ac_subst_files"; then
1577 ## ------------------- ##
1578 ## File substitutions. ##
1579 ## ------------------- ##
1582 for ac_var in $ac_subst_files
1584 eval ac_val=\$$ac_var
1586 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1588 $as_echo "$ac_var='\''$ac_val'\''"
1593 if test -s confdefs.h; then
1603 test "$ac_signal" != 0 &&
1604 $as_echo "$as_me: caught signal $ac_signal"
1605 $as_echo "$as_me: exit $exit_status"
1607 rm -f core *.core core.conftest.* &&
1608 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1611 for ac_signal in 1 2 13 15; do
1612 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1616 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1617 rm -f -r conftest* confdefs.h
1619 # Predefined preprocessor variables.
1621 cat >>confdefs.h <<_ACEOF
1622 #define PACKAGE_NAME "$PACKAGE_NAME"
1626 cat >>confdefs.h <<_ACEOF
1627 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1631 cat >>confdefs.h <<_ACEOF
1632 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1636 cat >>confdefs.h <<_ACEOF
1637 #define PACKAGE_STRING "$PACKAGE_STRING"
1641 cat >>confdefs.h <<_ACEOF
1642 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1646 # Let the site file select an alternate cache file if it wants to.
1647 # Prefer explicitly selected file to automatically selected ones.
1648 if test -n "$CONFIG_SITE"; then
1649 set x "$CONFIG_SITE"
1650 elif test "x$prefix" != xNONE; then
1651 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1653 set x "$ac_default_prefix/share/config.site" \
1654 "$ac_default_prefix/etc/config.site"
1659 if test -r "$ac_site_file"; then
1660 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1661 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1662 sed 's/^/| /' "$ac_site_file" >&5
1667 if test -r "$cache_file"; then
1668 # Some versions of bash will fail to source /dev/null (special
1669 # files actually), so we avoid doing that.
1670 if test -f "$cache_file"; then
1671 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1672 $as_echo "$as_me: loading cache $cache_file" >&6;}
1674 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1675 *) . "./$cache_file";;
1679 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1680 $as_echo "$as_me: creating cache $cache_file" >&6;}
1684 # Check that the precious variables saved in the cache have kept the same
1686 ac_cache_corrupted=false
1687 for ac_var in $ac_precious_vars; do
1688 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1689 eval ac_new_set=\$ac_env_${ac_var}_set
1690 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1691 eval ac_new_val=\$ac_env_${ac_var}_value
1692 case $ac_old_set,$ac_new_set in
1694 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1695 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1696 ac_cache_corrupted=: ;;
1698 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1699 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1700 ac_cache_corrupted=: ;;
1703 if test "x$ac_old_val" != "x$ac_new_val"; then
1704 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1705 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1706 { $as_echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1707 $as_echo "$as_me: former value: $ac_old_val" >&2;}
1708 { $as_echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1709 $as_echo "$as_me: current value: $ac_new_val" >&2;}
1710 ac_cache_corrupted=:
1713 # Pass precious variables to config.status.
1714 if test "$ac_new_set" = set; then
1716 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1717 *) ac_arg=$ac_var=$ac_new_val ;;
1719 case " $ac_configure_args " in
1720 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1721 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1725 if $ac_cache_corrupted; then
1726 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1727 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1728 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1729 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1730 { (exit 1); exit 1; }; }
1750 ac_cpp='$CPP $CPPFLAGS'
1751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1756 am__api_version='1.10'
1759 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1760 if test -f "$ac_dir/install-sh"; then
1762 ac_install_sh="$ac_aux_dir/install-sh -c"
1764 elif test -f "$ac_dir/install.sh"; then
1766 ac_install_sh="$ac_aux_dir/install.sh -c"
1768 elif test -f "$ac_dir/shtool"; then
1770 ac_install_sh="$ac_aux_dir/shtool install -c"
1774 if test -z "$ac_aux_dir"; then
1775 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1776 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1777 { (exit 1); exit 1; }; }
1780 # These three variables are undocumented and unsupported,
1781 # and are intended to be withdrawn in a future Autoconf release.
1782 # They can cause serious problems if a builder's source tree is in a directory
1783 # whose full name contains unusual characters.
1784 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1785 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1786 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1789 # Find a good install program. We prefer a C program (faster),
1790 # so one script is as good as another. But avoid the broken or
1791 # incompatible versions:
1792 # SysV /etc/install, /usr/sbin/install
1793 # SunOS /usr/etc/install
1794 # IRIX /sbin/install
1796 # AmigaOS /C/install, which installs bootblocks on floppy discs
1797 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1798 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1799 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1800 # OS/2's system install, which has a completely different semantic
1801 # ./install, which can be erroneously created by make from ./install.sh.
1802 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1803 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1804 if test -z "$INSTALL"; then
1805 if test "${ac_cv_path_install+set}" = set; then
1806 $as_echo_n "(cached) " >&6
1808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1812 test -z "$as_dir" && as_dir=.
1813 # Account for people who put trailing slashes in PATH elements.
1815 ./ | .// | /cC/* | \
1816 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1817 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1820 # OSF1 and SCO ODT 3.0 have their own names for install.
1821 # Don't use installbsd from OSF since it installs stuff as root
1823 for ac_prog in ginstall scoinst install; do
1824 for ac_exec_ext in '' $ac_executable_extensions; do
1825 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1826 if test $ac_prog = install &&
1827 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1828 # AIX install. It has an incompatible calling convention.
1830 elif test $ac_prog = install &&
1831 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1832 # program-specific install script used by HP pwplus--don't use.
1835 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1848 if test "${ac_cv_path_install+set}" = set; then
1849 INSTALL=$ac_cv_path_install
1851 # As a last resort, use the slow shell script. Don't cache a
1852 # value for INSTALL within a source directory, because that will
1853 # break other packages using the cache if that directory is
1854 # removed, or if the value is a relative name.
1855 INSTALL=$ac_install_sh
1858 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
1859 $as_echo "$INSTALL" >&6; }
1861 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1862 # It thinks the first close brace ends the variable substitution.
1863 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1865 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1867 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1869 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1870 $as_echo_n "checking whether build environment is sane... " >&6; }
1873 echo timestamp > conftest.file
1874 # Do `set' in a subshell so we don't clobber the current shell's
1875 # arguments. Must try -L first in case configure is actually a
1876 # symlink; some systems play weird games with the mod time of symlinks
1877 # (eg FreeBSD returns the mod time of the symlink's containing
1880 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1881 if test "$*" = "X"; then
1883 set X `ls -t $srcdir/configure conftest.file`
1886 if test "$*" != "X $srcdir/configure conftest.file" \
1887 && test "$*" != "X conftest.file $srcdir/configure"; then
1889 # If neither matched, then we have a broken ls. This can happen
1890 # if, for instance, CONFIG_SHELL is bash and it inherits a
1891 # broken ls alias from the environment. This has actually
1892 # happened. Such a system could not be considered "sane".
1893 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1894 alias in your environment" >&5
1895 $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1896 alias in your environment" >&2;}
1897 { (exit 1); exit 1; }; }
1900 test "$2" = conftest.file
1906 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1907 Check your system clock" >&5
1908 $as_echo "$as_me: error: newly created file is older than distributed files!
1909 Check your system clock" >&2;}
1910 { (exit 1); exit 1; }; }
1912 { $as_echo "$as_me:$LINENO: result: yes" >&5
1913 $as_echo "yes" >&6; }
1914 test "$program_prefix" != NONE &&
1915 program_transform_name="s&^&$program_prefix&;$program_transform_name"
1916 # Use a double $ so make ignores it.
1917 test "$program_suffix" != NONE &&
1918 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1919 # Double any \ or $.
1920 # By default was `s,x,x', remove it if useless.
1921 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
1922 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
1924 # expand $ac_aux_dir to an absolute path
1925 am_aux_dir=`cd $ac_aux_dir && pwd`
1927 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1928 # Use eval to expand $SHELL
1929 if eval "$MISSING --run true"; then
1930 am_missing_run="$MISSING --run "
1933 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1934 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1937 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
1938 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
1939 if test -z "$MKDIR_P"; then
1940 if test "${ac_cv_path_mkdir+set}" = set; then
1941 $as_echo_n "(cached) " >&6
1943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1944 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
1947 test -z "$as_dir" && as_dir=.
1948 for ac_prog in mkdir gmkdir; do
1949 for ac_exec_ext in '' $ac_executable_extensions; do
1950 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
1951 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
1952 'mkdir (GNU coreutils) '* | \
1953 'mkdir (coreutils) '* | \
1954 'mkdir (fileutils) '4.1*)
1955 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
1965 if test "${ac_cv_path_mkdir+set}" = set; then
1966 MKDIR_P="$ac_cv_path_mkdir -p"
1968 # As a last resort, use the slow shell script. Don't cache a
1969 # value for MKDIR_P within a source directory, because that will
1970 # break other packages using the cache if that directory is
1971 # removed, or if the value is a relative name.
1972 test -d ./--version && rmdir ./--version
1973 MKDIR_P="$ac_install_sh -d"
1976 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
1977 $as_echo "$MKDIR_P" >&6; }
1981 [\\/$]* | ?:[\\/]*) ;;
1982 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
1985 for ac_prog in gawk mawk nawk awk
1987 # Extract the first word of "$ac_prog", so it can be a program name with args.
1988 set dummy $ac_prog; ac_word=$2
1989 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
1990 $as_echo_n "checking for $ac_word... " >&6; }
1991 if test "${ac_cv_prog_AWK+set}" = set; then
1992 $as_echo_n "(cached) " >&6
1994 if test -n "$AWK"; then
1995 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2001 test -z "$as_dir" && as_dir=.
2002 for ac_exec_ext in '' $ac_executable_extensions; do
2003 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2004 ac_cv_prog_AWK="$ac_prog"
2005 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2015 if test -n "$AWK"; then
2016 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2017 $as_echo "$AWK" >&6; }
2019 { $as_echo "$as_me:$LINENO: result: no" >&5
2020 $as_echo "no" >&6; }
2024 test -n "$AWK" && break
2027 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2028 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2030 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2031 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2032 $as_echo_n "(cached) " >&6
2034 cat >conftest.make <<\_ACEOF
2037 @echo '@@@%%%=$(MAKE)=@@@%%%'
2039 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2040 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2042 eval ac_cv_prog_make_${ac_make}_set=yes;;
2044 eval ac_cv_prog_make_${ac_make}_set=no;;
2048 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2049 { $as_echo "$as_me:$LINENO: result: yes" >&5
2050 $as_echo "yes" >&6; }
2053 { $as_echo "$as_me:$LINENO: result: no" >&5
2054 $as_echo "no" >&6; }
2055 SET_MAKE="MAKE=${MAKE-make}"
2058 rm -rf .tst 2>/dev/null
2059 mkdir .tst 2>/dev/null
2060 if test -d .tst; then
2065 rmdir .tst 2>/dev/null
2067 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2068 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2069 # is not polluted with repeated "-I."
2070 am__isrc=' -I$(srcdir)'
2071 # test to see if srcdir already configured
2072 if test -f $srcdir/config.status; then
2073 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2074 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2075 { (exit 1); exit 1; }; }
2079 # test whether we have cygpath
2080 if test -z "$CYGPATH_W"; then
2081 if (cygpath --version) >/dev/null 2>/dev/null; then
2082 CYGPATH_W='cygpath -w'
2089 # Define the identity of the package.
2094 cat >>confdefs.h <<_ACEOF
2095 #define PACKAGE "$PACKAGE"
2099 cat >>confdefs.h <<_ACEOF
2100 #define VERSION "$VERSION"
2103 # Some tools Automake needs.
2105 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2108 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2111 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2114 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2117 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2119 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2121 # Installed binaries are usually stripped using `strip' when the user
2122 # run `make install-strip'. However `strip' might not be the right
2123 # tool to use in cross-compilation environments, therefore Automake
2124 # will honor the `STRIP' environment variable to overrule this program.
2125 if test "$cross_compiling" != no; then
2126 if test -n "$ac_tool_prefix"; then
2127 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2128 set dummy ${ac_tool_prefix}strip; ac_word=$2
2129 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2130 $as_echo_n "checking for $ac_word... " >&6; }
2131 if test "${ac_cv_prog_STRIP+set}" = set; then
2132 $as_echo_n "(cached) " >&6
2134 if test -n "$STRIP"; then
2135 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2141 test -z "$as_dir" && as_dir=.
2142 for ac_exec_ext in '' $ac_executable_extensions; do
2143 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2144 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2145 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2154 STRIP=$ac_cv_prog_STRIP
2155 if test -n "$STRIP"; then
2156 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2157 $as_echo "$STRIP" >&6; }
2159 { $as_echo "$as_me:$LINENO: result: no" >&5
2160 $as_echo "no" >&6; }
2165 if test -z "$ac_cv_prog_STRIP"; then
2167 # Extract the first word of "strip", so it can be a program name with args.
2168 set dummy strip; ac_word=$2
2169 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2170 $as_echo_n "checking for $ac_word... " >&6; }
2171 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2172 $as_echo_n "(cached) " >&6
2174 if test -n "$ac_ct_STRIP"; then
2175 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2181 test -z "$as_dir" && as_dir=.
2182 for ac_exec_ext in '' $ac_executable_extensions; do
2183 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2184 ac_cv_prog_ac_ct_STRIP="strip"
2185 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2194 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2195 if test -n "$ac_ct_STRIP"; then
2196 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2197 $as_echo "$ac_ct_STRIP" >&6; }
2199 { $as_echo "$as_me:$LINENO: result: no" >&5
2200 $as_echo "no" >&6; }
2203 if test "x$ac_ct_STRIP" = x; then
2206 case $cross_compiling:$ac_tool_warned in
2208 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2209 whose name does not start with the host triplet. If you think this
2210 configuration is useful to you, please write to autoconf@gnu.org." >&5
2211 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2212 whose name does not start with the host triplet. If you think this
2213 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2214 ac_tool_warned=yes ;;
2219 STRIP="$ac_cv_prog_STRIP"
2223 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2225 # We need awk for the "check" target. The system "awk" is bad on
2227 # Always define AMTAR for backward compatibility.
2229 AMTAR=${AMTAR-"${am_missing_run}tar"}
2231 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2238 # Find a good install program. We prefer a C program (faster),
2239 # so one script is as good as another. But avoid the broken or
2240 # incompatible versions:
2241 # SysV /etc/install, /usr/sbin/install
2242 # SunOS /usr/etc/install
2243 # IRIX /sbin/install
2245 # AmigaOS /C/install, which installs bootblocks on floppy discs
2246 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2247 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2248 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2249 # OS/2's system install, which has a completely different semantic
2250 # ./install, which can be erroneously created by make from ./install.sh.
2251 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2252 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2253 if test -z "$INSTALL"; then
2254 if test "${ac_cv_path_install+set}" = set; then
2255 $as_echo_n "(cached) " >&6
2257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2261 test -z "$as_dir" && as_dir=.
2262 # Account for people who put trailing slashes in PATH elements.
2264 ./ | .// | /cC/* | \
2265 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2266 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2269 # OSF1 and SCO ODT 3.0 have their own names for install.
2270 # Don't use installbsd from OSF since it installs stuff as root
2272 for ac_prog in ginstall scoinst install; do
2273 for ac_exec_ext in '' $ac_executable_extensions; do
2274 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2275 if test $ac_prog = install &&
2276 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2277 # AIX install. It has an incompatible calling convention.
2279 elif test $ac_prog = install &&
2280 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2281 # program-specific install script used by HP pwplus--don't use.
2284 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2297 if test "${ac_cv_path_install+set}" = set; then
2298 INSTALL=$ac_cv_path_install
2300 # As a last resort, use the slow shell script. Don't cache a
2301 # value for INSTALL within a source directory, because that will
2302 # break other packages using the cache if that directory is
2303 # removed, or if the value is a relative name.
2304 INSTALL=$ac_install_sh
2307 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
2308 $as_echo "$INSTALL" >&6; }
2310 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2311 # It thinks the first close brace ends the variable substitution.
2312 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2314 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2316 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2319 ac_cpp='$CPP $CPPFLAGS'
2320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2323 if test -n "$ac_tool_prefix"; then
2324 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2325 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2326 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2327 $as_echo_n "checking for $ac_word... " >&6; }
2328 if test "${ac_cv_prog_CC+set}" = set; then
2329 $as_echo_n "(cached) " >&6
2331 if test -n "$CC"; then
2332 ac_cv_prog_CC="$CC" # Let the user override the test.
2334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2338 test -z "$as_dir" && as_dir=.
2339 for ac_exec_ext in '' $ac_executable_extensions; do
2340 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2341 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2342 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2352 if test -n "$CC"; then
2353 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2354 $as_echo "$CC" >&6; }
2356 { $as_echo "$as_me:$LINENO: result: no" >&5
2357 $as_echo "no" >&6; }
2362 if test -z "$ac_cv_prog_CC"; then
2364 # Extract the first word of "gcc", so it can be a program name with args.
2365 set dummy gcc; ac_word=$2
2366 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2367 $as_echo_n "checking for $ac_word... " >&6; }
2368 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2369 $as_echo_n "(cached) " >&6
2371 if test -n "$ac_ct_CC"; then
2372 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2378 test -z "$as_dir" && as_dir=.
2379 for ac_exec_ext in '' $ac_executable_extensions; do
2380 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2381 ac_cv_prog_ac_ct_CC="gcc"
2382 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2391 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2392 if test -n "$ac_ct_CC"; then
2393 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2394 $as_echo "$ac_ct_CC" >&6; }
2396 { $as_echo "$as_me:$LINENO: result: no" >&5
2397 $as_echo "no" >&6; }
2400 if test "x$ac_ct_CC" = x; then
2403 case $cross_compiling:$ac_tool_warned in
2405 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2406 whose name does not start with the host triplet. If you think this
2407 configuration is useful to you, please write to autoconf@gnu.org." >&5
2408 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2409 whose name does not start with the host triplet. If you think this
2410 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2411 ac_tool_warned=yes ;;
2419 if test -z "$CC"; then
2420 if test -n "$ac_tool_prefix"; then
2421 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2422 set dummy ${ac_tool_prefix}cc; ac_word=$2
2423 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2424 $as_echo_n "checking for $ac_word... " >&6; }
2425 if test "${ac_cv_prog_CC+set}" = set; then
2426 $as_echo_n "(cached) " >&6
2428 if test -n "$CC"; then
2429 ac_cv_prog_CC="$CC" # Let the user override the test.
2431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2435 test -z "$as_dir" && as_dir=.
2436 for ac_exec_ext in '' $ac_executable_extensions; do
2437 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2438 ac_cv_prog_CC="${ac_tool_prefix}cc"
2439 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2449 if test -n "$CC"; then
2450 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2451 $as_echo "$CC" >&6; }
2453 { $as_echo "$as_me:$LINENO: result: no" >&5
2454 $as_echo "no" >&6; }
2460 if test -z "$CC"; then
2461 # Extract the first word of "cc", so it can be a program name with args.
2462 set dummy cc; ac_word=$2
2463 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2464 $as_echo_n "checking for $ac_word... " >&6; }
2465 if test "${ac_cv_prog_CC+set}" = set; then
2466 $as_echo_n "(cached) " >&6
2468 if test -n "$CC"; then
2469 ac_cv_prog_CC="$CC" # Let the user override the test.
2472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2476 test -z "$as_dir" && as_dir=.
2477 for ac_exec_ext in '' $ac_executable_extensions; do
2478 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2479 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2480 ac_prog_rejected=yes
2484 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2491 if test $ac_prog_rejected = yes; then
2492 # We found a bogon in the path, so make sure we never use it.
2493 set dummy $ac_cv_prog_CC
2495 if test $# != 0; then
2496 # We chose a different compiler from the bogus one.
2497 # However, it has the same basename, so the bogon will be chosen
2498 # first if we set CC to just the basename; use the full file name.
2500 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2506 if test -n "$CC"; then
2507 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2508 $as_echo "$CC" >&6; }
2510 { $as_echo "$as_me:$LINENO: result: no" >&5
2511 $as_echo "no" >&6; }
2516 if test -z "$CC"; then
2517 if test -n "$ac_tool_prefix"; then
2518 for ac_prog in cl.exe
2520 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2521 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2522 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2523 $as_echo_n "checking for $ac_word... " >&6; }
2524 if test "${ac_cv_prog_CC+set}" = set; then
2525 $as_echo_n "(cached) " >&6
2527 if test -n "$CC"; then
2528 ac_cv_prog_CC="$CC" # Let the user override the test.
2530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2534 test -z "$as_dir" && as_dir=.
2535 for ac_exec_ext in '' $ac_executable_extensions; do
2536 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2537 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2538 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2548 if test -n "$CC"; then
2549 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2550 $as_echo "$CC" >&6; }
2552 { $as_echo "$as_me:$LINENO: result: no" >&5
2553 $as_echo "no" >&6; }
2557 test -n "$CC" && break
2560 if test -z "$CC"; then
2562 for ac_prog in cl.exe
2564 # Extract the first word of "$ac_prog", so it can be a program name with args.
2565 set dummy $ac_prog; ac_word=$2
2566 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2567 $as_echo_n "checking for $ac_word... " >&6; }
2568 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2569 $as_echo_n "(cached) " >&6
2571 if test -n "$ac_ct_CC"; then
2572 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2578 test -z "$as_dir" && as_dir=.
2579 for ac_exec_ext in '' $ac_executable_extensions; do
2580 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2581 ac_cv_prog_ac_ct_CC="$ac_prog"
2582 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2591 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2592 if test -n "$ac_ct_CC"; then
2593 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2594 $as_echo "$ac_ct_CC" >&6; }
2596 { $as_echo "$as_me:$LINENO: result: no" >&5
2597 $as_echo "no" >&6; }
2601 test -n "$ac_ct_CC" && break
2604 if test "x$ac_ct_CC" = x; then
2607 case $cross_compiling:$ac_tool_warned in
2609 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2610 whose name does not start with the host triplet. If you think this
2611 configuration is useful to you, please write to autoconf@gnu.org." >&5
2612 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2613 whose name does not start with the host triplet. If you think this
2614 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2615 ac_tool_warned=yes ;;
2624 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2625 See \`config.log' for more details." >&5
2626 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2627 See \`config.log' for more details." >&2;}
2628 { (exit 1); exit 1; }; }
2630 # Provide some information about the compiler.
2631 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2634 { (ac_try="$ac_compiler --version >&5"
2636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2637 *) ac_try_echo=$ac_try;;
2639 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2640 $as_echo "$ac_try_echo") >&5
2641 (eval "$ac_compiler --version >&5") 2>&5
2643 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2644 (exit $ac_status); }
2645 { (ac_try="$ac_compiler -v >&5"
2647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2648 *) ac_try_echo=$ac_try;;
2650 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2651 $as_echo "$ac_try_echo") >&5
2652 (eval "$ac_compiler -v >&5") 2>&5
2654 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2655 (exit $ac_status); }
2656 { (ac_try="$ac_compiler -V >&5"
2658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2659 *) ac_try_echo=$ac_try;;
2661 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2662 $as_echo "$ac_try_echo") >&5
2663 (eval "$ac_compiler -V >&5") 2>&5
2665 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2666 (exit $ac_status); }
2668 cat >conftest.$ac_ext <<_ACEOF
2671 cat confdefs.h >>conftest.$ac_ext
2672 cat >>conftest.$ac_ext <<_ACEOF
2673 /* end confdefs.h. */
2683 ac_clean_files_save=$ac_clean_files
2684 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2685 # Try to create an executable without -o first, disregard a.out.
2686 # It will help us diagnose broken compilers, and finding out an intuition
2688 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2689 $as_echo_n "checking for C compiler default output file name... " >&6; }
2690 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2692 # List of possible output files, starting from the most likely.
2693 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2694 # only as a last resort. b.out is created by i960 compilers.
2695 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2697 # The IRIX 6 linker writes into existing files which may not be
2698 # executable, retaining their permissions. Remove them first so a
2699 # subsequent execution test works.
2701 for ac_file in $ac_files
2704 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2705 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2710 if { (ac_try="$ac_link_default"
2712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2713 *) ac_try_echo=$ac_try;;
2715 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2716 $as_echo "$ac_try_echo") >&5
2717 (eval "$ac_link_default") 2>&5
2719 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2720 (exit $ac_status); }; then
2721 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2722 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2723 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2724 # so that the user can short-circuit this test for compilers unknown to
2726 for ac_file in $ac_files ''
2728 test -f "$ac_file" || continue
2730 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2733 # We found the default executable, but exeext='' is most
2737 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2739 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2741 # We set ac_cv_exeext here because the later test for it is not
2742 # safe: cross compilers may not add the suffix if given an `-o'
2743 # argument, so we may need to know it at that point already.
2744 # Even if this section looks crufty: it has the advantage of
2751 test "$ac_cv_exeext" = no && ac_cv_exeext=
2757 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2758 $as_echo "$ac_file" >&6; }
2759 if test -z "$ac_file"; then
2760 $as_echo "$as_me: failed program was:" >&5
2761 sed 's/^/| /' conftest.$ac_ext >&5
2763 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2764 See \`config.log' for more details." >&5
2765 $as_echo "$as_me: error: C compiler cannot create executables
2766 See \`config.log' for more details." >&2;}
2767 { (exit 77); exit 77; }; }
2770 ac_exeext=$ac_cv_exeext
2772 # Check that the compiler produces executables we can run. If not, either
2773 # the compiler is broken, or we cross compile.
2774 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2775 $as_echo_n "checking whether the C compiler works... " >&6; }
2776 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2777 # If not cross compiling, check that we can run a simple program.
2778 if test "$cross_compiling" != yes; then
2779 if { ac_try='./$ac_file'
2780 { (case "(($ac_try" in
2781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2782 *) ac_try_echo=$ac_try;;
2784 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2785 $as_echo "$ac_try_echo") >&5
2786 (eval "$ac_try") 2>&5
2788 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2789 (exit $ac_status); }; }; then
2792 if test "$cross_compiling" = maybe; then
2795 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2796 If you meant to cross compile, use \`--host'.
2797 See \`config.log' for more details." >&5
2798 $as_echo "$as_me: error: cannot run C compiled programs.
2799 If you meant to cross compile, use \`--host'.
2800 See \`config.log' for more details." >&2;}
2801 { (exit 1); exit 1; }; }
2805 { $as_echo "$as_me:$LINENO: result: yes" >&5
2806 $as_echo "yes" >&6; }
2808 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2809 ac_clean_files=$ac_clean_files_save
2810 # Check that the compiler produces executables we can run. If not, either
2811 # the compiler is broken, or we cross compile.
2812 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2813 $as_echo_n "checking whether we are cross compiling... " >&6; }
2814 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
2815 $as_echo "$cross_compiling" >&6; }
2817 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
2818 $as_echo_n "checking for suffix of executables... " >&6; }
2819 if { (ac_try="$ac_link"
2821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2822 *) ac_try_echo=$ac_try;;
2824 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2825 $as_echo "$ac_try_echo") >&5
2826 (eval "$ac_link") 2>&5
2828 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2829 (exit $ac_status); }; then
2830 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2831 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2832 # work properly (i.e., refer to `conftest.exe'), while it won't with
2834 for ac_file in conftest.exe conftest conftest.*; do
2835 test -f "$ac_file" || continue
2837 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2838 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2844 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2845 See \`config.log' for more details." >&5
2846 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2847 See \`config.log' for more details." >&2;}
2848 { (exit 1); exit 1; }; }
2851 rm -f conftest$ac_cv_exeext
2852 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2853 $as_echo "$ac_cv_exeext" >&6; }
2855 rm -f conftest.$ac_ext
2856 EXEEXT=$ac_cv_exeext
2858 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2859 $as_echo_n "checking for suffix of object files... " >&6; }
2860 if test "${ac_cv_objext+set}" = set; then
2861 $as_echo_n "(cached) " >&6
2863 cat >conftest.$ac_ext <<_ACEOF
2866 cat confdefs.h >>conftest.$ac_ext
2867 cat >>conftest.$ac_ext <<_ACEOF
2868 /* end confdefs.h. */
2878 rm -f conftest.o conftest.obj
2879 if { (ac_try="$ac_compile"
2881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2882 *) ac_try_echo=$ac_try;;
2884 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2885 $as_echo "$ac_try_echo") >&5
2886 (eval "$ac_compile") 2>&5
2888 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2889 (exit $ac_status); }; then
2890 for ac_file in conftest.o conftest.obj conftest.*; do
2891 test -f "$ac_file" || continue;
2893 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2894 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2899 $as_echo "$as_me: failed program was:" >&5
2900 sed 's/^/| /' conftest.$ac_ext >&5
2902 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2903 See \`config.log' for more details." >&5
2904 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2905 See \`config.log' for more details." >&2;}
2906 { (exit 1); exit 1; }; }
2909 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2911 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2912 $as_echo "$ac_cv_objext" >&6; }
2913 OBJEXT=$ac_cv_objext
2915 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2916 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2917 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2918 $as_echo_n "(cached) " >&6
2920 cat >conftest.$ac_ext <<_ACEOF
2923 cat confdefs.h >>conftest.$ac_ext
2924 cat >>conftest.$ac_ext <<_ACEOF
2925 /* end confdefs.h. */
2938 rm -f conftest.$ac_objext
2939 if { (ac_try="$ac_compile"
2941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2942 *) ac_try_echo=$ac_try;;
2944 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2945 $as_echo "$ac_try_echo") >&5
2946 (eval "$ac_compile") 2>conftest.er1
2948 grep -v '^ *+' conftest.er1 >conftest.err
2950 cat conftest.err >&5
2951 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2952 (exit $ac_status); } && {
2953 test -z "$ac_c_werror_flag" ||
2954 test ! -s conftest.err
2955 } && test -s conftest.$ac_objext; then
2958 $as_echo "$as_me: failed program was:" >&5
2959 sed 's/^/| /' conftest.$ac_ext >&5
2964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2965 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2968 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2969 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2970 if test $ac_compiler_gnu = yes; then
2975 ac_test_CFLAGS=${CFLAGS+set}
2976 ac_save_CFLAGS=$CFLAGS
2977 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2978 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2979 if test "${ac_cv_prog_cc_g+set}" = set; then
2980 $as_echo_n "(cached) " >&6
2982 ac_save_c_werror_flag=$ac_c_werror_flag
2983 ac_c_werror_flag=yes
2986 cat >conftest.$ac_ext <<_ACEOF
2989 cat confdefs.h >>conftest.$ac_ext
2990 cat >>conftest.$ac_ext <<_ACEOF
2991 /* end confdefs.h. */
3001 rm -f conftest.$ac_objext
3002 if { (ac_try="$ac_compile"
3004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3005 *) ac_try_echo=$ac_try;;
3007 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3008 $as_echo "$ac_try_echo") >&5
3009 (eval "$ac_compile") 2>conftest.er1
3011 grep -v '^ *+' conftest.er1 >conftest.err
3013 cat conftest.err >&5
3014 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3015 (exit $ac_status); } && {
3016 test -z "$ac_c_werror_flag" ||
3017 test ! -s conftest.err
3018 } && test -s conftest.$ac_objext; then
3021 $as_echo "$as_me: failed program was:" >&5
3022 sed 's/^/| /' conftest.$ac_ext >&5
3025 cat >conftest.$ac_ext <<_ACEOF
3028 cat confdefs.h >>conftest.$ac_ext
3029 cat >>conftest.$ac_ext <<_ACEOF
3030 /* end confdefs.h. */
3040 rm -f conftest.$ac_objext
3041 if { (ac_try="$ac_compile"
3043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3044 *) ac_try_echo=$ac_try;;
3046 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3047 $as_echo "$ac_try_echo") >&5
3048 (eval "$ac_compile") 2>conftest.er1
3050 grep -v '^ *+' conftest.er1 >conftest.err
3052 cat conftest.err >&5
3053 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3054 (exit $ac_status); } && {
3055 test -z "$ac_c_werror_flag" ||
3056 test ! -s conftest.err
3057 } && test -s conftest.$ac_objext; then
3060 $as_echo "$as_me: failed program was:" >&5
3061 sed 's/^/| /' conftest.$ac_ext >&5
3063 ac_c_werror_flag=$ac_save_c_werror_flag
3065 cat >conftest.$ac_ext <<_ACEOF
3068 cat confdefs.h >>conftest.$ac_ext
3069 cat >>conftest.$ac_ext <<_ACEOF
3070 /* end confdefs.h. */
3080 rm -f conftest.$ac_objext
3081 if { (ac_try="$ac_compile"
3083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3084 *) ac_try_echo=$ac_try;;
3086 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3087 $as_echo "$ac_try_echo") >&5
3088 (eval "$ac_compile") 2>conftest.er1
3090 grep -v '^ *+' conftest.er1 >conftest.err
3092 cat conftest.err >&5
3093 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3094 (exit $ac_status); } && {
3095 test -z "$ac_c_werror_flag" ||
3096 test ! -s conftest.err
3097 } && test -s conftest.$ac_objext; then
3100 $as_echo "$as_me: failed program was:" >&5
3101 sed 's/^/| /' conftest.$ac_ext >&5
3106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3113 ac_c_werror_flag=$ac_save_c_werror_flag
3115 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3116 $as_echo "$ac_cv_prog_cc_g" >&6; }
3117 if test "$ac_test_CFLAGS" = set; then
3118 CFLAGS=$ac_save_CFLAGS
3119 elif test $ac_cv_prog_cc_g = yes; then
3120 if test "$GCC" = yes; then
3126 if test "$GCC" = yes; then
3132 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3133 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3134 if test "${ac_cv_prog_cc_c89+set}" = set; then
3135 $as_echo_n "(cached) " >&6
3137 ac_cv_prog_cc_c89=no
3139 cat >conftest.$ac_ext <<_ACEOF
3142 cat confdefs.h >>conftest.$ac_ext
3143 cat >>conftest.$ac_ext <<_ACEOF
3144 /* end confdefs.h. */
3147 #include <sys/types.h>
3148 #include <sys/stat.h>
3149 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3150 struct buf { int x; };
3151 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3152 static char *e (p, i)
3158 static char *f (char * (*g) (char **, int), char **p, ...)
3163 s = g (p, va_arg (v,int));
3168 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3169 function prototypes and stuff, but not '\xHH' hex character constants.
3170 These don't provoke an error unfortunately, instead are silently treated
3171 as 'x'. The following induces an error, until -std is added to get
3172 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3173 array size at least. It's necessary to write '\x00'==0 to get something
3174 that's true only with -std. */
3175 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3177 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3178 inside strings and character constants. */
3180 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3182 int test (int i, double x);
3183 struct s1 {int (*f) (int a);};
3184 struct s2 {int (*f) (double a);};
3185 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3191 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3196 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3197 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3199 CC="$ac_save_CC $ac_arg"
3200 rm -f conftest.$ac_objext
3201 if { (ac_try="$ac_compile"
3203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3204 *) ac_try_echo=$ac_try;;
3206 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3207 $as_echo "$ac_try_echo") >&5
3208 (eval "$ac_compile") 2>conftest.er1
3210 grep -v '^ *+' conftest.er1 >conftest.err
3212 cat conftest.err >&5
3213 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3214 (exit $ac_status); } && {
3215 test -z "$ac_c_werror_flag" ||
3216 test ! -s conftest.err
3217 } && test -s conftest.$ac_objext; then
3218 ac_cv_prog_cc_c89=$ac_arg
3220 $as_echo "$as_me: failed program was:" >&5
3221 sed 's/^/| /' conftest.$ac_ext >&5
3226 rm -f core conftest.err conftest.$ac_objext
3227 test "x$ac_cv_prog_cc_c89" != "xno" && break
3229 rm -f conftest.$ac_ext
3234 case "x$ac_cv_prog_cc_c89" in
3236 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3237 $as_echo "none needed" >&6; } ;;
3239 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3240 $as_echo "unsupported" >&6; } ;;
3242 CC="$CC $ac_cv_prog_cc_c89"
3243 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3244 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3249 ac_cpp='$CPP $CPPFLAGS'
3250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3253 DEPDIR="${am__leading_dot}deps"
3255 ac_config_commands="$ac_config_commands depfiles"
3258 am_make=${MAKE-make}
3259 cat > confinc << 'END'
3264 # If we don't find an include directive, just comment out the code.
3265 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3266 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3270 # First try GNU make style include.
3271 echo "include confinc" > confmf
3272 # We grep out `Entering directory' and `Leaving directory'
3273 # messages which can occur if `w' ends up in MAKEFLAGS.
3274 # In particular we don't look at `^make:' because GNU make might
3275 # be invoked under some other name (usually "gmake"), in which
3276 # case it prints its new name instead of `make'.
3277 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3282 # Now try BSD make style include.
3283 if test "$am__include" = "#"; then
3284 echo '.include "confinc"' > confmf
3285 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3286 am__include=.include
3293 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
3294 $as_echo "$_am_result" >&6; }
3295 rm -f confinc confmf
3297 # Check whether --enable-dependency-tracking was given.
3298 if test "${enable_dependency_tracking+set}" = set; then
3299 enableval=$enable_dependency_tracking;
3302 if test "x$enable_dependency_tracking" != xno; then
3303 am_depcomp="$ac_aux_dir/depcomp"
3306 if test "x$enable_dependency_tracking" != xno; then
3316 depcc="$CC" am_compiler_list=
3318 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3319 $as_echo_n "checking dependency style of $depcc... " >&6; }
3320 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3321 $as_echo_n "(cached) " >&6
3323 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3324 # We make a subdir and do the tests there. Otherwise we can end up
3325 # making bogus files that we don't know about and never remove. For
3326 # instance it was reported that on HP-UX the gcc test will end up
3327 # making a dummy file named `D' -- because `-MD' means `put the output
3330 # Copy depcomp to subdir because otherwise we won't find it if we're
3331 # using a relative directory.
3332 cp "$am_depcomp" conftest.dir
3334 # We will build objects and dependencies in a subdirectory because
3335 # it helps to detect inapplicable dependency modes. For instance
3336 # both Tru64's cc and ICC support -MD to output dependencies as a
3337 # side effect of compilation, but ICC will put the dependencies in
3338 # the current directory while Tru64 will put them in the object
3342 am_cv_CC_dependencies_compiler_type=none
3343 if test "$am_compiler_list" = ""; then
3344 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3346 for depmode in $am_compiler_list; do
3347 # Setup a source with many dependencies, because some compilers
3348 # like to wrap large dependency lists on column 80 (with \), and
3349 # we should not choose a depcomp mode which is confused by this.
3351 # We need to recreate these files for each test, as the compiler may
3352 # overwrite some of them when testing with obscure command lines.
3353 # This happens at least with the AIX C compiler.
3355 for i in 1 2 3 4 5 6; do
3356 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3357 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3358 # Solaris 8's {/usr,}/bin/sh.
3359 touch sub/conftst$i.h
3361 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3365 # after this tag, mechanisms are not by side-effect, so they'll
3366 # only be used when explicitly requested
3367 if test "x$enable_dependency_tracking" = xyes; then
3375 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3376 # mode. It turns out that the SunPro C++ compiler does not properly
3377 # handle `-M -o', and we need to detect this.
3378 if depmode=$depmode \
3379 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3380 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3381 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3382 >/dev/null 2>conftest.err &&
3383 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3384 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3385 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3386 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3387 # icc doesn't choke on unknown options, it will just issue warnings
3388 # or remarks (even with -Werror). So we grep stderr for any message
3389 # that says an option was ignored or not supported.
3390 # When given -MP, icc 7.0 and 7.1 complain thusly:
3391 # icc: Command line warning: ignoring option '-M'; no argument required
3392 # The diagnosis changed in icc 8.0:
3393 # icc: Command line remark: option '-MP' not supported
3394 if (grep 'ignoring option' conftest.err ||
3395 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3396 am_cv_CC_dependencies_compiler_type=$depmode
3405 am_cv_CC_dependencies_compiler_type=none
3409 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3410 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3411 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3414 test "x$enable_dependency_tracking" != xno \
3415 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3417 am__fastdepCC_FALSE='#'
3419 am__fastdepCC_TRUE='#'
3420 am__fastdepCC_FALSE=
3426 ac_cpp='$CPP $CPPFLAGS'
3427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3430 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3431 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3432 # On Suns, sometimes $CPP names a directory.
3433 if test -n "$CPP" && test -d "$CPP"; then
3436 if test -z "$CPP"; then
3437 if test "${ac_cv_prog_CPP+set}" = set; then
3438 $as_echo_n "(cached) " >&6
3440 # Double quotes because CPP needs to be expanded
3441 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3444 for ac_c_preproc_warn_flag in '' yes
3446 # Use a header file that comes with gcc, so configuring glibc
3447 # with a fresh cross-compiler works.
3448 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3449 # <limits.h> exists even on freestanding compilers.
3450 # On the NeXT, cc -E runs the code through the compiler's parser,
3451 # not just through cpp. "Syntax error" is here to catch this case.
3452 cat >conftest.$ac_ext <<_ACEOF
3455 cat confdefs.h >>conftest.$ac_ext
3456 cat >>conftest.$ac_ext <<_ACEOF
3457 /* end confdefs.h. */
3459 # include <limits.h>
3461 # include <assert.h>
3465 if { (ac_try="$ac_cpp conftest.$ac_ext"
3467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3468 *) ac_try_echo=$ac_try;;
3470 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3471 $as_echo "$ac_try_echo") >&5
3472 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3474 grep -v '^ *+' conftest.er1 >conftest.err
3476 cat conftest.err >&5
3477 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3478 (exit $ac_status); } >/dev/null && {
3479 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3480 test ! -s conftest.err
3484 $as_echo "$as_me: failed program was:" >&5
3485 sed 's/^/| /' conftest.$ac_ext >&5
3487 # Broken: fails on valid input.
3491 rm -f conftest.err conftest.$ac_ext
3493 # OK, works on sane cases. Now check whether nonexistent headers
3494 # can be detected and how.
3495 cat >conftest.$ac_ext <<_ACEOF
3498 cat confdefs.h >>conftest.$ac_ext
3499 cat >>conftest.$ac_ext <<_ACEOF
3500 /* end confdefs.h. */
3501 #include <ac_nonexistent.h>
3503 if { (ac_try="$ac_cpp conftest.$ac_ext"
3505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3506 *) ac_try_echo=$ac_try;;
3508 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3509 $as_echo "$ac_try_echo") >&5
3510 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3512 grep -v '^ *+' conftest.er1 >conftest.err
3514 cat conftest.err >&5
3515 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3516 (exit $ac_status); } >/dev/null && {
3517 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3518 test ! -s conftest.err
3520 # Broken: success on invalid input.
3523 $as_echo "$as_me: failed program was:" >&5
3524 sed 's/^/| /' conftest.$ac_ext >&5
3526 # Passes both tests.
3531 rm -f conftest.err conftest.$ac_ext
3534 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3535 rm -f conftest.err conftest.$ac_ext
3536 if $ac_preproc_ok; then
3548 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
3549 $as_echo "$CPP" >&6; }
3551 for ac_c_preproc_warn_flag in '' yes
3553 # Use a header file that comes with gcc, so configuring glibc
3554 # with a fresh cross-compiler works.
3555 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3556 # <limits.h> exists even on freestanding compilers.
3557 # On the NeXT, cc -E runs the code through the compiler's parser,
3558 # not just through cpp. "Syntax error" is here to catch this case.
3559 cat >conftest.$ac_ext <<_ACEOF
3562 cat confdefs.h >>conftest.$ac_ext
3563 cat >>conftest.$ac_ext <<_ACEOF
3564 /* end confdefs.h. */
3566 # include <limits.h>
3568 # include <assert.h>
3572 if { (ac_try="$ac_cpp conftest.$ac_ext"
3574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3575 *) ac_try_echo=$ac_try;;
3577 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3578 $as_echo "$ac_try_echo") >&5
3579 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3581 grep -v '^ *+' conftest.er1 >conftest.err
3583 cat conftest.err >&5
3584 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3585 (exit $ac_status); } >/dev/null && {
3586 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3587 test ! -s conftest.err
3591 $as_echo "$as_me: failed program was:" >&5
3592 sed 's/^/| /' conftest.$ac_ext >&5
3594 # Broken: fails on valid input.
3598 rm -f conftest.err conftest.$ac_ext
3600 # OK, works on sane cases. Now check whether nonexistent headers
3601 # can be detected and how.
3602 cat >conftest.$ac_ext <<_ACEOF
3605 cat confdefs.h >>conftest.$ac_ext
3606 cat >>conftest.$ac_ext <<_ACEOF
3607 /* end confdefs.h. */
3608 #include <ac_nonexistent.h>
3610 if { (ac_try="$ac_cpp conftest.$ac_ext"
3612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3613 *) ac_try_echo=$ac_try;;
3615 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3616 $as_echo "$ac_try_echo") >&5
3617 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3619 grep -v '^ *+' conftest.er1 >conftest.err
3621 cat conftest.err >&5
3622 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3623 (exit $ac_status); } >/dev/null && {
3624 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3625 test ! -s conftest.err
3627 # Broken: success on invalid input.
3630 $as_echo "$as_me: failed program was:" >&5
3631 sed 's/^/| /' conftest.$ac_ext >&5
3633 # Passes both tests.
3638 rm -f conftest.err conftest.$ac_ext
3641 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3642 rm -f conftest.err conftest.$ac_ext
3643 if $ac_preproc_ok; then
3646 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3647 See \`config.log' for more details." >&5
3648 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3649 See \`config.log' for more details." >&2;}
3650 { (exit 1); exit 1; }; }
3654 ac_cpp='$CPP $CPPFLAGS'
3655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3660 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3661 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3662 if test "${ac_cv_path_GREP+set}" = set; then
3663 $as_echo_n "(cached) " >&6
3665 # Extract the first word of "grep ggrep" to use in msg output
3666 if test -z "$GREP"; then
3667 set dummy grep ggrep; ac_prog_name=$2
3668 if test "${ac_cv_path_GREP+set}" = set; then
3669 $as_echo_n "(cached) " >&6
3671 ac_path_GREP_found=false
3672 # Loop through the user's path and test for each of PROGNAME-LIST
3673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3674 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3677 test -z "$as_dir" && as_dir=.
3678 for ac_prog in grep ggrep; do
3679 for ac_exec_ext in '' $ac_executable_extensions; do
3680 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3681 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3682 # Check for GNU ac_path_GREP and select it if it is found.
3683 # Check for GNU $ac_path_GREP
3684 case `"$ac_path_GREP" --version 2>&1` in
3686 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3689 $as_echo_n 0123456789 >"conftest.in"
3692 cat "conftest.in" "conftest.in" >"conftest.tmp"
3693 mv "conftest.tmp" "conftest.in"
3694 cp "conftest.in" "conftest.nl"
3695 $as_echo 'GREP' >> "conftest.nl"
3696 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3697 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3698 ac_count=`expr $ac_count + 1`
3699 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3700 # Best one so far, save it but keep looking for a better one
3701 ac_cv_path_GREP="$ac_path_GREP"
3702 ac_path_GREP_max=$ac_count
3704 # 10*(2^10) chars as input seems more than enough
3705 test $ac_count -gt 10 && break
3707 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3711 $ac_path_GREP_found && break 3
3721 GREP="$ac_cv_path_GREP"
3722 if test -z "$GREP"; then
3723 { { $as_echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3724 $as_echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3725 { (exit 1); exit 1; }; }
3729 ac_cv_path_GREP=$GREP
3734 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3735 $as_echo "$ac_cv_path_GREP" >&6; }
3736 GREP="$ac_cv_path_GREP"
3739 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
3740 $as_echo_n "checking for egrep... " >&6; }
3741 if test "${ac_cv_path_EGREP+set}" = set; then
3742 $as_echo_n "(cached) " >&6
3744 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3745 then ac_cv_path_EGREP="$GREP -E"
3747 # Extract the first word of "egrep" to use in msg output
3748 if test -z "$EGREP"; then
3749 set dummy egrep; ac_prog_name=$2
3750 if test "${ac_cv_path_EGREP+set}" = set; then
3751 $as_echo_n "(cached) " >&6
3753 ac_path_EGREP_found=false
3754 # Loop through the user's path and test for each of PROGNAME-LIST
3755 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3756 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3759 test -z "$as_dir" && as_dir=.
3760 for ac_prog in egrep; do
3761 for ac_exec_ext in '' $ac_executable_extensions; do
3762 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3763 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3764 # Check for GNU ac_path_EGREP and select it if it is found.
3765 # Check for GNU $ac_path_EGREP
3766 case `"$ac_path_EGREP" --version 2>&1` in
3768 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3771 $as_echo_n 0123456789 >"conftest.in"
3774 cat "conftest.in" "conftest.in" >"conftest.tmp"
3775 mv "conftest.tmp" "conftest.in"
3776 cp "conftest.in" "conftest.nl"
3777 $as_echo 'EGREP' >> "conftest.nl"
3778 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3779 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3780 ac_count=`expr $ac_count + 1`
3781 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3782 # Best one so far, save it but keep looking for a better one
3783 ac_cv_path_EGREP="$ac_path_EGREP"
3784 ac_path_EGREP_max=$ac_count
3786 # 10*(2^10) chars as input seems more than enough
3787 test $ac_count -gt 10 && break
3789 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3793 $ac_path_EGREP_found && break 3
3803 EGREP="$ac_cv_path_EGREP"
3804 if test -z "$EGREP"; then
3805 { { $as_echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3806 $as_echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3807 { (exit 1); exit 1; }; }
3811 ac_cv_path_EGREP=$EGREP
3817 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3818 $as_echo "$ac_cv_path_EGREP" >&6; }
3819 EGREP="$ac_cv_path_EGREP"
3822 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3823 $as_echo_n "checking for ANSI C header files... " >&6; }
3824 if test "${ac_cv_header_stdc+set}" = set; then
3825 $as_echo_n "(cached) " >&6
3827 cat >conftest.$ac_ext <<_ACEOF
3830 cat confdefs.h >>conftest.$ac_ext
3831 cat >>conftest.$ac_ext <<_ACEOF
3832 /* end confdefs.h. */
3846 rm -f conftest.$ac_objext
3847 if { (ac_try="$ac_compile"
3849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3850 *) ac_try_echo=$ac_try;;
3852 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3853 $as_echo "$ac_try_echo") >&5
3854 (eval "$ac_compile") 2>conftest.er1
3856 grep -v '^ *+' conftest.er1 >conftest.err
3858 cat conftest.err >&5
3859 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3860 (exit $ac_status); } && {
3861 test -z "$ac_c_werror_flag" ||
3862 test ! -s conftest.err
3863 } && test -s conftest.$ac_objext; then
3864 ac_cv_header_stdc=yes
3866 $as_echo "$as_me: failed program was:" >&5
3867 sed 's/^/| /' conftest.$ac_ext >&5
3869 ac_cv_header_stdc=no
3872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3874 if test $ac_cv_header_stdc = yes; then
3875 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3876 cat >conftest.$ac_ext <<_ACEOF
3879 cat confdefs.h >>conftest.$ac_ext
3880 cat >>conftest.$ac_ext <<_ACEOF
3881 /* end confdefs.h. */
3885 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3886 $EGREP "memchr" >/dev/null 2>&1; then
3889 ac_cv_header_stdc=no
3895 if test $ac_cv_header_stdc = yes; then
3896 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3897 cat >conftest.$ac_ext <<_ACEOF
3900 cat confdefs.h >>conftest.$ac_ext
3901 cat >>conftest.$ac_ext <<_ACEOF
3902 /* end confdefs.h. */
3906 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3907 $EGREP "free" >/dev/null 2>&1; then
3910 ac_cv_header_stdc=no
3916 if test $ac_cv_header_stdc = yes; then
3917 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3918 if test "$cross_compiling" = yes; then
3921 cat >conftest.$ac_ext <<_ACEOF
3924 cat confdefs.h >>conftest.$ac_ext
3925 cat >>conftest.$ac_ext <<_ACEOF
3926 /* end confdefs.h. */
3929 #if ((' ' & 0x0FF) == 0x020)
3930 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3931 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3933 # define ISLOWER(c) \
3934 (('a' <= (c) && (c) <= 'i') \
3935 || ('j' <= (c) && (c) <= 'r') \
3936 || ('s' <= (c) && (c) <= 'z'))
3937 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3940 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3945 for (i = 0; i < 256; i++)
3946 if (XOR (islower (i), ISLOWER (i))
3947 || toupper (i) != TOUPPER (i))
3952 rm -f conftest$ac_exeext
3953 if { (ac_try="$ac_link"
3955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3956 *) ac_try_echo=$ac_try;;
3958 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3959 $as_echo "$ac_try_echo") >&5
3960 (eval "$ac_link") 2>&5
3962 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3963 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3964 { (case "(($ac_try" in
3965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3966 *) ac_try_echo=$ac_try;;
3968 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3969 $as_echo "$ac_try_echo") >&5
3970 (eval "$ac_try") 2>&5
3972 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3973 (exit $ac_status); }; }; then
3976 $as_echo "$as_me: program exited with status $ac_status" >&5
3977 $as_echo "$as_me: failed program was:" >&5
3978 sed 's/^/| /' conftest.$ac_ext >&5
3981 ac_cv_header_stdc=no
3983 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3989 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3990 $as_echo "$ac_cv_header_stdc" >&6; }
3991 if test $ac_cv_header_stdc = yes; then
3993 cat >>confdefs.h <<\_ACEOF
3994 #define STDC_HEADERS 1
4002 # Check whether --enable-xspf was given.
4003 if test "${enable_xspf+set}" = set; then
4004 enableval=$enable_xspf;
4005 FAPG_XSPF=$enableval
4014 if test "${FAPG_XSPF}" = "1"; then
4015 { $as_echo "$as_me:$LINENO: XSPF support enabled (configure with --disable-xspf to disable)" >&5
4016 $as_echo "$as_me: XSPF support enabled (configure with --disable-xspf to disable)" >&6;}
4018 { $as_echo "$as_me:$LINENO: XSPF support disabled" >&5
4019 $as_echo "$as_me: XSPF support disabled" >&6;}
4025 # Check whether --with-uriparser was given.
4026 if test "${with_uriparser+set}" = set; then
4027 withval=$with_uriparser;
4028 if test "x${withval}" = "x"; then
4029 { { $as_echo "$as_me:$LINENO: error: No path given for option --with-uriparser" >&5
4030 $as_echo "$as_me: error: No path given for option --with-uriparser" >&2;}
4031 { (exit 1); exit 1; }; }
4033 LDFLAGS="-L${withval}/lib ${LDFLAGS}"
4034 CPPFLAGS="-I${withval}/include ${CPPFLAGS}"
4040 # Check whether --with-uriparser-inc was given.
4041 if test "${with_uriparser_inc+set}" = set; then
4042 withval=$with_uriparser_inc;
4043 if test "x${withval}" = "x"; then
4044 { { $as_echo "$as_me:$LINENO: error: No path given for option --with-uriparser-inc" >&5
4045 $as_echo "$as_me: error: No path given for option --with-uriparser-inc" >&2;}
4046 { (exit 1); exit 1; }; }
4048 CPPFLAGS="-I${withval} ${CPPFLAGS}"
4054 # Check whether --with-uriparser-lib was given.
4055 if test "${with_uriparser_lib+set}" = set; then
4056 withval=$with_uriparser_lib;
4057 if test "x${withval}" = "x"; then
4058 { { $as_echo "$as_me:$LINENO: error: No path given for option --with-uriparser-lib" >&5
4059 $as_echo "$as_me: error: No path given for option --with-uriparser-lib" >&2;}
4060 { (exit 1); exit 1; }; }
4062 LDFLAGS="-L${withval} ${LDFLAGS}"
4069 if test "${FAPG_XSPF}" = "1"; then
4070 URIPARSER_MISSING="Please install uriparser 0.6.3 or later.
4071 On a Debian-based system enter 'sudo apt-get install liburiparser-dev'."
4073 { $as_echo "$as_me:$LINENO: checking for uriParseUriA in -luriparser" >&5
4074 $as_echo_n "checking for uriParseUriA in -luriparser... " >&6; }
4075 if test "${ac_cv_lib_uriparser_uriParseUriA+set}" = set; then
4076 $as_echo_n "(cached) " >&6
4078 ac_check_lib_save_LIBS=$LIBS
4079 LIBS="-luriparser $LIBS"
4080 cat >conftest.$ac_ext <<_ACEOF
4083 cat confdefs.h >>conftest.$ac_ext
4084 cat >>conftest.$ac_ext <<_ACEOF
4085 /* end confdefs.h. */
4087 /* Override any GCC internal prototype to avoid an error.
4088 Use char because int might match the return type of a GCC
4089 builtin and then its argument prototype would still apply. */
4093 char uriParseUriA ();
4097 return uriParseUriA ();
4102 rm -f conftest.$ac_objext conftest$ac_exeext
4103 if { (ac_try="$ac_link"
4105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4106 *) ac_try_echo=$ac_try;;
4108 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4109 $as_echo "$ac_try_echo") >&5
4110 (eval "$ac_link") 2>conftest.er1
4112 grep -v '^ *+' conftest.er1 >conftest.err
4114 cat conftest.err >&5
4115 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4116 (exit $ac_status); } && {
4117 test -z "$ac_c_werror_flag" ||
4118 test ! -s conftest.err
4119 } && test -s conftest$ac_exeext &&
4120 $as_test_x conftest$ac_exeext; then
4121 ac_cv_lib_uriparser_uriParseUriA=yes
4123 $as_echo "$as_me: failed program was:" >&5
4124 sed 's/^/| /' conftest.$ac_ext >&5
4126 ac_cv_lib_uriparser_uriParseUriA=no
4129 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4130 conftest$ac_exeext conftest.$ac_ext
4131 LIBS=$ac_check_lib_save_LIBS
4133 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_uriparser_uriParseUriA" >&5
4134 $as_echo "$ac_cv_lib_uriparser_uriParseUriA" >&6; }
4135 if test $ac_cv_lib_uriparser_uriParseUriA = yes; then
4136 cat >>confdefs.h <<_ACEOF
4137 #define HAVE_LIBURIPARSER 1
4140 LIBS="-luriparser $LIBS"
4143 { { $as_echo "$as_me:$LINENO: error: ${URIPARSER_MISSING}" >&5
4144 $as_echo "$as_me: error: ${URIPARSER_MISSING}" >&2;}
4145 { (exit 1); exit 1; }; }
4148 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4158 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4159 inttypes.h stdint.h unistd.h
4161 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4162 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4163 $as_echo_n "checking for $ac_header... " >&6; }
4164 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4165 $as_echo_n "(cached) " >&6
4167 cat >conftest.$ac_ext <<_ACEOF
4170 cat confdefs.h >>conftest.$ac_ext
4171 cat >>conftest.$ac_ext <<_ACEOF
4172 /* end confdefs.h. */
4173 $ac_includes_default
4175 #include <$ac_header>
4177 rm -f conftest.$ac_objext
4178 if { (ac_try="$ac_compile"
4180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4181 *) ac_try_echo=$ac_try;;
4183 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4184 $as_echo "$ac_try_echo") >&5
4185 (eval "$ac_compile") 2>conftest.er1
4187 grep -v '^ *+' conftest.er1 >conftest.err
4189 cat conftest.err >&5
4190 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4191 (exit $ac_status); } && {
4192 test -z "$ac_c_werror_flag" ||
4193 test ! -s conftest.err
4194 } && test -s conftest.$ac_objext; then
4195 eval "$as_ac_Header=yes"
4197 $as_echo "$as_me: failed program was:" >&5
4198 sed 's/^/| /' conftest.$ac_ext >&5
4200 eval "$as_ac_Header=no"
4203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4205 ac_res=`eval 'as_val=${'$as_ac_Header'}
4206 $as_echo "$as_val"'`
4207 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4208 $as_echo "$ac_res" >&6; }
4209 if test `eval 'as_val=${'$as_ac_Header'}
4210 $as_echo "$as_val"'` = yes; then
4211 cat >>confdefs.h <<_ACEOF
4212 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4220 if test "${ac_cv_header_uriparser_Uri_h+set}" = set; then
4221 { $as_echo "$as_me:$LINENO: checking for uriparser/Uri.h" >&5
4222 $as_echo_n "checking for uriparser/Uri.h... " >&6; }
4223 if test "${ac_cv_header_uriparser_Uri_h+set}" = set; then
4224 $as_echo_n "(cached) " >&6
4226 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_uriparser_Uri_h" >&5
4227 $as_echo "$ac_cv_header_uriparser_Uri_h" >&6; }
4229 # Is the header compilable?
4230 { $as_echo "$as_me:$LINENO: checking uriparser/Uri.h usability" >&5
4231 $as_echo_n "checking uriparser/Uri.h usability... " >&6; }
4232 cat >conftest.$ac_ext <<_ACEOF
4235 cat confdefs.h >>conftest.$ac_ext
4236 cat >>conftest.$ac_ext <<_ACEOF
4237 /* end confdefs.h. */
4238 $ac_includes_default
4239 #include <uriparser/Uri.h>
4241 rm -f conftest.$ac_objext
4242 if { (ac_try="$ac_compile"
4244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4245 *) ac_try_echo=$ac_try;;
4247 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4248 $as_echo "$ac_try_echo") >&5
4249 (eval "$ac_compile") 2>conftest.er1
4251 grep -v '^ *+' conftest.er1 >conftest.err
4253 cat conftest.err >&5
4254 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4255 (exit $ac_status); } && {
4256 test -z "$ac_c_werror_flag" ||
4257 test ! -s conftest.err
4258 } && test -s conftest.$ac_objext; then
4259 ac_header_compiler=yes
4261 $as_echo "$as_me: failed program was:" >&5
4262 sed 's/^/| /' conftest.$ac_ext >&5
4264 ac_header_compiler=no
4267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4268 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4269 $as_echo "$ac_header_compiler" >&6; }
4271 # Is the header present?
4272 { $as_echo "$as_me:$LINENO: checking uriparser/Uri.h presence" >&5
4273 $as_echo_n "checking uriparser/Uri.h presence... " >&6; }
4274 cat >conftest.$ac_ext <<_ACEOF
4277 cat confdefs.h >>conftest.$ac_ext
4278 cat >>conftest.$ac_ext <<_ACEOF
4279 /* end confdefs.h. */
4280 #include <uriparser/Uri.h>
4282 if { (ac_try="$ac_cpp conftest.$ac_ext"
4284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4285 *) ac_try_echo=$ac_try;;
4287 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4288 $as_echo "$ac_try_echo") >&5
4289 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4291 grep -v '^ *+' conftest.er1 >conftest.err
4293 cat conftest.err >&5
4294 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4295 (exit $ac_status); } >/dev/null && {
4296 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4297 test ! -s conftest.err
4299 ac_header_preproc=yes
4301 $as_echo "$as_me: failed program was:" >&5
4302 sed 's/^/| /' conftest.$ac_ext >&5
4304 ac_header_preproc=no
4307 rm -f conftest.err conftest.$ac_ext
4308 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4309 $as_echo "$ac_header_preproc" >&6; }
4311 # So? What about this header?
4312 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4314 { $as_echo "$as_me:$LINENO: WARNING: uriparser/Uri.h: accepted by the compiler, rejected by the preprocessor!" >&5
4315 $as_echo "$as_me: WARNING: uriparser/Uri.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4316 { $as_echo "$as_me:$LINENO: WARNING: uriparser/Uri.h: proceeding with the compiler's result" >&5
4317 $as_echo "$as_me: WARNING: uriparser/Uri.h: proceeding with the compiler's result" >&2;}
4318 ac_header_preproc=yes
4321 { $as_echo "$as_me:$LINENO: WARNING: uriparser/Uri.h: present but cannot be compiled" >&5
4322 $as_echo "$as_me: WARNING: uriparser/Uri.h: present but cannot be compiled" >&2;}
4323 { $as_echo "$as_me:$LINENO: WARNING: uriparser/Uri.h: check for missing prerequisite headers?" >&5
4324 $as_echo "$as_me: WARNING: uriparser/Uri.h: check for missing prerequisite headers?" >&2;}
4325 { $as_echo "$as_me:$LINENO: WARNING: uriparser/Uri.h: see the Autoconf documentation" >&5
4326 $as_echo "$as_me: WARNING: uriparser/Uri.h: see the Autoconf documentation" >&2;}
4327 { $as_echo "$as_me:$LINENO: WARNING: uriparser/Uri.h: section \"Present But Cannot Be Compiled\"" >&5
4328 $as_echo "$as_me: WARNING: uriparser/Uri.h: section \"Present But Cannot Be Compiled\"" >&2;}
4329 { $as_echo "$as_me:$LINENO: WARNING: uriparser/Uri.h: proceeding with the preprocessor's result" >&5
4330 $as_echo "$as_me: WARNING: uriparser/Uri.h: proceeding with the preprocessor's result" >&2;}
4331 { $as_echo "$as_me:$LINENO: WARNING: uriparser/Uri.h: in the future, the compiler will take precedence" >&5
4332 $as_echo "$as_me: WARNING: uriparser/Uri.h: in the future, the compiler will take precedence" >&2;}
4336 { $as_echo "$as_me:$LINENO: checking for uriparser/Uri.h" >&5
4337 $as_echo_n "checking for uriparser/Uri.h... " >&6; }
4338 if test "${ac_cv_header_uriparser_Uri_h+set}" = set; then
4339 $as_echo_n "(cached) " >&6
4341 ac_cv_header_uriparser_Uri_h=$ac_header_preproc
4343 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_uriparser_Uri_h" >&5
4344 $as_echo "$ac_cv_header_uriparser_Uri_h" >&6; }
4347 if test $ac_cv_header_uriparser_Uri_h = yes; then
4350 { { $as_echo "$as_me:$LINENO: error: ${URIPARSER_MISSING}" >&5
4351 $as_echo "$as_me: error: ${URIPARSER_MISSING}" >&2;}
4352 { (exit 1); exit 1; }; }
4357 URIPARSER_TOO_OLD="uriparser 0.6.3 or later is required, your copy is too old."
4358 cat >conftest.$ac_ext <<_ACEOF
4360 #include <uriparser/Uri.h>
4361 #if (defined(URI_VER_MAJOR) && defined(URI_VER_MINOR) && defined(URI_VER_RELEASE) \
4362 && ((URI_VER_MAJOR > 0) \
4363 || ((URI_VER_MAJOR == 0) && (URI_VER_MINOR > 6)) \
4364 || ((URI_VER_MAJOR == 0) && (URI_VER_MINOR == 6) && (URI_VER_RELEASE >= 3)) \
4368 # error uriparser not recent enough
4372 rm -f conftest.$ac_objext
4373 if { (ac_try="$ac_compile"
4375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4376 *) ac_try_echo=$ac_try;;
4378 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4379 $as_echo "$ac_try_echo") >&5
4380 (eval "$ac_compile") 2>conftest.er1
4382 grep -v '^ *+' conftest.er1 >conftest.err
4384 cat conftest.err >&5
4385 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4386 (exit $ac_status); } && {
4387 test -z "$ac_c_werror_flag" ||
4388 test ! -s conftest.err
4389 } && test -s conftest.$ac_objext; then
4392 $as_echo "$as_me: failed program was:" >&5
4393 sed 's/^/| /' conftest.$ac_ext >&5
4395 { { $as_echo "$as_me:$LINENO: error: ${URIPARSER_TOO_OLD}" >&5
4396 $as_echo "$as_me: error: ${URIPARSER_TOO_OLD}" >&2;}
4397 { (exit 1); exit 1; }; }
4400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4404 ac_config_files="$ac_config_files Makefile"
4406 cat >confcache <<\_ACEOF
4407 # This file is a shell script that caches the results of configure
4408 # tests run on this system so they can be shared between configure
4409 # scripts and configure runs, see configure's option --config-cache.
4410 # It is not useful on other systems. If it contains results you don't
4411 # want to keep, you may remove or edit it.
4413 # config.status only pays attention to the cache file if you give it
4414 # the --recheck option to rerun configure.
4416 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4417 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4422 # The following way of writing the cache mishandles newlines in values,
4423 # but we know of no workaround that is simple, portable, and efficient.
4424 # So, we kill variables containing newlines.
4425 # Ultrix sh set writes to stderr and can't be redirected directly,
4426 # and sets the high bit in the cache file unless we assign to the vars.
4428 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4429 eval ac_val=\$$ac_var
4433 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
4434 $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
4437 _ | IFS | as_nl) ;; #(
4438 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4439 *) $as_unset $ac_var ;;
4445 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4446 *${as_nl}ac_space=\ *)
4447 # `set' does not quote correctly, so add quotes (double-quote
4448 # substitution turns \\\\ into \\, and sed turns \\ into \).
4451 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4454 # `set' quotes correctly as required by POSIX, so do not add quotes.
4455 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4464 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4466 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4468 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4469 if test -w "$cache_file"; then
4470 test "x$cache_file" != "x/dev/null" &&
4471 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
4472 $as_echo "$as_me: updating cache $cache_file" >&6;}
4473 cat confcache >$cache_file
4475 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
4476 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4481 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4482 # Let make expand exec_prefix.
4483 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4485 # Transform confdefs.h into DEFS.
4486 # Protect against shell expansion while executing Makefile rules.
4487 # Protect against Makefile macro expansion.
4489 # If the first sed substitution is executed (which looks for macros that
4490 # take arguments), then branch to the quote section. Otherwise,
4491 # look for a macro that doesn't take arguments.
4495 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
4497 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
4501 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
4514 DEFS=`sed -n "$ac_script" confdefs.h`
4519 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4520 # 1. Remove the extension, and $U if already installed.
4521 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4522 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4523 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4524 # will be set to the directory where LIBOBJS objects are built.
4525 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4526 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
4530 LTLIBOBJS=$ac_ltlibobjs
4533 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4534 { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
4535 Usually this means the macro was only invoked conditionally." >&5
4536 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
4537 Usually this means the macro was only invoked conditionally." >&2;}
4538 { (exit 1); exit 1; }; }
4540 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4541 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
4542 Usually this means the macro was only invoked conditionally." >&5
4543 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
4544 Usually this means the macro was only invoked conditionally." >&2;}
4545 { (exit 1); exit 1; }; }
4548 : ${CONFIG_STATUS=./config.status}
4549 ac_clean_files_save=$ac_clean_files
4550 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4551 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4552 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4553 cat >$CONFIG_STATUS <<_ACEOF
4555 # Generated by $as_me.
4556 # Run this file to recreate the current configuration.
4557 # Compiler output produced by configure, useful for debugging
4558 # configure, is in config.log if it exists.
4563 SHELL=\${CONFIG_SHELL-$SHELL}
4566 cat >>$CONFIG_STATUS <<\_ACEOF
4567 ## --------------------- ##
4568 ## M4sh Initialization. ##
4569 ## --------------------- ##
4571 # Be more Bourne compatible
4572 DUALCASE=1; export DUALCASE # for MKS sh
4573 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
4576 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
4577 # is contrary to our usage. Disable this feature.
4578 alias -g '${1+"$@"}'='"$@"'
4579 setopt NO_GLOB_SUBST
4581 case `(set -o) 2>/dev/null` in
4582 *posix*) set -o posix ;;
4591 # Avoid depending upon Character Ranges.
4592 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4593 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4594 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4595 as_cr_digits='0123456789'
4596 as_cr_alnum=$as_cr_Letters$as_cr_digits
4601 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4602 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4603 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4604 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4605 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4606 as_echo='printf %s\n'
4607 as_echo_n='printf %s'
4609 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4610 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4611 as_echo_n='/usr/ucb/echo -n'
4613 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4614 as_echo_n_body='eval
4618 expr "X$arg" : "X\\(.*\\)$as_nl";
4619 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4621 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4623 export as_echo_n_body
4624 as_echo_n='sh -c $as_echo_n_body as_echo'
4627 as_echo='sh -c $as_echo_body as_echo'
4630 # The user is always right.
4631 if test "${PATH_SEPARATOR+set}" != set; then
4632 echo "#! /bin/sh" >conf$$.sh
4633 echo "exit 0" >>conf$$.sh
4635 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4643 # Support unset when possible.
4644 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4652 # We need space, tab and new line, in precisely that order. Quoting is
4653 # there to prevent editors from complaining about space-tab.
4654 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4655 # splitting by setting IFS to empty value.)
4658 # Find who we are. Look in the path if we contain no directory separator.
4660 *[\\/]* ) as_myself=$0 ;;
4661 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4665 test -z "$as_dir" && as_dir=.
4666 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4672 # We did not find ourselves, most probably we were run as `sh COMMAND'
4673 # in which case we are not to be found in the path.
4674 if test "x$as_myself" = x; then
4677 if test ! -f "$as_myself"; then
4678 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4679 { (exit 1); exit 1; }
4682 # Work around bugs in pre-3.0 UWIN ksh.
4683 for as_var in ENV MAIL MAILPATH
4684 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
4692 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
4693 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
4694 LC_TELEPHONE LC_TIME
4696 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
4697 eval $as_var=C; export $as_var
4699 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
4703 # Required to use basename.
4704 if expr a : '\(a\)' >/dev/null 2>&1 &&
4705 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4711 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4712 as_basename=basename
4718 # Name of the executable.
4719 as_me=`$as_basename -- "$0" ||
4720 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4721 X"$0" : 'X\(//\)$' \| \
4722 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4724 sed '/^.*\/\([^/][^/]*\)\/*$/{
4745 test "x$as_lineno_1" != "x$as_lineno_2" &&
4746 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
4748 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4749 # uniformly replaced by the line number. The first 'sed' inserts a
4750 # line-number line after each line using $LINENO; the second 'sed'
4751 # does the real work. The second script uses 'N' to pair each
4752 # line-number line with the line containing $LINENO, and appends
4753 # trailing '-' during substitution so that $LINENO is not a special
4755 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4756 # scripts with optimization help from Paolo Bonzini. Blame Lee
4757 # E. McMahon (1931-1989) for sed's syntax. :-)
4769 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
4773 chmod +x "$as_me.lineno" ||
4774 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
4775 { (exit 1); exit 1; }; }
4777 # Don't try to exec as it changes $[0], causing all sort of problems
4778 # (the dirname of $[0] is not the place where we might find the
4779 # original and so on. Autoconf is especially sensitive to this).
4781 # Exit status is that of the last command.
4786 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4792 ECHO_C= ECHO_N= ECHO_T=
4795 case `echo 'x\c'` in
4796 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4802 if expr a : '\(a\)' >/dev/null 2>&1 &&
4803 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4809 rm -f conf$$ conf$$.exe conf$$.file
4810 if test -d conf$$.dir; then
4811 rm -f conf$$.dir/conf$$.file
4817 if ln -s conf$$.file conf$$ 2>/dev/null; then
4819 # ... but there are two gotchas:
4820 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4821 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4822 # In both cases, we have to default to `cp -p'.
4823 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4825 elif ln conf$$.file conf$$ 2>/dev/null; then
4830 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4831 rmdir conf$$.dir 2>/dev/null
4833 if mkdir -p . 2>/dev/null; then
4836 test -d ./-p && rmdir ./-p
4840 if test -x / >/dev/null 2>&1; then
4843 if ls -dL / >/dev/null 2>&1; then
4850 if test -d "$1"; then
4856 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
4857 ???[sx]*):;;*)false;;esac;fi
4861 as_executable_p=$as_test_x
4863 # Sed expression to map a string onto a valid CPP name.
4864 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4866 # Sed expression to map a string onto a valid variable name.
4867 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4872 # Save the log message, to keep $[0] and so on meaningful, and to
4873 # report actual input values of CONFIG_FILES etc. instead of their
4874 # values after options handling.
4876 This file was extended by $as_me, which was
4877 generated by GNU Autoconf 2.61a. Invocation command line was
4879 CONFIG_FILES = $CONFIG_FILES
4880 CONFIG_HEADERS = $CONFIG_HEADERS
4881 CONFIG_LINKS = $CONFIG_LINKS
4882 CONFIG_COMMANDS = $CONFIG_COMMANDS
4885 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4890 cat >>$CONFIG_STATUS <<_ACEOF
4891 # Files that config.status was made for.
4892 config_files="$ac_config_files"
4893 config_commands="$ac_config_commands"
4897 cat >>$CONFIG_STATUS <<\_ACEOF
4899 \`$as_me' instantiates files from templates according to the
4900 current configuration.
4902 Usage: $0 [OPTIONS] [FILE]...
4904 -h, --help print this help, then exit
4905 -V, --version print version number and configuration settings, then exit
4906 -q, --quiet do not print progress messages
4907 -d, --debug don't remove temporary files
4908 --recheck update $as_me by reconfiguring in the same conditions
4909 --file=FILE[:TEMPLATE]
4910 instantiate the configuration file FILE
4912 Configuration files:
4915 Configuration commands:
4918 Report bugs to <bug-autoconf@gnu.org>."
4921 cat >>$CONFIG_STATUS <<_ACEOF
4924 configured by $0, generated by GNU Autoconf 2.61a,
4925 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
4927 Copyright (C) 2006 Free Software Foundation, Inc.
4928 This config.status script is free software; the Free Software Foundation
4929 gives unlimited permission to copy, distribute and modify it."
4936 test -n "\$AWK" || AWK=awk
4939 cat >>$CONFIG_STATUS <<\_ACEOF
4940 # If no file are specified by the user, then we need to provide default
4941 # value. By we need to know if files were specified by the user.
4947 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4948 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4959 # Handling of the options.
4960 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4962 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4963 $as_echo "$ac_cs_version"; exit ;;
4964 --debug | --debu | --deb | --de | --d | -d )
4966 --file | --fil | --fi | --f )
4968 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
4969 ac_need_defaults=false;;
4970 --he | --h | --help | --hel | -h )
4971 $as_echo "$ac_cs_usage"; exit ;;
4972 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4973 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4977 -*) { $as_echo "$as_me: error: unrecognized option: $1
4978 Try \`$0 --help' for more information." >&2
4979 { (exit 1); exit 1; }; } ;;
4981 *) ac_config_targets="$ac_config_targets $1"
4982 ac_need_defaults=false ;;
4988 ac_configure_extra_args=
4990 if $ac_cs_silent; then
4992 ac_configure_extra_args="$ac_configure_extra_args --silent"
4996 cat >>$CONFIG_STATUS <<_ACEOF
4997 if \$ac_cs_recheck; then
4998 set X '$SHELL' '$0'$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5000 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5001 CONFIG_SHELL='$SHELL'
5007 cat >>$CONFIG_STATUS <<\_ACEOF
5011 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5012 ## Running $as_me. ##
5018 cat >>$CONFIG_STATUS <<_ACEOF
5022 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5026 cat >>$CONFIG_STATUS <<\_ACEOF
5028 # Handling of arguments.
5029 for ac_config_target in $ac_config_targets
5031 case $ac_config_target in
5032 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5033 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5035 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5036 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5037 { (exit 1); exit 1; }; };;
5042 # If the user did not use the arguments to specify the items to instantiate,
5043 # then the envvar interface is used. Set only those that are not.
5044 # We use the long form for the default assignment because of an extremely
5045 # bizarre bug on SunOS 4.1.3.
5046 if $ac_need_defaults; then
5047 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5048 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5051 # Have a temporary directory for convenience. Make it in the build tree
5052 # simply because there is no reason against having it here, and in addition,
5053 # creating and moving files from /tmp can sometimes cause problems.
5054 # Hook for its removal unless debugging.
5055 # Note that there is a small window in which the directory will not be cleaned:
5056 # after its creation but before its name has been assigned to `$tmp'.
5060 trap 'exit_status=$?
5061 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5063 trap '{ (exit 1); exit 1; }' 1 2 13 15
5065 # Create a (secure) tmp directory for tmp files.
5068 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5069 test -n "$tmp" && test -d "$tmp"
5072 tmp=./conf$$-$RANDOM
5073 (umask 077 && mkdir "$tmp")
5076 $as_echo "$me: cannot create a temporary directory in ." >&2
5077 { (exit 1); exit 1; }
5080 # Set up the scripts for CONFIG_FILES section.
5081 # No need to generate them if there are no CONFIG_FILES.
5082 # This happens for instance with `./config.status config.h'.
5083 if test -n "$CONFIG_FILES"; then
5086 echo 'BEGIN {' >"$tmp/subs.awk"
5091 echo "cat >conf$$subs.awk <<_ACEOF"
5092 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/'
5095 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
5097 for ac_last_try in false false false false false :; do
5100 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` = $ac_delim_num; then
5102 elif $ac_last_try; then
5103 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5104 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5105 { (exit 1); exit 1; }; }
5107 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5112 cat >>$CONFIG_STATUS <<_ACEOF
5113 cat >>"\$tmp/subs.awk" <<\CEOF
5117 s/^/S["/; s/!.*/"]=/
5127 s/\(.\{148\}\).*/\1/
5129 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5134 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5141 s/\(.\{148\}\).*/\1/
5143 s/["\\]/\\&/g; s/^/"/; s/$/"/
5147 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5152 ' <conf$$subs.awk | sed '
5158 rm -f conf$$subs.awk
5159 cat >>$CONFIG_STATUS <<_ACEOF
5161 cat >>"\$tmp/subs.awk" <<CEOF
5162 for (key in S) S_is_set[key] = 1
5168 nfields = split(line, field, "@")
5170 len = length(field[1])
5171 for (i = 2; i < nfields; i++) {
5173 keylen = length(key)
5174 if (S_is_set[key]) {
5176 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5177 len += length(value) + length(field[++i])
5189 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5190 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5191 # trailing colons and then remove the whole line if VPATH becomes empty
5192 # (actually we leave an empty line to preserve line numbers).
5193 if test "x$srcdir" = x.; then
5194 ac_vpsub='/^[ ]*VPATH[ ]*=/{
5198 s/^\([^=]*=[ ]*\):*/\1/
5204 cat >>$CONFIG_STATUS <<\_ACEOF
5205 fi # test -n "$CONFIG_FILES"
5208 for ac_tag in :F $CONFIG_FILES :C $CONFIG_COMMANDS
5211 :[FHLC]) ac_mode=$ac_tag; continue;;
5213 case $ac_mode$ac_tag in
5215 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
5216 $as_echo "$as_me: error: Invalid tag $ac_tag." >&2;}
5217 { (exit 1); exit 1; }; };;
5218 :[FH]-) ac_tag=-:-;;
5219 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5236 -) ac_f="$tmp/stdin";;
5237 *) # Look for the file first in the build tree, then in the source tree
5238 # (if the path is not absolute). The absolute path cannot be DOS-style,
5239 # because $ac_f cannot contain `:'.
5243 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5245 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
5246 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
5247 { (exit 1); exit 1; }; };;
5249 ac_file_inputs="$ac_file_inputs $ac_f"
5252 # Let's still pretend it is `configure' which instantiates (i.e., don't
5253 # use $as_me), people would be surprised to read:
5254 # /* config.h. Generated by config.status. */
5255 configure_input='Generated from '`
5256 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5258 if test x"$ac_file" != x-; then
5259 configure_input="$ac_file. $configure_input"
5260 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
5261 $as_echo "$as_me: creating $ac_file" >&6;}
5265 *:-:* | *:-) cat >"$tmp/stdin";;
5270 ac_dir=`$as_dirname -- "$ac_file" ||
5271 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5272 X"$ac_file" : 'X\(//\)[^/]' \| \
5273 X"$ac_file" : 'X\(//\)$' \| \
5274 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5275 $as_echo X"$ac_file" |
5276 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5295 -*) as_dir=./$as_dir;;
5297 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
5301 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
5302 *) as_qdir=$as_dir;;
5304 as_dirs="'$as_qdir' $as_dirs"
5305 as_dir=`$as_dirname -- "$as_dir" ||
5306 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5307 X"$as_dir" : 'X\(//\)[^/]' \| \
5308 X"$as_dir" : 'X\(//\)$' \| \
5309 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5310 $as_echo X"$as_dir" |
5311 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5328 test -d "$as_dir" && break
5330 test -z "$as_dirs" || eval "mkdir $as_dirs"
5331 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
5332 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
5333 { (exit 1); exit 1; }; }; }
5337 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5339 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's,^\.[\\/],,'`
5340 # A ".." for each directory in $ac_dir_suffix.
5341 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
5342 case $ac_top_builddir_sub in
5343 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5344 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5347 ac_abs_top_builddir=$ac_pwd
5348 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5349 # for backward compatibility:
5350 ac_top_builddir=$ac_top_build_prefix
5353 .) # We are building in place.
5355 ac_top_srcdir=$ac_top_builddir_sub
5356 ac_abs_top_srcdir=$ac_pwd ;;
5357 [\\/]* | ?:[\\/]* ) # Absolute name.
5358 ac_srcdir=$srcdir$ac_dir_suffix;
5359 ac_top_srcdir=$srcdir
5360 ac_abs_top_srcdir=$srcdir ;;
5362 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5363 ac_top_srcdir=$ac_top_build_prefix$srcdir
5364 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5366 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5376 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5377 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5381 [\\/$]* | ?:[\\/]* ) ;;
5382 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
5386 cat >>$CONFIG_STATUS <<\_ACEOF
5387 # If the template does not know about datarootdir, expand it.
5388 # FIXME: This hack should be removed a few years after 2.60.
5389 ac_datarootdir_hack=; ac_datarootdir_seen=
5391 case `sed -n '/datarootdir/ {
5400 ' $ac_file_inputs` in
5401 *datarootdir*) ac_datarootdir_seen=yes;;
5402 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5403 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5404 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5406 cat >>$CONFIG_STATUS <<_ACEOF
5407 ac_datarootdir_hack='
5408 s&@datadir@&$datadir&g
5409 s&@docdir@&$docdir&g
5410 s&@infodir@&$infodir&g
5411 s&@localedir@&$localedir&g
5412 s&@mandir@&$mandir&g
5413 s&\\\${datarootdir}&$datarootdir&g' ;;
5417 # Neutralize VPATH when `$srcdir' = `.'.
5418 # Shell code in configure.ac might set extrasub.
5419 # FIXME: do we really want to maintain this feature?
5420 cat >>$CONFIG_STATUS <<_ACEOF
5424 cat >>$CONFIG_STATUS <<\_ACEOF
5426 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5427 s&@configure_input@&$configure_input&;t t
5428 s&@top_builddir@&$ac_top_builddir_sub&;t t
5429 s&@srcdir@&$ac_srcdir&;t t
5430 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5431 s&@top_srcdir@&$ac_top_srcdir&;t t
5432 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5433 s&@builddir@&$ac_builddir&;t t
5434 s&@abs_builddir@&$ac_abs_builddir&;t t
5435 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5436 s&@INSTALL@&$ac_INSTALL&;t t
5437 s&@MKDIR_P@&$ac_MKDIR_P&;t t
5438 $ac_datarootdir_hack
5439 " $ac_file_inputs | $AWK -f "$tmp/subs.awk" >$tmp/out
5441 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5442 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
5443 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
5444 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5445 which seems to be undefined. Please make sure it is defined." >&5
5446 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5447 which seems to be undefined. Please make sure it is defined." >&2;}
5451 -) cat "$tmp/out"; rm -f "$tmp/out";;
5452 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
5457 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
5458 $as_echo "$as_me: executing $ac_file commands" >&6;}
5463 case $ac_file$ac_mode in
5464 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
5465 # Strip MF so we end up with the name of the file.
5466 mf=`echo "$mf" | sed -e 's/:.*$//'`
5467 # Check whether this is an Automake generated Makefile or not.
5468 # We used to match only the files named `Makefile.in', but
5469 # some people rename them; so instead we look at the file content.
5470 # Grep'ing the first line is not enough: some people post-process
5471 # each Makefile.in and add a new line on top of each file to say so.
5472 # Grep'ing the whole file is not good either: AIX grep has a line
5473 # limit of 2048, but all sed's we know have understand at least 4000.
5474 if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
5475 dirpart=`$as_dirname -- "$mf" ||
5476 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5477 X"$mf" : 'X\(//\)[^/]' \| \
5478 X"$mf" : 'X\(//\)$' \| \
5479 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
5481 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5501 # Extract the definition of DEPDIR, am__include, and am__quote
5502 # from the Makefile without running `make'.
5503 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
5504 test -z "$DEPDIR" && continue
5505 am__include=`sed -n 's/^am__include = //p' < "$mf"`
5506 test -z "am__include" && continue
5507 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
5508 # When using ansi2knr, U may be empty or an underscore; expand it
5509 U=`sed -n 's/^U = //p' < "$mf"`
5510 # Find all dependency output files, they are included files with
5511 # $(DEPDIR) in their names. We invoke sed twice because it is the
5512 # simplest approach to changing $(DEPDIR) to its actual value in the
5514 for file in `sed -n "
5515 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
5516 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
5517 # Make sure the directory exists.
5518 test -f "$dirpart/$file" && continue
5519 fdir=`$as_dirname -- "$file" ||
5520 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5521 X"$file" : 'X\(//\)[^/]' \| \
5522 X"$file" : 'X\(//\)$' \| \
5523 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
5525 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5542 { as_dir=$dirpart/$fdir
5544 -*) as_dir=./$as_dir;;
5546 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
5550 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
5551 *) as_qdir=$as_dir;;
5553 as_dirs="'$as_qdir' $as_dirs"
5554 as_dir=`$as_dirname -- "$as_dir" ||
5555 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5556 X"$as_dir" : 'X\(//\)[^/]' \| \
5557 X"$as_dir" : 'X\(//\)$' \| \
5558 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5559 $as_echo X"$as_dir" |
5560 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5577 test -d "$as_dir" && break
5579 test -z "$as_dirs" || eval "mkdir $as_dirs"
5580 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
5581 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
5582 { (exit 1); exit 1; }; }; }
5583 # echo "creating $dirpart/$file"
5584 echo '# dummy' > "$dirpart/$file"
5593 { (exit 0); exit 0; }
5595 chmod +x $CONFIG_STATUS
5596 ac_clean_files=$ac_clean_files_save
5599 # configure is writing to config.log, and then calls config.status.
5600 # config.status does its own redirection, appending to config.log.
5601 # Unfortunately, on DOS this fails, as config.log is still kept open
5602 # by configure, so config.status won't be able to write to it; its
5603 # output is simply discarded. So we exec the FD to /dev/null,
5604 # effectively closing config.log, so it can be properly (re)opened and
5605 # appended to by config.status. When coming back to configure, we
5606 # need to make the FD available again.
5607 if test "$no_create" != yes; then
5609 ac_config_status_args=
5610 test "$silent" = yes &&
5611 ac_config_status_args="$ac_config_status_args --quiet"
5613 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5615 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5616 # would make configure fail if this is the last instruction.
5617 $ac_cs_success || { (exit 1); exit 1; }