2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.67 for ctdlsalearn 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='ctdlsalearn'
553 PACKAGE_TARNAME='ctdlsalearn'
554 PACKAGE_VERSION='1.0'
555 PACKAGE_STRING='ctdlsalearn 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
641 ac_precious_vars='build_alias
651 # Initialize some variables set by options.
653 ac_init_version=false
654 ac_unrecognized_opts=
656 # The variables have the same names as the options, with
657 # dashes changed to underlines.
665 program_transform_name=s,x,x,
673 # Installation directory options.
674 # These are left unexpanded so users can "make install exec_prefix=/foo"
675 # and all the variables that are supposed to be based on exec_prefix
676 # by default will actually change.
677 # Use braces instead of parens because sh, perl, etc. also accept them.
678 # (The list follows the same order as the GNU Coding Standards.)
679 bindir='${exec_prefix}/bin'
680 sbindir='${exec_prefix}/sbin'
681 libexecdir='${exec_prefix}/libexec'
682 datarootdir='${prefix}/share'
683 datadir='${datarootdir}'
684 sysconfdir='${prefix}/etc'
685 sharedstatedir='${prefix}/com'
686 localstatedir='${prefix}/var'
687 includedir='${prefix}/include'
688 oldincludedir='/usr/include'
689 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
690 infodir='${datarootdir}/info'
695 libdir='${exec_prefix}/lib'
696 localedir='${datarootdir}/locale'
697 mandir='${datarootdir}/man'
703 # If the previous option needs an argument, assign it.
704 if test -n "$ac_prev"; then
705 eval $ac_prev=\$ac_option
711 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
716 # Accept the important Cygnus configure options, so we can diagnose typos.
718 case $ac_dashdash$ac_option in
722 -bindir | --bindir | --bindi | --bind | --bin | --bi)
724 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
727 -build | --build | --buil | --bui | --bu)
728 ac_prev=build_alias ;;
729 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
730 build_alias=$ac_optarg ;;
732 -cache-file | --cache-file | --cache-fil | --cache-fi \
733 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
734 ac_prev=cache_file ;;
735 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
736 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
737 cache_file=$ac_optarg ;;
740 cache_file=config.cache ;;
742 -datadir | --datadir | --datadi | --datad)
744 -datadir=* | --datadir=* | --datadi=* | --datad=*)
745 datadir=$ac_optarg ;;
747 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
748 | --dataroo | --dataro | --datar)
749 ac_prev=datarootdir ;;
750 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
751 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
752 datarootdir=$ac_optarg ;;
754 -disable-* | --disable-*)
755 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
756 # Reject names that are not valid shell variable names.
757 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
758 as_fn_error $? "invalid feature name: $ac_useropt"
759 ac_useropt_orig=$ac_useropt
760 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
761 case $ac_user_opts in
765 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
766 ac_unrecognized_sep=', ';;
768 eval enable_$ac_useropt=no ;;
770 -docdir | --docdir | --docdi | --doc | --do)
772 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
775 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
777 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
780 -enable-* | --enable-*)
781 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
782 # Reject names that are not valid shell variable names.
783 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
784 as_fn_error $? "invalid feature name: $ac_useropt"
785 ac_useropt_orig=$ac_useropt
786 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
787 case $ac_user_opts in
791 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
792 ac_unrecognized_sep=', ';;
794 eval enable_$ac_useropt=\$ac_optarg ;;
796 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
797 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
798 | --exec | --exe | --ex)
799 ac_prev=exec_prefix ;;
800 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
801 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
802 | --exec=* | --exe=* | --ex=*)
803 exec_prefix=$ac_optarg ;;
805 -gas | --gas | --ga | --g)
806 # Obsolete; use --with-gas.
809 -help | --help | --hel | --he | -h)
811 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
812 ac_init_help=recursive ;;
813 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
814 ac_init_help=short ;;
816 -host | --host | --hos | --ho)
817 ac_prev=host_alias ;;
818 -host=* | --host=* | --hos=* | --ho=*)
819 host_alias=$ac_optarg ;;
821 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
823 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
825 htmldir=$ac_optarg ;;
827 -includedir | --includedir | --includedi | --included | --include \
828 | --includ | --inclu | --incl | --inc)
829 ac_prev=includedir ;;
830 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
831 | --includ=* | --inclu=* | --incl=* | --inc=*)
832 includedir=$ac_optarg ;;
834 -infodir | --infodir | --infodi | --infod | --info | --inf)
836 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
837 infodir=$ac_optarg ;;
839 -libdir | --libdir | --libdi | --libd)
841 -libdir=* | --libdir=* | --libdi=* | --libd=*)
844 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
845 | --libexe | --libex | --libe)
846 ac_prev=libexecdir ;;
847 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
848 | --libexe=* | --libex=* | --libe=*)
849 libexecdir=$ac_optarg ;;
851 -localedir | --localedir | --localedi | --localed | --locale)
853 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
854 localedir=$ac_optarg ;;
856 -localstatedir | --localstatedir | --localstatedi | --localstated \
857 | --localstate | --localstat | --localsta | --localst | --locals)
858 ac_prev=localstatedir ;;
859 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
860 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
861 localstatedir=$ac_optarg ;;
863 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
865 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
869 # Obsolete; use --without-fp.
872 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
873 | --no-cr | --no-c | -n)
876 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
877 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
880 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
881 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
882 | --oldin | --oldi | --old | --ol | --o)
883 ac_prev=oldincludedir ;;
884 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
885 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
886 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
887 oldincludedir=$ac_optarg ;;
889 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
891 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
894 -program-prefix | --program-prefix | --program-prefi | --program-pref \
895 | --program-pre | --program-pr | --program-p)
896 ac_prev=program_prefix ;;
897 -program-prefix=* | --program-prefix=* | --program-prefi=* \
898 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
899 program_prefix=$ac_optarg ;;
901 -program-suffix | --program-suffix | --program-suffi | --program-suff \
902 | --program-suf | --program-su | --program-s)
903 ac_prev=program_suffix ;;
904 -program-suffix=* | --program-suffix=* | --program-suffi=* \
905 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
906 program_suffix=$ac_optarg ;;
908 -program-transform-name | --program-transform-name \
909 | --program-transform-nam | --program-transform-na \
910 | --program-transform-n | --program-transform- \
911 | --program-transform | --program-transfor \
912 | --program-transfo | --program-transf \
913 | --program-trans | --program-tran \
914 | --progr-tra | --program-tr | --program-t)
915 ac_prev=program_transform_name ;;
916 -program-transform-name=* | --program-transform-name=* \
917 | --program-transform-nam=* | --program-transform-na=* \
918 | --program-transform-n=* | --program-transform-=* \
919 | --program-transform=* | --program-transfor=* \
920 | --program-transfo=* | --program-transf=* \
921 | --program-trans=* | --program-tran=* \
922 | --progr-tra=* | --program-tr=* | --program-t=*)
923 program_transform_name=$ac_optarg ;;
925 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
927 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
930 -psdir | --psdir | --psdi | --psd | --ps)
932 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
935 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
936 | -silent | --silent | --silen | --sile | --sil)
939 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
941 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
943 sbindir=$ac_optarg ;;
945 -sharedstatedir | --sharedstatedir | --sharedstatedi \
946 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
947 | --sharedst | --shareds | --shared | --share | --shar \
949 ac_prev=sharedstatedir ;;
950 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
951 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
952 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
954 sharedstatedir=$ac_optarg ;;
956 -site | --site | --sit)
958 -site=* | --site=* | --sit=*)
961 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
963 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
966 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
967 | --syscon | --sysco | --sysc | --sys | --sy)
968 ac_prev=sysconfdir ;;
969 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
970 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
971 sysconfdir=$ac_optarg ;;
973 -target | --target | --targe | --targ | --tar | --ta | --t)
974 ac_prev=target_alias ;;
975 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
976 target_alias=$ac_optarg ;;
978 -v | -verbose | --verbose | --verbos | --verbo | --verb)
981 -version | --version | --versio | --versi | --vers | -V)
985 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
986 # Reject names that are not valid shell variable names.
987 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
988 as_fn_error $? "invalid package name: $ac_useropt"
989 ac_useropt_orig=$ac_useropt
990 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
991 case $ac_user_opts in
995 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
996 ac_unrecognized_sep=', ';;
998 eval with_$ac_useropt=\$ac_optarg ;;
1000 -without-* | --without-*)
1001 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1002 # Reject names that are not valid shell variable names.
1003 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1004 as_fn_error $? "invalid package name: $ac_useropt"
1005 ac_useropt_orig=$ac_useropt
1006 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1007 case $ac_user_opts in
1011 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1012 ac_unrecognized_sep=', ';;
1014 eval with_$ac_useropt=no ;;
1017 # Obsolete; use --with-x.
1020 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1021 | --x-incl | --x-inc | --x-in | --x-i)
1022 ac_prev=x_includes ;;
1023 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1024 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1025 x_includes=$ac_optarg ;;
1027 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1028 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1029 ac_prev=x_libraries ;;
1030 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1031 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1032 x_libraries=$ac_optarg ;;
1034 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1035 Try \`$0 --help' for more information"
1039 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1040 # Reject names that are not valid shell variable names.
1041 case $ac_envvar in #(
1042 '' | [0-9]* | *[!_$as_cr_alnum]* )
1043 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1045 eval $ac_envvar=\$ac_optarg
1046 export $ac_envvar ;;
1049 # FIXME: should be removed in autoconf 3.0.
1050 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1051 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1052 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1053 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1059 if test -n "$ac_prev"; then
1060 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1061 as_fn_error $? "missing argument to $ac_option"
1064 if test -n "$ac_unrecognized_opts"; then
1065 case $enable_option_checking in
1067 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1068 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1072 # Check all directory arguments for consistency.
1073 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1074 datadir sysconfdir sharedstatedir localstatedir includedir \
1075 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1076 libdir localedir mandir
1078 eval ac_val=\$$ac_var
1079 # Remove trailing slashes.
1082 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1083 eval $ac_var=\$ac_val;;
1085 # Be sure to have absolute directory names.
1087 [\\/$]* | ?:[\\/]* ) continue;;
1088 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1090 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1093 # There might be people who depend on the old broken behavior: `$host'
1094 # used to hold the argument of --host etc.
1095 # FIXME: To remove some day.
1098 target=$target_alias
1100 # FIXME: To remove some day.
1101 if test "x$host_alias" != x; then
1102 if test "x$build_alias" = x; then
1103 cross_compiling=maybe
1104 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1105 If a cross compiler is detected then cross compile mode will be used" >&2
1106 elif test "x$build_alias" != "x$host_alias"; then
1112 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1114 test "$silent" = yes && exec 6>/dev/null
1117 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1118 ac_ls_di=`ls -di .` &&
1119 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1120 as_fn_error $? "working directory cannot be determined"
1121 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1122 as_fn_error $? "pwd does not report name of working directory"
1125 # Find the source files, if location was not specified.
1126 if test -z "$srcdir"; then
1127 ac_srcdir_defaulted=yes
1128 # Try the directory containing this script, then the parent directory.
1129 ac_confdir=`$as_dirname -- "$as_myself" ||
1130 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1131 X"$as_myself" : 'X\(//\)[^/]' \| \
1132 X"$as_myself" : 'X\(//\)$' \| \
1133 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1134 $as_echo X"$as_myself" |
1135 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1153 if test ! -r "$srcdir/$ac_unique_file"; then
1157 ac_srcdir_defaulted=no
1159 if test ! -r "$srcdir/$ac_unique_file"; then
1160 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1161 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1163 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1165 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1167 # When building in place, set srcdir=.
1168 if test "$ac_abs_confdir" = "$ac_pwd"; then
1171 # Remove unnecessary trailing slashes from srcdir.
1172 # Double slashes in file names in object file debugging info
1173 # mess up M-x gdb in Emacs.
1175 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1177 for ac_var in $ac_precious_vars; do
1178 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1179 eval ac_env_${ac_var}_value=\$${ac_var}
1180 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1181 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1185 # Report the --help message.
1187 if test "$ac_init_help" = "long"; then
1188 # Omit some internal or obsolete options to make the list less imposing.
1189 # This message is too long to be a string in the A/UX 3.1 sh.
1191 \`configure' configures ctdlsalearn 1.0 to adapt to many kinds of systems.
1193 Usage: $0 [OPTION]... [VAR=VALUE]...
1195 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1196 VAR=VALUE. See below for descriptions of some of the useful variables.
1198 Defaults for the options are specified in brackets.
1201 -h, --help display this help and exit
1202 --help=short display options specific to this package
1203 --help=recursive display the short help of all the included packages
1204 -V, --version display version information and exit
1205 -q, --quiet, --silent do not print \`checking ...' messages
1206 --cache-file=FILE cache test results in FILE [disabled]
1207 -C, --config-cache alias for \`--cache-file=config.cache'
1208 -n, --no-create do not create output files
1209 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1211 Installation directories:
1212 --prefix=PREFIX install architecture-independent files in PREFIX
1213 [$ac_default_prefix]
1214 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1217 By default, \`make install' will install all the files in
1218 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1219 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1220 for instance \`--prefix=\$HOME'.
1222 For better control, use the options below.
1224 Fine tuning of the installation directories:
1225 --bindir=DIR user executables [EPREFIX/bin]
1226 --sbindir=DIR system admin executables [EPREFIX/sbin]
1227 --libexecdir=DIR program executables [EPREFIX/libexec]
1228 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1229 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1230 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1231 --libdir=DIR object code libraries [EPREFIX/lib]
1232 --includedir=DIR C header files [PREFIX/include]
1233 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1234 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1235 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1236 --infodir=DIR info documentation [DATAROOTDIR/info]
1237 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1238 --mandir=DIR man documentation [DATAROOTDIR/man]
1239 --docdir=DIR documentation root [DATAROOTDIR/doc/ctdlsalearn]
1240 --htmldir=DIR html documentation [DOCDIR]
1241 --dvidir=DIR dvi documentation [DOCDIR]
1242 --pdfdir=DIR pdf documentation [DOCDIR]
1243 --psdir=DIR ps documentation [DOCDIR]
1249 --program-prefix=PREFIX prepend PREFIX to installed program names
1250 --program-suffix=SUFFIX append SUFFIX to installed program names
1251 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1255 if test -n "$ac_init_help"; then
1256 case $ac_init_help in
1257 short | recursive ) echo "Configuration of ctdlsalearn 1.0:";;
1262 --disable-option-checking ignore unrecognized --enable/--with options
1263 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1264 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1265 --disable-dependency-tracking speeds up one-time build
1266 --enable-dependency-tracking do not reject slow dependency extractors
1268 Some influential environment variables:
1269 CC C compiler command
1270 CFLAGS C compiler flags
1271 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1272 nonstandard directory <lib dir>
1273 LIBS libraries to pass to the linker, e.g. -l<library>
1274 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1275 you have headers in a nonstandard directory <include dir>
1277 Use these variables to override the choices made by `configure' or to help
1278 it to find libraries and programs with nonstandard names/locations.
1280 Report bugs to <bug-automake@gnu.org>.
1285 if test "$ac_init_help" = "recursive"; then
1286 # If there are subdirs, report their specific --help.
1287 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1288 test -d "$ac_dir" ||
1289 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1294 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1296 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1297 # A ".." for each directory in $ac_dir_suffix.
1298 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1299 case $ac_top_builddir_sub in
1300 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1301 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1304 ac_abs_top_builddir=$ac_pwd
1305 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1306 # for backward compatibility:
1307 ac_top_builddir=$ac_top_build_prefix
1310 .) # We are building in place.
1312 ac_top_srcdir=$ac_top_builddir_sub
1313 ac_abs_top_srcdir=$ac_pwd ;;
1314 [\\/]* | ?:[\\/]* ) # Absolute name.
1315 ac_srcdir=$srcdir$ac_dir_suffix;
1316 ac_top_srcdir=$srcdir
1317 ac_abs_top_srcdir=$srcdir ;;
1319 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1320 ac_top_srcdir=$ac_top_build_prefix$srcdir
1321 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1323 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1325 cd "$ac_dir" || { ac_status=$?; continue; }
1326 # Check for guested configure.
1327 if test -f "$ac_srcdir/configure.gnu"; then
1329 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1330 elif test -f "$ac_srcdir/configure"; then
1332 $SHELL "$ac_srcdir/configure" --help=recursive
1334 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1336 cd "$ac_pwd" || { ac_status=$?; break; }
1340 test -n "$ac_init_help" && exit $ac_status
1341 if $ac_init_version; then
1343 ctdlsalearn configure 1.0
1344 generated by GNU Autoconf 2.67
1346 Copyright (C) 2010 Free Software Foundation, Inc.
1347 This configure script is free software; the Free Software Foundation
1348 gives unlimited permission to copy, distribute and modify it.
1353 ## ------------------------ ##
1354 ## Autoconf initialization. ##
1355 ## ------------------------ ##
1357 # ac_fn_c_try_compile LINENO
1358 # --------------------------
1359 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1360 ac_fn_c_try_compile ()
1362 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1363 rm -f conftest.$ac_objext
1364 if { { ac_try="$ac_compile"
1366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1367 *) ac_try_echo=$ac_try;;
1369 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1370 $as_echo "$ac_try_echo"; } >&5
1371 (eval "$ac_compile") 2>conftest.err
1373 if test -s conftest.err; then
1374 grep -v '^ *+' conftest.err >conftest.er1
1375 cat conftest.er1 >&5
1376 mv -f conftest.er1 conftest.err
1378 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1379 test $ac_status = 0; } && {
1380 test -z "$ac_c_werror_flag" ||
1381 test ! -s conftest.err
1382 } && test -s conftest.$ac_objext; then :
1385 $as_echo "$as_me: failed program was:" >&5
1386 sed 's/^/| /' conftest.$ac_ext >&5
1390 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1391 as_fn_set_status $ac_retval
1393 } # ac_fn_c_try_compile
1394 cat >config.log <<_ACEOF
1395 This file contains any messages produced by compilers while
1396 running configure, to aid debugging if configure makes a mistake.
1398 It was created by ctdlsalearn $as_me 1.0, which was
1399 generated by GNU Autoconf 2.67. Invocation command line was
1411 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1412 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1413 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1414 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1415 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1417 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1418 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1420 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1421 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1422 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1423 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1424 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1425 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1426 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1430 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1434 test -z "$as_dir" && as_dir=.
1435 $as_echo "PATH: $as_dir"
1451 # Keep a trace of the command line.
1452 # Strip out --no-create and --no-recursion so they do not pile up.
1453 # Strip out --silent because we don't want to record it for future runs.
1454 # Also quote any args containing shell meta-characters.
1455 # Make two passes to allow for proper duplicate-argument suppression.
1459 ac_must_keep_next=false
1465 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1466 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1467 | -silent | --silent | --silen | --sile | --sil)
1470 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1473 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1475 as_fn_append ac_configure_args1 " '$ac_arg'"
1476 if test $ac_must_keep_next = true; then
1477 ac_must_keep_next=false # Got value, back to normal.
1480 *=* | --config-cache | -C | -disable-* | --disable-* \
1481 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1482 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1483 | -with-* | --with-* | -without-* | --without-* | --x)
1484 case "$ac_configure_args0 " in
1485 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1488 -* ) ac_must_keep_next=true ;;
1491 as_fn_append ac_configure_args " '$ac_arg'"
1496 { ac_configure_args0=; unset ac_configure_args0;}
1497 { ac_configure_args1=; unset ac_configure_args1;}
1499 # When interrupted or exit'd, cleanup temporary files, and complete
1500 # config.log. We remove comments because anyway the quotes in there
1501 # would cause problems or look ugly.
1502 # WARNING: Use '\'' to represent an apostrophe within the trap.
1503 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1504 trap 'exit_status=$?
1505 # Save into config.log some information that might help in debugging.
1509 $as_echo "## ---------------- ##
1510 ## Cache variables. ##
1511 ## ---------------- ##"
1513 # The following way of writing the cache mishandles newlines in values,
1515 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1516 eval ac_val=\$$ac_var
1520 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1521 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1524 _ | IFS | as_nl) ;; #(
1525 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1526 *) { eval $ac_var=; unset $ac_var;} ;;
1531 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1532 *${as_nl}ac_space=\ *)
1534 "s/'\''/'\''\\\\'\'''\''/g;
1535 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1538 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1545 $as_echo "## ----------------- ##
1546 ## Output variables. ##
1547 ## ----------------- ##"
1549 for ac_var in $ac_subst_vars
1551 eval ac_val=\$$ac_var
1553 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1555 $as_echo "$ac_var='\''$ac_val'\''"
1559 if test -n "$ac_subst_files"; then
1560 $as_echo "## ------------------- ##
1561 ## File substitutions. ##
1562 ## ------------------- ##"
1564 for ac_var in $ac_subst_files
1566 eval ac_val=\$$ac_var
1568 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1570 $as_echo "$ac_var='\''$ac_val'\''"
1575 if test -s confdefs.h; then
1576 $as_echo "## ----------- ##
1583 test "$ac_signal" != 0 &&
1584 $as_echo "$as_me: caught signal $ac_signal"
1585 $as_echo "$as_me: exit $exit_status"
1587 rm -f core *.core core.conftest.* &&
1588 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1591 for ac_signal in 1 2 13 15; do
1592 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1596 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1597 rm -f -r conftest* confdefs.h
1599 $as_echo "/* confdefs.h */" > confdefs.h
1601 # Predefined preprocessor variables.
1603 cat >>confdefs.h <<_ACEOF
1604 #define PACKAGE_NAME "$PACKAGE_NAME"
1607 cat >>confdefs.h <<_ACEOF
1608 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1611 cat >>confdefs.h <<_ACEOF
1612 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1615 cat >>confdefs.h <<_ACEOF
1616 #define PACKAGE_STRING "$PACKAGE_STRING"
1619 cat >>confdefs.h <<_ACEOF
1620 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1623 cat >>confdefs.h <<_ACEOF
1624 #define PACKAGE_URL "$PACKAGE_URL"
1628 # Let the site file select an alternate cache file if it wants to.
1629 # Prefer an explicitly selected file to automatically selected ones.
1632 if test -n "$CONFIG_SITE"; then
1633 # We do not want a PATH search for config.site.
1634 case $CONFIG_SITE in #((
1635 -*) ac_site_file1=./$CONFIG_SITE;;
1636 */*) ac_site_file1=$CONFIG_SITE;;
1637 *) ac_site_file1=./$CONFIG_SITE;;
1639 elif test "x$prefix" != xNONE; then
1640 ac_site_file1=$prefix/share/config.site
1641 ac_site_file2=$prefix/etc/config.site
1643 ac_site_file1=$ac_default_prefix/share/config.site
1644 ac_site_file2=$ac_default_prefix/etc/config.site
1646 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1648 test "x$ac_site_file" = xNONE && continue
1649 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1650 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1651 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1652 sed 's/^/| /' "$ac_site_file" >&5
1654 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1655 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1656 as_fn_error $? "failed to load site script $ac_site_file
1657 See \`config.log' for more details" "$LINENO" 5 ; }
1661 if test -r "$cache_file"; then
1662 # Some versions of bash will fail to source /dev/null (special files
1663 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1664 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1665 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1666 $as_echo "$as_me: loading cache $cache_file" >&6;}
1668 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1669 *) . "./$cache_file";;
1673 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1674 $as_echo "$as_me: creating cache $cache_file" >&6;}
1678 # Check that the precious variables saved in the cache have kept the same
1680 ac_cache_corrupted=false
1681 for ac_var in $ac_precious_vars; do
1682 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1683 eval ac_new_set=\$ac_env_${ac_var}_set
1684 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1685 eval ac_new_val=\$ac_env_${ac_var}_value
1686 case $ac_old_set,$ac_new_set in
1688 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1689 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1690 ac_cache_corrupted=: ;;
1692 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1693 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1694 ac_cache_corrupted=: ;;
1697 if test "x$ac_old_val" != "x$ac_new_val"; then
1698 # differences in whitespace do not lead to failure.
1699 ac_old_val_w=`echo x $ac_old_val`
1700 ac_new_val_w=`echo x $ac_new_val`
1701 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1702 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1703 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1704 ac_cache_corrupted=:
1706 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1707 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1708 eval $ac_var=\$ac_old_val
1710 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1711 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1712 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1713 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1716 # Pass precious variables to config.status.
1717 if test "$ac_new_set" = set; then
1719 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1720 *) ac_arg=$ac_var=$ac_new_val ;;
1722 case " $ac_configure_args " in
1723 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1724 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1728 if $ac_cache_corrupted; then
1729 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1730 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1731 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1732 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1733 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1735 ## -------------------- ##
1736 ## Main body of script. ##
1737 ## -------------------- ##
1740 ac_cpp='$CPP $CPPFLAGS'
1741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1746 am__api_version="1.9"
1748 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1749 if test -f "$ac_dir/install-sh"; then
1751 ac_install_sh="$ac_aux_dir/install-sh -c"
1753 elif test -f "$ac_dir/install.sh"; then
1755 ac_install_sh="$ac_aux_dir/install.sh -c"
1757 elif test -f "$ac_dir/shtool"; then
1759 ac_install_sh="$ac_aux_dir/shtool install -c"
1763 if test -z "$ac_aux_dir"; then
1764 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1767 # These three variables are undocumented and unsupported,
1768 # and are intended to be withdrawn in a future Autoconf release.
1769 # They can cause serious problems if a builder's source tree is in a directory
1770 # whose full name contains unusual characters.
1771 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1772 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1773 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1776 # Find a good install program. We prefer a C program (faster),
1777 # so one script is as good as another. But avoid the broken or
1778 # incompatible versions:
1779 # SysV /etc/install, /usr/sbin/install
1780 # SunOS /usr/etc/install
1781 # IRIX /sbin/install
1783 # AmigaOS /C/install, which installs bootblocks on floppy discs
1784 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1785 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1786 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1787 # OS/2's system install, which has a completely different semantic
1788 # ./install, which can be erroneously created by make from ./install.sh.
1789 # Reject install programs that cannot install multiple files.
1790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1791 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1792 if test -z "$INSTALL"; then
1793 if test "${ac_cv_path_install+set}" = set; then :
1794 $as_echo_n "(cached) " >&6
1796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1800 test -z "$as_dir" && as_dir=.
1801 # Account for people who put trailing slashes in PATH elements.
1802 case $as_dir/ in #((
1803 ./ | .// | /[cC]/* | \
1804 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1805 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1808 # OSF1 and SCO ODT 3.0 have their own names for install.
1809 # Don't use installbsd from OSF since it installs stuff as root
1811 for ac_prog in ginstall scoinst install; do
1812 for ac_exec_ext in '' $ac_executable_extensions; do
1813 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1814 if test $ac_prog = install &&
1815 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1816 # AIX install. It has an incompatible calling convention.
1818 elif test $ac_prog = install &&
1819 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1820 # program-specific install script used by HP pwplus--don't use.
1823 rm -rf conftest.one conftest.two conftest.dir
1824 echo one > conftest.one
1825 echo two > conftest.two
1827 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1828 test -s conftest.one && test -s conftest.two &&
1829 test -s conftest.dir/conftest.one &&
1830 test -s conftest.dir/conftest.two
1832 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1845 rm -rf conftest.one conftest.two conftest.dir
1848 if test "${ac_cv_path_install+set}" = set; then
1849 INSTALL=$ac_cv_path_install
1851 # As a last resort, use the slow shell script. Don't cache a
1852 # value for INSTALL within a source directory, because that will
1853 # break other packages using the cache if that directory is
1854 # removed, or if the value is a relative name.
1855 INSTALL=$ac_install_sh
1858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1859 $as_echo "$INSTALL" >&6; }
1861 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1862 # It thinks the first close brace ends the variable substitution.
1863 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1865 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1867 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
1870 $as_echo_n "checking whether build environment is sane... " >&6; }
1873 echo timestamp > conftest.file
1874 # Do `set' in a subshell so we don't clobber the current shell's
1875 # arguments. Must try -L first in case configure is actually a
1876 # symlink; some systems play weird games with the mod time of symlinks
1877 # (eg FreeBSD returns the mod time of the symlink's containing
1880 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1881 if test "$*" = "X"; then
1883 set X `ls -t $srcdir/configure conftest.file`
1886 if test "$*" != "X $srcdir/configure conftest.file" \
1887 && test "$*" != "X conftest.file $srcdir/configure"; then
1889 # If neither matched, then we have a broken ls. This can happen
1890 # if, for instance, CONFIG_SHELL is bash and it inherits a
1891 # broken ls alias from the environment. This has actually
1892 # happened. Such a system could not be considered "sane".
1893 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
1894 alias in your environment" "$LINENO" 5
1897 test "$2" = conftest.file
1903 as_fn_error $? "newly created file is older than distributed files!
1904 Check your system clock" "$LINENO" 5
1906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1907 $as_echo "yes" >&6; }
1908 test "$program_prefix" != NONE &&
1909 program_transform_name="s&^&$program_prefix&;$program_transform_name"
1910 # Use a double $ so make ignores it.
1911 test "$program_suffix" != NONE &&
1912 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1913 # Double any \ or $.
1914 # By default was `s,x,x', remove it if useless.
1915 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
1916 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
1918 # expand $ac_aux_dir to an absolute path
1919 am_aux_dir=`cd $ac_aux_dir && pwd`
1921 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1922 # Use eval to expand $SHELL
1923 if eval "$MISSING --run true"; then
1924 am_missing_run="$MISSING --run "
1927 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
1928 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1931 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1932 # We used to keeping the `.' as first argument, in order to
1933 # allow $(mkdir_p) to be used without argument. As in
1934 # $(mkdir_p) $(somedir)
1935 # where $(somedir) is conditionally defined. However this is wrong
1937 # 1. if the package is installed by a user who cannot write `.'
1938 # make install will fail,
1939 # 2. the above comment should most certainly read
1940 # $(mkdir_p) $(DESTDIR)$(somedir)
1941 # so it does not work when $(somedir) is undefined and
1942 # $(DESTDIR) is not.
1943 # To support the latter case, we have to write
1944 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1945 # so the `.' trick is pointless.
1946 mkdir_p='mkdir -p --'
1948 # On NextStep and OpenStep, the `mkdir' command does not
1949 # recognize any option. It will interpret all options as
1950 # directories to create, and then abort because `.' already
1952 for d in ./-p ./--version;
1954 test -d $d && rmdir $d
1956 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1957 if test -f "$ac_aux_dir/mkinstalldirs"; then
1958 mkdir_p='$(mkinstalldirs)'
1960 mkdir_p='$(install_sh) -d'
1964 for ac_prog in gawk mawk nawk awk
1966 # Extract the first word of "$ac_prog", so it can be a program name with args.
1967 set dummy $ac_prog; ac_word=$2
1968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1969 $as_echo_n "checking for $ac_word... " >&6; }
1970 if test "${ac_cv_prog_AWK+set}" = set; then :
1971 $as_echo_n "(cached) " >&6
1973 if test -n "$AWK"; then
1974 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1976 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1980 test -z "$as_dir" && as_dir=.
1981 for ac_exec_ext in '' $ac_executable_extensions; do
1982 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1983 ac_cv_prog_AWK="$ac_prog"
1984 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1994 if test -n "$AWK"; then
1995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
1996 $as_echo "$AWK" >&6; }
1998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1999 $as_echo "no" >&6; }
2003 test -n "$AWK" && break
2006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2007 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2009 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2010 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
2011 $as_echo_n "(cached) " >&6
2013 cat >conftest.make <<\_ACEOF
2016 @echo '@@@%%%=$(MAKE)=@@@%%%'
2018 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2019 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2021 eval ac_cv_prog_make_${ac_make}_set=yes;;
2023 eval ac_cv_prog_make_${ac_make}_set=no;;
2027 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2029 $as_echo "yes" >&6; }
2032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2033 $as_echo "no" >&6; }
2034 SET_MAKE="MAKE=${MAKE-make}"
2037 rm -rf .tst 2>/dev/null
2038 mkdir .tst 2>/dev/null
2039 if test -d .tst; then
2044 rmdir .tst 2>/dev/null
2046 # test to see if srcdir already configured
2047 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2048 test -f $srcdir/config.status; then
2049 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2052 # test whether we have cygpath
2053 if test -z "$CYGPATH_W"; then
2054 if (cygpath --version) >/dev/null 2>/dev/null; then
2055 CYGPATH_W='cygpath -w'
2062 # Define the identity of the package.
2063 PACKAGE='ctdlsalearn'
2067 cat >>confdefs.h <<_ACEOF
2068 #define PACKAGE "$PACKAGE"
2072 cat >>confdefs.h <<_ACEOF
2073 #define VERSION "$VERSION"
2076 # Some tools Automake needs.
2078 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2081 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2084 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2087 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2090 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2092 install_sh=${install_sh-"$am_aux_dir/install-sh"}
2094 # Installed binaries are usually stripped using `strip' when the user
2095 # run `make install-strip'. However `strip' might not be the right
2096 # tool to use in cross-compilation environments, therefore Automake
2097 # will honor the `STRIP' environment variable to overrule this program.
2098 if test "$cross_compiling" != no; then
2099 if test -n "$ac_tool_prefix"; then
2100 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2101 set dummy ${ac_tool_prefix}strip; ac_word=$2
2102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2103 $as_echo_n "checking for $ac_word... " >&6; }
2104 if test "${ac_cv_prog_STRIP+set}" = set; then :
2105 $as_echo_n "(cached) " >&6
2107 if test -n "$STRIP"; then
2108 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2114 test -z "$as_dir" && as_dir=.
2115 for ac_exec_ext in '' $ac_executable_extensions; do
2116 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2117 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2118 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2127 STRIP=$ac_cv_prog_STRIP
2128 if test -n "$STRIP"; then
2129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2130 $as_echo "$STRIP" >&6; }
2132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2133 $as_echo "no" >&6; }
2138 if test -z "$ac_cv_prog_STRIP"; then
2140 # Extract the first word of "strip", so it can be a program name with args.
2141 set dummy strip; ac_word=$2
2142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2143 $as_echo_n "checking for $ac_word... " >&6; }
2144 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2145 $as_echo_n "(cached) " >&6
2147 if test -n "$ac_ct_STRIP"; then
2148 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2154 test -z "$as_dir" && as_dir=.
2155 for ac_exec_ext in '' $ac_executable_extensions; do
2156 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2157 ac_cv_prog_ac_ct_STRIP="strip"
2158 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2167 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2168 if test -n "$ac_ct_STRIP"; then
2169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2170 $as_echo "$ac_ct_STRIP" >&6; }
2172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2173 $as_echo "no" >&6; }
2176 if test "x$ac_ct_STRIP" = x; then
2179 case $cross_compiling:$ac_tool_warned in
2181 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2182 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2183 ac_tool_warned=yes ;;
2188 STRIP="$ac_cv_prog_STRIP"
2192 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2194 # We need awk for the "check" target. The system "awk" is bad on
2196 # Always define AMTAR for backward compatibility.
2198 AMTAR=${AMTAR-"${am_missing_run}tar"}
2200 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2207 ac_cpp='$CPP $CPPFLAGS'
2208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2211 if test -n "$ac_tool_prefix"; then
2212 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2213 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2215 $as_echo_n "checking for $ac_word... " >&6; }
2216 if test "${ac_cv_prog_CC+set}" = set; then :
2217 $as_echo_n "(cached) " >&6
2219 if test -n "$CC"; then
2220 ac_cv_prog_CC="$CC" # Let the user override the test.
2222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2226 test -z "$as_dir" && as_dir=.
2227 for ac_exec_ext in '' $ac_executable_extensions; do
2228 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2229 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2230 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2240 if test -n "$CC"; then
2241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2242 $as_echo "$CC" >&6; }
2244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2245 $as_echo "no" >&6; }
2250 if test -z "$ac_cv_prog_CC"; then
2252 # Extract the first word of "gcc", so it can be a program name with args.
2253 set dummy gcc; ac_word=$2
2254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2255 $as_echo_n "checking for $ac_word... " >&6; }
2256 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2257 $as_echo_n "(cached) " >&6
2259 if test -n "$ac_ct_CC"; then
2260 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2266 test -z "$as_dir" && as_dir=.
2267 for ac_exec_ext in '' $ac_executable_extensions; do
2268 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2269 ac_cv_prog_ac_ct_CC="gcc"
2270 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2279 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2280 if test -n "$ac_ct_CC"; then
2281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2282 $as_echo "$ac_ct_CC" >&6; }
2284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2285 $as_echo "no" >&6; }
2288 if test "x$ac_ct_CC" = x; then
2291 case $cross_compiling:$ac_tool_warned in
2293 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2294 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2295 ac_tool_warned=yes ;;
2303 if test -z "$CC"; then
2304 if test -n "$ac_tool_prefix"; then
2305 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2306 set dummy ${ac_tool_prefix}cc; 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_CC+set}" = set; then :
2310 $as_echo_n "(cached) " >&6
2312 if test -n "$CC"; then
2313 ac_cv_prog_CC="$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_CC="${ac_tool_prefix}cc"
2323 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2333 if test -n "$CC"; then
2334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2335 $as_echo "$CC" >&6; }
2337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2338 $as_echo "no" >&6; }
2344 if test -z "$CC"; then
2345 # Extract the first word of "cc", so it can be a program name with args.
2346 set dummy cc; ac_word=$2
2347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2348 $as_echo_n "checking for $ac_word... " >&6; }
2349 if test "${ac_cv_prog_CC+set}" = set; then :
2350 $as_echo_n "(cached) " >&6
2352 if test -n "$CC"; then
2353 ac_cv_prog_CC="$CC" # Let the user override the test.
2356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2360 test -z "$as_dir" && as_dir=.
2361 for ac_exec_ext in '' $ac_executable_extensions; do
2362 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2363 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2364 ac_prog_rejected=yes
2368 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2375 if test $ac_prog_rejected = yes; then
2376 # We found a bogon in the path, so make sure we never use it.
2377 set dummy $ac_cv_prog_CC
2379 if test $# != 0; then
2380 # We chose a different compiler from the bogus one.
2381 # However, it has the same basename, so the bogon will be chosen
2382 # first if we set CC to just the basename; use the full file name.
2384 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2390 if test -n "$CC"; then
2391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2392 $as_echo "$CC" >&6; }
2394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2395 $as_echo "no" >&6; }
2400 if test -z "$CC"; then
2401 if test -n "$ac_tool_prefix"; then
2402 for ac_prog in cl.exe
2404 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2405 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2407 $as_echo_n "checking for $ac_word... " >&6; }
2408 if test "${ac_cv_prog_CC+set}" = set; then :
2409 $as_echo_n "(cached) " >&6
2411 if test -n "$CC"; then
2412 ac_cv_prog_CC="$CC" # Let the user override the test.
2414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2418 test -z "$as_dir" && as_dir=.
2419 for ac_exec_ext in '' $ac_executable_extensions; do
2420 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2421 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2422 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2432 if test -n "$CC"; then
2433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2434 $as_echo "$CC" >&6; }
2436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2437 $as_echo "no" >&6; }
2441 test -n "$CC" && break
2444 if test -z "$CC"; then
2446 for ac_prog in cl.exe
2448 # Extract the first word of "$ac_prog", so it can be a program name with args.
2449 set dummy $ac_prog; ac_word=$2
2450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2451 $as_echo_n "checking for $ac_word... " >&6; }
2452 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2453 $as_echo_n "(cached) " >&6
2455 if test -n "$ac_ct_CC"; then
2456 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2462 test -z "$as_dir" && as_dir=.
2463 for ac_exec_ext in '' $ac_executable_extensions; do
2464 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2465 ac_cv_prog_ac_ct_CC="$ac_prog"
2466 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2475 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2476 if test -n "$ac_ct_CC"; then
2477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2478 $as_echo "$ac_ct_CC" >&6; }
2480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2481 $as_echo "no" >&6; }
2485 test -n "$ac_ct_CC" && break
2488 if test "x$ac_ct_CC" = x; then
2491 case $cross_compiling:$ac_tool_warned in
2493 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2494 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2495 ac_tool_warned=yes ;;
2504 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2505 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2506 as_fn_error $? "no acceptable C compiler found in \$PATH
2507 See \`config.log' for more details" "$LINENO" 5 ; }
2509 # Provide some information about the compiler.
2510 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2513 for ac_option in --version -v -V -qversion; do
2514 { { ac_try="$ac_compiler $ac_option >&5"
2516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2517 *) ac_try_echo=$ac_try;;
2519 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2520 $as_echo "$ac_try_echo"; } >&5
2521 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2523 if test -s conftest.err; then
2525 ... rest of stderr output deleted ...
2526 10q' conftest.err >conftest.er1
2527 cat conftest.er1 >&5
2529 rm -f conftest.er1 conftest.err
2530 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2531 test $ac_status = 0; }
2534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2535 /* end confdefs.h. */
2545 ac_clean_files_save=$ac_clean_files
2546 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2547 # Try to create an executable without -o first, disregard a.out.
2548 # It will help us diagnose broken compilers, and finding out an intuition
2550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2551 $as_echo_n "checking whether the C compiler works... " >&6; }
2552 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2554 # The possible output files:
2555 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2558 for ac_file in $ac_files
2561 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2562 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2567 if { { ac_try="$ac_link_default"
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_link_default") 2>&5
2576 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2577 test $ac_status = 0; }; then :
2578 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2579 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2580 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2581 # so that the user can short-circuit this test for compilers unknown to
2583 for ac_file in $ac_files ''
2585 test -f "$ac_file" || continue
2587 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2590 # We found the default executable, but exeext='' is most
2594 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2596 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2598 # We set ac_cv_exeext here because the later test for it is not
2599 # safe: cross compilers may not add the suffix if given an `-o'
2600 # argument, so we may need to know it at that point already.
2601 # Even if this section looks crufty: it has the advantage of
2608 test "$ac_cv_exeext" = no && ac_cv_exeext=
2613 if test -z "$ac_file"; then :
2614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2615 $as_echo "no" >&6; }
2616 $as_echo "$as_me: failed program was:" >&5
2617 sed 's/^/| /' conftest.$ac_ext >&5
2619 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2620 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2621 as_fn_error 77 "C compiler cannot create executables
2622 See \`config.log' for more details" "$LINENO" 5 ; }
2624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2625 $as_echo "yes" >&6; }
2627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2628 $as_echo_n "checking for C compiler default output file name... " >&6; }
2629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2630 $as_echo "$ac_file" >&6; }
2631 ac_exeext=$ac_cv_exeext
2633 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2634 ac_clean_files=$ac_clean_files_save
2635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2636 $as_echo_n "checking for suffix of executables... " >&6; }
2637 if { { ac_try="$ac_link"
2639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2640 *) ac_try_echo=$ac_try;;
2642 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2643 $as_echo "$ac_try_echo"; } >&5
2644 (eval "$ac_link") 2>&5
2646 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2647 test $ac_status = 0; }; then :
2648 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2649 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2650 # work properly (i.e., refer to `conftest.exe'), while it won't with
2652 for ac_file in conftest.exe conftest conftest.*; do
2653 test -f "$ac_file" || continue
2655 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2656 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2662 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2663 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2664 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2665 See \`config.log' for more details" "$LINENO" 5 ; }
2667 rm -f conftest conftest$ac_cv_exeext
2668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2669 $as_echo "$ac_cv_exeext" >&6; }
2671 rm -f conftest.$ac_ext
2672 EXEEXT=$ac_cv_exeext
2674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2675 /* end confdefs.h. */
2680 FILE *f = fopen ("conftest.out", "w");
2681 return ferror (f) || fclose (f) != 0;
2687 ac_clean_files="$ac_clean_files conftest.out"
2688 # Check that the compiler produces executables we can run. If not, either
2689 # the compiler is broken, or we cross compile.
2690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2691 $as_echo_n "checking whether we are cross compiling... " >&6; }
2692 if test "$cross_compiling" != yes; then
2693 { { ac_try="$ac_link"
2695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2696 *) ac_try_echo=$ac_try;;
2698 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2699 $as_echo "$ac_try_echo"; } >&5
2700 (eval "$ac_link") 2>&5
2702 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2703 test $ac_status = 0; }
2704 if { ac_try='./conftest$ac_cv_exeext'
2705 { { case "(($ac_try" in
2706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2707 *) ac_try_echo=$ac_try;;
2709 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2710 $as_echo "$ac_try_echo"; } >&5
2711 (eval "$ac_try") 2>&5
2713 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2714 test $ac_status = 0; }; }; then
2717 if test "$cross_compiling" = maybe; then
2720 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2721 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2722 as_fn_error $? "cannot run C compiled programs.
2723 If you meant to cross compile, use \`--host'.
2724 See \`config.log' for more details" "$LINENO" 5 ; }
2728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2729 $as_echo "$cross_compiling" >&6; }
2731 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2732 ac_clean_files=$ac_clean_files_save
2733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2734 $as_echo_n "checking for suffix of object files... " >&6; }
2735 if test "${ac_cv_objext+set}" = set; then :
2736 $as_echo_n "(cached) " >&6
2738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2739 /* end confdefs.h. */
2749 rm -f conftest.o conftest.obj
2750 if { { ac_try="$ac_compile"
2752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2753 *) ac_try_echo=$ac_try;;
2755 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2756 $as_echo "$ac_try_echo"; } >&5
2757 (eval "$ac_compile") 2>&5
2759 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2760 test $ac_status = 0; }; then :
2761 for ac_file in conftest.o conftest.obj conftest.*; do
2762 test -f "$ac_file" || continue;
2764 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2765 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2770 $as_echo "$as_me: failed program was:" >&5
2771 sed 's/^/| /' conftest.$ac_ext >&5
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 compute suffix of object files: cannot compile
2776 See \`config.log' for more details" "$LINENO" 5 ; }
2778 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2781 $as_echo "$ac_cv_objext" >&6; }
2782 OBJEXT=$ac_cv_objext
2784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2785 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2786 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
2787 $as_echo_n "(cached) " >&6
2789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2790 /* end confdefs.h. */
2803 if ac_fn_c_try_compile "$LINENO"; then :
2808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2809 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2813 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2814 if test $ac_compiler_gnu = yes; then
2819 ac_test_CFLAGS=${CFLAGS+set}
2820 ac_save_CFLAGS=$CFLAGS
2821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2822 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2823 if test "${ac_cv_prog_cc_g+set}" = set; then :
2824 $as_echo_n "(cached) " >&6
2826 ac_save_c_werror_flag=$ac_c_werror_flag
2827 ac_c_werror_flag=yes
2830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2831 /* end confdefs.h. */
2841 if ac_fn_c_try_compile "$LINENO"; then :
2845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2846 /* end confdefs.h. */
2856 if ac_fn_c_try_compile "$LINENO"; then :
2859 ac_c_werror_flag=$ac_save_c_werror_flag
2861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2862 /* end confdefs.h. */
2872 if ac_fn_c_try_compile "$LINENO"; then :
2875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2880 ac_c_werror_flag=$ac_save_c_werror_flag
2882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2883 $as_echo "$ac_cv_prog_cc_g" >&6; }
2884 if test "$ac_test_CFLAGS" = set; then
2885 CFLAGS=$ac_save_CFLAGS
2886 elif test $ac_cv_prog_cc_g = yes; then
2887 if test "$GCC" = yes; then
2893 if test "$GCC" = yes; then
2899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2900 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2901 if test "${ac_cv_prog_cc_c89+set}" = set; then :
2902 $as_echo_n "(cached) " >&6
2904 ac_cv_prog_cc_c89=no
2906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2907 /* end confdefs.h. */
2910 #include <sys/types.h>
2911 #include <sys/stat.h>
2912 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2913 struct buf { int x; };
2914 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2915 static char *e (p, i)
2921 static char *f (char * (*g) (char **, int), char **p, ...)
2926 s = g (p, va_arg (v,int));
2931 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2932 function prototypes and stuff, but not '\xHH' hex character constants.
2933 These don't provoke an error unfortunately, instead are silently treated
2934 as 'x'. The following induces an error, until -std is added to get
2935 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2936 array size at least. It's necessary to write '\x00'==0 to get something
2937 that's true only with -std. */
2938 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2940 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2941 inside strings and character constants. */
2943 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2945 int test (int i, double x);
2946 struct s1 {int (*f) (int a);};
2947 struct s2 {int (*f) (double a);};
2948 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2954 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2959 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2960 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2962 CC="$ac_save_CC $ac_arg"
2963 if ac_fn_c_try_compile "$LINENO"; then :
2964 ac_cv_prog_cc_c89=$ac_arg
2966 rm -f core conftest.err conftest.$ac_objext
2967 test "x$ac_cv_prog_cc_c89" != "xno" && break
2969 rm -f conftest.$ac_ext
2974 case "x$ac_cv_prog_cc_c89" in
2976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2977 $as_echo "none needed" >&6; } ;;
2979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2980 $as_echo "unsupported" >&6; } ;;
2982 CC="$CC $ac_cv_prog_cc_c89"
2983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2984 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2986 if test "x$ac_cv_prog_cc_c89" != xno; then :
2991 ac_cpp='$CPP $CPPFLAGS'
2992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2995 DEPDIR="${am__leading_dot}deps"
2997 ac_config_commands="$ac_config_commands depfiles"
3000 am_make=${MAKE-make}
3001 cat > confinc << 'END'
3006 # If we don't find an include directive, just comment out the code.
3007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3008 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3012 # First try GNU make style include.
3013 echo "include confinc" > confmf
3014 # We grep out `Entering directory' and `Leaving directory'
3015 # messages which can occur if `w' ends up in MAKEFLAGS.
3016 # In particular we don't look at `^make:' because GNU make might
3017 # be invoked under some other name (usually "gmake"), in which
3018 # case it prints its new name instead of `make'.
3019 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3024 # Now try BSD make style include.
3025 if test "$am__include" = "#"; then
3026 echo '.include "confinc"' > confmf
3027 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3028 am__include=.include
3035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3036 $as_echo "$_am_result" >&6; }
3037 rm -f confinc confmf
3039 # Check whether --enable-dependency-tracking was given.
3040 if test "${enable_dependency_tracking+set}" = set; then :
3041 enableval=$enable_dependency_tracking;
3044 if test "x$enable_dependency_tracking" != xno; then
3045 am_depcomp="$ac_aux_dir/depcomp"
3050 if test "x$enable_dependency_tracking" != xno; then
3061 depcc="$CC" am_compiler_list=
3063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3064 $as_echo_n "checking dependency style of $depcc... " >&6; }
3065 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3066 $as_echo_n "(cached) " >&6
3068 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3069 # We make a subdir and do the tests there. Otherwise we can end up
3070 # making bogus files that we don't know about and never remove. For
3071 # instance it was reported that on HP-UX the gcc test will end up
3072 # making a dummy file named `D' -- because `-MD' means `put the output
3075 # Copy depcomp to subdir because otherwise we won't find it if we're
3076 # using a relative directory.
3077 cp "$am_depcomp" conftest.dir
3079 # We will build objects and dependencies in a subdirectory because
3080 # it helps to detect inapplicable dependency modes. For instance
3081 # both Tru64's cc and ICC support -MD to output dependencies as a
3082 # side effect of compilation, but ICC will put the dependencies in
3083 # the current directory while Tru64 will put them in the object
3087 am_cv_CC_dependencies_compiler_type=none
3088 if test "$am_compiler_list" = ""; then
3089 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3091 for depmode in $am_compiler_list; do
3092 # Setup a source with many dependencies, because some compilers
3093 # like to wrap large dependency lists on column 80 (with \), and
3094 # we should not choose a depcomp mode which is confused by this.
3096 # We need to recreate these files for each test, as the compiler may
3097 # overwrite some of them when testing with obscure command lines.
3098 # This happens at least with the AIX C compiler.
3100 for i in 1 2 3 4 5 6; do
3101 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3102 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3103 # Solaris 8's {/usr,}/bin/sh.
3104 touch sub/conftst$i.h
3106 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3110 # after this tag, mechanisms are not by side-effect, so they'll
3111 # only be used when explicitly requested
3112 if test "x$enable_dependency_tracking" = xyes; then
3120 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3121 # mode. It turns out that the SunPro C++ compiler does not properly
3122 # handle `-M -o', and we need to detect this.
3123 if depmode=$depmode \
3124 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3125 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3126 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3127 >/dev/null 2>conftest.err &&
3128 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3129 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3130 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3131 # icc doesn't choke on unknown options, it will just issue warnings
3132 # or remarks (even with -Werror). So we grep stderr for any message
3133 # that says an option was ignored or not supported.
3134 # When given -MP, icc 7.0 and 7.1 complain thusly:
3135 # icc: Command line warning: ignoring option '-M'; no argument required
3136 # The diagnosis changed in icc 8.0:
3137 # icc: Command line remark: option '-MP' not supported
3138 if (grep 'ignoring option' conftest.err ||
3139 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3140 am_cv_CC_dependencies_compiler_type=$depmode
3149 am_cv_CC_dependencies_compiler_type=none
3153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3154 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3155 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3160 test "x$enable_dependency_tracking" != xno \
3161 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3163 am__fastdepCC_FALSE='#'
3165 am__fastdepCC_TRUE='#'
3166 am__fastdepCC_FALSE=
3170 ac_config_headers="$ac_config_headers config.h"
3174 ac_config_files="$ac_config_files Makefile src/Makefile"
3176 cat >confcache <<\_ACEOF
3177 # This file is a shell script that caches the results of configure
3178 # tests run on this system so they can be shared between configure
3179 # scripts and configure runs, see configure's option --config-cache.
3180 # It is not useful on other systems. If it contains results you don't
3181 # want to keep, you may remove or edit it.
3183 # config.status only pays attention to the cache file if you give it
3184 # the --recheck option to rerun configure.
3186 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3187 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3192 # The following way of writing the cache mishandles newlines in values,
3193 # but we know of no workaround that is simple, portable, and efficient.
3194 # So, we kill variables containing newlines.
3195 # Ultrix sh set writes to stderr and can't be redirected directly,
3196 # and sets the high bit in the cache file unless we assign to the vars.
3198 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3199 eval ac_val=\$$ac_var
3203 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3204 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3207 _ | IFS | as_nl) ;; #(
3208 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3209 *) { eval $ac_var=; unset $ac_var;} ;;
3215 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3216 *${as_nl}ac_space=\ *)
3217 # `set' does not quote correctly, so add quotes: double-quote
3218 # substitution turns \\\\ into \\, and sed turns \\ into \.
3221 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3224 # `set' quotes correctly as required by POSIX, so do not add quotes.
3225 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3234 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3236 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3238 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3239 if test -w "$cache_file"; then
3240 test "x$cache_file" != "x/dev/null" &&
3241 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3242 $as_echo "$as_me: updating cache $cache_file" >&6;}
3243 cat confcache >$cache_file
3245 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3246 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3251 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3252 # Let make expand exec_prefix.
3253 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3255 DEFS=-DHAVE_CONFIG_H
3260 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3261 # 1. Remove the extension, and $U if already installed.
3262 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3263 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
3264 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3265 # will be set to the directory where LIBOBJS objects are built.
3266 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3267 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
3271 LTLIBOBJS=$ac_ltlibobjs
3274 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
3275 as_fn_error $? "conditional \"AMDEP\" was never defined.
3276 Usually this means the macro was only invoked conditionally." "$LINENO" 5
3278 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
3279 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
3280 Usually this means the macro was only invoked conditionally." "$LINENO" 5
3283 : ${CONFIG_STATUS=./config.status}
3285 ac_clean_files_save=$ac_clean_files
3286 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3287 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3288 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3290 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3292 # Generated by $as_me.
3293 # Run this file to recreate the current configuration.
3294 # Compiler output produced by configure, useful for debugging
3295 # configure, is in config.log if it exists.
3301 SHELL=\${CONFIG_SHELL-$SHELL}
3304 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
3305 ## -------------------- ##
3306 ## M4sh Initialization. ##
3307 ## -------------------- ##
3309 # Be more Bourne compatible
3310 DUALCASE=1; export DUALCASE # for MKS sh
3311 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
3314 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3315 # is contrary to our usage. Disable this feature.
3316 alias -g '${1+"$@"}'='"$@"'
3317 setopt NO_GLOB_SUBST
3319 case `(set -o) 2>/dev/null` in #(
3331 # Printing a long string crashes Solaris 7 /usr/bin/printf.
3332 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3333 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3334 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3335 # Prefer a ksh shell builtin over an external printf program on Solaris,
3336 # but without wasting forks for bash or zsh.
3337 if test -z "$BASH_VERSION$ZSH_VERSION" \
3338 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
3339 as_echo='print -r --'
3340 as_echo_n='print -rn --'
3341 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3342 as_echo='printf %s\n'
3343 as_echo_n='printf %s'
3345 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3346 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
3347 as_echo_n='/usr/ucb/echo -n'
3349 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3350 as_echo_n_body='eval
3354 expr "X$arg" : "X\\(.*\\)$as_nl";
3355 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3357 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
3359 export as_echo_n_body
3360 as_echo_n='sh -c $as_echo_n_body as_echo'
3363 as_echo='sh -c $as_echo_body as_echo'
3366 # The user is always right.
3367 if test "${PATH_SEPARATOR+set}" != set; then
3369 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3370 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3377 # We need space, tab and new line, in precisely that order. Quoting is
3378 # there to prevent editors from complaining about space-tab.
3379 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3380 # splitting by setting IFS to empty value.)
3383 # Find who we are. Look in the path if we contain no directory separator.
3385 *[\\/]* ) as_myself=$0 ;;
3386 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3390 test -z "$as_dir" && as_dir=.
3391 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3397 # We did not find ourselves, most probably we were run as `sh COMMAND'
3398 # in which case we are not to be found in the path.
3399 if test "x$as_myself" = x; then
3402 if test ! -f "$as_myself"; then
3403 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3407 # Unset variables that we do not need and which cause bugs (e.g. in
3408 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
3409 # suppresses any "Segmentation fault" message there. '((' could
3410 # trigger a bug in pdksh 5.2.14.
3411 for as_var in BASH_ENV ENV MAIL MAILPATH
3412 do eval test x\${$as_var+set} = xset \
3413 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
3426 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
3429 # as_fn_error STATUS ERROR [LINENO LOG_FD]
3430 # ----------------------------------------
3431 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3432 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3433 # script with STATUS, using 1 if that was 0.
3436 as_status=$1; test $as_status -eq 0 && as_status=1
3438 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3439 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
3441 $as_echo "$as_me: error: $2" >&2
3442 as_fn_exit $as_status
3446 # as_fn_set_status STATUS
3447 # -----------------------
3448 # Set $? to STATUS, without forking.
3452 } # as_fn_set_status
3456 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3466 # Portably unset VAR.
3469 { eval $1=; unset $1;}
3471 as_unset=as_fn_unset
3472 # as_fn_append VAR VALUE
3473 # ----------------------
3474 # Append the text in VALUE to the end of the definition contained in VAR. Take
3475 # advantage of any shell optimizations that allow amortized linear growth over
3476 # repeated appends, instead of the typical quadratic growth present in naive
3478 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
3479 eval 'as_fn_append ()
3490 # as_fn_arith ARG...
3491 # ------------------
3492 # Perform arithmetic evaluation on the ARGs, and store the result in the
3493 # global $as_val. Take advantage of shells that can avoid forks. The arguments
3494 # must be portable across $(()) and expr.
3495 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
3496 eval 'as_fn_arith ()
3503 as_val=`expr "$@" || test $? -eq 1`
3508 if expr a : '\(a\)' >/dev/null 2>&1 &&
3509 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3515 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3516 as_basename=basename
3521 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3527 as_me=`$as_basename -- "$0" ||
3528 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3529 X"$0" : 'X\(//\)$' \| \
3530 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3532 sed '/^.*\/\([^/][^/]*\)\/*$/{
3546 # Avoid depending upon Character Ranges.
3547 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3548 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3549 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3550 as_cr_digits='0123456789'
3551 as_cr_alnum=$as_cr_Letters$as_cr_digits
3553 ECHO_C= ECHO_N= ECHO_T=
3554 case `echo -n x` in #(((((
3556 case `echo 'xy\c'` in
3557 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3559 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
3566 rm -f conf$$ conf$$.exe conf$$.file
3567 if test -d conf$$.dir; then
3568 rm -f conf$$.dir/conf$$.file
3571 mkdir conf$$.dir 2>/dev/null
3573 if (echo >conf$$.file) 2>/dev/null; then
3574 if ln -s conf$$.file conf$$ 2>/dev/null; then
3576 # ... but there are two gotchas:
3577 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3578 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3579 # In both cases, we have to default to `cp -p'.
3580 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3582 elif ln conf$$.file conf$$ 2>/dev/null; then
3590 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3591 rmdir conf$$.dir 2>/dev/null
3596 # Create "$as_dir" as a directory, including parents if necessary.
3601 -*) as_dir=./$as_dir;;
3603 test -d "$as_dir" || eval $as_mkdir_p || {
3607 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3608 *) as_qdir=$as_dir;;
3610 as_dirs="'$as_qdir' $as_dirs"
3611 as_dir=`$as_dirname -- "$as_dir" ||
3612 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3613 X"$as_dir" : 'X\(//\)[^/]' \| \
3614 X"$as_dir" : 'X\(//\)$' \| \
3615 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3616 $as_echo X"$as_dir" |
3617 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3634 test -d "$as_dir" && break
3636 test -z "$as_dirs" || eval "mkdir $as_dirs"
3637 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
3641 if mkdir -p . 2>/dev/null; then
3642 as_mkdir_p='mkdir -p "$as_dir"'
3644 test -d ./-p && rmdir ./-p
3648 if test -x / >/dev/null 2>&1; then
3651 if ls -dL / >/dev/null 2>&1; then
3658 if test -d "$1"; then
3664 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
3665 ???[sx]*):;;*)false;;esac;fi
3669 as_executable_p=$as_test_x
3671 # Sed expression to map a string onto a valid CPP name.
3672 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3674 # Sed expression to map a string onto a valid variable name.
3675 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3679 ## ----------------------------------- ##
3680 ## Main body of $CONFIG_STATUS script. ##
3681 ## ----------------------------------- ##
3683 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
3685 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3686 # Save the log message, to keep $0 and so on meaningful, and to
3687 # report actual input values of CONFIG_FILES etc. instead of their
3688 # values after options handling.
3690 This file was extended by ctdlsalearn $as_me 1.0, which was
3691 generated by GNU Autoconf 2.67. Invocation command line was
3693 CONFIG_FILES = $CONFIG_FILES
3694 CONFIG_HEADERS = $CONFIG_HEADERS
3695 CONFIG_LINKS = $CONFIG_LINKS
3696 CONFIG_COMMANDS = $CONFIG_COMMANDS
3699 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3704 case $ac_config_files in *"
3705 "*) set x $ac_config_files; shift; ac_config_files=$*;;
3708 case $ac_config_headers in *"
3709 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
3713 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3714 # Files that config.status was made for.
3715 config_files="$ac_config_files"
3716 config_headers="$ac_config_headers"
3717 config_commands="$ac_config_commands"
3721 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3723 \`$as_me' instantiates files and other configuration actions
3724 from templates according to the current configuration. Unless the files
3725 and actions are specified as TAGs, all are instantiated by default.
3727 Usage: $0 [OPTION]... [TAG]...
3729 -h, --help print this help, then exit
3730 -V, --version print version number and configuration settings, then exit
3731 --config print configuration, then exit
3732 -q, --quiet, --silent
3733 do not print progress messages
3734 -d, --debug don't remove temporary files
3735 --recheck update $as_me by reconfiguring in the same conditions
3736 --file=FILE[:TEMPLATE]
3737 instantiate the configuration file FILE
3738 --header=FILE[:TEMPLATE]
3739 instantiate the configuration header FILE
3741 Configuration files:
3744 Configuration headers:
3747 Configuration commands:
3750 Report bugs to <bug-automake@gnu.org>."
3753 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3754 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
3756 ctdlsalearn config.status 1.0
3757 configured by $0, generated by GNU Autoconf 2.67,
3758 with options \\"\$ac_cs_config\\"
3760 Copyright (C) 2010 Free Software Foundation, Inc.
3761 This config.status script is free software; the Free Software Foundation
3762 gives unlimited permission to copy, distribute and modify it."
3768 test -n "\$AWK" || AWK=awk
3771 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3772 # The default lists apply if the user does not specify any file.
3778 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3779 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3783 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3795 # Handling of the options.
3796 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3798 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3799 $as_echo "$ac_cs_version"; exit ;;
3800 --config | --confi | --conf | --con | --co | --c )
3801 $as_echo "$ac_cs_config"; exit ;;
3802 --debug | --debu | --deb | --de | --d | -d )
3804 --file | --fil | --fi | --f )
3807 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3808 '') as_fn_error $? "missing file argument" ;;
3810 as_fn_append CONFIG_FILES " '$ac_optarg'"
3811 ac_need_defaults=false;;
3812 --header | --heade | --head | --hea )
3815 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3817 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
3818 ac_need_defaults=false;;
3820 # Conflict between --help and --header
3821 as_fn_error $? "ambiguous option: \`$1'
3822 Try \`$0 --help' for more information.";;
3823 --help | --hel | -h )
3824 $as_echo "$ac_cs_usage"; exit ;;
3825 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3826 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3830 -*) as_fn_error $? "unrecognized option: \`$1'
3831 Try \`$0 --help' for more information." ;;
3833 *) as_fn_append ac_config_targets " $1"
3834 ac_need_defaults=false ;;
3840 ac_configure_extra_args=
3842 if $ac_cs_silent; then
3844 ac_configure_extra_args="$ac_configure_extra_args --silent"
3848 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3849 if \$ac_cs_recheck; then
3850 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3852 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3853 CONFIG_SHELL='$SHELL'
3859 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3863 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3864 ## Running $as_me. ##
3870 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3874 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
3878 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3880 # Handling of arguments.
3881 for ac_config_target in $ac_config_targets
3883 case $ac_config_target in
3884 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
3885 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
3886 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3887 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
3889 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
3894 # If the user did not use the arguments to specify the items to instantiate,
3895 # then the envvar interface is used. Set only those that are not.
3896 # We use the long form for the default assignment because of an extremely
3897 # bizarre bug on SunOS 4.1.3.
3898 if $ac_need_defaults; then
3899 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3900 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
3901 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
3904 # Have a temporary directory for convenience. Make it in the build tree
3905 # simply because there is no reason against having it here, and in addition,
3906 # creating and moving files from /tmp can sometimes cause problems.
3907 # Hook for its removal unless debugging.
3908 # Note that there is a small window in which the directory will not be cleaned:
3909 # after its creation but before its name has been assigned to `$tmp'.
3913 trap 'exit_status=$?
3914 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
3916 trap 'as_fn_exit 1' 1 2 13 15
3918 # Create a (secure) tmp directory for tmp files.
3921 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3922 test -n "$tmp" && test -d "$tmp"
3925 tmp=./conf$$-$RANDOM
3926 (umask 077 && mkdir "$tmp")
3927 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
3929 # Set up the scripts for CONFIG_FILES section.
3930 # No need to generate them if there are no CONFIG_FILES.
3931 # This happens for instance with `./config.status config.h'.
3932 if test -n "$CONFIG_FILES"; then
3935 ac_cr=`echo X | tr X '\015'`
3936 # On cygwin, bash can eat \r inside `` if the user requested igncr.
3937 # But we know of no other shell where ac_cr would be empty at this
3938 # point, so we can use a bashism as a fallback.
3939 if test "x$ac_cr" = x; then
3940 eval ac_cr=\$\'\\r\'
3942 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3943 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3949 echo 'BEGIN {' >"$tmp/subs1.awk" &&
3954 echo "cat >conf$$subs.awk <<_ACEOF" &&
3955 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3958 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3959 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
3961 for ac_last_try in false false false false false :; do
3962 . ./conf$$subs.sh ||
3963 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3965 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
3966 if test $ac_delim_n = $ac_delim_num; then
3968 elif $ac_last_try; then
3969 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3971 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3976 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3977 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
3981 s/^/S["/; s/!.*/"]=/
3991 s/\(.\{148\}\)..*/\1/
3993 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3998 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4005 s/\(.\{148\}\)..*/\1/
4007 s/["\\]/\\&/g; s/^/"/; s/$/"/
4011 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4016 ' <conf$$subs.awk | sed '
4021 ' >>$CONFIG_STATUS || ac_write_fail=1
4022 rm -f conf$$subs.awk
4023 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4025 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
4026 for (key in S) S_is_set[key] = 1
4032 nfields = split(line, field, "@")
4034 len = length(field[1])
4035 for (i = 2; i < nfields; i++) {
4037 keylen = length(key)
4038 if (S_is_set[key]) {
4040 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4041 len += length(value) + length(field[++i])
4052 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4053 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4054 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4057 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
4058 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
4061 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
4062 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
4063 # trailing colons and then remove the whole line if VPATH becomes empty
4064 # (actually we leave an empty line to preserve line numbers).
4065 if test "x$srcdir" = x.; then
4066 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
4084 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4085 fi # test -n "$CONFIG_FILES"
4087 # Set up the scripts for CONFIG_HEADERS section.
4088 # No need to generate them if there are no CONFIG_HEADERS.
4089 # This happens for instance with `./config.status Makefile'.
4090 if test -n "$CONFIG_HEADERS"; then
4091 cat >"$tmp/defines.awk" <<\_ACAWK ||
4095 # Transform confdefs.h into an awk script `defines.awk', embedded as
4096 # here-document in config.status, that substitutes the proper values into
4097 # config.h.in to produce config.h.
4099 # Create a delimiter string that does not exist in confdefs.h, to ease
4100 # handling of long lines.
4102 for ac_last_try in false false :; do
4103 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
4104 if test -z "$ac_t"; then
4106 elif $ac_last_try; then
4107 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
4109 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4113 # For the awk script, D is an array of macro values keyed by name,
4114 # likewise P contains macro parameters if any. Preserve backslash
4115 # newline sequences.
4117 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
4119 s/.\{148\}/&'"$ac_delim"'/g
4122 s/^[ ]*#[ ]*define[ ][ ]*/ /
4129 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
4131 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
4135 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
4136 D["\1"]=" \3\\\\\\n"\\/p
4138 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
4143 s/.\{148\}/&'"$ac_delim"'/g
4148 s/["\\]/\\&/g; s/^/"/; s/$/"/p
4151 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
4153 ' <confdefs.h | sed '
4154 s/'"$ac_delim"'/"\\\
4155 "/g' >>$CONFIG_STATUS || ac_write_fail=1
4157 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4158 for (key in D) D_is_set[key] = 1
4161 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
4163 split(line, arg, " ")
4164 if (arg[1] == "#") {
4168 defundef = substr(arg[1], 2)
4171 split(mac1, mac2, "(") #)
4173 prefix = substr(line, 1, index(line, defundef) - 1)
4174 if (D_is_set[macro]) {
4175 # Preserve the white space surrounding the "#".
4176 print prefix "define", macro P[macro] D[macro]
4179 # Replace #undef with comments. This is necessary, for example,
4180 # in the case of _POSIX_SOURCE, which is predefined and required
4181 # on some systems where configure will not decide to define it.
4182 if (defundef == "undef") {
4183 print "/*", prefix defundef, macro, "*/"
4191 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4192 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
4193 fi # test -n "$CONFIG_HEADERS"
4196 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
4201 :[FHLC]) ac_mode=$ac_tag; continue;;
4203 case $ac_mode$ac_tag in
4205 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
4206 :[FH]-) ac_tag=-:-;;
4207 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4224 -) ac_f="$tmp/stdin";;
4225 *) # Look for the file first in the build tree, then in the source tree
4226 # (if the path is not absolute). The absolute path cannot be DOS-style,
4227 # because $ac_f cannot contain `:'.
4231 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4233 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
4235 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4236 as_fn_append ac_file_inputs " '$ac_f'"
4239 # Let's still pretend it is `configure' which instantiates (i.e., don't
4240 # use $as_me), people would be surprised to read:
4241 # /* config.h. Generated by config.status. */
4242 configure_input='Generated from '`
4243 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4245 if test x"$ac_file" != x-; then
4246 configure_input="$ac_file. $configure_input"
4247 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
4248 $as_echo "$as_me: creating $ac_file" >&6;}
4250 # Neutralize special characters interpreted by sed in replacement strings.
4251 case $configure_input in #(
4252 *\&* | *\|* | *\\* )
4253 ac_sed_conf_input=`$as_echo "$configure_input" |
4254 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4255 *) ac_sed_conf_input=$configure_input;;
4259 *:-:* | *:-) cat >"$tmp/stdin" \
4260 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
4265 ac_dir=`$as_dirname -- "$ac_file" ||
4266 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4267 X"$ac_file" : 'X\(//\)[^/]' \| \
4268 X"$ac_file" : 'X\(//\)$' \| \
4269 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4270 $as_echo X"$ac_file" |
4271 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4288 as_dir="$ac_dir"; as_fn_mkdir_p
4292 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4294 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4295 # A ".." for each directory in $ac_dir_suffix.
4296 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4297 case $ac_top_builddir_sub in
4298 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4299 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4302 ac_abs_top_builddir=$ac_pwd
4303 ac_abs_builddir=$ac_pwd$ac_dir_suffix
4304 # for backward compatibility:
4305 ac_top_builddir=$ac_top_build_prefix
4308 .) # We are building in place.
4310 ac_top_srcdir=$ac_top_builddir_sub
4311 ac_abs_top_srcdir=$ac_pwd ;;
4312 [\\/]* | ?:[\\/]* ) # Absolute name.
4313 ac_srcdir=$srcdir$ac_dir_suffix;
4314 ac_top_srcdir=$srcdir
4315 ac_abs_top_srcdir=$srcdir ;;
4317 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4318 ac_top_srcdir=$ac_top_build_prefix$srcdir
4319 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4321 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4331 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4332 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
4336 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4337 # If the template does not know about datarootdir, expand it.
4338 # FIXME: This hack should be removed a few years after 2.60.
4339 ac_datarootdir_hack=; ac_datarootdir_seen=
4350 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
4351 *datarootdir*) ac_datarootdir_seen=yes;;
4352 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4353 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4354 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4356 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4357 ac_datarootdir_hack='
4358 s&@datadir@&$datadir&g
4359 s&@docdir@&$docdir&g
4360 s&@infodir@&$infodir&g
4361 s&@localedir@&$localedir&g
4362 s&@mandir@&$mandir&g
4363 s&\\\${datarootdir}&$datarootdir&g' ;;
4367 # Neutralize VPATH when `$srcdir' = `.'.
4368 # Shell code in configure.ac might set extrasub.
4369 # FIXME: do we really want to maintain this feature?
4370 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4371 ac_sed_extra="$ac_vpsub
4374 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4376 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4377 s|@configure_input@|$ac_sed_conf_input|;t t
4378 s&@top_builddir@&$ac_top_builddir_sub&;t t
4379 s&@top_build_prefix@&$ac_top_build_prefix&;t t
4380 s&@srcdir@&$ac_srcdir&;t t
4381 s&@abs_srcdir@&$ac_abs_srcdir&;t t
4382 s&@top_srcdir@&$ac_top_srcdir&;t t
4383 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4384 s&@builddir@&$ac_builddir&;t t
4385 s&@abs_builddir@&$ac_abs_builddir&;t t
4386 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4387 s&@INSTALL@&$ac_INSTALL&;t t
4388 $ac_datarootdir_hack
4390 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
4391 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4393 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4394 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
4395 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
4396 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4397 which seems to be undefined. Please make sure it is defined" >&5
4398 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4399 which seems to be undefined. Please make sure it is defined" >&2;}
4403 -) cat "$tmp/out" && rm -f "$tmp/out";;
4404 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
4406 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4412 if test x"$ac_file" != x-; then
4414 $as_echo "/* $configure_input */" \
4415 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
4416 } >"$tmp/config.h" \
4417 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4418 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
4419 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
4420 $as_echo "$as_me: $ac_file is unchanged" >&6;}
4423 mv "$tmp/config.h" "$ac_file" \
4424 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4427 $as_echo "/* $configure_input */" \
4428 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
4429 || as_fn_error $? "could not create -" "$LINENO" 5
4431 # Compute "$ac_file"'s index in $config_headers.
4433 for _am_header in $config_headers :; do
4435 "$ac_file" | "$ac_file":* )
4438 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
4441 echo "timestamp for "$ac_file"" >`$as_dirname -- "$ac_file" ||
4442 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4443 X"$ac_file" : 'X\(//\)[^/]' \| \
4444 X"$ac_file" : 'X\(//\)$' \| \
4445 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4446 $as_echo X"$ac_file" |
4447 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4463 s/.*/./; q'`/stamp-h$_am_stamp_count
4466 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
4467 $as_echo "$as_me: executing $ac_file commands" >&6;}
4472 case $ac_file$ac_mode in
4473 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
4474 # Strip MF so we end up with the name of the file.
4475 mf=`echo "$mf" | sed -e 's/:.*$//'`
4476 # Check whether this is an Automake generated Makefile or not.
4477 # We used to match only the files named `Makefile.in', but
4478 # some people rename them; so instead we look at the file content.
4479 # Grep'ing the first line is not enough: some people post-process
4480 # each Makefile.in and add a new line on top of each file to say so.
4481 # So let's grep whole file.
4482 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
4483 dirpart=`$as_dirname -- "$mf" ||
4484 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4485 X"$mf" : 'X\(//\)[^/]' \| \
4486 X"$mf" : 'X\(//\)$' \| \
4487 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
4489 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4509 # Extract the definition of DEPDIR, am__include, and am__quote
4510 # from the Makefile without running `make'.
4511 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
4512 test -z "$DEPDIR" && continue
4513 am__include=`sed -n 's/^am__include = //p' < "$mf"`
4514 test -z "am__include" && continue
4515 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
4516 # When using ansi2knr, U may be empty or an underscore; expand it
4517 U=`sed -n 's/^U = //p' < "$mf"`
4518 # Find all dependency output files, they are included files with
4519 # $(DEPDIR) in their names. We invoke sed twice because it is the
4520 # simplest approach to changing $(DEPDIR) to its actual value in the
4522 for file in `sed -n "
4523 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
4524 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
4525 # Make sure the directory exists.
4526 test -f "$dirpart/$file" && continue
4527 fdir=`$as_dirname -- "$file" ||
4528 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4529 X"$file" : 'X\(//\)[^/]' \| \
4530 X"$file" : 'X\(//\)$' \| \
4531 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
4533 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4550 as_dir=$dirpart/$fdir; as_fn_mkdir_p
4551 # echo "creating $dirpart/$file"
4552 echo '# dummy' > "$dirpart/$file"
4563 ac_clean_files=$ac_clean_files_save
4565 test $ac_write_fail = 0 ||
4566 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
4569 # configure is writing to config.log, and then calls config.status.
4570 # config.status does its own redirection, appending to config.log.
4571 # Unfortunately, on DOS this fails, as config.log is still kept open
4572 # by configure, so config.status won't be able to write to it; its
4573 # output is simply discarded. So we exec the FD to /dev/null,
4574 # effectively closing config.log, so it can be properly (re)opened and
4575 # appended to by config.status. When coming back to configure, we
4576 # need to make the FD available again.
4577 if test "$no_create" != yes; then
4579 ac_config_status_args=
4580 test "$silent" = yes &&
4581 ac_config_status_args="$ac_config_status_args --quiet"
4583 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4585 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4586 # would make configure fail if this is the last instruction.
4587 $ac_cs_success || as_fn_exit 1
4589 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
4590 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4591 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}