2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61.
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
40 # The user is always right.
41 if test "${PATH_SEPARATOR+set}" != set; then
42 echo "#! /bin/sh" >conf$$.sh
43 echo "exit 0" >>conf$$.sh
45 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
53 # Support unset when possible.
54 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
62 # We need space, tab and new line, in precisely that order. Quoting is
63 # there to prevent editors from complaining about space-tab.
64 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
65 # splitting by setting IFS to empty value.)
70 # Find who we are. Look in the path if we contain no directory separator.
72 *[\\/]* ) as_myself=$0 ;;
73 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77 test -z "$as_dir" && as_dir=.
78 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
84 # We did not find ourselves, most probably we were run as `sh COMMAND'
85 # in which case we are not to be found in the path.
86 if test "x$as_myself" = x; then
89 if test ! -f "$as_myself"; then
90 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
94 # Work around bugs in pre-3.0 UWIN ksh.
95 for as_var in ENV MAIL MAILPATH
96 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
104 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
105 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109 eval $as_var=C; export $as_var
111 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
115 # Required to use basename.
116 if expr a : '\(a\)' >/dev/null 2>&1 &&
117 test "X`expr 00001 : '.*\(...\)'`" = X001; then
123 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
130 # Name of the executable.
131 as_me=`$as_basename -- "$0" ||
132 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133 X"$0" : 'X\(//\)$' \| \
134 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
136 sed '/^.*\/\([^/][^/]*\)\/*$/{
154 if test "x$CONFIG_SHELL" = x; then
155 if (eval ":") 2>/dev/null; then
161 if test $as_have_required = yes && (eval ":
171 as_func_ret_success () {
174 as_func_ret_failure () {
179 if as_func_success; then
183 echo as_func_success failed.
186 if as_func_failure; then
188 echo as_func_failure succeeded.
191 if as_func_ret_success; then
195 echo as_func_ret_success failed.
198 if as_func_ret_failure; then
200 echo as_func_ret_failure succeeded.
203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 echo positional parameters were not saved.
210 test \$exitcode = 0) || { (exit 1); exit 1; }
215 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
216 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
217 ") 2> /dev/null; then
221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
222 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
225 test -z "$as_dir" && as_dir=.
228 for as_base in sh bash ksh sh5; do
229 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
236 for as_shell in $as_candidate_shells $SHELL; do
237 # Try only shells that exist, to save several forks.
238 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
239 { ("$as_shell") 2> /dev/null <<\_ASEOF
240 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
243 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244 # is contrary to our usage. Disable this feature.
245 alias -g '${1+"$@"}'='"$@"'
248 case `(set -o) 2>/dev/null` in
249 *posix*) set -o posix ;;
258 CONFIG_SHELL=$as_shell
260 if { "$as_shell" 2> /dev/null <<\_ASEOF
261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
265 # is contrary to our usage. Disable this feature.
266 alias -g '${1+"$@"}'='"$@"'
269 case `(set -o) 2>/dev/null` in
270 *posix*) set -o posix ;;
286 as_func_ret_success () {
289 as_func_ret_failure () {
294 if as_func_success; then
298 echo as_func_success failed.
301 if as_func_failure; then
303 echo as_func_failure succeeded.
306 if as_func_ret_success; then
310 echo as_func_ret_success failed.
313 if as_func_ret_failure; then
315 echo as_func_ret_failure succeeded.
318 if ( set x; as_func_ret_success y && test x = "$1" ); then
322 echo positional parameters were not saved.
325 test $exitcode = 0) || { (exit 1); exit 1; }
330 test "x$as_lineno_1" != "x$as_lineno_2" &&
331 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
342 if test "x$CONFIG_SHELL" != x; then
343 for as_var in BASH_ENV ENV
344 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
347 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351 if test $as_have_required = no; then
352 echo This script requires a shell more modern than all the
353 echo shells that I found on your system. Please install a
354 echo modern shell, or manually run the script under such a
355 echo shell if you do have one.
356 { (exit 1); exit 1; }
366 (eval "as_func_return () {
375 as_func_ret_success () {
378 as_func_ret_failure () {
383 if as_func_success; then
387 echo as_func_success failed.
390 if as_func_failure; then
392 echo as_func_failure succeeded.
395 if as_func_ret_success; then
399 echo as_func_ret_success failed.
402 if as_func_ret_failure; then
404 echo as_func_ret_failure succeeded.
407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 echo positional parameters were not saved.
414 test \$exitcode = 0") || {
415 echo No shell found that supports shell functions.
416 echo Please tell autoconf@gnu.org about your system,
417 echo including any error possibly output before this
425 test "x$as_lineno_1" != "x$as_lineno_2" &&
426 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
428 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
429 # uniformly replaced by the line number. The first 'sed' inserts a
430 # line-number line after each line using $LINENO; the second 'sed'
431 # does the real work. The second script uses 'N' to pair each
432 # line-number line with the line containing $LINENO, and appends
433 # trailing '-' during substitution so that $LINENO is not a special
435 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
436 # scripts with optimization help from Paolo Bonzini. Blame Lee
437 # E. McMahon (1931-1989) for sed's syntax. :-)
449 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
453 chmod +x "$as_me.lineno" ||
454 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
455 { (exit 1); exit 1; }; }
457 # Don't try to exec as it changes $[0], causing all sort of problems
458 # (the dirname of $[0] is not the place where we might find the
459 # original and so on. Autoconf is especially sensitive to this).
461 # Exit status is that of the last command.
466 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
472 ECHO_C= ECHO_N= ECHO_T=
476 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
483 if expr a : '\(a\)' >/dev/null 2>&1 &&
484 test "X`expr 00001 : '.*\(...\)'`" = X001; then
490 rm -f conf$$ conf$$.exe conf$$.file
491 if test -d conf$$.dir; then
492 rm -f conf$$.dir/conf$$.file
498 if ln -s conf$$.file conf$$ 2>/dev/null; then
500 # ... but there are two gotchas:
501 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
502 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503 # In both cases, we have to default to `cp -p'.
504 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
506 elif ln conf$$.file conf$$ 2>/dev/null; then
511 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
512 rmdir conf$$.dir 2>/dev/null
514 if mkdir -p . 2>/dev/null; then
517 test -d ./-p && rmdir ./-p
521 if test -x / >/dev/null 2>&1; then
524 if ls -dL / >/dev/null 2>&1; then
531 if test -d "$1"; then
537 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
538 ???[sx]*):;;*)false;;esac;fi
542 as_executable_p=$as_test_x
544 # Sed expression to map a string onto a valid CPP name.
545 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
547 # Sed expression to map a string onto a valid variable name.
548 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
552 exec 7<&0 </dev/null 6>&1
555 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
556 # so uname gets run too.
557 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
562 ac_default_prefix=/usr/local
564 ac_config_libobj_dir=.
570 SHELL=${CONFIG_SHELL-/bin/sh}
572 # Identity of this package.
579 ac_unique_file="fapg.c"
580 # Factoring default headers for most tests.
581 ac_includes_default="\
583 #ifdef HAVE_SYS_TYPES_H
584 # include <sys/types.h>
586 #ifdef HAVE_SYS_STAT_H
587 # include <sys/stat.h>
593 # ifdef HAVE_STDLIB_H
598 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
603 #ifdef HAVE_STRINGS_H
604 # include <strings.h>
606 #ifdef HAVE_INTTYPES_H
607 # include <inttypes.h>
625 program_transform_name
667 INSTALL_STRIP_PROGRAM
697 ac_precious_vars='build_alias
708 # Initialize some variables set by options.
710 ac_init_version=false
711 # The variables have the same names as the options, with
712 # dashes changed to underlines.
720 program_transform_name=s,x,x,
728 # Installation directory options.
729 # These are left unexpanded so users can "make install exec_prefix=/foo"
730 # and all the variables that are supposed to be based on exec_prefix
731 # by default will actually change.
732 # Use braces instead of parens because sh, perl, etc. also accept them.
733 # (The list follows the same order as the GNU Coding Standards.)
734 bindir='${exec_prefix}/bin'
735 sbindir='${exec_prefix}/sbin'
736 libexecdir='${exec_prefix}/libexec'
737 datarootdir='${prefix}/share'
738 datadir='${datarootdir}'
739 sysconfdir='${prefix}/etc'
740 sharedstatedir='${prefix}/com'
741 localstatedir='${prefix}/var'
742 includedir='${prefix}/include'
743 oldincludedir='/usr/include'
744 docdir='${datarootdir}/doc/${PACKAGE}'
745 infodir='${datarootdir}/info'
750 libdir='${exec_prefix}/lib'
751 localedir='${datarootdir}/locale'
752 mandir='${datarootdir}/man'
758 # If the previous option needs an argument, assign it.
759 if test -n "$ac_prev"; then
760 eval $ac_prev=\$ac_option
766 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
770 # Accept the important Cygnus configure options, so we can diagnose typos.
772 case $ac_dashdash$ac_option in
776 -bindir | --bindir | --bindi | --bind | --bin | --bi)
778 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
781 -build | --build | --buil | --bui | --bu)
782 ac_prev=build_alias ;;
783 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
784 build_alias=$ac_optarg ;;
786 -cache-file | --cache-file | --cache-fil | --cache-fi \
787 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
788 ac_prev=cache_file ;;
789 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
790 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
791 cache_file=$ac_optarg ;;
794 cache_file=config.cache ;;
796 -datadir | --datadir | --datadi | --datad)
798 -datadir=* | --datadir=* | --datadi=* | --datad=*)
799 datadir=$ac_optarg ;;
801 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
802 | --dataroo | --dataro | --datar)
803 ac_prev=datarootdir ;;
804 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
805 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
806 datarootdir=$ac_optarg ;;
808 -disable-* | --disable-*)
809 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
810 # Reject names that are not valid shell variable names.
811 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
812 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
813 { (exit 1); exit 1; }; }
814 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
815 eval enable_$ac_feature=no ;;
817 -docdir | --docdir | --docdi | --doc | --do)
819 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
822 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
824 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
827 -enable-* | --enable-*)
828 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
829 # Reject names that are not valid shell variable names.
830 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
831 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
832 { (exit 1); exit 1; }; }
833 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
834 eval enable_$ac_feature=\$ac_optarg ;;
836 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
837 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
838 | --exec | --exe | --ex)
839 ac_prev=exec_prefix ;;
840 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
841 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
842 | --exec=* | --exe=* | --ex=*)
843 exec_prefix=$ac_optarg ;;
845 -gas | --gas | --ga | --g)
846 # Obsolete; use --with-gas.
849 -help | --help | --hel | --he | -h)
851 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
852 ac_init_help=recursive ;;
853 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
854 ac_init_help=short ;;
856 -host | --host | --hos | --ho)
857 ac_prev=host_alias ;;
858 -host=* | --host=* | --hos=* | --ho=*)
859 host_alias=$ac_optarg ;;
861 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
863 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
865 htmldir=$ac_optarg ;;
867 -includedir | --includedir | --includedi | --included | --include \
868 | --includ | --inclu | --incl | --inc)
869 ac_prev=includedir ;;
870 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
871 | --includ=* | --inclu=* | --incl=* | --inc=*)
872 includedir=$ac_optarg ;;
874 -infodir | --infodir | --infodi | --infod | --info | --inf)
876 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
877 infodir=$ac_optarg ;;
879 -libdir | --libdir | --libdi | --libd)
881 -libdir=* | --libdir=* | --libdi=* | --libd=*)
884 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
885 | --libexe | --libex | --libe)
886 ac_prev=libexecdir ;;
887 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
888 | --libexe=* | --libex=* | --libe=*)
889 libexecdir=$ac_optarg ;;
891 -localedir | --localedir | --localedi | --localed | --locale)
893 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
894 localedir=$ac_optarg ;;
896 -localstatedir | --localstatedir | --localstatedi | --localstated \
897 | --localstate | --localstat | --localsta | --localst | --locals)
898 ac_prev=localstatedir ;;
899 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
900 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
901 localstatedir=$ac_optarg ;;
903 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
905 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
909 # Obsolete; use --without-fp.
912 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
913 | --no-cr | --no-c | -n)
916 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
917 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
920 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
921 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
922 | --oldin | --oldi | --old | --ol | --o)
923 ac_prev=oldincludedir ;;
924 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
925 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
926 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
927 oldincludedir=$ac_optarg ;;
929 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
931 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
934 -program-prefix | --program-prefix | --program-prefi | --program-pref \
935 | --program-pre | --program-pr | --program-p)
936 ac_prev=program_prefix ;;
937 -program-prefix=* | --program-prefix=* | --program-prefi=* \
938 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
939 program_prefix=$ac_optarg ;;
941 -program-suffix | --program-suffix | --program-suffi | --program-suff \
942 | --program-suf | --program-su | --program-s)
943 ac_prev=program_suffix ;;
944 -program-suffix=* | --program-suffix=* | --program-suffi=* \
945 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
946 program_suffix=$ac_optarg ;;
948 -program-transform-name | --program-transform-name \
949 | --program-transform-nam | --program-transform-na \
950 | --program-transform-n | --program-transform- \
951 | --program-transform | --program-transfor \
952 | --program-transfo | --program-transf \
953 | --program-trans | --program-tran \
954 | --progr-tra | --program-tr | --program-t)
955 ac_prev=program_transform_name ;;
956 -program-transform-name=* | --program-transform-name=* \
957 | --program-transform-nam=* | --program-transform-na=* \
958 | --program-transform-n=* | --program-transform-=* \
959 | --program-transform=* | --program-transfor=* \
960 | --program-transfo=* | --program-transf=* \
961 | --program-trans=* | --program-tran=* \
962 | --progr-tra=* | --program-tr=* | --program-t=*)
963 program_transform_name=$ac_optarg ;;
965 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
967 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
970 -psdir | --psdir | --psdi | --psd | --ps)
972 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
975 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
976 | -silent | --silent | --silen | --sile | --sil)
979 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
981 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
983 sbindir=$ac_optarg ;;
985 -sharedstatedir | --sharedstatedir | --sharedstatedi \
986 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
987 | --sharedst | --shareds | --shared | --share | --shar \
989 ac_prev=sharedstatedir ;;
990 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
991 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
992 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
994 sharedstatedir=$ac_optarg ;;
996 -site | --site | --sit)
998 -site=* | --site=* | --sit=*)
1001 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1003 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1004 srcdir=$ac_optarg ;;
1006 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1007 | --syscon | --sysco | --sysc | --sys | --sy)
1008 ac_prev=sysconfdir ;;
1009 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1010 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1011 sysconfdir=$ac_optarg ;;
1013 -target | --target | --targe | --targ | --tar | --ta | --t)
1014 ac_prev=target_alias ;;
1015 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1016 target_alias=$ac_optarg ;;
1018 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1021 -version | --version | --versio | --versi | --vers | -V)
1022 ac_init_version=: ;;
1025 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1026 # Reject names that are not valid shell variable names.
1027 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1028 { echo "$as_me: error: invalid package name: $ac_package" >&2
1029 { (exit 1); exit 1; }; }
1030 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1031 eval with_$ac_package=\$ac_optarg ;;
1033 -without-* | --without-*)
1034 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1035 # Reject names that are not valid shell variable names.
1036 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1037 { echo "$as_me: error: invalid package name: $ac_package" >&2
1038 { (exit 1); exit 1; }; }
1039 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1040 eval with_$ac_package=no ;;
1043 # Obsolete; use --with-x.
1046 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1047 | --x-incl | --x-inc | --x-in | --x-i)
1048 ac_prev=x_includes ;;
1049 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1050 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1051 x_includes=$ac_optarg ;;
1053 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1054 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1055 ac_prev=x_libraries ;;
1056 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1057 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1058 x_libraries=$ac_optarg ;;
1060 -*) { echo "$as_me: error: unrecognized option: $ac_option
1061 Try \`$0 --help' for more information." >&2
1062 { (exit 1); exit 1; }; }
1066 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1067 # Reject names that are not valid shell variable names.
1068 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1069 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1070 { (exit 1); exit 1; }; }
1071 eval $ac_envvar=\$ac_optarg
1072 export $ac_envvar ;;
1075 # FIXME: should be removed in autoconf 3.0.
1076 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1077 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1078 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1079 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1085 if test -n "$ac_prev"; then
1086 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1087 { echo "$as_me: error: missing argument to $ac_option" >&2
1088 { (exit 1); exit 1; }; }
1091 # Be sure to have absolute directory names.
1092 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1093 datadir sysconfdir sharedstatedir localstatedir includedir \
1094 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1095 libdir localedir mandir
1097 eval ac_val=\$$ac_var
1099 [\\/$]* | ?:[\\/]* ) continue;;
1100 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1102 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1103 { (exit 1); exit 1; }; }
1106 # There might be people who depend on the old broken behavior: `$host'
1107 # used to hold the argument of --host etc.
1108 # FIXME: To remove some day.
1111 target=$target_alias
1113 # FIXME: To remove some day.
1114 if test "x$host_alias" != x; then
1115 if test "x$build_alias" = x; then
1116 cross_compiling=maybe
1117 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1118 If a cross compiler is detected then cross compile mode will be used." >&2
1119 elif test "x$build_alias" != "x$host_alias"; then
1125 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1127 test "$silent" = yes && exec 6>/dev/null
1130 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1131 ac_ls_di=`ls -di .` &&
1132 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1133 { echo "$as_me: error: Working directory cannot be determined" >&2
1134 { (exit 1); exit 1; }; }
1135 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1136 { echo "$as_me: error: pwd does not report name of working directory" >&2
1137 { (exit 1); exit 1; }; }
1140 # Find the source files, if location was not specified.
1141 if test -z "$srcdir"; then
1142 ac_srcdir_defaulted=yes
1143 # Try the directory containing this script, then the parent directory.
1144 ac_confdir=`$as_dirname -- "$0" ||
1145 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1146 X"$0" : 'X\(//\)[^/]' \| \
1147 X"$0" : 'X\(//\)$' \| \
1148 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1150 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1168 if test ! -r "$srcdir/$ac_unique_file"; then
1172 ac_srcdir_defaulted=no
1174 if test ! -r "$srcdir/$ac_unique_file"; then
1175 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1176 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1177 { (exit 1); exit 1; }; }
1179 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1181 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1182 { (exit 1); exit 1; }; }
1184 # When building in place, set srcdir=.
1185 if test "$ac_abs_confdir" = "$ac_pwd"; then
1188 # Remove unnecessary trailing slashes from srcdir.
1189 # Double slashes in file names in object file debugging info
1190 # mess up M-x gdb in Emacs.
1192 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1194 for ac_var in $ac_precious_vars; do
1195 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1196 eval ac_env_${ac_var}_value=\$${ac_var}
1197 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1198 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1202 # Report the --help message.
1204 if test "$ac_init_help" = "long"; then
1205 # Omit some internal or obsolete options to make the list less imposing.
1206 # This message is too long to be a string in the A/UX 3.1 sh.
1208 \`configure' configures this package to adapt to many kinds of systems.
1210 Usage: $0 [OPTION]... [VAR=VALUE]...
1212 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1213 VAR=VALUE. See below for descriptions of some of the useful variables.
1215 Defaults for the options are specified in brackets.
1218 -h, --help display this help and exit
1219 --help=short display options specific to this package
1220 --help=recursive display the short help of all the included packages
1221 -V, --version display version information and exit
1222 -q, --quiet, --silent do not print \`checking...' messages
1223 --cache-file=FILE cache test results in FILE [disabled]
1224 -C, --config-cache alias for \`--cache-file=config.cache'
1225 -n, --no-create do not create output files
1226 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1228 Installation directories:
1229 --prefix=PREFIX install architecture-independent files in PREFIX
1230 [$ac_default_prefix]
1231 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1234 By default, \`make install' will install all the files in
1235 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1236 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1237 for instance \`--prefix=\$HOME'.
1239 For better control, use the options below.
1241 Fine tuning of the installation directories:
1242 --bindir=DIR user executables [EPREFIX/bin]
1243 --sbindir=DIR system admin executables [EPREFIX/sbin]
1244 --libexecdir=DIR program executables [EPREFIX/libexec]
1245 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1246 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1247 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1248 --libdir=DIR object code libraries [EPREFIX/lib]
1249 --includedir=DIR C header files [PREFIX/include]
1250 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1251 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1252 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1253 --infodir=DIR info documentation [DATAROOTDIR/info]
1254 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1255 --mandir=DIR man documentation [DATAROOTDIR/man]
1256 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1257 --htmldir=DIR html documentation [DOCDIR]
1258 --dvidir=DIR dvi documentation [DOCDIR]
1259 --pdfdir=DIR pdf documentation [DOCDIR]
1260 --psdir=DIR ps documentation [DOCDIR]
1266 --program-prefix=PREFIX prepend PREFIX to installed program names
1267 --program-suffix=SUFFIX append SUFFIX to installed program names
1268 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1272 if test -n "$ac_init_help"; then
1277 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1278 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1279 --disable-dependency-tracking speeds up one-time build
1280 --enable-dependency-tracking do not reject slow dependency extractors
1283 --enable-xspf enable XSPF support (default)
1284 --disable-xspf disable XSPF support
1287 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1288 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1289 --with-uriparser=DIR override path of uriparser
1290 ("/lib" and "/include" is appended)
1291 --with-uriparser-inc=D override include path of uriparser
1292 --with-uriparser-lib=D override library path of uriparser
1294 Some influential environment variables:
1295 CC C compiler command
1296 CFLAGS C compiler flags
1297 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1298 nonstandard directory <lib dir>
1299 LIBS libraries to pass to the linker, e.g. -l<library>
1300 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1301 you have headers in a nonstandard directory <include dir>
1304 Use these variables to override the choices made by `configure' or to help
1305 it to find libraries and programs with nonstandard names/locations.
1311 if test "$ac_init_help" = "recursive"; then
1312 # If there are subdirs, report their specific --help.
1313 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1314 test -d "$ac_dir" || continue
1318 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1320 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1321 # A ".." for each directory in $ac_dir_suffix.
1322 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1323 case $ac_top_builddir_sub in
1324 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1325 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1328 ac_abs_top_builddir=$ac_pwd
1329 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1330 # for backward compatibility:
1331 ac_top_builddir=$ac_top_build_prefix
1334 .) # We are building in place.
1336 ac_top_srcdir=$ac_top_builddir_sub
1337 ac_abs_top_srcdir=$ac_pwd ;;
1338 [\\/]* | ?:[\\/]* ) # Absolute name.
1339 ac_srcdir=$srcdir$ac_dir_suffix;
1340 ac_top_srcdir=$srcdir
1341 ac_abs_top_srcdir=$srcdir ;;
1343 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1344 ac_top_srcdir=$ac_top_build_prefix$srcdir
1345 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1347 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1349 cd "$ac_dir" || { ac_status=$?; continue; }
1350 # Check for guested configure.
1351 if test -f "$ac_srcdir/configure.gnu"; then
1353 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1354 elif test -f "$ac_srcdir/configure"; then
1356 $SHELL "$ac_srcdir/configure" --help=recursive
1358 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1360 cd "$ac_pwd" || { ac_status=$?; break; }
1364 test -n "$ac_init_help" && exit $ac_status
1365 if $ac_init_version; then
1368 generated by GNU Autoconf 2.61
1370 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1371 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1372 This configure script is free software; the Free Software Foundation
1373 gives unlimited permission to copy, distribute and modify it.
1377 cat >config.log <<_ACEOF
1378 This file contains any messages produced by compilers while
1379 running configure, to aid debugging if configure makes a mistake.
1381 It was created by $as_me, which was
1382 generated by GNU Autoconf 2.61. Invocation command line was
1394 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1395 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1396 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1397 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1398 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1400 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1401 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1403 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1404 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1405 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1406 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1407 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1408 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1409 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1417 test -z "$as_dir" && as_dir=.
1418 echo "PATH: $as_dir"
1434 # Keep a trace of the command line.
1435 # Strip out --no-create and --no-recursion so they do not pile up.
1436 # Strip out --silent because we don't want to record it for future runs.
1437 # Also quote any args containing shell meta-characters.
1438 # Make two passes to allow for proper duplicate-argument suppression.
1442 ac_must_keep_next=false
1448 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1449 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1450 | -silent | --silent | --silen | --sile | --sil)
1453 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1456 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1458 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1459 if test $ac_must_keep_next = true; then
1460 ac_must_keep_next=false # Got value, back to normal.
1463 *=* | --config-cache | -C | -disable-* | --disable-* \
1464 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1465 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1466 | -with-* | --with-* | -without-* | --without-* | --x)
1467 case "$ac_configure_args0 " in
1468 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1471 -* ) ac_must_keep_next=true ;;
1474 ac_configure_args="$ac_configure_args '$ac_arg'"
1479 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1480 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1482 # When interrupted or exit'd, cleanup temporary files, and complete
1483 # config.log. We remove comments because anyway the quotes in there
1484 # would cause problems or look ugly.
1485 # WARNING: Use '\'' to represent an apostrophe within the trap.
1486 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1487 trap 'exit_status=$?
1488 # Save into config.log some information that might help in debugging.
1493 ## ---------------- ##
1494 ## Cache variables. ##
1495 ## ---------------- ##
1498 # The following way of writing the cache mishandles newlines in values,
1500 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1501 eval ac_val=\$$ac_var
1505 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1506 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1509 _ | IFS | as_nl) ;; #(
1510 *) $as_unset $ac_var ;;
1515 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1516 *${as_nl}ac_space=\ *)
1518 "s/'\''/'\''\\\\'\'''\''/g;
1519 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1522 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1530 ## ----------------- ##
1531 ## Output variables. ##
1532 ## ----------------- ##
1535 for ac_var in $ac_subst_vars
1537 eval ac_val=\$$ac_var
1539 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1541 echo "$ac_var='\''$ac_val'\''"
1545 if test -n "$ac_subst_files"; then
1547 ## ------------------- ##
1548 ## File substitutions. ##
1549 ## ------------------- ##
1552 for ac_var in $ac_subst_files
1554 eval ac_val=\$$ac_var
1556 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1558 echo "$ac_var='\''$ac_val'\''"
1563 if test -s confdefs.h; then
1573 test "$ac_signal" != 0 &&
1574 echo "$as_me: caught signal $ac_signal"
1575 echo "$as_me: exit $exit_status"
1577 rm -f core *.core core.conftest.* &&
1578 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1581 for ac_signal in 1 2 13 15; do
1582 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1586 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1587 rm -f -r conftest* confdefs.h
1589 # Predefined preprocessor variables.
1591 cat >>confdefs.h <<_ACEOF
1592 #define PACKAGE_NAME "$PACKAGE_NAME"
1596 cat >>confdefs.h <<_ACEOF
1597 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1601 cat >>confdefs.h <<_ACEOF
1602 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1606 cat >>confdefs.h <<_ACEOF
1607 #define PACKAGE_STRING "$PACKAGE_STRING"
1611 cat >>confdefs.h <<_ACEOF
1612 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1616 # Let the site file select an alternate cache file if it wants to.
1617 # Prefer explicitly selected file to automatically selected ones.
1618 if test -n "$CONFIG_SITE"; then
1619 set x "$CONFIG_SITE"
1620 elif test "x$prefix" != xNONE; then
1621 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1623 set x "$ac_default_prefix/share/config.site" \
1624 "$ac_default_prefix/etc/config.site"
1629 if test -r "$ac_site_file"; then
1630 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1631 echo "$as_me: loading site script $ac_site_file" >&6;}
1632 sed 's/^/| /' "$ac_site_file" >&5
1637 if test -r "$cache_file"; then
1638 # Some versions of bash will fail to source /dev/null (special
1639 # files actually), so we avoid doing that.
1640 if test -f "$cache_file"; then
1641 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1642 echo "$as_me: loading cache $cache_file" >&6;}
1644 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1645 *) . "./$cache_file";;
1649 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1650 echo "$as_me: creating cache $cache_file" >&6;}
1654 # Check that the precious variables saved in the cache have kept the same
1656 ac_cache_corrupted=false
1657 for ac_var in $ac_precious_vars; do
1658 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1659 eval ac_new_set=\$ac_env_${ac_var}_set
1660 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1661 eval ac_new_val=\$ac_env_${ac_var}_value
1662 case $ac_old_set,$ac_new_set in
1664 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1665 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1666 ac_cache_corrupted=: ;;
1668 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1669 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1670 ac_cache_corrupted=: ;;
1673 if test "x$ac_old_val" != "x$ac_new_val"; then
1674 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1675 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1676 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1677 echo "$as_me: former value: $ac_old_val" >&2;}
1678 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1679 echo "$as_me: current value: $ac_new_val" >&2;}
1680 ac_cache_corrupted=:
1683 # Pass precious variables to config.status.
1684 if test "$ac_new_set" = set; then
1686 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1687 *) ac_arg=$ac_var=$ac_new_val ;;
1689 case " $ac_configure_args " in
1690 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1691 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1695 if $ac_cache_corrupted; then
1696 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1697 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1698 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1699 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1700 { (exit 1); exit 1; }; }
1720 ac_cpp='$CPP $CPPFLAGS'
1721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1726 am__api_version='1.10'
1729 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1730 if test -f "$ac_dir/install-sh"; then
1732 ac_install_sh="$ac_aux_dir/install-sh -c"
1734 elif test -f "$ac_dir/install.sh"; then
1736 ac_install_sh="$ac_aux_dir/install.sh -c"
1738 elif test -f "$ac_dir/shtool"; then
1740 ac_install_sh="$ac_aux_dir/shtool install -c"
1744 if test -z "$ac_aux_dir"; then
1745 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1746 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1747 { (exit 1); exit 1; }; }
1750 # These three variables are undocumented and unsupported,
1751 # and are intended to be withdrawn in a future Autoconf release.
1752 # They can cause serious problems if a builder's source tree is in a directory
1753 # whose full name contains unusual characters.
1754 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1755 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1756 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1759 # Find a good install program. We prefer a C program (faster),
1760 # so one script is as good as another. But avoid the broken or
1761 # incompatible versions:
1762 # SysV /etc/install, /usr/sbin/install
1763 # SunOS /usr/etc/install
1764 # IRIX /sbin/install
1766 # AmigaOS /C/install, which installs bootblocks on floppy discs
1767 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1768 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1769 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1770 # OS/2's system install, which has a completely different semantic
1771 # ./install, which can be erroneously created by make from ./install.sh.
1772 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1773 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1774 if test -z "$INSTALL"; then
1775 if test "${ac_cv_path_install+set}" = set; then
1776 echo $ECHO_N "(cached) $ECHO_C" >&6
1778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1782 test -z "$as_dir" && as_dir=.
1783 # Account for people who put trailing slashes in PATH elements.
1785 ./ | .// | /cC/* | \
1786 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1787 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1790 # OSF1 and SCO ODT 3.0 have their own names for install.
1791 # Don't use installbsd from OSF since it installs stuff as root
1793 for ac_prog in ginstall scoinst install; do
1794 for ac_exec_ext in '' $ac_executable_extensions; do
1795 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1796 if test $ac_prog = install &&
1797 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1798 # AIX install. It has an incompatible calling convention.
1800 elif test $ac_prog = install &&
1801 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1802 # program-specific install script used by HP pwplus--don't use.
1805 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1818 if test "${ac_cv_path_install+set}" = set; then
1819 INSTALL=$ac_cv_path_install
1821 # As a last resort, use the slow shell script. Don't cache a
1822 # value for INSTALL within a source directory, because that will
1823 # break other packages using the cache if that directory is
1824 # removed, or if the value is a relative name.
1825 INSTALL=$ac_install_sh
1828 { echo "$as_me:$LINENO: result: $INSTALL" >&5
1829 echo "${ECHO_T}$INSTALL" >&6; }
1831 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1832 # It thinks the first close brace ends the variable substitution.
1833 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1835 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1837 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1839 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1840 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1843 echo timestamp > conftest.file
1844 # Do `set' in a subshell so we don't clobber the current shell's
1845 # arguments. Must try -L first in case configure is actually a
1846 # symlink; some systems play weird games with the mod time of symlinks
1847 # (eg FreeBSD returns the mod time of the symlink's containing
1850 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1851 if test "$*" = "X"; then
1853 set X `ls -t $srcdir/configure conftest.file`
1856 if test "$*" != "X $srcdir/configure conftest.file" \
1857 && test "$*" != "X conftest.file $srcdir/configure"; then
1859 # If neither matched, then we have a broken ls. This can happen
1860 # if, for instance, CONFIG_SHELL is bash and it inherits a
1861 # broken ls alias from the environment. This has actually
1862 # happened. Such a system could not be considered "sane".
1863 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1864 alias in your environment" >&5
1865 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1866 alias in your environment" >&2;}
1867 { (exit 1); exit 1; }; }
1870 test "$2" = conftest.file
1876 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1877 Check your system clock" >&5
1878 echo "$as_me: error: newly created file is older than distributed files!
1879 Check your system clock" >&2;}
1880 { (exit 1); exit 1; }; }
1882 { echo "$as_me:$LINENO: result: yes" >&5
1883 echo "${ECHO_T}yes" >&6; }
1884 test "$program_prefix" != NONE &&
1885 program_transform_name="s&^&$program_prefix&;$program_transform_name"
1886 # Use a double $ so make ignores it.
1887 test "$program_suffix" != NONE &&
1888 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1889 # Double any \ or $. echo might interpret backslashes.
1890 # By default was `s,x,x', remove it if useless.
1891 cat <<\_ACEOF >conftest.sed
1892 s/[\\$]/&&/g;s/;s,x,x,$//
1894 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1897 # expand $ac_aux_dir to an absolute path
1898 am_aux_dir=`cd $ac_aux_dir && pwd`
1900 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1901 # Use eval to expand $SHELL
1902 if eval "$MISSING --run true"; then
1903 am_missing_run="$MISSING --run "
1906 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1907 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1910 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
1911 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
1912 if test -z "$MKDIR_P"; then
1913 if test "${ac_cv_path_mkdir+set}" = set; then
1914 echo $ECHO_N "(cached) $ECHO_C" >&6
1916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1917 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
1920 test -z "$as_dir" && as_dir=.
1921 for ac_prog in mkdir gmkdir; do
1922 for ac_exec_ext in '' $ac_executable_extensions; do
1923 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
1924 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
1925 'mkdir (GNU coreutils) '* | \
1926 'mkdir (coreutils) '* | \
1927 'mkdir (fileutils) '4.1*)
1928 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
1938 if test "${ac_cv_path_mkdir+set}" = set; then
1939 MKDIR_P="$ac_cv_path_mkdir -p"
1941 # As a last resort, use the slow shell script. Don't cache a
1942 # value for MKDIR_P within a source directory, because that will
1943 # break other packages using the cache if that directory is
1944 # removed, or if the value is a relative name.
1945 test -d ./--version && rmdir ./--version
1946 MKDIR_P="$ac_install_sh -d"
1949 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
1950 echo "${ECHO_T}$MKDIR_P" >&6; }
1954 [\\/$]* | ?:[\\/]*) ;;
1955 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
1958 for ac_prog in gawk mawk nawk awk
1960 # Extract the first word of "$ac_prog", so it can be a program name with args.
1961 set dummy $ac_prog; ac_word=$2
1962 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1963 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1964 if test "${ac_cv_prog_AWK+set}" = set; then
1965 echo $ECHO_N "(cached) $ECHO_C" >&6
1967 if test -n "$AWK"; then
1968 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1974 test -z "$as_dir" && as_dir=.
1975 for ac_exec_ext in '' $ac_executable_extensions; do
1976 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1977 ac_cv_prog_AWK="$ac_prog"
1978 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1988 if test -n "$AWK"; then
1989 { echo "$as_me:$LINENO: result: $AWK" >&5
1990 echo "${ECHO_T}$AWK" >&6; }
1992 { echo "$as_me:$LINENO: result: no" >&5
1993 echo "${ECHO_T}no" >&6; }
1997 test -n "$AWK" && break
2000 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2001 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2002 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2003 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2004 echo $ECHO_N "(cached) $ECHO_C" >&6
2006 cat >conftest.make <<\_ACEOF
2009 @echo '@@@%%%=$(MAKE)=@@@%%%'
2011 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2012 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2014 eval ac_cv_prog_make_${ac_make}_set=yes;;
2016 eval ac_cv_prog_make_${ac_make}_set=no;;
2020 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2021 { echo "$as_me:$LINENO: result: yes" >&5
2022 echo "${ECHO_T}yes" >&6; }
2025 { echo "$as_me:$LINENO: result: no" >&5
2026 echo "${ECHO_T}no" >&6; }
2027 SET_MAKE="MAKE=${MAKE-make}"
2030 rm -rf .tst 2>/dev/null
2031 mkdir .tst 2>/dev/null
2032 if test -d .tst; then
2037 rmdir .tst 2>/dev/null
2039 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2040 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2041 # is not polluted with repeated "-I."
2042 am__isrc=' -I$(srcdir)'
2043 # test to see if srcdir already configured
2044 if test -f $srcdir/config.status; then
2045 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2046 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2047 { (exit 1); exit 1; }; }
2051 # test whether we have cygpath
2052 if test -z "$CYGPATH_W"; then
2053 if (cygpath --version) >/dev/null 2>/dev/null; then
2054 CYGPATH_W='cygpath -w'
2061 # Define the identity of the package.
2066 cat >>confdefs.h <<_ACEOF
2067 #define PACKAGE "$PACKAGE"
2071 cat >>confdefs.h <<_ACEOF
2072 #define VERSION "$VERSION"
2075 # Some tools Automake needs.
2077 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2080 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2083 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2086 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2089 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2091 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2093 # Installed binaries are usually stripped using `strip' when the user
2094 # run `make install-strip'. However `strip' might not be the right
2095 # tool to use in cross-compilation environments, therefore Automake
2096 # will honor the `STRIP' environment variable to overrule this program.
2097 if test "$cross_compiling" != no; then
2098 if test -n "$ac_tool_prefix"; then
2099 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2100 set dummy ${ac_tool_prefix}strip; ac_word=$2
2101 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2102 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2103 if test "${ac_cv_prog_STRIP+set}" = set; then
2104 echo $ECHO_N "(cached) $ECHO_C" >&6
2106 if test -n "$STRIP"; then
2107 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2113 test -z "$as_dir" && as_dir=.
2114 for ac_exec_ext in '' $ac_executable_extensions; do
2115 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2116 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2117 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2126 STRIP=$ac_cv_prog_STRIP
2127 if test -n "$STRIP"; then
2128 { echo "$as_me:$LINENO: result: $STRIP" >&5
2129 echo "${ECHO_T}$STRIP" >&6; }
2131 { echo "$as_me:$LINENO: result: no" >&5
2132 echo "${ECHO_T}no" >&6; }
2137 if test -z "$ac_cv_prog_STRIP"; then
2139 # Extract the first word of "strip", so it can be a program name with args.
2140 set dummy strip; ac_word=$2
2141 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2142 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2143 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2144 echo $ECHO_N "(cached) $ECHO_C" >&6
2146 if test -n "$ac_ct_STRIP"; then
2147 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2153 test -z "$as_dir" && as_dir=.
2154 for ac_exec_ext in '' $ac_executable_extensions; do
2155 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2156 ac_cv_prog_ac_ct_STRIP="strip"
2157 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2166 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2167 if test -n "$ac_ct_STRIP"; then
2168 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2169 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2171 { echo "$as_me:$LINENO: result: no" >&5
2172 echo "${ECHO_T}no" >&6; }
2175 if test "x$ac_ct_STRIP" = x; then
2178 case $cross_compiling:$ac_tool_warned in
2180 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2181 whose name does not start with the host triplet. If you think this
2182 configuration is useful to you, please write to autoconf@gnu.org." >&5
2183 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2184 whose name does not start with the host triplet. If you think this
2185 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2186 ac_tool_warned=yes ;;
2191 STRIP="$ac_cv_prog_STRIP"
2195 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2197 # We need awk for the "check" target. The system "awk" is bad on
2199 # Always define AMTAR for backward compatibility.
2201 AMTAR=${AMTAR-"${am_missing_run}tar"}
2203 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2210 # Find a good install program. We prefer a C program (faster),
2211 # so one script is as good as another. But avoid the broken or
2212 # incompatible versions:
2213 # SysV /etc/install, /usr/sbin/install
2214 # SunOS /usr/etc/install
2215 # IRIX /sbin/install
2217 # AmigaOS /C/install, which installs bootblocks on floppy discs
2218 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2219 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2220 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2221 # OS/2's system install, which has a completely different semantic
2222 # ./install, which can be erroneously created by make from ./install.sh.
2223 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2224 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2225 if test -z "$INSTALL"; then
2226 if test "${ac_cv_path_install+set}" = set; then
2227 echo $ECHO_N "(cached) $ECHO_C" >&6
2229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2233 test -z "$as_dir" && as_dir=.
2234 # Account for people who put trailing slashes in PATH elements.
2236 ./ | .// | /cC/* | \
2237 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2238 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2241 # OSF1 and SCO ODT 3.0 have their own names for install.
2242 # Don't use installbsd from OSF since it installs stuff as root
2244 for ac_prog in ginstall scoinst install; do
2245 for ac_exec_ext in '' $ac_executable_extensions; do
2246 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2247 if test $ac_prog = install &&
2248 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2249 # AIX install. It has an incompatible calling convention.
2251 elif test $ac_prog = install &&
2252 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2253 # program-specific install script used by HP pwplus--don't use.
2256 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2269 if test "${ac_cv_path_install+set}" = set; then
2270 INSTALL=$ac_cv_path_install
2272 # As a last resort, use the slow shell script. Don't cache a
2273 # value for INSTALL within a source directory, because that will
2274 # break other packages using the cache if that directory is
2275 # removed, or if the value is a relative name.
2276 INSTALL=$ac_install_sh
2279 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2280 echo "${ECHO_T}$INSTALL" >&6; }
2282 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2283 # It thinks the first close brace ends the variable substitution.
2284 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2286 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2288 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2291 ac_cpp='$CPP $CPPFLAGS'
2292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2295 if test -n "$ac_tool_prefix"; then
2296 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2297 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2298 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2299 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2300 if test "${ac_cv_prog_CC+set}" = set; then
2301 echo $ECHO_N "(cached) $ECHO_C" >&6
2303 if test -n "$CC"; then
2304 ac_cv_prog_CC="$CC" # Let the user override the test.
2306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2310 test -z "$as_dir" && as_dir=.
2311 for ac_exec_ext in '' $ac_executable_extensions; do
2312 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2313 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2314 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2324 if test -n "$CC"; then
2325 { echo "$as_me:$LINENO: result: $CC" >&5
2326 echo "${ECHO_T}$CC" >&6; }
2328 { echo "$as_me:$LINENO: result: no" >&5
2329 echo "${ECHO_T}no" >&6; }
2334 if test -z "$ac_cv_prog_CC"; then
2336 # Extract the first word of "gcc", so it can be a program name with args.
2337 set dummy gcc; ac_word=$2
2338 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2339 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2340 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2341 echo $ECHO_N "(cached) $ECHO_C" >&6
2343 if test -n "$ac_ct_CC"; then
2344 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2350 test -z "$as_dir" && as_dir=.
2351 for ac_exec_ext in '' $ac_executable_extensions; do
2352 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2353 ac_cv_prog_ac_ct_CC="gcc"
2354 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2363 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2364 if test -n "$ac_ct_CC"; then
2365 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2366 echo "${ECHO_T}$ac_ct_CC" >&6; }
2368 { echo "$as_me:$LINENO: result: no" >&5
2369 echo "${ECHO_T}no" >&6; }
2372 if test "x$ac_ct_CC" = x; then
2375 case $cross_compiling:$ac_tool_warned in
2377 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2378 whose name does not start with the host triplet. If you think this
2379 configuration is useful to you, please write to autoconf@gnu.org." >&5
2380 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2381 whose name does not start with the host triplet. If you think this
2382 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2383 ac_tool_warned=yes ;;
2391 if test -z "$CC"; then
2392 if test -n "$ac_tool_prefix"; then
2393 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2394 set dummy ${ac_tool_prefix}cc; ac_word=$2
2395 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2396 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2397 if test "${ac_cv_prog_CC+set}" = set; then
2398 echo $ECHO_N "(cached) $ECHO_C" >&6
2400 if test -n "$CC"; then
2401 ac_cv_prog_CC="$CC" # Let the user override the test.
2403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2407 test -z "$as_dir" && as_dir=.
2408 for ac_exec_ext in '' $ac_executable_extensions; do
2409 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2410 ac_cv_prog_CC="${ac_tool_prefix}cc"
2411 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2421 if test -n "$CC"; then
2422 { echo "$as_me:$LINENO: result: $CC" >&5
2423 echo "${ECHO_T}$CC" >&6; }
2425 { echo "$as_me:$LINENO: result: no" >&5
2426 echo "${ECHO_T}no" >&6; }
2432 if test -z "$CC"; then
2433 # Extract the first word of "cc", so it can be a program name with args.
2434 set dummy cc; ac_word=$2
2435 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2436 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2437 if test "${ac_cv_prog_CC+set}" = set; then
2438 echo $ECHO_N "(cached) $ECHO_C" >&6
2440 if test -n "$CC"; then
2441 ac_cv_prog_CC="$CC" # Let the user override the test.
2444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2448 test -z "$as_dir" && as_dir=.
2449 for ac_exec_ext in '' $ac_executable_extensions; do
2450 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2451 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2452 ac_prog_rejected=yes
2456 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2463 if test $ac_prog_rejected = yes; then
2464 # We found a bogon in the path, so make sure we never use it.
2465 set dummy $ac_cv_prog_CC
2467 if test $# != 0; then
2468 # We chose a different compiler from the bogus one.
2469 # However, it has the same basename, so the bogon will be chosen
2470 # first if we set CC to just the basename; use the full file name.
2472 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2478 if test -n "$CC"; then
2479 { echo "$as_me:$LINENO: result: $CC" >&5
2480 echo "${ECHO_T}$CC" >&6; }
2482 { echo "$as_me:$LINENO: result: no" >&5
2483 echo "${ECHO_T}no" >&6; }
2488 if test -z "$CC"; then
2489 if test -n "$ac_tool_prefix"; then
2490 for ac_prog in cl.exe
2492 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2493 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2494 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2495 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2496 if test "${ac_cv_prog_CC+set}" = set; then
2497 echo $ECHO_N "(cached) $ECHO_C" >&6
2499 if test -n "$CC"; then
2500 ac_cv_prog_CC="$CC" # Let the user override the test.
2502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2506 test -z "$as_dir" && as_dir=.
2507 for ac_exec_ext in '' $ac_executable_extensions; do
2508 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2509 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2510 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2520 if test -n "$CC"; then
2521 { echo "$as_me:$LINENO: result: $CC" >&5
2522 echo "${ECHO_T}$CC" >&6; }
2524 { echo "$as_me:$LINENO: result: no" >&5
2525 echo "${ECHO_T}no" >&6; }
2529 test -n "$CC" && break
2532 if test -z "$CC"; then
2534 for ac_prog in cl.exe
2536 # Extract the first word of "$ac_prog", so it can be a program name with args.
2537 set dummy $ac_prog; ac_word=$2
2538 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2539 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2540 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2541 echo $ECHO_N "(cached) $ECHO_C" >&6
2543 if test -n "$ac_ct_CC"; then
2544 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2550 test -z "$as_dir" && as_dir=.
2551 for ac_exec_ext in '' $ac_executable_extensions; do
2552 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2553 ac_cv_prog_ac_ct_CC="$ac_prog"
2554 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2563 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2564 if test -n "$ac_ct_CC"; then
2565 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2566 echo "${ECHO_T}$ac_ct_CC" >&6; }
2568 { echo "$as_me:$LINENO: result: no" >&5
2569 echo "${ECHO_T}no" >&6; }
2573 test -n "$ac_ct_CC" && break
2576 if test "x$ac_ct_CC" = x; then
2579 case $cross_compiling:$ac_tool_warned in
2581 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2582 whose name does not start with the host triplet. If you think this
2583 configuration is useful to you, please write to autoconf@gnu.org." >&5
2584 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2585 whose name does not start with the host triplet. If you think this
2586 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2587 ac_tool_warned=yes ;;
2596 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2597 See \`config.log' for more details." >&5
2598 echo "$as_me: error: no acceptable C compiler found in \$PATH
2599 See \`config.log' for more details." >&2;}
2600 { (exit 1); exit 1; }; }
2602 # Provide some information about the compiler.
2603 echo "$as_me:$LINENO: checking for C compiler version" >&5
2604 ac_compiler=`set X $ac_compile; echo $2`
2605 { (ac_try="$ac_compiler --version >&5"
2607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2608 *) ac_try_echo=$ac_try;;
2610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2611 (eval "$ac_compiler --version >&5") 2>&5
2613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2614 (exit $ac_status); }
2615 { (ac_try="$ac_compiler -v >&5"
2617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2618 *) ac_try_echo=$ac_try;;
2620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2621 (eval "$ac_compiler -v >&5") 2>&5
2623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2624 (exit $ac_status); }
2625 { (ac_try="$ac_compiler -V >&5"
2627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2628 *) ac_try_echo=$ac_try;;
2630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2631 (eval "$ac_compiler -V >&5") 2>&5
2633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2634 (exit $ac_status); }
2636 cat >conftest.$ac_ext <<_ACEOF
2639 cat confdefs.h >>conftest.$ac_ext
2640 cat >>conftest.$ac_ext <<_ACEOF
2641 /* end confdefs.h. */
2651 ac_clean_files_save=$ac_clean_files
2652 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2653 # Try to create an executable without -o first, disregard a.out.
2654 # It will help us diagnose broken compilers, and finding out an intuition
2656 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2657 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2658 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2660 # List of possible output files, starting from the most likely.
2661 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2662 # only as a last resort. b.out is created by i960 compilers.
2663 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2665 # The IRIX 6 linker writes into existing files which may not be
2666 # executable, retaining their permissions. Remove them first so a
2667 # subsequent execution test works.
2669 for ac_file in $ac_files
2672 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2673 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2678 if { (ac_try="$ac_link_default"
2680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2681 *) ac_try_echo=$ac_try;;
2683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2684 (eval "$ac_link_default") 2>&5
2686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2687 (exit $ac_status); }; then
2688 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2689 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2690 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2691 # so that the user can short-circuit this test for compilers unknown to
2693 for ac_file in $ac_files ''
2695 test -f "$ac_file" || continue
2697 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2700 # We found the default executable, but exeext='' is most
2704 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2706 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2708 # We set ac_cv_exeext here because the later test for it is not
2709 # safe: cross compilers may not add the suffix if given an `-o'
2710 # argument, so we may need to know it at that point already.
2711 # Even if this section looks crufty: it has the advantage of
2718 test "$ac_cv_exeext" = no && ac_cv_exeext=
2724 { echo "$as_me:$LINENO: result: $ac_file" >&5
2725 echo "${ECHO_T}$ac_file" >&6; }
2726 if test -z "$ac_file"; then
2727 echo "$as_me: failed program was:" >&5
2728 sed 's/^/| /' conftest.$ac_ext >&5
2730 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2731 See \`config.log' for more details." >&5
2732 echo "$as_me: error: C compiler cannot create executables
2733 See \`config.log' for more details." >&2;}
2734 { (exit 77); exit 77; }; }
2737 ac_exeext=$ac_cv_exeext
2739 # Check that the compiler produces executables we can run. If not, either
2740 # the compiler is broken, or we cross compile.
2741 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2742 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2743 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2744 # If not cross compiling, check that we can run a simple program.
2745 if test "$cross_compiling" != yes; then
2746 if { ac_try='./$ac_file'
2747 { (case "(($ac_try" in
2748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2749 *) ac_try_echo=$ac_try;;
2751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2752 (eval "$ac_try") 2>&5
2754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2755 (exit $ac_status); }; }; then
2758 if test "$cross_compiling" = maybe; then
2761 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2762 If you meant to cross compile, use \`--host'.
2763 See \`config.log' for more details." >&5
2764 echo "$as_me: error: cannot run C compiled programs.
2765 If you meant to cross compile, use \`--host'.
2766 See \`config.log' for more details." >&2;}
2767 { (exit 1); exit 1; }; }
2771 { echo "$as_me:$LINENO: result: yes" >&5
2772 echo "${ECHO_T}yes" >&6; }
2774 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2775 ac_clean_files=$ac_clean_files_save
2776 # Check that the compiler produces executables we can run. If not, either
2777 # the compiler is broken, or we cross compile.
2778 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2779 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2780 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2781 echo "${ECHO_T}$cross_compiling" >&6; }
2783 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2784 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2785 if { (ac_try="$ac_link"
2787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2788 *) ac_try_echo=$ac_try;;
2790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2791 (eval "$ac_link") 2>&5
2793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2794 (exit $ac_status); }; then
2795 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2796 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2797 # work properly (i.e., refer to `conftest.exe'), while it won't with
2799 for ac_file in conftest.exe conftest conftest.*; do
2800 test -f "$ac_file" || continue
2802 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2803 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2809 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2810 See \`config.log' for more details." >&5
2811 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2812 See \`config.log' for more details." >&2;}
2813 { (exit 1); exit 1; }; }
2816 rm -f conftest$ac_cv_exeext
2817 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2818 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2820 rm -f conftest.$ac_ext
2821 EXEEXT=$ac_cv_exeext
2823 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2824 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2825 if test "${ac_cv_objext+set}" = set; then
2826 echo $ECHO_N "(cached) $ECHO_C" >&6
2828 cat >conftest.$ac_ext <<_ACEOF
2831 cat confdefs.h >>conftest.$ac_ext
2832 cat >>conftest.$ac_ext <<_ACEOF
2833 /* end confdefs.h. */
2843 rm -f conftest.o conftest.obj
2844 if { (ac_try="$ac_compile"
2846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2847 *) ac_try_echo=$ac_try;;
2849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2850 (eval "$ac_compile") 2>&5
2852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2853 (exit $ac_status); }; then
2854 for ac_file in conftest.o conftest.obj conftest.*; do
2855 test -f "$ac_file" || continue;
2857 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2858 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2863 echo "$as_me: failed program was:" >&5
2864 sed 's/^/| /' conftest.$ac_ext >&5
2866 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2867 See \`config.log' for more details." >&5
2868 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2869 See \`config.log' for more details." >&2;}
2870 { (exit 1); exit 1; }; }
2873 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2875 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2876 echo "${ECHO_T}$ac_cv_objext" >&6; }
2877 OBJEXT=$ac_cv_objext
2879 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2880 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2881 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2882 echo $ECHO_N "(cached) $ECHO_C" >&6
2884 cat >conftest.$ac_ext <<_ACEOF
2887 cat confdefs.h >>conftest.$ac_ext
2888 cat >>conftest.$ac_ext <<_ACEOF
2889 /* end confdefs.h. */
2902 rm -f conftest.$ac_objext
2903 if { (ac_try="$ac_compile"
2905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2906 *) ac_try_echo=$ac_try;;
2908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2909 (eval "$ac_compile") 2>conftest.er1
2911 grep -v '^ *+' conftest.er1 >conftest.err
2913 cat conftest.err >&5
2914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2915 (exit $ac_status); } && {
2916 test -z "$ac_c_werror_flag" ||
2917 test ! -s conftest.err
2918 } && test -s conftest.$ac_objext; then
2921 echo "$as_me: failed program was:" >&5
2922 sed 's/^/| /' conftest.$ac_ext >&5
2927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2928 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2931 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2932 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2933 GCC=`test $ac_compiler_gnu = yes && echo yes`
2934 ac_test_CFLAGS=${CFLAGS+set}
2935 ac_save_CFLAGS=$CFLAGS
2936 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2937 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2938 if test "${ac_cv_prog_cc_g+set}" = set; then
2939 echo $ECHO_N "(cached) $ECHO_C" >&6
2941 ac_save_c_werror_flag=$ac_c_werror_flag
2942 ac_c_werror_flag=yes
2945 cat >conftest.$ac_ext <<_ACEOF
2948 cat confdefs.h >>conftest.$ac_ext
2949 cat >>conftest.$ac_ext <<_ACEOF
2950 /* end confdefs.h. */
2960 rm -f conftest.$ac_objext
2961 if { (ac_try="$ac_compile"
2963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2964 *) ac_try_echo=$ac_try;;
2966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2967 (eval "$ac_compile") 2>conftest.er1
2969 grep -v '^ *+' conftest.er1 >conftest.err
2971 cat conftest.err >&5
2972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2973 (exit $ac_status); } && {
2974 test -z "$ac_c_werror_flag" ||
2975 test ! -s conftest.err
2976 } && test -s conftest.$ac_objext; then
2979 echo "$as_me: failed program was:" >&5
2980 sed 's/^/| /' conftest.$ac_ext >&5
2983 cat >conftest.$ac_ext <<_ACEOF
2986 cat confdefs.h >>conftest.$ac_ext
2987 cat >>conftest.$ac_ext <<_ACEOF
2988 /* end confdefs.h. */
2998 rm -f conftest.$ac_objext
2999 if { (ac_try="$ac_compile"
3001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3002 *) ac_try_echo=$ac_try;;
3004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3005 (eval "$ac_compile") 2>conftest.er1
3007 grep -v '^ *+' conftest.er1 >conftest.err
3009 cat conftest.err >&5
3010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3011 (exit $ac_status); } && {
3012 test -z "$ac_c_werror_flag" ||
3013 test ! -s conftest.err
3014 } && test -s conftest.$ac_objext; then
3017 echo "$as_me: failed program was:" >&5
3018 sed 's/^/| /' conftest.$ac_ext >&5
3020 ac_c_werror_flag=$ac_save_c_werror_flag
3022 cat >conftest.$ac_ext <<_ACEOF
3025 cat confdefs.h >>conftest.$ac_ext
3026 cat >>conftest.$ac_ext <<_ACEOF
3027 /* end confdefs.h. */
3037 rm -f conftest.$ac_objext
3038 if { (ac_try="$ac_compile"
3040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3041 *) ac_try_echo=$ac_try;;
3043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3044 (eval "$ac_compile") 2>conftest.er1
3046 grep -v '^ *+' conftest.er1 >conftest.err
3048 cat conftest.err >&5
3049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3050 (exit $ac_status); } && {
3051 test -z "$ac_c_werror_flag" ||
3052 test ! -s conftest.err
3053 } && test -s conftest.$ac_objext; then
3056 echo "$as_me: failed program was:" >&5
3057 sed 's/^/| /' conftest.$ac_ext >&5
3062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3069 ac_c_werror_flag=$ac_save_c_werror_flag
3071 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3072 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3073 if test "$ac_test_CFLAGS" = set; then
3074 CFLAGS=$ac_save_CFLAGS
3075 elif test $ac_cv_prog_cc_g = yes; then
3076 if test "$GCC" = yes; then
3082 if test "$GCC" = yes; then
3088 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3089 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3090 if test "${ac_cv_prog_cc_c89+set}" = set; then
3091 echo $ECHO_N "(cached) $ECHO_C" >&6
3093 ac_cv_prog_cc_c89=no
3095 cat >conftest.$ac_ext <<_ACEOF
3098 cat confdefs.h >>conftest.$ac_ext
3099 cat >>conftest.$ac_ext <<_ACEOF
3100 /* end confdefs.h. */
3103 #include <sys/types.h>
3104 #include <sys/stat.h>
3105 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3106 struct buf { int x; };
3107 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3108 static char *e (p, i)
3114 static char *f (char * (*g) (char **, int), char **p, ...)
3119 s = g (p, va_arg (v,int));
3124 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3125 function prototypes and stuff, but not '\xHH' hex character constants.
3126 These don't provoke an error unfortunately, instead are silently treated
3127 as 'x'. The following induces an error, until -std is added to get
3128 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3129 array size at least. It's necessary to write '\x00'==0 to get something
3130 that's true only with -std. */
3131 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3133 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3134 inside strings and character constants. */
3136 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3138 int test (int i, double x);
3139 struct s1 {int (*f) (int a);};
3140 struct s2 {int (*f) (double a);};
3141 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3147 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3152 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3153 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3155 CC="$ac_save_CC $ac_arg"
3156 rm -f conftest.$ac_objext
3157 if { (ac_try="$ac_compile"
3159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3160 *) ac_try_echo=$ac_try;;
3162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3163 (eval "$ac_compile") 2>conftest.er1
3165 grep -v '^ *+' conftest.er1 >conftest.err
3167 cat conftest.err >&5
3168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3169 (exit $ac_status); } && {
3170 test -z "$ac_c_werror_flag" ||
3171 test ! -s conftest.err
3172 } && test -s conftest.$ac_objext; then
3173 ac_cv_prog_cc_c89=$ac_arg
3175 echo "$as_me: failed program was:" >&5
3176 sed 's/^/| /' conftest.$ac_ext >&5
3181 rm -f core conftest.err conftest.$ac_objext
3182 test "x$ac_cv_prog_cc_c89" != "xno" && break
3184 rm -f conftest.$ac_ext
3189 case "x$ac_cv_prog_cc_c89" in
3191 { echo "$as_me:$LINENO: result: none needed" >&5
3192 echo "${ECHO_T}none needed" >&6; } ;;
3194 { echo "$as_me:$LINENO: result: unsupported" >&5
3195 echo "${ECHO_T}unsupported" >&6; } ;;
3197 CC="$CC $ac_cv_prog_cc_c89"
3198 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3199 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3204 ac_cpp='$CPP $CPPFLAGS'
3205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3208 DEPDIR="${am__leading_dot}deps"
3210 ac_config_commands="$ac_config_commands depfiles"
3213 am_make=${MAKE-make}
3214 cat > confinc << 'END'
3219 # If we don't find an include directive, just comment out the code.
3220 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3221 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
3225 # First try GNU make style include.
3226 echo "include confinc" > confmf
3227 # We grep out `Entering directory' and `Leaving directory'
3228 # messages which can occur if `w' ends up in MAKEFLAGS.
3229 # In particular we don't look at `^make:' because GNU make might
3230 # be invoked under some other name (usually "gmake"), in which
3231 # case it prints its new name instead of `make'.
3232 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3237 # Now try BSD make style include.
3238 if test "$am__include" = "#"; then
3239 echo '.include "confinc"' > confmf
3240 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3241 am__include=.include
3248 { echo "$as_me:$LINENO: result: $_am_result" >&5
3249 echo "${ECHO_T}$_am_result" >&6; }
3250 rm -f confinc confmf
3252 # Check whether --enable-dependency-tracking was given.
3253 if test "${enable_dependency_tracking+set}" = set; then
3254 enableval=$enable_dependency_tracking;
3257 if test "x$enable_dependency_tracking" != xno; then
3258 am_depcomp="$ac_aux_dir/depcomp"
3261 if test "x$enable_dependency_tracking" != xno; then
3271 depcc="$CC" am_compiler_list=
3273 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3274 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3275 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3276 echo $ECHO_N "(cached) $ECHO_C" >&6
3278 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3279 # We make a subdir and do the tests there. Otherwise we can end up
3280 # making bogus files that we don't know about and never remove. For
3281 # instance it was reported that on HP-UX the gcc test will end up
3282 # making a dummy file named `D' -- because `-MD' means `put the output
3285 # Copy depcomp to subdir because otherwise we won't find it if we're
3286 # using a relative directory.
3287 cp "$am_depcomp" conftest.dir
3289 # We will build objects and dependencies in a subdirectory because
3290 # it helps to detect inapplicable dependency modes. For instance
3291 # both Tru64's cc and ICC support -MD to output dependencies as a
3292 # side effect of compilation, but ICC will put the dependencies in
3293 # the current directory while Tru64 will put them in the object
3297 am_cv_CC_dependencies_compiler_type=none
3298 if test "$am_compiler_list" = ""; then
3299 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3301 for depmode in $am_compiler_list; do
3302 # Setup a source with many dependencies, because some compilers
3303 # like to wrap large dependency lists on column 80 (with \), and
3304 # we should not choose a depcomp mode which is confused by this.
3306 # We need to recreate these files for each test, as the compiler may
3307 # overwrite some of them when testing with obscure command lines.
3308 # This happens at least with the AIX C compiler.
3310 for i in 1 2 3 4 5 6; do
3311 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3312 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3313 # Solaris 8's {/usr,}/bin/sh.
3314 touch sub/conftst$i.h
3316 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3320 # after this tag, mechanisms are not by side-effect, so they'll
3321 # only be used when explicitly requested
3322 if test "x$enable_dependency_tracking" = xyes; then
3330 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3331 # mode. It turns out that the SunPro C++ compiler does not properly
3332 # handle `-M -o', and we need to detect this.
3333 if depmode=$depmode \
3334 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3335 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3336 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3337 >/dev/null 2>conftest.err &&
3338 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3339 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3340 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3341 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3342 # icc doesn't choke on unknown options, it will just issue warnings
3343 # or remarks (even with -Werror). So we grep stderr for any message
3344 # that says an option was ignored or not supported.
3345 # When given -MP, icc 7.0 and 7.1 complain thusly:
3346 # icc: Command line warning: ignoring option '-M'; no argument required
3347 # The diagnosis changed in icc 8.0:
3348 # icc: Command line remark: option '-MP' not supported
3349 if (grep 'ignoring option' conftest.err ||
3350 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3351 am_cv_CC_dependencies_compiler_type=$depmode
3360 am_cv_CC_dependencies_compiler_type=none
3364 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3365 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3366 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3369 test "x$enable_dependency_tracking" != xno \
3370 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3372 am__fastdepCC_FALSE='#'
3374 am__fastdepCC_TRUE='#'
3375 am__fastdepCC_FALSE=
3381 ac_cpp='$CPP $CPPFLAGS'
3382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3385 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3386 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3387 # On Suns, sometimes $CPP names a directory.
3388 if test -n "$CPP" && test -d "$CPP"; then
3391 if test -z "$CPP"; then
3392 if test "${ac_cv_prog_CPP+set}" = set; then
3393 echo $ECHO_N "(cached) $ECHO_C" >&6
3395 # Double quotes because CPP needs to be expanded
3396 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3399 for ac_c_preproc_warn_flag in '' yes
3401 # Use a header file that comes with gcc, so configuring glibc
3402 # with a fresh cross-compiler works.
3403 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3404 # <limits.h> exists even on freestanding compilers.
3405 # On the NeXT, cc -E runs the code through the compiler's parser,
3406 # not just through cpp. "Syntax error" is here to catch this case.
3407 cat >conftest.$ac_ext <<_ACEOF
3410 cat confdefs.h >>conftest.$ac_ext
3411 cat >>conftest.$ac_ext <<_ACEOF
3412 /* end confdefs.h. */
3414 # include <limits.h>
3416 # include <assert.h>
3420 if { (ac_try="$ac_cpp conftest.$ac_ext"
3422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3423 *) ac_try_echo=$ac_try;;
3425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3426 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3428 grep -v '^ *+' conftest.er1 >conftest.err
3430 cat conftest.err >&5
3431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3432 (exit $ac_status); } >/dev/null && {
3433 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3434 test ! -s conftest.err
3438 echo "$as_me: failed program was:" >&5
3439 sed 's/^/| /' conftest.$ac_ext >&5
3441 # Broken: fails on valid input.
3445 rm -f conftest.err conftest.$ac_ext
3447 # OK, works on sane cases. Now check whether nonexistent headers
3448 # can be detected and how.
3449 cat >conftest.$ac_ext <<_ACEOF
3452 cat confdefs.h >>conftest.$ac_ext
3453 cat >>conftest.$ac_ext <<_ACEOF
3454 /* end confdefs.h. */
3455 #include <ac_nonexistent.h>
3457 if { (ac_try="$ac_cpp conftest.$ac_ext"
3459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3460 *) ac_try_echo=$ac_try;;
3462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3463 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3465 grep -v '^ *+' conftest.er1 >conftest.err
3467 cat conftest.err >&5
3468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3469 (exit $ac_status); } >/dev/null && {
3470 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3471 test ! -s conftest.err
3473 # Broken: success on invalid input.
3476 echo "$as_me: failed program was:" >&5
3477 sed 's/^/| /' conftest.$ac_ext >&5
3479 # Passes both tests.
3484 rm -f conftest.err conftest.$ac_ext
3487 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3488 rm -f conftest.err conftest.$ac_ext
3489 if $ac_preproc_ok; then
3501 { echo "$as_me:$LINENO: result: $CPP" >&5
3502 echo "${ECHO_T}$CPP" >&6; }
3504 for ac_c_preproc_warn_flag in '' yes
3506 # Use a header file that comes with gcc, so configuring glibc
3507 # with a fresh cross-compiler works.
3508 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3509 # <limits.h> exists even on freestanding compilers.
3510 # On the NeXT, cc -E runs the code through the compiler's parser,
3511 # not just through cpp. "Syntax error" is here to catch this case.
3512 cat >conftest.$ac_ext <<_ACEOF
3515 cat confdefs.h >>conftest.$ac_ext
3516 cat >>conftest.$ac_ext <<_ACEOF
3517 /* end confdefs.h. */
3519 # include <limits.h>
3521 # include <assert.h>
3525 if { (ac_try="$ac_cpp conftest.$ac_ext"
3527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3528 *) ac_try_echo=$ac_try;;
3530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3531 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3533 grep -v '^ *+' conftest.er1 >conftest.err
3535 cat conftest.err >&5
3536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3537 (exit $ac_status); } >/dev/null && {
3538 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3539 test ! -s conftest.err
3543 echo "$as_me: failed program was:" >&5
3544 sed 's/^/| /' conftest.$ac_ext >&5
3546 # Broken: fails on valid input.
3550 rm -f conftest.err conftest.$ac_ext
3552 # OK, works on sane cases. Now check whether nonexistent headers
3553 # can be detected and how.
3554 cat >conftest.$ac_ext <<_ACEOF
3557 cat confdefs.h >>conftest.$ac_ext
3558 cat >>conftest.$ac_ext <<_ACEOF
3559 /* end confdefs.h. */
3560 #include <ac_nonexistent.h>
3562 if { (ac_try="$ac_cpp conftest.$ac_ext"
3564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3565 *) ac_try_echo=$ac_try;;
3567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3568 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3570 grep -v '^ *+' conftest.er1 >conftest.err
3572 cat conftest.err >&5
3573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3574 (exit $ac_status); } >/dev/null && {
3575 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3576 test ! -s conftest.err
3578 # Broken: success on invalid input.
3581 echo "$as_me: failed program was:" >&5
3582 sed 's/^/| /' conftest.$ac_ext >&5
3584 # Passes both tests.
3589 rm -f conftest.err conftest.$ac_ext
3592 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3593 rm -f conftest.err conftest.$ac_ext
3594 if $ac_preproc_ok; then
3597 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3598 See \`config.log' for more details." >&5
3599 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3600 See \`config.log' for more details." >&2;}
3601 { (exit 1); exit 1; }; }
3605 ac_cpp='$CPP $CPPFLAGS'
3606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3611 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3612 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3613 if test "${ac_cv_path_GREP+set}" = set; then
3614 echo $ECHO_N "(cached) $ECHO_C" >&6
3616 # Extract the first word of "grep ggrep" to use in msg output
3617 if test -z "$GREP"; then
3618 set dummy grep ggrep; ac_prog_name=$2
3619 if test "${ac_cv_path_GREP+set}" = set; then
3620 echo $ECHO_N "(cached) $ECHO_C" >&6
3622 ac_path_GREP_found=false
3623 # Loop through the user's path and test for each of PROGNAME-LIST
3624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3625 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3628 test -z "$as_dir" && as_dir=.
3629 for ac_prog in grep ggrep; do
3630 for ac_exec_ext in '' $ac_executable_extensions; do
3631 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3632 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3633 # Check for GNU ac_path_GREP and select it if it is found.
3634 # Check for GNU $ac_path_GREP
3635 case `"$ac_path_GREP" --version 2>&1` in
3637 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3640 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3643 cat "conftest.in" "conftest.in" >"conftest.tmp"
3644 mv "conftest.tmp" "conftest.in"
3645 cp "conftest.in" "conftest.nl"
3646 echo 'GREP' >> "conftest.nl"
3647 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3648 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3649 ac_count=`expr $ac_count + 1`
3650 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3651 # Best one so far, save it but keep looking for a better one
3652 ac_cv_path_GREP="$ac_path_GREP"
3653 ac_path_GREP_max=$ac_count
3655 # 10*(2^10) chars as input seems more than enough
3656 test $ac_count -gt 10 && break
3658 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3662 $ac_path_GREP_found && break 3
3672 GREP="$ac_cv_path_GREP"
3673 if test -z "$GREP"; then
3674 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3675 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3676 { (exit 1); exit 1; }; }
3680 ac_cv_path_GREP=$GREP
3685 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3686 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3687 GREP="$ac_cv_path_GREP"
3690 { echo "$as_me:$LINENO: checking for egrep" >&5
3691 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3692 if test "${ac_cv_path_EGREP+set}" = set; then
3693 echo $ECHO_N "(cached) $ECHO_C" >&6
3695 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3696 then ac_cv_path_EGREP="$GREP -E"
3698 # Extract the first word of "egrep" to use in msg output
3699 if test -z "$EGREP"; then
3700 set dummy egrep; ac_prog_name=$2
3701 if test "${ac_cv_path_EGREP+set}" = set; then
3702 echo $ECHO_N "(cached) $ECHO_C" >&6
3704 ac_path_EGREP_found=false
3705 # Loop through the user's path and test for each of PROGNAME-LIST
3706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3707 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3710 test -z "$as_dir" && as_dir=.
3711 for ac_prog in egrep; do
3712 for ac_exec_ext in '' $ac_executable_extensions; do
3713 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3714 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3715 # Check for GNU ac_path_EGREP and select it if it is found.
3716 # Check for GNU $ac_path_EGREP
3717 case `"$ac_path_EGREP" --version 2>&1` in
3719 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3722 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3725 cat "conftest.in" "conftest.in" >"conftest.tmp"
3726 mv "conftest.tmp" "conftest.in"
3727 cp "conftest.in" "conftest.nl"
3728 echo 'EGREP' >> "conftest.nl"
3729 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3730 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3731 ac_count=`expr $ac_count + 1`
3732 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3733 # Best one so far, save it but keep looking for a better one
3734 ac_cv_path_EGREP="$ac_path_EGREP"
3735 ac_path_EGREP_max=$ac_count
3737 # 10*(2^10) chars as input seems more than enough
3738 test $ac_count -gt 10 && break
3740 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3744 $ac_path_EGREP_found && break 3
3754 EGREP="$ac_cv_path_EGREP"
3755 if test -z "$EGREP"; then
3756 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3757 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3758 { (exit 1); exit 1; }; }
3762 ac_cv_path_EGREP=$EGREP
3768 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3769 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3770 EGREP="$ac_cv_path_EGREP"
3773 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3774 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
3775 if test "${ac_cv_header_stdc+set}" = set; then
3776 echo $ECHO_N "(cached) $ECHO_C" >&6
3778 cat >conftest.$ac_ext <<_ACEOF
3781 cat confdefs.h >>conftest.$ac_ext
3782 cat >>conftest.$ac_ext <<_ACEOF
3783 /* end confdefs.h. */
3797 rm -f conftest.$ac_objext
3798 if { (ac_try="$ac_compile"
3800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3801 *) ac_try_echo=$ac_try;;
3803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3804 (eval "$ac_compile") 2>conftest.er1
3806 grep -v '^ *+' conftest.er1 >conftest.err
3808 cat conftest.err >&5
3809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3810 (exit $ac_status); } && {
3811 test -z "$ac_c_werror_flag" ||
3812 test ! -s conftest.err
3813 } && test -s conftest.$ac_objext; then
3814 ac_cv_header_stdc=yes
3816 echo "$as_me: failed program was:" >&5
3817 sed 's/^/| /' conftest.$ac_ext >&5
3819 ac_cv_header_stdc=no
3822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3824 if test $ac_cv_header_stdc = yes; then
3825 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3826 cat >conftest.$ac_ext <<_ACEOF
3829 cat confdefs.h >>conftest.$ac_ext
3830 cat >>conftest.$ac_ext <<_ACEOF
3831 /* end confdefs.h. */
3835 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3836 $EGREP "memchr" >/dev/null 2>&1; then
3839 ac_cv_header_stdc=no
3845 if test $ac_cv_header_stdc = yes; then
3846 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3847 cat >conftest.$ac_ext <<_ACEOF
3850 cat confdefs.h >>conftest.$ac_ext
3851 cat >>conftest.$ac_ext <<_ACEOF
3852 /* end confdefs.h. */
3856 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3857 $EGREP "free" >/dev/null 2>&1; then
3860 ac_cv_header_stdc=no
3866 if test $ac_cv_header_stdc = yes; then
3867 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3868 if test "$cross_compiling" = yes; then
3871 cat >conftest.$ac_ext <<_ACEOF
3874 cat confdefs.h >>conftest.$ac_ext
3875 cat >>conftest.$ac_ext <<_ACEOF
3876 /* end confdefs.h. */
3879 #if ((' ' & 0x0FF) == 0x020)
3880 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3881 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3883 # define ISLOWER(c) \
3884 (('a' <= (c) && (c) <= 'i') \
3885 || ('j' <= (c) && (c) <= 'r') \
3886 || ('s' <= (c) && (c) <= 'z'))
3887 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3890 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3895 for (i = 0; i < 256; i++)
3896 if (XOR (islower (i), ISLOWER (i))
3897 || toupper (i) != TOUPPER (i))
3902 rm -f conftest$ac_exeext
3903 if { (ac_try="$ac_link"
3905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3906 *) ac_try_echo=$ac_try;;
3908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3909 (eval "$ac_link") 2>&5
3911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3912 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3913 { (case "(($ac_try" in
3914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3915 *) ac_try_echo=$ac_try;;
3917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3918 (eval "$ac_try") 2>&5
3920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3921 (exit $ac_status); }; }; then
3924 echo "$as_me: program exited with status $ac_status" >&5
3925 echo "$as_me: failed program was:" >&5
3926 sed 's/^/| /' conftest.$ac_ext >&5
3929 ac_cv_header_stdc=no
3931 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3937 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3938 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
3939 if test $ac_cv_header_stdc = yes; then
3941 cat >>confdefs.h <<\_ACEOF
3942 #define STDC_HEADERS 1
3950 # Check whether --enable-xspf was given.
3951 if test "${enable_xspf+set}" = set; then
3952 enableval=$enable_xspf;
3953 FAPG_XSPF=$enableval
3962 if test "${FAPG_XSPF}" = "1"; then
3963 { echo "$as_me:$LINENO: XSPF support enabled (configure with --disable-xspf to disable)" >&5
3964 echo "$as_me: XSPF support enabled (configure with --disable-xspf to disable)" >&6;}
3966 { echo "$as_me:$LINENO: XSPF support disabled" >&5
3967 echo "$as_me: XSPF support disabled" >&6;}
3973 # Check whether --with-uriparser was given.
3974 if test "${with_uriparser+set}" = set; then
3975 withval=$with_uriparser;
3976 if test "x${withval}" = "x"; then
3977 { { echo "$as_me:$LINENO: error: No path given for option --with-uriparser" >&5
3978 echo "$as_me: error: No path given for option --with-uriparser" >&2;}
3979 { (exit 1); exit 1; }; }
3981 LDFLAGS="-L${withval}/lib ${LDFLAGS}"
3982 CPPFLAGS="-I${withval}/include ${CPPFLAGS}"
3988 # Check whether --with-uriparser-inc was given.
3989 if test "${with_uriparser_inc+set}" = set; then
3990 withval=$with_uriparser_inc;
3991 if test "x${withval}" = "x"; then
3992 { { echo "$as_me:$LINENO: error: No path given for option --with-uriparser-inc" >&5
3993 echo "$as_me: error: No path given for option --with-uriparser-inc" >&2;}
3994 { (exit 1); exit 1; }; }
3996 CPPFLAGS="-I${withval} ${CPPFLAGS}"
4002 # Check whether --with-uriparser-lib was given.
4003 if test "${with_uriparser_lib+set}" = set; then
4004 withval=$with_uriparser_lib;
4005 if test "x${withval}" = "x"; then
4006 { { echo "$as_me:$LINENO: error: No path given for option --with-uriparser-lib" >&5
4007 echo "$as_me: error: No path given for option --with-uriparser-lib" >&2;}
4008 { (exit 1); exit 1; }; }
4010 LDFLAGS="-L${withval} ${LDFLAGS}"
4017 if test "${FAPG_XSPF}" = "1"; then
4018 URIPARSER_MISSING="Please install uriparser 0.6.3 or later.
4019 On a Debian-based system enter 'sudo apt-get install liburiparser-dev'."
4021 { echo "$as_me:$LINENO: checking for uriParseUriA in -luriparser" >&5
4022 echo $ECHO_N "checking for uriParseUriA in -luriparser... $ECHO_C" >&6; }
4023 if test "${ac_cv_lib_uriparser_uriParseUriA+set}" = set; then
4024 echo $ECHO_N "(cached) $ECHO_C" >&6
4026 ac_check_lib_save_LIBS=$LIBS
4027 LIBS="-luriparser $LIBS"
4028 cat >conftest.$ac_ext <<_ACEOF
4031 cat confdefs.h >>conftest.$ac_ext
4032 cat >>conftest.$ac_ext <<_ACEOF
4033 /* end confdefs.h. */
4035 /* Override any GCC internal prototype to avoid an error.
4036 Use char because int might match the return type of a GCC
4037 builtin and then its argument prototype would still apply. */
4041 char uriParseUriA ();
4045 return uriParseUriA ();
4050 rm -f conftest.$ac_objext conftest$ac_exeext
4051 if { (ac_try="$ac_link"
4053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4054 *) ac_try_echo=$ac_try;;
4056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4057 (eval "$ac_link") 2>conftest.er1
4059 grep -v '^ *+' conftest.er1 >conftest.err
4061 cat conftest.err >&5
4062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4063 (exit $ac_status); } && {
4064 test -z "$ac_c_werror_flag" ||
4065 test ! -s conftest.err
4066 } && test -s conftest$ac_exeext &&
4067 $as_test_x conftest$ac_exeext; then
4068 ac_cv_lib_uriparser_uriParseUriA=yes
4070 echo "$as_me: failed program was:" >&5
4071 sed 's/^/| /' conftest.$ac_ext >&5
4073 ac_cv_lib_uriparser_uriParseUriA=no
4076 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4077 conftest$ac_exeext conftest.$ac_ext
4078 LIBS=$ac_check_lib_save_LIBS
4080 { echo "$as_me:$LINENO: result: $ac_cv_lib_uriparser_uriParseUriA" >&5
4081 echo "${ECHO_T}$ac_cv_lib_uriparser_uriParseUriA" >&6; }
4082 if test $ac_cv_lib_uriparser_uriParseUriA = yes; then
4083 cat >>confdefs.h <<_ACEOF
4084 #define HAVE_LIBURIPARSER 1
4087 LIBS="-luriparser $LIBS"
4090 { { echo "$as_me:$LINENO: error: ${URIPARSER_MISSING}" >&5
4091 echo "$as_me: error: ${URIPARSER_MISSING}" >&2;}
4092 { (exit 1); exit 1; }; }
4095 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4105 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4106 inttypes.h stdint.h unistd.h
4108 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4109 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4110 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4111 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4112 echo $ECHO_N "(cached) $ECHO_C" >&6
4114 cat >conftest.$ac_ext <<_ACEOF
4117 cat confdefs.h >>conftest.$ac_ext
4118 cat >>conftest.$ac_ext <<_ACEOF
4119 /* end confdefs.h. */
4120 $ac_includes_default
4122 #include <$ac_header>
4124 rm -f conftest.$ac_objext
4125 if { (ac_try="$ac_compile"
4127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4128 *) ac_try_echo=$ac_try;;
4130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4131 (eval "$ac_compile") 2>conftest.er1
4133 grep -v '^ *+' conftest.er1 >conftest.err
4135 cat conftest.err >&5
4136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4137 (exit $ac_status); } && {
4138 test -z "$ac_c_werror_flag" ||
4139 test ! -s conftest.err
4140 } && test -s conftest.$ac_objext; then
4141 eval "$as_ac_Header=yes"
4143 echo "$as_me: failed program was:" >&5
4144 sed 's/^/| /' conftest.$ac_ext >&5
4146 eval "$as_ac_Header=no"
4149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4151 ac_res=`eval echo '${'$as_ac_Header'}'`
4152 { echo "$as_me:$LINENO: result: $ac_res" >&5
4153 echo "${ECHO_T}$ac_res" >&6; }
4154 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4155 cat >>confdefs.h <<_ACEOF
4156 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4164 if test "${ac_cv_header_uriparser_Uri_h+set}" = set; then
4165 { echo "$as_me:$LINENO: checking for uriparser/Uri.h" >&5
4166 echo $ECHO_N "checking for uriparser/Uri.h... $ECHO_C" >&6; }
4167 if test "${ac_cv_header_uriparser_Uri_h+set}" = set; then
4168 echo $ECHO_N "(cached) $ECHO_C" >&6
4170 { echo "$as_me:$LINENO: result: $ac_cv_header_uriparser_Uri_h" >&5
4171 echo "${ECHO_T}$ac_cv_header_uriparser_Uri_h" >&6; }
4173 # Is the header compilable?
4174 { echo "$as_me:$LINENO: checking uriparser/Uri.h usability" >&5
4175 echo $ECHO_N "checking uriparser/Uri.h usability... $ECHO_C" >&6; }
4176 cat >conftest.$ac_ext <<_ACEOF
4179 cat confdefs.h >>conftest.$ac_ext
4180 cat >>conftest.$ac_ext <<_ACEOF
4181 /* end confdefs.h. */
4182 $ac_includes_default
4183 #include <uriparser/Uri.h>
4185 rm -f conftest.$ac_objext
4186 if { (ac_try="$ac_compile"
4188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4189 *) ac_try_echo=$ac_try;;
4191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4192 (eval "$ac_compile") 2>conftest.er1
4194 grep -v '^ *+' conftest.er1 >conftest.err
4196 cat conftest.err >&5
4197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4198 (exit $ac_status); } && {
4199 test -z "$ac_c_werror_flag" ||
4200 test ! -s conftest.err
4201 } && test -s conftest.$ac_objext; then
4202 ac_header_compiler=yes
4204 echo "$as_me: failed program was:" >&5
4205 sed 's/^/| /' conftest.$ac_ext >&5
4207 ac_header_compiler=no
4210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4211 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4212 echo "${ECHO_T}$ac_header_compiler" >&6; }
4214 # Is the header present?
4215 { echo "$as_me:$LINENO: checking uriparser/Uri.h presence" >&5
4216 echo $ECHO_N "checking uriparser/Uri.h presence... $ECHO_C" >&6; }
4217 cat >conftest.$ac_ext <<_ACEOF
4220 cat confdefs.h >>conftest.$ac_ext
4221 cat >>conftest.$ac_ext <<_ACEOF
4222 /* end confdefs.h. */
4223 #include <uriparser/Uri.h>
4225 if { (ac_try="$ac_cpp conftest.$ac_ext"
4227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4228 *) ac_try_echo=$ac_try;;
4230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4231 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4233 grep -v '^ *+' conftest.er1 >conftest.err
4235 cat conftest.err >&5
4236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4237 (exit $ac_status); } >/dev/null && {
4238 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4239 test ! -s conftest.err
4241 ac_header_preproc=yes
4243 echo "$as_me: failed program was:" >&5
4244 sed 's/^/| /' conftest.$ac_ext >&5
4246 ac_header_preproc=no
4249 rm -f conftest.err conftest.$ac_ext
4250 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4251 echo "${ECHO_T}$ac_header_preproc" >&6; }
4253 # So? What about this header?
4254 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4256 { echo "$as_me:$LINENO: WARNING: uriparser/Uri.h: accepted by the compiler, rejected by the preprocessor!" >&5
4257 echo "$as_me: WARNING: uriparser/Uri.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4258 { echo "$as_me:$LINENO: WARNING: uriparser/Uri.h: proceeding with the compiler's result" >&5
4259 echo "$as_me: WARNING: uriparser/Uri.h: proceeding with the compiler's result" >&2;}
4260 ac_header_preproc=yes
4263 { echo "$as_me:$LINENO: WARNING: uriparser/Uri.h: present but cannot be compiled" >&5
4264 echo "$as_me: WARNING: uriparser/Uri.h: present but cannot be compiled" >&2;}
4265 { echo "$as_me:$LINENO: WARNING: uriparser/Uri.h: check for missing prerequisite headers?" >&5
4266 echo "$as_me: WARNING: uriparser/Uri.h: check for missing prerequisite headers?" >&2;}
4267 { echo "$as_me:$LINENO: WARNING: uriparser/Uri.h: see the Autoconf documentation" >&5
4268 echo "$as_me: WARNING: uriparser/Uri.h: see the Autoconf documentation" >&2;}
4269 { echo "$as_me:$LINENO: WARNING: uriparser/Uri.h: section \"Present But Cannot Be Compiled\"" >&5
4270 echo "$as_me: WARNING: uriparser/Uri.h: section \"Present But Cannot Be Compiled\"" >&2;}
4271 { echo "$as_me:$LINENO: WARNING: uriparser/Uri.h: proceeding with the preprocessor's result" >&5
4272 echo "$as_me: WARNING: uriparser/Uri.h: proceeding with the preprocessor's result" >&2;}
4273 { echo "$as_me:$LINENO: WARNING: uriparser/Uri.h: in the future, the compiler will take precedence" >&5
4274 echo "$as_me: WARNING: uriparser/Uri.h: in the future, the compiler will take precedence" >&2;}
4278 { echo "$as_me:$LINENO: checking for uriparser/Uri.h" >&5
4279 echo $ECHO_N "checking for uriparser/Uri.h... $ECHO_C" >&6; }
4280 if test "${ac_cv_header_uriparser_Uri_h+set}" = set; then
4281 echo $ECHO_N "(cached) $ECHO_C" >&6
4283 ac_cv_header_uriparser_Uri_h=$ac_header_preproc
4285 { echo "$as_me:$LINENO: result: $ac_cv_header_uriparser_Uri_h" >&5
4286 echo "${ECHO_T}$ac_cv_header_uriparser_Uri_h" >&6; }
4289 if test $ac_cv_header_uriparser_Uri_h = yes; then
4292 { { echo "$as_me:$LINENO: error: ${URIPARSER_MISSING}" >&5
4293 echo "$as_me: error: ${URIPARSER_MISSING}" >&2;}
4294 { (exit 1); exit 1; }; }
4299 URIPARSER_TOO_OLD="uriparser 0.6.3 or later is required, your copy is too old."
4300 cat >conftest.$ac_ext <<_ACEOF
4302 #include <uriparser/Uri.h>
4303 #if (defined(URI_VER_MAJOR) && defined(URI_VER_MINOR) && defined(URI_VER_RELEASE) \
4304 && ((URI_VER_MAJOR > 0) \
4305 || ((URI_VER_MAJOR == 0) && (URI_VER_MINOR > 6)) \
4306 || ((URI_VER_MAJOR == 0) && (URI_VER_MINOR == 6) && (URI_VER_RELEASE >= 3)) \
4310 # error uriparser not recent enough
4314 rm -f conftest.$ac_objext
4315 if { (ac_try="$ac_compile"
4317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4318 *) ac_try_echo=$ac_try;;
4320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4321 (eval "$ac_compile") 2>conftest.er1
4323 grep -v '^ *+' conftest.er1 >conftest.err
4325 cat conftest.err >&5
4326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4327 (exit $ac_status); } && {
4328 test -z "$ac_c_werror_flag" ||
4329 test ! -s conftest.err
4330 } && test -s conftest.$ac_objext; then
4333 echo "$as_me: failed program was:" >&5
4334 sed 's/^/| /' conftest.$ac_ext >&5
4336 { { echo "$as_me:$LINENO: error: ${URIPARSER_TOO_OLD}" >&5
4337 echo "$as_me: error: ${URIPARSER_TOO_OLD}" >&2;}
4338 { (exit 1); exit 1; }; }
4341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4345 ac_config_files="$ac_config_files Makefile"
4347 cat >confcache <<\_ACEOF
4348 # This file is a shell script that caches the results of configure
4349 # tests run on this system so they can be shared between configure
4350 # scripts and configure runs, see configure's option --config-cache.
4351 # It is not useful on other systems. If it contains results you don't
4352 # want to keep, you may remove or edit it.
4354 # config.status only pays attention to the cache file if you give it
4355 # the --recheck option to rerun configure.
4357 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4358 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4363 # The following way of writing the cache mishandles newlines in values,
4364 # but we know of no workaround that is simple, portable, and efficient.
4365 # So, we kill variables containing newlines.
4366 # Ultrix sh set writes to stderr and can't be redirected directly,
4367 # and sets the high bit in the cache file unless we assign to the vars.
4369 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4370 eval ac_val=\$$ac_var
4374 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
4375 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
4378 _ | IFS | as_nl) ;; #(
4379 *) $as_unset $ac_var ;;
4385 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4386 *${as_nl}ac_space=\ *)
4387 # `set' does not quote correctly, so add quotes (double-quote
4388 # substitution turns \\\\ into \\, and sed turns \\ into \).
4391 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4394 # `set' quotes correctly as required by POSIX, so do not add quotes.
4395 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4404 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4406 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4408 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4409 if test -w "$cache_file"; then
4410 test "x$cache_file" != "x/dev/null" &&
4411 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
4412 echo "$as_me: updating cache $cache_file" >&6;}
4413 cat confcache >$cache_file
4415 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
4416 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4421 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4422 # Let make expand exec_prefix.
4423 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4425 # Transform confdefs.h into DEFS.
4426 # Protect against shell expansion while executing Makefile rules.
4427 # Protect against Makefile macro expansion.
4429 # If the first sed substitution is executed (which looks for macros that
4430 # take arguments), then branch to the quote section. Otherwise,
4431 # look for a macro that doesn't take arguments.
4435 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
4437 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
4441 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
4454 DEFS=`sed -n "$ac_script" confdefs.h`
4459 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4460 # 1. Remove the extension, and $U if already installed.
4461 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4462 ac_i=`echo "$ac_i" | sed "$ac_script"`
4463 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4464 # will be set to the directory where LIBOBJS objects are built.
4465 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4466 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
4470 LTLIBOBJS=$ac_ltlibobjs
4473 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4474 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
4475 Usually this means the macro was only invoked conditionally." >&5
4476 echo "$as_me: error: conditional \"AMDEP\" was never defined.
4477 Usually this means the macro was only invoked conditionally." >&2;}
4478 { (exit 1); exit 1; }; }
4480 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4481 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
4482 Usually this means the macro was only invoked conditionally." >&5
4483 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
4484 Usually this means the macro was only invoked conditionally." >&2;}
4485 { (exit 1); exit 1; }; }
4488 : ${CONFIG_STATUS=./config.status}
4489 ac_clean_files_save=$ac_clean_files
4490 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4491 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4492 echo "$as_me: creating $CONFIG_STATUS" >&6;}
4493 cat >$CONFIG_STATUS <<_ACEOF
4495 # Generated by $as_me.
4496 # Run this file to recreate the current configuration.
4497 # Compiler output produced by configure, useful for debugging
4498 # configure, is in config.log if it exists.
4503 SHELL=\${CONFIG_SHELL-$SHELL}
4506 cat >>$CONFIG_STATUS <<\_ACEOF
4507 ## --------------------- ##
4508 ## M4sh Initialization. ##
4509 ## --------------------- ##
4511 # Be more Bourne compatible
4512 DUALCASE=1; export DUALCASE # for MKS sh
4513 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
4516 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
4517 # is contrary to our usage. Disable this feature.
4518 alias -g '${1+"$@"}'='"$@"'
4519 setopt NO_GLOB_SUBST
4521 case `(set -o) 2>/dev/null` in
4522 *posix*) set -o posix ;;
4531 # Avoid depending upon Character Ranges.
4532 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4533 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4534 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4535 as_cr_digits='0123456789'
4536 as_cr_alnum=$as_cr_Letters$as_cr_digits
4538 # The user is always right.
4539 if test "${PATH_SEPARATOR+set}" != set; then
4540 echo "#! /bin/sh" >conf$$.sh
4541 echo "exit 0" >>conf$$.sh
4543 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4551 # Support unset when possible.
4552 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4560 # We need space, tab and new line, in precisely that order. Quoting is
4561 # there to prevent editors from complaining about space-tab.
4562 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4563 # splitting by setting IFS to empty value.)
4568 # Find who we are. Look in the path if we contain no directory separator.
4570 *[\\/]* ) as_myself=$0 ;;
4571 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4575 test -z "$as_dir" && as_dir=.
4576 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4582 # We did not find ourselves, most probably we were run as `sh COMMAND'
4583 # in which case we are not to be found in the path.
4584 if test "x$as_myself" = x; then
4587 if test ! -f "$as_myself"; then
4588 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4589 { (exit 1); exit 1; }
4592 # Work around bugs in pre-3.0 UWIN ksh.
4593 for as_var in ENV MAIL MAILPATH
4594 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
4602 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
4603 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
4604 LC_TELEPHONE LC_TIME
4606 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
4607 eval $as_var=C; export $as_var
4609 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
4613 # Required to use basename.
4614 if expr a : '\(a\)' >/dev/null 2>&1 &&
4615 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4621 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4622 as_basename=basename
4628 # Name of the executable.
4629 as_me=`$as_basename -- "$0" ||
4630 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4631 X"$0" : 'X\(//\)$' \| \
4632 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4634 sed '/^.*\/\([^/][^/]*\)\/*$/{
4655 test "x$as_lineno_1" != "x$as_lineno_2" &&
4656 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
4658 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4659 # uniformly replaced by the line number. The first 'sed' inserts a
4660 # line-number line after each line using $LINENO; the second 'sed'
4661 # does the real work. The second script uses 'N' to pair each
4662 # line-number line with the line containing $LINENO, and appends
4663 # trailing '-' during substitution so that $LINENO is not a special
4665 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4666 # scripts with optimization help from Paolo Bonzini. Blame Lee
4667 # E. McMahon (1931-1989) for sed's syntax. :-)
4679 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
4683 chmod +x "$as_me.lineno" ||
4684 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
4685 { (exit 1); exit 1; }; }
4687 # Don't try to exec as it changes $[0], causing all sort of problems
4688 # (the dirname of $[0] is not the place where we might find the
4689 # original and so on. Autoconf is especially sensitive to this).
4691 # Exit status is that of the last command.
4696 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4702 ECHO_C= ECHO_N= ECHO_T=
4705 case `echo 'x\c'` in
4706 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4713 if expr a : '\(a\)' >/dev/null 2>&1 &&
4714 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4720 rm -f conf$$ conf$$.exe conf$$.file
4721 if test -d conf$$.dir; then
4722 rm -f conf$$.dir/conf$$.file
4728 if ln -s conf$$.file conf$$ 2>/dev/null; then
4730 # ... but there are two gotchas:
4731 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4732 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4733 # In both cases, we have to default to `cp -p'.
4734 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4736 elif ln conf$$.file conf$$ 2>/dev/null; then
4741 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4742 rmdir conf$$.dir 2>/dev/null
4744 if mkdir -p . 2>/dev/null; then
4747 test -d ./-p && rmdir ./-p
4751 if test -x / >/dev/null 2>&1; then
4754 if ls -dL / >/dev/null 2>&1; then
4761 if test -d "$1"; then
4767 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
4768 ???[sx]*):;;*)false;;esac;fi
4772 as_executable_p=$as_test_x
4774 # Sed expression to map a string onto a valid CPP name.
4775 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4777 # Sed expression to map a string onto a valid variable name.
4778 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4783 # Save the log message, to keep $[0] and so on meaningful, and to
4784 # report actual input values of CONFIG_FILES etc. instead of their
4785 # values after options handling.
4787 This file was extended by $as_me, which was
4788 generated by GNU Autoconf 2.61. Invocation command line was
4790 CONFIG_FILES = $CONFIG_FILES
4791 CONFIG_HEADERS = $CONFIG_HEADERS
4792 CONFIG_LINKS = $CONFIG_LINKS
4793 CONFIG_COMMANDS = $CONFIG_COMMANDS
4796 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4801 cat >>$CONFIG_STATUS <<_ACEOF
4802 # Files that config.status was made for.
4803 config_files="$ac_config_files"
4804 config_commands="$ac_config_commands"
4808 cat >>$CONFIG_STATUS <<\_ACEOF
4810 \`$as_me' instantiates files from templates according to the
4811 current configuration.
4813 Usage: $0 [OPTIONS] [FILE]...
4815 -h, --help print this help, then exit
4816 -V, --version print version number and configuration settings, then exit
4817 -q, --quiet do not print progress messages
4818 -d, --debug don't remove temporary files
4819 --recheck update $as_me by reconfiguring in the same conditions
4820 --file=FILE[:TEMPLATE]
4821 instantiate the configuration file FILE
4823 Configuration files:
4826 Configuration commands:
4829 Report bugs to <bug-autoconf@gnu.org>."
4832 cat >>$CONFIG_STATUS <<_ACEOF
4835 configured by $0, generated by GNU Autoconf 2.61,
4836 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
4838 Copyright (C) 2006 Free Software Foundation, Inc.
4839 This config.status script is free software; the Free Software Foundation
4840 gives unlimited permission to copy, distribute and modify it."
4848 cat >>$CONFIG_STATUS <<\_ACEOF
4849 # If no file are specified by the user, then we need to provide default
4850 # value. By we need to know if files were specified by the user.
4856 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4857 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4868 # Handling of the options.
4869 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4871 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4872 echo "$ac_cs_version"; exit ;;
4873 --debug | --debu | --deb | --de | --d | -d )
4875 --file | --fil | --fi | --f )
4877 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
4878 ac_need_defaults=false;;
4879 --he | --h | --help | --hel | -h )
4880 echo "$ac_cs_usage"; exit ;;
4881 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4882 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4886 -*) { echo "$as_me: error: unrecognized option: $1
4887 Try \`$0 --help' for more information." >&2
4888 { (exit 1); exit 1; }; } ;;
4890 *) ac_config_targets="$ac_config_targets $1"
4891 ac_need_defaults=false ;;
4897 ac_configure_extra_args=
4899 if $ac_cs_silent; then
4901 ac_configure_extra_args="$ac_configure_extra_args --silent"
4905 cat >>$CONFIG_STATUS <<_ACEOF
4906 if \$ac_cs_recheck; then
4907 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
4910 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4914 cat >>$CONFIG_STATUS <<\_ACEOF
4918 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4919 ## Running $as_me. ##
4925 cat >>$CONFIG_STATUS <<_ACEOF
4929 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
4933 cat >>$CONFIG_STATUS <<\_ACEOF
4935 # Handling of arguments.
4936 for ac_config_target in $ac_config_targets
4938 case $ac_config_target in
4939 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
4940 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4942 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4943 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4944 { (exit 1); exit 1; }; };;
4949 # If the user did not use the arguments to specify the items to instantiate,
4950 # then the envvar interface is used. Set only those that are not.
4951 # We use the long form for the default assignment because of an extremely
4952 # bizarre bug on SunOS 4.1.3.
4953 if $ac_need_defaults; then
4954 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4955 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4958 # Have a temporary directory for convenience. Make it in the build tree
4959 # simply because there is no reason against having it here, and in addition,
4960 # creating and moving files from /tmp can sometimes cause problems.
4961 # Hook for its removal unless debugging.
4962 # Note that there is a small window in which the directory will not be cleaned:
4963 # after its creation but before its name has been assigned to `$tmp'.
4967 trap 'exit_status=$?
4968 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
4970 trap '{ (exit 1); exit 1; }' 1 2 13 15
4972 # Create a (secure) tmp directory for tmp files.
4975 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4976 test -n "$tmp" && test -d "$tmp"
4979 tmp=./conf$$-$RANDOM
4980 (umask 077 && mkdir "$tmp")
4983 echo "$me: cannot create a temporary directory in ." >&2
4984 { (exit 1); exit 1; }
4988 # Set up the sed scripts for CONFIG_FILES section.
4991 # No need to generate the scripts if there are no CONFIG_FILES.
4992 # This happens for instance when ./config.status config.h
4993 if test -n "$CONFIG_FILES"; then
5000 for ac_last_try in false false false false false :; do
5001 cat >conf$$subs.sed <<_ACEOF
5002 SHELL!$SHELL$ac_delim
5003 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
5004 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
5005 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
5006 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
5007 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
5008 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
5009 exec_prefix!$exec_prefix$ac_delim
5010 prefix!$prefix$ac_delim
5011 program_transform_name!$program_transform_name$ac_delim
5012 bindir!$bindir$ac_delim
5013 sbindir!$sbindir$ac_delim
5014 libexecdir!$libexecdir$ac_delim
5015 datarootdir!$datarootdir$ac_delim
5016 datadir!$datadir$ac_delim
5017 sysconfdir!$sysconfdir$ac_delim
5018 sharedstatedir!$sharedstatedir$ac_delim
5019 localstatedir!$localstatedir$ac_delim
5020 includedir!$includedir$ac_delim
5021 oldincludedir!$oldincludedir$ac_delim
5022 docdir!$docdir$ac_delim
5023 infodir!$infodir$ac_delim
5024 htmldir!$htmldir$ac_delim
5025 dvidir!$dvidir$ac_delim
5026 pdfdir!$pdfdir$ac_delim
5027 psdir!$psdir$ac_delim
5028 libdir!$libdir$ac_delim
5029 localedir!$localedir$ac_delim
5030 mandir!$mandir$ac_delim
5032 ECHO_C!$ECHO_C$ac_delim
5033 ECHO_N!$ECHO_N$ac_delim
5034 ECHO_T!$ECHO_T$ac_delim
5036 build_alias!$build_alias$ac_delim
5037 host_alias!$host_alias$ac_delim
5038 target_alias!$target_alias$ac_delim
5039 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
5040 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
5041 INSTALL_DATA!$INSTALL_DATA$ac_delim
5042 am__isrc!$am__isrc$ac_delim
5043 CYGPATH_W!$CYGPATH_W$ac_delim
5044 PACKAGE!$PACKAGE$ac_delim
5045 VERSION!$VERSION$ac_delim
5046 ACLOCAL!$ACLOCAL$ac_delim
5047 AUTOCONF!$AUTOCONF$ac_delim
5048 AUTOMAKE!$AUTOMAKE$ac_delim
5049 AUTOHEADER!$AUTOHEADER$ac_delim
5050 MAKEINFO!$MAKEINFO$ac_delim
5051 install_sh!$install_sh$ac_delim
5052 STRIP!$STRIP$ac_delim
5053 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
5054 mkdir_p!$mkdir_p$ac_delim
5056 SET_MAKE!$SET_MAKE$ac_delim
5057 am__leading_dot!$am__leading_dot$ac_delim
5058 AMTAR!$AMTAR$ac_delim
5059 am__tar!$am__tar$ac_delim
5060 am__untar!$am__untar$ac_delim
5062 CFLAGS!$CFLAGS$ac_delim
5063 LDFLAGS!$LDFLAGS$ac_delim
5064 CPPFLAGS!$CPPFLAGS$ac_delim
5065 ac_ct_CC!$ac_ct_CC$ac_delim
5066 EXEEXT!$EXEEXT$ac_delim
5067 OBJEXT!$OBJEXT$ac_delim
5068 DEPDIR!$DEPDIR$ac_delim
5069 am__include!$am__include$ac_delim
5070 am__quote!$am__quote$ac_delim
5071 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
5072 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
5073 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
5074 CCDEPMODE!$CCDEPMODE$ac_delim
5075 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
5076 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
5079 EGREP!$EGREP$ac_delim
5080 LIBOBJS!$LIBOBJS$ac_delim
5081 LTLIBOBJS!$LTLIBOBJS$ac_delim
5084 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 80; then
5086 elif $ac_last_try; then
5087 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5088 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5089 { (exit 1); exit 1; }; }
5091 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5095 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
5096 if test -n "$ac_eof"; then
5097 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
5098 ac_eof=`expr $ac_eof + 1`
5101 cat >>$CONFIG_STATUS <<_ACEOF
5102 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
5103 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
5106 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
5107 s/^/s,@/; s/!/@,|#_!!_#|/
5110 s/'"$ac_delim"'$/,g/; t
5112 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
5113 ' >>$CONFIG_STATUS <conf$$subs.sed
5114 rm -f conf$$subs.sed
5115 cat >>$CONFIG_STATUS <<_ACEOF
5122 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5123 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5124 # trailing colons and then remove the whole line if VPATH becomes empty
5125 # (actually we leave an empty line to preserve line numbers).
5126 if test "x$srcdir" = x.; then
5127 ac_vpsub='/^[ ]*VPATH[ ]*=/{
5131 s/^\([^=]*=[ ]*\):*/\1/
5137 cat >>$CONFIG_STATUS <<\_ACEOF
5138 fi # test -n "$CONFIG_FILES"
5141 for ac_tag in :F $CONFIG_FILES :C $CONFIG_COMMANDS
5144 :[FHLC]) ac_mode=$ac_tag; continue;;
5146 case $ac_mode$ac_tag in
5148 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
5149 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
5150 { (exit 1); exit 1; }; };;
5151 :[FH]-) ac_tag=-:-;;
5152 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5169 -) ac_f="$tmp/stdin";;
5170 *) # Look for the file first in the build tree, then in the source tree
5171 # (if the path is not absolute). The absolute path cannot be DOS-style,
5172 # because $ac_f cannot contain `:'.
5176 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5178 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
5179 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
5180 { (exit 1); exit 1; }; };;
5182 ac_file_inputs="$ac_file_inputs $ac_f"
5185 # Let's still pretend it is `configure' which instantiates (i.e., don't
5186 # use $as_me), people would be surprised to read:
5187 # /* config.h. Generated by config.status. */
5188 configure_input="Generated from "`IFS=:
5189 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
5190 if test x"$ac_file" != x-; then
5191 configure_input="$ac_file. $configure_input"
5192 { echo "$as_me:$LINENO: creating $ac_file" >&5
5193 echo "$as_me: creating $ac_file" >&6;}
5197 *:-:* | *:-) cat >"$tmp/stdin";;
5202 ac_dir=`$as_dirname -- "$ac_file" ||
5203 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5204 X"$ac_file" : 'X\(//\)[^/]' \| \
5205 X"$ac_file" : 'X\(//\)$' \| \
5206 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5208 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5227 -*) as_dir=./$as_dir;;
5229 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
5233 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
5234 *) as_qdir=$as_dir;;
5236 as_dirs="'$as_qdir' $as_dirs"
5237 as_dir=`$as_dirname -- "$as_dir" ||
5238 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5239 X"$as_dir" : 'X\(//\)[^/]' \| \
5240 X"$as_dir" : 'X\(//\)$' \| \
5241 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5243 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5260 test -d "$as_dir" && break
5262 test -z "$as_dirs" || eval "mkdir $as_dirs"
5263 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
5264 echo "$as_me: error: cannot create directory $as_dir" >&2;}
5265 { (exit 1); exit 1; }; }; }
5269 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5271 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5272 # A ".." for each directory in $ac_dir_suffix.
5273 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
5274 case $ac_top_builddir_sub in
5275 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5276 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5279 ac_abs_top_builddir=$ac_pwd
5280 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5281 # for backward compatibility:
5282 ac_top_builddir=$ac_top_build_prefix
5285 .) # We are building in place.
5287 ac_top_srcdir=$ac_top_builddir_sub
5288 ac_abs_top_srcdir=$ac_pwd ;;
5289 [\\/]* | ?:[\\/]* ) # Absolute name.
5290 ac_srcdir=$srcdir$ac_dir_suffix;
5291 ac_top_srcdir=$srcdir
5292 ac_abs_top_srcdir=$srcdir ;;
5294 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5295 ac_top_srcdir=$ac_top_build_prefix$srcdir
5296 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5298 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5308 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5309 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5313 [\\/$]* | ?:[\\/]* ) ;;
5314 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
5318 cat >>$CONFIG_STATUS <<\_ACEOF
5319 # If the template does not know about datarootdir, expand it.
5320 # FIXME: This hack should be removed a few years after 2.60.
5321 ac_datarootdir_hack=; ac_datarootdir_seen=
5323 case `sed -n '/datarootdir/ {
5332 ' $ac_file_inputs` in
5333 *datarootdir*) ac_datarootdir_seen=yes;;
5334 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5335 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5336 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5338 cat >>$CONFIG_STATUS <<_ACEOF
5339 ac_datarootdir_hack='
5340 s&@datadir@&$datadir&g
5341 s&@docdir@&$docdir&g
5342 s&@infodir@&$infodir&g
5343 s&@localedir@&$localedir&g
5344 s&@mandir@&$mandir&g
5345 s&\\\${datarootdir}&$datarootdir&g' ;;
5349 # Neutralize VPATH when `$srcdir' = `.'.
5350 # Shell code in configure.ac might set extrasub.
5351 # FIXME: do we really want to maintain this feature?
5352 cat >>$CONFIG_STATUS <<_ACEOF
5356 cat >>$CONFIG_STATUS <<\_ACEOF
5358 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5359 s&@configure_input@&$configure_input&;t t
5360 s&@top_builddir@&$ac_top_builddir_sub&;t t
5361 s&@srcdir@&$ac_srcdir&;t t
5362 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5363 s&@top_srcdir@&$ac_top_srcdir&;t t
5364 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5365 s&@builddir@&$ac_builddir&;t t
5366 s&@abs_builddir@&$ac_abs_builddir&;t t
5367 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5368 s&@INSTALL@&$ac_INSTALL&;t t
5369 s&@MKDIR_P@&$ac_MKDIR_P&;t t
5370 $ac_datarootdir_hack
5371 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
5373 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5374 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
5375 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
5376 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5377 which seems to be undefined. Please make sure it is defined." >&5
5378 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5379 which seems to be undefined. Please make sure it is defined." >&2;}
5383 -) cat "$tmp/out"; rm -f "$tmp/out";;
5384 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
5389 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
5390 echo "$as_me: executing $ac_file commands" >&6;}
5395 case $ac_file$ac_mode in
5396 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
5397 # Strip MF so we end up with the name of the file.
5398 mf=`echo "$mf" | sed -e 's/:.*$//'`
5399 # Check whether this is an Automake generated Makefile or not.
5400 # We used to match only the files named `Makefile.in', but
5401 # some people rename them; so instead we look at the file content.
5402 # Grep'ing the first line is not enough: some people post-process
5403 # each Makefile.in and add a new line on top of each file to say so.
5404 # Grep'ing the whole file is not good either: AIX grep has a line
5405 # limit of 2048, but all sed's we know have understand at least 4000.
5406 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
5407 dirpart=`$as_dirname -- "$mf" ||
5408 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5409 X"$mf" : 'X\(//\)[^/]' \| \
5410 X"$mf" : 'X\(//\)$' \| \
5411 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
5413 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5433 # Extract the definition of DEPDIR, am__include, and am__quote
5434 # from the Makefile without running `make'.
5435 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
5436 test -z "$DEPDIR" && continue
5437 am__include=`sed -n 's/^am__include = //p' < "$mf"`
5438 test -z "am__include" && continue
5439 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
5440 # When using ansi2knr, U may be empty or an underscore; expand it
5441 U=`sed -n 's/^U = //p' < "$mf"`
5442 # Find all dependency output files, they are included files with
5443 # $(DEPDIR) in their names. We invoke sed twice because it is the
5444 # simplest approach to changing $(DEPDIR) to its actual value in the
5446 for file in `sed -n "
5447 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
5448 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
5449 # Make sure the directory exists.
5450 test -f "$dirpart/$file" && continue
5451 fdir=`$as_dirname -- "$file" ||
5452 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5453 X"$file" : 'X\(//\)[^/]' \| \
5454 X"$file" : 'X\(//\)$' \| \
5455 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
5457 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5474 { as_dir=$dirpart/$fdir
5476 -*) as_dir=./$as_dir;;
5478 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
5482 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
5483 *) as_qdir=$as_dir;;
5485 as_dirs="'$as_qdir' $as_dirs"
5486 as_dir=`$as_dirname -- "$as_dir" ||
5487 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5488 X"$as_dir" : 'X\(//\)[^/]' \| \
5489 X"$as_dir" : 'X\(//\)$' \| \
5490 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5492 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5509 test -d "$as_dir" && break
5511 test -z "$as_dirs" || eval "mkdir $as_dirs"
5512 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
5513 echo "$as_me: error: cannot create directory $as_dir" >&2;}
5514 { (exit 1); exit 1; }; }; }
5515 # echo "creating $dirpart/$file"
5516 echo '# dummy' > "$dirpart/$file"
5525 { (exit 0); exit 0; }
5527 chmod +x $CONFIG_STATUS
5528 ac_clean_files=$ac_clean_files_save
5531 # configure is writing to config.log, and then calls config.status.
5532 # config.status does its own redirection, appending to config.log.
5533 # Unfortunately, on DOS this fails, as config.log is still kept open
5534 # by configure, so config.status won't be able to write to it; its
5535 # output is simply discarded. So we exec the FD to /dev/null,
5536 # effectively closing config.log, so it can be properly (re)opened and
5537 # appended to by config.status. When coming back to configure, we
5538 # need to make the FD available again.
5539 if test "$no_create" != yes; then
5541 ac_config_status_args=
5542 test "$silent" = yes &&
5543 ac_config_status_args="$ac_config_status_args --quiet"
5545 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5547 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5548 # would make configure fail if this is the last instruction.
5549 $ac_cs_success || { (exit 1); exit 1; }