2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.67 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.
95 *[\\/]* ) as_myself=$0 ;;
96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100 test -z "$as_dir" && as_dir=.
101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107 # We did not find ourselves, most probably we were run as `sh COMMAND'
108 # in which case we are not to be found in the path.
109 if test "x$as_myself" = x; then
112 if test ! -f "$as_myself"; then
113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 # Unset variables that we do not need and which cause bugs (e.g. in
118 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
119 # suppresses any "Segmentation fault" message there. '((' could
120 # trigger a bug in pdksh 5.2.14.
121 for as_var in BASH_ENV ENV MAIL MAILPATH
122 do eval test x\${$as_var+set} = xset \
123 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
136 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138 if test "x$CONFIG_SHELL" = x; then
139 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
142 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
143 # is contrary to our usage. Disable this feature.
144 alias -g '\${1+\"\$@\"}'='\"\$@\"'
147 case \`(set -o) 2>/dev/null\` in #(
155 as_required="as_fn_return () { (exit \$1); }
156 as_fn_success () { as_fn_return 0; }
157 as_fn_failure () { as_fn_return 1; }
158 as_fn_ret_success () { return 0; }
159 as_fn_ret_failure () { return 1; }
162 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
169 exitcode=1; echo positional parameters were not saved.
171 test x\$exitcode = x0 || exit 1"
172 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
173 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
174 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
176 if (eval "$as_required") 2>/dev/null; then :
181 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
186 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
189 test -z "$as_dir" && as_dir=.
193 for as_base in sh bash ksh sh5; do
194 # Try only shells that exist, to save several forks.
195 as_shell=$as_dir/$as_base
196 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
197 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
198 CONFIG_SHELL=$as_shell as_have_required=yes
199 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
207 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
208 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
209 CONFIG_SHELL=$SHELL as_have_required=yes
214 if test "x$CONFIG_SHELL" != x; then :
215 # We cannot yet assume a decent shell, so we have to provide a
216 # neutralization value for shells without unset; and this also
217 # works around shells that cannot unset nonexistent variables.
220 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
222 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
225 if test x$as_have_required = xno; then :
226 $as_echo "$0: This script requires a shell more modern than all"
227 $as_echo "$0: the shells that I found on your system."
228 if test x${ZSH_VERSION+set} = xset ; then
229 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
230 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
232 $as_echo "$0: Please tell bug-autoconf@gnu.org and
233 $0: bug-automake@gnu.org about your system, including any
234 $0: error possibly output before this message. Then install
235 $0: a modern shell, or manually run the script under such a
236 $0: shell if you do have one."
242 SHELL=${CONFIG_SHELL-/bin/sh}
244 # Unset more variables known to interfere with behavior of common tools.
245 CLICOLOR_FORCE= GREP_OPTIONS=
246 unset CLICOLOR_FORCE GREP_OPTIONS
248 ## --------------------- ##
249 ## M4sh Shell Functions. ##
250 ## --------------------- ##
253 # Portably unset VAR.
256 { eval $1=; unset $1;}
260 # as_fn_set_status STATUS
261 # -----------------------
262 # Set $? to STATUS, without forking.
270 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
280 # Create "$as_dir" as a directory, including parents if necessary.
285 -*) as_dir=./$as_dir;;
287 test -d "$as_dir" || eval $as_mkdir_p || {
291 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
294 as_dirs="'$as_qdir' $as_dirs"
295 as_dir=`$as_dirname -- "$as_dir" ||
296 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
297 X"$as_dir" : 'X\(//\)[^/]' \| \
298 X"$as_dir" : 'X\(//\)$' \| \
299 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
300 $as_echo X"$as_dir" |
301 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
318 test -d "$as_dir" && break
320 test -z "$as_dirs" || eval "mkdir $as_dirs"
321 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
325 # as_fn_append VAR VALUE
326 # ----------------------
327 # Append the text in VALUE to the end of the definition contained in VAR. Take
328 # advantage of any shell optimizations that allow amortized linear growth over
329 # repeated appends, instead of the typical quadratic growth present in naive
331 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
332 eval 'as_fn_append ()
345 # Perform arithmetic evaluation on the ARGs, and store the result in the
346 # global $as_val. Take advantage of shells that can avoid forks. The arguments
347 # must be portable across $(()) and expr.
348 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
356 as_val=`expr "$@" || test $? -eq 1`
361 # as_fn_error STATUS ERROR [LINENO LOG_FD]
362 # ----------------------------------------
363 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
364 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
365 # script with STATUS, using 1 if that was 0.
368 as_status=$1; test $as_status -eq 0 && as_status=1
370 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
371 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
373 $as_echo "$as_me: error: $2" >&2
374 as_fn_exit $as_status
377 if expr a : '\(a\)' >/dev/null 2>&1 &&
378 test "X`expr 00001 : '.*\(...\)'`" = X001; then
384 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
390 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
396 as_me=`$as_basename -- "$0" ||
397 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
398 X"$0" : 'X\(//\)$' \| \
399 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
401 sed '/^.*\/\([^/][^/]*\)\/*$/{
415 # Avoid depending upon Character Ranges.
416 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
417 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
418 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
419 as_cr_digits='0123456789'
420 as_cr_alnum=$as_cr_Letters$as_cr_digits
423 as_lineno_1=$LINENO as_lineno_1a=$LINENO
424 as_lineno_2=$LINENO as_lineno_2a=$LINENO
425 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
426 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
427 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
439 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
443 chmod +x "$as_me.lineno" ||
444 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
446 # Don't try to exec as it changes $[0], causing all sort of problems
447 # (the dirname of $[0] is not the place where we might find the
448 # original and so on. Autoconf is especially sensitive to this).
450 # Exit status is that of the last command.
454 ECHO_C= ECHO_N= ECHO_T=
455 case `echo -n x` in #(((((
457 case `echo 'xy\c'` in
458 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
460 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
467 rm -f conf$$ conf$$.exe conf$$.file
468 if test -d conf$$.dir; then
469 rm -f conf$$.dir/conf$$.file
472 mkdir conf$$.dir 2>/dev/null
474 if (echo >conf$$.file) 2>/dev/null; then
475 if ln -s conf$$.file conf$$ 2>/dev/null; then
477 # ... but there are two gotchas:
478 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
479 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
480 # In both cases, we have to default to `cp -p'.
481 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
483 elif ln conf$$.file conf$$ 2>/dev/null; then
491 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
492 rmdir conf$$.dir 2>/dev/null
494 if mkdir -p . 2>/dev/null; then
495 as_mkdir_p='mkdir -p "$as_dir"'
497 test -d ./-p && rmdir ./-p
501 if test -x / >/dev/null 2>&1; then
504 if ls -dL / >/dev/null 2>&1; then
511 if test -d "$1"; then
517 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
518 ???[sx]*):;;*)false;;esac;fi
522 as_executable_p=$as_test_x
524 # Sed expression to map a string onto a valid CPP name.
525 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
527 # Sed expression to map a string onto a valid variable name.
528 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
531 test -n "$DJDIR" || exec 7<&0 </dev/null
535 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
536 # so uname gets run too.
537 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
542 ac_default_prefix=/usr/local
544 ac_config_libobj_dir=.
551 # Identity of this package.
552 PACKAGE_NAME='ctdlsh'
553 PACKAGE_TARNAME='ctdlsh'
554 PACKAGE_VERSION='1.0'
555 PACKAGE_STRING='ctdlsh 1.0'
556 PACKAGE_BUGREPORT='bug-automake@gnu.org'
559 ac_subst_vars='LTLIBOBJS
584 INSTALL_STRIP_PROGRAM
625 program_transform_name
638 enable_option_checking
639 enable_dependency_tracking
642 ac_precious_vars='build_alias
652 # Initialize some variables set by options.
654 ac_init_version=false
655 ac_unrecognized_opts=
657 # The variables have the same names as the options, with
658 # dashes changed to underlines.
666 program_transform_name=s,x,x,
674 # Installation directory options.
675 # These are left unexpanded so users can "make install exec_prefix=/foo"
676 # and all the variables that are supposed to be based on exec_prefix
677 # by default will actually change.
678 # Use braces instead of parens because sh, perl, etc. also accept them.
679 # (The list follows the same order as the GNU Coding Standards.)
680 bindir='${exec_prefix}/bin'
681 sbindir='${exec_prefix}/sbin'
682 libexecdir='${exec_prefix}/libexec'
683 datarootdir='${prefix}/share'
684 datadir='${datarootdir}'
685 sysconfdir='${prefix}/etc'
686 sharedstatedir='${prefix}/com'
687 localstatedir='${prefix}/var'
688 includedir='${prefix}/include'
689 oldincludedir='/usr/include'
690 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
691 infodir='${datarootdir}/info'
696 libdir='${exec_prefix}/lib'
697 localedir='${datarootdir}/locale'
698 mandir='${datarootdir}/man'
704 # If the previous option needs an argument, assign it.
705 if test -n "$ac_prev"; then
706 eval $ac_prev=\$ac_option
712 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
717 # Accept the important Cygnus configure options, so we can diagnose typos.
719 case $ac_dashdash$ac_option in
723 -bindir | --bindir | --bindi | --bind | --bin | --bi)
725 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
728 -build | --build | --buil | --bui | --bu)
729 ac_prev=build_alias ;;
730 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
731 build_alias=$ac_optarg ;;
733 -cache-file | --cache-file | --cache-fil | --cache-fi \
734 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
735 ac_prev=cache_file ;;
736 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
737 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
738 cache_file=$ac_optarg ;;
741 cache_file=config.cache ;;
743 -datadir | --datadir | --datadi | --datad)
745 -datadir=* | --datadir=* | --datadi=* | --datad=*)
746 datadir=$ac_optarg ;;
748 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
749 | --dataroo | --dataro | --datar)
750 ac_prev=datarootdir ;;
751 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
752 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
753 datarootdir=$ac_optarg ;;
755 -disable-* | --disable-*)
756 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
757 # Reject names that are not valid shell variable names.
758 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
759 as_fn_error $? "invalid feature name: $ac_useropt"
760 ac_useropt_orig=$ac_useropt
761 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
762 case $ac_user_opts in
766 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
767 ac_unrecognized_sep=', ';;
769 eval enable_$ac_useropt=no ;;
771 -docdir | --docdir | --docdi | --doc | --do)
773 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
776 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
778 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
781 -enable-* | --enable-*)
782 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
783 # Reject names that are not valid shell variable names.
784 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
785 as_fn_error $? "invalid feature name: $ac_useropt"
786 ac_useropt_orig=$ac_useropt
787 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
788 case $ac_user_opts in
792 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
793 ac_unrecognized_sep=', ';;
795 eval enable_$ac_useropt=\$ac_optarg ;;
797 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
798 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
799 | --exec | --exe | --ex)
800 ac_prev=exec_prefix ;;
801 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
802 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
803 | --exec=* | --exe=* | --ex=*)
804 exec_prefix=$ac_optarg ;;
806 -gas | --gas | --ga | --g)
807 # Obsolete; use --with-gas.
810 -help | --help | --hel | --he | -h)
812 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
813 ac_init_help=recursive ;;
814 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
815 ac_init_help=short ;;
817 -host | --host | --hos | --ho)
818 ac_prev=host_alias ;;
819 -host=* | --host=* | --hos=* | --ho=*)
820 host_alias=$ac_optarg ;;
822 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
824 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
826 htmldir=$ac_optarg ;;
828 -includedir | --includedir | --includedi | --included | --include \
829 | --includ | --inclu | --incl | --inc)
830 ac_prev=includedir ;;
831 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
832 | --includ=* | --inclu=* | --incl=* | --inc=*)
833 includedir=$ac_optarg ;;
835 -infodir | --infodir | --infodi | --infod | --info | --inf)
837 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
838 infodir=$ac_optarg ;;
840 -libdir | --libdir | --libdi | --libd)
842 -libdir=* | --libdir=* | --libdi=* | --libd=*)
845 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
846 | --libexe | --libex | --libe)
847 ac_prev=libexecdir ;;
848 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
849 | --libexe=* | --libex=* | --libe=*)
850 libexecdir=$ac_optarg ;;
852 -localedir | --localedir | --localedi | --localed | --locale)
854 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
855 localedir=$ac_optarg ;;
857 -localstatedir | --localstatedir | --localstatedi | --localstated \
858 | --localstate | --localstat | --localsta | --localst | --locals)
859 ac_prev=localstatedir ;;
860 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
861 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
862 localstatedir=$ac_optarg ;;
864 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
866 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
870 # Obsolete; use --without-fp.
873 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
874 | --no-cr | --no-c | -n)
877 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
878 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
881 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
882 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
883 | --oldin | --oldi | --old | --ol | --o)
884 ac_prev=oldincludedir ;;
885 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
886 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
887 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
888 oldincludedir=$ac_optarg ;;
890 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
892 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
895 -program-prefix | --program-prefix | --program-prefi | --program-pref \
896 | --program-pre | --program-pr | --program-p)
897 ac_prev=program_prefix ;;
898 -program-prefix=* | --program-prefix=* | --program-prefi=* \
899 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
900 program_prefix=$ac_optarg ;;
902 -program-suffix | --program-suffix | --program-suffi | --program-suff \
903 | --program-suf | --program-su | --program-s)
904 ac_prev=program_suffix ;;
905 -program-suffix=* | --program-suffix=* | --program-suffi=* \
906 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
907 program_suffix=$ac_optarg ;;
909 -program-transform-name | --program-transform-name \
910 | --program-transform-nam | --program-transform-na \
911 | --program-transform-n | --program-transform- \
912 | --program-transform | --program-transfor \
913 | --program-transfo | --program-transf \
914 | --program-trans | --program-tran \
915 | --progr-tra | --program-tr | --program-t)
916 ac_prev=program_transform_name ;;
917 -program-transform-name=* | --program-transform-name=* \
918 | --program-transform-nam=* | --program-transform-na=* \
919 | --program-transform-n=* | --program-transform-=* \
920 | --program-transform=* | --program-transfor=* \
921 | --program-transfo=* | --program-transf=* \
922 | --program-trans=* | --program-tran=* \
923 | --progr-tra=* | --program-tr=* | --program-t=*)
924 program_transform_name=$ac_optarg ;;
926 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
928 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
931 -psdir | --psdir | --psdi | --psd | --ps)
933 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
936 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
937 | -silent | --silent | --silen | --sile | --sil)
940 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
942 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
944 sbindir=$ac_optarg ;;
946 -sharedstatedir | --sharedstatedir | --sharedstatedi \
947 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
948 | --sharedst | --shareds | --shared | --share | --shar \
950 ac_prev=sharedstatedir ;;
951 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
952 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
953 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
955 sharedstatedir=$ac_optarg ;;
957 -site | --site | --sit)
959 -site=* | --site=* | --sit=*)
962 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
964 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
967 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
968 | --syscon | --sysco | --sysc | --sys | --sy)
969 ac_prev=sysconfdir ;;
970 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
971 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
972 sysconfdir=$ac_optarg ;;
974 -target | --target | --targe | --targ | --tar | --ta | --t)
975 ac_prev=target_alias ;;
976 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
977 target_alias=$ac_optarg ;;
979 -v | -verbose | --verbose | --verbos | --verbo | --verb)
982 -version | --version | --versio | --versi | --vers | -V)
986 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
987 # Reject names that are not valid shell variable names.
988 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
989 as_fn_error $? "invalid package name: $ac_useropt"
990 ac_useropt_orig=$ac_useropt
991 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
992 case $ac_user_opts in
996 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
997 ac_unrecognized_sep=', ';;
999 eval with_$ac_useropt=\$ac_optarg ;;
1001 -without-* | --without-*)
1002 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1003 # Reject names that are not valid shell variable names.
1004 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1005 as_fn_error $? "invalid package name: $ac_useropt"
1006 ac_useropt_orig=$ac_useropt
1007 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1008 case $ac_user_opts in
1012 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1013 ac_unrecognized_sep=', ';;
1015 eval with_$ac_useropt=no ;;
1018 # Obsolete; use --with-x.
1021 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1022 | --x-incl | --x-inc | --x-in | --x-i)
1023 ac_prev=x_includes ;;
1024 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1025 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1026 x_includes=$ac_optarg ;;
1028 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1029 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1030 ac_prev=x_libraries ;;
1031 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1032 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1033 x_libraries=$ac_optarg ;;
1035 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1036 Try \`$0 --help' for more information"
1040 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1041 # Reject names that are not valid shell variable names.
1042 case $ac_envvar in #(
1043 '' | [0-9]* | *[!_$as_cr_alnum]* )
1044 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1046 eval $ac_envvar=\$ac_optarg
1047 export $ac_envvar ;;
1050 # FIXME: should be removed in autoconf 3.0.
1051 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1052 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1053 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1054 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1060 if test -n "$ac_prev"; then
1061 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1062 as_fn_error $? "missing argument to $ac_option"
1065 if test -n "$ac_unrecognized_opts"; then
1066 case $enable_option_checking in
1068 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1069 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1073 # Check all directory arguments for consistency.
1074 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1075 datadir sysconfdir sharedstatedir localstatedir includedir \
1076 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1077 libdir localedir mandir
1079 eval ac_val=\$$ac_var
1080 # Remove trailing slashes.
1083 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1084 eval $ac_var=\$ac_val;;
1086 # Be sure to have absolute directory names.
1088 [\\/$]* | ?:[\\/]* ) continue;;
1089 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1091 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1094 # There might be people who depend on the old broken behavior: `$host'
1095 # used to hold the argument of --host etc.
1096 # FIXME: To remove some day.
1099 target=$target_alias
1101 # FIXME: To remove some day.
1102 if test "x$host_alias" != x; then
1103 if test "x$build_alias" = x; then
1104 cross_compiling=maybe
1105 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1106 If a cross compiler is detected then cross compile mode will be used" >&2
1107 elif test "x$build_alias" != "x$host_alias"; then
1113 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1115 test "$silent" = yes && exec 6>/dev/null
1118 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1119 ac_ls_di=`ls -di .` &&
1120 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1121 as_fn_error $? "working directory cannot be determined"
1122 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1123 as_fn_error $? "pwd does not report name of working directory"
1126 # Find the source files, if location was not specified.
1127 if test -z "$srcdir"; then
1128 ac_srcdir_defaulted=yes
1129 # Try the directory containing this script, then the parent directory.
1130 ac_confdir=`$as_dirname -- "$as_myself" ||
1131 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1132 X"$as_myself" : 'X\(//\)[^/]' \| \
1133 X"$as_myself" : 'X\(//\)$' \| \
1134 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1135 $as_echo X"$as_myself" |
1136 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1154 if test ! -r "$srcdir/$ac_unique_file"; then
1158 ac_srcdir_defaulted=no
1160 if test ! -r "$srcdir/$ac_unique_file"; then
1161 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1162 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1164 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1166 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1168 # When building in place, set srcdir=.
1169 if test "$ac_abs_confdir" = "$ac_pwd"; then
1172 # Remove unnecessary trailing slashes from srcdir.
1173 # Double slashes in file names in object file debugging info
1174 # mess up M-x gdb in Emacs.
1176 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1178 for ac_var in $ac_precious_vars; do
1179 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1180 eval ac_env_${ac_var}_value=\$${ac_var}
1181 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1182 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1186 # Report the --help message.
1188 if test "$ac_init_help" = "long"; then
1189 # Omit some internal or obsolete options to make the list less imposing.
1190 # This message is too long to be a string in the A/UX 3.1 sh.
1192 \`configure' configures ctdlsh 1.0 to adapt to many kinds of systems.
1194 Usage: $0 [OPTION]... [VAR=VALUE]...
1196 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1197 VAR=VALUE. See below for descriptions of some of the useful variables.
1199 Defaults for the options are specified in brackets.
1202 -h, --help display this help and exit
1203 --help=short display options specific to this package
1204 --help=recursive display the short help of all the included packages
1205 -V, --version display version information and exit
1206 -q, --quiet, --silent do not print \`checking ...' messages
1207 --cache-file=FILE cache test results in FILE [disabled]
1208 -C, --config-cache alias for \`--cache-file=config.cache'
1209 -n, --no-create do not create output files
1210 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1212 Installation directories:
1213 --prefix=PREFIX install architecture-independent files in PREFIX
1214 [$ac_default_prefix]
1215 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1218 By default, \`make install' will install all the files in
1219 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1220 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1221 for instance \`--prefix=\$HOME'.
1223 For better control, use the options below.
1225 Fine tuning of the installation directories:
1226 --bindir=DIR user executables [EPREFIX/bin]
1227 --sbindir=DIR system admin executables [EPREFIX/sbin]
1228 --libexecdir=DIR program executables [EPREFIX/libexec]
1229 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1230 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1231 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1232 --libdir=DIR object code libraries [EPREFIX/lib]
1233 --includedir=DIR C header files [PREFIX/include]
1234 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1235 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1236 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1237 --infodir=DIR info documentation [DATAROOTDIR/info]
1238 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1239 --mandir=DIR man documentation [DATAROOTDIR/man]
1240 --docdir=DIR documentation root [DATAROOTDIR/doc/ctdlsh]
1241 --htmldir=DIR html documentation [DOCDIR]
1242 --dvidir=DIR dvi documentation [DOCDIR]
1243 --pdfdir=DIR pdf documentation [DOCDIR]
1244 --psdir=DIR ps documentation [DOCDIR]
1250 --program-prefix=PREFIX prepend PREFIX to installed program names
1251 --program-suffix=SUFFIX append SUFFIX to installed program names
1252 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1256 if test -n "$ac_init_help"; then
1257 case $ac_init_help in
1258 short | recursive ) echo "Configuration of ctdlsh 1.0:";;
1263 --disable-option-checking ignore unrecognized --enable/--with options
1264 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1265 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1266 --disable-dependency-tracking speeds up one-time build
1267 --enable-dependency-tracking do not reject slow dependency extractors
1270 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1271 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1272 --with-readline=prefix try this for a non-standard install prefix of the
1275 Some influential environment variables:
1276 CC C compiler command
1277 CFLAGS C compiler flags
1278 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1279 nonstandard directory <lib dir>
1280 LIBS libraries to pass to the linker, e.g. -l<library>
1281 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1282 you have headers in a nonstandard directory <include dir>
1284 Use these variables to override the choices made by `configure' or to help
1285 it to find libraries and programs with nonstandard names/locations.
1287 Report bugs to <bug-automake@gnu.org>.
1292 if test "$ac_init_help" = "recursive"; then
1293 # If there are subdirs, report their specific --help.
1294 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1295 test -d "$ac_dir" ||
1296 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1301 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1303 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1304 # A ".." for each directory in $ac_dir_suffix.
1305 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1306 case $ac_top_builddir_sub in
1307 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1308 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1311 ac_abs_top_builddir=$ac_pwd
1312 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1313 # for backward compatibility:
1314 ac_top_builddir=$ac_top_build_prefix
1317 .) # We are building in place.
1319 ac_top_srcdir=$ac_top_builddir_sub
1320 ac_abs_top_srcdir=$ac_pwd ;;
1321 [\\/]* | ?:[\\/]* ) # Absolute name.
1322 ac_srcdir=$srcdir$ac_dir_suffix;
1323 ac_top_srcdir=$srcdir
1324 ac_abs_top_srcdir=$srcdir ;;
1326 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1327 ac_top_srcdir=$ac_top_build_prefix$srcdir
1328 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1330 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1332 cd "$ac_dir" || { ac_status=$?; continue; }
1333 # Check for guested configure.
1334 if test -f "$ac_srcdir/configure.gnu"; then
1336 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1337 elif test -f "$ac_srcdir/configure"; then
1339 $SHELL "$ac_srcdir/configure" --help=recursive
1341 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1343 cd "$ac_pwd" || { ac_status=$?; break; }
1347 test -n "$ac_init_help" && exit $ac_status
1348 if $ac_init_version; then
1350 ctdlsh configure 1.0
1351 generated by GNU Autoconf 2.67
1353 Copyright (C) 2010 Free Software Foundation, Inc.
1354 This configure script is free software; the Free Software Foundation
1355 gives unlimited permission to copy, distribute and modify it.
1360 ## ------------------------ ##
1361 ## Autoconf initialization. ##
1362 ## ------------------------ ##
1364 # ac_fn_c_try_compile LINENO
1365 # --------------------------
1366 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1367 ac_fn_c_try_compile ()
1369 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1370 rm -f conftest.$ac_objext
1371 if { { ac_try="$ac_compile"
1373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1374 *) ac_try_echo=$ac_try;;
1376 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1377 $as_echo "$ac_try_echo"; } >&5
1378 (eval "$ac_compile") 2>conftest.err
1380 if test -s conftest.err; then
1381 grep -v '^ *+' conftest.err >conftest.er1
1382 cat conftest.er1 >&5
1383 mv -f conftest.er1 conftest.err
1385 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1386 test $ac_status = 0; } && {
1387 test -z "$ac_c_werror_flag" ||
1388 test ! -s conftest.err
1389 } && test -s conftest.$ac_objext; then :
1392 $as_echo "$as_me: failed program was:" >&5
1393 sed 's/^/| /' conftest.$ac_ext >&5
1397 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1398 as_fn_set_status $ac_retval
1400 } # ac_fn_c_try_compile
1402 # ac_fn_c_try_link LINENO
1403 # -----------------------
1404 # Try to link conftest.$ac_ext, and return whether this succeeded.
1407 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1408 rm -f conftest.$ac_objext conftest$ac_exeext
1409 if { { ac_try="$ac_link"
1411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1412 *) ac_try_echo=$ac_try;;
1414 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1415 $as_echo "$ac_try_echo"; } >&5
1416 (eval "$ac_link") 2>conftest.err
1418 if test -s conftest.err; then
1419 grep -v '^ *+' conftest.err >conftest.er1
1420 cat conftest.er1 >&5
1421 mv -f conftest.er1 conftest.err
1423 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1424 test $ac_status = 0; } && {
1425 test -z "$ac_c_werror_flag" ||
1426 test ! -s conftest.err
1427 } && test -s conftest$ac_exeext && {
1428 test "$cross_compiling" = yes ||
1429 $as_test_x conftest$ac_exeext
1433 $as_echo "$as_me: failed program was:" >&5
1434 sed 's/^/| /' conftest.$ac_ext >&5
1438 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1439 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1440 # interfere with the next link command; also delete a directory that is
1441 # left behind by Apple's compiler. We do this before executing the actions.
1442 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1443 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1444 as_fn_set_status $ac_retval
1446 } # ac_fn_c_try_link
1447 cat >config.log <<_ACEOF
1448 This file contains any messages produced by compilers while
1449 running configure, to aid debugging if configure makes a mistake.
1451 It was created by ctdlsh $as_me 1.0, which was
1452 generated by GNU Autoconf 2.67. Invocation command line was
1464 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1465 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1466 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1467 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1468 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1470 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1471 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1473 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1474 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1475 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1476 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1477 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1478 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1479 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1487 test -z "$as_dir" && as_dir=.
1488 $as_echo "PATH: $as_dir"
1504 # Keep a trace of the command line.
1505 # Strip out --no-create and --no-recursion so they do not pile up.
1506 # Strip out --silent because we don't want to record it for future runs.
1507 # Also quote any args containing shell meta-characters.
1508 # Make two passes to allow for proper duplicate-argument suppression.
1512 ac_must_keep_next=false
1518 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1519 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1520 | -silent | --silent | --silen | --sile | --sil)
1523 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1526 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1528 as_fn_append ac_configure_args1 " '$ac_arg'"
1529 if test $ac_must_keep_next = true; then
1530 ac_must_keep_next=false # Got value, back to normal.
1533 *=* | --config-cache | -C | -disable-* | --disable-* \
1534 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1535 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1536 | -with-* | --with-* | -without-* | --without-* | --x)
1537 case "$ac_configure_args0 " in
1538 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1541 -* ) ac_must_keep_next=true ;;
1544 as_fn_append ac_configure_args " '$ac_arg'"
1549 { ac_configure_args0=; unset ac_configure_args0;}
1550 { ac_configure_args1=; unset ac_configure_args1;}
1552 # When interrupted or exit'd, cleanup temporary files, and complete
1553 # config.log. We remove comments because anyway the quotes in there
1554 # would cause problems or look ugly.
1555 # WARNING: Use '\'' to represent an apostrophe within the trap.
1556 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1557 trap 'exit_status=$?
1558 # Save into config.log some information that might help in debugging.
1562 $as_echo "## ---------------- ##
1563 ## Cache variables. ##
1564 ## ---------------- ##"
1566 # The following way of writing the cache mishandles newlines in values,
1568 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1569 eval ac_val=\$$ac_var
1573 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1574 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1577 _ | IFS | as_nl) ;; #(
1578 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1579 *) { eval $ac_var=; unset $ac_var;} ;;
1584 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1585 *${as_nl}ac_space=\ *)
1587 "s/'\''/'\''\\\\'\'''\''/g;
1588 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1591 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1598 $as_echo "## ----------------- ##
1599 ## Output variables. ##
1600 ## ----------------- ##"
1602 for ac_var in $ac_subst_vars
1604 eval ac_val=\$$ac_var
1606 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1608 $as_echo "$ac_var='\''$ac_val'\''"
1612 if test -n "$ac_subst_files"; then
1613 $as_echo "## ------------------- ##
1614 ## File substitutions. ##
1615 ## ------------------- ##"
1617 for ac_var in $ac_subst_files
1619 eval ac_val=\$$ac_var
1621 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1623 $as_echo "$ac_var='\''$ac_val'\''"
1628 if test -s confdefs.h; then
1629 $as_echo "## ----------- ##
1636 test "$ac_signal" != 0 &&
1637 $as_echo "$as_me: caught signal $ac_signal"
1638 $as_echo "$as_me: exit $exit_status"
1640 rm -f core *.core core.conftest.* &&
1641 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1644 for ac_signal in 1 2 13 15; do
1645 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1649 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1650 rm -f -r conftest* confdefs.h
1652 $as_echo "/* confdefs.h */" > confdefs.h
1654 # Predefined preprocessor variables.
1656 cat >>confdefs.h <<_ACEOF
1657 #define PACKAGE_NAME "$PACKAGE_NAME"
1660 cat >>confdefs.h <<_ACEOF
1661 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1664 cat >>confdefs.h <<_ACEOF
1665 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1668 cat >>confdefs.h <<_ACEOF
1669 #define PACKAGE_STRING "$PACKAGE_STRING"
1672 cat >>confdefs.h <<_ACEOF
1673 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1676 cat >>confdefs.h <<_ACEOF
1677 #define PACKAGE_URL "$PACKAGE_URL"
1681 # Let the site file select an alternate cache file if it wants to.
1682 # Prefer an explicitly selected file to automatically selected ones.
1685 if test -n "$CONFIG_SITE"; then
1686 # We do not want a PATH search for config.site.
1687 case $CONFIG_SITE in #((
1688 -*) ac_site_file1=./$CONFIG_SITE;;
1689 */*) ac_site_file1=$CONFIG_SITE;;
1690 *) ac_site_file1=./$CONFIG_SITE;;
1692 elif test "x$prefix" != xNONE; then
1693 ac_site_file1=$prefix/share/config.site
1694 ac_site_file2=$prefix/etc/config.site
1696 ac_site_file1=$ac_default_prefix/share/config.site
1697 ac_site_file2=$ac_default_prefix/etc/config.site
1699 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1701 test "x$ac_site_file" = xNONE && continue
1702 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1703 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1704 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1705 sed 's/^/| /' "$ac_site_file" >&5
1707 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1708 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1709 as_fn_error $? "failed to load site script $ac_site_file
1710 See \`config.log' for more details" "$LINENO" 5 ; }
1714 if test -r "$cache_file"; then
1715 # Some versions of bash will fail to source /dev/null (special files
1716 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1717 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1718 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1719 $as_echo "$as_me: loading cache $cache_file" >&6;}
1721 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1722 *) . "./$cache_file";;
1726 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1727 $as_echo "$as_me: creating cache $cache_file" >&6;}
1731 # Check that the precious variables saved in the cache have kept the same
1733 ac_cache_corrupted=false
1734 for ac_var in $ac_precious_vars; do
1735 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1736 eval ac_new_set=\$ac_env_${ac_var}_set
1737 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1738 eval ac_new_val=\$ac_env_${ac_var}_value
1739 case $ac_old_set,$ac_new_set in
1741 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1742 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1743 ac_cache_corrupted=: ;;
1745 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1746 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1747 ac_cache_corrupted=: ;;
1750 if test "x$ac_old_val" != "x$ac_new_val"; then
1751 # differences in whitespace do not lead to failure.
1752 ac_old_val_w=`echo x $ac_old_val`
1753 ac_new_val_w=`echo x $ac_new_val`
1754 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1755 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1756 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1757 ac_cache_corrupted=:
1759 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1760 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1761 eval $ac_var=\$ac_old_val
1763 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1764 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1765 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1766 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1769 # Pass precious variables to config.status.
1770 if test "$ac_new_set" = set; then
1772 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1773 *) ac_arg=$ac_var=$ac_new_val ;;
1775 case " $ac_configure_args " in
1776 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1777 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1781 if $ac_cache_corrupted; then
1782 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1783 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1784 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1785 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1786 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1788 ## -------------------- ##
1789 ## Main body of script. ##
1790 ## -------------------- ##
1793 ac_cpp='$CPP $CPPFLAGS'
1794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1799 am__api_version="1.9"
1801 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1802 if test -f "$ac_dir/install-sh"; then
1804 ac_install_sh="$ac_aux_dir/install-sh -c"
1806 elif test -f "$ac_dir/install.sh"; then
1808 ac_install_sh="$ac_aux_dir/install.sh -c"
1810 elif test -f "$ac_dir/shtool"; then
1812 ac_install_sh="$ac_aux_dir/shtool install -c"
1816 if test -z "$ac_aux_dir"; then
1817 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1820 # These three variables are undocumented and unsupported,
1821 # and are intended to be withdrawn in a future Autoconf release.
1822 # They can cause serious problems if a builder's source tree is in a directory
1823 # whose full name contains unusual characters.
1824 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1825 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1826 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1829 # Find a good install program. We prefer a C program (faster),
1830 # so one script is as good as another. But avoid the broken or
1831 # incompatible versions:
1832 # SysV /etc/install, /usr/sbin/install
1833 # SunOS /usr/etc/install
1834 # IRIX /sbin/install
1836 # AmigaOS /C/install, which installs bootblocks on floppy discs
1837 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1838 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1839 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1840 # OS/2's system install, which has a completely different semantic
1841 # ./install, which can be erroneously created by make from ./install.sh.
1842 # Reject install programs that cannot install multiple files.
1843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1844 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1845 if test -z "$INSTALL"; then
1846 if test "${ac_cv_path_install+set}" = set; then :
1847 $as_echo_n "(cached) " >&6
1849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1853 test -z "$as_dir" && as_dir=.
1854 # Account for people who put trailing slashes in PATH elements.
1855 case $as_dir/ in #((
1856 ./ | .// | /[cC]/* | \
1857 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1858 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1861 # OSF1 and SCO ODT 3.0 have their own names for install.
1862 # Don't use installbsd from OSF since it installs stuff as root
1864 for ac_prog in ginstall scoinst install; do
1865 for ac_exec_ext in '' $ac_executable_extensions; do
1866 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1867 if test $ac_prog = install &&
1868 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1869 # AIX install. It has an incompatible calling convention.
1871 elif test $ac_prog = install &&
1872 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1873 # program-specific install script used by HP pwplus--don't use.
1876 rm -rf conftest.one conftest.two conftest.dir
1877 echo one > conftest.one
1878 echo two > conftest.two
1880 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1881 test -s conftest.one && test -s conftest.two &&
1882 test -s conftest.dir/conftest.one &&
1883 test -s conftest.dir/conftest.two
1885 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1898 rm -rf conftest.one conftest.two conftest.dir
1901 if test "${ac_cv_path_install+set}" = set; then
1902 INSTALL=$ac_cv_path_install
1904 # As a last resort, use the slow shell script. Don't cache a
1905 # value for INSTALL within a source directory, because that will
1906 # break other packages using the cache if that directory is
1907 # removed, or if the value is a relative name.
1908 INSTALL=$ac_install_sh
1911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1912 $as_echo "$INSTALL" >&6; }
1914 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1915 # It thinks the first close brace ends the variable substitution.
1916 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1918 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1920 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
1923 $as_echo_n "checking whether build environment is sane... " >&6; }
1926 echo timestamp > conftest.file
1927 # Do `set' in a subshell so we don't clobber the current shell's
1928 # arguments. Must try -L first in case configure is actually a
1929 # symlink; some systems play weird games with the mod time of symlinks
1930 # (eg FreeBSD returns the mod time of the symlink's containing
1933 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1934 if test "$*" = "X"; then
1936 set X `ls -t $srcdir/configure conftest.file`
1939 if test "$*" != "X $srcdir/configure conftest.file" \
1940 && test "$*" != "X conftest.file $srcdir/configure"; then
1942 # If neither matched, then we have a broken ls. This can happen
1943 # if, for instance, CONFIG_SHELL is bash and it inherits a
1944 # broken ls alias from the environment. This has actually
1945 # happened. Such a system could not be considered "sane".
1946 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
1947 alias in your environment" "$LINENO" 5
1950 test "$2" = conftest.file
1956 as_fn_error $? "newly created file is older than distributed files!
1957 Check your system clock" "$LINENO" 5
1959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1960 $as_echo "yes" >&6; }
1961 test "$program_prefix" != NONE &&
1962 program_transform_name="s&^&$program_prefix&;$program_transform_name"
1963 # Use a double $ so make ignores it.
1964 test "$program_suffix" != NONE &&
1965 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1966 # Double any \ or $.
1967 # By default was `s,x,x', remove it if useless.
1968 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
1969 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
1971 # expand $ac_aux_dir to an absolute path
1972 am_aux_dir=`cd $ac_aux_dir && pwd`
1974 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1975 # Use eval to expand $SHELL
1976 if eval "$MISSING --run true"; then
1977 am_missing_run="$MISSING --run "
1980 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
1981 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1984 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1985 # We used to keeping the `.' as first argument, in order to
1986 # allow $(mkdir_p) to be used without argument. As in
1987 # $(mkdir_p) $(somedir)
1988 # where $(somedir) is conditionally defined. However this is wrong
1990 # 1. if the package is installed by a user who cannot write `.'
1991 # make install will fail,
1992 # 2. the above comment should most certainly read
1993 # $(mkdir_p) $(DESTDIR)$(somedir)
1994 # so it does not work when $(somedir) is undefined and
1995 # $(DESTDIR) is not.
1996 # To support the latter case, we have to write
1997 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1998 # so the `.' trick is pointless.
1999 mkdir_p='mkdir -p --'
2001 # On NextStep and OpenStep, the `mkdir' command does not
2002 # recognize any option. It will interpret all options as
2003 # directories to create, and then abort because `.' already
2005 for d in ./-p ./--version;
2007 test -d $d && rmdir $d
2009 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2010 if test -f "$ac_aux_dir/mkinstalldirs"; then
2011 mkdir_p='$(mkinstalldirs)'
2013 mkdir_p='$(install_sh) -d'
2017 for ac_prog in gawk mawk nawk awk
2019 # Extract the first word of "$ac_prog", so it can be a program name with args.
2020 set dummy $ac_prog; ac_word=$2
2021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2022 $as_echo_n "checking for $ac_word... " >&6; }
2023 if test "${ac_cv_prog_AWK+set}" = set; then :
2024 $as_echo_n "(cached) " >&6
2026 if test -n "$AWK"; then
2027 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2033 test -z "$as_dir" && as_dir=.
2034 for ac_exec_ext in '' $ac_executable_extensions; do
2035 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2036 ac_cv_prog_AWK="$ac_prog"
2037 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2047 if test -n "$AWK"; then
2048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2049 $as_echo "$AWK" >&6; }
2051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2052 $as_echo "no" >&6; }
2056 test -n "$AWK" && break
2059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2060 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2062 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2063 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
2064 $as_echo_n "(cached) " >&6
2066 cat >conftest.make <<\_ACEOF
2069 @echo '@@@%%%=$(MAKE)=@@@%%%'
2071 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2072 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2074 eval ac_cv_prog_make_${ac_make}_set=yes;;
2076 eval ac_cv_prog_make_${ac_make}_set=no;;
2080 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2082 $as_echo "yes" >&6; }
2085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2086 $as_echo "no" >&6; }
2087 SET_MAKE="MAKE=${MAKE-make}"
2090 rm -rf .tst 2>/dev/null
2091 mkdir .tst 2>/dev/null
2092 if test -d .tst; then
2097 rmdir .tst 2>/dev/null
2099 # test to see if srcdir already configured
2100 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2101 test -f $srcdir/config.status; then
2102 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2105 # test whether we have cygpath
2106 if test -z "$CYGPATH_W"; then
2107 if (cygpath --version) >/dev/null 2>/dev/null; then
2108 CYGPATH_W='cygpath -w'
2115 # Define the identity of the package.
2120 cat >>confdefs.h <<_ACEOF
2121 #define PACKAGE "$PACKAGE"
2125 cat >>confdefs.h <<_ACEOF
2126 #define VERSION "$VERSION"
2129 # Some tools Automake needs.
2131 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2134 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2137 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2140 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2143 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2145 install_sh=${install_sh-"$am_aux_dir/install-sh"}
2147 # Installed binaries are usually stripped using `strip' when the user
2148 # run `make install-strip'. However `strip' might not be the right
2149 # tool to use in cross-compilation environments, therefore Automake
2150 # will honor the `STRIP' environment variable to overrule this program.
2151 if test "$cross_compiling" != no; then
2152 if test -n "$ac_tool_prefix"; then
2153 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2154 set dummy ${ac_tool_prefix}strip; ac_word=$2
2155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2156 $as_echo_n "checking for $ac_word... " >&6; }
2157 if test "${ac_cv_prog_STRIP+set}" = set; then :
2158 $as_echo_n "(cached) " >&6
2160 if test -n "$STRIP"; then
2161 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2167 test -z "$as_dir" && as_dir=.
2168 for ac_exec_ext in '' $ac_executable_extensions; do
2169 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2170 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2171 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2180 STRIP=$ac_cv_prog_STRIP
2181 if test -n "$STRIP"; then
2182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2183 $as_echo "$STRIP" >&6; }
2185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2186 $as_echo "no" >&6; }
2191 if test -z "$ac_cv_prog_STRIP"; then
2193 # Extract the first word of "strip", so it can be a program name with args.
2194 set dummy strip; ac_word=$2
2195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2196 $as_echo_n "checking for $ac_word... " >&6; }
2197 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2198 $as_echo_n "(cached) " >&6
2200 if test -n "$ac_ct_STRIP"; then
2201 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2207 test -z "$as_dir" && as_dir=.
2208 for ac_exec_ext in '' $ac_executable_extensions; do
2209 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2210 ac_cv_prog_ac_ct_STRIP="strip"
2211 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2220 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2221 if test -n "$ac_ct_STRIP"; then
2222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2223 $as_echo "$ac_ct_STRIP" >&6; }
2225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2226 $as_echo "no" >&6; }
2229 if test "x$ac_ct_STRIP" = x; then
2232 case $cross_compiling:$ac_tool_warned in
2234 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2235 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2236 ac_tool_warned=yes ;;
2241 STRIP="$ac_cv_prog_STRIP"
2245 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2247 # We need awk for the "check" target. The system "awk" is bad on
2249 # Always define AMTAR for backward compatibility.
2251 AMTAR=${AMTAR-"${am_missing_run}tar"}
2253 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2260 ac_cpp='$CPP $CPPFLAGS'
2261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2264 if test -n "$ac_tool_prefix"; then
2265 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2266 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2268 $as_echo_n "checking for $ac_word... " >&6; }
2269 if test "${ac_cv_prog_CC+set}" = set; then :
2270 $as_echo_n "(cached) " >&6
2272 if test -n "$CC"; then
2273 ac_cv_prog_CC="$CC" # Let the user override the test.
2275 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2279 test -z "$as_dir" && as_dir=.
2280 for ac_exec_ext in '' $ac_executable_extensions; do
2281 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2282 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2283 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2293 if test -n "$CC"; then
2294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2295 $as_echo "$CC" >&6; }
2297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2298 $as_echo "no" >&6; }
2303 if test -z "$ac_cv_prog_CC"; then
2305 # Extract the first word of "gcc", so it can be a program name with args.
2306 set dummy gcc; ac_word=$2
2307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2308 $as_echo_n "checking for $ac_word... " >&6; }
2309 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2310 $as_echo_n "(cached) " >&6
2312 if test -n "$ac_ct_CC"; then
2313 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2319 test -z "$as_dir" && as_dir=.
2320 for ac_exec_ext in '' $ac_executable_extensions; do
2321 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2322 ac_cv_prog_ac_ct_CC="gcc"
2323 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2332 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2333 if test -n "$ac_ct_CC"; then
2334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2335 $as_echo "$ac_ct_CC" >&6; }
2337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2338 $as_echo "no" >&6; }
2341 if test "x$ac_ct_CC" = x; then
2344 case $cross_compiling:$ac_tool_warned in
2346 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2347 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2348 ac_tool_warned=yes ;;
2356 if test -z "$CC"; then
2357 if test -n "$ac_tool_prefix"; then
2358 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2359 set dummy ${ac_tool_prefix}cc; ac_word=$2
2360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2361 $as_echo_n "checking for $ac_word... " >&6; }
2362 if test "${ac_cv_prog_CC+set}" = set; then :
2363 $as_echo_n "(cached) " >&6
2365 if test -n "$CC"; then
2366 ac_cv_prog_CC="$CC" # Let the user override the test.
2368 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2372 test -z "$as_dir" && as_dir=.
2373 for ac_exec_ext in '' $ac_executable_extensions; do
2374 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2375 ac_cv_prog_CC="${ac_tool_prefix}cc"
2376 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2386 if test -n "$CC"; then
2387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2388 $as_echo "$CC" >&6; }
2390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2391 $as_echo "no" >&6; }
2397 if test -z "$CC"; then
2398 # Extract the first word of "cc", so it can be a program name with args.
2399 set dummy cc; ac_word=$2
2400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2401 $as_echo_n "checking for $ac_word... " >&6; }
2402 if test "${ac_cv_prog_CC+set}" = set; then :
2403 $as_echo_n "(cached) " >&6
2405 if test -n "$CC"; then
2406 ac_cv_prog_CC="$CC" # Let the user override the test.
2409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2413 test -z "$as_dir" && as_dir=.
2414 for ac_exec_ext in '' $ac_executable_extensions; do
2415 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2416 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2417 ac_prog_rejected=yes
2421 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2428 if test $ac_prog_rejected = yes; then
2429 # We found a bogon in the path, so make sure we never use it.
2430 set dummy $ac_cv_prog_CC
2432 if test $# != 0; then
2433 # We chose a different compiler from the bogus one.
2434 # However, it has the same basename, so the bogon will be chosen
2435 # first if we set CC to just the basename; use the full file name.
2437 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2443 if test -n "$CC"; then
2444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2445 $as_echo "$CC" >&6; }
2447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2448 $as_echo "no" >&6; }
2453 if test -z "$CC"; then
2454 if test -n "$ac_tool_prefix"; then
2455 for ac_prog in cl.exe
2457 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2458 set dummy $ac_tool_prefix$ac_prog; 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 test "${ac_cv_prog_CC+set}" = set; 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.
2467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2471 test -z "$as_dir" && as_dir=.
2472 for ac_exec_ext in '' $ac_executable_extensions; do
2473 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2474 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2475 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2485 if test -n "$CC"; then
2486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2487 $as_echo "$CC" >&6; }
2489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2490 $as_echo "no" >&6; }
2494 test -n "$CC" && break
2497 if test -z "$CC"; then
2499 for ac_prog in cl.exe
2501 # Extract the first word of "$ac_prog", so it can be a program name with args.
2502 set dummy $ac_prog; ac_word=$2
2503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2504 $as_echo_n "checking for $ac_word... " >&6; }
2505 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2506 $as_echo_n "(cached) " >&6
2508 if test -n "$ac_ct_CC"; then
2509 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2515 test -z "$as_dir" && as_dir=.
2516 for ac_exec_ext in '' $ac_executable_extensions; do
2517 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2518 ac_cv_prog_ac_ct_CC="$ac_prog"
2519 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2528 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2529 if test -n "$ac_ct_CC"; then
2530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2531 $as_echo "$ac_ct_CC" >&6; }
2533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2534 $as_echo "no" >&6; }
2538 test -n "$ac_ct_CC" && break
2541 if test "x$ac_ct_CC" = x; then
2544 case $cross_compiling:$ac_tool_warned in
2546 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2547 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2548 ac_tool_warned=yes ;;
2557 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2558 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2559 as_fn_error $? "no acceptable C compiler found in \$PATH
2560 See \`config.log' for more details" "$LINENO" 5 ; }
2562 # Provide some information about the compiler.
2563 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2566 for ac_option in --version -v -V -qversion; do
2567 { { ac_try="$ac_compiler $ac_option >&5"
2569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2570 *) ac_try_echo=$ac_try;;
2572 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2573 $as_echo "$ac_try_echo"; } >&5
2574 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2576 if test -s conftest.err; then
2578 ... rest of stderr output deleted ...
2579 10q' conftest.err >conftest.er1
2580 cat conftest.er1 >&5
2582 rm -f conftest.er1 conftest.err
2583 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2584 test $ac_status = 0; }
2587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2588 /* end confdefs.h. */
2598 ac_clean_files_save=$ac_clean_files
2599 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2600 # Try to create an executable without -o first, disregard a.out.
2601 # It will help us diagnose broken compilers, and finding out an intuition
2603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2604 $as_echo_n "checking whether the C compiler works... " >&6; }
2605 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2607 # The possible output files:
2608 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2611 for ac_file in $ac_files
2614 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2615 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2620 if { { ac_try="$ac_link_default"
2622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2623 *) ac_try_echo=$ac_try;;
2625 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2626 $as_echo "$ac_try_echo"; } >&5
2627 (eval "$ac_link_default") 2>&5
2629 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2630 test $ac_status = 0; }; then :
2631 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2632 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2633 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2634 # so that the user can short-circuit this test for compilers unknown to
2636 for ac_file in $ac_files ''
2638 test -f "$ac_file" || continue
2640 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2643 # We found the default executable, but exeext='' is most
2647 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2649 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2651 # We set ac_cv_exeext here because the later test for it is not
2652 # safe: cross compilers may not add the suffix if given an `-o'
2653 # argument, so we may need to know it at that point already.
2654 # Even if this section looks crufty: it has the advantage of
2661 test "$ac_cv_exeext" = no && ac_cv_exeext=
2666 if test -z "$ac_file"; then :
2667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2668 $as_echo "no" >&6; }
2669 $as_echo "$as_me: failed program was:" >&5
2670 sed 's/^/| /' conftest.$ac_ext >&5
2672 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2673 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2674 as_fn_error 77 "C compiler cannot create executables
2675 See \`config.log' for more details" "$LINENO" 5 ; }
2677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2678 $as_echo "yes" >&6; }
2680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2681 $as_echo_n "checking for C compiler default output file name... " >&6; }
2682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2683 $as_echo "$ac_file" >&6; }
2684 ac_exeext=$ac_cv_exeext
2686 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2687 ac_clean_files=$ac_clean_files_save
2688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2689 $as_echo_n "checking for suffix of executables... " >&6; }
2690 if { { ac_try="$ac_link"
2692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2693 *) ac_try_echo=$ac_try;;
2695 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2696 $as_echo "$ac_try_echo"; } >&5
2697 (eval "$ac_link") 2>&5
2699 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2700 test $ac_status = 0; }; then :
2701 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2702 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2703 # work properly (i.e., refer to `conftest.exe'), while it won't with
2705 for ac_file in conftest.exe conftest conftest.*; do
2706 test -f "$ac_file" || continue
2708 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2709 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2715 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2716 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2717 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2718 See \`config.log' for more details" "$LINENO" 5 ; }
2720 rm -f conftest conftest$ac_cv_exeext
2721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2722 $as_echo "$ac_cv_exeext" >&6; }
2724 rm -f conftest.$ac_ext
2725 EXEEXT=$ac_cv_exeext
2727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2728 /* end confdefs.h. */
2733 FILE *f = fopen ("conftest.out", "w");
2734 return ferror (f) || fclose (f) != 0;
2740 ac_clean_files="$ac_clean_files conftest.out"
2741 # Check that the compiler produces executables we can run. If not, either
2742 # the compiler is broken, or we cross compile.
2743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2744 $as_echo_n "checking whether we are cross compiling... " >&6; }
2745 if test "$cross_compiling" != yes; then
2746 { { ac_try="$ac_link"
2748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2749 *) ac_try_echo=$ac_try;;
2751 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2752 $as_echo "$ac_try_echo"; } >&5
2753 (eval "$ac_link") 2>&5
2755 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2756 test $ac_status = 0; }
2757 if { ac_try='./conftest$ac_cv_exeext'
2758 { { case "(($ac_try" in
2759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2760 *) ac_try_echo=$ac_try;;
2762 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2763 $as_echo "$ac_try_echo"; } >&5
2764 (eval "$ac_try") 2>&5
2766 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2767 test $ac_status = 0; }; }; then
2770 if test "$cross_compiling" = maybe; then
2773 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2774 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2775 as_fn_error $? "cannot run C compiled programs.
2776 If you meant to cross compile, use \`--host'.
2777 See \`config.log' for more details" "$LINENO" 5 ; }
2781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2782 $as_echo "$cross_compiling" >&6; }
2784 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2785 ac_clean_files=$ac_clean_files_save
2786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2787 $as_echo_n "checking for suffix of object files... " >&6; }
2788 if test "${ac_cv_objext+set}" = set; then :
2789 $as_echo_n "(cached) " >&6
2791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2792 /* end confdefs.h. */
2802 rm -f conftest.o conftest.obj
2803 if { { ac_try="$ac_compile"
2805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2806 *) ac_try_echo=$ac_try;;
2808 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2809 $as_echo "$ac_try_echo"; } >&5
2810 (eval "$ac_compile") 2>&5
2812 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2813 test $ac_status = 0; }; then :
2814 for ac_file in conftest.o conftest.obj conftest.*; do
2815 test -f "$ac_file" || continue;
2817 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2818 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2823 $as_echo "$as_me: failed program was:" >&5
2824 sed 's/^/| /' conftest.$ac_ext >&5
2826 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2827 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2828 as_fn_error $? "cannot compute suffix of object files: cannot compile
2829 See \`config.log' for more details" "$LINENO" 5 ; }
2831 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2834 $as_echo "$ac_cv_objext" >&6; }
2835 OBJEXT=$ac_cv_objext
2837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2838 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2839 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
2840 $as_echo_n "(cached) " >&6
2842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2843 /* end confdefs.h. */
2856 if ac_fn_c_try_compile "$LINENO"; then :
2861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2862 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2866 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2867 if test $ac_compiler_gnu = yes; then
2872 ac_test_CFLAGS=${CFLAGS+set}
2873 ac_save_CFLAGS=$CFLAGS
2874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2875 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2876 if test "${ac_cv_prog_cc_g+set}" = set; then :
2877 $as_echo_n "(cached) " >&6
2879 ac_save_c_werror_flag=$ac_c_werror_flag
2880 ac_c_werror_flag=yes
2883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2884 /* end confdefs.h. */
2894 if ac_fn_c_try_compile "$LINENO"; then :
2898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2899 /* end confdefs.h. */
2909 if ac_fn_c_try_compile "$LINENO"; then :
2912 ac_c_werror_flag=$ac_save_c_werror_flag
2914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2915 /* end confdefs.h. */
2925 if ac_fn_c_try_compile "$LINENO"; then :
2928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2933 ac_c_werror_flag=$ac_save_c_werror_flag
2935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2936 $as_echo "$ac_cv_prog_cc_g" >&6; }
2937 if test "$ac_test_CFLAGS" = set; then
2938 CFLAGS=$ac_save_CFLAGS
2939 elif test $ac_cv_prog_cc_g = yes; then
2940 if test "$GCC" = yes; then
2946 if test "$GCC" = yes; then
2952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2953 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2954 if test "${ac_cv_prog_cc_c89+set}" = set; then :
2955 $as_echo_n "(cached) " >&6
2957 ac_cv_prog_cc_c89=no
2959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2960 /* end confdefs.h. */
2963 #include <sys/types.h>
2964 #include <sys/stat.h>
2965 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2966 struct buf { int x; };
2967 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2968 static char *e (p, i)
2974 static char *f (char * (*g) (char **, int), char **p, ...)
2979 s = g (p, va_arg (v,int));
2984 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2985 function prototypes and stuff, but not '\xHH' hex character constants.
2986 These don't provoke an error unfortunately, instead are silently treated
2987 as 'x'. The following induces an error, until -std is added to get
2988 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2989 array size at least. It's necessary to write '\x00'==0 to get something
2990 that's true only with -std. */
2991 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2993 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2994 inside strings and character constants. */
2996 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2998 int test (int i, double x);
2999 struct s1 {int (*f) (int a);};
3000 struct s2 {int (*f) (double a);};
3001 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3007 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3012 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3013 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3015 CC="$ac_save_CC $ac_arg"
3016 if ac_fn_c_try_compile "$LINENO"; then :
3017 ac_cv_prog_cc_c89=$ac_arg
3019 rm -f core conftest.err conftest.$ac_objext
3020 test "x$ac_cv_prog_cc_c89" != "xno" && break
3022 rm -f conftest.$ac_ext
3027 case "x$ac_cv_prog_cc_c89" in
3029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3030 $as_echo "none needed" >&6; } ;;
3032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3033 $as_echo "unsupported" >&6; } ;;
3035 CC="$CC $ac_cv_prog_cc_c89"
3036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3037 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3039 if test "x$ac_cv_prog_cc_c89" != xno; then :
3044 ac_cpp='$CPP $CPPFLAGS'
3045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3048 DEPDIR="${am__leading_dot}deps"
3050 ac_config_commands="$ac_config_commands depfiles"
3053 am_make=${MAKE-make}
3054 cat > confinc << 'END'
3059 # If we don't find an include directive, just comment out the code.
3060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3061 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3065 # First try GNU make style include.
3066 echo "include confinc" > confmf
3067 # We grep out `Entering directory' and `Leaving directory'
3068 # messages which can occur if `w' ends up in MAKEFLAGS.
3069 # In particular we don't look at `^make:' because GNU make might
3070 # be invoked under some other name (usually "gmake"), in which
3071 # case it prints its new name instead of `make'.
3072 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3077 # Now try BSD make style include.
3078 if test "$am__include" = "#"; then
3079 echo '.include "confinc"' > confmf
3080 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3081 am__include=.include
3088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3089 $as_echo "$_am_result" >&6; }
3090 rm -f confinc confmf
3092 # Check whether --enable-dependency-tracking was given.
3093 if test "${enable_dependency_tracking+set}" = set; then :
3094 enableval=$enable_dependency_tracking;
3097 if test "x$enable_dependency_tracking" != xno; then
3098 am_depcomp="$ac_aux_dir/depcomp"
3103 if test "x$enable_dependency_tracking" != xno; then
3114 depcc="$CC" am_compiler_list=
3116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3117 $as_echo_n "checking dependency style of $depcc... " >&6; }
3118 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3119 $as_echo_n "(cached) " >&6
3121 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3122 # We make a subdir and do the tests there. Otherwise we can end up
3123 # making bogus files that we don't know about and never remove. For
3124 # instance it was reported that on HP-UX the gcc test will end up
3125 # making a dummy file named `D' -- because `-MD' means `put the output
3128 # Copy depcomp to subdir because otherwise we won't find it if we're
3129 # using a relative directory.
3130 cp "$am_depcomp" conftest.dir
3132 # We will build objects and dependencies in a subdirectory because
3133 # it helps to detect inapplicable dependency modes. For instance
3134 # both Tru64's cc and ICC support -MD to output dependencies as a
3135 # side effect of compilation, but ICC will put the dependencies in
3136 # the current directory while Tru64 will put them in the object
3140 am_cv_CC_dependencies_compiler_type=none
3141 if test "$am_compiler_list" = ""; then
3142 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3144 for depmode in $am_compiler_list; do
3145 # Setup a source with many dependencies, because some compilers
3146 # like to wrap large dependency lists on column 80 (with \), and
3147 # we should not choose a depcomp mode which is confused by this.
3149 # We need to recreate these files for each test, as the compiler may
3150 # overwrite some of them when testing with obscure command lines.
3151 # This happens at least with the AIX C compiler.
3153 for i in 1 2 3 4 5 6; do
3154 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3155 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3156 # Solaris 8's {/usr,}/bin/sh.
3157 touch sub/conftst$i.h
3159 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3163 # after this tag, mechanisms are not by side-effect, so they'll
3164 # only be used when explicitly requested
3165 if test "x$enable_dependency_tracking" = xyes; then
3173 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3174 # mode. It turns out that the SunPro C++ compiler does not properly
3175 # handle `-M -o', and we need to detect this.
3176 if depmode=$depmode \
3177 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3178 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3179 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3180 >/dev/null 2>conftest.err &&
3181 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3182 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3183 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3184 # icc doesn't choke on unknown options, it will just issue warnings
3185 # or remarks (even with -Werror). So we grep stderr for any message
3186 # that says an option was ignored or not supported.
3187 # When given -MP, icc 7.0 and 7.1 complain thusly:
3188 # icc: Command line warning: ignoring option '-M'; no argument required
3189 # The diagnosis changed in icc 8.0:
3190 # icc: Command line remark: option '-MP' not supported
3191 if (grep 'ignoring option' conftest.err ||
3192 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3193 am_cv_CC_dependencies_compiler_type=$depmode
3202 am_cv_CC_dependencies_compiler_type=none
3206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3207 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3208 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3213 test "x$enable_dependency_tracking" != xno \
3214 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3216 am__fastdepCC_FALSE='#'
3218 am__fastdepCC_TRUE='#'
3219 am__fastdepCC_FALSE=
3223 ac_config_headers="$ac_config_headers config.h"
3226 ##########################################################################
3227 # adding the readline library (e.g. with static name 'libreadline.a')
3228 ##########################################################################
3230 # adding the lib to the files to link
3231 LIBS="-lreadline $LIBS"
3233 # introduce the optional configure parameter for a non-standard install prefix of readline
3235 # Check whether --with-readline was given.
3236 if test "${with_readline+set}" = set; then :
3237 withval=$with_readline; readlinePATHSET=1
3243 # if optional parameter used, extend path flags for compliler and linker
3244 if test $readlinePATHSET = 1 ; then
3245 # extend the compiler and linker flags according to the path set
3246 AM_CXXFLAGS="$AM_CXXFLAGS -I$with_readline/include"
3247 AM_LDFLAGS="$AM_LDFLAGS -L$with_readline/lib"
3250 ##########################################################################
3253 ##########################################################################
3254 # check for readline library
3255 ##########################################################################
3257 # store current *FLAGS and merge with AM_*FLAGS for compilation and linker check
3258 OLD_CXXFLAGS=$CXXFLAGS;
3259 OLD_LDFLAGS=$LDFLAGS;
3260 CXXFLAGS="$AM_CXXFLAGS $CXXFLAGS"
3261 LDFLAGS="$AM_LDFLAGS $LDFLAGS"
3263 # ensure the library to check for is covered by the LIBS variable
3265 LIBS="$LIBS -lreadline"
3267 # check for readline library headers
3268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the readline library headers" >&5
3269 $as_echo_n "checking for the readline library headers... " >&6; }
3270 # try to compile a file that includes a header of the library readline
3272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3273 /* end confdefs.h. */
3274 #include <readline/readline.h>
3276 if ac_fn_c_try_compile "$LINENO"; then :
3277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
3278 $as_echo "found" >&6; }
3279 # try to link the function 'rl_initialize' out of library readline
3280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the readline library can be linked" >&5
3281 $as_echo_n "checking whether the readline library can be linked... " >&6; }
3282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3283 /* end confdefs.h. */
3284 #include <readline/readline.h>
3293 if ac_fn_c_try_link "$LINENO"; then :
3294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3295 $as_echo "yes" >&6; }
3298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3299 $as_echo "no" >&6; }
3300 LIBS=$OLD_LIBS; FOUND_readline=0;
3302 rm -f core conftest.err conftest.$ac_objext \
3303 conftest$ac_exeext conftest.$ac_ext
3305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
3306 $as_echo "not found" >&6; }
3309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3311 # reset original *FLAGS
3312 CXXFLAGS=$OLD_CXXFLAGS
3313 LDFLAGS=$OLD_LDFLAGS
3315 # handle check results
3316 if test $FOUND_readline != 1; then
3317 { $as_echo "$as_me:${as_lineno-$LINENO}: " >&5
3318 $as_echo "$as_me: " >&6;}
3319 { $as_echo "$as_me:${as_lineno-$LINENO}: The readline library was not found!" >&5
3320 $as_echo "$as_me: The readline library was not found!" >&6;}
3321 if test $readlinePATHSET = 1 ; then
3322 { $as_echo "$as_me:${as_lineno-$LINENO}: The install prefix '$with_readline' for the readline library was set." >&5
3323 $as_echo "$as_me: The install prefix '$with_readline' for the readline library was set." >&6;}
3324 { $as_echo "$as_me:${as_lineno-$LINENO}: --> Maybe wrong ???" >&5
3325 $as_echo "$as_me: --> Maybe wrong ???" >&6;}
3327 { $as_echo "$as_me:${as_lineno-$LINENO}: No non-standard install prefix was set." >&5
3328 $as_echo "$as_me: No non-standard install prefix was set." >&6;}
3329 { $as_echo "$as_me:${as_lineno-$LINENO}: --> You might want to use '--with-readline=PREFIX' ?!?" >&5
3330 $as_echo "$as_me: --> You might want to use '--with-readline=PREFIX' ?!?" >&6;}
3332 { $as_echo "$as_me:${as_lineno-$LINENO}: " >&5
3333 $as_echo "$as_me: " >&6;}
3334 as_fn_error $? " readline library is an essential dependency : cannot build and stop here !" "$LINENO" 5
3337 ##########################################################################
3343 ac_config_files="$ac_config_files Makefile src/Makefile"
3345 cat >confcache <<\_ACEOF
3346 # This file is a shell script that caches the results of configure
3347 # tests run on this system so they can be shared between configure
3348 # scripts and configure runs, see configure's option --config-cache.
3349 # It is not useful on other systems. If it contains results you don't
3350 # want to keep, you may remove or edit it.
3352 # config.status only pays attention to the cache file if you give it
3353 # the --recheck option to rerun configure.
3355 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3356 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3361 # The following way of writing the cache mishandles newlines in values,
3362 # but we know of no workaround that is simple, portable, and efficient.
3363 # So, we kill variables containing newlines.
3364 # Ultrix sh set writes to stderr and can't be redirected directly,
3365 # and sets the high bit in the cache file unless we assign to the vars.
3367 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3368 eval ac_val=\$$ac_var
3372 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3373 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3376 _ | IFS | as_nl) ;; #(
3377 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3378 *) { eval $ac_var=; unset $ac_var;} ;;
3384 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3385 *${as_nl}ac_space=\ *)
3386 # `set' does not quote correctly, so add quotes: double-quote
3387 # substitution turns \\\\ into \\, and sed turns \\ into \.
3390 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3393 # `set' quotes correctly as required by POSIX, so do not add quotes.
3394 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3403 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3405 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3407 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3408 if test -w "$cache_file"; then
3409 test "x$cache_file" != "x/dev/null" &&
3410 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3411 $as_echo "$as_me: updating cache $cache_file" >&6;}
3412 cat confcache >$cache_file
3414 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3415 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3420 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3421 # Let make expand exec_prefix.
3422 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3424 DEFS=-DHAVE_CONFIG_H
3429 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3430 # 1. Remove the extension, and $U if already installed.
3431 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3432 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
3433 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3434 # will be set to the directory where LIBOBJS objects are built.
3435 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3436 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
3440 LTLIBOBJS=$ac_ltlibobjs
3443 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
3444 as_fn_error $? "conditional \"AMDEP\" was never defined.
3445 Usually this means the macro was only invoked conditionally." "$LINENO" 5
3447 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
3448 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
3449 Usually this means the macro was only invoked conditionally." "$LINENO" 5
3452 : ${CONFIG_STATUS=./config.status}
3454 ac_clean_files_save=$ac_clean_files
3455 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3456 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3457 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3459 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3461 # Generated by $as_me.
3462 # Run this file to recreate the current configuration.
3463 # Compiler output produced by configure, useful for debugging
3464 # configure, is in config.log if it exists.
3470 SHELL=\${CONFIG_SHELL-$SHELL}
3473 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
3474 ## -------------------- ##
3475 ## M4sh Initialization. ##
3476 ## -------------------- ##
3478 # Be more Bourne compatible
3479 DUALCASE=1; export DUALCASE # for MKS sh
3480 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
3483 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3484 # is contrary to our usage. Disable this feature.
3485 alias -g '${1+"$@"}'='"$@"'
3486 setopt NO_GLOB_SUBST
3488 case `(set -o) 2>/dev/null` in #(
3500 # Printing a long string crashes Solaris 7 /usr/bin/printf.
3501 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3502 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3503 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3504 # Prefer a ksh shell builtin over an external printf program on Solaris,
3505 # but without wasting forks for bash or zsh.
3506 if test -z "$BASH_VERSION$ZSH_VERSION" \
3507 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
3508 as_echo='print -r --'
3509 as_echo_n='print -rn --'
3510 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3511 as_echo='printf %s\n'
3512 as_echo_n='printf %s'
3514 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3515 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
3516 as_echo_n='/usr/ucb/echo -n'
3518 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3519 as_echo_n_body='eval
3523 expr "X$arg" : "X\\(.*\\)$as_nl";
3524 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3526 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
3528 export as_echo_n_body
3529 as_echo_n='sh -c $as_echo_n_body as_echo'
3532 as_echo='sh -c $as_echo_body as_echo'
3535 # The user is always right.
3536 if test "${PATH_SEPARATOR+set}" != set; then
3538 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3539 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3546 # We need space, tab and new line, in precisely that order. Quoting is
3547 # there to prevent editors from complaining about space-tab.
3548 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3549 # splitting by setting IFS to empty value.)
3552 # Find who we are. Look in the path if we contain no directory separator.
3554 *[\\/]* ) as_myself=$0 ;;
3555 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3559 test -z "$as_dir" && as_dir=.
3560 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3566 # We did not find ourselves, most probably we were run as `sh COMMAND'
3567 # in which case we are not to be found in the path.
3568 if test "x$as_myself" = x; then
3571 if test ! -f "$as_myself"; then
3572 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3576 # Unset variables that we do not need and which cause bugs (e.g. in
3577 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
3578 # suppresses any "Segmentation fault" message there. '((' could
3579 # trigger a bug in pdksh 5.2.14.
3580 for as_var in BASH_ENV ENV MAIL MAILPATH
3581 do eval test x\${$as_var+set} = xset \
3582 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
3595 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
3598 # as_fn_error STATUS ERROR [LINENO LOG_FD]
3599 # ----------------------------------------
3600 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3601 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3602 # script with STATUS, using 1 if that was 0.
3605 as_status=$1; test $as_status -eq 0 && as_status=1
3607 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3608 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
3610 $as_echo "$as_me: error: $2" >&2
3611 as_fn_exit $as_status
3615 # as_fn_set_status STATUS
3616 # -----------------------
3617 # Set $? to STATUS, without forking.
3621 } # as_fn_set_status
3625 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3635 # Portably unset VAR.
3638 { eval $1=; unset $1;}
3640 as_unset=as_fn_unset
3641 # as_fn_append VAR VALUE
3642 # ----------------------
3643 # Append the text in VALUE to the end of the definition contained in VAR. Take
3644 # advantage of any shell optimizations that allow amortized linear growth over
3645 # repeated appends, instead of the typical quadratic growth present in naive
3647 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
3648 eval 'as_fn_append ()
3659 # as_fn_arith ARG...
3660 # ------------------
3661 # Perform arithmetic evaluation on the ARGs, and store the result in the
3662 # global $as_val. Take advantage of shells that can avoid forks. The arguments
3663 # must be portable across $(()) and expr.
3664 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
3665 eval 'as_fn_arith ()
3672 as_val=`expr "$@" || test $? -eq 1`
3677 if expr a : '\(a\)' >/dev/null 2>&1 &&
3678 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3684 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3685 as_basename=basename
3690 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3696 as_me=`$as_basename -- "$0" ||
3697 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3698 X"$0" : 'X\(//\)$' \| \
3699 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3701 sed '/^.*\/\([^/][^/]*\)\/*$/{
3715 # Avoid depending upon Character Ranges.
3716 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3717 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3718 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3719 as_cr_digits='0123456789'
3720 as_cr_alnum=$as_cr_Letters$as_cr_digits
3722 ECHO_C= ECHO_N= ECHO_T=
3723 case `echo -n x` in #(((((
3725 case `echo 'xy\c'` in
3726 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3728 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
3735 rm -f conf$$ conf$$.exe conf$$.file
3736 if test -d conf$$.dir; then
3737 rm -f conf$$.dir/conf$$.file
3740 mkdir conf$$.dir 2>/dev/null
3742 if (echo >conf$$.file) 2>/dev/null; then
3743 if ln -s conf$$.file conf$$ 2>/dev/null; then
3745 # ... but there are two gotchas:
3746 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3747 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3748 # In both cases, we have to default to `cp -p'.
3749 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3751 elif ln conf$$.file conf$$ 2>/dev/null; then
3759 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3760 rmdir conf$$.dir 2>/dev/null
3765 # Create "$as_dir" as a directory, including parents if necessary.
3770 -*) as_dir=./$as_dir;;
3772 test -d "$as_dir" || eval $as_mkdir_p || {
3776 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3777 *) as_qdir=$as_dir;;
3779 as_dirs="'$as_qdir' $as_dirs"
3780 as_dir=`$as_dirname -- "$as_dir" ||
3781 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3782 X"$as_dir" : 'X\(//\)[^/]' \| \
3783 X"$as_dir" : 'X\(//\)$' \| \
3784 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3785 $as_echo X"$as_dir" |
3786 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3803 test -d "$as_dir" && break
3805 test -z "$as_dirs" || eval "mkdir $as_dirs"
3806 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
3810 if mkdir -p . 2>/dev/null; then
3811 as_mkdir_p='mkdir -p "$as_dir"'
3813 test -d ./-p && rmdir ./-p
3817 if test -x / >/dev/null 2>&1; then
3820 if ls -dL / >/dev/null 2>&1; then
3827 if test -d "$1"; then
3833 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
3834 ???[sx]*):;;*)false;;esac;fi
3838 as_executable_p=$as_test_x
3840 # Sed expression to map a string onto a valid CPP name.
3841 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3843 # Sed expression to map a string onto a valid variable name.
3844 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3848 ## ----------------------------------- ##
3849 ## Main body of $CONFIG_STATUS script. ##
3850 ## ----------------------------------- ##
3852 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
3854 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3855 # Save the log message, to keep $0 and so on meaningful, and to
3856 # report actual input values of CONFIG_FILES etc. instead of their
3857 # values after options handling.
3859 This file was extended by ctdlsh $as_me 1.0, which was
3860 generated by GNU Autoconf 2.67. Invocation command line was
3862 CONFIG_FILES = $CONFIG_FILES
3863 CONFIG_HEADERS = $CONFIG_HEADERS
3864 CONFIG_LINKS = $CONFIG_LINKS
3865 CONFIG_COMMANDS = $CONFIG_COMMANDS
3868 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3873 case $ac_config_files in *"
3874 "*) set x $ac_config_files; shift; ac_config_files=$*;;
3877 case $ac_config_headers in *"
3878 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
3882 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3883 # Files that config.status was made for.
3884 config_files="$ac_config_files"
3885 config_headers="$ac_config_headers"
3886 config_commands="$ac_config_commands"
3890 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3892 \`$as_me' instantiates files and other configuration actions
3893 from templates according to the current configuration. Unless the files
3894 and actions are specified as TAGs, all are instantiated by default.
3896 Usage: $0 [OPTION]... [TAG]...
3898 -h, --help print this help, then exit
3899 -V, --version print version number and configuration settings, then exit
3900 --config print configuration, then exit
3901 -q, --quiet, --silent
3902 do not print progress messages
3903 -d, --debug don't remove temporary files
3904 --recheck update $as_me by reconfiguring in the same conditions
3905 --file=FILE[:TEMPLATE]
3906 instantiate the configuration file FILE
3907 --header=FILE[:TEMPLATE]
3908 instantiate the configuration header FILE
3910 Configuration files:
3913 Configuration headers:
3916 Configuration commands:
3919 Report bugs to <bug-automake@gnu.org>."
3922 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3923 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
3925 ctdlsh config.status 1.0
3926 configured by $0, generated by GNU Autoconf 2.67,
3927 with options \\"\$ac_cs_config\\"
3929 Copyright (C) 2010 Free Software Foundation, Inc.
3930 This config.status script is free software; the Free Software Foundation
3931 gives unlimited permission to copy, distribute and modify it."
3937 test -n "\$AWK" || AWK=awk
3940 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3941 # The default lists apply if the user does not specify any file.
3947 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3948 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3952 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3964 # Handling of the options.
3965 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3967 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3968 $as_echo "$ac_cs_version"; exit ;;
3969 --config | --confi | --conf | --con | --co | --c )
3970 $as_echo "$ac_cs_config"; exit ;;
3971 --debug | --debu | --deb | --de | --d | -d )
3973 --file | --fil | --fi | --f )
3976 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3977 '') as_fn_error $? "missing file argument" ;;
3979 as_fn_append CONFIG_FILES " '$ac_optarg'"
3980 ac_need_defaults=false;;
3981 --header | --heade | --head | --hea )
3984 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3986 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
3987 ac_need_defaults=false;;
3989 # Conflict between --help and --header
3990 as_fn_error $? "ambiguous option: \`$1'
3991 Try \`$0 --help' for more information.";;
3992 --help | --hel | -h )
3993 $as_echo "$ac_cs_usage"; exit ;;
3994 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3995 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3999 -*) as_fn_error $? "unrecognized option: \`$1'
4000 Try \`$0 --help' for more information." ;;
4002 *) as_fn_append ac_config_targets " $1"
4003 ac_need_defaults=false ;;
4009 ac_configure_extra_args=
4011 if $ac_cs_silent; then
4013 ac_configure_extra_args="$ac_configure_extra_args --silent"
4017 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4018 if \$ac_cs_recheck; then
4019 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4021 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4022 CONFIG_SHELL='$SHELL'
4028 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4032 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4033 ## Running $as_me. ##
4039 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4043 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
4047 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4049 # Handling of arguments.
4050 for ac_config_target in $ac_config_targets
4052 case $ac_config_target in
4053 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
4054 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
4055 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4056 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
4058 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
4063 # If the user did not use the arguments to specify the items to instantiate,
4064 # then the envvar interface is used. Set only those that are not.
4065 # We use the long form for the default assignment because of an extremely
4066 # bizarre bug on SunOS 4.1.3.
4067 if $ac_need_defaults; then
4068 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4069 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
4070 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4073 # Have a temporary directory for convenience. Make it in the build tree
4074 # simply because there is no reason against having it here, and in addition,
4075 # creating and moving files from /tmp can sometimes cause problems.
4076 # Hook for its removal unless debugging.
4077 # Note that there is a small window in which the directory will not be cleaned:
4078 # after its creation but before its name has been assigned to `$tmp'.
4082 trap 'exit_status=$?
4083 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
4085 trap 'as_fn_exit 1' 1 2 13 15
4087 # Create a (secure) tmp directory for tmp files.
4090 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4091 test -n "$tmp" && test -d "$tmp"
4094 tmp=./conf$$-$RANDOM
4095 (umask 077 && mkdir "$tmp")
4096 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
4098 # Set up the scripts for CONFIG_FILES section.
4099 # No need to generate them if there are no CONFIG_FILES.
4100 # This happens for instance with `./config.status config.h'.
4101 if test -n "$CONFIG_FILES"; then
4104 ac_cr=`echo X | tr X '\015'`
4105 # On cygwin, bash can eat \r inside `` if the user requested igncr.
4106 # But we know of no other shell where ac_cr would be empty at this
4107 # point, so we can use a bashism as a fallback.
4108 if test "x$ac_cr" = x; then
4109 eval ac_cr=\$\'\\r\'
4111 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4112 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4118 echo 'BEGIN {' >"$tmp/subs1.awk" &&
4123 echo "cat >conf$$subs.awk <<_ACEOF" &&
4124 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4127 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4128 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
4130 for ac_last_try in false false false false false :; do
4131 . ./conf$$subs.sh ||
4132 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4134 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
4135 if test $ac_delim_n = $ac_delim_num; then
4137 elif $ac_last_try; then
4138 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4140 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4145 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4146 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
4150 s/^/S["/; s/!.*/"]=/
4160 s/\(.\{148\}\)..*/\1/
4162 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4167 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4174 s/\(.\{148\}\)..*/\1/
4176 s/["\\]/\\&/g; s/^/"/; s/$/"/
4180 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4185 ' <conf$$subs.awk | sed '
4190 ' >>$CONFIG_STATUS || ac_write_fail=1
4191 rm -f conf$$subs.awk
4192 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4194 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
4195 for (key in S) S_is_set[key] = 1
4201 nfields = split(line, field, "@")
4203 len = length(field[1])
4204 for (i = 2; i < nfields; i++) {
4206 keylen = length(key)
4207 if (S_is_set[key]) {
4209 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4210 len += length(value) + length(field[++i])
4221 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4222 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4223 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4226 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
4227 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
4230 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
4231 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
4232 # trailing colons and then remove the whole line if VPATH becomes empty
4233 # (actually we leave an empty line to preserve line numbers).
4234 if test "x$srcdir" = x.; then
4235 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
4253 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4254 fi # test -n "$CONFIG_FILES"
4256 # Set up the scripts for CONFIG_HEADERS section.
4257 # No need to generate them if there are no CONFIG_HEADERS.
4258 # This happens for instance with `./config.status Makefile'.
4259 if test -n "$CONFIG_HEADERS"; then
4260 cat >"$tmp/defines.awk" <<\_ACAWK ||
4264 # Transform confdefs.h into an awk script `defines.awk', embedded as
4265 # here-document in config.status, that substitutes the proper values into
4266 # config.h.in to produce config.h.
4268 # Create a delimiter string that does not exist in confdefs.h, to ease
4269 # handling of long lines.
4271 for ac_last_try in false false :; do
4272 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
4273 if test -z "$ac_t"; then
4275 elif $ac_last_try; then
4276 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
4278 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4282 # For the awk script, D is an array of macro values keyed by name,
4283 # likewise P contains macro parameters if any. Preserve backslash
4284 # newline sequences.
4286 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
4288 s/.\{148\}/&'"$ac_delim"'/g
4291 s/^[ ]*#[ ]*define[ ][ ]*/ /
4298 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
4300 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
4304 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
4305 D["\1"]=" \3\\\\\\n"\\/p
4307 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
4312 s/.\{148\}/&'"$ac_delim"'/g
4317 s/["\\]/\\&/g; s/^/"/; s/$/"/p
4320 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
4322 ' <confdefs.h | sed '
4323 s/'"$ac_delim"'/"\\\
4324 "/g' >>$CONFIG_STATUS || ac_write_fail=1
4326 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4327 for (key in D) D_is_set[key] = 1
4330 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
4332 split(line, arg, " ")
4333 if (arg[1] == "#") {
4337 defundef = substr(arg[1], 2)
4340 split(mac1, mac2, "(") #)
4342 prefix = substr(line, 1, index(line, defundef) - 1)
4343 if (D_is_set[macro]) {
4344 # Preserve the white space surrounding the "#".
4345 print prefix "define", macro P[macro] D[macro]
4348 # Replace #undef with comments. This is necessary, for example,
4349 # in the case of _POSIX_SOURCE, which is predefined and required
4350 # on some systems where configure will not decide to define it.
4351 if (defundef == "undef") {
4352 print "/*", prefix defundef, macro, "*/"
4360 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4361 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
4362 fi # test -n "$CONFIG_HEADERS"
4365 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
4370 :[FHLC]) ac_mode=$ac_tag; continue;;
4372 case $ac_mode$ac_tag in
4374 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
4375 :[FH]-) ac_tag=-:-;;
4376 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4393 -) ac_f="$tmp/stdin";;
4394 *) # Look for the file first in the build tree, then in the source tree
4395 # (if the path is not absolute). The absolute path cannot be DOS-style,
4396 # because $ac_f cannot contain `:'.
4400 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4402 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
4404 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4405 as_fn_append ac_file_inputs " '$ac_f'"
4408 # Let's still pretend it is `configure' which instantiates (i.e., don't
4409 # use $as_me), people would be surprised to read:
4410 # /* config.h. Generated by config.status. */
4411 configure_input='Generated from '`
4412 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4414 if test x"$ac_file" != x-; then
4415 configure_input="$ac_file. $configure_input"
4416 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
4417 $as_echo "$as_me: creating $ac_file" >&6;}
4419 # Neutralize special characters interpreted by sed in replacement strings.
4420 case $configure_input in #(
4421 *\&* | *\|* | *\\* )
4422 ac_sed_conf_input=`$as_echo "$configure_input" |
4423 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4424 *) ac_sed_conf_input=$configure_input;;
4428 *:-:* | *:-) cat >"$tmp/stdin" \
4429 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
4434 ac_dir=`$as_dirname -- "$ac_file" ||
4435 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4436 X"$ac_file" : 'X\(//\)[^/]' \| \
4437 X"$ac_file" : 'X\(//\)$' \| \
4438 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4439 $as_echo X"$ac_file" |
4440 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4457 as_dir="$ac_dir"; as_fn_mkdir_p
4461 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4463 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4464 # A ".." for each directory in $ac_dir_suffix.
4465 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4466 case $ac_top_builddir_sub in
4467 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4468 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4471 ac_abs_top_builddir=$ac_pwd
4472 ac_abs_builddir=$ac_pwd$ac_dir_suffix
4473 # for backward compatibility:
4474 ac_top_builddir=$ac_top_build_prefix
4477 .) # We are building in place.
4479 ac_top_srcdir=$ac_top_builddir_sub
4480 ac_abs_top_srcdir=$ac_pwd ;;
4481 [\\/]* | ?:[\\/]* ) # Absolute name.
4482 ac_srcdir=$srcdir$ac_dir_suffix;
4483 ac_top_srcdir=$srcdir
4484 ac_abs_top_srcdir=$srcdir ;;
4486 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4487 ac_top_srcdir=$ac_top_build_prefix$srcdir
4488 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4490 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4500 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4501 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
4505 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4506 # If the template does not know about datarootdir, expand it.
4507 # FIXME: This hack should be removed a few years after 2.60.
4508 ac_datarootdir_hack=; ac_datarootdir_seen=
4519 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
4520 *datarootdir*) ac_datarootdir_seen=yes;;
4521 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4522 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4523 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4525 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4526 ac_datarootdir_hack='
4527 s&@datadir@&$datadir&g
4528 s&@docdir@&$docdir&g
4529 s&@infodir@&$infodir&g
4530 s&@localedir@&$localedir&g
4531 s&@mandir@&$mandir&g
4532 s&\\\${datarootdir}&$datarootdir&g' ;;
4536 # Neutralize VPATH when `$srcdir' = `.'.
4537 # Shell code in configure.ac might set extrasub.
4538 # FIXME: do we really want to maintain this feature?
4539 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4540 ac_sed_extra="$ac_vpsub
4543 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4545 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4546 s|@configure_input@|$ac_sed_conf_input|;t t
4547 s&@top_builddir@&$ac_top_builddir_sub&;t t
4548 s&@top_build_prefix@&$ac_top_build_prefix&;t t
4549 s&@srcdir@&$ac_srcdir&;t t
4550 s&@abs_srcdir@&$ac_abs_srcdir&;t t
4551 s&@top_srcdir@&$ac_top_srcdir&;t t
4552 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4553 s&@builddir@&$ac_builddir&;t t
4554 s&@abs_builddir@&$ac_abs_builddir&;t t
4555 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4556 s&@INSTALL@&$ac_INSTALL&;t t
4557 $ac_datarootdir_hack
4559 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
4560 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4562 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4563 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
4564 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
4565 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4566 which seems to be undefined. Please make sure it is defined" >&5
4567 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4568 which seems to be undefined. Please make sure it is defined" >&2;}
4572 -) cat "$tmp/out" && rm -f "$tmp/out";;
4573 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
4575 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4581 if test x"$ac_file" != x-; then
4583 $as_echo "/* $configure_input */" \
4584 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
4585 } >"$tmp/config.h" \
4586 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4587 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
4588 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
4589 $as_echo "$as_me: $ac_file is unchanged" >&6;}
4592 mv "$tmp/config.h" "$ac_file" \
4593 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4596 $as_echo "/* $configure_input */" \
4597 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
4598 || as_fn_error $? "could not create -" "$LINENO" 5
4600 # Compute "$ac_file"'s index in $config_headers.
4602 for _am_header in $config_headers :; do
4604 "$ac_file" | "$ac_file":* )
4607 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
4610 echo "timestamp for "$ac_file"" >`$as_dirname -- "$ac_file" ||
4611 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4612 X"$ac_file" : 'X\(//\)[^/]' \| \
4613 X"$ac_file" : 'X\(//\)$' \| \
4614 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4615 $as_echo X"$ac_file" |
4616 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4632 s/.*/./; q'`/stamp-h$_am_stamp_count
4635 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
4636 $as_echo "$as_me: executing $ac_file commands" >&6;}
4641 case $ac_file$ac_mode in
4642 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
4643 # Strip MF so we end up with the name of the file.
4644 mf=`echo "$mf" | sed -e 's/:.*$//'`
4645 # Check whether this is an Automake generated Makefile or not.
4646 # We used to match only the files named `Makefile.in', but
4647 # some people rename them; so instead we look at the file content.
4648 # Grep'ing the first line is not enough: some people post-process
4649 # each Makefile.in and add a new line on top of each file to say so.
4650 # So let's grep whole file.
4651 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
4652 dirpart=`$as_dirname -- "$mf" ||
4653 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4654 X"$mf" : 'X\(//\)[^/]' \| \
4655 X"$mf" : 'X\(//\)$' \| \
4656 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
4658 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4678 # Extract the definition of DEPDIR, am__include, and am__quote
4679 # from the Makefile without running `make'.
4680 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
4681 test -z "$DEPDIR" && continue
4682 am__include=`sed -n 's/^am__include = //p' < "$mf"`
4683 test -z "am__include" && continue
4684 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
4685 # When using ansi2knr, U may be empty or an underscore; expand it
4686 U=`sed -n 's/^U = //p' < "$mf"`
4687 # Find all dependency output files, they are included files with
4688 # $(DEPDIR) in their names. We invoke sed twice because it is the
4689 # simplest approach to changing $(DEPDIR) to its actual value in the
4691 for file in `sed -n "
4692 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
4693 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
4694 # Make sure the directory exists.
4695 test -f "$dirpart/$file" && continue
4696 fdir=`$as_dirname -- "$file" ||
4697 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4698 X"$file" : 'X\(//\)[^/]' \| \
4699 X"$file" : 'X\(//\)$' \| \
4700 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
4702 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4719 as_dir=$dirpart/$fdir; as_fn_mkdir_p
4720 # echo "creating $dirpart/$file"
4721 echo '# dummy' > "$dirpart/$file"
4732 ac_clean_files=$ac_clean_files_save
4734 test $ac_write_fail = 0 ||
4735 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
4738 # configure is writing to config.log, and then calls config.status.
4739 # config.status does its own redirection, appending to config.log.
4740 # Unfortunately, on DOS this fails, as config.log is still kept open
4741 # by configure, so config.status won't be able to write to it; its
4742 # output is simply discarded. So we exec the FD to /dev/null,
4743 # effectively closing config.log, so it can be properly (re)opened and
4744 # appended to by config.status. When coming back to configure, we
4745 # need to make the FD available again.
4746 if test "$no_create" != yes; then
4748 ac_config_status_args=
4749 test "$silent" = yes &&
4750 ac_config_status_args="$ac_config_status_args --quiet"
4752 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4754 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4755 # would make configure fail if this is the last instruction.
4756 $ac_cs_success || as_fn_exit 1
4758 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
4759 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4760 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}