2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for FULL-PACKAGE-NAME VERSION.
5 # Report bugs to <BUG-REPORT-ADDRESS>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57 as_echo_n='/usr/ucb/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70 as_echo_n='sh -c $as_echo_n_body as_echo'
73 as_echo='sh -c $as_echo_body as_echo'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
96 *[\\/]* ) as_myself=$0 ;;
97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
101 test -z "$as_dir" && as_dir=.
102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x; then
113 if test ! -f "$as_myself"; then
114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there. '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\${$as_var+set} = xset \
124 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
139 if test "x$CONFIG_SHELL" = x; then
140 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144 # is contrary to our usage. Disable this feature.
145 alias -g '\${1+\"\$@\"}'='\"\$@\"'
148 case \`(set -o) 2>/dev/null\` in #(
156 as_required="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
170 exitcode=1; echo positional parameters were not saved.
172 test x\$exitcode = x0 || exit 1"
173 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
177 if (eval "$as_required") 2>/dev/null; then :
182 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
187 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
190 test -z "$as_dir" && as_dir=.
194 for as_base in sh bash ksh sh5; do
195 # Try only shells that exist, to save several forks.
196 as_shell=$as_dir/$as_base
197 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
198 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
199 CONFIG_SHELL=$as_shell as_have_required=yes
200 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
208 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
209 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
210 CONFIG_SHELL=$SHELL as_have_required=yes
215 if test "x$CONFIG_SHELL" != x; then :
216 # We cannot yet assume a decent shell, so we have to provide a
217 # neutralization value for shells without unset; and this also
218 # works around shells that cannot unset nonexistent variables.
219 # Preserve -v and -x to the replacement shell.
222 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
225 *v*x* | *x*v* ) as_opts=-vx ;;
230 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
233 if test x$as_have_required = xno; then :
234 $as_echo "$0: This script requires a shell more modern than all"
235 $as_echo "$0: the shells that I found on your system."
236 if test x${ZSH_VERSION+set} = xset ; then
237 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
238 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
240 $as_echo "$0: Please tell bug-autoconf@gnu.org and BUG-REPORT-ADDRESS
241 $0: about your system, including any error possibly output
242 $0: before this message. Then install a modern shell, or
243 $0: manually run the script under such a shell if you do
250 SHELL=${CONFIG_SHELL-/bin/sh}
252 # Unset more variables known to interfere with behavior of common tools.
253 CLICOLOR_FORCE= GREP_OPTIONS=
254 unset CLICOLOR_FORCE GREP_OPTIONS
256 ## --------------------- ##
257 ## M4sh Shell Functions. ##
258 ## --------------------- ##
261 # Portably unset VAR.
264 { eval $1=; unset $1;}
268 # as_fn_set_status STATUS
269 # -----------------------
270 # Set $? to STATUS, without forking.
278 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
288 # Create "$as_dir" as a directory, including parents if necessary.
293 -*) as_dir=./$as_dir;;
295 test -d "$as_dir" || eval $as_mkdir_p || {
299 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
302 as_dirs="'$as_qdir' $as_dirs"
303 as_dir=`$as_dirname -- "$as_dir" ||
304 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
305 X"$as_dir" : 'X\(//\)[^/]' \| \
306 X"$as_dir" : 'X\(//\)$' \| \
307 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
308 $as_echo X"$as_dir" |
309 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
326 test -d "$as_dir" && break
328 test -z "$as_dirs" || eval "mkdir $as_dirs"
329 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
333 # as_fn_append VAR VALUE
334 # ----------------------
335 # Append the text in VALUE to the end of the definition contained in VAR. Take
336 # advantage of any shell optimizations that allow amortized linear growth over
337 # repeated appends, instead of the typical quadratic growth present in naive
339 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
340 eval 'as_fn_append ()
353 # Perform arithmetic evaluation on the ARGs, and store the result in the
354 # global $as_val. Take advantage of shells that can avoid forks. The arguments
355 # must be portable across $(()) and expr.
356 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
364 as_val=`expr "$@" || test $? -eq 1`
369 # as_fn_error STATUS ERROR [LINENO LOG_FD]
370 # ----------------------------------------
371 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
372 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
373 # script with STATUS, using 1 if that was 0.
376 as_status=$1; test $as_status -eq 0 && as_status=1
378 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
379 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
381 $as_echo "$as_me: error: $2" >&2
382 as_fn_exit $as_status
385 if expr a : '\(a\)' >/dev/null 2>&1 &&
386 test "X`expr 00001 : '.*\(...\)'`" = X001; then
392 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
398 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
404 as_me=`$as_basename -- "$0" ||
405 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
406 X"$0" : 'X\(//\)$' \| \
407 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
409 sed '/^.*\/\([^/][^/]*\)\/*$/{
423 # Avoid depending upon Character Ranges.
424 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
425 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
426 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
427 as_cr_digits='0123456789'
428 as_cr_alnum=$as_cr_Letters$as_cr_digits
431 as_lineno_1=$LINENO as_lineno_1a=$LINENO
432 as_lineno_2=$LINENO as_lineno_2a=$LINENO
433 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
434 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
435 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
447 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
451 chmod +x "$as_me.lineno" ||
452 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
454 # Don't try to exec as it changes $[0], causing all sort of problems
455 # (the dirname of $[0] is not the place where we might find the
456 # original and so on. Autoconf is especially sensitive to this).
458 # Exit status is that of the last command.
462 ECHO_C= ECHO_N= ECHO_T=
463 case `echo -n x` in #(((((
465 case `echo 'xy\c'` in
466 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
468 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
475 rm -f conf$$ conf$$.exe conf$$.file
476 if test -d conf$$.dir; then
477 rm -f conf$$.dir/conf$$.file
480 mkdir conf$$.dir 2>/dev/null
482 if (echo >conf$$.file) 2>/dev/null; then
483 if ln -s conf$$.file conf$$ 2>/dev/null; then
485 # ... but there are two gotchas:
486 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
487 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
488 # In both cases, we have to default to `cp -p'.
489 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
491 elif ln conf$$.file conf$$ 2>/dev/null; then
499 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
500 rmdir conf$$.dir 2>/dev/null
502 if mkdir -p . 2>/dev/null; then
503 as_mkdir_p='mkdir -p "$as_dir"'
505 test -d ./-p && rmdir ./-p
509 if test -x / >/dev/null 2>&1; then
512 if ls -dL / >/dev/null 2>&1; then
519 if test -d "$1"; then
525 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
526 ???[sx]*):;;*)false;;esac;fi
530 as_executable_p=$as_test_x
532 # Sed expression to map a string onto a valid CPP name.
533 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
535 # Sed expression to map a string onto a valid variable name.
536 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
539 test -n "$DJDIR" || exec 7<&0 </dev/null
543 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
544 # so uname gets run too.
545 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
550 ac_default_prefix=/usr/local
552 ac_config_libobj_dir=.
559 # Identity of this package.
560 PACKAGE_NAME='FULL-PACKAGE-NAME'
561 PACKAGE_TARNAME='full-package-name'
562 PACKAGE_VERSION='VERSION'
563 PACKAGE_STRING='FULL-PACKAGE-NAME VERSION'
564 PACKAGE_BUGREPORT='BUG-REPORT-ADDRESS'
567 ac_subst_vars='LTLIBOBJS
607 program_transform_name
620 enable_option_checking
622 ac_precious_vars='build_alias
635 # Initialize some variables set by options.
637 ac_init_version=false
638 ac_unrecognized_opts=
640 # The variables have the same names as the options, with
641 # dashes changed to underlines.
649 program_transform_name=s,x,x,
657 # Installation directory options.
658 # These are left unexpanded so users can "make install exec_prefix=/foo"
659 # and all the variables that are supposed to be based on exec_prefix
660 # by default will actually change.
661 # Use braces instead of parens because sh, perl, etc. also accept them.
662 # (The list follows the same order as the GNU Coding Standards.)
663 bindir='${exec_prefix}/bin'
664 sbindir='${exec_prefix}/sbin'
665 libexecdir='${exec_prefix}/libexec'
666 datarootdir='${prefix}/share'
667 datadir='${datarootdir}'
668 sysconfdir='${prefix}/etc'
669 sharedstatedir='${prefix}/com'
670 localstatedir='${prefix}/var'
671 includedir='${prefix}/include'
672 oldincludedir='/usr/include'
673 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
674 infodir='${datarootdir}/info'
679 libdir='${exec_prefix}/lib'
680 localedir='${datarootdir}/locale'
681 mandir='${datarootdir}/man'
687 # If the previous option needs an argument, assign it.
688 if test -n "$ac_prev"; then
689 eval $ac_prev=\$ac_option
695 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
700 # Accept the important Cygnus configure options, so we can diagnose typos.
702 case $ac_dashdash$ac_option in
706 -bindir | --bindir | --bindi | --bind | --bin | --bi)
708 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
711 -build | --build | --buil | --bui | --bu)
712 ac_prev=build_alias ;;
713 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
714 build_alias=$ac_optarg ;;
716 -cache-file | --cache-file | --cache-fil | --cache-fi \
717 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
718 ac_prev=cache_file ;;
719 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
720 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
721 cache_file=$ac_optarg ;;
724 cache_file=config.cache ;;
726 -datadir | --datadir | --datadi | --datad)
728 -datadir=* | --datadir=* | --datadi=* | --datad=*)
729 datadir=$ac_optarg ;;
731 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
732 | --dataroo | --dataro | --datar)
733 ac_prev=datarootdir ;;
734 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
735 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
736 datarootdir=$ac_optarg ;;
738 -disable-* | --disable-*)
739 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
740 # Reject names that are not valid shell variable names.
741 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
742 as_fn_error $? "invalid feature name: $ac_useropt"
743 ac_useropt_orig=$ac_useropt
744 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
745 case $ac_user_opts in
749 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
750 ac_unrecognized_sep=', ';;
752 eval enable_$ac_useropt=no ;;
754 -docdir | --docdir | --docdi | --doc | --do)
756 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
759 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
761 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
764 -enable-* | --enable-*)
765 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
766 # Reject names that are not valid shell variable names.
767 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
768 as_fn_error $? "invalid feature name: $ac_useropt"
769 ac_useropt_orig=$ac_useropt
770 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
771 case $ac_user_opts in
775 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
776 ac_unrecognized_sep=', ';;
778 eval enable_$ac_useropt=\$ac_optarg ;;
780 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
781 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
782 | --exec | --exe | --ex)
783 ac_prev=exec_prefix ;;
784 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
785 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
786 | --exec=* | --exe=* | --ex=*)
787 exec_prefix=$ac_optarg ;;
789 -gas | --gas | --ga | --g)
790 # Obsolete; use --with-gas.
793 -help | --help | --hel | --he | -h)
795 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
796 ac_init_help=recursive ;;
797 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
798 ac_init_help=short ;;
800 -host | --host | --hos | --ho)
801 ac_prev=host_alias ;;
802 -host=* | --host=* | --hos=* | --ho=*)
803 host_alias=$ac_optarg ;;
805 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
807 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
809 htmldir=$ac_optarg ;;
811 -includedir | --includedir | --includedi | --included | --include \
812 | --includ | --inclu | --incl | --inc)
813 ac_prev=includedir ;;
814 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
815 | --includ=* | --inclu=* | --incl=* | --inc=*)
816 includedir=$ac_optarg ;;
818 -infodir | --infodir | --infodi | --infod | --info | --inf)
820 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
821 infodir=$ac_optarg ;;
823 -libdir | --libdir | --libdi | --libd)
825 -libdir=* | --libdir=* | --libdi=* | --libd=*)
828 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
829 | --libexe | --libex | --libe)
830 ac_prev=libexecdir ;;
831 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
832 | --libexe=* | --libex=* | --libe=*)
833 libexecdir=$ac_optarg ;;
835 -localedir | --localedir | --localedi | --localed | --locale)
837 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
838 localedir=$ac_optarg ;;
840 -localstatedir | --localstatedir | --localstatedi | --localstated \
841 | --localstate | --localstat | --localsta | --localst | --locals)
842 ac_prev=localstatedir ;;
843 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
844 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
845 localstatedir=$ac_optarg ;;
847 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
849 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
853 # Obsolete; use --without-fp.
856 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
857 | --no-cr | --no-c | -n)
860 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
861 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
864 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
865 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
866 | --oldin | --oldi | --old | --ol | --o)
867 ac_prev=oldincludedir ;;
868 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
869 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
870 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
871 oldincludedir=$ac_optarg ;;
873 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
875 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
878 -program-prefix | --program-prefix | --program-prefi | --program-pref \
879 | --program-pre | --program-pr | --program-p)
880 ac_prev=program_prefix ;;
881 -program-prefix=* | --program-prefix=* | --program-prefi=* \
882 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
883 program_prefix=$ac_optarg ;;
885 -program-suffix | --program-suffix | --program-suffi | --program-suff \
886 | --program-suf | --program-su | --program-s)
887 ac_prev=program_suffix ;;
888 -program-suffix=* | --program-suffix=* | --program-suffi=* \
889 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
890 program_suffix=$ac_optarg ;;
892 -program-transform-name | --program-transform-name \
893 | --program-transform-nam | --program-transform-na \
894 | --program-transform-n | --program-transform- \
895 | --program-transform | --program-transfor \
896 | --program-transfo | --program-transf \
897 | --program-trans | --program-tran \
898 | --progr-tra | --program-tr | --program-t)
899 ac_prev=program_transform_name ;;
900 -program-transform-name=* | --program-transform-name=* \
901 | --program-transform-nam=* | --program-transform-na=* \
902 | --program-transform-n=* | --program-transform-=* \
903 | --program-transform=* | --program-transfor=* \
904 | --program-transfo=* | --program-transf=* \
905 | --program-trans=* | --program-tran=* \
906 | --progr-tra=* | --program-tr=* | --program-t=*)
907 program_transform_name=$ac_optarg ;;
909 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
911 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
914 -psdir | --psdir | --psdi | --psd | --ps)
916 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
919 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
920 | -silent | --silent | --silen | --sile | --sil)
923 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
925 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
927 sbindir=$ac_optarg ;;
929 -sharedstatedir | --sharedstatedir | --sharedstatedi \
930 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
931 | --sharedst | --shareds | --shared | --share | --shar \
933 ac_prev=sharedstatedir ;;
934 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
935 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
936 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
938 sharedstatedir=$ac_optarg ;;
940 -site | --site | --sit)
942 -site=* | --site=* | --sit=*)
945 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
947 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
950 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
951 | --syscon | --sysco | --sysc | --sys | --sy)
952 ac_prev=sysconfdir ;;
953 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
954 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
955 sysconfdir=$ac_optarg ;;
957 -target | --target | --targe | --targ | --tar | --ta | --t)
958 ac_prev=target_alias ;;
959 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
960 target_alias=$ac_optarg ;;
962 -v | -verbose | --verbose | --verbos | --verbo | --verb)
965 -version | --version | --versio | --versi | --vers | -V)
969 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
970 # Reject names that are not valid shell variable names.
971 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
972 as_fn_error $? "invalid package name: $ac_useropt"
973 ac_useropt_orig=$ac_useropt
974 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
975 case $ac_user_opts in
979 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
980 ac_unrecognized_sep=', ';;
982 eval with_$ac_useropt=\$ac_optarg ;;
984 -without-* | --without-*)
985 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
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--without-$ac_useropt_orig"
996 ac_unrecognized_sep=', ';;
998 eval with_$ac_useropt=no ;;
1001 # Obsolete; use --with-x.
1004 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1005 | --x-incl | --x-inc | --x-in | --x-i)
1006 ac_prev=x_includes ;;
1007 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1008 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1009 x_includes=$ac_optarg ;;
1011 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1012 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1013 ac_prev=x_libraries ;;
1014 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1015 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1016 x_libraries=$ac_optarg ;;
1018 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1019 Try \`$0 --help' for more information"
1023 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1024 # Reject names that are not valid shell variable names.
1025 case $ac_envvar in #(
1026 '' | [0-9]* | *[!_$as_cr_alnum]* )
1027 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1029 eval $ac_envvar=\$ac_optarg
1030 export $ac_envvar ;;
1033 # FIXME: should be removed in autoconf 3.0.
1034 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1035 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1036 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1037 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1043 if test -n "$ac_prev"; then
1044 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1045 as_fn_error $? "missing argument to $ac_option"
1048 if test -n "$ac_unrecognized_opts"; then
1049 case $enable_option_checking in
1051 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1052 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1056 # Check all directory arguments for consistency.
1057 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1058 datadir sysconfdir sharedstatedir localstatedir includedir \
1059 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1060 libdir localedir mandir
1062 eval ac_val=\$$ac_var
1063 # Remove trailing slashes.
1066 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1067 eval $ac_var=\$ac_val;;
1069 # Be sure to have absolute directory names.
1071 [\\/$]* | ?:[\\/]* ) continue;;
1072 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1074 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1077 # There might be people who depend on the old broken behavior: `$host'
1078 # used to hold the argument of --host etc.
1079 # FIXME: To remove some day.
1082 target=$target_alias
1084 # FIXME: To remove some day.
1085 if test "x$host_alias" != x; then
1086 if test "x$build_alias" = x; then
1087 cross_compiling=maybe
1088 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1089 If a cross compiler is detected then cross compile mode will be used" >&2
1090 elif test "x$build_alias" != "x$host_alias"; then
1096 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1098 test "$silent" = yes && exec 6>/dev/null
1101 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1102 ac_ls_di=`ls -di .` &&
1103 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1104 as_fn_error $? "working directory cannot be determined"
1105 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1106 as_fn_error $? "pwd does not report name of working directory"
1109 # Find the source files, if location was not specified.
1110 if test -z "$srcdir"; then
1111 ac_srcdir_defaulted=yes
1112 # Try the directory containing this script, then the parent directory.
1113 ac_confdir=`$as_dirname -- "$as_myself" ||
1114 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1115 X"$as_myself" : 'X\(//\)[^/]' \| \
1116 X"$as_myself" : 'X\(//\)$' \| \
1117 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1118 $as_echo X"$as_myself" |
1119 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1137 if test ! -r "$srcdir/$ac_unique_file"; then
1141 ac_srcdir_defaulted=no
1143 if test ! -r "$srcdir/$ac_unique_file"; then
1144 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1145 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1147 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1149 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1151 # When building in place, set srcdir=.
1152 if test "$ac_abs_confdir" = "$ac_pwd"; then
1155 # Remove unnecessary trailing slashes from srcdir.
1156 # Double slashes in file names in object file debugging info
1157 # mess up M-x gdb in Emacs.
1159 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1161 for ac_var in $ac_precious_vars; do
1162 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1163 eval ac_env_${ac_var}_value=\$${ac_var}
1164 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1165 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1169 # Report the --help message.
1171 if test "$ac_init_help" = "long"; then
1172 # Omit some internal or obsolete options to make the list less imposing.
1173 # This message is too long to be a string in the A/UX 3.1 sh.
1175 \`configure' configures FULL-PACKAGE-NAME VERSION to adapt to many kinds of systems.
1177 Usage: $0 [OPTION]... [VAR=VALUE]...
1179 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1180 VAR=VALUE. See below for descriptions of some of the useful variables.
1182 Defaults for the options are specified in brackets.
1185 -h, --help display this help and exit
1186 --help=short display options specific to this package
1187 --help=recursive display the short help of all the included packages
1188 -V, --version display version information and exit
1189 -q, --quiet, --silent do not print \`checking ...' messages
1190 --cache-file=FILE cache test results in FILE [disabled]
1191 -C, --config-cache alias for \`--cache-file=config.cache'
1192 -n, --no-create do not create output files
1193 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1195 Installation directories:
1196 --prefix=PREFIX install architecture-independent files in PREFIX
1197 [$ac_default_prefix]
1198 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1201 By default, \`make install' will install all the files in
1202 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1203 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1204 for instance \`--prefix=\$HOME'.
1206 For better control, use the options below.
1208 Fine tuning of the installation directories:
1209 --bindir=DIR user executables [EPREFIX/bin]
1210 --sbindir=DIR system admin executables [EPREFIX/sbin]
1211 --libexecdir=DIR program executables [EPREFIX/libexec]
1212 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1213 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1214 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1215 --libdir=DIR object code libraries [EPREFIX/lib]
1216 --includedir=DIR C header files [PREFIX/include]
1217 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1218 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1219 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1220 --infodir=DIR info documentation [DATAROOTDIR/info]
1221 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1222 --mandir=DIR man documentation [DATAROOTDIR/man]
1223 --docdir=DIR documentation root
1224 [DATAROOTDIR/doc/full-package-name]
1225 --htmldir=DIR html documentation [DOCDIR]
1226 --dvidir=DIR dvi documentation [DOCDIR]
1227 --pdfdir=DIR pdf documentation [DOCDIR]
1228 --psdir=DIR ps documentation [DOCDIR]
1235 if test -n "$ac_init_help"; then
1236 case $ac_init_help in
1237 short | recursive ) echo "Configuration of FULL-PACKAGE-NAME VERSION:";;
1241 Some influential environment variables:
1242 CC C compiler command
1243 CFLAGS C compiler flags
1244 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1245 nonstandard directory <lib dir>
1246 LIBS libraries to pass to the linker, e.g. -l<library>
1247 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1248 you have headers in a nonstandard directory <include dir>
1249 CXX C++ compiler command
1250 CXXFLAGS C++ compiler flags
1252 Use these variables to override the choices made by `configure' or to help
1253 it to find libraries and programs with nonstandard names/locations.
1255 Report bugs to <BUG-REPORT-ADDRESS>.
1260 if test "$ac_init_help" = "recursive"; then
1261 # If there are subdirs, report their specific --help.
1262 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1263 test -d "$ac_dir" ||
1264 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1269 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1271 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1272 # A ".." for each directory in $ac_dir_suffix.
1273 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1274 case $ac_top_builddir_sub in
1275 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1276 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1279 ac_abs_top_builddir=$ac_pwd
1280 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1281 # for backward compatibility:
1282 ac_top_builddir=$ac_top_build_prefix
1285 .) # We are building in place.
1287 ac_top_srcdir=$ac_top_builddir_sub
1288 ac_abs_top_srcdir=$ac_pwd ;;
1289 [\\/]* | ?:[\\/]* ) # Absolute name.
1290 ac_srcdir=$srcdir$ac_dir_suffix;
1291 ac_top_srcdir=$srcdir
1292 ac_abs_top_srcdir=$srcdir ;;
1294 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1295 ac_top_srcdir=$ac_top_build_prefix$srcdir
1296 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1298 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1300 cd "$ac_dir" || { ac_status=$?; continue; }
1301 # Check for guested configure.
1302 if test -f "$ac_srcdir/configure.gnu"; then
1304 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1305 elif test -f "$ac_srcdir/configure"; then
1307 $SHELL "$ac_srcdir/configure" --help=recursive
1309 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1311 cd "$ac_pwd" || { ac_status=$?; break; }
1315 test -n "$ac_init_help" && exit $ac_status
1316 if $ac_init_version; then
1318 FULL-PACKAGE-NAME configure VERSION
1319 generated by GNU Autoconf 2.68
1321 Copyright (C) 2010 Free Software Foundation, Inc.
1322 This configure script is free software; the Free Software Foundation
1323 gives unlimited permission to copy, distribute and modify it.
1328 ## ------------------------ ##
1329 ## Autoconf initialization. ##
1330 ## ------------------------ ##
1332 # ac_fn_c_try_compile LINENO
1333 # --------------------------
1334 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1335 ac_fn_c_try_compile ()
1337 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1338 rm -f conftest.$ac_objext
1339 if { { ac_try="$ac_compile"
1341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1342 *) ac_try_echo=$ac_try;;
1344 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1345 $as_echo "$ac_try_echo"; } >&5
1346 (eval "$ac_compile") 2>conftest.err
1348 if test -s conftest.err; then
1349 grep -v '^ *+' conftest.err >conftest.er1
1350 cat conftest.er1 >&5
1351 mv -f conftest.er1 conftest.err
1353 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1354 test $ac_status = 0; } && {
1355 test -z "$ac_c_werror_flag" ||
1356 test ! -s conftest.err
1357 } && test -s conftest.$ac_objext; then :
1360 $as_echo "$as_me: failed program was:" >&5
1361 sed 's/^/| /' conftest.$ac_ext >&5
1365 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1366 as_fn_set_status $ac_retval
1368 } # ac_fn_c_try_compile
1370 # ac_fn_cxx_try_compile LINENO
1371 # ----------------------------
1372 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1373 ac_fn_cxx_try_compile ()
1375 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1376 rm -f conftest.$ac_objext
1377 if { { ac_try="$ac_compile"
1379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1380 *) ac_try_echo=$ac_try;;
1382 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1383 $as_echo "$ac_try_echo"; } >&5
1384 (eval "$ac_compile") 2>conftest.err
1386 if test -s conftest.err; then
1387 grep -v '^ *+' conftest.err >conftest.er1
1388 cat conftest.er1 >&5
1389 mv -f conftest.er1 conftest.err
1391 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1392 test $ac_status = 0; } && {
1393 test -z "$ac_cxx_werror_flag" ||
1394 test ! -s conftest.err
1395 } && test -s conftest.$ac_objext; then :
1398 $as_echo "$as_me: failed program was:" >&5
1399 sed 's/^/| /' conftest.$ac_ext >&5
1403 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1404 as_fn_set_status $ac_retval
1406 } # ac_fn_cxx_try_compile
1407 cat >config.log <<_ACEOF
1408 This file contains any messages produced by compilers while
1409 running configure, to aid debugging if configure makes a mistake.
1411 It was created by FULL-PACKAGE-NAME $as_me VERSION, which was
1412 generated by GNU Autoconf 2.68. Invocation command line was
1424 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1425 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1426 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1427 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1428 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1430 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1431 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1433 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1434 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1435 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1436 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1437 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1438 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1439 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1447 test -z "$as_dir" && as_dir=.
1448 $as_echo "PATH: $as_dir"
1464 # Keep a trace of the command line.
1465 # Strip out --no-create and --no-recursion so they do not pile up.
1466 # Strip out --silent because we don't want to record it for future runs.
1467 # Also quote any args containing shell meta-characters.
1468 # Make two passes to allow for proper duplicate-argument suppression.
1472 ac_must_keep_next=false
1478 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1479 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1480 | -silent | --silent | --silen | --sile | --sil)
1483 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1486 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1488 as_fn_append ac_configure_args1 " '$ac_arg'"
1489 if test $ac_must_keep_next = true; then
1490 ac_must_keep_next=false # Got value, back to normal.
1493 *=* | --config-cache | -C | -disable-* | --disable-* \
1494 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1495 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1496 | -with-* | --with-* | -without-* | --without-* | --x)
1497 case "$ac_configure_args0 " in
1498 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1501 -* ) ac_must_keep_next=true ;;
1504 as_fn_append ac_configure_args " '$ac_arg'"
1509 { ac_configure_args0=; unset ac_configure_args0;}
1510 { ac_configure_args1=; unset ac_configure_args1;}
1512 # When interrupted or exit'd, cleanup temporary files, and complete
1513 # config.log. We remove comments because anyway the quotes in there
1514 # would cause problems or look ugly.
1515 # WARNING: Use '\'' to represent an apostrophe within the trap.
1516 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1517 trap 'exit_status=$?
1518 # Save into config.log some information that might help in debugging.
1522 $as_echo "## ---------------- ##
1523 ## Cache variables. ##
1524 ## ---------------- ##"
1526 # The following way of writing the cache mishandles newlines in values,
1528 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1529 eval ac_val=\$$ac_var
1533 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1534 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1537 _ | IFS | as_nl) ;; #(
1538 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1539 *) { eval $ac_var=; unset $ac_var;} ;;
1544 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1545 *${as_nl}ac_space=\ *)
1547 "s/'\''/'\''\\\\'\'''\''/g;
1548 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1551 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1558 $as_echo "## ----------------- ##
1559 ## Output variables. ##
1560 ## ----------------- ##"
1562 for ac_var in $ac_subst_vars
1564 eval ac_val=\$$ac_var
1566 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1568 $as_echo "$ac_var='\''$ac_val'\''"
1572 if test -n "$ac_subst_files"; then
1573 $as_echo "## ------------------- ##
1574 ## File substitutions. ##
1575 ## ------------------- ##"
1577 for ac_var in $ac_subst_files
1579 eval ac_val=\$$ac_var
1581 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1583 $as_echo "$ac_var='\''$ac_val'\''"
1588 if test -s confdefs.h; then
1589 $as_echo "## ----------- ##
1596 test "$ac_signal" != 0 &&
1597 $as_echo "$as_me: caught signal $ac_signal"
1598 $as_echo "$as_me: exit $exit_status"
1600 rm -f core *.core core.conftest.* &&
1601 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1604 for ac_signal in 1 2 13 15; do
1605 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1609 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1610 rm -f -r conftest* confdefs.h
1612 $as_echo "/* confdefs.h */" > confdefs.h
1614 # Predefined preprocessor variables.
1616 cat >>confdefs.h <<_ACEOF
1617 #define PACKAGE_NAME "$PACKAGE_NAME"
1620 cat >>confdefs.h <<_ACEOF
1621 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1624 cat >>confdefs.h <<_ACEOF
1625 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1628 cat >>confdefs.h <<_ACEOF
1629 #define PACKAGE_STRING "$PACKAGE_STRING"
1632 cat >>confdefs.h <<_ACEOF
1633 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1636 cat >>confdefs.h <<_ACEOF
1637 #define PACKAGE_URL "$PACKAGE_URL"
1641 # Let the site file select an alternate cache file if it wants to.
1642 # Prefer an explicitly selected file to automatically selected ones.
1645 if test -n "$CONFIG_SITE"; then
1646 # We do not want a PATH search for config.site.
1647 case $CONFIG_SITE in #((
1648 -*) ac_site_file1=./$CONFIG_SITE;;
1649 */*) ac_site_file1=$CONFIG_SITE;;
1650 *) ac_site_file1=./$CONFIG_SITE;;
1652 elif test "x$prefix" != xNONE; then
1653 ac_site_file1=$prefix/share/config.site
1654 ac_site_file2=$prefix/etc/config.site
1656 ac_site_file1=$ac_default_prefix/share/config.site
1657 ac_site_file2=$ac_default_prefix/etc/config.site
1659 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1661 test "x$ac_site_file" = xNONE && continue
1662 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1663 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1664 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1665 sed 's/^/| /' "$ac_site_file" >&5
1667 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1668 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1669 as_fn_error $? "failed to load site script $ac_site_file
1670 See \`config.log' for more details" "$LINENO" 5; }
1674 if test -r "$cache_file"; then
1675 # Some versions of bash will fail to source /dev/null (special files
1676 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1677 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1678 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1679 $as_echo "$as_me: loading cache $cache_file" >&6;}
1681 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1682 *) . "./$cache_file";;
1686 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1687 $as_echo "$as_me: creating cache $cache_file" >&6;}
1691 # Check that the precious variables saved in the cache have kept the same
1693 ac_cache_corrupted=false
1694 for ac_var in $ac_precious_vars; do
1695 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1696 eval ac_new_set=\$ac_env_${ac_var}_set
1697 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1698 eval ac_new_val=\$ac_env_${ac_var}_value
1699 case $ac_old_set,$ac_new_set in
1701 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1702 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1703 ac_cache_corrupted=: ;;
1705 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1706 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1707 ac_cache_corrupted=: ;;
1710 if test "x$ac_old_val" != "x$ac_new_val"; then
1711 # differences in whitespace do not lead to failure.
1712 ac_old_val_w=`echo x $ac_old_val`
1713 ac_new_val_w=`echo x $ac_new_val`
1714 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1715 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1716 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1717 ac_cache_corrupted=:
1719 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1720 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1721 eval $ac_var=\$ac_old_val
1723 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1724 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1725 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1726 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1729 # Pass precious variables to config.status.
1730 if test "$ac_new_set" = set; then
1732 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1733 *) ac_arg=$ac_var=$ac_new_val ;;
1735 case " $ac_configure_args " in
1736 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1737 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1741 if $ac_cache_corrupted; then
1742 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1743 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1744 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1745 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1746 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1748 ## -------------------- ##
1749 ## Main body of script. ##
1750 ## -------------------- ##
1753 ac_cpp='$CPP $CPPFLAGS'
1754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1760 # Checks for programs.
1762 ac_cpp='$CPP $CPPFLAGS'
1763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1766 if test -n "$ac_tool_prefix"; then
1767 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1768 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1770 $as_echo_n "checking for $ac_word... " >&6; }
1771 if ${ac_cv_prog_CC+:} false; then :
1772 $as_echo_n "(cached) " >&6
1774 if test -n "$CC"; then
1775 ac_cv_prog_CC="$CC" # Let the user override the test.
1777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1781 test -z "$as_dir" && as_dir=.
1782 for ac_exec_ext in '' $ac_executable_extensions; do
1783 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1784 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1785 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1795 if test -n "$CC"; then
1796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1797 $as_echo "$CC" >&6; }
1799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1800 $as_echo "no" >&6; }
1805 if test -z "$ac_cv_prog_CC"; then
1807 # Extract the first word of "gcc", so it can be a program name with args.
1808 set dummy gcc; ac_word=$2
1809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1810 $as_echo_n "checking for $ac_word... " >&6; }
1811 if ${ac_cv_prog_ac_ct_CC+:} false; then :
1812 $as_echo_n "(cached) " >&6
1814 if test -n "$ac_ct_CC"; then
1815 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1821 test -z "$as_dir" && as_dir=.
1822 for ac_exec_ext in '' $ac_executable_extensions; do
1823 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1824 ac_cv_prog_ac_ct_CC="gcc"
1825 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1834 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1835 if test -n "$ac_ct_CC"; then
1836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
1837 $as_echo "$ac_ct_CC" >&6; }
1839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1840 $as_echo "no" >&6; }
1843 if test "x$ac_ct_CC" = x; then
1846 case $cross_compiling:$ac_tool_warned in
1848 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1849 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1850 ac_tool_warned=yes ;;
1858 if test -z "$CC"; then
1859 if test -n "$ac_tool_prefix"; then
1860 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1861 set dummy ${ac_tool_prefix}cc; ac_word=$2
1862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1863 $as_echo_n "checking for $ac_word... " >&6; }
1864 if ${ac_cv_prog_CC+:} false; then :
1865 $as_echo_n "(cached) " >&6
1867 if test -n "$CC"; then
1868 ac_cv_prog_CC="$CC" # Let the user override the test.
1870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1874 test -z "$as_dir" && as_dir=.
1875 for ac_exec_ext in '' $ac_executable_extensions; do
1876 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1877 ac_cv_prog_CC="${ac_tool_prefix}cc"
1878 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1888 if test -n "$CC"; then
1889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1890 $as_echo "$CC" >&6; }
1892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1893 $as_echo "no" >&6; }
1899 if test -z "$CC"; then
1900 # Extract the first word of "cc", so it can be a program name with args.
1901 set dummy cc; ac_word=$2
1902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1903 $as_echo_n "checking for $ac_word... " >&6; }
1904 if ${ac_cv_prog_CC+:} false; then :
1905 $as_echo_n "(cached) " >&6
1907 if test -n "$CC"; then
1908 ac_cv_prog_CC="$CC" # Let the user override the test.
1911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1915 test -z "$as_dir" && as_dir=.
1916 for ac_exec_ext in '' $ac_executable_extensions; do
1917 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1918 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1919 ac_prog_rejected=yes
1923 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1930 if test $ac_prog_rejected = yes; then
1931 # We found a bogon in the path, so make sure we never use it.
1932 set dummy $ac_cv_prog_CC
1934 if test $# != 0; then
1935 # We chose a different compiler from the bogus one.
1936 # However, it has the same basename, so the bogon will be chosen
1937 # first if we set CC to just the basename; use the full file name.
1939 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1945 if test -n "$CC"; then
1946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1947 $as_echo "$CC" >&6; }
1949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1950 $as_echo "no" >&6; }
1955 if test -z "$CC"; then
1956 if test -n "$ac_tool_prefix"; then
1957 for ac_prog in cl.exe
1959 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1960 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1962 $as_echo_n "checking for $ac_word... " >&6; }
1963 if ${ac_cv_prog_CC+:} false; then :
1964 $as_echo_n "(cached) " >&6
1966 if test -n "$CC"; then
1967 ac_cv_prog_CC="$CC" # Let the user override the test.
1969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1973 test -z "$as_dir" && as_dir=.
1974 for ac_exec_ext in '' $ac_executable_extensions; do
1975 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1976 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1977 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1987 if test -n "$CC"; then
1988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1989 $as_echo "$CC" >&6; }
1991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1992 $as_echo "no" >&6; }
1996 test -n "$CC" && break
1999 if test -z "$CC"; then
2001 for ac_prog in cl.exe
2003 # Extract the first word of "$ac_prog", so it can be a program name with args.
2004 set dummy $ac_prog; ac_word=$2
2005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2006 $as_echo_n "checking for $ac_word... " >&6; }
2007 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2008 $as_echo_n "(cached) " >&6
2010 if test -n "$ac_ct_CC"; then
2011 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2017 test -z "$as_dir" && as_dir=.
2018 for ac_exec_ext in '' $ac_executable_extensions; do
2019 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2020 ac_cv_prog_ac_ct_CC="$ac_prog"
2021 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2030 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2031 if test -n "$ac_ct_CC"; then
2032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2033 $as_echo "$ac_ct_CC" >&6; }
2035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2036 $as_echo "no" >&6; }
2040 test -n "$ac_ct_CC" && break
2043 if test "x$ac_ct_CC" = x; then
2046 case $cross_compiling:$ac_tool_warned in
2048 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2049 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2050 ac_tool_warned=yes ;;
2059 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2060 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2061 as_fn_error $? "no acceptable C compiler found in \$PATH
2062 See \`config.log' for more details" "$LINENO" 5; }
2064 # Provide some information about the compiler.
2065 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2068 for ac_option in --version -v -V -qversion; do
2069 { { ac_try="$ac_compiler $ac_option >&5"
2071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2072 *) ac_try_echo=$ac_try;;
2074 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2075 $as_echo "$ac_try_echo"; } >&5
2076 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2078 if test -s conftest.err; then
2080 ... rest of stderr output deleted ...
2081 10q' conftest.err >conftest.er1
2082 cat conftest.er1 >&5
2084 rm -f conftest.er1 conftest.err
2085 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2086 test $ac_status = 0; }
2089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2090 /* end confdefs.h. */
2100 ac_clean_files_save=$ac_clean_files
2101 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2102 # Try to create an executable without -o first, disregard a.out.
2103 # It will help us diagnose broken compilers, and finding out an intuition
2105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2106 $as_echo_n "checking whether the C compiler works... " >&6; }
2107 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2109 # The possible output files:
2110 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2113 for ac_file in $ac_files
2116 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2117 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2122 if { { ac_try="$ac_link_default"
2124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2125 *) ac_try_echo=$ac_try;;
2127 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2128 $as_echo "$ac_try_echo"; } >&5
2129 (eval "$ac_link_default") 2>&5
2131 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2132 test $ac_status = 0; }; then :
2133 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2134 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2135 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2136 # so that the user can short-circuit this test for compilers unknown to
2138 for ac_file in $ac_files ''
2140 test -f "$ac_file" || continue
2142 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2145 # We found the default executable, but exeext='' is most
2149 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2151 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2153 # We set ac_cv_exeext here because the later test for it is not
2154 # safe: cross compilers may not add the suffix if given an `-o'
2155 # argument, so we may need to know it at that point already.
2156 # Even if this section looks crufty: it has the advantage of
2163 test "$ac_cv_exeext" = no && ac_cv_exeext=
2168 if test -z "$ac_file"; then :
2169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2170 $as_echo "no" >&6; }
2171 $as_echo "$as_me: failed program was:" >&5
2172 sed 's/^/| /' conftest.$ac_ext >&5
2174 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2175 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2176 as_fn_error 77 "C compiler cannot create executables
2177 See \`config.log' for more details" "$LINENO" 5; }
2179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2180 $as_echo "yes" >&6; }
2182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2183 $as_echo_n "checking for C compiler default output file name... " >&6; }
2184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2185 $as_echo "$ac_file" >&6; }
2186 ac_exeext=$ac_cv_exeext
2188 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2189 ac_clean_files=$ac_clean_files_save
2190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2191 $as_echo_n "checking for suffix of executables... " >&6; }
2192 if { { ac_try="$ac_link"
2194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2195 *) ac_try_echo=$ac_try;;
2197 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2198 $as_echo "$ac_try_echo"; } >&5
2199 (eval "$ac_link") 2>&5
2201 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2202 test $ac_status = 0; }; then :
2203 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2204 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2205 # work properly (i.e., refer to `conftest.exe'), while it won't with
2207 for ac_file in conftest.exe conftest conftest.*; do
2208 test -f "$ac_file" || continue
2210 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2211 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2217 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2218 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2219 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2220 See \`config.log' for more details" "$LINENO" 5; }
2222 rm -f conftest conftest$ac_cv_exeext
2223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2224 $as_echo "$ac_cv_exeext" >&6; }
2226 rm -f conftest.$ac_ext
2227 EXEEXT=$ac_cv_exeext
2229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2230 /* end confdefs.h. */
2235 FILE *f = fopen ("conftest.out", "w");
2236 return ferror (f) || fclose (f) != 0;
2242 ac_clean_files="$ac_clean_files conftest.out"
2243 # Check that the compiler produces executables we can run. If not, either
2244 # the compiler is broken, or we cross compile.
2245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2246 $as_echo_n "checking whether we are cross compiling... " >&6; }
2247 if test "$cross_compiling" != yes; then
2248 { { ac_try="$ac_link"
2250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2251 *) ac_try_echo=$ac_try;;
2253 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2254 $as_echo "$ac_try_echo"; } >&5
2255 (eval "$ac_link") 2>&5
2257 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2258 test $ac_status = 0; }
2259 if { ac_try='./conftest$ac_cv_exeext'
2260 { { case "(($ac_try" in
2261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2262 *) ac_try_echo=$ac_try;;
2264 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2265 $as_echo "$ac_try_echo"; } >&5
2266 (eval "$ac_try") 2>&5
2268 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2269 test $ac_status = 0; }; }; then
2272 if test "$cross_compiling" = maybe; then
2275 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2276 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2277 as_fn_error $? "cannot run C compiled programs.
2278 If you meant to cross compile, use \`--host'.
2279 See \`config.log' for more details" "$LINENO" 5; }
2283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2284 $as_echo "$cross_compiling" >&6; }
2286 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2287 ac_clean_files=$ac_clean_files_save
2288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2289 $as_echo_n "checking for suffix of object files... " >&6; }
2290 if ${ac_cv_objext+:} false; then :
2291 $as_echo_n "(cached) " >&6
2293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2294 /* end confdefs.h. */
2304 rm -f conftest.o conftest.obj
2305 if { { ac_try="$ac_compile"
2307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2308 *) ac_try_echo=$ac_try;;
2310 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2311 $as_echo "$ac_try_echo"; } >&5
2312 (eval "$ac_compile") 2>&5
2314 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2315 test $ac_status = 0; }; then :
2316 for ac_file in conftest.o conftest.obj conftest.*; do
2317 test -f "$ac_file" || continue;
2319 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2320 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2325 $as_echo "$as_me: failed program was:" >&5
2326 sed 's/^/| /' conftest.$ac_ext >&5
2328 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2329 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2330 as_fn_error $? "cannot compute suffix of object files: cannot compile
2331 See \`config.log' for more details" "$LINENO" 5; }
2333 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2336 $as_echo "$ac_cv_objext" >&6; }
2337 OBJEXT=$ac_cv_objext
2339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2340 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2341 if ${ac_cv_c_compiler_gnu+:} false; then :
2342 $as_echo_n "(cached) " >&6
2344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2345 /* end confdefs.h. */
2358 if ac_fn_c_try_compile "$LINENO"; then :
2363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2364 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2368 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2369 if test $ac_compiler_gnu = yes; then
2374 ac_test_CFLAGS=${CFLAGS+set}
2375 ac_save_CFLAGS=$CFLAGS
2376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2377 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2378 if ${ac_cv_prog_cc_g+:} false; then :
2379 $as_echo_n "(cached) " >&6
2381 ac_save_c_werror_flag=$ac_c_werror_flag
2382 ac_c_werror_flag=yes
2385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2386 /* end confdefs.h. */
2396 if ac_fn_c_try_compile "$LINENO"; then :
2400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2401 /* end confdefs.h. */
2411 if ac_fn_c_try_compile "$LINENO"; then :
2414 ac_c_werror_flag=$ac_save_c_werror_flag
2416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2417 /* end confdefs.h. */
2427 if ac_fn_c_try_compile "$LINENO"; then :
2430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2435 ac_c_werror_flag=$ac_save_c_werror_flag
2437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2438 $as_echo "$ac_cv_prog_cc_g" >&6; }
2439 if test "$ac_test_CFLAGS" = set; then
2440 CFLAGS=$ac_save_CFLAGS
2441 elif test $ac_cv_prog_cc_g = yes; then
2442 if test "$GCC" = yes; then
2448 if test "$GCC" = yes; then
2454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2455 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2456 if ${ac_cv_prog_cc_c89+:} false; then :
2457 $as_echo_n "(cached) " >&6
2459 ac_cv_prog_cc_c89=no
2461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2462 /* end confdefs.h. */
2465 #include <sys/types.h>
2466 #include <sys/stat.h>
2467 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2468 struct buf { int x; };
2469 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2470 static char *e (p, i)
2476 static char *f (char * (*g) (char **, int), char **p, ...)
2481 s = g (p, va_arg (v,int));
2486 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2487 function prototypes and stuff, but not '\xHH' hex character constants.
2488 These don't provoke an error unfortunately, instead are silently treated
2489 as 'x'. The following induces an error, until -std is added to get
2490 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2491 array size at least. It's necessary to write '\x00'==0 to get something
2492 that's true only with -std. */
2493 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2495 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2496 inside strings and character constants. */
2498 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2500 int test (int i, double x);
2501 struct s1 {int (*f) (int a);};
2502 struct s2 {int (*f) (double a);};
2503 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2509 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2514 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2515 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2517 CC="$ac_save_CC $ac_arg"
2518 if ac_fn_c_try_compile "$LINENO"; then :
2519 ac_cv_prog_cc_c89=$ac_arg
2521 rm -f core conftest.err conftest.$ac_objext
2522 test "x$ac_cv_prog_cc_c89" != "xno" && break
2524 rm -f conftest.$ac_ext
2529 case "x$ac_cv_prog_cc_c89" in
2531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2532 $as_echo "none needed" >&6; } ;;
2534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2535 $as_echo "unsupported" >&6; } ;;
2537 CC="$CC $ac_cv_prog_cc_c89"
2538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2539 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2541 if test "x$ac_cv_prog_cc_c89" != xno; then :
2546 ac_cpp='$CPP $CPPFLAGS'
2547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2552 ac_cpp='$CXXCPP $CPPFLAGS'
2553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2556 if test -z "$CXX"; then
2557 if test -n "$CCC"; then
2560 if test -n "$ac_tool_prefix"; then
2561 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2563 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2564 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2566 $as_echo_n "checking for $ac_word... " >&6; }
2567 if ${ac_cv_prog_CXX+:} false; then :
2568 $as_echo_n "(cached) " >&6
2570 if test -n "$CXX"; then
2571 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2577 test -z "$as_dir" && as_dir=.
2578 for ac_exec_ext in '' $ac_executable_extensions; do
2579 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2580 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2581 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2591 if test -n "$CXX"; then
2592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
2593 $as_echo "$CXX" >&6; }
2595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2596 $as_echo "no" >&6; }
2600 test -n "$CXX" && break
2603 if test -z "$CXX"; then
2605 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2607 # Extract the first word of "$ac_prog", so it can be a program name with args.
2608 set dummy $ac_prog; ac_word=$2
2609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2610 $as_echo_n "checking for $ac_word... " >&6; }
2611 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
2612 $as_echo_n "(cached) " >&6
2614 if test -n "$ac_ct_CXX"; then
2615 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2621 test -z "$as_dir" && as_dir=.
2622 for ac_exec_ext in '' $ac_executable_extensions; do
2623 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2624 ac_cv_prog_ac_ct_CXX="$ac_prog"
2625 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2634 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2635 if test -n "$ac_ct_CXX"; then
2636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
2637 $as_echo "$ac_ct_CXX" >&6; }
2639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2640 $as_echo "no" >&6; }
2644 test -n "$ac_ct_CXX" && break
2647 if test "x$ac_ct_CXX" = x; then
2650 case $cross_compiling:$ac_tool_warned in
2652 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2653 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2654 ac_tool_warned=yes ;;
2662 # Provide some information about the compiler.
2663 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
2666 for ac_option in --version -v -V -qversion; do
2667 { { ac_try="$ac_compiler $ac_option >&5"
2669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2670 *) ac_try_echo=$ac_try;;
2672 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2673 $as_echo "$ac_try_echo"; } >&5
2674 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2676 if test -s conftest.err; then
2678 ... rest of stderr output deleted ...
2679 10q' conftest.err >conftest.er1
2680 cat conftest.er1 >&5
2682 rm -f conftest.er1 conftest.err
2683 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2684 test $ac_status = 0; }
2687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
2688 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
2689 if ${ac_cv_cxx_compiler_gnu+:} false; then :
2690 $as_echo_n "(cached) " >&6
2692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2693 /* end confdefs.h. */
2706 if ac_fn_cxx_try_compile "$LINENO"; then :
2711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2712 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
2716 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
2717 if test $ac_compiler_gnu = yes; then
2722 ac_test_CXXFLAGS=${CXXFLAGS+set}
2723 ac_save_CXXFLAGS=$CXXFLAGS
2724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
2725 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
2726 if ${ac_cv_prog_cxx_g+:} false; then :
2727 $as_echo_n "(cached) " >&6
2729 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
2730 ac_cxx_werror_flag=yes
2733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2734 /* end confdefs.h. */
2744 if ac_fn_cxx_try_compile "$LINENO"; then :
2745 ac_cv_prog_cxx_g=yes
2748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2749 /* end confdefs.h. */
2759 if ac_fn_cxx_try_compile "$LINENO"; then :
2762 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2765 /* end confdefs.h. */
2775 if ac_fn_cxx_try_compile "$LINENO"; then :
2776 ac_cv_prog_cxx_g=yes
2778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2783 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
2786 $as_echo "$ac_cv_prog_cxx_g" >&6; }
2787 if test "$ac_test_CXXFLAGS" = set; then
2788 CXXFLAGS=$ac_save_CXXFLAGS
2789 elif test $ac_cv_prog_cxx_g = yes; then
2790 if test "$GXX" = yes; then
2796 if test "$GXX" = yes; then
2803 ac_cpp='$CPP $CPPFLAGS'
2804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2808 # Extract the first word of "ar", so it can be a program name with args.
2809 set dummy ar; ac_word=$2
2810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2811 $as_echo_n "checking for $ac_word... " >&6; }
2812 if ${ac_cv_prog_AR+:} false; then :
2813 $as_echo_n "(cached) " >&6
2815 if test -n "$AR"; then
2816 ac_cv_prog_AR="$AR" # Let the user override the test.
2818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2822 test -z "$as_dir" && as_dir=.
2823 for ac_exec_ext in '' $ac_executable_extensions; do
2824 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2826 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2833 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="not found"
2837 if test -n "$AR"; then
2838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
2839 $as_echo "$AR" >&6; }
2841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2842 $as_echo "no" >&6; }
2846 # Checks for libraries.
2848 for i in /usr/lib /usr/local/lib; do
2849 if test -e $i/libcppcutter.so; then
2854 # Checks for header files.
2856 # Checks for typedefs, structures, and compiler characteristics.
2858 # Checks for library functions.
2863 ac_config_files="$ac_config_files Makefile src/Makefile test/Makefile sample/Makefile"
2865 cat >confcache <<\_ACEOF
2866 # This file is a shell script that caches the results of configure
2867 # tests run on this system so they can be shared between configure
2868 # scripts and configure runs, see configure's option --config-cache.
2869 # It is not useful on other systems. If it contains results you don't
2870 # want to keep, you may remove or edit it.
2872 # config.status only pays attention to the cache file if you give it
2873 # the --recheck option to rerun configure.
2875 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2876 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2881 # The following way of writing the cache mishandles newlines in values,
2882 # but we know of no workaround that is simple, portable, and efficient.
2883 # So, we kill variables containing newlines.
2884 # Ultrix sh set writes to stderr and can't be redirected directly,
2885 # and sets the high bit in the cache file unless we assign to the vars.
2887 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2888 eval ac_val=\$$ac_var
2892 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2893 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2896 _ | IFS | as_nl) ;; #(
2897 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2898 *) { eval $ac_var=; unset $ac_var;} ;;
2904 case $as_nl`(ac_space=' '; set) 2>&1` in #(
2905 *${as_nl}ac_space=\ *)
2906 # `set' does not quote correctly, so add quotes: double-quote
2907 # substitution turns \\\\ into \\, and sed turns \\ into \.
2910 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2913 # `set' quotes correctly as required by POSIX, so do not add quotes.
2914 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2923 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2925 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2927 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2928 if test -w "$cache_file"; then
2929 if test "x$cache_file" != "x/dev/null"; then
2930 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
2931 $as_echo "$as_me: updating cache $cache_file" >&6;}
2932 if test ! -f "$cache_file" || test -h "$cache_file"; then
2933 cat confcache >"$cache_file"
2935 case $cache_file in #(
2937 mv -f confcache "$cache_file"$$ &&
2938 mv -f "$cache_file"$$ "$cache_file" ;; #(
2940 mv -f confcache "$cache_file" ;;
2945 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
2946 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2951 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2952 # Let make expand exec_prefix.
2953 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2955 # Transform confdefs.h into DEFS.
2956 # Protect against shell expansion while executing Makefile rules.
2957 # Protect against Makefile macro expansion.
2959 # If the first sed substitution is executed (which looks for macros that
2960 # take arguments), then branch to the quote section. Otherwise,
2961 # look for a macro that doesn't take arguments.
2971 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
2973 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
2977 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2990 DEFS=`sed -n "$ac_script" confdefs.h`
2996 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2997 # 1. Remove the extension, and $U if already installed.
2998 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2999 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
3000 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3001 # will be set to the directory where LIBOBJS objects are built.
3002 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3003 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
3007 LTLIBOBJS=$ac_ltlibobjs
3011 : "${CONFIG_STATUS=./config.status}"
3013 ac_clean_files_save=$ac_clean_files
3014 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3015 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3016 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3018 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3020 # Generated by $as_me.
3021 # Run this file to recreate the current configuration.
3022 # Compiler output produced by configure, useful for debugging
3023 # configure, is in config.log if it exists.
3029 SHELL=\${CONFIG_SHELL-$SHELL}
3032 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
3033 ## -------------------- ##
3034 ## M4sh Initialization. ##
3035 ## -------------------- ##
3037 # Be more Bourne compatible
3038 DUALCASE=1; export DUALCASE # for MKS sh
3039 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
3042 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3043 # is contrary to our usage. Disable this feature.
3044 alias -g '${1+"$@"}'='"$@"'
3045 setopt NO_GLOB_SUBST
3047 case `(set -o) 2>/dev/null` in #(
3059 # Printing a long string crashes Solaris 7 /usr/bin/printf.
3060 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3061 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3062 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3063 # Prefer a ksh shell builtin over an external printf program on Solaris,
3064 # but without wasting forks for bash or zsh.
3065 if test -z "$BASH_VERSION$ZSH_VERSION" \
3066 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
3067 as_echo='print -r --'
3068 as_echo_n='print -rn --'
3069 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3070 as_echo='printf %s\n'
3071 as_echo_n='printf %s'
3073 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3074 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
3075 as_echo_n='/usr/ucb/echo -n'
3077 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3078 as_echo_n_body='eval
3082 expr "X$arg" : "X\\(.*\\)$as_nl";
3083 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3085 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
3087 export as_echo_n_body
3088 as_echo_n='sh -c $as_echo_n_body as_echo'
3091 as_echo='sh -c $as_echo_body as_echo'
3094 # The user is always right.
3095 if test "${PATH_SEPARATOR+set}" != set; then
3097 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3098 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3105 # We need space, tab and new line, in precisely that order. Quoting is
3106 # there to prevent editors from complaining about space-tab.
3107 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3108 # splitting by setting IFS to empty value.)
3111 # Find who we are. Look in the path if we contain no directory separator.
3114 *[\\/]* ) as_myself=$0 ;;
3115 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3119 test -z "$as_dir" && as_dir=.
3120 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3126 # We did not find ourselves, most probably we were run as `sh COMMAND'
3127 # in which case we are not to be found in the path.
3128 if test "x$as_myself" = x; then
3131 if test ! -f "$as_myself"; then
3132 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3136 # Unset variables that we do not need and which cause bugs (e.g. in
3137 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
3138 # suppresses any "Segmentation fault" message there. '((' could
3139 # trigger a bug in pdksh 5.2.14.
3140 for as_var in BASH_ENV ENV MAIL MAILPATH
3141 do eval test x\${$as_var+set} = xset \
3142 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
3155 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
3158 # as_fn_error STATUS ERROR [LINENO LOG_FD]
3159 # ----------------------------------------
3160 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3161 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3162 # script with STATUS, using 1 if that was 0.
3165 as_status=$1; test $as_status -eq 0 && as_status=1
3167 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3168 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
3170 $as_echo "$as_me: error: $2" >&2
3171 as_fn_exit $as_status
3175 # as_fn_set_status STATUS
3176 # -----------------------
3177 # Set $? to STATUS, without forking.
3181 } # as_fn_set_status
3185 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3195 # Portably unset VAR.
3198 { eval $1=; unset $1;}
3200 as_unset=as_fn_unset
3201 # as_fn_append VAR VALUE
3202 # ----------------------
3203 # Append the text in VALUE to the end of the definition contained in VAR. Take
3204 # advantage of any shell optimizations that allow amortized linear growth over
3205 # repeated appends, instead of the typical quadratic growth present in naive
3207 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
3208 eval 'as_fn_append ()
3219 # as_fn_arith ARG...
3220 # ------------------
3221 # Perform arithmetic evaluation on the ARGs, and store the result in the
3222 # global $as_val. Take advantage of shells that can avoid forks. The arguments
3223 # must be portable across $(()) and expr.
3224 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
3225 eval 'as_fn_arith ()
3232 as_val=`expr "$@" || test $? -eq 1`
3237 if expr a : '\(a\)' >/dev/null 2>&1 &&
3238 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3244 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3245 as_basename=basename
3250 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3256 as_me=`$as_basename -- "$0" ||
3257 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3258 X"$0" : 'X\(//\)$' \| \
3259 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3261 sed '/^.*\/\([^/][^/]*\)\/*$/{
3275 # Avoid depending upon Character Ranges.
3276 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3277 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3278 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3279 as_cr_digits='0123456789'
3280 as_cr_alnum=$as_cr_Letters$as_cr_digits
3282 ECHO_C= ECHO_N= ECHO_T=
3283 case `echo -n x` in #(((((
3285 case `echo 'xy\c'` in
3286 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3288 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
3295 rm -f conf$$ conf$$.exe conf$$.file
3296 if test -d conf$$.dir; then
3297 rm -f conf$$.dir/conf$$.file
3300 mkdir conf$$.dir 2>/dev/null
3302 if (echo >conf$$.file) 2>/dev/null; then
3303 if ln -s conf$$.file conf$$ 2>/dev/null; then
3305 # ... but there are two gotchas:
3306 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3307 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3308 # In both cases, we have to default to `cp -p'.
3309 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3311 elif ln conf$$.file conf$$ 2>/dev/null; then
3319 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3320 rmdir conf$$.dir 2>/dev/null
3325 # Create "$as_dir" as a directory, including parents if necessary.
3330 -*) as_dir=./$as_dir;;
3332 test -d "$as_dir" || eval $as_mkdir_p || {
3336 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3337 *) as_qdir=$as_dir;;
3339 as_dirs="'$as_qdir' $as_dirs"
3340 as_dir=`$as_dirname -- "$as_dir" ||
3341 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3342 X"$as_dir" : 'X\(//\)[^/]' \| \
3343 X"$as_dir" : 'X\(//\)$' \| \
3344 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3345 $as_echo X"$as_dir" |
3346 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3363 test -d "$as_dir" && break
3365 test -z "$as_dirs" || eval "mkdir $as_dirs"
3366 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
3370 if mkdir -p . 2>/dev/null; then
3371 as_mkdir_p='mkdir -p "$as_dir"'
3373 test -d ./-p && rmdir ./-p
3377 if test -x / >/dev/null 2>&1; then
3380 if ls -dL / >/dev/null 2>&1; then
3387 if test -d "$1"; then
3393 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
3394 ???[sx]*):;;*)false;;esac;fi
3398 as_executable_p=$as_test_x
3400 # Sed expression to map a string onto a valid CPP name.
3401 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3403 # Sed expression to map a string onto a valid variable name.
3404 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3408 ## ----------------------------------- ##
3409 ## Main body of $CONFIG_STATUS script. ##
3410 ## ----------------------------------- ##
3412 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
3414 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3415 # Save the log message, to keep $0 and so on meaningful, and to
3416 # report actual input values of CONFIG_FILES etc. instead of their
3417 # values after options handling.
3419 This file was extended by FULL-PACKAGE-NAME $as_me VERSION, which was
3420 generated by GNU Autoconf 2.68. Invocation command line was
3422 CONFIG_FILES = $CONFIG_FILES
3423 CONFIG_HEADERS = $CONFIG_HEADERS
3424 CONFIG_LINKS = $CONFIG_LINKS
3425 CONFIG_COMMANDS = $CONFIG_COMMANDS
3428 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3433 case $ac_config_files in *"
3434 "*) set x $ac_config_files; shift; ac_config_files=$*;;
3439 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3440 # Files that config.status was made for.
3441 config_files="$ac_config_files"
3445 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3447 \`$as_me' instantiates files and other configuration actions
3448 from templates according to the current configuration. Unless the files
3449 and actions are specified as TAGs, all are instantiated by default.
3451 Usage: $0 [OPTION]... [TAG]...
3453 -h, --help print this help, then exit
3454 -V, --version print version number and configuration settings, then exit
3455 --config print configuration, then exit
3456 -q, --quiet, --silent
3457 do not print progress messages
3458 -d, --debug don't remove temporary files
3459 --recheck update $as_me by reconfiguring in the same conditions
3460 --file=FILE[:TEMPLATE]
3461 instantiate the configuration file FILE
3463 Configuration files:
3466 Report bugs to <BUG-REPORT-ADDRESS>."
3469 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3470 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
3472 FULL-PACKAGE-NAME config.status VERSION
3473 configured by $0, generated by GNU Autoconf 2.68,
3474 with options \\"\$ac_cs_config\\"
3476 Copyright (C) 2010 Free Software Foundation, Inc.
3477 This config.status script is free software; the Free Software Foundation
3478 gives unlimited permission to copy, distribute and modify it."
3482 test -n "\$AWK" || AWK=awk
3485 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3486 # The default lists apply if the user does not specify any file.
3492 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3493 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3497 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3509 # Handling of the options.
3510 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3512 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3513 $as_echo "$ac_cs_version"; exit ;;
3514 --config | --confi | --conf | --con | --co | --c )
3515 $as_echo "$ac_cs_config"; exit ;;
3516 --debug | --debu | --deb | --de | --d | -d )
3518 --file | --fil | --fi | --f )
3521 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3522 '') as_fn_error $? "missing file argument" ;;
3524 as_fn_append CONFIG_FILES " '$ac_optarg'"
3525 ac_need_defaults=false;;
3526 --he | --h | --help | --hel | -h )
3527 $as_echo "$ac_cs_usage"; exit ;;
3528 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3529 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3533 -*) as_fn_error $? "unrecognized option: \`$1'
3534 Try \`$0 --help' for more information." ;;
3536 *) as_fn_append ac_config_targets " $1"
3537 ac_need_defaults=false ;;
3543 ac_configure_extra_args=
3545 if $ac_cs_silent; then
3547 ac_configure_extra_args="$ac_configure_extra_args --silent"
3551 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3552 if \$ac_cs_recheck; then
3553 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3555 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3556 CONFIG_SHELL='$SHELL'
3562 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3566 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3567 ## Running $as_me. ##
3573 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3576 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3578 # Handling of arguments.
3579 for ac_config_target in $ac_config_targets
3581 case $ac_config_target in
3582 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3583 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
3584 "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
3585 "sample/Makefile") CONFIG_FILES="$CONFIG_FILES sample/Makefile" ;;
3587 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
3592 # If the user did not use the arguments to specify the items to instantiate,
3593 # then the envvar interface is used. Set only those that are not.
3594 # We use the long form for the default assignment because of an extremely
3595 # bizarre bug on SunOS 4.1.3.
3596 if $ac_need_defaults; then
3597 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3600 # Have a temporary directory for convenience. Make it in the build tree
3601 # simply because there is no reason against having it here, and in addition,
3602 # creating and moving files from /tmp can sometimes cause problems.
3603 # Hook for its removal unless debugging.
3604 # Note that there is a small window in which the directory will not be cleaned:
3605 # after its creation but before its name has been assigned to `$tmp'.
3609 trap 'exit_status=$?
3611 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
3613 trap 'as_fn_exit 1' 1 2 13 15
3615 # Create a (secure) tmp directory for tmp files.
3618 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3622 tmp=./conf$$-$RANDOM
3623 (umask 077 && mkdir "$tmp")
3624 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
3627 # Set up the scripts for CONFIG_FILES section.
3628 # No need to generate them if there are no CONFIG_FILES.
3629 # This happens for instance with `./config.status config.h'.
3630 if test -n "$CONFIG_FILES"; then
3633 ac_cr=`echo X | tr X '\015'`
3634 # On cygwin, bash can eat \r inside `` if the user requested igncr.
3635 # But we know of no other shell where ac_cr would be empty at this
3636 # point, so we can use a bashism as a fallback.
3637 if test "x$ac_cr" = x; then
3638 eval ac_cr=\$\'\\r\'
3640 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3641 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3647 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
3652 echo "cat >conf$$subs.awk <<_ACEOF" &&
3653 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3656 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3657 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
3659 for ac_last_try in false false false false false :; do
3660 . ./conf$$subs.sh ||
3661 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3663 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
3664 if test $ac_delim_n = $ac_delim_num; then
3666 elif $ac_last_try; then
3667 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3669 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3674 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3675 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
3679 s/^/S["/; s/!.*/"]=/
3689 s/\(.\{148\}\)..*/\1/
3691 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3696 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3703 s/\(.\{148\}\)..*/\1/
3705 s/["\\]/\\&/g; s/^/"/; s/$/"/
3709 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3714 ' <conf$$subs.awk | sed '
3719 ' >>$CONFIG_STATUS || ac_write_fail=1
3720 rm -f conf$$subs.awk
3721 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3723 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
3724 for (key in S) S_is_set[key] = 1
3730 nfields = split(line, field, "@")
3732 len = length(field[1])
3733 for (i = 2; i < nfields; i++) {
3735 keylen = length(key)
3736 if (S_is_set[key]) {
3738 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3739 len += length(value) + length(field[++i])
3750 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3751 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
3752 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
3755 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
3756 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
3759 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
3760 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
3761 # trailing colons and then remove the whole line if VPATH becomes empty
3762 # (actually we leave an empty line to preserve line numbers).
3763 if test "x$srcdir" = x.; then
3764 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
3782 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3783 fi # test -n "$CONFIG_FILES"
3786 eval set X " :F $CONFIG_FILES "
3791 :[FHLC]) ac_mode=$ac_tag; continue;;
3793 case $ac_mode$ac_tag in
3795 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
3796 :[FH]-) ac_tag=-:-;;
3797 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3814 -) ac_f="$ac_tmp/stdin";;
3815 *) # Look for the file first in the build tree, then in the source tree
3816 # (if the path is not absolute). The absolute path cannot be DOS-style,
3817 # because $ac_f cannot contain `:'.
3821 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3823 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
3825 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
3826 as_fn_append ac_file_inputs " '$ac_f'"
3829 # Let's still pretend it is `configure' which instantiates (i.e., don't
3830 # use $as_me), people would be surprised to read:
3831 # /* config.h. Generated by config.status. */
3832 configure_input='Generated from '`
3833 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
3835 if test x"$ac_file" != x-; then
3836 configure_input="$ac_file. $configure_input"
3837 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
3838 $as_echo "$as_me: creating $ac_file" >&6;}
3840 # Neutralize special characters interpreted by sed in replacement strings.
3841 case $configure_input in #(
3842 *\&* | *\|* | *\\* )
3843 ac_sed_conf_input=`$as_echo "$configure_input" |
3844 sed 's/[\\\\&|]/\\\\&/g'`;; #(
3845 *) ac_sed_conf_input=$configure_input;;
3849 *:-:* | *:-) cat >"$ac_tmp/stdin" \
3850 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
3855 ac_dir=`$as_dirname -- "$ac_file" ||
3856 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3857 X"$ac_file" : 'X\(//\)[^/]' \| \
3858 X"$ac_file" : 'X\(//\)$' \| \
3859 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3860 $as_echo X"$ac_file" |
3861 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3878 as_dir="$ac_dir"; as_fn_mkdir_p
3882 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3884 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
3885 # A ".." for each directory in $ac_dir_suffix.
3886 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3887 case $ac_top_builddir_sub in
3888 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3889 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3892 ac_abs_top_builddir=$ac_pwd
3893 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3894 # for backward compatibility:
3895 ac_top_builddir=$ac_top_build_prefix
3898 .) # We are building in place.
3900 ac_top_srcdir=$ac_top_builddir_sub
3901 ac_abs_top_srcdir=$ac_pwd ;;
3902 [\\/]* | ?:[\\/]* ) # Absolute name.
3903 ac_srcdir=$srcdir$ac_dir_suffix;
3904 ac_top_srcdir=$srcdir
3905 ac_abs_top_srcdir=$srcdir ;;
3907 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3908 ac_top_srcdir=$ac_top_build_prefix$srcdir
3909 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3911 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3922 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3923 # If the template does not know about datarootdir, expand it.
3924 # FIXME: This hack should be removed a few years after 2.60.
3925 ac_datarootdir_hack=; ac_datarootdir_seen=
3936 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
3937 *datarootdir*) ac_datarootdir_seen=yes;;
3938 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3939 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3940 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3942 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3943 ac_datarootdir_hack='
3944 s&@datadir@&$datadir&g
3945 s&@docdir@&$docdir&g
3946 s&@infodir@&$infodir&g
3947 s&@localedir@&$localedir&g
3948 s&@mandir@&$mandir&g
3949 s&\\\${datarootdir}&$datarootdir&g' ;;
3953 # Neutralize VPATH when `$srcdir' = `.'.
3954 # Shell code in configure.ac might set extrasub.
3955 # FIXME: do we really want to maintain this feature?
3956 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3957 ac_sed_extra="$ac_vpsub
3960 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3962 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3963 s|@configure_input@|$ac_sed_conf_input|;t t
3964 s&@top_builddir@&$ac_top_builddir_sub&;t t
3965 s&@top_build_prefix@&$ac_top_build_prefix&;t t
3966 s&@srcdir@&$ac_srcdir&;t t
3967 s&@abs_srcdir@&$ac_abs_srcdir&;t t
3968 s&@top_srcdir@&$ac_top_srcdir&;t t
3969 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3970 s&@builddir@&$ac_builddir&;t t
3971 s&@abs_builddir@&$ac_abs_builddir&;t t
3972 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3973 $ac_datarootdir_hack
3975 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
3976 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3978 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3979 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
3980 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
3981 "$ac_tmp/out"`; test -z "$ac_out"; } &&
3982 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3983 which seems to be undefined. Please make sure it is defined" >&5
3984 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3985 which seems to be undefined. Please make sure it is defined" >&2;}
3987 rm -f "$ac_tmp/stdin"
3989 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
3990 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
3992 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4004 ac_clean_files=$ac_clean_files_save
4006 test $ac_write_fail = 0 ||
4007 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
4010 # configure is writing to config.log, and then calls config.status.
4011 # config.status does its own redirection, appending to config.log.
4012 # Unfortunately, on DOS this fails, as config.log is still kept open
4013 # by configure, so config.status won't be able to write to it; its
4014 # output is simply discarded. So we exec the FD to /dev/null,
4015 # effectively closing config.log, so it can be properly (re)opened and
4016 # appended to by config.status. When coming back to configure, we
4017 # need to make the FD available again.
4018 if test "$no_create" != yes; then
4020 ac_config_status_args=
4021 test "$silent" = yes &&
4022 ac_config_status_args="$ac_config_status_args --quiet"
4024 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4026 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4027 # would make configure fail if this is the last instruction.
4028 $ac_cs_success || as_fn_exit 1
4030 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
4031 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4032 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}