2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for ctdlsh 1.0.
5 # Report bugs to <bug-automake@gnu.org>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57 as_echo_n='/usr/ucb/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70 as_echo_n='sh -c $as_echo_n_body as_echo'
73 as_echo='sh -c $as_echo_body as_echo'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
96 *[\\/]* ) as_myself=$0 ;;
97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
101 test -z "$as_dir" && as_dir=.
102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x; then
113 if test ! -f "$as_myself"; then
114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there. '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\${$as_var+set} = xset \
124 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
139 if test "x$CONFIG_SHELL" = x; then
140 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144 # is contrary to our usage. Disable this feature.
145 alias -g '\${1+\"\$@\"}'='\"\$@\"'
148 case \`(set -o) 2>/dev/null\` in #(
156 as_required="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
170 exitcode=1; echo positional parameters were not saved.
172 test x\$exitcode = x0 || exit 1"
173 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
177 if (eval "$as_required") 2>/dev/null; then :
182 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
187 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
190 test -z "$as_dir" && as_dir=.
194 for as_base in sh bash ksh sh5; do
195 # Try only shells that exist, to save several forks.
196 as_shell=$as_dir/$as_base
197 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
198 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
199 CONFIG_SHELL=$as_shell as_have_required=yes
200 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
208 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
209 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
210 CONFIG_SHELL=$SHELL as_have_required=yes
215 if test "x$CONFIG_SHELL" != x; then :
216 # We cannot yet assume a decent shell, so we have to provide a
217 # neutralization value for shells without unset; and this also
218 # works around shells that cannot unset nonexistent variables.
219 # Preserve -v and -x to the replacement shell.
222 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
225 *v*x* | *x*v* ) as_opts=-vx ;;
230 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
233 if test x$as_have_required = xno; then :
234 $as_echo "$0: This script requires a shell more modern than all"
235 $as_echo "$0: the shells that I found on your system."
236 if test x${ZSH_VERSION+set} = xset ; then
237 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
238 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
240 $as_echo "$0: Please tell bug-autoconf@gnu.org and
241 $0: bug-automake@gnu.org about your system, including any
242 $0: error possibly output before this message. Then install
243 $0: a modern shell, or manually run the script under such a
244 $0: shell if you do have one."
250 SHELL=${CONFIG_SHELL-/bin/sh}
252 # Unset more variables known to interfere with behavior of common tools.
253 CLICOLOR_FORCE= GREP_OPTIONS=
254 unset CLICOLOR_FORCE GREP_OPTIONS
256 ## --------------------- ##
257 ## M4sh Shell Functions. ##
258 ## --------------------- ##
261 # Portably unset VAR.
264 { eval $1=; unset $1;}
268 # as_fn_set_status STATUS
269 # -----------------------
270 # Set $? to STATUS, without forking.
278 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
288 # Create "$as_dir" as a directory, including parents if necessary.
293 -*) as_dir=./$as_dir;;
295 test -d "$as_dir" || eval $as_mkdir_p || {
299 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
302 as_dirs="'$as_qdir' $as_dirs"
303 as_dir=`$as_dirname -- "$as_dir" ||
304 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
305 X"$as_dir" : 'X\(//\)[^/]' \| \
306 X"$as_dir" : 'X\(//\)$' \| \
307 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
308 $as_echo X"$as_dir" |
309 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
326 test -d "$as_dir" && break
328 test -z "$as_dirs" || eval "mkdir $as_dirs"
329 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
333 # as_fn_append VAR VALUE
334 # ----------------------
335 # Append the text in VALUE to the end of the definition contained in VAR. Take
336 # advantage of any shell optimizations that allow amortized linear growth over
337 # repeated appends, instead of the typical quadratic growth present in naive
339 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
340 eval 'as_fn_append ()
353 # Perform arithmetic evaluation on the ARGs, and store the result in the
354 # global $as_val. Take advantage of shells that can avoid forks. The arguments
355 # must be portable across $(()) and expr.
356 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
364 as_val=`expr "$@" || test $? -eq 1`
369 # as_fn_error STATUS ERROR [LINENO LOG_FD]
370 # ----------------------------------------
371 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
372 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
373 # script with STATUS, using 1 if that was 0.
376 as_status=$1; test $as_status -eq 0 && as_status=1
378 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
379 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
381 $as_echo "$as_me: error: $2" >&2
382 as_fn_exit $as_status
385 if expr a : '\(a\)' >/dev/null 2>&1 &&
386 test "X`expr 00001 : '.*\(...\)'`" = X001; then
392 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
398 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
404 as_me=`$as_basename -- "$0" ||
405 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
406 X"$0" : 'X\(//\)$' \| \
407 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
409 sed '/^.*\/\([^/][^/]*\)\/*$/{
423 # Avoid depending upon Character Ranges.
424 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
425 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
426 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
427 as_cr_digits='0123456789'
428 as_cr_alnum=$as_cr_Letters$as_cr_digits
431 as_lineno_1=$LINENO as_lineno_1a=$LINENO
432 as_lineno_2=$LINENO as_lineno_2a=$LINENO
433 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
434 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
435 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
447 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
451 chmod +x "$as_me.lineno" ||
452 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
454 # Don't try to exec as it changes $[0], causing all sort of problems
455 # (the dirname of $[0] is not the place where we might find the
456 # original and so on. Autoconf is especially sensitive to this).
458 # Exit status is that of the last command.
462 ECHO_C= ECHO_N= ECHO_T=
463 case `echo -n x` in #(((((
465 case `echo 'xy\c'` in
466 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
468 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
475 rm -f conf$$ conf$$.exe conf$$.file
476 if test -d conf$$.dir; then
477 rm -f conf$$.dir/conf$$.file
480 mkdir conf$$.dir 2>/dev/null
482 if (echo >conf$$.file) 2>/dev/null; then
483 if ln -s conf$$.file conf$$ 2>/dev/null; then
485 # ... but there are two gotchas:
486 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
487 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
488 # In both cases, we have to default to `cp -p'.
489 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
491 elif ln conf$$.file conf$$ 2>/dev/null; then
499 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
500 rmdir conf$$.dir 2>/dev/null
502 if mkdir -p . 2>/dev/null; then
503 as_mkdir_p='mkdir -p "$as_dir"'
505 test -d ./-p && rmdir ./-p
509 if test -x / >/dev/null 2>&1; then
512 if ls -dL / >/dev/null 2>&1; then
519 if test -d "$1"; then
525 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
526 ???[sx]*):;;*)false;;esac;fi
530 as_executable_p=$as_test_x
532 # Sed expression to map a string onto a valid CPP name.
533 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
535 # Sed expression to map a string onto a valid variable name.
536 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
539 test -n "$DJDIR" || exec 7<&0 </dev/null
543 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
544 # so uname gets run too.
545 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
550 ac_default_prefix=/usr/local
552 ac_config_libobj_dir=.
559 # Identity of this package.
560 PACKAGE_NAME='ctdlsh'
561 PACKAGE_TARNAME='ctdlsh'
562 PACKAGE_VERSION='1.0'
563 PACKAGE_STRING='ctdlsh 1.0'
564 PACKAGE_BUGREPORT='bug-automake@gnu.org'
567 ac_subst_vars='am__EXEEXT_FALSE
595 INSTALL_STRIP_PROGRAM
637 program_transform_name
650 enable_option_checking
651 enable_dependency_tracking
654 ac_precious_vars='build_alias
664 # Initialize some variables set by options.
666 ac_init_version=false
667 ac_unrecognized_opts=
669 # The variables have the same names as the options, with
670 # dashes changed to underlines.
678 program_transform_name=s,x,x,
686 # Installation directory options.
687 # These are left unexpanded so users can "make install exec_prefix=/foo"
688 # and all the variables that are supposed to be based on exec_prefix
689 # by default will actually change.
690 # Use braces instead of parens because sh, perl, etc. also accept them.
691 # (The list follows the same order as the GNU Coding Standards.)
692 bindir='${exec_prefix}/bin'
693 sbindir='${exec_prefix}/sbin'
694 libexecdir='${exec_prefix}/libexec'
695 datarootdir='${prefix}/share'
696 datadir='${datarootdir}'
697 sysconfdir='${prefix}/etc'
698 sharedstatedir='${prefix}/com'
699 localstatedir='${prefix}/var'
700 includedir='${prefix}/include'
701 oldincludedir='/usr/include'
702 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
703 infodir='${datarootdir}/info'
708 libdir='${exec_prefix}/lib'
709 localedir='${datarootdir}/locale'
710 mandir='${datarootdir}/man'
716 # If the previous option needs an argument, assign it.
717 if test -n "$ac_prev"; then
718 eval $ac_prev=\$ac_option
724 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
729 # Accept the important Cygnus configure options, so we can diagnose typos.
731 case $ac_dashdash$ac_option in
735 -bindir | --bindir | --bindi | --bind | --bin | --bi)
737 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
740 -build | --build | --buil | --bui | --bu)
741 ac_prev=build_alias ;;
742 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
743 build_alias=$ac_optarg ;;
745 -cache-file | --cache-file | --cache-fil | --cache-fi \
746 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
747 ac_prev=cache_file ;;
748 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
749 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
750 cache_file=$ac_optarg ;;
753 cache_file=config.cache ;;
755 -datadir | --datadir | --datadi | --datad)
757 -datadir=* | --datadir=* | --datadi=* | --datad=*)
758 datadir=$ac_optarg ;;
760 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
761 | --dataroo | --dataro | --datar)
762 ac_prev=datarootdir ;;
763 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
764 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
765 datarootdir=$ac_optarg ;;
767 -disable-* | --disable-*)
768 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
769 # Reject names that are not valid shell variable names.
770 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
771 as_fn_error $? "invalid feature name: $ac_useropt"
772 ac_useropt_orig=$ac_useropt
773 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
774 case $ac_user_opts in
778 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
779 ac_unrecognized_sep=', ';;
781 eval enable_$ac_useropt=no ;;
783 -docdir | --docdir | --docdi | --doc | --do)
785 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
788 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
790 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
793 -enable-* | --enable-*)
794 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
795 # Reject names that are not valid shell variable names.
796 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
797 as_fn_error $? "invalid feature name: $ac_useropt"
798 ac_useropt_orig=$ac_useropt
799 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
800 case $ac_user_opts in
804 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
805 ac_unrecognized_sep=', ';;
807 eval enable_$ac_useropt=\$ac_optarg ;;
809 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
810 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
811 | --exec | --exe | --ex)
812 ac_prev=exec_prefix ;;
813 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
814 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
815 | --exec=* | --exe=* | --ex=*)
816 exec_prefix=$ac_optarg ;;
818 -gas | --gas | --ga | --g)
819 # Obsolete; use --with-gas.
822 -help | --help | --hel | --he | -h)
824 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
825 ac_init_help=recursive ;;
826 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
827 ac_init_help=short ;;
829 -host | --host | --hos | --ho)
830 ac_prev=host_alias ;;
831 -host=* | --host=* | --hos=* | --ho=*)
832 host_alias=$ac_optarg ;;
834 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
836 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
838 htmldir=$ac_optarg ;;
840 -includedir | --includedir | --includedi | --included | --include \
841 | --includ | --inclu | --incl | --inc)
842 ac_prev=includedir ;;
843 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
844 | --includ=* | --inclu=* | --incl=* | --inc=*)
845 includedir=$ac_optarg ;;
847 -infodir | --infodir | --infodi | --infod | --info | --inf)
849 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
850 infodir=$ac_optarg ;;
852 -libdir | --libdir | --libdi | --libd)
854 -libdir=* | --libdir=* | --libdi=* | --libd=*)
857 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
858 | --libexe | --libex | --libe)
859 ac_prev=libexecdir ;;
860 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
861 | --libexe=* | --libex=* | --libe=*)
862 libexecdir=$ac_optarg ;;
864 -localedir | --localedir | --localedi | --localed | --locale)
866 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
867 localedir=$ac_optarg ;;
869 -localstatedir | --localstatedir | --localstatedi | --localstated \
870 | --localstate | --localstat | --localsta | --localst | --locals)
871 ac_prev=localstatedir ;;
872 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
873 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
874 localstatedir=$ac_optarg ;;
876 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
878 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
882 # Obsolete; use --without-fp.
885 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
886 | --no-cr | --no-c | -n)
889 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
890 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
893 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
894 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
895 | --oldin | --oldi | --old | --ol | --o)
896 ac_prev=oldincludedir ;;
897 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
898 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
899 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
900 oldincludedir=$ac_optarg ;;
902 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
904 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
907 -program-prefix | --program-prefix | --program-prefi | --program-pref \
908 | --program-pre | --program-pr | --program-p)
909 ac_prev=program_prefix ;;
910 -program-prefix=* | --program-prefix=* | --program-prefi=* \
911 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
912 program_prefix=$ac_optarg ;;
914 -program-suffix | --program-suffix | --program-suffi | --program-suff \
915 | --program-suf | --program-su | --program-s)
916 ac_prev=program_suffix ;;
917 -program-suffix=* | --program-suffix=* | --program-suffi=* \
918 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
919 program_suffix=$ac_optarg ;;
921 -program-transform-name | --program-transform-name \
922 | --program-transform-nam | --program-transform-na \
923 | --program-transform-n | --program-transform- \
924 | --program-transform | --program-transfor \
925 | --program-transfo | --program-transf \
926 | --program-trans | --program-tran \
927 | --progr-tra | --program-tr | --program-t)
928 ac_prev=program_transform_name ;;
929 -program-transform-name=* | --program-transform-name=* \
930 | --program-transform-nam=* | --program-transform-na=* \
931 | --program-transform-n=* | --program-transform-=* \
932 | --program-transform=* | --program-transfor=* \
933 | --program-transfo=* | --program-transf=* \
934 | --program-trans=* | --program-tran=* \
935 | --progr-tra=* | --program-tr=* | --program-t=*)
936 program_transform_name=$ac_optarg ;;
938 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
940 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
943 -psdir | --psdir | --psdi | --psd | --ps)
945 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
948 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
949 | -silent | --silent | --silen | --sile | --sil)
952 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
954 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
956 sbindir=$ac_optarg ;;
958 -sharedstatedir | --sharedstatedir | --sharedstatedi \
959 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
960 | --sharedst | --shareds | --shared | --share | --shar \
962 ac_prev=sharedstatedir ;;
963 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
964 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
965 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
967 sharedstatedir=$ac_optarg ;;
969 -site | --site | --sit)
971 -site=* | --site=* | --sit=*)
974 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
976 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
979 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
980 | --syscon | --sysco | --sysc | --sys | --sy)
981 ac_prev=sysconfdir ;;
982 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
983 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
984 sysconfdir=$ac_optarg ;;
986 -target | --target | --targe | --targ | --tar | --ta | --t)
987 ac_prev=target_alias ;;
988 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
989 target_alias=$ac_optarg ;;
991 -v | -verbose | --verbose | --verbos | --verbo | --verb)
994 -version | --version | --versio | --versi | --vers | -V)
998 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
999 # Reject names that are not valid shell variable names.
1000 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1001 as_fn_error $? "invalid package name: $ac_useropt"
1002 ac_useropt_orig=$ac_useropt
1003 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1004 case $ac_user_opts in
1008 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1009 ac_unrecognized_sep=', ';;
1011 eval with_$ac_useropt=\$ac_optarg ;;
1013 -without-* | --without-*)
1014 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1015 # Reject names that are not valid shell variable names.
1016 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1017 as_fn_error $? "invalid package name: $ac_useropt"
1018 ac_useropt_orig=$ac_useropt
1019 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1020 case $ac_user_opts in
1024 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1025 ac_unrecognized_sep=', ';;
1027 eval with_$ac_useropt=no ;;
1030 # Obsolete; use --with-x.
1033 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1034 | --x-incl | --x-inc | --x-in | --x-i)
1035 ac_prev=x_includes ;;
1036 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1037 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1038 x_includes=$ac_optarg ;;
1040 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1041 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1042 ac_prev=x_libraries ;;
1043 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1044 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1045 x_libraries=$ac_optarg ;;
1047 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1048 Try \`$0 --help' for more information"
1052 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1053 # Reject names that are not valid shell variable names.
1054 case $ac_envvar in #(
1055 '' | [0-9]* | *[!_$as_cr_alnum]* )
1056 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1058 eval $ac_envvar=\$ac_optarg
1059 export $ac_envvar ;;
1062 # FIXME: should be removed in autoconf 3.0.
1063 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1064 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1065 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1066 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1072 if test -n "$ac_prev"; then
1073 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1074 as_fn_error $? "missing argument to $ac_option"
1077 if test -n "$ac_unrecognized_opts"; then
1078 case $enable_option_checking in
1080 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1081 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1085 # Check all directory arguments for consistency.
1086 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1087 datadir sysconfdir sharedstatedir localstatedir includedir \
1088 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1089 libdir localedir mandir
1091 eval ac_val=\$$ac_var
1092 # Remove trailing slashes.
1095 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1096 eval $ac_var=\$ac_val;;
1098 # Be sure to have absolute directory names.
1100 [\\/$]* | ?:[\\/]* ) continue;;
1101 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1103 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1106 # There might be people who depend on the old broken behavior: `$host'
1107 # used to hold the argument of --host etc.
1108 # FIXME: To remove some day.
1111 target=$target_alias
1113 # FIXME: To remove some day.
1114 if test "x$host_alias" != x; then
1115 if test "x$build_alias" = x; then
1116 cross_compiling=maybe
1117 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1118 If a cross compiler is detected then cross compile mode will be used" >&2
1119 elif test "x$build_alias" != "x$host_alias"; then
1125 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1127 test "$silent" = yes && exec 6>/dev/null
1130 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1131 ac_ls_di=`ls -di .` &&
1132 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1133 as_fn_error $? "working directory cannot be determined"
1134 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1135 as_fn_error $? "pwd does not report name of working directory"
1138 # Find the source files, if location was not specified.
1139 if test -z "$srcdir"; then
1140 ac_srcdir_defaulted=yes
1141 # Try the directory containing this script, then the parent directory.
1142 ac_confdir=`$as_dirname -- "$as_myself" ||
1143 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1144 X"$as_myself" : 'X\(//\)[^/]' \| \
1145 X"$as_myself" : 'X\(//\)$' \| \
1146 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1147 $as_echo X"$as_myself" |
1148 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1166 if test ! -r "$srcdir/$ac_unique_file"; then
1170 ac_srcdir_defaulted=no
1172 if test ! -r "$srcdir/$ac_unique_file"; then
1173 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1174 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1176 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1178 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1180 # When building in place, set srcdir=.
1181 if test "$ac_abs_confdir" = "$ac_pwd"; then
1184 # Remove unnecessary trailing slashes from srcdir.
1185 # Double slashes in file names in object file debugging info
1186 # mess up M-x gdb in Emacs.
1188 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1190 for ac_var in $ac_precious_vars; do
1191 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1192 eval ac_env_${ac_var}_value=\$${ac_var}
1193 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1194 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1198 # Report the --help message.
1200 if test "$ac_init_help" = "long"; then
1201 # Omit some internal or obsolete options to make the list less imposing.
1202 # This message is too long to be a string in the A/UX 3.1 sh.
1204 \`configure' configures ctdlsh 1.0 to adapt to many kinds of systems.
1206 Usage: $0 [OPTION]... [VAR=VALUE]...
1208 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1209 VAR=VALUE. See below for descriptions of some of the useful variables.
1211 Defaults for the options are specified in brackets.
1214 -h, --help display this help and exit
1215 --help=short display options specific to this package
1216 --help=recursive display the short help of all the included packages
1217 -V, --version display version information and exit
1218 -q, --quiet, --silent do not print \`checking ...' messages
1219 --cache-file=FILE cache test results in FILE [disabled]
1220 -C, --config-cache alias for \`--cache-file=config.cache'
1221 -n, --no-create do not create output files
1222 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1224 Installation directories:
1225 --prefix=PREFIX install architecture-independent files in PREFIX
1226 [$ac_default_prefix]
1227 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1230 By default, \`make install' will install all the files in
1231 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1232 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1233 for instance \`--prefix=\$HOME'.
1235 For better control, use the options below.
1237 Fine tuning of the installation directories:
1238 --bindir=DIR user executables [EPREFIX/bin]
1239 --sbindir=DIR system admin executables [EPREFIX/sbin]
1240 --libexecdir=DIR program executables [EPREFIX/libexec]
1241 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1242 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1243 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1244 --libdir=DIR object code libraries [EPREFIX/lib]
1245 --includedir=DIR C header files [PREFIX/include]
1246 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1247 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1248 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1249 --infodir=DIR info documentation [DATAROOTDIR/info]
1250 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1251 --mandir=DIR man documentation [DATAROOTDIR/man]
1252 --docdir=DIR documentation root [DATAROOTDIR/doc/ctdlsh]
1253 --htmldir=DIR html documentation [DOCDIR]
1254 --dvidir=DIR dvi documentation [DOCDIR]
1255 --pdfdir=DIR pdf documentation [DOCDIR]
1256 --psdir=DIR ps documentation [DOCDIR]
1262 --program-prefix=PREFIX prepend PREFIX to installed program names
1263 --program-suffix=SUFFIX append SUFFIX to installed program names
1264 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1268 if test -n "$ac_init_help"; then
1269 case $ac_init_help in
1270 short | recursive ) echo "Configuration of ctdlsh 1.0:";;
1275 --disable-option-checking ignore unrecognized --enable/--with options
1276 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1277 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1278 --disable-dependency-tracking speeds up one-time build
1279 --enable-dependency-tracking do not reject slow dependency extractors
1282 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1283 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1284 --with-readline=prefix try this for a non-standard install prefix of the
1287 Some influential environment variables:
1288 CC C compiler command
1289 CFLAGS C compiler flags
1290 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1291 nonstandard directory <lib dir>
1292 LIBS libraries to pass to the linker, e.g. -l<library>
1293 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1294 you have headers in a nonstandard directory <include dir>
1296 Use these variables to override the choices made by `configure' or to help
1297 it to find libraries and programs with nonstandard names/locations.
1299 Report bugs to <bug-automake@gnu.org>.
1304 if test "$ac_init_help" = "recursive"; then
1305 # If there are subdirs, report their specific --help.
1306 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1307 test -d "$ac_dir" ||
1308 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1313 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1315 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1316 # A ".." for each directory in $ac_dir_suffix.
1317 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1318 case $ac_top_builddir_sub in
1319 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1320 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1323 ac_abs_top_builddir=$ac_pwd
1324 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1325 # for backward compatibility:
1326 ac_top_builddir=$ac_top_build_prefix
1329 .) # We are building in place.
1331 ac_top_srcdir=$ac_top_builddir_sub
1332 ac_abs_top_srcdir=$ac_pwd ;;
1333 [\\/]* | ?:[\\/]* ) # Absolute name.
1334 ac_srcdir=$srcdir$ac_dir_suffix;
1335 ac_top_srcdir=$srcdir
1336 ac_abs_top_srcdir=$srcdir ;;
1338 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1339 ac_top_srcdir=$ac_top_build_prefix$srcdir
1340 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1342 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1344 cd "$ac_dir" || { ac_status=$?; continue; }
1345 # Check for guested configure.
1346 if test -f "$ac_srcdir/configure.gnu"; then
1348 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1349 elif test -f "$ac_srcdir/configure"; then
1351 $SHELL "$ac_srcdir/configure" --help=recursive
1353 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1355 cd "$ac_pwd" || { ac_status=$?; break; }
1359 test -n "$ac_init_help" && exit $ac_status
1360 if $ac_init_version; then
1362 ctdlsh configure 1.0
1363 generated by GNU Autoconf 2.68
1365 Copyright (C) 2010 Free Software Foundation, Inc.
1366 This configure script is free software; the Free Software Foundation
1367 gives unlimited permission to copy, distribute and modify it.
1372 ## ------------------------ ##
1373 ## Autoconf initialization. ##
1374 ## ------------------------ ##
1376 # ac_fn_c_try_compile LINENO
1377 # --------------------------
1378 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1379 ac_fn_c_try_compile ()
1381 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1382 rm -f conftest.$ac_objext
1383 if { { ac_try="$ac_compile"
1385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1386 *) ac_try_echo=$ac_try;;
1388 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1389 $as_echo "$ac_try_echo"; } >&5
1390 (eval "$ac_compile") 2>conftest.err
1392 if test -s conftest.err; then
1393 grep -v '^ *+' conftest.err >conftest.er1
1394 cat conftest.er1 >&5
1395 mv -f conftest.er1 conftest.err
1397 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1398 test $ac_status = 0; } && {
1399 test -z "$ac_c_werror_flag" ||
1400 test ! -s conftest.err
1401 } && test -s conftest.$ac_objext; then :
1404 $as_echo "$as_me: failed program was:" >&5
1405 sed 's/^/| /' conftest.$ac_ext >&5
1409 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1410 as_fn_set_status $ac_retval
1412 } # ac_fn_c_try_compile
1414 # ac_fn_c_try_link LINENO
1415 # -----------------------
1416 # Try to link conftest.$ac_ext, and return whether this succeeded.
1419 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1420 rm -f conftest.$ac_objext conftest$ac_exeext
1421 if { { ac_try="$ac_link"
1423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1424 *) ac_try_echo=$ac_try;;
1426 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1427 $as_echo "$ac_try_echo"; } >&5
1428 (eval "$ac_link") 2>conftest.err
1430 if test -s conftest.err; then
1431 grep -v '^ *+' conftest.err >conftest.er1
1432 cat conftest.er1 >&5
1433 mv -f conftest.er1 conftest.err
1435 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1436 test $ac_status = 0; } && {
1437 test -z "$ac_c_werror_flag" ||
1438 test ! -s conftest.err
1439 } && test -s conftest$ac_exeext && {
1440 test "$cross_compiling" = yes ||
1441 $as_test_x conftest$ac_exeext
1445 $as_echo "$as_me: failed program was:" >&5
1446 sed 's/^/| /' conftest.$ac_ext >&5
1450 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1451 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1452 # interfere with the next link command; also delete a directory that is
1453 # left behind by Apple's compiler. We do this before executing the actions.
1454 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1455 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1456 as_fn_set_status $ac_retval
1458 } # ac_fn_c_try_link
1459 cat >config.log <<_ACEOF
1460 This file contains any messages produced by compilers while
1461 running configure, to aid debugging if configure makes a mistake.
1463 It was created by ctdlsh $as_me 1.0, which was
1464 generated by GNU Autoconf 2.68. Invocation command line was
1476 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1477 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1478 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1479 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1480 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1482 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1483 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1485 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1486 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1487 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1488 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1489 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1490 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1491 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1499 test -z "$as_dir" && as_dir=.
1500 $as_echo "PATH: $as_dir"
1516 # Keep a trace of the command line.
1517 # Strip out --no-create and --no-recursion so they do not pile up.
1518 # Strip out --silent because we don't want to record it for future runs.
1519 # Also quote any args containing shell meta-characters.
1520 # Make two passes to allow for proper duplicate-argument suppression.
1524 ac_must_keep_next=false
1530 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1531 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1532 | -silent | --silent | --silen | --sile | --sil)
1535 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1538 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1540 as_fn_append ac_configure_args1 " '$ac_arg'"
1541 if test $ac_must_keep_next = true; then
1542 ac_must_keep_next=false # Got value, back to normal.
1545 *=* | --config-cache | -C | -disable-* | --disable-* \
1546 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1547 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1548 | -with-* | --with-* | -without-* | --without-* | --x)
1549 case "$ac_configure_args0 " in
1550 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1553 -* ) ac_must_keep_next=true ;;
1556 as_fn_append ac_configure_args " '$ac_arg'"
1561 { ac_configure_args0=; unset ac_configure_args0;}
1562 { ac_configure_args1=; unset ac_configure_args1;}
1564 # When interrupted or exit'd, cleanup temporary files, and complete
1565 # config.log. We remove comments because anyway the quotes in there
1566 # would cause problems or look ugly.
1567 # WARNING: Use '\'' to represent an apostrophe within the trap.
1568 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1569 trap 'exit_status=$?
1570 # Save into config.log some information that might help in debugging.
1574 $as_echo "## ---------------- ##
1575 ## Cache variables. ##
1576 ## ---------------- ##"
1578 # The following way of writing the cache mishandles newlines in values,
1580 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1581 eval ac_val=\$$ac_var
1585 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1586 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1589 _ | IFS | as_nl) ;; #(
1590 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1591 *) { eval $ac_var=; unset $ac_var;} ;;
1596 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1597 *${as_nl}ac_space=\ *)
1599 "s/'\''/'\''\\\\'\'''\''/g;
1600 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1603 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1610 $as_echo "## ----------------- ##
1611 ## Output variables. ##
1612 ## ----------------- ##"
1614 for ac_var in $ac_subst_vars
1616 eval ac_val=\$$ac_var
1618 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1620 $as_echo "$ac_var='\''$ac_val'\''"
1624 if test -n "$ac_subst_files"; then
1625 $as_echo "## ------------------- ##
1626 ## File substitutions. ##
1627 ## ------------------- ##"
1629 for ac_var in $ac_subst_files
1631 eval ac_val=\$$ac_var
1633 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1635 $as_echo "$ac_var='\''$ac_val'\''"
1640 if test -s confdefs.h; then
1641 $as_echo "## ----------- ##
1648 test "$ac_signal" != 0 &&
1649 $as_echo "$as_me: caught signal $ac_signal"
1650 $as_echo "$as_me: exit $exit_status"
1652 rm -f core *.core core.conftest.* &&
1653 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1656 for ac_signal in 1 2 13 15; do
1657 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1661 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1662 rm -f -r conftest* confdefs.h
1664 $as_echo "/* confdefs.h */" > confdefs.h
1666 # Predefined preprocessor variables.
1668 cat >>confdefs.h <<_ACEOF
1669 #define PACKAGE_NAME "$PACKAGE_NAME"
1672 cat >>confdefs.h <<_ACEOF
1673 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1676 cat >>confdefs.h <<_ACEOF
1677 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1680 cat >>confdefs.h <<_ACEOF
1681 #define PACKAGE_STRING "$PACKAGE_STRING"
1684 cat >>confdefs.h <<_ACEOF
1685 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1688 cat >>confdefs.h <<_ACEOF
1689 #define PACKAGE_URL "$PACKAGE_URL"
1693 # Let the site file select an alternate cache file if it wants to.
1694 # Prefer an explicitly selected file to automatically selected ones.
1697 if test -n "$CONFIG_SITE"; then
1698 # We do not want a PATH search for config.site.
1699 case $CONFIG_SITE in #((
1700 -*) ac_site_file1=./$CONFIG_SITE;;
1701 */*) ac_site_file1=$CONFIG_SITE;;
1702 *) ac_site_file1=./$CONFIG_SITE;;
1704 elif test "x$prefix" != xNONE; then
1705 ac_site_file1=$prefix/share/config.site
1706 ac_site_file2=$prefix/etc/config.site
1708 ac_site_file1=$ac_default_prefix/share/config.site
1709 ac_site_file2=$ac_default_prefix/etc/config.site
1711 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1713 test "x$ac_site_file" = xNONE && continue
1714 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1715 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1716 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1717 sed 's/^/| /' "$ac_site_file" >&5
1719 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1720 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1721 as_fn_error $? "failed to load site script $ac_site_file
1722 See \`config.log' for more details" "$LINENO" 5; }
1726 if test -r "$cache_file"; then
1727 # Some versions of bash will fail to source /dev/null (special files
1728 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1729 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1730 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1731 $as_echo "$as_me: loading cache $cache_file" >&6;}
1733 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1734 *) . "./$cache_file";;
1738 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1739 $as_echo "$as_me: creating cache $cache_file" >&6;}
1743 # Check that the precious variables saved in the cache have kept the same
1745 ac_cache_corrupted=false
1746 for ac_var in $ac_precious_vars; do
1747 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1748 eval ac_new_set=\$ac_env_${ac_var}_set
1749 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1750 eval ac_new_val=\$ac_env_${ac_var}_value
1751 case $ac_old_set,$ac_new_set in
1753 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1754 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1755 ac_cache_corrupted=: ;;
1757 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1758 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1759 ac_cache_corrupted=: ;;
1762 if test "x$ac_old_val" != "x$ac_new_val"; then
1763 # differences in whitespace do not lead to failure.
1764 ac_old_val_w=`echo x $ac_old_val`
1765 ac_new_val_w=`echo x $ac_new_val`
1766 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1767 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1768 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1769 ac_cache_corrupted=:
1771 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1772 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1773 eval $ac_var=\$ac_old_val
1775 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1776 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1777 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1778 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1781 # Pass precious variables to config.status.
1782 if test "$ac_new_set" = set; then
1784 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1785 *) ac_arg=$ac_var=$ac_new_val ;;
1787 case " $ac_configure_args " in
1788 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1789 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1793 if $ac_cache_corrupted; then
1794 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1795 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1796 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1797 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1798 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1800 ## -------------------- ##
1801 ## Main body of script. ##
1802 ## -------------------- ##
1805 ac_cpp='$CPP $CPPFLAGS'
1806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1811 am__api_version='1.11'
1814 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1815 if test -f "$ac_dir/install-sh"; then
1817 ac_install_sh="$ac_aux_dir/install-sh -c"
1819 elif test -f "$ac_dir/install.sh"; then
1821 ac_install_sh="$ac_aux_dir/install.sh -c"
1823 elif test -f "$ac_dir/shtool"; then
1825 ac_install_sh="$ac_aux_dir/shtool install -c"
1829 if test -z "$ac_aux_dir"; then
1830 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1833 # These three variables are undocumented and unsupported,
1834 # and are intended to be withdrawn in a future Autoconf release.
1835 # They can cause serious problems if a builder's source tree is in a directory
1836 # whose full name contains unusual characters.
1837 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1838 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1839 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1842 # Find a good install program. We prefer a C program (faster),
1843 # so one script is as good as another. But avoid the broken or
1844 # incompatible versions:
1845 # SysV /etc/install, /usr/sbin/install
1846 # SunOS /usr/etc/install
1847 # IRIX /sbin/install
1849 # AmigaOS /C/install, which installs bootblocks on floppy discs
1850 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1851 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1852 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1853 # OS/2's system install, which has a completely different semantic
1854 # ./install, which can be erroneously created by make from ./install.sh.
1855 # Reject install programs that cannot install multiple files.
1856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1857 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1858 if test -z "$INSTALL"; then
1859 if ${ac_cv_path_install+:} false; then :
1860 $as_echo_n "(cached) " >&6
1862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1866 test -z "$as_dir" && as_dir=.
1867 # Account for people who put trailing slashes in PATH elements.
1868 case $as_dir/ in #((
1869 ./ | .// | /[cC]/* | \
1870 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1871 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1874 # OSF1 and SCO ODT 3.0 have their own names for install.
1875 # Don't use installbsd from OSF since it installs stuff as root
1877 for ac_prog in ginstall scoinst install; do
1878 for ac_exec_ext in '' $ac_executable_extensions; do
1879 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1880 if test $ac_prog = install &&
1881 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1882 # AIX install. It has an incompatible calling convention.
1884 elif test $ac_prog = install &&
1885 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1886 # program-specific install script used by HP pwplus--don't use.
1889 rm -rf conftest.one conftest.two conftest.dir
1890 echo one > conftest.one
1891 echo two > conftest.two
1893 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1894 test -s conftest.one && test -s conftest.two &&
1895 test -s conftest.dir/conftest.one &&
1896 test -s conftest.dir/conftest.two
1898 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1911 rm -rf conftest.one conftest.two conftest.dir
1914 if test "${ac_cv_path_install+set}" = set; then
1915 INSTALL=$ac_cv_path_install
1917 # As a last resort, use the slow shell script. Don't cache a
1918 # value for INSTALL within a source directory, because that will
1919 # break other packages using the cache if that directory is
1920 # removed, or if the value is a relative name.
1921 INSTALL=$ac_install_sh
1924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1925 $as_echo "$INSTALL" >&6; }
1927 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1928 # It thinks the first close brace ends the variable substitution.
1929 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1931 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1933 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
1936 $as_echo_n "checking whether build environment is sane... " >&6; }
1939 echo timestamp > conftest.file
1940 # Reject unsafe characters in $srcdir or the absolute working directory
1941 # name. Accept space and tab only in the latter.
1945 *[\\\"\#\$\&\'\`$am_lf]*)
1946 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
1949 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
1950 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
1953 # Do `set' in a subshell so we don't clobber the current shell's
1954 # arguments. Must try -L first in case configure is actually a
1955 # symlink; some systems play weird games with the mod time of symlinks
1956 # (eg FreeBSD returns the mod time of the symlink's containing
1959 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
1960 if test "$*" = "X"; then
1962 set X `ls -t "$srcdir/configure" conftest.file`
1965 if test "$*" != "X $srcdir/configure conftest.file" \
1966 && test "$*" != "X conftest.file $srcdir/configure"; then
1968 # If neither matched, then we have a broken ls. This can happen
1969 # if, for instance, CONFIG_SHELL is bash and it inherits a
1970 # broken ls alias from the environment. This has actually
1971 # happened. Such a system could not be considered "sane".
1972 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
1973 alias in your environment" "$LINENO" 5
1976 test "$2" = conftest.file
1982 as_fn_error $? "newly created file is older than distributed files!
1983 Check your system clock" "$LINENO" 5
1985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1986 $as_echo "yes" >&6; }
1987 test "$program_prefix" != NONE &&
1988 program_transform_name="s&^&$program_prefix&;$program_transform_name"
1989 # Use a double $ so make ignores it.
1990 test "$program_suffix" != NONE &&
1991 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1992 # Double any \ or $.
1993 # By default was `s,x,x', remove it if useless.
1994 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
1995 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
1997 # expand $ac_aux_dir to an absolute path
1998 am_aux_dir=`cd $ac_aux_dir && pwd`
2000 if test x"${MISSING+set}" != xset; then
2003 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2005 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2008 # Use eval to expand $SHELL
2009 if eval "$MISSING --run true"; then
2010 am_missing_run="$MISSING --run "
2013 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2014 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2017 if test x"${install_sh}" != xset; then
2020 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2022 install_sh="\${SHELL} $am_aux_dir/install-sh"
2026 # Installed binaries are usually stripped using `strip' when the user
2027 # run `make install-strip'. However `strip' might not be the right
2028 # tool to use in cross-compilation environments, therefore Automake
2029 # will honor the `STRIP' environment variable to overrule this program.
2030 if test "$cross_compiling" != no; then
2031 if test -n "$ac_tool_prefix"; then
2032 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2033 set dummy ${ac_tool_prefix}strip; ac_word=$2
2034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2035 $as_echo_n "checking for $ac_word... " >&6; }
2036 if ${ac_cv_prog_STRIP+:} false; then :
2037 $as_echo_n "(cached) " >&6
2039 if test -n "$STRIP"; then
2040 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2046 test -z "$as_dir" && as_dir=.
2047 for ac_exec_ext in '' $ac_executable_extensions; do
2048 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2049 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2050 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2059 STRIP=$ac_cv_prog_STRIP
2060 if test -n "$STRIP"; then
2061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2062 $as_echo "$STRIP" >&6; }
2064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2065 $as_echo "no" >&6; }
2070 if test -z "$ac_cv_prog_STRIP"; then
2072 # Extract the first word of "strip", so it can be a program name with args.
2073 set dummy strip; ac_word=$2
2074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2075 $as_echo_n "checking for $ac_word... " >&6; }
2076 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2077 $as_echo_n "(cached) " >&6
2079 if test -n "$ac_ct_STRIP"; then
2080 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2086 test -z "$as_dir" && as_dir=.
2087 for ac_exec_ext in '' $ac_executable_extensions; do
2088 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2089 ac_cv_prog_ac_ct_STRIP="strip"
2090 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2099 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2100 if test -n "$ac_ct_STRIP"; then
2101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2102 $as_echo "$ac_ct_STRIP" >&6; }
2104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2105 $as_echo "no" >&6; }
2108 if test "x$ac_ct_STRIP" = x; then
2111 case $cross_compiling:$ac_tool_warned in
2113 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2114 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2115 ac_tool_warned=yes ;;
2120 STRIP="$ac_cv_prog_STRIP"
2124 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2127 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2128 if test -z "$MKDIR_P"; then
2129 if ${ac_cv_path_mkdir+:} false; then :
2130 $as_echo_n "(cached) " >&6
2132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2133 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2136 test -z "$as_dir" && as_dir=.
2137 for ac_prog in mkdir gmkdir; do
2138 for ac_exec_ext in '' $ac_executable_extensions; do
2139 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2140 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2141 'mkdir (GNU coreutils) '* | \
2142 'mkdir (coreutils) '* | \
2143 'mkdir (fileutils) '4.1*)
2144 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2154 test -d ./--version && rmdir ./--version
2155 if test "${ac_cv_path_mkdir+set}" = set; then
2156 MKDIR_P="$ac_cv_path_mkdir -p"
2158 # As a last resort, use the slow shell script. Don't cache a
2159 # value for MKDIR_P within a source directory, because that will
2160 # break other packages using the cache if that directory is
2161 # removed, or if the value is a relative name.
2162 MKDIR_P="$ac_install_sh -d"
2165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2166 $as_echo "$MKDIR_P" >&6; }
2170 [\\/$]* | ?:[\\/]*) ;;
2171 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2174 for ac_prog in gawk mawk nawk awk
2176 # Extract the first word of "$ac_prog", so it can be a program name with args.
2177 set dummy $ac_prog; ac_word=$2
2178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2179 $as_echo_n "checking for $ac_word... " >&6; }
2180 if ${ac_cv_prog_AWK+:} false; then :
2181 $as_echo_n "(cached) " >&6
2183 if test -n "$AWK"; then
2184 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2190 test -z "$as_dir" && as_dir=.
2191 for ac_exec_ext in '' $ac_executable_extensions; do
2192 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2193 ac_cv_prog_AWK="$ac_prog"
2194 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2204 if test -n "$AWK"; then
2205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2206 $as_echo "$AWK" >&6; }
2208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2209 $as_echo "no" >&6; }
2213 test -n "$AWK" && break
2216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2217 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2219 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2220 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2221 $as_echo_n "(cached) " >&6
2223 cat >conftest.make <<\_ACEOF
2226 @echo '@@@%%%=$(MAKE)=@@@%%%'
2228 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2229 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2231 eval ac_cv_prog_make_${ac_make}_set=yes;;
2233 eval ac_cv_prog_make_${ac_make}_set=no;;
2237 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2239 $as_echo "yes" >&6; }
2242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2243 $as_echo "no" >&6; }
2244 SET_MAKE="MAKE=${MAKE-make}"
2247 rm -rf .tst 2>/dev/null
2248 mkdir .tst 2>/dev/null
2249 if test -d .tst; then
2254 rmdir .tst 2>/dev/null
2256 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2257 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2258 # is not polluted with repeated "-I."
2259 am__isrc=' -I$(srcdir)'
2260 # test to see if srcdir already configured
2261 if test -f $srcdir/config.status; then
2262 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2266 # test whether we have cygpath
2267 if test -z "$CYGPATH_W"; then
2268 if (cygpath --version) >/dev/null 2>/dev/null; then
2269 CYGPATH_W='cygpath -w'
2276 # Define the identity of the package.
2281 cat >>confdefs.h <<_ACEOF
2282 #define PACKAGE "$PACKAGE"
2286 cat >>confdefs.h <<_ACEOF
2287 #define VERSION "$VERSION"
2290 # Some tools Automake needs.
2292 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2295 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2298 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2301 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2304 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2306 # We need awk for the "check" target. The system "awk" is bad on
2308 # Always define AMTAR for backward compatibility.
2310 AMTAR=${AMTAR-"${am_missing_run}tar"}
2312 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2319 ac_cpp='$CPP $CPPFLAGS'
2320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2323 if test -n "$ac_tool_prefix"; then
2324 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2325 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2327 $as_echo_n "checking for $ac_word... " >&6; }
2328 if ${ac_cv_prog_CC+:} false; then :
2329 $as_echo_n "(cached) " >&6
2331 if test -n "$CC"; then
2332 ac_cv_prog_CC="$CC" # Let the user override the test.
2334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2338 test -z "$as_dir" && as_dir=.
2339 for ac_exec_ext in '' $ac_executable_extensions; do
2340 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2341 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2342 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2352 if test -n "$CC"; then
2353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2354 $as_echo "$CC" >&6; }
2356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2357 $as_echo "no" >&6; }
2362 if test -z "$ac_cv_prog_CC"; then
2364 # Extract the first word of "gcc", so it can be a program name with args.
2365 set dummy gcc; ac_word=$2
2366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2367 $as_echo_n "checking for $ac_word... " >&6; }
2368 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2369 $as_echo_n "(cached) " >&6
2371 if test -n "$ac_ct_CC"; then
2372 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2378 test -z "$as_dir" && as_dir=.
2379 for ac_exec_ext in '' $ac_executable_extensions; do
2380 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2381 ac_cv_prog_ac_ct_CC="gcc"
2382 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2391 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2392 if test -n "$ac_ct_CC"; then
2393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2394 $as_echo "$ac_ct_CC" >&6; }
2396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2397 $as_echo "no" >&6; }
2400 if test "x$ac_ct_CC" = x; then
2403 case $cross_compiling:$ac_tool_warned in
2405 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2406 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2407 ac_tool_warned=yes ;;
2415 if test -z "$CC"; then
2416 if test -n "$ac_tool_prefix"; then
2417 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2418 set dummy ${ac_tool_prefix}cc; ac_word=$2
2419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2420 $as_echo_n "checking for $ac_word... " >&6; }
2421 if ${ac_cv_prog_CC+:} false; then :
2422 $as_echo_n "(cached) " >&6
2424 if test -n "$CC"; then
2425 ac_cv_prog_CC="$CC" # Let the user override the test.
2427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2431 test -z "$as_dir" && as_dir=.
2432 for ac_exec_ext in '' $ac_executable_extensions; do
2433 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2434 ac_cv_prog_CC="${ac_tool_prefix}cc"
2435 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2445 if test -n "$CC"; then
2446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2447 $as_echo "$CC" >&6; }
2449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2450 $as_echo "no" >&6; }
2456 if test -z "$CC"; then
2457 # Extract the first word of "cc", so it can be a program name with args.
2458 set dummy cc; ac_word=$2
2459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2460 $as_echo_n "checking for $ac_word... " >&6; }
2461 if ${ac_cv_prog_CC+:} false; then :
2462 $as_echo_n "(cached) " >&6
2464 if test -n "$CC"; then
2465 ac_cv_prog_CC="$CC" # Let the user override the test.
2468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2472 test -z "$as_dir" && as_dir=.
2473 for ac_exec_ext in '' $ac_executable_extensions; do
2474 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2475 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2476 ac_prog_rejected=yes
2480 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2487 if test $ac_prog_rejected = yes; then
2488 # We found a bogon in the path, so make sure we never use it.
2489 set dummy $ac_cv_prog_CC
2491 if test $# != 0; then
2492 # We chose a different compiler from the bogus one.
2493 # However, it has the same basename, so the bogon will be chosen
2494 # first if we set CC to just the basename; use the full file name.
2496 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2502 if test -n "$CC"; then
2503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2504 $as_echo "$CC" >&6; }
2506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2507 $as_echo "no" >&6; }
2512 if test -z "$CC"; then
2513 if test -n "$ac_tool_prefix"; then
2514 for ac_prog in cl.exe
2516 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2517 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2519 $as_echo_n "checking for $ac_word... " >&6; }
2520 if ${ac_cv_prog_CC+:} false; then :
2521 $as_echo_n "(cached) " >&6
2523 if test -n "$CC"; then
2524 ac_cv_prog_CC="$CC" # Let the user override the test.
2526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2530 test -z "$as_dir" && as_dir=.
2531 for ac_exec_ext in '' $ac_executable_extensions; do
2532 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2533 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2534 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2544 if test -n "$CC"; then
2545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2546 $as_echo "$CC" >&6; }
2548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2549 $as_echo "no" >&6; }
2553 test -n "$CC" && break
2556 if test -z "$CC"; then
2558 for ac_prog in cl.exe
2560 # Extract the first word of "$ac_prog", so it can be a program name with args.
2561 set dummy $ac_prog; ac_word=$2
2562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2563 $as_echo_n "checking for $ac_word... " >&6; }
2564 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2565 $as_echo_n "(cached) " >&6
2567 if test -n "$ac_ct_CC"; then
2568 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2574 test -z "$as_dir" && as_dir=.
2575 for ac_exec_ext in '' $ac_executable_extensions; do
2576 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2577 ac_cv_prog_ac_ct_CC="$ac_prog"
2578 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2587 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2588 if test -n "$ac_ct_CC"; then
2589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2590 $as_echo "$ac_ct_CC" >&6; }
2592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2593 $as_echo "no" >&6; }
2597 test -n "$ac_ct_CC" && break
2600 if test "x$ac_ct_CC" = x; then
2603 case $cross_compiling:$ac_tool_warned in
2605 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2606 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2607 ac_tool_warned=yes ;;
2616 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2617 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2618 as_fn_error $? "no acceptable C compiler found in \$PATH
2619 See \`config.log' for more details" "$LINENO" 5; }
2621 # Provide some information about the compiler.
2622 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2625 for ac_option in --version -v -V -qversion; do
2626 { { ac_try="$ac_compiler $ac_option >&5"
2628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2629 *) ac_try_echo=$ac_try;;
2631 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2632 $as_echo "$ac_try_echo"; } >&5
2633 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2635 if test -s conftest.err; then
2637 ... rest of stderr output deleted ...
2638 10q' conftest.err >conftest.er1
2639 cat conftest.er1 >&5
2641 rm -f conftest.er1 conftest.err
2642 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2643 test $ac_status = 0; }
2646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2647 /* end confdefs.h. */
2657 ac_clean_files_save=$ac_clean_files
2658 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2659 # Try to create an executable without -o first, disregard a.out.
2660 # It will help us diagnose broken compilers, and finding out an intuition
2662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2663 $as_echo_n "checking whether the C compiler works... " >&6; }
2664 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2666 # The possible output files:
2667 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2670 for ac_file in $ac_files
2673 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2674 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2679 if { { ac_try="$ac_link_default"
2681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2682 *) ac_try_echo=$ac_try;;
2684 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2685 $as_echo "$ac_try_echo"; } >&5
2686 (eval "$ac_link_default") 2>&5
2688 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2689 test $ac_status = 0; }; then :
2690 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2691 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2692 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2693 # so that the user can short-circuit this test for compilers unknown to
2695 for ac_file in $ac_files ''
2697 test -f "$ac_file" || continue
2699 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2702 # We found the default executable, but exeext='' is most
2706 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2708 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2710 # We set ac_cv_exeext here because the later test for it is not
2711 # safe: cross compilers may not add the suffix if given an `-o'
2712 # argument, so we may need to know it at that point already.
2713 # Even if this section looks crufty: it has the advantage of
2720 test "$ac_cv_exeext" = no && ac_cv_exeext=
2725 if test -z "$ac_file"; then :
2726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2727 $as_echo "no" >&6; }
2728 $as_echo "$as_me: failed program was:" >&5
2729 sed 's/^/| /' conftest.$ac_ext >&5
2731 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2732 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2733 as_fn_error 77 "C compiler cannot create executables
2734 See \`config.log' for more details" "$LINENO" 5; }
2736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2737 $as_echo "yes" >&6; }
2739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2740 $as_echo_n "checking for C compiler default output file name... " >&6; }
2741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2742 $as_echo "$ac_file" >&6; }
2743 ac_exeext=$ac_cv_exeext
2745 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2746 ac_clean_files=$ac_clean_files_save
2747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2748 $as_echo_n "checking for suffix of executables... " >&6; }
2749 if { { ac_try="$ac_link"
2751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2752 *) ac_try_echo=$ac_try;;
2754 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2755 $as_echo "$ac_try_echo"; } >&5
2756 (eval "$ac_link") 2>&5
2758 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2759 test $ac_status = 0; }; then :
2760 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2761 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2762 # work properly (i.e., refer to `conftest.exe'), while it won't with
2764 for ac_file in conftest.exe conftest conftest.*; do
2765 test -f "$ac_file" || continue
2767 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2768 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2774 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2775 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2776 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2777 See \`config.log' for more details" "$LINENO" 5; }
2779 rm -f conftest conftest$ac_cv_exeext
2780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2781 $as_echo "$ac_cv_exeext" >&6; }
2783 rm -f conftest.$ac_ext
2784 EXEEXT=$ac_cv_exeext
2786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2787 /* end confdefs.h. */
2792 FILE *f = fopen ("conftest.out", "w");
2793 return ferror (f) || fclose (f) != 0;
2799 ac_clean_files="$ac_clean_files conftest.out"
2800 # Check that the compiler produces executables we can run. If not, either
2801 # the compiler is broken, or we cross compile.
2802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2803 $as_echo_n "checking whether we are cross compiling... " >&6; }
2804 if test "$cross_compiling" != yes; then
2805 { { ac_try="$ac_link"
2807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2808 *) ac_try_echo=$ac_try;;
2810 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2811 $as_echo "$ac_try_echo"; } >&5
2812 (eval "$ac_link") 2>&5
2814 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2815 test $ac_status = 0; }
2816 if { ac_try='./conftest$ac_cv_exeext'
2817 { { case "(($ac_try" in
2818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2819 *) ac_try_echo=$ac_try;;
2821 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2822 $as_echo "$ac_try_echo"; } >&5
2823 (eval "$ac_try") 2>&5
2825 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2826 test $ac_status = 0; }; }; then
2829 if test "$cross_compiling" = maybe; then
2832 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2833 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2834 as_fn_error $? "cannot run C compiled programs.
2835 If you meant to cross compile, use \`--host'.
2836 See \`config.log' for more details" "$LINENO" 5; }
2840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2841 $as_echo "$cross_compiling" >&6; }
2843 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2844 ac_clean_files=$ac_clean_files_save
2845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2846 $as_echo_n "checking for suffix of object files... " >&6; }
2847 if ${ac_cv_objext+:} false; then :
2848 $as_echo_n "(cached) " >&6
2850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2851 /* end confdefs.h. */
2861 rm -f conftest.o conftest.obj
2862 if { { ac_try="$ac_compile"
2864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2865 *) ac_try_echo=$ac_try;;
2867 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2868 $as_echo "$ac_try_echo"; } >&5
2869 (eval "$ac_compile") 2>&5
2871 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2872 test $ac_status = 0; }; then :
2873 for ac_file in conftest.o conftest.obj conftest.*; do
2874 test -f "$ac_file" || continue;
2876 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2877 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2882 $as_echo "$as_me: failed program was:" >&5
2883 sed 's/^/| /' conftest.$ac_ext >&5
2885 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2886 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2887 as_fn_error $? "cannot compute suffix of object files: cannot compile
2888 See \`config.log' for more details" "$LINENO" 5; }
2890 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2893 $as_echo "$ac_cv_objext" >&6; }
2894 OBJEXT=$ac_cv_objext
2896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2897 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2898 if ${ac_cv_c_compiler_gnu+:} false; then :
2899 $as_echo_n "(cached) " >&6
2901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2902 /* end confdefs.h. */
2915 if ac_fn_c_try_compile "$LINENO"; then :
2920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2921 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2925 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2926 if test $ac_compiler_gnu = yes; then
2931 ac_test_CFLAGS=${CFLAGS+set}
2932 ac_save_CFLAGS=$CFLAGS
2933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2934 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2935 if ${ac_cv_prog_cc_g+:} false; then :
2936 $as_echo_n "(cached) " >&6
2938 ac_save_c_werror_flag=$ac_c_werror_flag
2939 ac_c_werror_flag=yes
2942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2943 /* end confdefs.h. */
2953 if ac_fn_c_try_compile "$LINENO"; then :
2957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2958 /* end confdefs.h. */
2968 if ac_fn_c_try_compile "$LINENO"; then :
2971 ac_c_werror_flag=$ac_save_c_werror_flag
2973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2974 /* end confdefs.h. */
2984 if ac_fn_c_try_compile "$LINENO"; then :
2987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2992 ac_c_werror_flag=$ac_save_c_werror_flag
2994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2995 $as_echo "$ac_cv_prog_cc_g" >&6; }
2996 if test "$ac_test_CFLAGS" = set; then
2997 CFLAGS=$ac_save_CFLAGS
2998 elif test $ac_cv_prog_cc_g = yes; then
2999 if test "$GCC" = yes; then
3005 if test "$GCC" = yes; then
3011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3012 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3013 if ${ac_cv_prog_cc_c89+:} false; then :
3014 $as_echo_n "(cached) " >&6
3016 ac_cv_prog_cc_c89=no
3018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3019 /* end confdefs.h. */
3022 #include <sys/types.h>
3023 #include <sys/stat.h>
3024 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3025 struct buf { int x; };
3026 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3027 static char *e (p, i)
3033 static char *f (char * (*g) (char **, int), char **p, ...)
3038 s = g (p, va_arg (v,int));
3043 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3044 function prototypes and stuff, but not '\xHH' hex character constants.
3045 These don't provoke an error unfortunately, instead are silently treated
3046 as 'x'. The following induces an error, until -std is added to get
3047 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3048 array size at least. It's necessary to write '\x00'==0 to get something
3049 that's true only with -std. */
3050 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3052 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3053 inside strings and character constants. */
3055 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3057 int test (int i, double x);
3058 struct s1 {int (*f) (int a);};
3059 struct s2 {int (*f) (double a);};
3060 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3066 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3071 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3072 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3074 CC="$ac_save_CC $ac_arg"
3075 if ac_fn_c_try_compile "$LINENO"; then :
3076 ac_cv_prog_cc_c89=$ac_arg
3078 rm -f core conftest.err conftest.$ac_objext
3079 test "x$ac_cv_prog_cc_c89" != "xno" && break
3081 rm -f conftest.$ac_ext
3086 case "x$ac_cv_prog_cc_c89" in
3088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3089 $as_echo "none needed" >&6; } ;;
3091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3092 $as_echo "unsupported" >&6; } ;;
3094 CC="$CC $ac_cv_prog_cc_c89"
3095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3096 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3098 if test "x$ac_cv_prog_cc_c89" != xno; then :
3103 ac_cpp='$CPP $CPPFLAGS'
3104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3107 DEPDIR="${am__leading_dot}deps"
3109 ac_config_commands="$ac_config_commands depfiles"
3112 am_make=${MAKE-make}
3113 cat > confinc << 'END'
3115 @echo this is the am__doit target
3118 # If we don't find an include directive, just comment out the code.
3119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3120 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3124 # First try GNU make style include.
3125 echo "include confinc" > confmf
3126 # Ignore all kinds of additional output from `make'.
3127 case `$am_make -s -f confmf 2> /dev/null` in #(
3128 *the\ am__doit\ target*)
3134 # Now try BSD make style include.
3135 if test "$am__include" = "#"; then
3136 echo '.include "confinc"' > confmf
3137 case `$am_make -s -f confmf 2> /dev/null` in #(
3138 *the\ am__doit\ target*)
3139 am__include=.include
3147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3148 $as_echo "$_am_result" >&6; }
3149 rm -f confinc confmf
3151 # Check whether --enable-dependency-tracking was given.
3152 if test "${enable_dependency_tracking+set}" = set; then :
3153 enableval=$enable_dependency_tracking;
3156 if test "x$enable_dependency_tracking" != xno; then
3157 am_depcomp="$ac_aux_dir/depcomp"
3160 if test "x$enable_dependency_tracking" != xno; then
3170 depcc="$CC" am_compiler_list=
3172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3173 $as_echo_n "checking dependency style of $depcc... " >&6; }
3174 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3175 $as_echo_n "(cached) " >&6
3177 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3178 # We make a subdir and do the tests there. Otherwise we can end up
3179 # making bogus files that we don't know about and never remove. For
3180 # instance it was reported that on HP-UX the gcc test will end up
3181 # making a dummy file named `D' -- because `-MD' means `put the output
3184 # Copy depcomp to subdir because otherwise we won't find it if we're
3185 # using a relative directory.
3186 cp "$am_depcomp" conftest.dir
3188 # We will build objects and dependencies in a subdirectory because
3189 # it helps to detect inapplicable dependency modes. For instance
3190 # both Tru64's cc and ICC support -MD to output dependencies as a
3191 # side effect of compilation, but ICC will put the dependencies in
3192 # the current directory while Tru64 will put them in the object
3196 am_cv_CC_dependencies_compiler_type=none
3197 if test "$am_compiler_list" = ""; then
3198 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3201 case " $depcc " in #(
3202 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3205 for depmode in $am_compiler_list; do
3206 # Setup a source with many dependencies, because some compilers
3207 # like to wrap large dependency lists on column 80 (with \), and
3208 # we should not choose a depcomp mode which is confused by this.
3210 # We need to recreate these files for each test, as the compiler may
3211 # overwrite some of them when testing with obscure command lines.
3212 # This happens at least with the AIX C compiler.
3214 for i in 1 2 3 4 5 6; do
3215 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3216 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3217 # Solaris 8's {/usr,}/bin/sh.
3218 touch sub/conftst$i.h
3220 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3222 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3223 # mode. It turns out that the SunPro C++ compiler does not properly
3224 # handle `-M -o', and we need to detect this. Also, some Intel
3225 # versions had trouble with output in subdirs
3226 am__obj=sub/conftest.${OBJEXT-o}
3227 am__minus_obj="-o $am__obj"
3230 # This depmode causes a compiler race in universal mode.
3231 test "$am__universal" = false || continue
3234 # after this tag, mechanisms are not by side-effect, so they'll
3235 # only be used when explicitly requested
3236 if test "x$enable_dependency_tracking" = xyes; then
3242 msvisualcpp | msvcmsys)
3243 # This compiler won't grok `-c -o', but also, the minuso test has
3244 # not run yet. These depmodes are late enough in the game, and
3245 # so weak that their functioning should not be impacted.
3246 am__obj=conftest.${OBJEXT-o}
3251 if depmode=$depmode \
3252 source=sub/conftest.c object=$am__obj \
3253 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3254 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3255 >/dev/null 2>conftest.err &&
3256 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3257 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3258 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3259 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3260 # icc doesn't choke on unknown options, it will just issue warnings
3261 # or remarks (even with -Werror). So we grep stderr for any message
3262 # that says an option was ignored or not supported.
3263 # When given -MP, icc 7.0 and 7.1 complain thusly:
3264 # icc: Command line warning: ignoring option '-M'; no argument required
3265 # The diagnosis changed in icc 8.0:
3266 # icc: Command line remark: option '-MP' not supported
3267 if (grep 'ignoring option' conftest.err ||
3268 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3269 am_cv_CC_dependencies_compiler_type=$depmode
3278 am_cv_CC_dependencies_compiler_type=none
3282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3283 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3284 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3287 test "x$enable_dependency_tracking" != xno \
3288 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3290 am__fastdepCC_FALSE='#'
3292 am__fastdepCC_TRUE='#'
3293 am__fastdepCC_FALSE=
3297 ac_config_headers="$ac_config_headers config.h"
3300 ##########################################################################
3301 # adding the readline library (e.g. with static name 'libreadline.a')
3302 ##########################################################################
3304 # adding the lib to the files to link
3305 LIBS="-lreadline $LIBS"
3307 # introduce the optional configure parameter for a non-standard install prefix of readline
3309 # Check whether --with-readline was given.
3310 if test "${with_readline+set}" = set; then :
3311 withval=$with_readline; readlinePATHSET=1
3317 # if optional parameter used, extend path flags for compliler and linker
3318 if test $readlinePATHSET = 1 ; then
3319 # extend the compiler and linker flags according to the path set
3320 AM_CXXFLAGS="$AM_CXXFLAGS -I$with_readline/include"
3321 AM_LDFLAGS="$AM_LDFLAGS -L$with_readline/lib"
3324 ##########################################################################
3327 ##########################################################################
3328 # check for readline library
3329 ##########################################################################
3331 # store current *FLAGS and merge with AM_*FLAGS for compilation and linker check
3332 OLD_CXXFLAGS=$CXXFLAGS;
3333 OLD_LDFLAGS=$LDFLAGS;
3334 CXXFLAGS="$AM_CXXFLAGS $CXXFLAGS"
3335 LDFLAGS="$AM_LDFLAGS $LDFLAGS"
3337 # ensure the library to check for is covered by the LIBS variable
3339 LIBS="$LIBS -lreadline"
3341 # check for readline library headers
3342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the readline library headers" >&5
3343 $as_echo_n "checking for the readline library headers... " >&6; }
3344 # try to compile a file that includes a header of the library readline
3346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3347 /* end confdefs.h. */
3348 #include <readline/readline.h>
3350 if ac_fn_c_try_compile "$LINENO"; then :
3351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
3352 $as_echo "found" >&6; }
3353 # try to link the function 'rl_initialize' out of library readline
3354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the readline library can be linked" >&5
3355 $as_echo_n "checking whether the readline library can be linked... " >&6; }
3356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3357 /* end confdefs.h. */
3358 #include <readline/readline.h>
3367 if ac_fn_c_try_link "$LINENO"; then :
3368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3369 $as_echo "yes" >&6; }
3372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3373 $as_echo "no" >&6; }
3374 LIBS=$OLD_LIBS; FOUND_readline=0;
3376 rm -f core conftest.err conftest.$ac_objext \
3377 conftest$ac_exeext conftest.$ac_ext
3379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
3380 $as_echo "not found" >&6; }
3383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3385 # reset original *FLAGS
3386 CXXFLAGS=$OLD_CXXFLAGS
3387 LDFLAGS=$OLD_LDFLAGS
3389 # handle check results
3390 if test $FOUND_readline != 1; then
3391 { $as_echo "$as_me:${as_lineno-$LINENO}: " >&5
3392 $as_echo "$as_me: " >&6;}
3393 { $as_echo "$as_me:${as_lineno-$LINENO}: The readline library was not found!" >&5
3394 $as_echo "$as_me: The readline library was not found!" >&6;}
3395 if test $readlinePATHSET = 1 ; then
3396 { $as_echo "$as_me:${as_lineno-$LINENO}: The install prefix '$with_readline' for the readline library was set." >&5
3397 $as_echo "$as_me: The install prefix '$with_readline' for the readline library was set." >&6;}
3398 { $as_echo "$as_me:${as_lineno-$LINENO}: --> Maybe wrong ???" >&5
3399 $as_echo "$as_me: --> Maybe wrong ???" >&6;}
3401 { $as_echo "$as_me:${as_lineno-$LINENO}: No non-standard install prefix was set." >&5
3402 $as_echo "$as_me: No non-standard install prefix was set." >&6;}
3403 { $as_echo "$as_me:${as_lineno-$LINENO}: --> You might want to use '--with-readline=PREFIX' ?!?" >&5
3404 $as_echo "$as_me: --> You might want to use '--with-readline=PREFIX' ?!?" >&6;}
3406 { $as_echo "$as_me:${as_lineno-$LINENO}: " >&5
3407 $as_echo "$as_me: " >&6;}
3408 as_fn_error $? " readline library is an essential dependency : cannot build and stop here !" "$LINENO" 5
3411 ##########################################################################
3417 ac_config_files="$ac_config_files Makefile src/Makefile"
3419 cat >confcache <<\_ACEOF
3420 # This file is a shell script that caches the results of configure
3421 # tests run on this system so they can be shared between configure
3422 # scripts and configure runs, see configure's option --config-cache.
3423 # It is not useful on other systems. If it contains results you don't
3424 # want to keep, you may remove or edit it.
3426 # config.status only pays attention to the cache file if you give it
3427 # the --recheck option to rerun configure.
3429 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3430 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3435 # The following way of writing the cache mishandles newlines in values,
3436 # but we know of no workaround that is simple, portable, and efficient.
3437 # So, we kill variables containing newlines.
3438 # Ultrix sh set writes to stderr and can't be redirected directly,
3439 # and sets the high bit in the cache file unless we assign to the vars.
3441 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3442 eval ac_val=\$$ac_var
3446 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3447 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3450 _ | IFS | as_nl) ;; #(
3451 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3452 *) { eval $ac_var=; unset $ac_var;} ;;
3458 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3459 *${as_nl}ac_space=\ *)
3460 # `set' does not quote correctly, so add quotes: double-quote
3461 # substitution turns \\\\ into \\, and sed turns \\ into \.
3464 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3467 # `set' quotes correctly as required by POSIX, so do not add quotes.
3468 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3477 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3479 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3481 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3482 if test -w "$cache_file"; then
3483 if test "x$cache_file" != "x/dev/null"; then
3484 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3485 $as_echo "$as_me: updating cache $cache_file" >&6;}
3486 if test ! -f "$cache_file" || test -h "$cache_file"; then
3487 cat confcache >"$cache_file"
3489 case $cache_file in #(
3491 mv -f confcache "$cache_file"$$ &&
3492 mv -f "$cache_file"$$ "$cache_file" ;; #(
3494 mv -f confcache "$cache_file" ;;
3499 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3500 $as_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
3514 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3515 # 1. Remove the extension, and $U if already installed.
3516 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3517 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
3518 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3519 # will be set to the directory where LIBOBJS objects are built.
3520 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3521 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
3525 LTLIBOBJS=$ac_ltlibobjs
3528 if test -n "$EXEEXT"; then
3530 am__EXEEXT_FALSE='#'
3536 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
3537 as_fn_error $? "conditional \"AMDEP\" was never defined.
3538 Usually this means the macro was only invoked conditionally." "$LINENO" 5
3540 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
3541 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
3542 Usually this means the macro was only invoked conditionally." "$LINENO" 5
3545 : "${CONFIG_STATUS=./config.status}"
3547 ac_clean_files_save=$ac_clean_files
3548 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3549 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3550 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3552 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3554 # Generated by $as_me.
3555 # Run this file to recreate the current configuration.
3556 # Compiler output produced by configure, useful for debugging
3557 # configure, is in config.log if it exists.
3563 SHELL=\${CONFIG_SHELL-$SHELL}
3566 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
3567 ## -------------------- ##
3568 ## M4sh Initialization. ##
3569 ## -------------------- ##
3571 # Be more Bourne compatible
3572 DUALCASE=1; export DUALCASE # for MKS sh
3573 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
3576 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3577 # is contrary to our usage. Disable this feature.
3578 alias -g '${1+"$@"}'='"$@"'
3579 setopt NO_GLOB_SUBST
3581 case `(set -o) 2>/dev/null` in #(
3593 # Printing a long string crashes Solaris 7 /usr/bin/printf.
3594 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3595 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3596 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3597 # Prefer a ksh shell builtin over an external printf program on Solaris,
3598 # but without wasting forks for bash or zsh.
3599 if test -z "$BASH_VERSION$ZSH_VERSION" \
3600 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
3601 as_echo='print -r --'
3602 as_echo_n='print -rn --'
3603 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3604 as_echo='printf %s\n'
3605 as_echo_n='printf %s'
3607 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3608 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
3609 as_echo_n='/usr/ucb/echo -n'
3611 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3612 as_echo_n_body='eval
3616 expr "X$arg" : "X\\(.*\\)$as_nl";
3617 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3619 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
3621 export as_echo_n_body
3622 as_echo_n='sh -c $as_echo_n_body as_echo'
3625 as_echo='sh -c $as_echo_body as_echo'
3628 # The user is always right.
3629 if test "${PATH_SEPARATOR+set}" != set; then
3631 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3632 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3639 # We need space, tab and new line, in precisely that order. Quoting is
3640 # there to prevent editors from complaining about space-tab.
3641 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3642 # splitting by setting IFS to empty value.)
3645 # Find who we are. Look in the path if we contain no directory separator.
3648 *[\\/]* ) as_myself=$0 ;;
3649 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3653 test -z "$as_dir" && as_dir=.
3654 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3660 # We did not find ourselves, most probably we were run as `sh COMMAND'
3661 # in which case we are not to be found in the path.
3662 if test "x$as_myself" = x; then
3665 if test ! -f "$as_myself"; then
3666 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3670 # Unset variables that we do not need and which cause bugs (e.g. in
3671 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
3672 # suppresses any "Segmentation fault" message there. '((' could
3673 # trigger a bug in pdksh 5.2.14.
3674 for as_var in BASH_ENV ENV MAIL MAILPATH
3675 do eval test x\${$as_var+set} = xset \
3676 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
3689 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
3692 # as_fn_error STATUS ERROR [LINENO LOG_FD]
3693 # ----------------------------------------
3694 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3695 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3696 # script with STATUS, using 1 if that was 0.
3699 as_status=$1; test $as_status -eq 0 && as_status=1
3701 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3702 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
3704 $as_echo "$as_me: error: $2" >&2
3705 as_fn_exit $as_status
3709 # as_fn_set_status STATUS
3710 # -----------------------
3711 # Set $? to STATUS, without forking.
3715 } # as_fn_set_status
3719 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3729 # Portably unset VAR.
3732 { eval $1=; unset $1;}
3734 as_unset=as_fn_unset
3735 # as_fn_append VAR VALUE
3736 # ----------------------
3737 # Append the text in VALUE to the end of the definition contained in VAR. Take
3738 # advantage of any shell optimizations that allow amortized linear growth over
3739 # repeated appends, instead of the typical quadratic growth present in naive
3741 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
3742 eval 'as_fn_append ()
3753 # as_fn_arith ARG...
3754 # ------------------
3755 # Perform arithmetic evaluation on the ARGs, and store the result in the
3756 # global $as_val. Take advantage of shells that can avoid forks. The arguments
3757 # must be portable across $(()) and expr.
3758 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
3759 eval 'as_fn_arith ()
3766 as_val=`expr "$@" || test $? -eq 1`
3771 if expr a : '\(a\)' >/dev/null 2>&1 &&
3772 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3778 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3779 as_basename=basename
3784 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3790 as_me=`$as_basename -- "$0" ||
3791 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3792 X"$0" : 'X\(//\)$' \| \
3793 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3795 sed '/^.*\/\([^/][^/]*\)\/*$/{
3809 # Avoid depending upon Character Ranges.
3810 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3811 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3812 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3813 as_cr_digits='0123456789'
3814 as_cr_alnum=$as_cr_Letters$as_cr_digits
3816 ECHO_C= ECHO_N= ECHO_T=
3817 case `echo -n x` in #(((((
3819 case `echo 'xy\c'` in
3820 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3822 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
3829 rm -f conf$$ conf$$.exe conf$$.file
3830 if test -d conf$$.dir; then
3831 rm -f conf$$.dir/conf$$.file
3834 mkdir conf$$.dir 2>/dev/null
3836 if (echo >conf$$.file) 2>/dev/null; then
3837 if ln -s conf$$.file conf$$ 2>/dev/null; then
3839 # ... but there are two gotchas:
3840 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3841 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3842 # In both cases, we have to default to `cp -p'.
3843 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3845 elif ln conf$$.file conf$$ 2>/dev/null; then
3853 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3854 rmdir conf$$.dir 2>/dev/null
3859 # Create "$as_dir" as a directory, including parents if necessary.
3864 -*) as_dir=./$as_dir;;
3866 test -d "$as_dir" || eval $as_mkdir_p || {
3870 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3871 *) as_qdir=$as_dir;;
3873 as_dirs="'$as_qdir' $as_dirs"
3874 as_dir=`$as_dirname -- "$as_dir" ||
3875 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3876 X"$as_dir" : 'X\(//\)[^/]' \| \
3877 X"$as_dir" : 'X\(//\)$' \| \
3878 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3879 $as_echo X"$as_dir" |
3880 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3897 test -d "$as_dir" && break
3899 test -z "$as_dirs" || eval "mkdir $as_dirs"
3900 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
3904 if mkdir -p . 2>/dev/null; then
3905 as_mkdir_p='mkdir -p "$as_dir"'
3907 test -d ./-p && rmdir ./-p
3911 if test -x / >/dev/null 2>&1; then
3914 if ls -dL / >/dev/null 2>&1; then
3921 if test -d "$1"; then
3927 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
3928 ???[sx]*):;;*)false;;esac;fi
3932 as_executable_p=$as_test_x
3934 # Sed expression to map a string onto a valid CPP name.
3935 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3937 # Sed expression to map a string onto a valid variable name.
3938 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3942 ## ----------------------------------- ##
3943 ## Main body of $CONFIG_STATUS script. ##
3944 ## ----------------------------------- ##
3946 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
3948 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3949 # Save the log message, to keep $0 and so on meaningful, and to
3950 # report actual input values of CONFIG_FILES etc. instead of their
3951 # values after options handling.
3953 This file was extended by ctdlsh $as_me 1.0, which was
3954 generated by GNU Autoconf 2.68. Invocation command line was
3956 CONFIG_FILES = $CONFIG_FILES
3957 CONFIG_HEADERS = $CONFIG_HEADERS
3958 CONFIG_LINKS = $CONFIG_LINKS
3959 CONFIG_COMMANDS = $CONFIG_COMMANDS
3962 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3967 case $ac_config_files in *"
3968 "*) set x $ac_config_files; shift; ac_config_files=$*;;
3971 case $ac_config_headers in *"
3972 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
3976 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3977 # Files that config.status was made for.
3978 config_files="$ac_config_files"
3979 config_headers="$ac_config_headers"
3980 config_commands="$ac_config_commands"
3984 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3986 \`$as_me' instantiates files and other configuration actions
3987 from templates according to the current configuration. Unless the files
3988 and actions are specified as TAGs, all are instantiated by default.
3990 Usage: $0 [OPTION]... [TAG]...
3992 -h, --help print this help, then exit
3993 -V, --version print version number and configuration settings, then exit
3994 --config print configuration, then exit
3995 -q, --quiet, --silent
3996 do not print progress messages
3997 -d, --debug don't remove temporary files
3998 --recheck update $as_me by reconfiguring in the same conditions
3999 --file=FILE[:TEMPLATE]
4000 instantiate the configuration file FILE
4001 --header=FILE[:TEMPLATE]
4002 instantiate the configuration header FILE
4004 Configuration files:
4007 Configuration headers:
4010 Configuration commands:
4013 Report bugs to <bug-automake@gnu.org>."
4016 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4017 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4019 ctdlsh config.status 1.0
4020 configured by $0, generated by GNU Autoconf 2.68,
4021 with options \\"\$ac_cs_config\\"
4023 Copyright (C) 2010 Free Software Foundation, Inc.
4024 This config.status script is free software; the Free Software Foundation
4025 gives unlimited permission to copy, distribute and modify it."
4032 test -n "\$AWK" || AWK=awk
4035 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4036 # The default lists apply if the user does not specify any file.
4042 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4043 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4047 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4059 # Handling of the options.
4060 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4062 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4063 $as_echo "$ac_cs_version"; exit ;;
4064 --config | --confi | --conf | --con | --co | --c )
4065 $as_echo "$ac_cs_config"; exit ;;
4066 --debug | --debu | --deb | --de | --d | -d )
4068 --file | --fil | --fi | --f )
4071 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4072 '') as_fn_error $? "missing file argument" ;;
4074 as_fn_append CONFIG_FILES " '$ac_optarg'"
4075 ac_need_defaults=false;;
4076 --header | --heade | --head | --hea )
4079 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4081 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
4082 ac_need_defaults=false;;
4084 # Conflict between --help and --header
4085 as_fn_error $? "ambiguous option: \`$1'
4086 Try \`$0 --help' for more information.";;
4087 --help | --hel | -h )
4088 $as_echo "$ac_cs_usage"; exit ;;
4089 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4090 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4094 -*) as_fn_error $? "unrecognized option: \`$1'
4095 Try \`$0 --help' for more information." ;;
4097 *) as_fn_append ac_config_targets " $1"
4098 ac_need_defaults=false ;;
4104 ac_configure_extra_args=
4106 if $ac_cs_silent; then
4108 ac_configure_extra_args="$ac_configure_extra_args --silent"
4112 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4113 if \$ac_cs_recheck; then
4114 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4116 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4117 CONFIG_SHELL='$SHELL'
4123 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4127 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4128 ## Running $as_me. ##
4134 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4138 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
4142 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4144 # Handling of arguments.
4145 for ac_config_target in $ac_config_targets
4147 case $ac_config_target in
4148 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
4149 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
4150 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4151 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
4153 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4158 # If the user did not use the arguments to specify the items to instantiate,
4159 # then the envvar interface is used. Set only those that are not.
4160 # We use the long form for the default assignment because of an extremely
4161 # bizarre bug on SunOS 4.1.3.
4162 if $ac_need_defaults; then
4163 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4164 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
4165 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4168 # Have a temporary directory for convenience. Make it in the build tree
4169 # simply because there is no reason against having it here, and in addition,
4170 # creating and moving files from /tmp can sometimes cause problems.
4171 # Hook for its removal unless debugging.
4172 # Note that there is a small window in which the directory will not be cleaned:
4173 # after its creation but before its name has been assigned to `$tmp'.
4177 trap 'exit_status=$?
4179 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
4181 trap 'as_fn_exit 1' 1 2 13 15
4183 # Create a (secure) tmp directory for tmp files.
4186 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4190 tmp=./conf$$-$RANDOM
4191 (umask 077 && mkdir "$tmp")
4192 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
4195 # Set up the scripts for CONFIG_FILES section.
4196 # No need to generate them if there are no CONFIG_FILES.
4197 # This happens for instance with `./config.status config.h'.
4198 if test -n "$CONFIG_FILES"; then
4201 ac_cr=`echo X | tr X '\015'`
4202 # On cygwin, bash can eat \r inside `` if the user requested igncr.
4203 # But we know of no other shell where ac_cr would be empty at this
4204 # point, so we can use a bashism as a fallback.
4205 if test "x$ac_cr" = x; then
4206 eval ac_cr=\$\'\\r\'
4208 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4209 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4215 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
4220 echo "cat >conf$$subs.awk <<_ACEOF" &&
4221 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4224 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4225 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
4227 for ac_last_try in false false false false false :; do
4228 . ./conf$$subs.sh ||
4229 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4231 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
4232 if test $ac_delim_n = $ac_delim_num; then
4234 elif $ac_last_try; then
4235 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4237 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4242 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4243 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
4247 s/^/S["/; s/!.*/"]=/
4257 s/\(.\{148\}\)..*/\1/
4259 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4264 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4271 s/\(.\{148\}\)..*/\1/
4273 s/["\\]/\\&/g; s/^/"/; s/$/"/
4277 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4282 ' <conf$$subs.awk | sed '
4287 ' >>$CONFIG_STATUS || ac_write_fail=1
4288 rm -f conf$$subs.awk
4289 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4291 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
4292 for (key in S) S_is_set[key] = 1
4298 nfields = split(line, field, "@")
4300 len = length(field[1])
4301 for (i = 2; i < nfields; i++) {
4303 keylen = length(key)
4304 if (S_is_set[key]) {
4306 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4307 len += length(value) + length(field[++i])
4318 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4319 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4320 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4323 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
4324 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
4327 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
4328 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
4329 # trailing colons and then remove the whole line if VPATH becomes empty
4330 # (actually we leave an empty line to preserve line numbers).
4331 if test "x$srcdir" = x.; then
4332 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
4350 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4351 fi # test -n "$CONFIG_FILES"
4353 # Set up the scripts for CONFIG_HEADERS section.
4354 # No need to generate them if there are no CONFIG_HEADERS.
4355 # This happens for instance with `./config.status Makefile'.
4356 if test -n "$CONFIG_HEADERS"; then
4357 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
4361 # Transform confdefs.h into an awk script `defines.awk', embedded as
4362 # here-document in config.status, that substitutes the proper values into
4363 # config.h.in to produce config.h.
4365 # Create a delimiter string that does not exist in confdefs.h, to ease
4366 # handling of long lines.
4368 for ac_last_try in false false :; do
4369 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
4370 if test -z "$ac_tt"; then
4372 elif $ac_last_try; then
4373 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
4375 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4379 # For the awk script, D is an array of macro values keyed by name,
4380 # likewise P contains macro parameters if any. Preserve backslash
4381 # newline sequences.
4383 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
4385 s/.\{148\}/&'"$ac_delim"'/g
4388 s/^[ ]*#[ ]*define[ ][ ]*/ /
4395 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
4397 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
4401 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
4402 D["\1"]=" \3\\\\\\n"\\/p
4404 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
4409 s/.\{148\}/&'"$ac_delim"'/g
4414 s/["\\]/\\&/g; s/^/"/; s/$/"/p
4417 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
4419 ' <confdefs.h | sed '
4420 s/'"$ac_delim"'/"\\\
4421 "/g' >>$CONFIG_STATUS || ac_write_fail=1
4423 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4424 for (key in D) D_is_set[key] = 1
4427 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
4429 split(line, arg, " ")
4430 if (arg[1] == "#") {
4434 defundef = substr(arg[1], 2)
4437 split(mac1, mac2, "(") #)
4439 prefix = substr(line, 1, index(line, defundef) - 1)
4440 if (D_is_set[macro]) {
4441 # Preserve the white space surrounding the "#".
4442 print prefix "define", macro P[macro] D[macro]
4445 # Replace #undef with comments. This is necessary, for example,
4446 # in the case of _POSIX_SOURCE, which is predefined and required
4447 # on some systems where configure will not decide to define it.
4448 if (defundef == "undef") {
4449 print "/*", prefix defundef, macro, "*/"
4457 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4458 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
4459 fi # test -n "$CONFIG_HEADERS"
4462 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
4467 :[FHLC]) ac_mode=$ac_tag; continue;;
4469 case $ac_mode$ac_tag in
4471 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
4472 :[FH]-) ac_tag=-:-;;
4473 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4490 -) ac_f="$ac_tmp/stdin";;
4491 *) # Look for the file first in the build tree, then in the source tree
4492 # (if the path is not absolute). The absolute path cannot be DOS-style,
4493 # because $ac_f cannot contain `:'.
4497 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4499 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4501 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4502 as_fn_append ac_file_inputs " '$ac_f'"
4505 # Let's still pretend it is `configure' which instantiates (i.e., don't
4506 # use $as_me), people would be surprised to read:
4507 # /* config.h. Generated by config.status. */
4508 configure_input='Generated from '`
4509 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4511 if test x"$ac_file" != x-; then
4512 configure_input="$ac_file. $configure_input"
4513 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
4514 $as_echo "$as_me: creating $ac_file" >&6;}
4516 # Neutralize special characters interpreted by sed in replacement strings.
4517 case $configure_input in #(
4518 *\&* | *\|* | *\\* )
4519 ac_sed_conf_input=`$as_echo "$configure_input" |
4520 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4521 *) ac_sed_conf_input=$configure_input;;
4525 *:-:* | *:-) cat >"$ac_tmp/stdin" \
4526 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
4531 ac_dir=`$as_dirname -- "$ac_file" ||
4532 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4533 X"$ac_file" : 'X\(//\)[^/]' \| \
4534 X"$ac_file" : 'X\(//\)$' \| \
4535 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4536 $as_echo X"$ac_file" |
4537 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4554 as_dir="$ac_dir"; as_fn_mkdir_p
4558 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4560 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4561 # A ".." for each directory in $ac_dir_suffix.
4562 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4563 case $ac_top_builddir_sub in
4564 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4565 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4568 ac_abs_top_builddir=$ac_pwd
4569 ac_abs_builddir=$ac_pwd$ac_dir_suffix
4570 # for backward compatibility:
4571 ac_top_builddir=$ac_top_build_prefix
4574 .) # We are building in place.
4576 ac_top_srcdir=$ac_top_builddir_sub
4577 ac_abs_top_srcdir=$ac_pwd ;;
4578 [\\/]* | ?:[\\/]* ) # Absolute name.
4579 ac_srcdir=$srcdir$ac_dir_suffix;
4580 ac_top_srcdir=$srcdir
4581 ac_abs_top_srcdir=$srcdir ;;
4583 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4584 ac_top_srcdir=$ac_top_build_prefix$srcdir
4585 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4587 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4597 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4598 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
4602 [\\/$]* | ?:[\\/]* ) ;;
4603 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
4607 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4608 # If the template does not know about datarootdir, expand it.
4609 # FIXME: This hack should be removed a few years after 2.60.
4610 ac_datarootdir_hack=; ac_datarootdir_seen=
4621 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
4622 *datarootdir*) ac_datarootdir_seen=yes;;
4623 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4624 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4625 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4627 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4628 ac_datarootdir_hack='
4629 s&@datadir@&$datadir&g
4630 s&@docdir@&$docdir&g
4631 s&@infodir@&$infodir&g
4632 s&@localedir@&$localedir&g
4633 s&@mandir@&$mandir&g
4634 s&\\\${datarootdir}&$datarootdir&g' ;;
4638 # Neutralize VPATH when `$srcdir' = `.'.
4639 # Shell code in configure.ac might set extrasub.
4640 # FIXME: do we really want to maintain this feature?
4641 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4642 ac_sed_extra="$ac_vpsub
4645 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4647 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4648 s|@configure_input@|$ac_sed_conf_input|;t t
4649 s&@top_builddir@&$ac_top_builddir_sub&;t t
4650 s&@top_build_prefix@&$ac_top_build_prefix&;t t
4651 s&@srcdir@&$ac_srcdir&;t t
4652 s&@abs_srcdir@&$ac_abs_srcdir&;t t
4653 s&@top_srcdir@&$ac_top_srcdir&;t t
4654 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4655 s&@builddir@&$ac_builddir&;t t
4656 s&@abs_builddir@&$ac_abs_builddir&;t t
4657 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4658 s&@INSTALL@&$ac_INSTALL&;t t
4659 s&@MKDIR_P@&$ac_MKDIR_P&;t t
4660 $ac_datarootdir_hack
4662 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
4663 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4665 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4666 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
4667 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
4668 "$ac_tmp/out"`; test -z "$ac_out"; } &&
4669 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4670 which seems to be undefined. Please make sure it is defined" >&5
4671 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4672 which seems to be undefined. Please make sure it is defined" >&2;}
4674 rm -f "$ac_tmp/stdin"
4676 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
4677 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
4679 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4685 if test x"$ac_file" != x-; then
4687 $as_echo "/* $configure_input */" \
4688 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
4689 } >"$ac_tmp/config.h" \
4690 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4691 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
4692 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
4693 $as_echo "$as_me: $ac_file is unchanged" >&6;}
4696 mv "$ac_tmp/config.h" "$ac_file" \
4697 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4700 $as_echo "/* $configure_input */" \
4701 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
4702 || as_fn_error $? "could not create -" "$LINENO" 5
4704 # Compute "$ac_file"'s index in $config_headers.
4707 for _am_header in $config_headers :; do
4709 $_am_arg | $_am_arg:* )
4712 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
4715 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
4716 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4717 X"$_am_arg" : 'X\(//\)[^/]' \| \
4718 X"$_am_arg" : 'X\(//\)$' \| \
4719 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
4720 $as_echo X"$_am_arg" |
4721 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4737 s/.*/./; q'`/stamp-h$_am_stamp_count
4740 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
4741 $as_echo "$as_me: executing $ac_file commands" >&6;}
4746 case $ac_file$ac_mode in
4747 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
4748 # Autoconf 2.62 quotes --file arguments for eval, but not when files
4749 # are listed without --file. Let's play safe and only enable the eval
4750 # if we detect the quoting.
4751 case $CONFIG_FILES in
4752 *\'*) eval set x "$CONFIG_FILES" ;;
4753 *) set x $CONFIG_FILES ;;
4758 # Strip MF so we end up with the name of the file.
4759 mf=`echo "$mf" | sed -e 's/:.*$//'`
4760 # Check whether this is an Automake generated Makefile or not.
4761 # We used to match only the files named `Makefile.in', but
4762 # some people rename them; so instead we look at the file content.
4763 # Grep'ing the first line is not enough: some people post-process
4764 # each Makefile.in and add a new line on top of each file to say so.
4765 # Grep'ing the whole file is not good either: AIX grep has a line
4766 # limit of 2048, but all sed's we know have understand at least 4000.
4767 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
4768 dirpart=`$as_dirname -- "$mf" ||
4769 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4770 X"$mf" : 'X\(//\)[^/]' \| \
4771 X"$mf" : 'X\(//\)$' \| \
4772 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
4774 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4794 # Extract the definition of DEPDIR, am__include, and am__quote
4795 # from the Makefile without running `make'.
4796 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
4797 test -z "$DEPDIR" && continue
4798 am__include=`sed -n 's/^am__include = //p' < "$mf"`
4799 test -z "am__include" && continue
4800 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
4801 # When using ansi2knr, U may be empty or an underscore; expand it
4802 U=`sed -n 's/^U = //p' < "$mf"`
4803 # Find all dependency output files, they are included files with
4804 # $(DEPDIR) in their names. We invoke sed twice because it is the
4805 # simplest approach to changing $(DEPDIR) to its actual value in the
4807 for file in `sed -n "
4808 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
4809 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
4810 # Make sure the directory exists.
4811 test -f "$dirpart/$file" && continue
4812 fdir=`$as_dirname -- "$file" ||
4813 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4814 X"$file" : 'X\(//\)[^/]' \| \
4815 X"$file" : 'X\(//\)$' \| \
4816 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
4818 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4835 as_dir=$dirpart/$fdir; as_fn_mkdir_p
4836 # echo "creating $dirpart/$file"
4837 echo '# dummy' > "$dirpart/$file"
4849 ac_clean_files=$ac_clean_files_save
4851 test $ac_write_fail = 0 ||
4852 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
4855 # configure is writing to config.log, and then calls config.status.
4856 # config.status does its own redirection, appending to config.log.
4857 # Unfortunately, on DOS this fails, as config.log is still kept open
4858 # by configure, so config.status won't be able to write to it; its
4859 # output is simply discarded. So we exec the FD to /dev/null,
4860 # effectively closing config.log, so it can be properly (re)opened and
4861 # appended to by config.status. When coming back to configure, we
4862 # need to make the FD available again.
4863 if test "$no_create" != yes; then
4865 ac_config_status_args=
4866 test "$silent" = yes &&
4867 ac_config_status_args="$ac_config_status_args --quiet"
4869 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4871 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4872 # would make configure fail if this is the last instruction.
4873 $ac_cs_success || as_fn_exit 1
4875 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
4876 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4877 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}