2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for ctdlsh 1.0.
5 # Report bugs to <bug-automake@gnu.org>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in
26 *posix*) set -o posix ;;
35 # Avoid depending upon Character Ranges.
36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits='0123456789'
40 as_cr_alnum=$as_cr_Letters$as_cr_digits
42 # The user is always right.
43 if test "${PATH_SEPARATOR+set}" != set; then
44 echo "#! /bin/sh" >conf$$.sh
45 echo "exit 0" >>conf$$.sh
47 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
55 # Support unset when possible.
56 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
64 # We need space, tab and new line, in precisely that order. Quoting is
65 # there to prevent editors from complaining about space-tab.
66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
67 # splitting by setting IFS to empty value.)
72 # Find who we are. Look in the path if we contain no directory separator.
74 *[\\/]* ) as_myself=$0 ;;
75 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79 test -z "$as_dir" && as_dir=.
80 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
86 # We did not find ourselves, most probably we were run as `sh COMMAND'
87 # in which case we are not to be found in the path.
88 if test "x$as_myself" = x; then
91 if test ! -f "$as_myself"; then
92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
96 # Work around bugs in pre-3.0 UWIN ksh.
97 for as_var in ENV MAIL MAILPATH
98 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
110 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111 eval $as_var=C; export $as_var
113 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
117 # Required to use basename.
118 if expr a : '\(a\)' >/dev/null 2>&1 &&
119 test "X`expr 00001 : '.*\(...\)'`" = X001; then
125 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
132 # Name of the executable.
133 as_me=`$as_basename -- "$0" ||
134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135 X"$0" : 'X\(//\)$' \| \
136 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138 sed '/^.*\/\([^/][^/]*\)\/*$/{
156 if test "x$CONFIG_SHELL" = x; then
157 if (eval ":") 2>/dev/null; then
163 if test $as_have_required = yes && (eval ":
173 as_func_ret_success () {
176 as_func_ret_failure () {
181 if as_func_success; then
185 echo as_func_success failed.
188 if as_func_failure; then
190 echo as_func_failure succeeded.
193 if as_func_ret_success; then
197 echo as_func_ret_success failed.
200 if as_func_ret_failure; then
202 echo as_func_ret_failure succeeded.
205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
209 echo positional parameters were not saved.
212 test \$exitcode = 0) || { (exit 1); exit 1; }
217 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219 ") 2> /dev/null; then
223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
224 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
227 test -z "$as_dir" && as_dir=.
230 for as_base in sh bash ksh sh5; do
231 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
238 for as_shell in $as_candidate_shells $SHELL; do
239 # Try only shells that exist, to save several forks.
240 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
241 { ("$as_shell") 2> /dev/null <<\_ASEOF
242 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246 # is contrary to our usage. Disable this feature.
247 alias -g '${1+"$@"}'='"$@"'
250 case `(set -o) 2>/dev/null` in
251 *posix*) set -o posix ;;
260 CONFIG_SHELL=$as_shell
262 if { "$as_shell" 2> /dev/null <<\_ASEOF
263 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267 # is contrary to our usage. Disable this feature.
268 alias -g '${1+"$@"}'='"$@"'
271 case `(set -o) 2>/dev/null` in
272 *posix*) set -o posix ;;
288 as_func_ret_success () {
291 as_func_ret_failure () {
296 if as_func_success; then
300 echo as_func_success failed.
303 if as_func_failure; then
305 echo as_func_failure succeeded.
308 if as_func_ret_success; then
312 echo as_func_ret_success failed.
315 if as_func_ret_failure; then
317 echo as_func_ret_failure succeeded.
320 if ( set x; as_func_ret_success y && test x = "$1" ); then
324 echo positional parameters were not saved.
327 test $exitcode = 0) || { (exit 1); exit 1; }
332 test "x$as_lineno_1" != "x$as_lineno_2" &&
333 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
344 if test "x$CONFIG_SHELL" != x; then
345 for as_var in BASH_ENV ENV
346 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
353 if test $as_have_required = no; then
354 echo This script requires a shell more modern than all the
355 echo shells that I found on your system. Please install a
356 echo modern shell, or manually run the script under such a
357 echo shell if you do have one.
358 { (exit 1); exit 1; }
368 (eval "as_func_return () {
377 as_func_ret_success () {
380 as_func_ret_failure () {
385 if as_func_success; then
389 echo as_func_success failed.
392 if as_func_failure; then
394 echo as_func_failure succeeded.
397 if as_func_ret_success; then
401 echo as_func_ret_success failed.
404 if as_func_ret_failure; then
406 echo as_func_ret_failure succeeded.
409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
413 echo positional parameters were not saved.
416 test \$exitcode = 0") || {
417 echo No shell found that supports shell functions.
418 echo Please tell autoconf@gnu.org about your system,
419 echo including any error possibly output before this
427 test "x$as_lineno_1" != "x$as_lineno_2" &&
428 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431 # uniformly replaced by the line number. The first 'sed' inserts a
432 # line-number line after each line using $LINENO; the second 'sed'
433 # does the real work. The second script uses 'N' to pair each
434 # line-number line with the line containing $LINENO, and appends
435 # trailing '-' during substitution so that $LINENO is not a special
437 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438 # scripts with optimization help from Paolo Bonzini. Blame Lee
439 # E. McMahon (1931-1989) for sed's syntax. :-)
451 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
455 chmod +x "$as_me.lineno" ||
456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457 { (exit 1); exit 1; }; }
459 # Don't try to exec as it changes $[0], causing all sort of problems
460 # (the dirname of $[0] is not the place where we might find the
461 # original and so on. Autoconf is especially sensitive to this).
463 # Exit status is that of the last command.
468 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
474 ECHO_C= ECHO_N= ECHO_T=
478 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
485 if expr a : '\(a\)' >/dev/null 2>&1 &&
486 test "X`expr 00001 : '.*\(...\)'`" = X001; then
492 rm -f conf$$ conf$$.exe conf$$.file
493 if test -d conf$$.dir; then
494 rm -f conf$$.dir/conf$$.file
500 if ln -s conf$$.file conf$$ 2>/dev/null; then
502 # ... but there are two gotchas:
503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505 # In both cases, we have to default to `cp -p'.
506 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
508 elif ln conf$$.file conf$$ 2>/dev/null; then
513 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
514 rmdir conf$$.dir 2>/dev/null
516 if mkdir -p . 2>/dev/null; then
519 test -d ./-p && rmdir ./-p
523 if test -x / >/dev/null 2>&1; then
526 if ls -dL / >/dev/null 2>&1; then
533 if test -d "$1"; then
539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540 ???[sx]*):;;*)false;;esac;fi
544 as_executable_p=$as_test_x
546 # Sed expression to map a string onto a valid CPP name.
547 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549 # Sed expression to map a string onto a valid variable name.
550 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
554 exec 7<&0 </dev/null 6>&1
557 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
558 # so uname gets run too.
559 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
564 ac_default_prefix=/usr/local
566 ac_config_libobj_dir=.
572 SHELL=${CONFIG_SHELL-/bin/sh}
574 # Identity of this package.
575 PACKAGE_NAME='ctdlsh'
576 PACKAGE_TARNAME='ctdlsh'
577 PACKAGE_VERSION='1.0'
578 PACKAGE_STRING='ctdlsh 1.0'
579 PACKAGE_BUGREPORT='bug-automake@gnu.org'
590 program_transform_name
632 INSTALL_STRIP_PROGRAM
659 ac_precious_vars='build_alias
669 # Initialize some variables set by options.
671 ac_init_version=false
672 # The variables have the same names as the options, with
673 # dashes changed to underlines.
681 program_transform_name=s,x,x,
689 # Installation directory options.
690 # These are left unexpanded so users can "make install exec_prefix=/foo"
691 # and all the variables that are supposed to be based on exec_prefix
692 # by default will actually change.
693 # Use braces instead of parens because sh, perl, etc. also accept them.
694 # (The list follows the same order as the GNU Coding Standards.)
695 bindir='${exec_prefix}/bin'
696 sbindir='${exec_prefix}/sbin'
697 libexecdir='${exec_prefix}/libexec'
698 datarootdir='${prefix}/share'
699 datadir='${datarootdir}'
700 sysconfdir='${prefix}/etc'
701 sharedstatedir='${prefix}/com'
702 localstatedir='${prefix}/var'
703 includedir='${prefix}/include'
704 oldincludedir='/usr/include'
705 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
706 infodir='${datarootdir}/info'
711 libdir='${exec_prefix}/lib'
712 localedir='${datarootdir}/locale'
713 mandir='${datarootdir}/man'
719 # If the previous option needs an argument, assign it.
720 if test -n "$ac_prev"; then
721 eval $ac_prev=\$ac_option
727 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
731 # Accept the important Cygnus configure options, so we can diagnose typos.
733 case $ac_dashdash$ac_option in
737 -bindir | --bindir | --bindi | --bind | --bin | --bi)
739 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
742 -build | --build | --buil | --bui | --bu)
743 ac_prev=build_alias ;;
744 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
745 build_alias=$ac_optarg ;;
747 -cache-file | --cache-file | --cache-fil | --cache-fi \
748 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
749 ac_prev=cache_file ;;
750 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
751 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
752 cache_file=$ac_optarg ;;
755 cache_file=config.cache ;;
757 -datadir | --datadir | --datadi | --datad)
759 -datadir=* | --datadir=* | --datadi=* | --datad=*)
760 datadir=$ac_optarg ;;
762 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
763 | --dataroo | --dataro | --datar)
764 ac_prev=datarootdir ;;
765 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
766 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
767 datarootdir=$ac_optarg ;;
769 -disable-* | --disable-*)
770 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
771 # Reject names that are not valid shell variable names.
772 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
773 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
774 { (exit 1); exit 1; }; }
775 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
776 eval enable_$ac_feature=no ;;
778 -docdir | --docdir | --docdi | --doc | --do)
780 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
783 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
785 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
788 -enable-* | --enable-*)
789 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
790 # Reject names that are not valid shell variable names.
791 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
792 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
793 { (exit 1); exit 1; }; }
794 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
795 eval enable_$ac_feature=\$ac_optarg ;;
797 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
798 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
799 | --exec | --exe | --ex)
800 ac_prev=exec_prefix ;;
801 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
802 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
803 | --exec=* | --exe=* | --ex=*)
804 exec_prefix=$ac_optarg ;;
806 -gas | --gas | --ga | --g)
807 # Obsolete; use --with-gas.
810 -help | --help | --hel | --he | -h)
812 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
813 ac_init_help=recursive ;;
814 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
815 ac_init_help=short ;;
817 -host | --host | --hos | --ho)
818 ac_prev=host_alias ;;
819 -host=* | --host=* | --hos=* | --ho=*)
820 host_alias=$ac_optarg ;;
822 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
824 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
826 htmldir=$ac_optarg ;;
828 -includedir | --includedir | --includedi | --included | --include \
829 | --includ | --inclu | --incl | --inc)
830 ac_prev=includedir ;;
831 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
832 | --includ=* | --inclu=* | --incl=* | --inc=*)
833 includedir=$ac_optarg ;;
835 -infodir | --infodir | --infodi | --infod | --info | --inf)
837 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
838 infodir=$ac_optarg ;;
840 -libdir | --libdir | --libdi | --libd)
842 -libdir=* | --libdir=* | --libdi=* | --libd=*)
845 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
846 | --libexe | --libex | --libe)
847 ac_prev=libexecdir ;;
848 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
849 | --libexe=* | --libex=* | --libe=*)
850 libexecdir=$ac_optarg ;;
852 -localedir | --localedir | --localedi | --localed | --locale)
854 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
855 localedir=$ac_optarg ;;
857 -localstatedir | --localstatedir | --localstatedi | --localstated \
858 | --localstate | --localstat | --localsta | --localst | --locals)
859 ac_prev=localstatedir ;;
860 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
861 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
862 localstatedir=$ac_optarg ;;
864 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
866 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
870 # Obsolete; use --without-fp.
873 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
874 | --no-cr | --no-c | -n)
877 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
878 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
881 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
882 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
883 | --oldin | --oldi | --old | --ol | --o)
884 ac_prev=oldincludedir ;;
885 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
886 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
887 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
888 oldincludedir=$ac_optarg ;;
890 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
892 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
895 -program-prefix | --program-prefix | --program-prefi | --program-pref \
896 | --program-pre | --program-pr | --program-p)
897 ac_prev=program_prefix ;;
898 -program-prefix=* | --program-prefix=* | --program-prefi=* \
899 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
900 program_prefix=$ac_optarg ;;
902 -program-suffix | --program-suffix | --program-suffi | --program-suff \
903 | --program-suf | --program-su | --program-s)
904 ac_prev=program_suffix ;;
905 -program-suffix=* | --program-suffix=* | --program-suffi=* \
906 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
907 program_suffix=$ac_optarg ;;
909 -program-transform-name | --program-transform-name \
910 | --program-transform-nam | --program-transform-na \
911 | --program-transform-n | --program-transform- \
912 | --program-transform | --program-transfor \
913 | --program-transfo | --program-transf \
914 | --program-trans | --program-tran \
915 | --progr-tra | --program-tr | --program-t)
916 ac_prev=program_transform_name ;;
917 -program-transform-name=* | --program-transform-name=* \
918 | --program-transform-nam=* | --program-transform-na=* \
919 | --program-transform-n=* | --program-transform-=* \
920 | --program-transform=* | --program-transfor=* \
921 | --program-transfo=* | --program-transf=* \
922 | --program-trans=* | --program-tran=* \
923 | --progr-tra=* | --program-tr=* | --program-t=*)
924 program_transform_name=$ac_optarg ;;
926 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
928 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
931 -psdir | --psdir | --psdi | --psd | --ps)
933 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
936 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
937 | -silent | --silent | --silen | --sile | --sil)
940 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
942 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
944 sbindir=$ac_optarg ;;
946 -sharedstatedir | --sharedstatedir | --sharedstatedi \
947 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
948 | --sharedst | --shareds | --shared | --share | --shar \
950 ac_prev=sharedstatedir ;;
951 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
952 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
953 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
955 sharedstatedir=$ac_optarg ;;
957 -site | --site | --sit)
959 -site=* | --site=* | --sit=*)
962 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
964 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
967 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
968 | --syscon | --sysco | --sysc | --sys | --sy)
969 ac_prev=sysconfdir ;;
970 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
971 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
972 sysconfdir=$ac_optarg ;;
974 -target | --target | --targe | --targ | --tar | --ta | --t)
975 ac_prev=target_alias ;;
976 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
977 target_alias=$ac_optarg ;;
979 -v | -verbose | --verbose | --verbos | --verbo | --verb)
982 -version | --version | --versio | --versi | --vers | -V)
986 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
987 # Reject names that are not valid shell variable names.
988 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
989 { echo "$as_me: error: invalid package name: $ac_package" >&2
990 { (exit 1); exit 1; }; }
991 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
992 eval with_$ac_package=\$ac_optarg ;;
994 -without-* | --without-*)
995 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
996 # Reject names that are not valid shell variable names.
997 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
998 { echo "$as_me: error: invalid package name: $ac_package" >&2
999 { (exit 1); exit 1; }; }
1000 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1001 eval with_$ac_package=no ;;
1004 # Obsolete; use --with-x.
1007 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1008 | --x-incl | --x-inc | --x-in | --x-i)
1009 ac_prev=x_includes ;;
1010 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1011 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1012 x_includes=$ac_optarg ;;
1014 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1015 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1016 ac_prev=x_libraries ;;
1017 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1018 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1019 x_libraries=$ac_optarg ;;
1021 -*) { echo "$as_me: error: unrecognized option: $ac_option
1022 Try \`$0 --help' for more information." >&2
1023 { (exit 1); exit 1; }; }
1027 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1028 # Reject names that are not valid shell variable names.
1029 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1030 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1031 { (exit 1); exit 1; }; }
1032 eval $ac_envvar=\$ac_optarg
1033 export $ac_envvar ;;
1036 # FIXME: should be removed in autoconf 3.0.
1037 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1038 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1039 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1040 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1046 if test -n "$ac_prev"; then
1047 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1048 { echo "$as_me: error: missing argument to $ac_option" >&2
1049 { (exit 1); exit 1; }; }
1052 # Be sure to have absolute directory names.
1053 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1054 datadir sysconfdir sharedstatedir localstatedir includedir \
1055 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1056 libdir localedir mandir
1058 eval ac_val=\$$ac_var
1060 [\\/$]* | ?:[\\/]* ) continue;;
1061 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1063 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1064 { (exit 1); exit 1; }; }
1067 # There might be people who depend on the old broken behavior: `$host'
1068 # used to hold the argument of --host etc.
1069 # FIXME: To remove some day.
1072 target=$target_alias
1074 # FIXME: To remove some day.
1075 if test "x$host_alias" != x; then
1076 if test "x$build_alias" = x; then
1077 cross_compiling=maybe
1078 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1079 If a cross compiler is detected then cross compile mode will be used." >&2
1080 elif test "x$build_alias" != "x$host_alias"; then
1086 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1088 test "$silent" = yes && exec 6>/dev/null
1091 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1092 ac_ls_di=`ls -di .` &&
1093 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1094 { echo "$as_me: error: Working directory cannot be determined" >&2
1095 { (exit 1); exit 1; }; }
1096 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1097 { echo "$as_me: error: pwd does not report name of working directory" >&2
1098 { (exit 1); exit 1; }; }
1101 # Find the source files, if location was not specified.
1102 if test -z "$srcdir"; then
1103 ac_srcdir_defaulted=yes
1104 # Try the directory containing this script, then the parent directory.
1105 ac_confdir=`$as_dirname -- "$0" ||
1106 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1107 X"$0" : 'X\(//\)[^/]' \| \
1108 X"$0" : 'X\(//\)$' \| \
1109 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1111 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1129 if test ! -r "$srcdir/$ac_unique_file"; then
1133 ac_srcdir_defaulted=no
1135 if test ! -r "$srcdir/$ac_unique_file"; then
1136 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1137 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1138 { (exit 1); exit 1; }; }
1140 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1142 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1143 { (exit 1); exit 1; }; }
1145 # When building in place, set srcdir=.
1146 if test "$ac_abs_confdir" = "$ac_pwd"; then
1149 # Remove unnecessary trailing slashes from srcdir.
1150 # Double slashes in file names in object file debugging info
1151 # mess up M-x gdb in Emacs.
1153 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1155 for ac_var in $ac_precious_vars; do
1156 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1157 eval ac_env_${ac_var}_value=\$${ac_var}
1158 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1159 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1163 # Report the --help message.
1165 if test "$ac_init_help" = "long"; then
1166 # Omit some internal or obsolete options to make the list less imposing.
1167 # This message is too long to be a string in the A/UX 3.1 sh.
1169 \`configure' configures ctdlsh 1.0 to adapt to many kinds of systems.
1171 Usage: $0 [OPTION]... [VAR=VALUE]...
1173 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1174 VAR=VALUE. See below for descriptions of some of the useful variables.
1176 Defaults for the options are specified in brackets.
1179 -h, --help display this help and exit
1180 --help=short display options specific to this package
1181 --help=recursive display the short help of all the included packages
1182 -V, --version display version information and exit
1183 -q, --quiet, --silent do not print \`checking...' messages
1184 --cache-file=FILE cache test results in FILE [disabled]
1185 -C, --config-cache alias for \`--cache-file=config.cache'
1186 -n, --no-create do not create output files
1187 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1189 Installation directories:
1190 --prefix=PREFIX install architecture-independent files in PREFIX
1191 [$ac_default_prefix]
1192 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1195 By default, \`make install' will install all the files in
1196 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1197 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1198 for instance \`--prefix=\$HOME'.
1200 For better control, use the options below.
1202 Fine tuning of the installation directories:
1203 --bindir=DIR user executables [EPREFIX/bin]
1204 --sbindir=DIR system admin executables [EPREFIX/sbin]
1205 --libexecdir=DIR program executables [EPREFIX/libexec]
1206 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1207 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1208 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1209 --libdir=DIR object code libraries [EPREFIX/lib]
1210 --includedir=DIR C header files [PREFIX/include]
1211 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1212 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1213 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1214 --infodir=DIR info documentation [DATAROOTDIR/info]
1215 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1216 --mandir=DIR man documentation [DATAROOTDIR/man]
1217 --docdir=DIR documentation root [DATAROOTDIR/doc/ctdlsh]
1218 --htmldir=DIR html documentation [DOCDIR]
1219 --dvidir=DIR dvi documentation [DOCDIR]
1220 --pdfdir=DIR pdf documentation [DOCDIR]
1221 --psdir=DIR ps documentation [DOCDIR]
1227 --program-prefix=PREFIX prepend PREFIX to installed program names
1228 --program-suffix=SUFFIX append SUFFIX to installed program names
1229 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1233 if test -n "$ac_init_help"; then
1234 case $ac_init_help in
1235 short | recursive ) echo "Configuration of ctdlsh 1.0:";;
1240 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1241 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1242 --disable-dependency-tracking speeds up one-time build
1243 --enable-dependency-tracking do not reject slow dependency extractors
1246 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1247 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1248 --with-readline=prefix try this for a non-standard install prefix of the
1251 Some influential environment variables:
1252 CC C compiler command
1253 CFLAGS C compiler flags
1254 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1255 nonstandard directory <lib dir>
1256 LIBS libraries to pass to the linker, e.g. -l<library>
1257 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1258 you have headers in a nonstandard directory <include dir>
1260 Use these variables to override the choices made by `configure' or to help
1261 it to find libraries and programs with nonstandard names/locations.
1263 Report bugs to <bug-automake@gnu.org>.
1268 if test "$ac_init_help" = "recursive"; then
1269 # If there are subdirs, report their specific --help.
1270 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1271 test -d "$ac_dir" || continue
1275 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1277 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1278 # A ".." for each directory in $ac_dir_suffix.
1279 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1280 case $ac_top_builddir_sub in
1281 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1282 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1285 ac_abs_top_builddir=$ac_pwd
1286 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1287 # for backward compatibility:
1288 ac_top_builddir=$ac_top_build_prefix
1291 .) # We are building in place.
1293 ac_top_srcdir=$ac_top_builddir_sub
1294 ac_abs_top_srcdir=$ac_pwd ;;
1295 [\\/]* | ?:[\\/]* ) # Absolute name.
1296 ac_srcdir=$srcdir$ac_dir_suffix;
1297 ac_top_srcdir=$srcdir
1298 ac_abs_top_srcdir=$srcdir ;;
1300 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1301 ac_top_srcdir=$ac_top_build_prefix$srcdir
1302 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1304 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1306 cd "$ac_dir" || { ac_status=$?; continue; }
1307 # Check for guested configure.
1308 if test -f "$ac_srcdir/configure.gnu"; then
1310 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1311 elif test -f "$ac_srcdir/configure"; then
1313 $SHELL "$ac_srcdir/configure" --help=recursive
1315 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1317 cd "$ac_pwd" || { ac_status=$?; break; }
1321 test -n "$ac_init_help" && exit $ac_status
1322 if $ac_init_version; then
1324 ctdlsh configure 1.0
1325 generated by GNU Autoconf 2.61
1327 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1328 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1329 This configure script is free software; the Free Software Foundation
1330 gives unlimited permission to copy, distribute and modify it.
1334 cat >config.log <<_ACEOF
1335 This file contains any messages produced by compilers while
1336 running configure, to aid debugging if configure makes a mistake.
1338 It was created by ctdlsh $as_me 1.0, which was
1339 generated by GNU Autoconf 2.61. Invocation command line was
1351 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1352 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1353 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1354 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1355 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1357 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1358 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1360 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1361 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1362 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1363 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1364 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1365 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1366 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1374 test -z "$as_dir" && as_dir=.
1375 echo "PATH: $as_dir"
1391 # Keep a trace of the command line.
1392 # Strip out --no-create and --no-recursion so they do not pile up.
1393 # Strip out --silent because we don't want to record it for future runs.
1394 # Also quote any args containing shell meta-characters.
1395 # Make two passes to allow for proper duplicate-argument suppression.
1399 ac_must_keep_next=false
1405 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1406 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1407 | -silent | --silent | --silen | --sile | --sil)
1410 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1413 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1415 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1416 if test $ac_must_keep_next = true; then
1417 ac_must_keep_next=false # Got value, back to normal.
1420 *=* | --config-cache | -C | -disable-* | --disable-* \
1421 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1422 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1423 | -with-* | --with-* | -without-* | --without-* | --x)
1424 case "$ac_configure_args0 " in
1425 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1428 -* ) ac_must_keep_next=true ;;
1431 ac_configure_args="$ac_configure_args '$ac_arg'"
1436 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1437 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1439 # When interrupted or exit'd, cleanup temporary files, and complete
1440 # config.log. We remove comments because anyway the quotes in there
1441 # would cause problems or look ugly.
1442 # WARNING: Use '\'' to represent an apostrophe within the trap.
1443 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1444 trap 'exit_status=$?
1445 # Save into config.log some information that might help in debugging.
1450 ## ---------------- ##
1451 ## Cache variables. ##
1452 ## ---------------- ##
1455 # The following way of writing the cache mishandles newlines in values,
1457 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1458 eval ac_val=\$$ac_var
1462 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1463 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1466 _ | IFS | as_nl) ;; #(
1467 *) $as_unset $ac_var ;;
1472 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1473 *${as_nl}ac_space=\ *)
1475 "s/'\''/'\''\\\\'\'''\''/g;
1476 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1479 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1487 ## ----------------- ##
1488 ## Output variables. ##
1489 ## ----------------- ##
1492 for ac_var in $ac_subst_vars
1494 eval ac_val=\$$ac_var
1496 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1498 echo "$ac_var='\''$ac_val'\''"
1502 if test -n "$ac_subst_files"; then
1504 ## ------------------- ##
1505 ## File substitutions. ##
1506 ## ------------------- ##
1509 for ac_var in $ac_subst_files
1511 eval ac_val=\$$ac_var
1513 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1515 echo "$ac_var='\''$ac_val'\''"
1520 if test -s confdefs.h; then
1530 test "$ac_signal" != 0 &&
1531 echo "$as_me: caught signal $ac_signal"
1532 echo "$as_me: exit $exit_status"
1534 rm -f core *.core core.conftest.* &&
1535 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1538 for ac_signal in 1 2 13 15; do
1539 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1543 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1544 rm -f -r conftest* confdefs.h
1546 # Predefined preprocessor variables.
1548 cat >>confdefs.h <<_ACEOF
1549 #define PACKAGE_NAME "$PACKAGE_NAME"
1553 cat >>confdefs.h <<_ACEOF
1554 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1558 cat >>confdefs.h <<_ACEOF
1559 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1563 cat >>confdefs.h <<_ACEOF
1564 #define PACKAGE_STRING "$PACKAGE_STRING"
1568 cat >>confdefs.h <<_ACEOF
1569 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1573 # Let the site file select an alternate cache file if it wants to.
1574 # Prefer explicitly selected file to automatically selected ones.
1575 if test -n "$CONFIG_SITE"; then
1576 set x "$CONFIG_SITE"
1577 elif test "x$prefix" != xNONE; then
1578 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1580 set x "$ac_default_prefix/share/config.site" \
1581 "$ac_default_prefix/etc/config.site"
1586 if test -r "$ac_site_file"; then
1587 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1588 echo "$as_me: loading site script $ac_site_file" >&6;}
1589 sed 's/^/| /' "$ac_site_file" >&5
1594 if test -r "$cache_file"; then
1595 # Some versions of bash will fail to source /dev/null (special
1596 # files actually), so we avoid doing that.
1597 if test -f "$cache_file"; then
1598 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1599 echo "$as_me: loading cache $cache_file" >&6;}
1601 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1602 *) . "./$cache_file";;
1606 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1607 echo "$as_me: creating cache $cache_file" >&6;}
1611 # Check that the precious variables saved in the cache have kept the same
1613 ac_cache_corrupted=false
1614 for ac_var in $ac_precious_vars; do
1615 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1616 eval ac_new_set=\$ac_env_${ac_var}_set
1617 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1618 eval ac_new_val=\$ac_env_${ac_var}_value
1619 case $ac_old_set,$ac_new_set in
1621 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1622 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1623 ac_cache_corrupted=: ;;
1625 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1626 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1627 ac_cache_corrupted=: ;;
1630 if test "x$ac_old_val" != "x$ac_new_val"; then
1631 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1632 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1633 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1634 echo "$as_me: former value: $ac_old_val" >&2;}
1635 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1636 echo "$as_me: current value: $ac_new_val" >&2;}
1637 ac_cache_corrupted=:
1640 # Pass precious variables to config.status.
1641 if test "$ac_new_set" = set; then
1643 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1644 *) ac_arg=$ac_var=$ac_new_val ;;
1646 case " $ac_configure_args " in
1647 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1648 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1652 if $ac_cache_corrupted; then
1653 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1654 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1655 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1656 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1657 { (exit 1); exit 1; }; }
1685 ac_cpp='$CPP $CPPFLAGS'
1686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1691 am__api_version='1.10'
1694 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1695 if test -f "$ac_dir/install-sh"; then
1697 ac_install_sh="$ac_aux_dir/install-sh -c"
1699 elif test -f "$ac_dir/install.sh"; then
1701 ac_install_sh="$ac_aux_dir/install.sh -c"
1703 elif test -f "$ac_dir/shtool"; then
1705 ac_install_sh="$ac_aux_dir/shtool install -c"
1709 if test -z "$ac_aux_dir"; then
1710 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1711 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1712 { (exit 1); exit 1; }; }
1715 # These three variables are undocumented and unsupported,
1716 # and are intended to be withdrawn in a future Autoconf release.
1717 # They can cause serious problems if a builder's source tree is in a directory
1718 # whose full name contains unusual characters.
1719 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1720 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1721 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1724 # Find a good install program. We prefer a C program (faster),
1725 # so one script is as good as another. But avoid the broken or
1726 # incompatible versions:
1727 # SysV /etc/install, /usr/sbin/install
1728 # SunOS /usr/etc/install
1729 # IRIX /sbin/install
1731 # AmigaOS /C/install, which installs bootblocks on floppy discs
1732 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1733 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1734 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1735 # OS/2's system install, which has a completely different semantic
1736 # ./install, which can be erroneously created by make from ./install.sh.
1737 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1738 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1739 if test -z "$INSTALL"; then
1740 if test "${ac_cv_path_install+set}" = set; then
1741 echo $ECHO_N "(cached) $ECHO_C" >&6
1743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1747 test -z "$as_dir" && as_dir=.
1748 # Account for people who put trailing slashes in PATH elements.
1750 ./ | .// | /cC/* | \
1751 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1752 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1755 # OSF1 and SCO ODT 3.0 have their own names for install.
1756 # Don't use installbsd from OSF since it installs stuff as root
1758 for ac_prog in ginstall scoinst install; do
1759 for ac_exec_ext in '' $ac_executable_extensions; do
1760 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1761 if test $ac_prog = install &&
1762 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1763 # AIX install. It has an incompatible calling convention.
1765 elif test $ac_prog = install &&
1766 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1767 # program-specific install script used by HP pwplus--don't use.
1770 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1783 if test "${ac_cv_path_install+set}" = set; then
1784 INSTALL=$ac_cv_path_install
1786 # As a last resort, use the slow shell script. Don't cache a
1787 # value for INSTALL within a source directory, because that will
1788 # break other packages using the cache if that directory is
1789 # removed, or if the value is a relative name.
1790 INSTALL=$ac_install_sh
1793 { echo "$as_me:$LINENO: result: $INSTALL" >&5
1794 echo "${ECHO_T}$INSTALL" >&6; }
1796 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1797 # It thinks the first close brace ends the variable substitution.
1798 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1800 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1802 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1804 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1805 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1808 echo timestamp > conftest.file
1809 # Do `set' in a subshell so we don't clobber the current shell's
1810 # arguments. Must try -L first in case configure is actually a
1811 # symlink; some systems play weird games with the mod time of symlinks
1812 # (eg FreeBSD returns the mod time of the symlink's containing
1815 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1816 if test "$*" = "X"; then
1818 set X `ls -t $srcdir/configure conftest.file`
1821 if test "$*" != "X $srcdir/configure conftest.file" \
1822 && test "$*" != "X conftest.file $srcdir/configure"; then
1824 # If neither matched, then we have a broken ls. This can happen
1825 # if, for instance, CONFIG_SHELL is bash and it inherits a
1826 # broken ls alias from the environment. This has actually
1827 # happened. Such a system could not be considered "sane".
1828 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1829 alias in your environment" >&5
1830 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1831 alias in your environment" >&2;}
1832 { (exit 1); exit 1; }; }
1835 test "$2" = conftest.file
1841 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1842 Check your system clock" >&5
1843 echo "$as_me: error: newly created file is older than distributed files!
1844 Check your system clock" >&2;}
1845 { (exit 1); exit 1; }; }
1847 { echo "$as_me:$LINENO: result: yes" >&5
1848 echo "${ECHO_T}yes" >&6; }
1849 test "$program_prefix" != NONE &&
1850 program_transform_name="s&^&$program_prefix&;$program_transform_name"
1851 # Use a double $ so make ignores it.
1852 test "$program_suffix" != NONE &&
1853 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1854 # Double any \ or $. echo might interpret backslashes.
1855 # By default was `s,x,x', remove it if useless.
1856 cat <<\_ACEOF >conftest.sed
1857 s/[\\$]/&&/g;s/;s,x,x,$//
1859 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1862 # expand $ac_aux_dir to an absolute path
1863 am_aux_dir=`cd $ac_aux_dir && pwd`
1865 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1866 # Use eval to expand $SHELL
1867 if eval "$MISSING --run true"; then
1868 am_missing_run="$MISSING --run "
1871 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1872 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1875 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
1876 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
1877 if test -z "$MKDIR_P"; then
1878 if test "${ac_cv_path_mkdir+set}" = set; then
1879 echo $ECHO_N "(cached) $ECHO_C" >&6
1881 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1882 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
1885 test -z "$as_dir" && as_dir=.
1886 for ac_prog in mkdir gmkdir; do
1887 for ac_exec_ext in '' $ac_executable_extensions; do
1888 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
1889 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
1890 'mkdir (GNU coreutils) '* | \
1891 'mkdir (coreutils) '* | \
1892 'mkdir (fileutils) '4.1*)
1893 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
1903 if test "${ac_cv_path_mkdir+set}" = set; then
1904 MKDIR_P="$ac_cv_path_mkdir -p"
1906 # As a last resort, use the slow shell script. Don't cache a
1907 # value for MKDIR_P within a source directory, because that will
1908 # break other packages using the cache if that directory is
1909 # removed, or if the value is a relative name.
1910 test -d ./--version && rmdir ./--version
1911 MKDIR_P="$ac_install_sh -d"
1914 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
1915 echo "${ECHO_T}$MKDIR_P" >&6; }
1919 [\\/$]* | ?:[\\/]*) ;;
1920 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
1923 for ac_prog in gawk mawk nawk awk
1925 # Extract the first word of "$ac_prog", so it can be a program name with args.
1926 set dummy $ac_prog; ac_word=$2
1927 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1928 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1929 if test "${ac_cv_prog_AWK+set}" = set; then
1930 echo $ECHO_N "(cached) $ECHO_C" >&6
1932 if test -n "$AWK"; then
1933 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1939 test -z "$as_dir" && as_dir=.
1940 for ac_exec_ext in '' $ac_executable_extensions; do
1941 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1942 ac_cv_prog_AWK="$ac_prog"
1943 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1953 if test -n "$AWK"; then
1954 { echo "$as_me:$LINENO: result: $AWK" >&5
1955 echo "${ECHO_T}$AWK" >&6; }
1957 { echo "$as_me:$LINENO: result: no" >&5
1958 echo "${ECHO_T}no" >&6; }
1962 test -n "$AWK" && break
1965 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1966 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
1967 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1968 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1969 echo $ECHO_N "(cached) $ECHO_C" >&6
1971 cat >conftest.make <<\_ACEOF
1974 @echo '@@@%%%=$(MAKE)=@@@%%%'
1976 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1977 case `${MAKE-make} -f conftest.make 2>/dev/null` in
1979 eval ac_cv_prog_make_${ac_make}_set=yes;;
1981 eval ac_cv_prog_make_${ac_make}_set=no;;
1985 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
1986 { echo "$as_me:$LINENO: result: yes" >&5
1987 echo "${ECHO_T}yes" >&6; }
1990 { echo "$as_me:$LINENO: result: no" >&5
1991 echo "${ECHO_T}no" >&6; }
1992 SET_MAKE="MAKE=${MAKE-make}"
1995 rm -rf .tst 2>/dev/null
1996 mkdir .tst 2>/dev/null
1997 if test -d .tst; then
2002 rmdir .tst 2>/dev/null
2004 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2005 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2006 # is not polluted with repeated "-I."
2007 am__isrc=' -I$(srcdir)'
2008 # test to see if srcdir already configured
2009 if test -f $srcdir/config.status; then
2010 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2011 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2012 { (exit 1); exit 1; }; }
2016 # test whether we have cygpath
2017 if test -z "$CYGPATH_W"; then
2018 if (cygpath --version) >/dev/null 2>/dev/null; then
2019 CYGPATH_W='cygpath -w'
2026 # Define the identity of the package.
2031 cat >>confdefs.h <<_ACEOF
2032 #define PACKAGE "$PACKAGE"
2036 cat >>confdefs.h <<_ACEOF
2037 #define VERSION "$VERSION"
2040 # Some tools Automake needs.
2042 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2045 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2048 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2051 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2054 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2056 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2058 # Installed binaries are usually stripped using `strip' when the user
2059 # run `make install-strip'. However `strip' might not be the right
2060 # tool to use in cross-compilation environments, therefore Automake
2061 # will honor the `STRIP' environment variable to overrule this program.
2062 if test "$cross_compiling" != no; then
2063 if test -n "$ac_tool_prefix"; then
2064 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2065 set dummy ${ac_tool_prefix}strip; ac_word=$2
2066 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2067 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2068 if test "${ac_cv_prog_STRIP+set}" = set; then
2069 echo $ECHO_N "(cached) $ECHO_C" >&6
2071 if test -n "$STRIP"; then
2072 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2078 test -z "$as_dir" && as_dir=.
2079 for ac_exec_ext in '' $ac_executable_extensions; do
2080 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2081 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2082 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2091 STRIP=$ac_cv_prog_STRIP
2092 if test -n "$STRIP"; then
2093 { echo "$as_me:$LINENO: result: $STRIP" >&5
2094 echo "${ECHO_T}$STRIP" >&6; }
2096 { echo "$as_me:$LINENO: result: no" >&5
2097 echo "${ECHO_T}no" >&6; }
2102 if test -z "$ac_cv_prog_STRIP"; then
2104 # Extract the first word of "strip", so it can be a program name with args.
2105 set dummy strip; ac_word=$2
2106 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2107 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2108 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2109 echo $ECHO_N "(cached) $ECHO_C" >&6
2111 if test -n "$ac_ct_STRIP"; then
2112 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2118 test -z "$as_dir" && as_dir=.
2119 for ac_exec_ext in '' $ac_executable_extensions; do
2120 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2121 ac_cv_prog_ac_ct_STRIP="strip"
2122 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2131 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2132 if test -n "$ac_ct_STRIP"; then
2133 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2134 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2136 { echo "$as_me:$LINENO: result: no" >&5
2137 echo "${ECHO_T}no" >&6; }
2140 if test "x$ac_ct_STRIP" = x; then
2143 case $cross_compiling:$ac_tool_warned in
2145 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2146 whose name does not start with the host triplet. If you think this
2147 configuration is useful to you, please write to autoconf@gnu.org." >&5
2148 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2149 whose name does not start with the host triplet. If you think this
2150 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2151 ac_tool_warned=yes ;;
2156 STRIP="$ac_cv_prog_STRIP"
2160 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2162 # We need awk for the "check" target. The system "awk" is bad on
2164 # Always define AMTAR for backward compatibility.
2166 AMTAR=${AMTAR-"${am_missing_run}tar"}
2168 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2175 ac_cpp='$CPP $CPPFLAGS'
2176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2179 if test -n "$ac_tool_prefix"; then
2180 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2181 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2182 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2183 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2184 if test "${ac_cv_prog_CC+set}" = set; then
2185 echo $ECHO_N "(cached) $ECHO_C" >&6
2187 if test -n "$CC"; then
2188 ac_cv_prog_CC="$CC" # Let the user override the test.
2190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2194 test -z "$as_dir" && as_dir=.
2195 for ac_exec_ext in '' $ac_executable_extensions; do
2196 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2197 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2198 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2208 if test -n "$CC"; then
2209 { echo "$as_me:$LINENO: result: $CC" >&5
2210 echo "${ECHO_T}$CC" >&6; }
2212 { echo "$as_me:$LINENO: result: no" >&5
2213 echo "${ECHO_T}no" >&6; }
2218 if test -z "$ac_cv_prog_CC"; then
2220 # Extract the first word of "gcc", so it can be a program name with args.
2221 set dummy gcc; ac_word=$2
2222 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2223 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2224 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2225 echo $ECHO_N "(cached) $ECHO_C" >&6
2227 if test -n "$ac_ct_CC"; then
2228 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2234 test -z "$as_dir" && as_dir=.
2235 for ac_exec_ext in '' $ac_executable_extensions; do
2236 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2237 ac_cv_prog_ac_ct_CC="gcc"
2238 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2247 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2248 if test -n "$ac_ct_CC"; then
2249 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2250 echo "${ECHO_T}$ac_ct_CC" >&6; }
2252 { echo "$as_me:$LINENO: result: no" >&5
2253 echo "${ECHO_T}no" >&6; }
2256 if test "x$ac_ct_CC" = x; then
2259 case $cross_compiling:$ac_tool_warned in
2261 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2262 whose name does not start with the host triplet. If you think this
2263 configuration is useful to you, please write to autoconf@gnu.org." >&5
2264 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2265 whose name does not start with the host triplet. If you think this
2266 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2267 ac_tool_warned=yes ;;
2275 if test -z "$CC"; then
2276 if test -n "$ac_tool_prefix"; then
2277 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2278 set dummy ${ac_tool_prefix}cc; ac_word=$2
2279 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2280 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2281 if test "${ac_cv_prog_CC+set}" = set; then
2282 echo $ECHO_N "(cached) $ECHO_C" >&6
2284 if test -n "$CC"; then
2285 ac_cv_prog_CC="$CC" # Let the user override the test.
2287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2291 test -z "$as_dir" && as_dir=.
2292 for ac_exec_ext in '' $ac_executable_extensions; do
2293 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2294 ac_cv_prog_CC="${ac_tool_prefix}cc"
2295 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2305 if test -n "$CC"; then
2306 { echo "$as_me:$LINENO: result: $CC" >&5
2307 echo "${ECHO_T}$CC" >&6; }
2309 { echo "$as_me:$LINENO: result: no" >&5
2310 echo "${ECHO_T}no" >&6; }
2316 if test -z "$CC"; then
2317 # Extract the first word of "cc", so it can be a program name with args.
2318 set dummy cc; ac_word=$2
2319 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2320 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2321 if test "${ac_cv_prog_CC+set}" = set; then
2322 echo $ECHO_N "(cached) $ECHO_C" >&6
2324 if test -n "$CC"; then
2325 ac_cv_prog_CC="$CC" # Let the user override the test.
2328 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2332 test -z "$as_dir" && as_dir=.
2333 for ac_exec_ext in '' $ac_executable_extensions; do
2334 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2335 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2336 ac_prog_rejected=yes
2340 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2347 if test $ac_prog_rejected = yes; then
2348 # We found a bogon in the path, so make sure we never use it.
2349 set dummy $ac_cv_prog_CC
2351 if test $# != 0; then
2352 # We chose a different compiler from the bogus one.
2353 # However, it has the same basename, so the bogon will be chosen
2354 # first if we set CC to just the basename; use the full file name.
2356 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2362 if test -n "$CC"; then
2363 { echo "$as_me:$LINENO: result: $CC" >&5
2364 echo "${ECHO_T}$CC" >&6; }
2366 { echo "$as_me:$LINENO: result: no" >&5
2367 echo "${ECHO_T}no" >&6; }
2372 if test -z "$CC"; then
2373 if test -n "$ac_tool_prefix"; then
2374 for ac_prog in cl.exe
2376 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2377 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2378 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2379 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2380 if test "${ac_cv_prog_CC+set}" = set; then
2381 echo $ECHO_N "(cached) $ECHO_C" >&6
2383 if test -n "$CC"; then
2384 ac_cv_prog_CC="$CC" # Let the user override the test.
2386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2390 test -z "$as_dir" && as_dir=.
2391 for ac_exec_ext in '' $ac_executable_extensions; do
2392 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2393 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2394 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2404 if test -n "$CC"; then
2405 { echo "$as_me:$LINENO: result: $CC" >&5
2406 echo "${ECHO_T}$CC" >&6; }
2408 { echo "$as_me:$LINENO: result: no" >&5
2409 echo "${ECHO_T}no" >&6; }
2413 test -n "$CC" && break
2416 if test -z "$CC"; then
2418 for ac_prog in cl.exe
2420 # Extract the first word of "$ac_prog", so it can be a program name with args.
2421 set dummy $ac_prog; ac_word=$2
2422 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2423 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2424 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2425 echo $ECHO_N "(cached) $ECHO_C" >&6
2427 if test -n "$ac_ct_CC"; then
2428 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2430 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2434 test -z "$as_dir" && as_dir=.
2435 for ac_exec_ext in '' $ac_executable_extensions; do
2436 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2437 ac_cv_prog_ac_ct_CC="$ac_prog"
2438 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2447 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2448 if test -n "$ac_ct_CC"; then
2449 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2450 echo "${ECHO_T}$ac_ct_CC" >&6; }
2452 { echo "$as_me:$LINENO: result: no" >&5
2453 echo "${ECHO_T}no" >&6; }
2457 test -n "$ac_ct_CC" && break
2460 if test "x$ac_ct_CC" = x; then
2463 case $cross_compiling:$ac_tool_warned in
2465 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2466 whose name does not start with the host triplet. If you think this
2467 configuration is useful to you, please write to autoconf@gnu.org." >&5
2468 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2469 whose name does not start with the host triplet. If you think this
2470 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2471 ac_tool_warned=yes ;;
2480 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2481 See \`config.log' for more details." >&5
2482 echo "$as_me: error: no acceptable C compiler found in \$PATH
2483 See \`config.log' for more details." >&2;}
2484 { (exit 1); exit 1; }; }
2486 # Provide some information about the compiler.
2487 echo "$as_me:$LINENO: checking for C compiler version" >&5
2488 ac_compiler=`set X $ac_compile; echo $2`
2489 { (ac_try="$ac_compiler --version >&5"
2491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2492 *) ac_try_echo=$ac_try;;
2494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2495 (eval "$ac_compiler --version >&5") 2>&5
2497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2498 (exit $ac_status); }
2499 { (ac_try="$ac_compiler -v >&5"
2501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2502 *) ac_try_echo=$ac_try;;
2504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2505 (eval "$ac_compiler -v >&5") 2>&5
2507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2508 (exit $ac_status); }
2509 { (ac_try="$ac_compiler -V >&5"
2511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2512 *) ac_try_echo=$ac_try;;
2514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2515 (eval "$ac_compiler -V >&5") 2>&5
2517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2518 (exit $ac_status); }
2520 cat >conftest.$ac_ext <<_ACEOF
2523 cat confdefs.h >>conftest.$ac_ext
2524 cat >>conftest.$ac_ext <<_ACEOF
2525 /* end confdefs.h. */
2535 ac_clean_files_save=$ac_clean_files
2536 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2537 # Try to create an executable without -o first, disregard a.out.
2538 # It will help us diagnose broken compilers, and finding out an intuition
2540 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2541 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2542 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2544 # List of possible output files, starting from the most likely.
2545 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2546 # only as a last resort. b.out is created by i960 compilers.
2547 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2549 # The IRIX 6 linker writes into existing files which may not be
2550 # executable, retaining their permissions. Remove them first so a
2551 # subsequent execution test works.
2553 for ac_file in $ac_files
2556 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2557 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2562 if { (ac_try="$ac_link_default"
2564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2565 *) ac_try_echo=$ac_try;;
2567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2568 (eval "$ac_link_default") 2>&5
2570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2571 (exit $ac_status); }; then
2572 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2573 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2574 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2575 # so that the user can short-circuit this test for compilers unknown to
2577 for ac_file in $ac_files ''
2579 test -f "$ac_file" || continue
2581 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2584 # We found the default executable, but exeext='' is most
2588 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2590 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2592 # We set ac_cv_exeext here because the later test for it is not
2593 # safe: cross compilers may not add the suffix if given an `-o'
2594 # argument, so we may need to know it at that point already.
2595 # Even if this section looks crufty: it has the advantage of
2602 test "$ac_cv_exeext" = no && ac_cv_exeext=
2608 { echo "$as_me:$LINENO: result: $ac_file" >&5
2609 echo "${ECHO_T}$ac_file" >&6; }
2610 if test -z "$ac_file"; then
2611 echo "$as_me: failed program was:" >&5
2612 sed 's/^/| /' conftest.$ac_ext >&5
2614 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2615 See \`config.log' for more details." >&5
2616 echo "$as_me: error: C compiler cannot create executables
2617 See \`config.log' for more details." >&2;}
2618 { (exit 77); exit 77; }; }
2621 ac_exeext=$ac_cv_exeext
2623 # Check that the compiler produces executables we can run. If not, either
2624 # the compiler is broken, or we cross compile.
2625 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2626 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2627 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2628 # If not cross compiling, check that we can run a simple program.
2629 if test "$cross_compiling" != yes; then
2630 if { ac_try='./$ac_file'
2631 { (case "(($ac_try" in
2632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2633 *) ac_try_echo=$ac_try;;
2635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2636 (eval "$ac_try") 2>&5
2638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2639 (exit $ac_status); }; }; then
2642 if test "$cross_compiling" = maybe; then
2645 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2646 If you meant to cross compile, use \`--host'.
2647 See \`config.log' for more details." >&5
2648 echo "$as_me: error: cannot run C compiled programs.
2649 If you meant to cross compile, use \`--host'.
2650 See \`config.log' for more details." >&2;}
2651 { (exit 1); exit 1; }; }
2655 { echo "$as_me:$LINENO: result: yes" >&5
2656 echo "${ECHO_T}yes" >&6; }
2658 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2659 ac_clean_files=$ac_clean_files_save
2660 # Check that the compiler produces executables we can run. If not, either
2661 # the compiler is broken, or we cross compile.
2662 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2663 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2664 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2665 echo "${ECHO_T}$cross_compiling" >&6; }
2667 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2668 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2669 if { (ac_try="$ac_link"
2671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2672 *) ac_try_echo=$ac_try;;
2674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2675 (eval "$ac_link") 2>&5
2677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2678 (exit $ac_status); }; then
2679 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2680 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2681 # work properly (i.e., refer to `conftest.exe'), while it won't with
2683 for ac_file in conftest.exe conftest conftest.*; do
2684 test -f "$ac_file" || continue
2686 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2687 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2693 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2694 See \`config.log' for more details." >&5
2695 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2696 See \`config.log' for more details." >&2;}
2697 { (exit 1); exit 1; }; }
2700 rm -f conftest$ac_cv_exeext
2701 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2702 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2704 rm -f conftest.$ac_ext
2705 EXEEXT=$ac_cv_exeext
2707 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2708 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2709 if test "${ac_cv_objext+set}" = set; then
2710 echo $ECHO_N "(cached) $ECHO_C" >&6
2712 cat >conftest.$ac_ext <<_ACEOF
2715 cat confdefs.h >>conftest.$ac_ext
2716 cat >>conftest.$ac_ext <<_ACEOF
2717 /* end confdefs.h. */
2727 rm -f conftest.o conftest.obj
2728 if { (ac_try="$ac_compile"
2730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2731 *) ac_try_echo=$ac_try;;
2733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2734 (eval "$ac_compile") 2>&5
2736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2737 (exit $ac_status); }; then
2738 for ac_file in conftest.o conftest.obj conftest.*; do
2739 test -f "$ac_file" || continue;
2741 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2742 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2747 echo "$as_me: failed program was:" >&5
2748 sed 's/^/| /' conftest.$ac_ext >&5
2750 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2751 See \`config.log' for more details." >&5
2752 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2753 See \`config.log' for more details." >&2;}
2754 { (exit 1); exit 1; }; }
2757 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2759 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2760 echo "${ECHO_T}$ac_cv_objext" >&6; }
2761 OBJEXT=$ac_cv_objext
2763 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2764 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2765 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2766 echo $ECHO_N "(cached) $ECHO_C" >&6
2768 cat >conftest.$ac_ext <<_ACEOF
2771 cat confdefs.h >>conftest.$ac_ext
2772 cat >>conftest.$ac_ext <<_ACEOF
2773 /* end confdefs.h. */
2786 rm -f conftest.$ac_objext
2787 if { (ac_try="$ac_compile"
2789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2790 *) ac_try_echo=$ac_try;;
2792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2793 (eval "$ac_compile") 2>conftest.er1
2795 grep -v '^ *+' conftest.er1 >conftest.err
2797 cat conftest.err >&5
2798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2799 (exit $ac_status); } && {
2800 test -z "$ac_c_werror_flag" ||
2801 test ! -s conftest.err
2802 } && test -s conftest.$ac_objext; then
2805 echo "$as_me: failed program was:" >&5
2806 sed 's/^/| /' conftest.$ac_ext >&5
2811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2812 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2815 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2816 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2817 GCC=`test $ac_compiler_gnu = yes && echo yes`
2818 ac_test_CFLAGS=${CFLAGS+set}
2819 ac_save_CFLAGS=$CFLAGS
2820 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2821 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2822 if test "${ac_cv_prog_cc_g+set}" = set; then
2823 echo $ECHO_N "(cached) $ECHO_C" >&6
2825 ac_save_c_werror_flag=$ac_c_werror_flag
2826 ac_c_werror_flag=yes
2829 cat >conftest.$ac_ext <<_ACEOF
2832 cat confdefs.h >>conftest.$ac_ext
2833 cat >>conftest.$ac_ext <<_ACEOF
2834 /* end confdefs.h. */
2844 rm -f conftest.$ac_objext
2845 if { (ac_try="$ac_compile"
2847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2848 *) ac_try_echo=$ac_try;;
2850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2851 (eval "$ac_compile") 2>conftest.er1
2853 grep -v '^ *+' conftest.er1 >conftest.err
2855 cat conftest.err >&5
2856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2857 (exit $ac_status); } && {
2858 test -z "$ac_c_werror_flag" ||
2859 test ! -s conftest.err
2860 } && test -s conftest.$ac_objext; then
2863 echo "$as_me: failed program was:" >&5
2864 sed 's/^/| /' conftest.$ac_ext >&5
2867 cat >conftest.$ac_ext <<_ACEOF
2870 cat confdefs.h >>conftest.$ac_ext
2871 cat >>conftest.$ac_ext <<_ACEOF
2872 /* end confdefs.h. */
2882 rm -f conftest.$ac_objext
2883 if { (ac_try="$ac_compile"
2885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2886 *) ac_try_echo=$ac_try;;
2888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2889 (eval "$ac_compile") 2>conftest.er1
2891 grep -v '^ *+' conftest.er1 >conftest.err
2893 cat conftest.err >&5
2894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2895 (exit $ac_status); } && {
2896 test -z "$ac_c_werror_flag" ||
2897 test ! -s conftest.err
2898 } && test -s conftest.$ac_objext; then
2901 echo "$as_me: failed program was:" >&5
2902 sed 's/^/| /' conftest.$ac_ext >&5
2904 ac_c_werror_flag=$ac_save_c_werror_flag
2906 cat >conftest.$ac_ext <<_ACEOF
2909 cat confdefs.h >>conftest.$ac_ext
2910 cat >>conftest.$ac_ext <<_ACEOF
2911 /* end confdefs.h. */
2921 rm -f conftest.$ac_objext
2922 if { (ac_try="$ac_compile"
2924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2925 *) ac_try_echo=$ac_try;;
2927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2928 (eval "$ac_compile") 2>conftest.er1
2930 grep -v '^ *+' conftest.er1 >conftest.err
2932 cat conftest.err >&5
2933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2934 (exit $ac_status); } && {
2935 test -z "$ac_c_werror_flag" ||
2936 test ! -s conftest.err
2937 } && test -s conftest.$ac_objext; then
2940 echo "$as_me: failed program was:" >&5
2941 sed 's/^/| /' conftest.$ac_ext >&5
2946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2953 ac_c_werror_flag=$ac_save_c_werror_flag
2955 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2956 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2957 if test "$ac_test_CFLAGS" = set; then
2958 CFLAGS=$ac_save_CFLAGS
2959 elif test $ac_cv_prog_cc_g = yes; then
2960 if test "$GCC" = yes; then
2966 if test "$GCC" = yes; then
2972 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2973 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2974 if test "${ac_cv_prog_cc_c89+set}" = set; then
2975 echo $ECHO_N "(cached) $ECHO_C" >&6
2977 ac_cv_prog_cc_c89=no
2979 cat >conftest.$ac_ext <<_ACEOF
2982 cat confdefs.h >>conftest.$ac_ext
2983 cat >>conftest.$ac_ext <<_ACEOF
2984 /* end confdefs.h. */
2987 #include <sys/types.h>
2988 #include <sys/stat.h>
2989 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2990 struct buf { int x; };
2991 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2992 static char *e (p, i)
2998 static char *f (char * (*g) (char **, int), char **p, ...)
3003 s = g (p, va_arg (v,int));
3008 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3009 function prototypes and stuff, but not '\xHH' hex character constants.
3010 These don't provoke an error unfortunately, instead are silently treated
3011 as 'x'. The following induces an error, until -std is added to get
3012 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3013 array size at least. It's necessary to write '\x00'==0 to get something
3014 that's true only with -std. */
3015 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3017 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3018 inside strings and character constants. */
3020 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3022 int test (int i, double x);
3023 struct s1 {int (*f) (int a);};
3024 struct s2 {int (*f) (double a);};
3025 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3031 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3036 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3037 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3039 CC="$ac_save_CC $ac_arg"
3040 rm -f conftest.$ac_objext
3041 if { (ac_try="$ac_compile"
3043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3044 *) ac_try_echo=$ac_try;;
3046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3047 (eval "$ac_compile") 2>conftest.er1
3049 grep -v '^ *+' conftest.er1 >conftest.err
3051 cat conftest.err >&5
3052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3053 (exit $ac_status); } && {
3054 test -z "$ac_c_werror_flag" ||
3055 test ! -s conftest.err
3056 } && test -s conftest.$ac_objext; then
3057 ac_cv_prog_cc_c89=$ac_arg
3059 echo "$as_me: failed program was:" >&5
3060 sed 's/^/| /' conftest.$ac_ext >&5
3065 rm -f core conftest.err conftest.$ac_objext
3066 test "x$ac_cv_prog_cc_c89" != "xno" && break
3068 rm -f conftest.$ac_ext
3073 case "x$ac_cv_prog_cc_c89" in
3075 { echo "$as_me:$LINENO: result: none needed" >&5
3076 echo "${ECHO_T}none needed" >&6; } ;;
3078 { echo "$as_me:$LINENO: result: unsupported" >&5
3079 echo "${ECHO_T}unsupported" >&6; } ;;
3081 CC="$CC $ac_cv_prog_cc_c89"
3082 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3083 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3088 ac_cpp='$CPP $CPPFLAGS'
3089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3092 DEPDIR="${am__leading_dot}deps"
3094 ac_config_commands="$ac_config_commands depfiles"
3097 am_make=${MAKE-make}
3098 cat > confinc << 'END'
3103 # If we don't find an include directive, just comment out the code.
3104 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3105 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
3109 # First try GNU make style include.
3110 echo "include confinc" > confmf
3111 # We grep out `Entering directory' and `Leaving directory'
3112 # messages which can occur if `w' ends up in MAKEFLAGS.
3113 # In particular we don't look at `^make:' because GNU make might
3114 # be invoked under some other name (usually "gmake"), in which
3115 # case it prints its new name instead of `make'.
3116 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3121 # Now try BSD make style include.
3122 if test "$am__include" = "#"; then
3123 echo '.include "confinc"' > confmf
3124 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3125 am__include=.include
3132 { echo "$as_me:$LINENO: result: $_am_result" >&5
3133 echo "${ECHO_T}$_am_result" >&6; }
3134 rm -f confinc confmf
3136 # Check whether --enable-dependency-tracking was given.
3137 if test "${enable_dependency_tracking+set}" = set; then
3138 enableval=$enable_dependency_tracking;
3141 if test "x$enable_dependency_tracking" != xno; then
3142 am_depcomp="$ac_aux_dir/depcomp"
3145 if test "x$enable_dependency_tracking" != xno; then
3155 depcc="$CC" am_compiler_list=
3157 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3158 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3159 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3160 echo $ECHO_N "(cached) $ECHO_C" >&6
3162 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3163 # We make a subdir and do the tests there. Otherwise we can end up
3164 # making bogus files that we don't know about and never remove. For
3165 # instance it was reported that on HP-UX the gcc test will end up
3166 # making a dummy file named `D' -- because `-MD' means `put the output
3169 # Copy depcomp to subdir because otherwise we won't find it if we're
3170 # using a relative directory.
3171 cp "$am_depcomp" conftest.dir
3173 # We will build objects and dependencies in a subdirectory because
3174 # it helps to detect inapplicable dependency modes. For instance
3175 # both Tru64's cc and ICC support -MD to output dependencies as a
3176 # side effect of compilation, but ICC will put the dependencies in
3177 # the current directory while Tru64 will put them in the object
3181 am_cv_CC_dependencies_compiler_type=none
3182 if test "$am_compiler_list" = ""; then
3183 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3185 for depmode in $am_compiler_list; do
3186 # Setup a source with many dependencies, because some compilers
3187 # like to wrap large dependency lists on column 80 (with \), and
3188 # we should not choose a depcomp mode which is confused by this.
3190 # We need to recreate these files for each test, as the compiler may
3191 # overwrite some of them when testing with obscure command lines.
3192 # This happens at least with the AIX C compiler.
3194 for i in 1 2 3 4 5 6; do
3195 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3196 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3197 # Solaris 8's {/usr,}/bin/sh.
3198 touch sub/conftst$i.h
3200 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3204 # after this tag, mechanisms are not by side-effect, so they'll
3205 # only be used when explicitly requested
3206 if test "x$enable_dependency_tracking" = xyes; then
3214 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3215 # mode. It turns out that the SunPro C++ compiler does not properly
3216 # handle `-M -o', and we need to detect this.
3217 if depmode=$depmode \
3218 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3219 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3220 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3221 >/dev/null 2>conftest.err &&
3222 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3223 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3224 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3225 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3226 # icc doesn't choke on unknown options, it will just issue warnings
3227 # or remarks (even with -Werror). So we grep stderr for any message
3228 # that says an option was ignored or not supported.
3229 # When given -MP, icc 7.0 and 7.1 complain thusly:
3230 # icc: Command line warning: ignoring option '-M'; no argument required
3231 # The diagnosis changed in icc 8.0:
3232 # icc: Command line remark: option '-MP' not supported
3233 if (grep 'ignoring option' conftest.err ||
3234 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3235 am_cv_CC_dependencies_compiler_type=$depmode
3244 am_cv_CC_dependencies_compiler_type=none
3248 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3249 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3250 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3253 test "x$enable_dependency_tracking" != xno \
3254 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3256 am__fastdepCC_FALSE='#'
3258 am__fastdepCC_TRUE='#'
3259 am__fastdepCC_FALSE=
3263 ac_config_headers="$ac_config_headers config.h"
3266 ##########################################################################
3267 # adding the readline library (e.g. with static name 'libreadline.a')
3268 ##########################################################################
3270 # adding the lib to the files to link
3271 LIBS="-lreadline $LIBS"
3273 # introduce the optional configure parameter for a non-standard install prefix of readline
3275 # Check whether --with-readline was given.
3276 if test "${with_readline+set}" = set; then
3277 withval=$with_readline; readlinePATHSET=1
3283 # if optional parameter used, extend path flags for compliler and linker
3284 if test $readlinePATHSET = 1 ; then
3285 # extend the compiler and linker flags according to the path set
3286 AM_CXXFLAGS="$AM_CXXFLAGS -I$with_readline/include"
3287 AM_LDFLAGS="$AM_LDFLAGS -L$with_readline/lib"
3290 ##########################################################################
3293 ##########################################################################
3294 # check for readline library
3295 ##########################################################################
3297 # store current *FLAGS and merge with AM_*FLAGS for compilation and linker check
3298 OLD_CXXFLAGS=$CXXFLAGS;
3299 OLD_LDFLAGS=$LDFLAGS;
3300 CXXFLAGS="$AM_CXXFLAGS $CXXFLAGS"
3301 LDFLAGS="$AM_LDFLAGS $LDFLAGS"
3303 # ensure the library to check for is covered by the LIBS variable
3305 LIBS="$LIBS -lreadline"
3307 # check for readline library headers
3308 { echo "$as_me:$LINENO: checking for the readline library headers" >&5
3309 echo $ECHO_N "checking for the readline library headers... $ECHO_C" >&6; }
3310 # try to compile a file that includes a header of the library readline
3312 cat >conftest.$ac_ext <<_ACEOF
3313 #include <readline/readline.h>
3315 rm -f conftest.$ac_objext
3316 if { (ac_try="$ac_compile"
3318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3319 *) ac_try_echo=$ac_try;;
3321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3322 (eval "$ac_compile") 2>conftest.er1
3324 grep -v '^ *+' conftest.er1 >conftest.err
3326 cat conftest.err >&5
3327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3328 (exit $ac_status); } && {
3329 test -z "$ac_c_werror_flag" ||
3330 test ! -s conftest.err
3331 } && test -s conftest.$ac_objext; then
3332 { echo "$as_me:$LINENO: result: found" >&5
3333 echo "${ECHO_T}found" >&6; }
3334 # try to link the function 'rl_initialize' out of library readline
3335 { echo "$as_me:$LINENO: checking whether the readline library can be linked" >&5
3336 echo $ECHO_N "checking whether the readline library can be linked... $ECHO_C" >&6; }
3337 cat >conftest.$ac_ext <<_ACEOF
3340 cat confdefs.h >>conftest.$ac_ext
3341 cat >>conftest.$ac_ext <<_ACEOF
3342 /* end confdefs.h. */
3343 #include <readline/readline.h>
3352 rm -f conftest.$ac_objext conftest$ac_exeext
3353 if { (ac_try="$ac_link"
3355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3356 *) ac_try_echo=$ac_try;;
3358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3359 (eval "$ac_link") 2>conftest.er1
3361 grep -v '^ *+' conftest.er1 >conftest.err
3363 cat conftest.err >&5
3364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3365 (exit $ac_status); } && {
3366 test -z "$ac_c_werror_flag" ||
3367 test ! -s conftest.err
3368 } && test -s conftest$ac_exeext &&
3369 $as_test_x conftest$ac_exeext; then
3370 { echo "$as_me:$LINENO: result: yes" >&5
3371 echo "${ECHO_T}yes" >&6; }
3374 echo "$as_me: failed program was:" >&5
3375 sed 's/^/| /' conftest.$ac_ext >&5
3377 { echo "$as_me:$LINENO: result: no" >&5
3378 echo "${ECHO_T}no" >&6; }
3379 LIBS=$OLD_LIBS; FOUND_readline=0;
3382 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3383 conftest$ac_exeext conftest.$ac_ext
3385 echo "$as_me: failed program was:" >&5
3386 sed 's/^/| /' conftest.$ac_ext >&5
3388 { echo "$as_me:$LINENO: result: not found" >&5
3389 echo "${ECHO_T}not found" >&6; }
3393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3395 # reset original *FLAGS
3396 CXXFLAGS=$OLD_CXXFLAGS
3397 LDFLAGS=$OLD_LDFLAGS
3399 # handle check results
3400 if test $FOUND_readline != 1; then
3401 { echo "$as_me:$LINENO: " >&5
3402 echo "$as_me: " >&6;}
3403 { echo "$as_me:$LINENO: The readline library was not found!" >&5
3404 echo "$as_me: The readline library was not found!" >&6;}
3405 if test $readlinePATHSET = 1 ; then
3406 { echo "$as_me:$LINENO: The install prefix '$with_readline' for the readline library was set." >&5
3407 echo "$as_me: The install prefix '$with_readline' for the readline library was set." >&6;}
3408 { echo "$as_me:$LINENO: --> Maybe wrong ???" >&5
3409 echo "$as_me: --> Maybe wrong ???" >&6;}
3411 { echo "$as_me:$LINENO: No non-standard install prefix was set." >&5
3412 echo "$as_me: No non-standard install prefix was set." >&6;}
3413 { echo "$as_me:$LINENO: --> You might want to use '--with-readline=PREFIX' ?!?" >&5
3414 echo "$as_me: --> You might want to use '--with-readline=PREFIX' ?!?" >&6;}
3416 { echo "$as_me:$LINENO: " >&5
3417 echo "$as_me: " >&6;}
3418 { { echo "$as_me:$LINENO: error: readline library is an essential dependency : cannot build and stop here !" >&5
3419 echo "$as_me: error: readline library is an essential dependency : cannot build and stop here !" >&2;}
3420 { (exit 1); exit 1; }; }
3423 ##########################################################################
3429 ac_config_files="$ac_config_files Makefile src/Makefile"
3431 cat >confcache <<\_ACEOF
3432 # This file is a shell script that caches the results of configure
3433 # tests run on this system so they can be shared between configure
3434 # scripts and configure runs, see configure's option --config-cache.
3435 # It is not useful on other systems. If it contains results you don't
3436 # want to keep, you may remove or edit it.
3438 # config.status only pays attention to the cache file if you give it
3439 # the --recheck option to rerun configure.
3441 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3442 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3447 # The following way of writing the cache mishandles newlines in values,
3448 # but we know of no workaround that is simple, portable, and efficient.
3449 # So, we kill variables containing newlines.
3450 # Ultrix sh set writes to stderr and can't be redirected directly,
3451 # and sets the high bit in the cache file unless we assign to the vars.
3453 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3454 eval ac_val=\$$ac_var
3458 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
3459 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
3462 _ | IFS | as_nl) ;; #(
3463 *) $as_unset $ac_var ;;
3469 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3470 *${as_nl}ac_space=\ *)
3471 # `set' does not quote correctly, so add quotes (double-quote
3472 # substitution turns \\\\ into \\, and sed turns \\ into \).
3475 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3478 # `set' quotes correctly as required by POSIX, so do not add quotes.
3479 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3488 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3490 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3492 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3493 if test -w "$cache_file"; then
3494 test "x$cache_file" != "x/dev/null" &&
3495 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
3496 echo "$as_me: updating cache $cache_file" >&6;}
3497 cat confcache >$cache_file
3499 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
3500 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3505 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3506 # Let make expand exec_prefix.
3507 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3509 DEFS=-DHAVE_CONFIG_H
3513 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3514 # 1. Remove the extension, and $U if already installed.
3515 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3516 ac_i=`echo "$ac_i" | sed "$ac_script"`
3517 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3518 # will be set to the directory where LIBOBJS objects are built.
3519 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3520 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
3524 LTLIBOBJS=$ac_ltlibobjs
3527 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
3528 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
3529 Usually this means the macro was only invoked conditionally." >&5
3530 echo "$as_me: error: conditional \"AMDEP\" was never defined.
3531 Usually this means the macro was only invoked conditionally." >&2;}
3532 { (exit 1); exit 1; }; }
3534 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
3535 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
3536 Usually this means the macro was only invoked conditionally." >&5
3537 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
3538 Usually this means the macro was only invoked conditionally." >&2;}
3539 { (exit 1); exit 1; }; }
3542 : ${CONFIG_STATUS=./config.status}
3543 ac_clean_files_save=$ac_clean_files
3544 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3545 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3546 echo "$as_me: creating $CONFIG_STATUS" >&6;}
3547 cat >$CONFIG_STATUS <<_ACEOF
3549 # Generated by $as_me.
3550 # Run this file to recreate the current configuration.
3551 # Compiler output produced by configure, useful for debugging
3552 # configure, is in config.log if it exists.
3557 SHELL=\${CONFIG_SHELL-$SHELL}
3560 cat >>$CONFIG_STATUS <<\_ACEOF
3561 ## --------------------- ##
3562 ## M4sh Initialization. ##
3563 ## --------------------- ##
3565 # Be more Bourne compatible
3566 DUALCASE=1; export DUALCASE # for MKS sh
3567 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3570 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3571 # is contrary to our usage. Disable this feature.
3572 alias -g '${1+"$@"}'='"$@"'
3573 setopt NO_GLOB_SUBST
3575 case `(set -o) 2>/dev/null` in
3576 *posix*) set -o posix ;;
3585 # Avoid depending upon Character Ranges.
3586 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3587 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3588 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3589 as_cr_digits='0123456789'
3590 as_cr_alnum=$as_cr_Letters$as_cr_digits
3592 # The user is always right.
3593 if test "${PATH_SEPARATOR+set}" != set; then
3594 echo "#! /bin/sh" >conf$$.sh
3595 echo "exit 0" >>conf$$.sh
3597 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3605 # Support unset when possible.
3606 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3614 # We need space, tab and new line, in precisely that order. Quoting is
3615 # there to prevent editors from complaining about space-tab.
3616 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3617 # splitting by setting IFS to empty value.)
3622 # Find who we are. Look in the path if we contain no directory separator.
3624 *[\\/]* ) as_myself=$0 ;;
3625 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3629 test -z "$as_dir" && as_dir=.
3630 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3636 # We did not find ourselves, most probably we were run as `sh COMMAND'
3637 # in which case we are not to be found in the path.
3638 if test "x$as_myself" = x; then
3641 if test ! -f "$as_myself"; then
3642 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3643 { (exit 1); exit 1; }
3646 # Work around bugs in pre-3.0 UWIN ksh.
3647 for as_var in ENV MAIL MAILPATH
3648 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3656 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3657 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3658 LC_TELEPHONE LC_TIME
3660 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3661 eval $as_var=C; export $as_var
3663 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3667 # Required to use basename.
3668 if expr a : '\(a\)' >/dev/null 2>&1 &&
3669 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3675 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3676 as_basename=basename
3682 # Name of the executable.
3683 as_me=`$as_basename -- "$0" ||
3684 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3685 X"$0" : 'X\(//\)$' \| \
3686 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3688 sed '/^.*\/\([^/][^/]*\)\/*$/{
3709 test "x$as_lineno_1" != "x$as_lineno_2" &&
3710 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
3712 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3713 # uniformly replaced by the line number. The first 'sed' inserts a
3714 # line-number line after each line using $LINENO; the second 'sed'
3715 # does the real work. The second script uses 'N' to pair each
3716 # line-number line with the line containing $LINENO, and appends
3717 # trailing '-' during substitution so that $LINENO is not a special
3719 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3720 # scripts with optimization help from Paolo Bonzini. Blame Lee
3721 # E. McMahon (1931-1989) for sed's syntax. :-)
3733 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
3737 chmod +x "$as_me.lineno" ||
3738 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
3739 { (exit 1); exit 1; }; }
3741 # Don't try to exec as it changes $[0], causing all sort of problems
3742 # (the dirname of $[0] is not the place where we might find the
3743 # original and so on. Autoconf is especially sensitive to this).
3745 # Exit status is that of the last command.
3750 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3756 ECHO_C= ECHO_N= ECHO_T=
3759 case `echo 'x\c'` in
3760 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3767 if expr a : '\(a\)' >/dev/null 2>&1 &&
3768 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3774 rm -f conf$$ conf$$.exe conf$$.file
3775 if test -d conf$$.dir; then
3776 rm -f conf$$.dir/conf$$.file
3782 if ln -s conf$$.file conf$$ 2>/dev/null; then
3784 # ... but there are two gotchas:
3785 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3786 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3787 # In both cases, we have to default to `cp -p'.
3788 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3790 elif ln conf$$.file conf$$ 2>/dev/null; then
3795 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3796 rmdir conf$$.dir 2>/dev/null
3798 if mkdir -p . 2>/dev/null; then
3801 test -d ./-p && rmdir ./-p
3805 if test -x / >/dev/null 2>&1; then
3808 if ls -dL / >/dev/null 2>&1; then
3815 if test -d "$1"; then
3821 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
3822 ???[sx]*):;;*)false;;esac;fi
3826 as_executable_p=$as_test_x
3828 # Sed expression to map a string onto a valid CPP name.
3829 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3831 # Sed expression to map a string onto a valid variable name.
3832 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3837 # Save the log message, to keep $[0] and so on meaningful, and to
3838 # report actual input values of CONFIG_FILES etc. instead of their
3839 # values after options handling.
3841 This file was extended by ctdlsh $as_me 1.0, which was
3842 generated by GNU Autoconf 2.61. Invocation command line was
3844 CONFIG_FILES = $CONFIG_FILES
3845 CONFIG_HEADERS = $CONFIG_HEADERS
3846 CONFIG_LINKS = $CONFIG_LINKS
3847 CONFIG_COMMANDS = $CONFIG_COMMANDS
3850 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3855 cat >>$CONFIG_STATUS <<_ACEOF
3856 # Files that config.status was made for.
3857 config_files="$ac_config_files"
3858 config_headers="$ac_config_headers"
3859 config_commands="$ac_config_commands"
3863 cat >>$CONFIG_STATUS <<\_ACEOF
3865 \`$as_me' instantiates files from templates according to the
3866 current configuration.
3868 Usage: $0 [OPTIONS] [FILE]...
3870 -h, --help print this help, then exit
3871 -V, --version print version number and configuration settings, then exit
3872 -q, --quiet do not print progress messages
3873 -d, --debug don't remove temporary files
3874 --recheck update $as_me by reconfiguring in the same conditions
3875 --file=FILE[:TEMPLATE]
3876 instantiate the configuration file FILE
3877 --header=FILE[:TEMPLATE]
3878 instantiate the configuration header FILE
3880 Configuration files:
3883 Configuration headers:
3886 Configuration commands:
3889 Report bugs to <bug-autoconf@gnu.org>."
3892 cat >>$CONFIG_STATUS <<_ACEOF
3894 ctdlsh config.status 1.0
3895 configured by $0, generated by GNU Autoconf 2.61,
3896 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
3898 Copyright (C) 2006 Free Software Foundation, Inc.
3899 This config.status script is free software; the Free Software Foundation
3900 gives unlimited permission to copy, distribute and modify it."
3908 cat >>$CONFIG_STATUS <<\_ACEOF
3909 # If no file are specified by the user, then we need to provide default
3910 # value. By we need to know if files were specified by the user.
3916 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3917 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3928 # Handling of the options.
3929 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3931 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3932 echo "$ac_cs_version"; exit ;;
3933 --debug | --debu | --deb | --de | --d | -d )
3935 --file | --fil | --fi | --f )
3937 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
3938 ac_need_defaults=false;;
3939 --header | --heade | --head | --hea )
3941 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
3942 ac_need_defaults=false;;
3944 # Conflict between --help and --header
3945 { echo "$as_me: error: ambiguous option: $1
3946 Try \`$0 --help' for more information." >&2
3947 { (exit 1); exit 1; }; };;
3948 --help | --hel | -h )
3949 echo "$ac_cs_usage"; exit ;;
3950 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3951 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3955 -*) { echo "$as_me: error: unrecognized option: $1
3956 Try \`$0 --help' for more information." >&2
3957 { (exit 1); exit 1; }; } ;;
3959 *) ac_config_targets="$ac_config_targets $1"
3960 ac_need_defaults=false ;;
3966 ac_configure_extra_args=
3968 if $ac_cs_silent; then
3970 ac_configure_extra_args="$ac_configure_extra_args --silent"
3974 cat >>$CONFIG_STATUS <<_ACEOF
3975 if \$ac_cs_recheck; then
3976 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3979 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3983 cat >>$CONFIG_STATUS <<\_ACEOF
3987 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3988 ## Running $as_me. ##
3994 cat >>$CONFIG_STATUS <<_ACEOF
3998 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
4002 cat >>$CONFIG_STATUS <<\_ACEOF
4004 # Handling of arguments.
4005 for ac_config_target in $ac_config_targets
4007 case $ac_config_target in
4008 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
4009 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
4010 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4011 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
4013 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4014 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4015 { (exit 1); exit 1; }; };;
4020 # If the user did not use the arguments to specify the items to instantiate,
4021 # then the envvar interface is used. Set only those that are not.
4022 # We use the long form for the default assignment because of an extremely
4023 # bizarre bug on SunOS 4.1.3.
4024 if $ac_need_defaults; then
4025 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4026 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
4027 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4030 # Have a temporary directory for convenience. Make it in the build tree
4031 # simply because there is no reason against having it here, and in addition,
4032 # creating and moving files from /tmp can sometimes cause problems.
4033 # Hook for its removal unless debugging.
4034 # Note that there is a small window in which the directory will not be cleaned:
4035 # after its creation but before its name has been assigned to `$tmp'.
4039 trap 'exit_status=$?
4040 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
4042 trap '{ (exit 1); exit 1; }' 1 2 13 15
4044 # Create a (secure) tmp directory for tmp files.
4047 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4048 test -n "$tmp" && test -d "$tmp"
4051 tmp=./conf$$-$RANDOM
4052 (umask 077 && mkdir "$tmp")
4055 echo "$me: cannot create a temporary directory in ." >&2
4056 { (exit 1); exit 1; }
4060 # Set up the sed scripts for CONFIG_FILES section.
4063 # No need to generate the scripts if there are no CONFIG_FILES.
4064 # This happens for instance when ./config.status config.h
4065 if test -n "$CONFIG_FILES"; then
4072 for ac_last_try in false false false false false :; do
4073 cat >conf$$subs.sed <<_ACEOF
4074 SHELL!$SHELL$ac_delim
4075 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
4076 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
4077 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
4078 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
4079 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
4080 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
4081 exec_prefix!$exec_prefix$ac_delim
4082 prefix!$prefix$ac_delim
4083 program_transform_name!$program_transform_name$ac_delim
4084 bindir!$bindir$ac_delim
4085 sbindir!$sbindir$ac_delim
4086 libexecdir!$libexecdir$ac_delim
4087 datarootdir!$datarootdir$ac_delim
4088 datadir!$datadir$ac_delim
4089 sysconfdir!$sysconfdir$ac_delim
4090 sharedstatedir!$sharedstatedir$ac_delim
4091 localstatedir!$localstatedir$ac_delim
4092 includedir!$includedir$ac_delim
4093 oldincludedir!$oldincludedir$ac_delim
4094 docdir!$docdir$ac_delim
4095 infodir!$infodir$ac_delim
4096 htmldir!$htmldir$ac_delim
4097 dvidir!$dvidir$ac_delim
4098 pdfdir!$pdfdir$ac_delim
4099 psdir!$psdir$ac_delim
4100 libdir!$libdir$ac_delim
4101 localedir!$localedir$ac_delim
4102 mandir!$mandir$ac_delim
4104 ECHO_C!$ECHO_C$ac_delim
4105 ECHO_N!$ECHO_N$ac_delim
4106 ECHO_T!$ECHO_T$ac_delim
4108 build_alias!$build_alias$ac_delim
4109 host_alias!$host_alias$ac_delim
4110 target_alias!$target_alias$ac_delim
4111 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
4112 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
4113 INSTALL_DATA!$INSTALL_DATA$ac_delim
4114 am__isrc!$am__isrc$ac_delim
4115 CYGPATH_W!$CYGPATH_W$ac_delim
4116 PACKAGE!$PACKAGE$ac_delim
4117 VERSION!$VERSION$ac_delim
4118 ACLOCAL!$ACLOCAL$ac_delim
4119 AUTOCONF!$AUTOCONF$ac_delim
4120 AUTOMAKE!$AUTOMAKE$ac_delim
4121 AUTOHEADER!$AUTOHEADER$ac_delim
4122 MAKEINFO!$MAKEINFO$ac_delim
4123 install_sh!$install_sh$ac_delim
4124 STRIP!$STRIP$ac_delim
4125 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
4126 mkdir_p!$mkdir_p$ac_delim
4128 SET_MAKE!$SET_MAKE$ac_delim
4129 am__leading_dot!$am__leading_dot$ac_delim
4130 AMTAR!$AMTAR$ac_delim
4131 am__tar!$am__tar$ac_delim
4132 am__untar!$am__untar$ac_delim
4134 CFLAGS!$CFLAGS$ac_delim
4135 LDFLAGS!$LDFLAGS$ac_delim
4136 CPPFLAGS!$CPPFLAGS$ac_delim
4137 ac_ct_CC!$ac_ct_CC$ac_delim
4138 EXEEXT!$EXEEXT$ac_delim
4139 OBJEXT!$OBJEXT$ac_delim
4140 DEPDIR!$DEPDIR$ac_delim
4141 am__include!$am__include$ac_delim
4142 am__quote!$am__quote$ac_delim
4143 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
4144 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
4145 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
4146 CCDEPMODE!$CCDEPMODE$ac_delim
4147 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
4148 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
4149 LIBOBJS!$LIBOBJS$ac_delim
4150 LTLIBOBJS!$LTLIBOBJS$ac_delim
4153 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 77; then
4155 elif $ac_last_try; then
4156 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
4157 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
4158 { (exit 1); exit 1; }; }
4160 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4164 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
4165 if test -n "$ac_eof"; then
4166 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
4167 ac_eof=`expr $ac_eof + 1`
4170 cat >>$CONFIG_STATUS <<_ACEOF
4171 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
4172 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
4175 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
4176 s/^/s,@/; s/!/@,|#_!!_#|/
4179 s/'"$ac_delim"'$/,g/; t
4181 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
4182 ' >>$CONFIG_STATUS <conf$$subs.sed
4183 rm -f conf$$subs.sed
4184 cat >>$CONFIG_STATUS <<_ACEOF
4191 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4192 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4193 # trailing colons and then remove the whole line if VPATH becomes empty
4194 # (actually we leave an empty line to preserve line numbers).
4195 if test "x$srcdir" = x.; then
4196 ac_vpsub='/^[ ]*VPATH[ ]*=/{
4200 s/^\([^=]*=[ ]*\):*/\1/
4206 cat >>$CONFIG_STATUS <<\_ACEOF
4207 fi # test -n "$CONFIG_FILES"
4210 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
4213 :[FHLC]) ac_mode=$ac_tag; continue;;
4215 case $ac_mode$ac_tag in
4217 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
4218 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
4219 { (exit 1); exit 1; }; };;
4220 :[FH]-) ac_tag=-:-;;
4221 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4238 -) ac_f="$tmp/stdin";;
4239 *) # Look for the file first in the build tree, then in the source tree
4240 # (if the path is not absolute). The absolute path cannot be DOS-style,
4241 # because $ac_f cannot contain `:'.
4245 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4247 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
4248 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
4249 { (exit 1); exit 1; }; };;
4251 ac_file_inputs="$ac_file_inputs $ac_f"
4254 # Let's still pretend it is `configure' which instantiates (i.e., don't
4255 # use $as_me), people would be surprised to read:
4256 # /* config.h. Generated by config.status. */
4257 configure_input="Generated from "`IFS=:
4258 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
4259 if test x"$ac_file" != x-; then
4260 configure_input="$ac_file. $configure_input"
4261 { echo "$as_me:$LINENO: creating $ac_file" >&5
4262 echo "$as_me: creating $ac_file" >&6;}
4266 *:-:* | *:-) cat >"$tmp/stdin";;
4271 ac_dir=`$as_dirname -- "$ac_file" ||
4272 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4273 X"$ac_file" : 'X\(//\)[^/]' \| \
4274 X"$ac_file" : 'X\(//\)$' \| \
4275 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4277 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4296 -*) as_dir=./$as_dir;;
4298 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
4302 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
4303 *) as_qdir=$as_dir;;
4305 as_dirs="'$as_qdir' $as_dirs"
4306 as_dir=`$as_dirname -- "$as_dir" ||
4307 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4308 X"$as_dir" : 'X\(//\)[^/]' \| \
4309 X"$as_dir" : 'X\(//\)$' \| \
4310 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4312 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4329 test -d "$as_dir" && break
4331 test -z "$as_dirs" || eval "mkdir $as_dirs"
4332 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
4333 echo "$as_me: error: cannot create directory $as_dir" >&2;}
4334 { (exit 1); exit 1; }; }; }
4338 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4340 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4341 # A ".." for each directory in $ac_dir_suffix.
4342 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
4343 case $ac_top_builddir_sub in
4344 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4345 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4348 ac_abs_top_builddir=$ac_pwd
4349 ac_abs_builddir=$ac_pwd$ac_dir_suffix
4350 # for backward compatibility:
4351 ac_top_builddir=$ac_top_build_prefix
4354 .) # We are building in place.
4356 ac_top_srcdir=$ac_top_builddir_sub
4357 ac_abs_top_srcdir=$ac_pwd ;;
4358 [\\/]* | ?:[\\/]* ) # Absolute name.
4359 ac_srcdir=$srcdir$ac_dir_suffix;
4360 ac_top_srcdir=$srcdir
4361 ac_abs_top_srcdir=$srcdir ;;
4363 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4364 ac_top_srcdir=$ac_top_build_prefix$srcdir
4365 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4367 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4377 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4378 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
4382 [\\/$]* | ?:[\\/]* ) ;;
4383 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
4387 cat >>$CONFIG_STATUS <<\_ACEOF
4388 # If the template does not know about datarootdir, expand it.
4389 # FIXME: This hack should be removed a few years after 2.60.
4390 ac_datarootdir_hack=; ac_datarootdir_seen=
4392 case `sed -n '/datarootdir/ {
4401 ' $ac_file_inputs` in
4402 *datarootdir*) ac_datarootdir_seen=yes;;
4403 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4404 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4405 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4407 cat >>$CONFIG_STATUS <<_ACEOF
4408 ac_datarootdir_hack='
4409 s&@datadir@&$datadir&g
4410 s&@docdir@&$docdir&g
4411 s&@infodir@&$infodir&g
4412 s&@localedir@&$localedir&g
4413 s&@mandir@&$mandir&g
4414 s&\\\${datarootdir}&$datarootdir&g' ;;
4418 # Neutralize VPATH when `$srcdir' = `.'.
4419 # Shell code in configure.ac might set extrasub.
4420 # FIXME: do we really want to maintain this feature?
4421 cat >>$CONFIG_STATUS <<_ACEOF
4425 cat >>$CONFIG_STATUS <<\_ACEOF
4427 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4428 s&@configure_input@&$configure_input&;t t
4429 s&@top_builddir@&$ac_top_builddir_sub&;t t
4430 s&@srcdir@&$ac_srcdir&;t t
4431 s&@abs_srcdir@&$ac_abs_srcdir&;t t
4432 s&@top_srcdir@&$ac_top_srcdir&;t t
4433 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4434 s&@builddir@&$ac_builddir&;t t
4435 s&@abs_builddir@&$ac_abs_builddir&;t t
4436 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4437 s&@INSTALL@&$ac_INSTALL&;t t
4438 s&@MKDIR_P@&$ac_MKDIR_P&;t t
4439 $ac_datarootdir_hack
4440 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
4442 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4443 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
4444 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
4445 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4446 which seems to be undefined. Please make sure it is defined." >&5
4447 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4448 which seems to be undefined. Please make sure it is defined." >&2;}
4452 -) cat "$tmp/out"; rm -f "$tmp/out";;
4453 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
4462 # Transform confdefs.h into a sed script `conftest.defines', that
4463 # substitutes the proper values into config.h.in to produce config.h.
4464 rm -f conftest.defines conftest.tail
4465 # First, append a space to every undef/define line, to ease matching.
4466 echo 's/$/ /' >conftest.defines
4467 # Then, protect against being on the right side of a sed subst, or in
4468 # an unquoted here document, in config.status. If some macros were
4469 # called several times there might be several #defines for the same
4470 # symbol, which is useless. But do not sort them, since the last
4471 # AC_DEFINE must be honored.
4472 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
4473 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
4474 # NAME is the cpp macro being defined, VALUE is the value it is being given.
4475 # PARAMS is the parameter list in the macro definition--in most cases, it's
4476 # just an empty string.
4477 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
4478 ac_dB='\\)[ (].*,\\1define\\2'
4486 s/^[ ]*#[ ]*define[ ][ ]*//
4491 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
4492 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
4493 ' >>conftest.defines
4495 # Remove the space that was appended to ease matching.
4496 # Then replace #undef with comments. This is necessary, for
4497 # example, in the case of _POSIX_SOURCE, which is predefined and required
4498 # on some systems where configure will not decide to define it.
4499 # (The regexp can be short, since the line contains either #define or #undef.)
4501 s,^[ #]*u.*,/* & */,' >>conftest.defines
4503 # Break up conftest.defines:
4506 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
4507 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
4508 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
4510 ac_in='$ac_file_inputs'
4511 ac_out='"$tmp/out1"'
4512 ac_nxt='"$tmp/out2"'
4516 # Write a here document:
4517 cat >>$CONFIG_STATUS <<_ACEOF
4518 # First, check the format of the line:
4519 cat >"\$tmp/defines.sed" <<\\CEOF
4520 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
4521 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
4525 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
4527 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
4528 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
4529 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
4530 grep . conftest.tail >/dev/null || break
4531 rm -f conftest.defines
4532 mv conftest.tail conftest.defines
4534 rm -f conftest.defines conftest.tail
4536 echo "ac_result=$ac_in" >>$CONFIG_STATUS
4537 cat >>$CONFIG_STATUS <<\_ACEOF
4538 if test x"$ac_file" != x-; then
4539 echo "/* $configure_input */" >"$tmp/config.h"
4540 cat "$ac_result" >>"$tmp/config.h"
4541 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
4542 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
4543 echo "$as_me: $ac_file is unchanged" >&6;}
4546 mv "$tmp/config.h" $ac_file
4549 echo "/* $configure_input */"
4553 # Compute $ac_file's index in $config_headers.
4556 for _am_header in $config_headers :; do
4558 $_am_arg | $_am_arg:* )
4561 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
4564 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
4565 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4566 X"$_am_arg" : 'X\(//\)[^/]' \| \
4567 X"$_am_arg" : 'X\(//\)$' \| \
4568 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
4570 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4586 s/.*/./; q'`/stamp-h$_am_stamp_count
4589 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
4590 echo "$as_me: executing $ac_file commands" >&6;}
4595 case $ac_file$ac_mode in
4596 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
4597 # Strip MF so we end up with the name of the file.
4598 mf=`echo "$mf" | sed -e 's/:.*$//'`
4599 # Check whether this is an Automake generated Makefile or not.
4600 # We used to match only the files named `Makefile.in', but
4601 # some people rename them; so instead we look at the file content.
4602 # Grep'ing the first line is not enough: some people post-process
4603 # each Makefile.in and add a new line on top of each file to say so.
4604 # Grep'ing the whole file is not good either: AIX grep has a line
4605 # limit of 2048, but all sed's we know have understand at least 4000.
4606 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
4607 dirpart=`$as_dirname -- "$mf" ||
4608 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4609 X"$mf" : 'X\(//\)[^/]' \| \
4610 X"$mf" : 'X\(//\)$' \| \
4611 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
4613 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4633 # Extract the definition of DEPDIR, am__include, and am__quote
4634 # from the Makefile without running `make'.
4635 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
4636 test -z "$DEPDIR" && continue
4637 am__include=`sed -n 's/^am__include = //p' < "$mf"`
4638 test -z "am__include" && continue
4639 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
4640 # When using ansi2knr, U may be empty or an underscore; expand it
4641 U=`sed -n 's/^U = //p' < "$mf"`
4642 # Find all dependency output files, they are included files with
4643 # $(DEPDIR) in their names. We invoke sed twice because it is the
4644 # simplest approach to changing $(DEPDIR) to its actual value in the
4646 for file in `sed -n "
4647 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
4648 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
4649 # Make sure the directory exists.
4650 test -f "$dirpart/$file" && continue
4651 fdir=`$as_dirname -- "$file" ||
4652 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4653 X"$file" : 'X\(//\)[^/]' \| \
4654 X"$file" : 'X\(//\)$' \| \
4655 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
4657 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4674 { as_dir=$dirpart/$fdir
4676 -*) as_dir=./$as_dir;;
4678 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
4682 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
4683 *) as_qdir=$as_dir;;
4685 as_dirs="'$as_qdir' $as_dirs"
4686 as_dir=`$as_dirname -- "$as_dir" ||
4687 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4688 X"$as_dir" : 'X\(//\)[^/]' \| \
4689 X"$as_dir" : 'X\(//\)$' \| \
4690 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4692 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4709 test -d "$as_dir" && break
4711 test -z "$as_dirs" || eval "mkdir $as_dirs"
4712 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
4713 echo "$as_me: error: cannot create directory $as_dir" >&2;}
4714 { (exit 1); exit 1; }; }; }
4715 # echo "creating $dirpart/$file"
4716 echo '# dummy' > "$dirpart/$file"
4725 { (exit 0); exit 0; }
4727 chmod +x $CONFIG_STATUS
4728 ac_clean_files=$ac_clean_files_save
4731 # configure is writing to config.log, and then calls config.status.
4732 # config.status does its own redirection, appending to config.log.
4733 # Unfortunately, on DOS this fails, as config.log is still kept open
4734 # by configure, so config.status won't be able to write to it; its
4735 # output is simply discarded. So we exec the FD to /dev/null,
4736 # effectively closing config.log, so it can be properly (re)opened and
4737 # appended to by config.status. When coming back to configure, we
4738 # need to make the FD available again.
4739 if test "$no_create" != yes; then
4741 ac_config_status_args=
4742 test "$silent" = yes &&
4743 ac_config_status_args="$ac_config_status_args --quiet"
4745 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4747 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4748 # would make configure fail if this is the last instruction.
4749 $ac_cs_success || { (exit 1); exit 1; }