2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.65.
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 as_echo_n='sh -c $as_echo_n_body as_echo'
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
93 *[\\/]* ) as_myself=$0 ;;
94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98 test -z "$as_dir" && as_dir=.
99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
105 # We did not find ourselves, most probably we were run as `sh COMMAND'
106 # in which case we are not to be found in the path.
107 if test "x$as_myself" = x; then
110 if test ! -f "$as_myself"; then
111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115 # Unset variables that we do not need and which cause bugs (e.g. in
116 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
117 # suppresses any "Segmentation fault" message there. '((' could
118 # trigger a bug in pdksh 5.2.14.
119 for as_var in BASH_ENV ENV MAIL MAILPATH
120 do eval test x\${$as_var+set} = xset \
121 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
134 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136 if test "x$CONFIG_SHELL" = x; then
137 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141 # is contrary to our usage. Disable this feature.
142 alias -g '\${1+\"\$@\"}'='\"\$@\"'
145 case \`(set -o) 2>/dev/null\` in #(
153 as_required="as_fn_return () { (exit \$1); }
154 as_fn_success () { as_fn_return 0; }
155 as_fn_failure () { as_fn_return 1; }
156 as_fn_ret_success () { return 0; }
157 as_fn_ret_failure () { return 1; }
160 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167 exitcode=1; echo positional parameters were not saved.
169 test x\$exitcode = x0 || exit 1"
170 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
171 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
172 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
174 test \$(( 1 + 1 )) = 2 || exit 1"
175 if (eval "$as_required") 2>/dev/null; then :
180 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
185 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
188 test -z "$as_dir" && as_dir=.
192 for as_base in sh bash ksh sh5; do
193 # Try only shells that exist, to save several forks.
194 as_shell=$as_dir/$as_base
195 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
196 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
197 CONFIG_SHELL=$as_shell as_have_required=yes
198 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
206 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
207 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
208 CONFIG_SHELL=$SHELL as_have_required=yes
213 if test "x$CONFIG_SHELL" != x; then :
214 # We cannot yet assume a decent shell, so we have to provide a
215 # neutralization value for shells without unset; and this also
216 # works around shells that cannot unset nonexistent variables.
219 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
221 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
224 if test x$as_have_required = xno; then :
225 $as_echo "$0: This script requires a shell more modern than all"
226 $as_echo "$0: the shells that I found on your system."
227 if test x${ZSH_VERSION+set} = xset ; then
228 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
229 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
231 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
232 $0: including any error possibly output before this
233 $0: message. Then install a modern shell, or manually run
234 $0: the script under such a shell if you do have one."
240 SHELL=${CONFIG_SHELL-/bin/sh}
242 # Unset more variables known to interfere with behavior of common tools.
243 CLICOLOR_FORCE= GREP_OPTIONS=
244 unset CLICOLOR_FORCE GREP_OPTIONS
246 ## --------------------- ##
247 ## M4sh Shell Functions. ##
248 ## --------------------- ##
251 # Portably unset VAR.
254 { eval $1=; unset $1;}
258 # as_fn_set_status STATUS
259 # -----------------------
260 # Set $? to STATUS, without forking.
268 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
278 # Create "$as_dir" as a directory, including parents if necessary.
283 -*) as_dir=./$as_dir;;
285 test -d "$as_dir" || eval $as_mkdir_p || {
289 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
292 as_dirs="'$as_qdir' $as_dirs"
293 as_dir=`$as_dirname -- "$as_dir" ||
294 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
295 X"$as_dir" : 'X\(//\)[^/]' \| \
296 X"$as_dir" : 'X\(//\)$' \| \
297 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
298 $as_echo X"$as_dir" |
299 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
316 test -d "$as_dir" && break
318 test -z "$as_dirs" || eval "mkdir $as_dirs"
319 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
323 # as_fn_append VAR VALUE
324 # ----------------------
325 # Append the text in VALUE to the end of the definition contained in VAR. Take
326 # advantage of any shell optimizations that allow amortized linear growth over
327 # repeated appends, instead of the typical quadratic growth present in naive
329 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
330 eval 'as_fn_append ()
343 # Perform arithmetic evaluation on the ARGs, and store the result in the
344 # global $as_val. Take advantage of shells that can avoid forks. The arguments
345 # must be portable across $(()) and expr.
346 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
354 as_val=`expr "$@" || test $? -eq 1`
359 # as_fn_error ERROR [LINENO LOG_FD]
360 # ---------------------------------
361 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
362 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
363 # script with status $?, using 1 if that was 0.
366 as_status=$?; test $as_status -eq 0 && as_status=1
368 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
369 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
371 $as_echo "$as_me: error: $1" >&2
372 as_fn_exit $as_status
375 if expr a : '\(a\)' >/dev/null 2>&1 &&
376 test "X`expr 00001 : '.*\(...\)'`" = X001; then
382 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
388 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
394 as_me=`$as_basename -- "$0" ||
395 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
396 X"$0" : 'X\(//\)$' \| \
397 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
399 sed '/^.*\/\([^/][^/]*\)\/*$/{
413 # Avoid depending upon Character Ranges.
414 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
415 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
416 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
417 as_cr_digits='0123456789'
418 as_cr_alnum=$as_cr_Letters$as_cr_digits
421 as_lineno_1=$LINENO as_lineno_1a=$LINENO
422 as_lineno_2=$LINENO as_lineno_2a=$LINENO
423 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
424 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
425 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
437 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
441 chmod +x "$as_me.lineno" ||
442 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
444 # Don't try to exec as it changes $[0], causing all sort of problems
445 # (the dirname of $[0] is not the place where we might find the
446 # original and so on. Autoconf is especially sensitive to this).
448 # Exit status is that of the last command.
452 ECHO_C= ECHO_N= ECHO_T=
453 case `echo -n x` in #(((((
455 case `echo 'xy\c'` in
456 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
458 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
465 rm -f conf$$ conf$$.exe conf$$.file
466 if test -d conf$$.dir; then
467 rm -f conf$$.dir/conf$$.file
470 mkdir conf$$.dir 2>/dev/null
472 if (echo >conf$$.file) 2>/dev/null; then
473 if ln -s conf$$.file conf$$ 2>/dev/null; then
475 # ... but there are two gotchas:
476 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
477 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
478 # In both cases, we have to default to `cp -p'.
479 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
481 elif ln conf$$.file conf$$ 2>/dev/null; then
489 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
490 rmdir conf$$.dir 2>/dev/null
492 if mkdir -p . 2>/dev/null; then
493 as_mkdir_p='mkdir -p "$as_dir"'
495 test -d ./-p && rmdir ./-p
499 if test -x / >/dev/null 2>&1; then
502 if ls -dL / >/dev/null 2>&1; then
509 if test -d "$1"; then
515 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
516 ???[sx]*):;;*)false;;esac;fi
520 as_executable_p=$as_test_x
522 # Sed expression to map a string onto a valid CPP name.
523 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
525 # Sed expression to map a string onto a valid variable name.
526 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
529 test -n "$DJDIR" || exec 7<&0 </dev/null
533 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
534 # so uname gets run too.
535 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
540 ac_default_prefix=/usr/local
542 ac_config_libobj_dir=.
549 # Identity of this package.
557 ac_unique_file="src/treefuncs.h"
558 ac_subst_vars='am__EXEEXT_FALSE
598 MAINTAINER_MODE_FALSE
608 INSTALL_STRIP_PROGRAM
650 program_transform_name
663 enable_option_checking
664 enable_maintainer_mode
665 enable_dependency_tracking
667 ac_precious_vars='build_alias
683 # Initialize some variables set by options.
685 ac_init_version=false
686 ac_unrecognized_opts=
688 # The variables have the same names as the options, with
689 # dashes changed to underlines.
697 program_transform_name=s,x,x,
705 # Installation directory options.
706 # These are left unexpanded so users can "make install exec_prefix=/foo"
707 # and all the variables that are supposed to be based on exec_prefix
708 # by default will actually change.
709 # Use braces instead of parens because sh, perl, etc. also accept them.
710 # (The list follows the same order as the GNU Coding Standards.)
711 bindir='${exec_prefix}/bin'
712 sbindir='${exec_prefix}/sbin'
713 libexecdir='${exec_prefix}/libexec'
714 datarootdir='${prefix}/share'
715 datadir='${datarootdir}'
716 sysconfdir='${prefix}/etc'
717 sharedstatedir='${prefix}/com'
718 localstatedir='${prefix}/var'
719 includedir='${prefix}/include'
720 oldincludedir='/usr/include'
721 docdir='${datarootdir}/doc/${PACKAGE}'
722 infodir='${datarootdir}/info'
727 libdir='${exec_prefix}/lib'
728 localedir='${datarootdir}/locale'
729 mandir='${datarootdir}/man'
735 # If the previous option needs an argument, assign it.
736 if test -n "$ac_prev"; then
737 eval $ac_prev=\$ac_option
743 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
747 # Accept the important Cygnus configure options, so we can diagnose typos.
749 case $ac_dashdash$ac_option in
753 -bindir | --bindir | --bindi | --bind | --bin | --bi)
755 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
758 -build | --build | --buil | --bui | --bu)
759 ac_prev=build_alias ;;
760 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
761 build_alias=$ac_optarg ;;
763 -cache-file | --cache-file | --cache-fil | --cache-fi \
764 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
765 ac_prev=cache_file ;;
766 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
767 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
768 cache_file=$ac_optarg ;;
771 cache_file=config.cache ;;
773 -datadir | --datadir | --datadi | --datad)
775 -datadir=* | --datadir=* | --datadi=* | --datad=*)
776 datadir=$ac_optarg ;;
778 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
779 | --dataroo | --dataro | --datar)
780 ac_prev=datarootdir ;;
781 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
782 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
783 datarootdir=$ac_optarg ;;
785 -disable-* | --disable-*)
786 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
787 # Reject names that are not valid shell variable names.
788 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
789 as_fn_error "invalid feature name: $ac_useropt"
790 ac_useropt_orig=$ac_useropt
791 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
792 case $ac_user_opts in
796 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
797 ac_unrecognized_sep=', ';;
799 eval enable_$ac_useropt=no ;;
801 -docdir | --docdir | --docdi | --doc | --do)
803 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
806 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
808 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
811 -enable-* | --enable-*)
812 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
813 # Reject names that are not valid shell variable names.
814 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
815 as_fn_error "invalid feature name: $ac_useropt"
816 ac_useropt_orig=$ac_useropt
817 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
818 case $ac_user_opts in
822 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
823 ac_unrecognized_sep=', ';;
825 eval enable_$ac_useropt=\$ac_optarg ;;
827 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
828 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
829 | --exec | --exe | --ex)
830 ac_prev=exec_prefix ;;
831 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
832 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
833 | --exec=* | --exe=* | --ex=*)
834 exec_prefix=$ac_optarg ;;
836 -gas | --gas | --ga | --g)
837 # Obsolete; use --with-gas.
840 -help | --help | --hel | --he | -h)
842 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
843 ac_init_help=recursive ;;
844 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
845 ac_init_help=short ;;
847 -host | --host | --hos | --ho)
848 ac_prev=host_alias ;;
849 -host=* | --host=* | --hos=* | --ho=*)
850 host_alias=$ac_optarg ;;
852 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
854 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
856 htmldir=$ac_optarg ;;
858 -includedir | --includedir | --includedi | --included | --include \
859 | --includ | --inclu | --incl | --inc)
860 ac_prev=includedir ;;
861 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
862 | --includ=* | --inclu=* | --incl=* | --inc=*)
863 includedir=$ac_optarg ;;
865 -infodir | --infodir | --infodi | --infod | --info | --inf)
867 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
868 infodir=$ac_optarg ;;
870 -libdir | --libdir | --libdi | --libd)
872 -libdir=* | --libdir=* | --libdi=* | --libd=*)
875 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
876 | --libexe | --libex | --libe)
877 ac_prev=libexecdir ;;
878 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
879 | --libexe=* | --libex=* | --libe=*)
880 libexecdir=$ac_optarg ;;
882 -localedir | --localedir | --localedi | --localed | --locale)
884 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
885 localedir=$ac_optarg ;;
887 -localstatedir | --localstatedir | --localstatedi | --localstated \
888 | --localstate | --localstat | --localsta | --localst | --locals)
889 ac_prev=localstatedir ;;
890 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
891 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
892 localstatedir=$ac_optarg ;;
894 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
896 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
900 # Obsolete; use --without-fp.
903 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
904 | --no-cr | --no-c | -n)
907 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
908 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
911 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
912 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
913 | --oldin | --oldi | --old | --ol | --o)
914 ac_prev=oldincludedir ;;
915 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
916 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
917 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
918 oldincludedir=$ac_optarg ;;
920 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
922 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
925 -program-prefix | --program-prefix | --program-prefi | --program-pref \
926 | --program-pre | --program-pr | --program-p)
927 ac_prev=program_prefix ;;
928 -program-prefix=* | --program-prefix=* | --program-prefi=* \
929 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
930 program_prefix=$ac_optarg ;;
932 -program-suffix | --program-suffix | --program-suffi | --program-suff \
933 | --program-suf | --program-su | --program-s)
934 ac_prev=program_suffix ;;
935 -program-suffix=* | --program-suffix=* | --program-suffi=* \
936 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
937 program_suffix=$ac_optarg ;;
939 -program-transform-name | --program-transform-name \
940 | --program-transform-nam | --program-transform-na \
941 | --program-transform-n | --program-transform- \
942 | --program-transform | --program-transfor \
943 | --program-transfo | --program-transf \
944 | --program-trans | --program-tran \
945 | --progr-tra | --program-tr | --program-t)
946 ac_prev=program_transform_name ;;
947 -program-transform-name=* | --program-transform-name=* \
948 | --program-transform-nam=* | --program-transform-na=* \
949 | --program-transform-n=* | --program-transform-=* \
950 | --program-transform=* | --program-transfor=* \
951 | --program-transfo=* | --program-transf=* \
952 | --program-trans=* | --program-tran=* \
953 | --progr-tra=* | --program-tr=* | --program-t=*)
954 program_transform_name=$ac_optarg ;;
956 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
958 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
961 -psdir | --psdir | --psdi | --psd | --ps)
963 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
966 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
967 | -silent | --silent | --silen | --sile | --sil)
970 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
972 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
974 sbindir=$ac_optarg ;;
976 -sharedstatedir | --sharedstatedir | --sharedstatedi \
977 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
978 | --sharedst | --shareds | --shared | --share | --shar \
980 ac_prev=sharedstatedir ;;
981 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
982 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
983 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
985 sharedstatedir=$ac_optarg ;;
987 -site | --site | --sit)
989 -site=* | --site=* | --sit=*)
992 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
994 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
997 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
998 | --syscon | --sysco | --sysc | --sys | --sy)
999 ac_prev=sysconfdir ;;
1000 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1001 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1002 sysconfdir=$ac_optarg ;;
1004 -target | --target | --targe | --targ | --tar | --ta | --t)
1005 ac_prev=target_alias ;;
1006 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1007 target_alias=$ac_optarg ;;
1009 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1012 -version | --version | --versio | --versi | --vers | -V)
1013 ac_init_version=: ;;
1016 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1017 # Reject names that are not valid shell variable names.
1018 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1019 as_fn_error "invalid package name: $ac_useropt"
1020 ac_useropt_orig=$ac_useropt
1021 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1022 case $ac_user_opts in
1026 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1027 ac_unrecognized_sep=', ';;
1029 eval with_$ac_useropt=\$ac_optarg ;;
1031 -without-* | --without-*)
1032 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1033 # Reject names that are not valid shell variable names.
1034 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1035 as_fn_error "invalid package name: $ac_useropt"
1036 ac_useropt_orig=$ac_useropt
1037 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1038 case $ac_user_opts in
1042 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1043 ac_unrecognized_sep=', ';;
1045 eval with_$ac_useropt=no ;;
1048 # Obsolete; use --with-x.
1051 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1052 | --x-incl | --x-inc | --x-in | --x-i)
1053 ac_prev=x_includes ;;
1054 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1055 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1056 x_includes=$ac_optarg ;;
1058 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1059 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1060 ac_prev=x_libraries ;;
1061 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1062 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1063 x_libraries=$ac_optarg ;;
1065 -*) as_fn_error "unrecognized option: \`$ac_option'
1066 Try \`$0 --help' for more information."
1070 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1071 # Reject names that are not valid shell variable names.
1072 case $ac_envvar in #(
1073 '' | [0-9]* | *[!_$as_cr_alnum]* )
1074 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1076 eval $ac_envvar=\$ac_optarg
1077 export $ac_envvar ;;
1080 # FIXME: should be removed in autoconf 3.0.
1081 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1082 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1083 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1084 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1090 if test -n "$ac_prev"; then
1091 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1092 as_fn_error "missing argument to $ac_option"
1095 if test -n "$ac_unrecognized_opts"; then
1096 case $enable_option_checking in
1098 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1099 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1103 # Check all directory arguments for consistency.
1104 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1105 datadir sysconfdir sharedstatedir localstatedir includedir \
1106 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1107 libdir localedir mandir
1109 eval ac_val=\$$ac_var
1110 # Remove trailing slashes.
1113 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1114 eval $ac_var=\$ac_val;;
1116 # Be sure to have absolute directory names.
1118 [\\/$]* | ?:[\\/]* ) continue;;
1119 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1121 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1124 # There might be people who depend on the old broken behavior: `$host'
1125 # used to hold the argument of --host etc.
1126 # FIXME: To remove some day.
1129 target=$target_alias
1131 # FIXME: To remove some day.
1132 if test "x$host_alias" != x; then
1133 if test "x$build_alias" = x; then
1134 cross_compiling=maybe
1135 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1136 If a cross compiler is detected then cross compile mode will be used." >&2
1137 elif test "x$build_alias" != "x$host_alias"; then
1143 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1145 test "$silent" = yes && exec 6>/dev/null
1148 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1149 ac_ls_di=`ls -di .` &&
1150 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1151 as_fn_error "working directory cannot be determined"
1152 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1153 as_fn_error "pwd does not report name of working directory"
1156 # Find the source files, if location was not specified.
1157 if test -z "$srcdir"; then
1158 ac_srcdir_defaulted=yes
1159 # Try the directory containing this script, then the parent directory.
1160 ac_confdir=`$as_dirname -- "$as_myself" ||
1161 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1162 X"$as_myself" : 'X\(//\)[^/]' \| \
1163 X"$as_myself" : 'X\(//\)$' \| \
1164 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1165 $as_echo X"$as_myself" |
1166 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1184 if test ! -r "$srcdir/$ac_unique_file"; then
1188 ac_srcdir_defaulted=no
1190 if test ! -r "$srcdir/$ac_unique_file"; then
1191 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1192 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1194 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1196 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1198 # When building in place, set srcdir=.
1199 if test "$ac_abs_confdir" = "$ac_pwd"; then
1202 # Remove unnecessary trailing slashes from srcdir.
1203 # Double slashes in file names in object file debugging info
1204 # mess up M-x gdb in Emacs.
1206 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1208 for ac_var in $ac_precious_vars; do
1209 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1210 eval ac_env_${ac_var}_value=\$${ac_var}
1211 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1212 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1216 # Report the --help message.
1218 if test "$ac_init_help" = "long"; then
1219 # Omit some internal or obsolete options to make the list less imposing.
1220 # This message is too long to be a string in the A/UX 3.1 sh.
1222 \`configure' configures this package to adapt to many kinds of systems.
1224 Usage: $0 [OPTION]... [VAR=VALUE]...
1226 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1227 VAR=VALUE. See below for descriptions of some of the useful variables.
1229 Defaults for the options are specified in brackets.
1232 -h, --help display this help and exit
1233 --help=short display options specific to this package
1234 --help=recursive display the short help of all the included packages
1235 -V, --version display version information and exit
1236 -q, --quiet, --silent do not print \`checking...' messages
1237 --cache-file=FILE cache test results in FILE [disabled]
1238 -C, --config-cache alias for \`--cache-file=config.cache'
1239 -n, --no-create do not create output files
1240 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1242 Installation directories:
1243 --prefix=PREFIX install architecture-independent files in PREFIX
1244 [$ac_default_prefix]
1245 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1248 By default, \`make install' will install all the files in
1249 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1250 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1251 for instance \`--prefix=\$HOME'.
1253 For better control, use the options below.
1255 Fine tuning of the installation directories:
1256 --bindir=DIR user executables [EPREFIX/bin]
1257 --sbindir=DIR system admin executables [EPREFIX/sbin]
1258 --libexecdir=DIR program executables [EPREFIX/libexec]
1259 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1260 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1261 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1262 --libdir=DIR object code libraries [EPREFIX/lib]
1263 --includedir=DIR C header files [PREFIX/include]
1264 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1265 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1266 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1267 --infodir=DIR info documentation [DATAROOTDIR/info]
1268 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1269 --mandir=DIR man documentation [DATAROOTDIR/man]
1270 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1271 --htmldir=DIR html documentation [DOCDIR]
1272 --dvidir=DIR dvi documentation [DOCDIR]
1273 --pdfdir=DIR pdf documentation [DOCDIR]
1274 --psdir=DIR ps documentation [DOCDIR]
1280 --program-prefix=PREFIX prepend PREFIX to installed program names
1281 --program-suffix=SUFFIX append SUFFIX to installed program names
1282 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1286 if test -n "$ac_init_help"; then
1291 --disable-option-checking ignore unrecognized --enable/--with options
1292 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1293 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1294 --enable-maintainer-mode enable make rules and dependencies not useful
1295 (and sometimes confusing) to the casual installer
1296 --disable-dependency-tracking speeds up one-time build
1297 --enable-dependency-tracking do not reject slow dependency extractors
1299 Some influential environment variables:
1300 CC C compiler command
1301 CFLAGS C compiler flags
1302 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1303 nonstandard directory <lib dir>
1304 LIBS libraries to pass to the linker, e.g. -l<library>
1305 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1306 you have headers in a nonstandard directory <include dir>
1308 YACC The `Yet Another C Compiler' implementation to use. Defaults to
1309 the first program found out of: `bison -y', `byacc', `yacc'.
1310 YFLAGS The list of arguments that will be passed by default to $YACC.
1311 This script will default YFLAGS to the empty string to avoid a
1312 default value of `-d' given by some make applications.
1313 PKG_CONFIG path to pkg-config utility
1314 GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1315 GLIB_LIBS linker flags for GLIB, overriding pkg-config
1317 Use these variables to override the choices made by `configure' or to help
1318 it to find libraries and programs with nonstandard names/locations.
1320 Report bugs to the package provider.
1325 if test "$ac_init_help" = "recursive"; then
1326 # If there are subdirs, report their specific --help.
1327 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1328 test -d "$ac_dir" ||
1329 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1334 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1336 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1337 # A ".." for each directory in $ac_dir_suffix.
1338 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1339 case $ac_top_builddir_sub in
1340 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1341 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1344 ac_abs_top_builddir=$ac_pwd
1345 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1346 # for backward compatibility:
1347 ac_top_builddir=$ac_top_build_prefix
1350 .) # We are building in place.
1352 ac_top_srcdir=$ac_top_builddir_sub
1353 ac_abs_top_srcdir=$ac_pwd ;;
1354 [\\/]* | ?:[\\/]* ) # Absolute name.
1355 ac_srcdir=$srcdir$ac_dir_suffix;
1356 ac_top_srcdir=$srcdir
1357 ac_abs_top_srcdir=$srcdir ;;
1359 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1360 ac_top_srcdir=$ac_top_build_prefix$srcdir
1361 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1363 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1365 cd "$ac_dir" || { ac_status=$?; continue; }
1366 # Check for guested configure.
1367 if test -f "$ac_srcdir/configure.gnu"; then
1369 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1370 elif test -f "$ac_srcdir/configure"; then
1372 $SHELL "$ac_srcdir/configure" --help=recursive
1374 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1376 cd "$ac_pwd" || { ac_status=$?; break; }
1380 test -n "$ac_init_help" && exit $ac_status
1381 if $ac_init_version; then
1384 generated by GNU Autoconf 2.65
1386 Copyright (C) 2009 Free Software Foundation, Inc.
1387 This configure script is free software; the Free Software Foundation
1388 gives unlimited permission to copy, distribute and modify it.
1393 ## ------------------------ ##
1394 ## Autoconf initialization. ##
1395 ## ------------------------ ##
1397 # ac_fn_c_try_compile LINENO
1398 # --------------------------
1399 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1400 ac_fn_c_try_compile ()
1402 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1403 rm -f conftest.$ac_objext
1404 if { { ac_try="$ac_compile"
1406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1407 *) ac_try_echo=$ac_try;;
1409 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1410 $as_echo "$ac_try_echo"; } >&5
1411 (eval "$ac_compile") 2>conftest.err
1413 if test -s conftest.err; then
1414 grep -v '^ *+' conftest.err >conftest.er1
1415 cat conftest.er1 >&5
1416 mv -f conftest.er1 conftest.err
1418 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1419 test $ac_status = 0; } && {
1420 test -z "$ac_c_werror_flag" ||
1421 test ! -s conftest.err
1422 } && test -s conftest.$ac_objext; then :
1425 $as_echo "$as_me: failed program was:" >&5
1426 sed 's/^/| /' conftest.$ac_ext >&5
1430 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1431 as_fn_set_status $ac_retval
1433 } # ac_fn_c_try_compile
1435 # ac_fn_c_try_link LINENO
1436 # -----------------------
1437 # Try to link conftest.$ac_ext, and return whether this succeeded.
1440 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1441 rm -f conftest.$ac_objext conftest$ac_exeext
1442 if { { ac_try="$ac_link"
1444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1445 *) ac_try_echo=$ac_try;;
1447 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1448 $as_echo "$ac_try_echo"; } >&5
1449 (eval "$ac_link") 2>conftest.err
1451 if test -s conftest.err; then
1452 grep -v '^ *+' conftest.err >conftest.er1
1453 cat conftest.er1 >&5
1454 mv -f conftest.er1 conftest.err
1456 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1457 test $ac_status = 0; } && {
1458 test -z "$ac_c_werror_flag" ||
1459 test ! -s conftest.err
1460 } && test -s conftest$ac_exeext && {
1461 test "$cross_compiling" = yes ||
1462 $as_test_x conftest$ac_exeext
1466 $as_echo "$as_me: failed program was:" >&5
1467 sed 's/^/| /' conftest.$ac_ext >&5
1471 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1472 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1473 # interfere with the next link command; also delete a directory that is
1474 # left behind by Apple's compiler. We do this before executing the actions.
1475 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1476 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1477 as_fn_set_status $ac_retval
1479 } # ac_fn_c_try_link
1481 # ac_fn_c_try_cpp LINENO
1482 # ----------------------
1483 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1486 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1487 if { { ac_try="$ac_cpp conftest.$ac_ext"
1489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1490 *) ac_try_echo=$ac_try;;
1492 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1493 $as_echo "$ac_try_echo"; } >&5
1494 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1496 if test -s conftest.err; then
1497 grep -v '^ *+' conftest.err >conftest.er1
1498 cat conftest.er1 >&5
1499 mv -f conftest.er1 conftest.err
1501 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1502 test $ac_status = 0; } >/dev/null && {
1503 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1504 test ! -s conftest.err
1508 $as_echo "$as_me: failed program was:" >&5
1509 sed 's/^/| /' conftest.$ac_ext >&5
1513 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1514 as_fn_set_status $ac_retval
1518 # ac_fn_c_try_run LINENO
1519 # ----------------------
1520 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1521 # that executables *can* be run.
1524 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1525 if { { ac_try="$ac_link"
1527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1528 *) ac_try_echo=$ac_try;;
1530 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1531 $as_echo "$ac_try_echo"; } >&5
1532 (eval "$ac_link") 2>&5
1534 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1535 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1536 { { case "(($ac_try" in
1537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1538 *) ac_try_echo=$ac_try;;
1540 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1541 $as_echo "$ac_try_echo"; } >&5
1542 (eval "$ac_try") 2>&5
1544 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1545 test $ac_status = 0; }; }; then :
1548 $as_echo "$as_me: program exited with status $ac_status" >&5
1549 $as_echo "$as_me: failed program was:" >&5
1550 sed 's/^/| /' conftest.$ac_ext >&5
1552 ac_retval=$ac_status
1554 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1555 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1556 as_fn_set_status $ac_retval
1559 cat >config.log <<_ACEOF
1560 This file contains any messages produced by compilers while
1561 running configure, to aid debugging if configure makes a mistake.
1563 It was created by $as_me, which was
1564 generated by GNU Autoconf 2.65. Invocation command line was
1576 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1577 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1578 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1579 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1580 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1582 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1583 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1585 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1586 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1587 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1588 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1589 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1590 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1591 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1599 test -z "$as_dir" && as_dir=.
1600 $as_echo "PATH: $as_dir"
1616 # Keep a trace of the command line.
1617 # Strip out --no-create and --no-recursion so they do not pile up.
1618 # Strip out --silent because we don't want to record it for future runs.
1619 # Also quote any args containing shell meta-characters.
1620 # Make two passes to allow for proper duplicate-argument suppression.
1624 ac_must_keep_next=false
1630 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1631 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1632 | -silent | --silent | --silen | --sile | --sil)
1635 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1638 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1640 as_fn_append ac_configure_args1 " '$ac_arg'"
1641 if test $ac_must_keep_next = true; then
1642 ac_must_keep_next=false # Got value, back to normal.
1645 *=* | --config-cache | -C | -disable-* | --disable-* \
1646 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1647 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1648 | -with-* | --with-* | -without-* | --without-* | --x)
1649 case "$ac_configure_args0 " in
1650 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1653 -* ) ac_must_keep_next=true ;;
1656 as_fn_append ac_configure_args " '$ac_arg'"
1661 { ac_configure_args0=; unset ac_configure_args0;}
1662 { ac_configure_args1=; unset ac_configure_args1;}
1664 # When interrupted or exit'd, cleanup temporary files, and complete
1665 # config.log. We remove comments because anyway the quotes in there
1666 # would cause problems or look ugly.
1667 # WARNING: Use '\'' to represent an apostrophe within the trap.
1668 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1669 trap 'exit_status=$?
1670 # Save into config.log some information that might help in debugging.
1675 ## ---------------- ##
1676 ## Cache variables. ##
1677 ## ---------------- ##
1680 # The following way of writing the cache mishandles newlines in values,
1682 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1683 eval ac_val=\$$ac_var
1687 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1688 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1691 _ | IFS | as_nl) ;; #(
1692 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1693 *) { eval $ac_var=; unset $ac_var;} ;;
1698 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1699 *${as_nl}ac_space=\ *)
1701 "s/'\''/'\''\\\\'\'''\''/g;
1702 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1705 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1713 ## ----------------- ##
1714 ## Output variables. ##
1715 ## ----------------- ##
1718 for ac_var in $ac_subst_vars
1720 eval ac_val=\$$ac_var
1722 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1724 $as_echo "$ac_var='\''$ac_val'\''"
1728 if test -n "$ac_subst_files"; then
1730 ## ------------------- ##
1731 ## File substitutions. ##
1732 ## ------------------- ##
1735 for ac_var in $ac_subst_files
1737 eval ac_val=\$$ac_var
1739 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1741 $as_echo "$ac_var='\''$ac_val'\''"
1746 if test -s confdefs.h; then
1756 test "$ac_signal" != 0 &&
1757 $as_echo "$as_me: caught signal $ac_signal"
1758 $as_echo "$as_me: exit $exit_status"
1760 rm -f core *.core core.conftest.* &&
1761 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1764 for ac_signal in 1 2 13 15; do
1765 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1769 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1770 rm -f -r conftest* confdefs.h
1772 $as_echo "/* confdefs.h */" > confdefs.h
1774 # Predefined preprocessor variables.
1776 cat >>confdefs.h <<_ACEOF
1777 #define PACKAGE_NAME "$PACKAGE_NAME"
1780 cat >>confdefs.h <<_ACEOF
1781 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1784 cat >>confdefs.h <<_ACEOF
1785 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1788 cat >>confdefs.h <<_ACEOF
1789 #define PACKAGE_STRING "$PACKAGE_STRING"
1792 cat >>confdefs.h <<_ACEOF
1793 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1796 cat >>confdefs.h <<_ACEOF
1797 #define PACKAGE_URL "$PACKAGE_URL"
1801 # Let the site file select an alternate cache file if it wants to.
1802 # Prefer an explicitly selected file to automatically selected ones.
1805 if test -n "$CONFIG_SITE"; then
1806 ac_site_file1=$CONFIG_SITE
1807 elif test "x$prefix" != xNONE; then
1808 ac_site_file1=$prefix/share/config.site
1809 ac_site_file2=$prefix/etc/config.site
1811 ac_site_file1=$ac_default_prefix/share/config.site
1812 ac_site_file2=$ac_default_prefix/etc/config.site
1814 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1816 test "x$ac_site_file" = xNONE && continue
1817 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1818 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1819 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1820 sed 's/^/| /' "$ac_site_file" >&5
1825 if test -r "$cache_file"; then
1826 # Some versions of bash will fail to source /dev/null (special files
1827 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1828 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1829 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1830 $as_echo "$as_me: loading cache $cache_file" >&6;}
1832 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1833 *) . "./$cache_file";;
1837 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1838 $as_echo "$as_me: creating cache $cache_file" >&6;}
1842 # Check that the precious variables saved in the cache have kept the same
1844 ac_cache_corrupted=false
1845 for ac_var in $ac_precious_vars; do
1846 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1847 eval ac_new_set=\$ac_env_${ac_var}_set
1848 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1849 eval ac_new_val=\$ac_env_${ac_var}_value
1850 case $ac_old_set,$ac_new_set in
1852 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1853 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1854 ac_cache_corrupted=: ;;
1856 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1857 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1858 ac_cache_corrupted=: ;;
1861 if test "x$ac_old_val" != "x$ac_new_val"; then
1862 # differences in whitespace do not lead to failure.
1863 ac_old_val_w=`echo x $ac_old_val`
1864 ac_new_val_w=`echo x $ac_new_val`
1865 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1866 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1867 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1868 ac_cache_corrupted=:
1870 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1871 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1872 eval $ac_var=\$ac_old_val
1874 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1875 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1876 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1877 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1880 # Pass precious variables to config.status.
1881 if test "$ac_new_set" = set; then
1883 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1884 *) ac_arg=$ac_var=$ac_new_val ;;
1886 case " $ac_configure_args " in
1887 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1888 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1892 if $ac_cache_corrupted; then
1893 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1894 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1895 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1896 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1897 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1899 ## -------------------- ##
1900 ## Main body of script. ##
1901 ## -------------------- ##
1904 ac_cpp='$CPP $CPPFLAGS'
1905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1910 ac_config_headers="$ac_config_headers config.h"
1912 am__api_version='1.11'
1915 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1916 for ac_t in install-sh install.sh shtool; do
1917 if test -f "$ac_dir/$ac_t"; then
1919 ac_install_sh="$ac_aux_dir/$ac_t -c"
1924 if test -z "$ac_aux_dir"; then
1925 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1928 # These three variables are undocumented and unsupported,
1929 # and are intended to be withdrawn in a future Autoconf release.
1930 # They can cause serious problems if a builder's source tree is in a directory
1931 # whose full name contains unusual characters.
1932 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1933 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1934 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1937 # Find a good install program. We prefer a C program (faster),
1938 # so one script is as good as another. But avoid the broken or
1939 # incompatible versions:
1940 # SysV /etc/install, /usr/sbin/install
1941 # SunOS /usr/etc/install
1942 # IRIX /sbin/install
1944 # AmigaOS /C/install, which installs bootblocks on floppy discs
1945 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1946 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1947 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1948 # OS/2's system install, which has a completely different semantic
1949 # ./install, which can be erroneously created by make from ./install.sh.
1950 # Reject install programs that cannot install multiple files.
1951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1952 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1953 if test -z "$INSTALL"; then
1954 if test "${ac_cv_path_install+set}" = set; then :
1955 $as_echo_n "(cached) " >&6
1957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1961 test -z "$as_dir" && as_dir=.
1962 # Account for people who put trailing slashes in PATH elements.
1963 case $as_dir/ in #((
1964 ./ | .// | /[cC]/* | \
1965 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1966 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1969 # OSF1 and SCO ODT 3.0 have their own names for install.
1970 # Don't use installbsd from OSF since it installs stuff as root
1972 for ac_prog in ginstall scoinst install; do
1973 for ac_exec_ext in '' $ac_executable_extensions; do
1974 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1975 if test $ac_prog = install &&
1976 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1977 # AIX install. It has an incompatible calling convention.
1979 elif test $ac_prog = install &&
1980 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1981 # program-specific install script used by HP pwplus--don't use.
1984 rm -rf conftest.one conftest.two conftest.dir
1985 echo one > conftest.one
1986 echo two > conftest.two
1988 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1989 test -s conftest.one && test -s conftest.two &&
1990 test -s conftest.dir/conftest.one &&
1991 test -s conftest.dir/conftest.two
1993 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2006 rm -rf conftest.one conftest.two conftest.dir
2009 if test "${ac_cv_path_install+set}" = set; then
2010 INSTALL=$ac_cv_path_install
2012 # As a last resort, use the slow shell script. Don't cache a
2013 # value for INSTALL within a source directory, because that will
2014 # break other packages using the cache if that directory is
2015 # removed, or if the value is a relative name.
2016 INSTALL=$ac_install_sh
2019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2020 $as_echo "$INSTALL" >&6; }
2022 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2023 # It thinks the first close brace ends the variable substitution.
2024 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2026 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2028 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2031 $as_echo_n "checking whether build environment is sane... " >&6; }
2034 echo timestamp > conftest.file
2035 # Reject unsafe characters in $srcdir or the absolute working directory
2036 # name. Accept space and tab only in the latter.
2040 *[\\\"\#\$\&\'\`$am_lf]*)
2041 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2044 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2045 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2048 # Do `set' in a subshell so we don't clobber the current shell's
2049 # arguments. Must try -L first in case configure is actually a
2050 # symlink; some systems play weird games with the mod time of symlinks
2051 # (eg FreeBSD returns the mod time of the symlink's containing
2054 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2055 if test "$*" = "X"; then
2057 set X `ls -t "$srcdir/configure" conftest.file`
2060 if test "$*" != "X $srcdir/configure conftest.file" \
2061 && test "$*" != "X conftest.file $srcdir/configure"; then
2063 # If neither matched, then we have a broken ls. This can happen
2064 # if, for instance, CONFIG_SHELL is bash and it inherits a
2065 # broken ls alias from the environment. This has actually
2066 # happened. Such a system could not be considered "sane".
2067 as_fn_error "ls -t appears to fail. Make sure there is not a broken
2068 alias in your environment" "$LINENO" 5
2071 test "$2" = conftest.file
2077 as_fn_error "newly created file is older than distributed files!
2078 Check your system clock" "$LINENO" 5
2080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2081 $as_echo "yes" >&6; }
2082 test "$program_prefix" != NONE &&
2083 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2084 # Use a double $ so make ignores it.
2085 test "$program_suffix" != NONE &&
2086 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2087 # Double any \ or $.
2088 # By default was `s,x,x', remove it if useless.
2089 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2090 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2092 # expand $ac_aux_dir to an absolute path
2093 am_aux_dir=`cd $ac_aux_dir && pwd`
2095 if test x"${MISSING+set}" != xset; then
2098 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2100 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2103 # Use eval to expand $SHELL
2104 if eval "$MISSING --run true"; then
2105 am_missing_run="$MISSING --run "
2108 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2109 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2112 if test x"${install_sh}" != xset; then
2115 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2117 install_sh="\${SHELL} $am_aux_dir/install-sh"
2121 # Installed binaries are usually stripped using `strip' when the user
2122 # run `make install-strip'. However `strip' might not be the right
2123 # tool to use in cross-compilation environments, therefore Automake
2124 # will honor the `STRIP' environment variable to overrule this program.
2125 if test "$cross_compiling" != no; then
2126 if test -n "$ac_tool_prefix"; then
2127 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2128 set dummy ${ac_tool_prefix}strip; ac_word=$2
2129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2130 $as_echo_n "checking for $ac_word... " >&6; }
2131 if test "${ac_cv_prog_STRIP+set}" = set; then :
2132 $as_echo_n "(cached) " >&6
2134 if test -n "$STRIP"; then
2135 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2141 test -z "$as_dir" && as_dir=.
2142 for ac_exec_ext in '' $ac_executable_extensions; do
2143 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2144 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2145 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2154 STRIP=$ac_cv_prog_STRIP
2155 if test -n "$STRIP"; then
2156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2157 $as_echo "$STRIP" >&6; }
2159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2160 $as_echo "no" >&6; }
2165 if test -z "$ac_cv_prog_STRIP"; then
2167 # Extract the first word of "strip", so it can be a program name with args.
2168 set dummy strip; ac_word=$2
2169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2170 $as_echo_n "checking for $ac_word... " >&6; }
2171 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2172 $as_echo_n "(cached) " >&6
2174 if test -n "$ac_ct_STRIP"; then
2175 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2181 test -z "$as_dir" && as_dir=.
2182 for ac_exec_ext in '' $ac_executable_extensions; do
2183 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2184 ac_cv_prog_ac_ct_STRIP="strip"
2185 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2194 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2195 if test -n "$ac_ct_STRIP"; then
2196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2197 $as_echo "$ac_ct_STRIP" >&6; }
2199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2200 $as_echo "no" >&6; }
2203 if test "x$ac_ct_STRIP" = x; then
2206 case $cross_compiling:$ac_tool_warned in
2208 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2209 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2210 ac_tool_warned=yes ;;
2215 STRIP="$ac_cv_prog_STRIP"
2219 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2222 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2223 if test -z "$MKDIR_P"; then
2224 if test "${ac_cv_path_mkdir+set}" = set; then :
2225 $as_echo_n "(cached) " >&6
2227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2228 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2231 test -z "$as_dir" && as_dir=.
2232 for ac_prog in mkdir gmkdir; do
2233 for ac_exec_ext in '' $ac_executable_extensions; do
2234 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2235 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2236 'mkdir (GNU coreutils) '* | \
2237 'mkdir (coreutils) '* | \
2238 'mkdir (fileutils) '4.1*)
2239 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2249 test -d ./--version && rmdir ./--version
2250 if test "${ac_cv_path_mkdir+set}" = set; then
2251 MKDIR_P="$ac_cv_path_mkdir -p"
2253 # As a last resort, use the slow shell script. Don't cache a
2254 # value for MKDIR_P within a source directory, because that will
2255 # break other packages using the cache if that directory is
2256 # removed, or if the value is a relative name.
2257 MKDIR_P="$ac_install_sh -d"
2260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2261 $as_echo "$MKDIR_P" >&6; }
2265 [\\/$]* | ?:[\\/]*) ;;
2266 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2269 for ac_prog in gawk mawk nawk awk
2271 # Extract the first word of "$ac_prog", so it can be a program name with args.
2272 set dummy $ac_prog; ac_word=$2
2273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2274 $as_echo_n "checking for $ac_word... " >&6; }
2275 if test "${ac_cv_prog_AWK+set}" = set; then :
2276 $as_echo_n "(cached) " >&6
2278 if test -n "$AWK"; then
2279 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2285 test -z "$as_dir" && as_dir=.
2286 for ac_exec_ext in '' $ac_executable_extensions; do
2287 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2288 ac_cv_prog_AWK="$ac_prog"
2289 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2299 if test -n "$AWK"; then
2300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2301 $as_echo "$AWK" >&6; }
2303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2304 $as_echo "no" >&6; }
2308 test -n "$AWK" && break
2311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2312 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2314 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2315 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2316 $as_echo_n "(cached) " >&6
2318 cat >conftest.make <<\_ACEOF
2321 @echo '@@@%%%=$(MAKE)=@@@%%%'
2323 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2324 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2326 eval ac_cv_prog_make_${ac_make}_set=yes;;
2328 eval ac_cv_prog_make_${ac_make}_set=no;;
2332 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2334 $as_echo "yes" >&6; }
2337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2338 $as_echo "no" >&6; }
2339 SET_MAKE="MAKE=${MAKE-make}"
2342 rm -rf .tst 2>/dev/null
2343 mkdir .tst 2>/dev/null
2344 if test -d .tst; then
2349 rmdir .tst 2>/dev/null
2351 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2352 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2353 # is not polluted with repeated "-I."
2354 am__isrc=' -I$(srcdir)'
2355 # test to see if srcdir already configured
2356 if test -f $srcdir/config.status; then
2357 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2361 # test whether we have cygpath
2362 if test -z "$CYGPATH_W"; then
2363 if (cygpath --version) >/dev/null 2>/dev/null; then
2364 CYGPATH_W='cygpath -w'
2371 # Define the identity of the package.
2376 cat >>confdefs.h <<_ACEOF
2377 #define PACKAGE "$PACKAGE"
2381 cat >>confdefs.h <<_ACEOF
2382 #define VERSION "$VERSION"
2385 # Some tools Automake needs.
2387 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2390 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2393 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2396 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2399 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2401 # We need awk for the "check" target. The system "awk" is bad on
2403 # Always define AMTAR for backward compatibility.
2405 AMTAR=${AMTAR-"${am_missing_run}tar"}
2407 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2415 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2416 # Check whether --enable-maintainer-mode was given.
2417 if test "${enable_maintainer_mode+set}" = set; then :
2418 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2420 USE_MAINTAINER_MODE=no
2423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2424 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2425 if test $USE_MAINTAINER_MODE = yes; then
2426 MAINTAINER_MODE_TRUE=
2427 MAINTAINER_MODE_FALSE='#'
2429 MAINTAINER_MODE_TRUE='#'
2430 MAINTAINER_MODE_FALSE=
2433 MAINT=$MAINTAINER_MODE_TRUE
2440 if test -f ../NOINST_GOB; then
2449 if test -f ../NOINST_GOB ; then
2450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: *** NOT Going to install GOB ***" >&5
2451 $as_echo "*** NOT Going to install GOB ***" >&6; }
2452 SUBDIRS="src examples"
2456 SUBDIRS="src examples doc"
2464 DEPDIR="${am__leading_dot}deps"
2466 ac_config_commands="$ac_config_commands depfiles"
2469 am_make=${MAKE-make}
2470 cat > confinc << 'END'
2472 @echo this is the am__doit target
2475 # If we don't find an include directive, just comment out the code.
2476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2477 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2481 # First try GNU make style include.
2482 echo "include confinc" > confmf
2483 # Ignore all kinds of additional output from `make'.
2484 case `$am_make -s -f confmf 2> /dev/null` in #(
2485 *the\ am__doit\ target*)
2491 # Now try BSD make style include.
2492 if test "$am__include" = "#"; then
2493 echo '.include "confinc"' > confmf
2494 case `$am_make -s -f confmf 2> /dev/null` in #(
2495 *the\ am__doit\ target*)
2496 am__include=.include
2504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2505 $as_echo "$_am_result" >&6; }
2506 rm -f confinc confmf
2508 # Check whether --enable-dependency-tracking was given.
2509 if test "${enable_dependency_tracking+set}" = set; then :
2510 enableval=$enable_dependency_tracking;
2513 if test "x$enable_dependency_tracking" != xno; then
2514 am_depcomp="$ac_aux_dir/depcomp"
2517 if test "x$enable_dependency_tracking" != xno; then
2527 ac_cpp='$CPP $CPPFLAGS'
2528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2531 if test -n "$ac_tool_prefix"; then
2532 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2533 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2535 $as_echo_n "checking for $ac_word... " >&6; }
2536 if test "${ac_cv_prog_CC+set}" = set; then :
2537 $as_echo_n "(cached) " >&6
2539 if test -n "$CC"; then
2540 ac_cv_prog_CC="$CC" # Let the user override the test.
2542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2546 test -z "$as_dir" && as_dir=.
2547 for ac_exec_ext in '' $ac_executable_extensions; do
2548 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2549 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2550 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2560 if test -n "$CC"; then
2561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2562 $as_echo "$CC" >&6; }
2564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2565 $as_echo "no" >&6; }
2570 if test -z "$ac_cv_prog_CC"; then
2572 # Extract the first word of "gcc", so it can be a program name with args.
2573 set dummy gcc; ac_word=$2
2574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2575 $as_echo_n "checking for $ac_word... " >&6; }
2576 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2577 $as_echo_n "(cached) " >&6
2579 if test -n "$ac_ct_CC"; then
2580 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2586 test -z "$as_dir" && as_dir=.
2587 for ac_exec_ext in '' $ac_executable_extensions; do
2588 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2589 ac_cv_prog_ac_ct_CC="gcc"
2590 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2599 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2600 if test -n "$ac_ct_CC"; then
2601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2602 $as_echo "$ac_ct_CC" >&6; }
2604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2605 $as_echo "no" >&6; }
2608 if test "x$ac_ct_CC" = x; then
2611 case $cross_compiling:$ac_tool_warned in
2613 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2614 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2615 ac_tool_warned=yes ;;
2623 if test -z "$CC"; then
2624 if test -n "$ac_tool_prefix"; then
2625 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2626 set dummy ${ac_tool_prefix}cc; ac_word=$2
2627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2628 $as_echo_n "checking for $ac_word... " >&6; }
2629 if test "${ac_cv_prog_CC+set}" = set; then :
2630 $as_echo_n "(cached) " >&6
2632 if test -n "$CC"; then
2633 ac_cv_prog_CC="$CC" # Let the user override the test.
2635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2639 test -z "$as_dir" && as_dir=.
2640 for ac_exec_ext in '' $ac_executable_extensions; do
2641 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2642 ac_cv_prog_CC="${ac_tool_prefix}cc"
2643 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2653 if test -n "$CC"; then
2654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2655 $as_echo "$CC" >&6; }
2657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2658 $as_echo "no" >&6; }
2664 if test -z "$CC"; then
2665 # Extract the first word of "cc", so it can be a program name with args.
2666 set dummy cc; ac_word=$2
2667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2668 $as_echo_n "checking for $ac_word... " >&6; }
2669 if test "${ac_cv_prog_CC+set}" = set; then :
2670 $as_echo_n "(cached) " >&6
2672 if test -n "$CC"; then
2673 ac_cv_prog_CC="$CC" # Let the user override the test.
2676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2680 test -z "$as_dir" && as_dir=.
2681 for ac_exec_ext in '' $ac_executable_extensions; do
2682 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2683 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2684 ac_prog_rejected=yes
2688 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2695 if test $ac_prog_rejected = yes; then
2696 # We found a bogon in the path, so make sure we never use it.
2697 set dummy $ac_cv_prog_CC
2699 if test $# != 0; then
2700 # We chose a different compiler from the bogus one.
2701 # However, it has the same basename, so the bogon will be chosen
2702 # first if we set CC to just the basename; use the full file name.
2704 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2710 if test -n "$CC"; then
2711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2712 $as_echo "$CC" >&6; }
2714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2715 $as_echo "no" >&6; }
2720 if test -z "$CC"; then
2721 if test -n "$ac_tool_prefix"; then
2722 for ac_prog in cl.exe
2724 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2725 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2727 $as_echo_n "checking for $ac_word... " >&6; }
2728 if test "${ac_cv_prog_CC+set}" = set; then :
2729 $as_echo_n "(cached) " >&6
2731 if test -n "$CC"; then
2732 ac_cv_prog_CC="$CC" # Let the user override the test.
2734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2738 test -z "$as_dir" && as_dir=.
2739 for ac_exec_ext in '' $ac_executable_extensions; do
2740 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2741 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2742 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2752 if test -n "$CC"; then
2753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2754 $as_echo "$CC" >&6; }
2756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2757 $as_echo "no" >&6; }
2761 test -n "$CC" && break
2764 if test -z "$CC"; then
2766 for ac_prog in cl.exe
2768 # Extract the first word of "$ac_prog", so it can be a program name with args.
2769 set dummy $ac_prog; ac_word=$2
2770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2771 $as_echo_n "checking for $ac_word... " >&6; }
2772 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2773 $as_echo_n "(cached) " >&6
2775 if test -n "$ac_ct_CC"; then
2776 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2782 test -z "$as_dir" && as_dir=.
2783 for ac_exec_ext in '' $ac_executable_extensions; do
2784 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2785 ac_cv_prog_ac_ct_CC="$ac_prog"
2786 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2795 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2796 if test -n "$ac_ct_CC"; then
2797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2798 $as_echo "$ac_ct_CC" >&6; }
2800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2801 $as_echo "no" >&6; }
2805 test -n "$ac_ct_CC" && break
2808 if test "x$ac_ct_CC" = x; then
2811 case $cross_compiling:$ac_tool_warned in
2813 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2814 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2815 ac_tool_warned=yes ;;
2824 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2825 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2826 as_fn_error "no acceptable C compiler found in \$PATH
2827 See \`config.log' for more details." "$LINENO" 5; }
2829 # Provide some information about the compiler.
2830 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2833 for ac_option in --version -v -V -qversion; do
2834 { { ac_try="$ac_compiler $ac_option >&5"
2836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2837 *) ac_try_echo=$ac_try;;
2839 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2840 $as_echo "$ac_try_echo"; } >&5
2841 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2843 if test -s conftest.err; then
2845 ... rest of stderr output deleted ...
2846 10q' conftest.err >conftest.er1
2847 cat conftest.er1 >&5
2849 rm -f conftest.er1 conftest.err
2850 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2851 test $ac_status = 0; }
2854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2855 /* end confdefs.h. */
2865 ac_clean_files_save=$ac_clean_files
2866 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2867 # Try to create an executable without -o first, disregard a.out.
2868 # It will help us diagnose broken compilers, and finding out an intuition
2870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2871 $as_echo_n "checking whether the C compiler works... " >&6; }
2872 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2874 # The possible output files:
2875 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2878 for ac_file in $ac_files
2881 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2882 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2887 if { { ac_try="$ac_link_default"
2889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2890 *) ac_try_echo=$ac_try;;
2892 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2893 $as_echo "$ac_try_echo"; } >&5
2894 (eval "$ac_link_default") 2>&5
2896 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2897 test $ac_status = 0; }; then :
2898 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2899 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2900 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2901 # so that the user can short-circuit this test for compilers unknown to
2903 for ac_file in $ac_files ''
2905 test -f "$ac_file" || continue
2907 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2910 # We found the default executable, but exeext='' is most
2914 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2916 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2918 # We set ac_cv_exeext here because the later test for it is not
2919 # safe: cross compilers may not add the suffix if given an `-o'
2920 # argument, so we may need to know it at that point already.
2921 # Even if this section looks crufty: it has the advantage of
2928 test "$ac_cv_exeext" = no && ac_cv_exeext=
2933 if test -z "$ac_file"; then :
2934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2935 $as_echo "no" >&6; }
2936 $as_echo "$as_me: failed program was:" >&5
2937 sed 's/^/| /' conftest.$ac_ext >&5
2939 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2940 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2941 { as_fn_set_status 77
2942 as_fn_error "C compiler cannot create executables
2943 See \`config.log' for more details." "$LINENO" 5; }; }
2945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2946 $as_echo "yes" >&6; }
2948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2949 $as_echo_n "checking for C compiler default output file name... " >&6; }
2950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2951 $as_echo "$ac_file" >&6; }
2952 ac_exeext=$ac_cv_exeext
2954 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2955 ac_clean_files=$ac_clean_files_save
2956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2957 $as_echo_n "checking for suffix of executables... " >&6; }
2958 if { { ac_try="$ac_link"
2960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2961 *) ac_try_echo=$ac_try;;
2963 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2964 $as_echo "$ac_try_echo"; } >&5
2965 (eval "$ac_link") 2>&5
2967 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2968 test $ac_status = 0; }; then :
2969 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2970 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2971 # work properly (i.e., refer to `conftest.exe'), while it won't with
2973 for ac_file in conftest.exe conftest conftest.*; do
2974 test -f "$ac_file" || continue
2976 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2977 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2983 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2984 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2985 as_fn_error "cannot compute suffix of executables: cannot compile and link
2986 See \`config.log' for more details." "$LINENO" 5; }
2988 rm -f conftest conftest$ac_cv_exeext
2989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2990 $as_echo "$ac_cv_exeext" >&6; }
2992 rm -f conftest.$ac_ext
2993 EXEEXT=$ac_cv_exeext
2995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2996 /* end confdefs.h. */
3001 FILE *f = fopen ("conftest.out", "w");
3002 return ferror (f) || fclose (f) != 0;
3008 ac_clean_files="$ac_clean_files conftest.out"
3009 # Check that the compiler produces executables we can run. If not, either
3010 # the compiler is broken, or we cross compile.
3011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3012 $as_echo_n "checking whether we are cross compiling... " >&6; }
3013 if test "$cross_compiling" != yes; then
3014 { { ac_try="$ac_link"
3016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3017 *) ac_try_echo=$ac_try;;
3019 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3020 $as_echo "$ac_try_echo"; } >&5
3021 (eval "$ac_link") 2>&5
3023 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3024 test $ac_status = 0; }
3025 if { ac_try='./conftest$ac_cv_exeext'
3026 { { case "(($ac_try" in
3027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3028 *) ac_try_echo=$ac_try;;
3030 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3031 $as_echo "$ac_try_echo"; } >&5
3032 (eval "$ac_try") 2>&5
3034 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3035 test $ac_status = 0; }; }; then
3038 if test "$cross_compiling" = maybe; then
3041 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3042 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3043 as_fn_error "cannot run C compiled programs.
3044 If you meant to cross compile, use \`--host'.
3045 See \`config.log' for more details." "$LINENO" 5; }
3049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3050 $as_echo "$cross_compiling" >&6; }
3052 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3053 ac_clean_files=$ac_clean_files_save
3054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3055 $as_echo_n "checking for suffix of object files... " >&6; }
3056 if test "${ac_cv_objext+set}" = set; then :
3057 $as_echo_n "(cached) " >&6
3059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3060 /* end confdefs.h. */
3070 rm -f conftest.o conftest.obj
3071 if { { ac_try="$ac_compile"
3073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3074 *) ac_try_echo=$ac_try;;
3076 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3077 $as_echo "$ac_try_echo"; } >&5
3078 (eval "$ac_compile") 2>&5
3080 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3081 test $ac_status = 0; }; then :
3082 for ac_file in conftest.o conftest.obj conftest.*; do
3083 test -f "$ac_file" || continue;
3085 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3086 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3091 $as_echo "$as_me: failed program was:" >&5
3092 sed 's/^/| /' conftest.$ac_ext >&5
3094 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3095 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3096 as_fn_error "cannot compute suffix of object files: cannot compile
3097 See \`config.log' for more details." "$LINENO" 5; }
3099 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3102 $as_echo "$ac_cv_objext" >&6; }
3103 OBJEXT=$ac_cv_objext
3105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3106 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3107 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3108 $as_echo_n "(cached) " >&6
3110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3111 /* end confdefs.h. */
3124 if ac_fn_c_try_compile "$LINENO"; then :
3129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3130 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3134 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3135 if test $ac_compiler_gnu = yes; then
3140 ac_test_CFLAGS=${CFLAGS+set}
3141 ac_save_CFLAGS=$CFLAGS
3142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3143 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3144 if test "${ac_cv_prog_cc_g+set}" = set; then :
3145 $as_echo_n "(cached) " >&6
3147 ac_save_c_werror_flag=$ac_c_werror_flag
3148 ac_c_werror_flag=yes
3151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3152 /* end confdefs.h. */
3162 if ac_fn_c_try_compile "$LINENO"; then :
3166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3167 /* end confdefs.h. */
3177 if ac_fn_c_try_compile "$LINENO"; then :
3180 ac_c_werror_flag=$ac_save_c_werror_flag
3182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3183 /* end confdefs.h. */
3193 if ac_fn_c_try_compile "$LINENO"; then :
3196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3201 ac_c_werror_flag=$ac_save_c_werror_flag
3203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3204 $as_echo "$ac_cv_prog_cc_g" >&6; }
3205 if test "$ac_test_CFLAGS" = set; then
3206 CFLAGS=$ac_save_CFLAGS
3207 elif test $ac_cv_prog_cc_g = yes; then
3208 if test "$GCC" = yes; then
3214 if test "$GCC" = yes; then
3220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3221 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3222 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3223 $as_echo_n "(cached) " >&6
3225 ac_cv_prog_cc_c89=no
3227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3228 /* end confdefs.h. */
3231 #include <sys/types.h>
3232 #include <sys/stat.h>
3233 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3234 struct buf { int x; };
3235 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3236 static char *e (p, i)
3242 static char *f (char * (*g) (char **, int), char **p, ...)
3247 s = g (p, va_arg (v,int));
3252 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3253 function prototypes and stuff, but not '\xHH' hex character constants.
3254 These don't provoke an error unfortunately, instead are silently treated
3255 as 'x'. The following induces an error, until -std is added to get
3256 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3257 array size at least. It's necessary to write '\x00'==0 to get something
3258 that's true only with -std. */
3259 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3261 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3262 inside strings and character constants. */
3264 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3266 int test (int i, double x);
3267 struct s1 {int (*f) (int a);};
3268 struct s2 {int (*f) (double a);};
3269 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3275 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3280 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3281 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3283 CC="$ac_save_CC $ac_arg"
3284 if ac_fn_c_try_compile "$LINENO"; then :
3285 ac_cv_prog_cc_c89=$ac_arg
3287 rm -f core conftest.err conftest.$ac_objext
3288 test "x$ac_cv_prog_cc_c89" != "xno" && break
3290 rm -f conftest.$ac_ext
3295 case "x$ac_cv_prog_cc_c89" in
3297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3298 $as_echo "none needed" >&6; } ;;
3300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3301 $as_echo "unsupported" >&6; } ;;
3303 CC="$CC $ac_cv_prog_cc_c89"
3304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3305 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3307 if test "x$ac_cv_prog_cc_c89" != xno; then :
3312 ac_cpp='$CPP $CPPFLAGS'
3313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3317 depcc="$CC" am_compiler_list=
3319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3320 $as_echo_n "checking dependency style of $depcc... " >&6; }
3321 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3322 $as_echo_n "(cached) " >&6
3324 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3325 # We make a subdir and do the tests there. Otherwise we can end up
3326 # making bogus files that we don't know about and never remove. For
3327 # instance it was reported that on HP-UX the gcc test will end up
3328 # making a dummy file named `D' -- because `-MD' means `put the output
3331 # Copy depcomp to subdir because otherwise we won't find it if we're
3332 # using a relative directory.
3333 cp "$am_depcomp" conftest.dir
3335 # We will build objects and dependencies in a subdirectory because
3336 # it helps to detect inapplicable dependency modes. For instance
3337 # both Tru64's cc and ICC support -MD to output dependencies as a
3338 # side effect of compilation, but ICC will put the dependencies in
3339 # the current directory while Tru64 will put them in the object
3343 am_cv_CC_dependencies_compiler_type=none
3344 if test "$am_compiler_list" = ""; then
3345 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3348 case " $depcc " in #(
3349 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3352 for depmode in $am_compiler_list; do
3353 # Setup a source with many dependencies, because some compilers
3354 # like to wrap large dependency lists on column 80 (with \), and
3355 # we should not choose a depcomp mode which is confused by this.
3357 # We need to recreate these files for each test, as the compiler may
3358 # overwrite some of them when testing with obscure command lines.
3359 # This happens at least with the AIX C compiler.
3361 for i in 1 2 3 4 5 6; do
3362 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3363 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3364 # Solaris 8's {/usr,}/bin/sh.
3365 touch sub/conftst$i.h
3367 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3369 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3370 # mode. It turns out that the SunPro C++ compiler does not properly
3371 # handle `-M -o', and we need to detect this. Also, some Intel
3372 # versions had trouble with output in subdirs
3373 am__obj=sub/conftest.${OBJEXT-o}
3374 am__minus_obj="-o $am__obj"
3377 # This depmode causes a compiler race in universal mode.
3378 test "$am__universal" = false || continue
3381 # after this tag, mechanisms are not by side-effect, so they'll
3382 # only be used when explicitly requested
3383 if test "x$enable_dependency_tracking" = xyes; then
3389 msvisualcpp | msvcmsys)
3390 # This compiler won't grok `-c -o', but also, the minuso test has
3391 # not run yet. These depmodes are late enough in the game, and
3392 # so weak that their functioning should not be impacted.
3393 am__obj=conftest.${OBJEXT-o}
3398 if depmode=$depmode \
3399 source=sub/conftest.c object=$am__obj \
3400 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3401 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3402 >/dev/null 2>conftest.err &&
3403 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3404 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3405 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3406 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3407 # icc doesn't choke on unknown options, it will just issue warnings
3408 # or remarks (even with -Werror). So we grep stderr for any message
3409 # that says an option was ignored or not supported.
3410 # When given -MP, icc 7.0 and 7.1 complain thusly:
3411 # icc: Command line warning: ignoring option '-M'; no argument required
3412 # The diagnosis changed in icc 8.0:
3413 # icc: Command line remark: option '-MP' not supported
3414 if (grep 'ignoring option' conftest.err ||
3415 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3416 am_cv_CC_dependencies_compiler_type=$depmode
3425 am_cv_CC_dependencies_compiler_type=none
3429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3430 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3431 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3434 test "x$enable_dependency_tracking" != xno \
3435 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3437 am__fastdepCC_FALSE='#'
3439 am__fastdepCC_TRUE='#'
3440 am__fastdepCC_FALSE=
3445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
3446 $as_echo_n "checking for library containing strerror... " >&6; }
3447 if test "${ac_cv_search_strerror+set}" = set; then :
3448 $as_echo_n "(cached) " >&6
3450 ac_func_search_save_LIBS=$LIBS
3451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3452 /* end confdefs.h. */
3454 /* Override any GCC internal prototype to avoid an error.
3455 Use char because int might match the return type of a GCC
3456 builtin and then its argument prototype would still apply. */
3469 for ac_lib in '' cposix; do
3470 if test -z "$ac_lib"; then
3471 ac_res="none required"
3474 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3476 if ac_fn_c_try_link "$LINENO"; then :
3477 ac_cv_search_strerror=$ac_res
3479 rm -f core conftest.err conftest.$ac_objext \
3481 if test "${ac_cv_search_strerror+set}" = set; then :
3485 if test "${ac_cv_search_strerror+set}" = set; then :
3488 ac_cv_search_strerror=no
3491 LIBS=$ac_func_search_save_LIBS
3493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
3494 $as_echo "$ac_cv_search_strerror" >&6; }
3495 ac_res=$ac_cv_search_strerror
3496 if test "$ac_res" != no; then :
3497 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3502 ac_cpp='$CPP $CPPFLAGS'
3503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3506 if test -n "$ac_tool_prefix"; then
3507 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3508 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3510 $as_echo_n "checking for $ac_word... " >&6; }
3511 if test "${ac_cv_prog_CC+set}" = set; then :
3512 $as_echo_n "(cached) " >&6
3514 if test -n "$CC"; then
3515 ac_cv_prog_CC="$CC" # Let the user override the test.
3517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3521 test -z "$as_dir" && as_dir=.
3522 for ac_exec_ext in '' $ac_executable_extensions; do
3523 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3524 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3525 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3535 if test -n "$CC"; then
3536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3537 $as_echo "$CC" >&6; }
3539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3540 $as_echo "no" >&6; }
3545 if test -z "$ac_cv_prog_CC"; then
3547 # Extract the first word of "gcc", so it can be a program name with args.
3548 set dummy gcc; ac_word=$2
3549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3550 $as_echo_n "checking for $ac_word... " >&6; }
3551 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3552 $as_echo_n "(cached) " >&6
3554 if test -n "$ac_ct_CC"; then
3555 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3561 test -z "$as_dir" && as_dir=.
3562 for ac_exec_ext in '' $ac_executable_extensions; do
3563 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3564 ac_cv_prog_ac_ct_CC="gcc"
3565 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3574 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3575 if test -n "$ac_ct_CC"; then
3576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3577 $as_echo "$ac_ct_CC" >&6; }
3579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3580 $as_echo "no" >&6; }
3583 if test "x$ac_ct_CC" = x; then
3586 case $cross_compiling:$ac_tool_warned in
3588 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3589 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3590 ac_tool_warned=yes ;;
3598 if test -z "$CC"; then
3599 if test -n "$ac_tool_prefix"; then
3600 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3601 set dummy ${ac_tool_prefix}cc; ac_word=$2
3602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3603 $as_echo_n "checking for $ac_word... " >&6; }
3604 if test "${ac_cv_prog_CC+set}" = set; then :
3605 $as_echo_n "(cached) " >&6
3607 if test -n "$CC"; then
3608 ac_cv_prog_CC="$CC" # Let the user override the test.
3610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3614 test -z "$as_dir" && as_dir=.
3615 for ac_exec_ext in '' $ac_executable_extensions; do
3616 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3617 ac_cv_prog_CC="${ac_tool_prefix}cc"
3618 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3628 if test -n "$CC"; then
3629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3630 $as_echo "$CC" >&6; }
3632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3633 $as_echo "no" >&6; }
3639 if test -z "$CC"; then
3640 # Extract the first word of "cc", so it can be a program name with args.
3641 set dummy cc; ac_word=$2
3642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3643 $as_echo_n "checking for $ac_word... " >&6; }
3644 if test "${ac_cv_prog_CC+set}" = set; then :
3645 $as_echo_n "(cached) " >&6
3647 if test -n "$CC"; then
3648 ac_cv_prog_CC="$CC" # Let the user override the test.
3651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3655 test -z "$as_dir" && as_dir=.
3656 for ac_exec_ext in '' $ac_executable_extensions; do
3657 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3658 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3659 ac_prog_rejected=yes
3663 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3670 if test $ac_prog_rejected = yes; then
3671 # We found a bogon in the path, so make sure we never use it.
3672 set dummy $ac_cv_prog_CC
3674 if test $# != 0; then
3675 # We chose a different compiler from the bogus one.
3676 # However, it has the same basename, so the bogon will be chosen
3677 # first if we set CC to just the basename; use the full file name.
3679 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3685 if test -n "$CC"; then
3686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3687 $as_echo "$CC" >&6; }
3689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3690 $as_echo "no" >&6; }
3695 if test -z "$CC"; then
3696 if test -n "$ac_tool_prefix"; then
3697 for ac_prog in cl.exe
3699 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3700 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3702 $as_echo_n "checking for $ac_word... " >&6; }
3703 if test "${ac_cv_prog_CC+set}" = set; then :
3704 $as_echo_n "(cached) " >&6
3706 if test -n "$CC"; then
3707 ac_cv_prog_CC="$CC" # Let the user override the test.
3709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3713 test -z "$as_dir" && as_dir=.
3714 for ac_exec_ext in '' $ac_executable_extensions; do
3715 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3716 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3717 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3727 if test -n "$CC"; then
3728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3729 $as_echo "$CC" >&6; }
3731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3732 $as_echo "no" >&6; }
3736 test -n "$CC" && break
3739 if test -z "$CC"; then
3741 for ac_prog in cl.exe
3743 # Extract the first word of "$ac_prog", so it can be a program name with args.
3744 set dummy $ac_prog; ac_word=$2
3745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3746 $as_echo_n "checking for $ac_word... " >&6; }
3747 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3748 $as_echo_n "(cached) " >&6
3750 if test -n "$ac_ct_CC"; then
3751 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3757 test -z "$as_dir" && as_dir=.
3758 for ac_exec_ext in '' $ac_executable_extensions; do
3759 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3760 ac_cv_prog_ac_ct_CC="$ac_prog"
3761 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3770 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3771 if test -n "$ac_ct_CC"; then
3772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3773 $as_echo "$ac_ct_CC" >&6; }
3775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3776 $as_echo "no" >&6; }
3780 test -n "$ac_ct_CC" && break
3783 if test "x$ac_ct_CC" = x; then
3786 case $cross_compiling:$ac_tool_warned in
3788 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3789 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3790 ac_tool_warned=yes ;;
3799 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3800 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3801 as_fn_error "no acceptable C compiler found in \$PATH
3802 See \`config.log' for more details." "$LINENO" 5; }
3804 # Provide some information about the compiler.
3805 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3808 for ac_option in --version -v -V -qversion; do
3809 { { ac_try="$ac_compiler $ac_option >&5"
3811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3812 *) ac_try_echo=$ac_try;;
3814 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3815 $as_echo "$ac_try_echo"; } >&5
3816 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3818 if test -s conftest.err; then
3820 ... rest of stderr output deleted ...
3821 10q' conftest.err >conftest.er1
3822 cat conftest.er1 >&5
3824 rm -f conftest.er1 conftest.err
3825 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3826 test $ac_status = 0; }
3829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3830 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3831 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3832 $as_echo_n "(cached) " >&6
3834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3835 /* end confdefs.h. */
3848 if ac_fn_c_try_compile "$LINENO"; then :
3853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3854 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3858 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3859 if test $ac_compiler_gnu = yes; then
3864 ac_test_CFLAGS=${CFLAGS+set}
3865 ac_save_CFLAGS=$CFLAGS
3866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3867 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3868 if test "${ac_cv_prog_cc_g+set}" = set; then :
3869 $as_echo_n "(cached) " >&6
3871 ac_save_c_werror_flag=$ac_c_werror_flag
3872 ac_c_werror_flag=yes
3875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3876 /* end confdefs.h. */
3886 if ac_fn_c_try_compile "$LINENO"; then :
3890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3891 /* end confdefs.h. */
3901 if ac_fn_c_try_compile "$LINENO"; then :
3904 ac_c_werror_flag=$ac_save_c_werror_flag
3906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3907 /* end confdefs.h. */
3917 if ac_fn_c_try_compile "$LINENO"; then :
3920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3925 ac_c_werror_flag=$ac_save_c_werror_flag
3927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3928 $as_echo "$ac_cv_prog_cc_g" >&6; }
3929 if test "$ac_test_CFLAGS" = set; then
3930 CFLAGS=$ac_save_CFLAGS
3931 elif test $ac_cv_prog_cc_g = yes; then
3932 if test "$GCC" = yes; then
3938 if test "$GCC" = yes; then
3944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3945 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3946 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3947 $as_echo_n "(cached) " >&6
3949 ac_cv_prog_cc_c89=no
3951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3952 /* end confdefs.h. */
3955 #include <sys/types.h>
3956 #include <sys/stat.h>
3957 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3958 struct buf { int x; };
3959 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3960 static char *e (p, i)
3966 static char *f (char * (*g) (char **, int), char **p, ...)
3971 s = g (p, va_arg (v,int));
3976 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3977 function prototypes and stuff, but not '\xHH' hex character constants.
3978 These don't provoke an error unfortunately, instead are silently treated
3979 as 'x'. The following induces an error, until -std is added to get
3980 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3981 array size at least. It's necessary to write '\x00'==0 to get something
3982 that's true only with -std. */
3983 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3985 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3986 inside strings and character constants. */
3988 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3990 int test (int i, double x);
3991 struct s1 {int (*f) (int a);};
3992 struct s2 {int (*f) (double a);};
3993 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3999 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4004 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4005 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4007 CC="$ac_save_CC $ac_arg"
4008 if ac_fn_c_try_compile "$LINENO"; then :
4009 ac_cv_prog_cc_c89=$ac_arg
4011 rm -f core conftest.err conftest.$ac_objext
4012 test "x$ac_cv_prog_cc_c89" != "xno" && break
4014 rm -f conftest.$ac_ext
4019 case "x$ac_cv_prog_cc_c89" in
4021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4022 $as_echo "none needed" >&6; } ;;
4024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4025 $as_echo "unsupported" >&6; } ;;
4027 CC="$CC $ac_cv_prog_cc_c89"
4028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4029 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4031 if test "x$ac_cv_prog_cc_c89" != xno; then :
4036 ac_cpp='$CPP $CPPFLAGS'
4037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4041 depcc="$CC" am_compiler_list=
4043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4044 $as_echo_n "checking dependency style of $depcc... " >&6; }
4045 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4046 $as_echo_n "(cached) " >&6
4048 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4049 # We make a subdir and do the tests there. Otherwise we can end up
4050 # making bogus files that we don't know about and never remove. For
4051 # instance it was reported that on HP-UX the gcc test will end up
4052 # making a dummy file named `D' -- because `-MD' means `put the output
4055 # Copy depcomp to subdir because otherwise we won't find it if we're
4056 # using a relative directory.
4057 cp "$am_depcomp" conftest.dir
4059 # We will build objects and dependencies in a subdirectory because
4060 # it helps to detect inapplicable dependency modes. For instance
4061 # both Tru64's cc and ICC support -MD to output dependencies as a
4062 # side effect of compilation, but ICC will put the dependencies in
4063 # the current directory while Tru64 will put them in the object
4067 am_cv_CC_dependencies_compiler_type=none
4068 if test "$am_compiler_list" = ""; then
4069 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4072 case " $depcc " in #(
4073 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4076 for depmode in $am_compiler_list; do
4077 # Setup a source with many dependencies, because some compilers
4078 # like to wrap large dependency lists on column 80 (with \), and
4079 # we should not choose a depcomp mode which is confused by this.
4081 # We need to recreate these files for each test, as the compiler may
4082 # overwrite some of them when testing with obscure command lines.
4083 # This happens at least with the AIX C compiler.
4085 for i in 1 2 3 4 5 6; do
4086 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4087 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4088 # Solaris 8's {/usr,}/bin/sh.
4089 touch sub/conftst$i.h
4091 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4093 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4094 # mode. It turns out that the SunPro C++ compiler does not properly
4095 # handle `-M -o', and we need to detect this. Also, some Intel
4096 # versions had trouble with output in subdirs
4097 am__obj=sub/conftest.${OBJEXT-o}
4098 am__minus_obj="-o $am__obj"
4101 # This depmode causes a compiler race in universal mode.
4102 test "$am__universal" = false || continue
4105 # after this tag, mechanisms are not by side-effect, so they'll
4106 # only be used when explicitly requested
4107 if test "x$enable_dependency_tracking" = xyes; then
4113 msvisualcpp | msvcmsys)
4114 # This compiler won't grok `-c -o', but also, the minuso test has
4115 # not run yet. These depmodes are late enough in the game, and
4116 # so weak that their functioning should not be impacted.
4117 am__obj=conftest.${OBJEXT-o}
4122 if depmode=$depmode \
4123 source=sub/conftest.c object=$am__obj \
4124 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4125 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4126 >/dev/null 2>conftest.err &&
4127 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4128 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4129 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4130 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4131 # icc doesn't choke on unknown options, it will just issue warnings
4132 # or remarks (even with -Werror). So we grep stderr for any message
4133 # that says an option was ignored or not supported.
4134 # When given -MP, icc 7.0 and 7.1 complain thusly:
4135 # icc: Command line warning: ignoring option '-M'; no argument required
4136 # The diagnosis changed in icc 8.0:
4137 # icc: Command line remark: option '-MP' not supported
4138 if (grep 'ignoring option' conftest.err ||
4139 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4140 am_cv_CC_dependencies_compiler_type=$depmode
4149 am_cv_CC_dependencies_compiler_type=none
4153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4154 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4155 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4158 test "x$enable_dependency_tracking" != xno \
4159 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4161 am__fastdepCC_FALSE='#'
4163 am__fastdepCC_TRUE='#'
4164 am__fastdepCC_FALSE=
4169 ac_cpp='$CPP $CPPFLAGS'
4170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4174 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4175 # On Suns, sometimes $CPP names a directory.
4176 if test -n "$CPP" && test -d "$CPP"; then
4179 if test -z "$CPP"; then
4180 if test "${ac_cv_prog_CPP+set}" = set; then :
4181 $as_echo_n "(cached) " >&6
4183 # Double quotes because CPP needs to be expanded
4184 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4187 for ac_c_preproc_warn_flag in '' yes
4189 # Use a header file that comes with gcc, so configuring glibc
4190 # with a fresh cross-compiler works.
4191 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4192 # <limits.h> exists even on freestanding compilers.
4193 # On the NeXT, cc -E runs the code through the compiler's parser,
4194 # not just through cpp. "Syntax error" is here to catch this case.
4195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4196 /* end confdefs.h. */
4198 # include <limits.h>
4200 # include <assert.h>
4204 if ac_fn_c_try_cpp "$LINENO"; then :
4207 # Broken: fails on valid input.
4210 rm -f conftest.err conftest.$ac_ext
4212 # OK, works on sane cases. Now check whether nonexistent headers
4213 # can be detected and how.
4214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4215 /* end confdefs.h. */
4216 #include <ac_nonexistent.h>
4218 if ac_fn_c_try_cpp "$LINENO"; then :
4219 # Broken: success on invalid input.
4222 # Passes both tests.
4226 rm -f conftest.err conftest.$ac_ext
4229 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4230 rm -f conftest.err conftest.$ac_ext
4231 if $ac_preproc_ok; then :
4243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4244 $as_echo "$CPP" >&6; }
4246 for ac_c_preproc_warn_flag in '' yes
4248 # Use a header file that comes with gcc, so configuring glibc
4249 # with a fresh cross-compiler works.
4250 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4251 # <limits.h> exists even on freestanding compilers.
4252 # On the NeXT, cc -E runs the code through the compiler's parser,
4253 # not just through cpp. "Syntax error" is here to catch this case.
4254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4255 /* end confdefs.h. */
4257 # include <limits.h>
4259 # include <assert.h>
4263 if ac_fn_c_try_cpp "$LINENO"; then :
4266 # Broken: fails on valid input.
4269 rm -f conftest.err conftest.$ac_ext
4271 # OK, works on sane cases. Now check whether nonexistent headers
4272 # can be detected and how.
4273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4274 /* end confdefs.h. */
4275 #include <ac_nonexistent.h>
4277 if ac_fn_c_try_cpp "$LINENO"; then :
4278 # Broken: success on invalid input.
4281 # Passes both tests.
4285 rm -f conftest.err conftest.$ac_ext
4288 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4289 rm -f conftest.err conftest.$ac_ext
4290 if $ac_preproc_ok; then :
4293 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4294 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4295 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4296 See \`config.log' for more details." "$LINENO" 5; }
4300 ac_cpp='$CPP $CPPFLAGS'
4301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4307 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4308 if test "${ac_cv_path_GREP+set}" = set; then :
4309 $as_echo_n "(cached) " >&6
4311 if test -z "$GREP"; then
4312 ac_path_GREP_found=false
4313 # Loop through the user's path and test for each of PROGNAME-LIST
4314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4315 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4318 test -z "$as_dir" && as_dir=.
4319 for ac_prog in grep ggrep; do
4320 for ac_exec_ext in '' $ac_executable_extensions; do
4321 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4322 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4323 # Check for GNU ac_path_GREP and select it if it is found.
4324 # Check for GNU $ac_path_GREP
4325 case `"$ac_path_GREP" --version 2>&1` in
4327 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4330 $as_echo_n 0123456789 >"conftest.in"
4333 cat "conftest.in" "conftest.in" >"conftest.tmp"
4334 mv "conftest.tmp" "conftest.in"
4335 cp "conftest.in" "conftest.nl"
4336 $as_echo 'GREP' >> "conftest.nl"
4337 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4338 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4339 as_fn_arith $ac_count + 1 && ac_count=$as_val
4340 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4341 # Best one so far, save it but keep looking for a better one
4342 ac_cv_path_GREP="$ac_path_GREP"
4343 ac_path_GREP_max=$ac_count
4345 # 10*(2^10) chars as input seems more than enough
4346 test $ac_count -gt 10 && break
4348 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4351 $ac_path_GREP_found && break 3
4356 if test -z "$ac_cv_path_GREP"; then
4357 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4360 ac_cv_path_GREP=$GREP
4364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4365 $as_echo "$ac_cv_path_GREP" >&6; }
4366 GREP="$ac_cv_path_GREP"
4369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4370 $as_echo_n "checking for egrep... " >&6; }
4371 if test "${ac_cv_path_EGREP+set}" = set; then :
4372 $as_echo_n "(cached) " >&6
4374 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4375 then ac_cv_path_EGREP="$GREP -E"
4377 if test -z "$EGREP"; then
4378 ac_path_EGREP_found=false
4379 # Loop through the user's path and test for each of PROGNAME-LIST
4380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4381 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4384 test -z "$as_dir" && as_dir=.
4385 for ac_prog in egrep; do
4386 for ac_exec_ext in '' $ac_executable_extensions; do
4387 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4388 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4389 # Check for GNU ac_path_EGREP and select it if it is found.
4390 # Check for GNU $ac_path_EGREP
4391 case `"$ac_path_EGREP" --version 2>&1` in
4393 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4396 $as_echo_n 0123456789 >"conftest.in"
4399 cat "conftest.in" "conftest.in" >"conftest.tmp"
4400 mv "conftest.tmp" "conftest.in"
4401 cp "conftest.in" "conftest.nl"
4402 $as_echo 'EGREP' >> "conftest.nl"
4403 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4404 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4405 as_fn_arith $ac_count + 1 && ac_count=$as_val
4406 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4407 # Best one so far, save it but keep looking for a better one
4408 ac_cv_path_EGREP="$ac_path_EGREP"
4409 ac_path_EGREP_max=$ac_count
4411 # 10*(2^10) chars as input seems more than enough
4412 test $ac_count -gt 10 && break
4414 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4417 $ac_path_EGREP_found && break 3
4422 if test -z "$ac_cv_path_EGREP"; then
4423 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4426 ac_cv_path_EGREP=$EGREP
4431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4432 $as_echo "$ac_cv_path_EGREP" >&6; }
4433 EGREP="$ac_cv_path_EGREP"
4436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4437 $as_echo_n "checking for ANSI C header files... " >&6; }
4438 if test "${ac_cv_header_stdc+set}" = set; then :
4439 $as_echo_n "(cached) " >&6
4441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4442 /* end confdefs.h. */
4456 if ac_fn_c_try_compile "$LINENO"; then :
4457 ac_cv_header_stdc=yes
4459 ac_cv_header_stdc=no
4461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4463 if test $ac_cv_header_stdc = yes; then
4464 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4466 /* end confdefs.h. */
4470 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4471 $EGREP "memchr" >/dev/null 2>&1; then :
4474 ac_cv_header_stdc=no
4480 if test $ac_cv_header_stdc = yes; then
4481 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4483 /* end confdefs.h. */
4487 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4488 $EGREP "free" >/dev/null 2>&1; then :
4491 ac_cv_header_stdc=no
4497 if test $ac_cv_header_stdc = yes; then
4498 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4499 if test "$cross_compiling" = yes; then :
4502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4503 /* end confdefs.h. */
4506 #if ((' ' & 0x0FF) == 0x020)
4507 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4508 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4510 # define ISLOWER(c) \
4511 (('a' <= (c) && (c) <= 'i') \
4512 || ('j' <= (c) && (c) <= 'r') \
4513 || ('s' <= (c) && (c) <= 'z'))
4514 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4517 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4522 for (i = 0; i < 256; i++)
4523 if (XOR (islower (i), ISLOWER (i))
4524 || toupper (i) != TOUPPER (i))
4529 if ac_fn_c_try_run "$LINENO"; then :
4532 ac_cv_header_stdc=no
4534 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4535 conftest.$ac_objext conftest.beam conftest.$ac_ext
4540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4541 $as_echo "$ac_cv_header_stdc" >&6; }
4542 if test $ac_cv_header_stdc = yes; then
4544 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4548 for ac_prog in 'bison -y' byacc
4550 # Extract the first word of "$ac_prog", so it can be a program name with args.
4551 set dummy $ac_prog; ac_word=$2
4552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4553 $as_echo_n "checking for $ac_word... " >&6; }
4554 if test "${ac_cv_prog_YACC+set}" = set; then :
4555 $as_echo_n "(cached) " >&6
4557 if test -n "$YACC"; then
4558 ac_cv_prog_YACC="$YACC" # Let the user override the test.
4560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4564 test -z "$as_dir" && as_dir=.
4565 for ac_exec_ext in '' $ac_executable_extensions; do
4566 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4567 ac_cv_prog_YACC="$ac_prog"
4568 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4577 YACC=$ac_cv_prog_YACC
4578 if test -n "$YACC"; then
4579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
4580 $as_echo "$YACC" >&6; }
4582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4583 $as_echo "no" >&6; }
4587 test -n "$YACC" && break
4589 test -n "$YACC" || YACC="yacc"
4591 for ac_prog in flex lex
4593 # Extract the first word of "$ac_prog", so it can be a program name with args.
4594 set dummy $ac_prog; ac_word=$2
4595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4596 $as_echo_n "checking for $ac_word... " >&6; }
4597 if test "${ac_cv_prog_LEX+set}" = set; then :
4598 $as_echo_n "(cached) " >&6
4600 if test -n "$LEX"; then
4601 ac_cv_prog_LEX="$LEX" # Let the user override the test.
4603 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4607 test -z "$as_dir" && as_dir=.
4608 for ac_exec_ext in '' $ac_executable_extensions; do
4609 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4610 ac_cv_prog_LEX="$ac_prog"
4611 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4621 if test -n "$LEX"; then
4622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
4623 $as_echo "$LEX" >&6; }
4625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4626 $as_echo "no" >&6; }
4630 test -n "$LEX" && break
4632 test -n "$LEX" || LEX=":"
4634 if test "x$LEX" != "x:"; then
4635 cat >conftest.l <<_ACEOF
4641 e { yyless (input () != 0); }
4642 f { unput (yytext[0]); }
4643 . { BEGIN INITIAL; }
4645 #ifdef YYTEXT_POINTER
4646 extern char *yytext;
4651 return ! yylex () + ! yywrap ();
4654 { { ac_try="$LEX conftest.l"
4656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4657 *) ac_try_echo=$ac_try;;
4659 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4660 $as_echo "$ac_try_echo"; } >&5
4661 (eval "$LEX conftest.l") 2>&5
4663 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4664 test $ac_status = 0; }
4665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
4666 $as_echo_n "checking lex output file root... " >&6; }
4667 if test "${ac_cv_prog_lex_root+set}" = set; then :
4668 $as_echo_n "(cached) " >&6
4671 if test -f lex.yy.c; then
4672 ac_cv_prog_lex_root=lex.yy
4673 elif test -f lexyy.c; then
4674 ac_cv_prog_lex_root=lexyy
4676 as_fn_error "cannot find output from $LEX; giving up" "$LINENO" 5
4679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
4680 $as_echo "$ac_cv_prog_lex_root" >&6; }
4681 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
4683 if test -z "${LEXLIB+set}"; then
4684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
4685 $as_echo_n "checking lex library... " >&6; }
4686 if test "${ac_cv_lib_lex+set}" = set; then :
4687 $as_echo_n "(cached) " >&6
4691 ac_cv_lib_lex='none needed'
4692 for ac_lib in '' -lfl -ll; do
4693 LIBS="$ac_lib $ac_save_LIBS"
4694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4695 /* end confdefs.h. */
4696 `cat $LEX_OUTPUT_ROOT.c`
4698 if ac_fn_c_try_link "$LINENO"; then :
4699 ac_cv_lib_lex=$ac_lib
4701 rm -f core conftest.err conftest.$ac_objext \
4702 conftest$ac_exeext conftest.$ac_ext
4703 test "$ac_cv_lib_lex" != 'none needed' && break
4708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
4709 $as_echo "$ac_cv_lib_lex" >&6; }
4710 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
4714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
4715 $as_echo_n "checking whether yytext is a pointer... " >&6; }
4716 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then :
4717 $as_echo_n "(cached) " >&6
4719 # POSIX says lex can declare yytext either as a pointer or an array; the
4720 # default is implementation-dependent. Figure out which it is, since
4721 # not all implementations provide the %pointer and %array declarations.
4722 ac_cv_prog_lex_yytext_pointer=no
4724 LIBS="$LEXLIB $ac_save_LIBS"
4725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4726 /* end confdefs.h. */
4727 #define YYTEXT_POINTER 1
4728 `cat $LEX_OUTPUT_ROOT.c`
4730 if ac_fn_c_try_link "$LINENO"; then :
4731 ac_cv_prog_lex_yytext_pointer=yes
4733 rm -f core conftest.err conftest.$ac_objext \
4734 conftest$ac_exeext conftest.$ac_ext
4738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
4739 $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
4740 if test $ac_cv_prog_lex_yytext_pointer = yes; then
4742 $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
4745 rm -f conftest.l $LEX_OUTPUT_ROOT.c
4748 if test "$LEX" = :; then
4749 LEX=${am_missing_run}flex
4753 ac_cpp='$CPP $CPPFLAGS'
4754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4758 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4759 # On Suns, sometimes $CPP names a directory.
4760 if test -n "$CPP" && test -d "$CPP"; then
4763 if test -z "$CPP"; then
4764 if test "${ac_cv_prog_CPP+set}" = set; then :
4765 $as_echo_n "(cached) " >&6
4767 # Double quotes because CPP needs to be expanded
4768 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4771 for ac_c_preproc_warn_flag in '' yes
4773 # Use a header file that comes with gcc, so configuring glibc
4774 # with a fresh cross-compiler works.
4775 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4776 # <limits.h> exists even on freestanding compilers.
4777 # On the NeXT, cc -E runs the code through the compiler's parser,
4778 # not just through cpp. "Syntax error" is here to catch this case.
4779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4780 /* end confdefs.h. */
4782 # include <limits.h>
4784 # include <assert.h>
4788 if ac_fn_c_try_cpp "$LINENO"; then :
4791 # Broken: fails on valid input.
4794 rm -f conftest.err conftest.$ac_ext
4796 # OK, works on sane cases. Now check whether nonexistent headers
4797 # can be detected and how.
4798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4799 /* end confdefs.h. */
4800 #include <ac_nonexistent.h>
4802 if ac_fn_c_try_cpp "$LINENO"; then :
4803 # Broken: success on invalid input.
4806 # Passes both tests.
4810 rm -f conftest.err conftest.$ac_ext
4813 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4814 rm -f conftest.err conftest.$ac_ext
4815 if $ac_preproc_ok; then :
4827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4828 $as_echo "$CPP" >&6; }
4830 for ac_c_preproc_warn_flag in '' yes
4832 # Use a header file that comes with gcc, so configuring glibc
4833 # with a fresh cross-compiler works.
4834 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4835 # <limits.h> exists even on freestanding compilers.
4836 # On the NeXT, cc -E runs the code through the compiler's parser,
4837 # not just through cpp. "Syntax error" is here to catch this case.
4838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4839 /* end confdefs.h. */
4841 # include <limits.h>
4843 # include <assert.h>
4847 if ac_fn_c_try_cpp "$LINENO"; then :
4850 # Broken: fails on valid input.
4853 rm -f conftest.err conftest.$ac_ext
4855 # OK, works on sane cases. Now check whether nonexistent headers
4856 # can be detected and how.
4857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4858 /* end confdefs.h. */
4859 #include <ac_nonexistent.h>
4861 if ac_fn_c_try_cpp "$LINENO"; then :
4862 # Broken: success on invalid input.
4865 # Passes both tests.
4869 rm -f conftest.err conftest.$ac_ext
4872 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4873 rm -f conftest.err conftest.$ac_ext
4874 if $ac_preproc_ok; then :
4877 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4878 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4879 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4880 See \`config.log' for more details." "$LINENO" 5; }
4884 ac_cpp='$CPP $CPPFLAGS'
4885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4889 # Extract the first word of "rm", so it can be a program name with args.
4890 set dummy rm; ac_word=$2
4891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4892 $as_echo_n "checking for $ac_word... " >&6; }
4893 if test "${ac_cv_path_RM+set}" = set; then :
4894 $as_echo_n "(cached) " >&6
4898 ac_cv_path_RM="$RM" # Let the user override the test with a path.
4901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4905 test -z "$as_dir" && as_dir=.
4906 for ac_exec_ext in '' $ac_executable_extensions; do
4907 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4908 ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
4909 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4916 test -z "$ac_cv_path_RM" && ac_cv_path_RM="/bin/rm"
4921 if test -n "$RM"; then
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
4923 $as_echo "$RM" >&6; }
4925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4926 $as_echo "no" >&6; }
4930 # Extract the first word of "mv", so it can be a program name with args.
4931 set dummy mv; ac_word=$2
4932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4933 $as_echo_n "checking for $ac_word... " >&6; }
4934 if test "${ac_cv_path_MV+set}" = set; then :
4935 $as_echo_n "(cached) " >&6
4939 ac_cv_path_MV="$MV" # Let the user override the test with a path.
4942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4946 test -z "$as_dir" && as_dir=.
4947 for ac_exec_ext in '' $ac_executable_extensions; do
4948 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4949 ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext"
4950 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4957 test -z "$ac_cv_path_MV" && ac_cv_path_MV="/bin/mv"
4962 if test -n "$MV"; then
4963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MV" >&5
4964 $as_echo "$MV" >&6; }
4966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4967 $as_echo "no" >&6; }
4971 # Extract the first word of "tar", so it can be a program name with args.
4972 set dummy tar; ac_word=$2
4973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4974 $as_echo_n "checking for $ac_word... " >&6; }
4975 if test "${ac_cv_path_TAR+set}" = set; then :
4976 $as_echo_n "(cached) " >&6
4980 ac_cv_path_TAR="$TAR" # Let the user override the test with a path.
4983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4987 test -z "$as_dir" && as_dir=.
4988 for ac_exec_ext in '' $ac_executable_extensions; do
4989 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4990 ac_cv_path_TAR="$as_dir/$ac_word$ac_exec_ext"
4991 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4998 test -z "$ac_cv_path_TAR" && ac_cv_path_TAR="/bin/tar"
5003 if test -n "$TAR"; then
5004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TAR" >&5
5005 $as_echo "$TAR" >&6; }
5007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5008 $as_echo "no" >&6; }
5014 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
5015 if test -n "$ac_tool_prefix"; then
5016 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5017 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5019 $as_echo_n "checking for $ac_word... " >&6; }
5020 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
5021 $as_echo_n "(cached) " >&6
5025 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
5028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5032 test -z "$as_dir" && as_dir=.
5033 for ac_exec_ext in '' $ac_executable_extensions; do
5034 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5035 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5036 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5046 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
5047 if test -n "$PKG_CONFIG"; then
5048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5049 $as_echo "$PKG_CONFIG" >&6; }
5051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5052 $as_echo "no" >&6; }
5057 if test -z "$ac_cv_path_PKG_CONFIG"; then
5058 ac_pt_PKG_CONFIG=$PKG_CONFIG
5059 # Extract the first word of "pkg-config", so it can be a program name with args.
5060 set dummy pkg-config; ac_word=$2
5061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5062 $as_echo_n "checking for $ac_word... " >&6; }
5063 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
5064 $as_echo_n "(cached) " >&6
5066 case $ac_pt_PKG_CONFIG in
5068 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
5071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5075 test -z "$as_dir" && as_dir=.
5076 for ac_exec_ext in '' $ac_executable_extensions; do
5077 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5078 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5079 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5089 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
5090 if test -n "$ac_pt_PKG_CONFIG"; then
5091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
5092 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
5094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5095 $as_echo "no" >&6; }
5098 if test "x$ac_pt_PKG_CONFIG" = x; then
5101 case $cross_compiling:$ac_tool_warned in
5103 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5104 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5105 ac_tool_warned=yes ;;
5107 PKG_CONFIG=$ac_pt_PKG_CONFIG
5110 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
5114 if test -n "$PKG_CONFIG"; then
5115 _pkg_min_version=0.9.0
5116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
5117 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
5118 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
5119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5120 $as_echo "yes" >&6; }
5122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5123 $as_echo "no" >&6; }
5130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
5131 $as_echo_n "checking for GLIB... " >&6; }
5133 if test -n "$PKG_CONFIG"; then
5134 if test -n "$GLIB_CFLAGS"; then
5135 pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
5137 if test -n "$PKG_CONFIG" && \
5138 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_REQUIRED\""; } >&5
5139 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB_REQUIRED") 2>&5
5141 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5142 test $ac_status = 0; }; then
5143 pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= $GLIB_REQUIRED" 2>/dev/null`
5151 if test -n "$PKG_CONFIG"; then
5152 if test -n "$GLIB_LIBS"; then
5153 pkg_cv_GLIB_LIBS="$GLIB_LIBS"
5155 if test -n "$PKG_CONFIG" && \
5156 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_REQUIRED\""; } >&5
5157 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB_REQUIRED") 2>&5
5159 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5160 test $ac_status = 0; }; then
5161 pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= $GLIB_REQUIRED" 2>/dev/null`
5172 if test $pkg_failed = yes; then
5174 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5175 _pkg_short_errors_supported=yes
5177 _pkg_short_errors_supported=no
5179 if test $_pkg_short_errors_supported = yes; then
5180 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glib-2.0 >= $GLIB_REQUIRED"`
5182 GLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 >= $GLIB_REQUIRED"`
5184 # Put the nasty error message in config.log where it belongs
5185 echo "$GLIB_PKG_ERRORS" >&5
5187 as_fn_error "Package requirements (glib-2.0 >= $GLIB_REQUIRED) were not met:
5191 Consider adjusting the PKG_CONFIG_PATH environment variable if you
5192 installed software in a non-standard prefix.
5194 Alternatively, you may set the environment variables GLIB_CFLAGS
5195 and GLIB_LIBS to avoid the need to call pkg-config.
5196 See the pkg-config man page for more details.
5198 elif test $pkg_failed = untried; then
5199 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5200 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5201 as_fn_error "The pkg-config script could not be found or is too old. Make sure it
5202 is in your PATH or set the PKG_CONFIG environment variable to the full
5205 Alternatively, you may set the environment variables GLIB_CFLAGS
5206 and GLIB_LIBS to avoid the need to call pkg-config.
5207 See the pkg-config man page for more details.
5209 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
5210 See \`config.log' for more details." "$LINENO" 5; }
5212 GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
5213 GLIB_LIBS=$pkg_cv_GLIB_LIBS
5214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5215 $as_echo "yes" >&6; }
5228 ac_config_files="$ac_config_files gob2.spec Makefile src/Makefile doc/Makefile examples/Makefile doc/gob2.1"
5230 cat >confcache <<\_ACEOF
5231 # This file is a shell script that caches the results of configure
5232 # tests run on this system so they can be shared between configure
5233 # scripts and configure runs, see configure's option --config-cache.
5234 # It is not useful on other systems. If it contains results you don't
5235 # want to keep, you may remove or edit it.
5237 # config.status only pays attention to the cache file if you give it
5238 # the --recheck option to rerun configure.
5240 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5241 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5246 # The following way of writing the cache mishandles newlines in values,
5247 # but we know of no workaround that is simple, portable, and efficient.
5248 # So, we kill variables containing newlines.
5249 # Ultrix sh set writes to stderr and can't be redirected directly,
5250 # and sets the high bit in the cache file unless we assign to the vars.
5252 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5253 eval ac_val=\$$ac_var
5257 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5258 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5261 _ | IFS | as_nl) ;; #(
5262 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5263 *) { eval $ac_var=; unset $ac_var;} ;;
5269 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5270 *${as_nl}ac_space=\ *)
5271 # `set' does not quote correctly, so add quotes: double-quote
5272 # substitution turns \\\\ into \\, and sed turns \\ into \.
5275 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5278 # `set' quotes correctly as required by POSIX, so do not add quotes.
5279 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5288 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5290 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5292 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5293 if test -w "$cache_file"; then
5294 test "x$cache_file" != "x/dev/null" &&
5295 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5296 $as_echo "$as_me: updating cache $cache_file" >&6;}
5297 cat confcache >$cache_file
5299 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5300 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5305 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5306 # Let make expand exec_prefix.
5307 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5309 DEFS=-DHAVE_CONFIG_H
5313 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5314 # 1. Remove the extension, and $U if already installed.
5315 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5316 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5317 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5318 # will be set to the directory where LIBOBJS objects are built.
5319 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5320 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5324 LTLIBOBJS=$ac_ltlibobjs
5327 if test -n "$EXEEXT"; then
5329 am__EXEEXT_FALSE='#'
5335 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
5336 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
5337 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5339 if test -z "${NOINSTGOB_TRUE}" && test -z "${NOINSTGOB_FALSE}"; then
5340 as_fn_error "conditional \"NOINSTGOB\" was never defined.
5341 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5343 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5344 as_fn_error "conditional \"AMDEP\" was never defined.
5345 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5347 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5348 as_fn_error "conditional \"am__fastdepCC\" was never defined.
5349 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5351 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5352 as_fn_error "conditional \"am__fastdepCC\" was never defined.
5353 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5356 : ${CONFIG_STATUS=./config.status}
5358 ac_clean_files_save=$ac_clean_files
5359 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5360 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5361 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5363 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5365 # Generated by $as_me.
5366 # Run this file to recreate the current configuration.
5367 # Compiler output produced by configure, useful for debugging
5368 # configure, is in config.log if it exists.
5374 SHELL=\${CONFIG_SHELL-$SHELL}
5377 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5378 ## -------------------- ##
5379 ## M4sh Initialization. ##
5380 ## -------------------- ##
5382 # Be more Bourne compatible
5383 DUALCASE=1; export DUALCASE # for MKS sh
5384 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
5387 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5388 # is contrary to our usage. Disable this feature.
5389 alias -g '${1+"$@"}'='"$@"'
5390 setopt NO_GLOB_SUBST
5392 case `(set -o) 2>/dev/null` in #(
5404 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5405 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5406 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5407 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5408 # Prefer a ksh shell builtin over an external printf program on Solaris,
5409 # but without wasting forks for bash or zsh.
5410 if test -z "$BASH_VERSION$ZSH_VERSION" \
5411 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5412 as_echo='print -r --'
5413 as_echo_n='print -rn --'
5414 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5415 as_echo='printf %s\n'
5416 as_echo_n='printf %s'
5418 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5419 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5420 as_echo_n='/usr/ucb/echo -n'
5422 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5423 as_echo_n_body='eval
5427 expr "X$arg" : "X\\(.*\\)$as_nl";
5428 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5430 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5432 export as_echo_n_body
5433 as_echo_n='sh -c $as_echo_n_body as_echo'
5436 as_echo='sh -c $as_echo_body as_echo'
5439 # The user is always right.
5440 if test "${PATH_SEPARATOR+set}" != set; then
5442 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5443 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5450 # We need space, tab and new line, in precisely that order. Quoting is
5451 # there to prevent editors from complaining about space-tab.
5452 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5453 # splitting by setting IFS to empty value.)
5456 # Find who we are. Look in the path if we contain no directory separator.
5458 *[\\/]* ) as_myself=$0 ;;
5459 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5463 test -z "$as_dir" && as_dir=.
5464 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5470 # We did not find ourselves, most probably we were run as `sh COMMAND'
5471 # in which case we are not to be found in the path.
5472 if test "x$as_myself" = x; then
5475 if test ! -f "$as_myself"; then
5476 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5480 # Unset variables that we do not need and which cause bugs (e.g. in
5481 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5482 # suppresses any "Segmentation fault" message there. '((' could
5483 # trigger a bug in pdksh 5.2.14.
5484 for as_var in BASH_ENV ENV MAIL MAILPATH
5485 do eval test x\${$as_var+set} = xset \
5486 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5499 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5502 # as_fn_error ERROR [LINENO LOG_FD]
5503 # ---------------------------------
5504 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5505 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5506 # script with status $?, using 1 if that was 0.
5509 as_status=$?; test $as_status -eq 0 && as_status=1
5511 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5512 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
5514 $as_echo "$as_me: error: $1" >&2
5515 as_fn_exit $as_status
5519 # as_fn_set_status STATUS
5520 # -----------------------
5521 # Set $? to STATUS, without forking.
5525 } # as_fn_set_status
5529 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5539 # Portably unset VAR.
5542 { eval $1=; unset $1;}
5544 as_unset=as_fn_unset
5545 # as_fn_append VAR VALUE
5546 # ----------------------
5547 # Append the text in VALUE to the end of the definition contained in VAR. Take
5548 # advantage of any shell optimizations that allow amortized linear growth over
5549 # repeated appends, instead of the typical quadratic growth present in naive
5551 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5552 eval 'as_fn_append ()
5563 # as_fn_arith ARG...
5564 # ------------------
5565 # Perform arithmetic evaluation on the ARGs, and store the result in the
5566 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5567 # must be portable across $(()) and expr.
5568 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5569 eval 'as_fn_arith ()
5576 as_val=`expr "$@" || test $? -eq 1`
5581 if expr a : '\(a\)' >/dev/null 2>&1 &&
5582 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5588 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5589 as_basename=basename
5594 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5600 as_me=`$as_basename -- "$0" ||
5601 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5602 X"$0" : 'X\(//\)$' \| \
5603 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5605 sed '/^.*\/\([^/][^/]*\)\/*$/{
5619 # Avoid depending upon Character Ranges.
5620 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5621 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5622 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5623 as_cr_digits='0123456789'
5624 as_cr_alnum=$as_cr_Letters$as_cr_digits
5626 ECHO_C= ECHO_N= ECHO_T=
5627 case `echo -n x` in #(((((
5629 case `echo 'xy\c'` in
5630 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5632 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
5639 rm -f conf$$ conf$$.exe conf$$.file
5640 if test -d conf$$.dir; then
5641 rm -f conf$$.dir/conf$$.file
5644 mkdir conf$$.dir 2>/dev/null
5646 if (echo >conf$$.file) 2>/dev/null; then
5647 if ln -s conf$$.file conf$$ 2>/dev/null; then
5649 # ... but there are two gotchas:
5650 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5651 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5652 # In both cases, we have to default to `cp -p'.
5653 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5655 elif ln conf$$.file conf$$ 2>/dev/null; then
5663 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5664 rmdir conf$$.dir 2>/dev/null
5669 # Create "$as_dir" as a directory, including parents if necessary.
5674 -*) as_dir=./$as_dir;;
5676 test -d "$as_dir" || eval $as_mkdir_p || {
5680 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5681 *) as_qdir=$as_dir;;
5683 as_dirs="'$as_qdir' $as_dirs"
5684 as_dir=`$as_dirname -- "$as_dir" ||
5685 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5686 X"$as_dir" : 'X\(//\)[^/]' \| \
5687 X"$as_dir" : 'X\(//\)$' \| \
5688 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5689 $as_echo X"$as_dir" |
5690 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5707 test -d "$as_dir" && break
5709 test -z "$as_dirs" || eval "mkdir $as_dirs"
5710 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
5714 if mkdir -p . 2>/dev/null; then
5715 as_mkdir_p='mkdir -p "$as_dir"'
5717 test -d ./-p && rmdir ./-p
5721 if test -x / >/dev/null 2>&1; then
5724 if ls -dL / >/dev/null 2>&1; then
5731 if test -d "$1"; then
5737 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
5738 ???[sx]*):;;*)false;;esac;fi
5742 as_executable_p=$as_test_x
5744 # Sed expression to map a string onto a valid CPP name.
5745 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5747 # Sed expression to map a string onto a valid variable name.
5748 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5752 ## ----------------------------------- ##
5753 ## Main body of $CONFIG_STATUS script. ##
5754 ## ----------------------------------- ##
5756 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5758 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5759 # Save the log message, to keep $0 and so on meaningful, and to
5760 # report actual input values of CONFIG_FILES etc. instead of their
5761 # values after options handling.
5763 This file was extended by $as_me, which was
5764 generated by GNU Autoconf 2.65. Invocation command line was
5766 CONFIG_FILES = $CONFIG_FILES
5767 CONFIG_HEADERS = $CONFIG_HEADERS
5768 CONFIG_LINKS = $CONFIG_LINKS
5769 CONFIG_COMMANDS = $CONFIG_COMMANDS
5772 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5777 case $ac_config_files in *"
5778 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5781 case $ac_config_headers in *"
5782 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
5786 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5787 # Files that config.status was made for.
5788 config_files="$ac_config_files"
5789 config_headers="$ac_config_headers"
5790 config_commands="$ac_config_commands"
5794 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5796 \`$as_me' instantiates files and other configuration actions
5797 from templates according to the current configuration. Unless the files
5798 and actions are specified as TAGs, all are instantiated by default.
5800 Usage: $0 [OPTION]... [TAG]...
5802 -h, --help print this help, then exit
5803 -V, --version print version number and configuration settings, then exit
5804 --config print configuration, then exit
5805 -q, --quiet, --silent
5806 do not print progress messages
5807 -d, --debug don't remove temporary files
5808 --recheck update $as_me by reconfiguring in the same conditions
5809 --file=FILE[:TEMPLATE]
5810 instantiate the configuration file FILE
5811 --header=FILE[:TEMPLATE]
5812 instantiate the configuration header FILE
5814 Configuration files:
5817 Configuration headers:
5820 Configuration commands:
5823 Report bugs to the package provider."
5826 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5827 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5830 configured by $0, generated by GNU Autoconf 2.65,
5831 with options \\"\$ac_cs_config\\"
5833 Copyright (C) 2009 Free Software Foundation, Inc.
5834 This config.status script is free software; the Free Software Foundation
5835 gives unlimited permission to copy, distribute and modify it."
5842 test -n "\$AWK" || AWK=awk
5845 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5846 # The default lists apply if the user does not specify any file.
5852 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5853 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5864 # Handling of the options.
5865 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5867 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5868 $as_echo "$ac_cs_version"; exit ;;
5869 --config | --confi | --conf | --con | --co | --c )
5870 $as_echo "$ac_cs_config"; exit ;;
5871 --debug | --debu | --deb | --de | --d | -d )
5873 --file | --fil | --fi | --f )
5876 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5878 as_fn_append CONFIG_FILES " '$ac_optarg'"
5879 ac_need_defaults=false;;
5880 --header | --heade | --head | --hea )
5883 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5885 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
5886 ac_need_defaults=false;;
5888 # Conflict between --help and --header
5889 as_fn_error "ambiguous option: \`$1'
5890 Try \`$0 --help' for more information.";;
5891 --help | --hel | -h )
5892 $as_echo "$ac_cs_usage"; exit ;;
5893 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5894 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5898 -*) as_fn_error "unrecognized option: \`$1'
5899 Try \`$0 --help' for more information." ;;
5901 *) as_fn_append ac_config_targets " $1"
5902 ac_need_defaults=false ;;
5908 ac_configure_extra_args=
5910 if $ac_cs_silent; then
5912 ac_configure_extra_args="$ac_configure_extra_args --silent"
5916 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5917 if \$ac_cs_recheck; then
5918 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5920 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5921 CONFIG_SHELL='$SHELL'
5927 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5931 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5932 ## Running $as_me. ##
5938 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5942 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5946 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5948 # Handling of arguments.
5949 for ac_config_target in $ac_config_targets
5951 case $ac_config_target in
5952 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5953 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5954 "gob2.spec") CONFIG_FILES="$CONFIG_FILES gob2.spec" ;;
5955 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5956 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
5957 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
5958 "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
5959 "doc/gob2.1") CONFIG_FILES="$CONFIG_FILES doc/gob2.1" ;;
5961 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5966 # If the user did not use the arguments to specify the items to instantiate,
5967 # then the envvar interface is used. Set only those that are not.
5968 # We use the long form for the default assignment because of an extremely
5969 # bizarre bug on SunOS 4.1.3.
5970 if $ac_need_defaults; then
5971 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5972 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5973 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5976 # Have a temporary directory for convenience. Make it in the build tree
5977 # simply because there is no reason against having it here, and in addition,
5978 # creating and moving files from /tmp can sometimes cause problems.
5979 # Hook for its removal unless debugging.
5980 # Note that there is a small window in which the directory will not be cleaned:
5981 # after its creation but before its name has been assigned to `$tmp'.
5985 trap 'exit_status=$?
5986 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5988 trap 'as_fn_exit 1' 1 2 13 15
5990 # Create a (secure) tmp directory for tmp files.
5993 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5994 test -n "$tmp" && test -d "$tmp"
5997 tmp=./conf$$-$RANDOM
5998 (umask 077 && mkdir "$tmp")
5999 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
6001 # Set up the scripts for CONFIG_FILES section.
6002 # No need to generate them if there are no CONFIG_FILES.
6003 # This happens for instance with `./config.status config.h'.
6004 if test -n "$CONFIG_FILES"; then
6007 ac_cr=`echo X | tr X '\015'`
6008 # On cygwin, bash can eat \r inside `` if the user requested igncr.
6009 # But we know of no other shell where ac_cr would be empty at this
6010 # point, so we can use a bashism as a fallback.
6011 if test "x$ac_cr" = x; then
6012 eval ac_cr=\$\'\\r\'
6014 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6015 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6021 echo 'BEGIN {' >"$tmp/subs1.awk" &&
6026 echo "cat >conf$$subs.awk <<_ACEOF" &&
6027 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6030 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
6031 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
6033 for ac_last_try in false false false false false :; do
6034 . ./conf$$subs.sh ||
6035 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
6037 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
6038 if test $ac_delim_n = $ac_delim_num; then
6040 elif $ac_last_try; then
6041 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
6043 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6048 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6049 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
6053 s/^/S["/; s/!.*/"]=/
6063 s/\(.\{148\}\)..*/\1/
6065 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6070 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6077 s/\(.\{148\}\)..*/\1/
6079 s/["\\]/\\&/g; s/^/"/; s/$/"/
6083 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6088 ' <conf$$subs.awk | sed '
6093 ' >>$CONFIG_STATUS || ac_write_fail=1
6094 rm -f conf$$subs.awk
6095 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6097 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
6098 for (key in S) S_is_set[key] = 1
6104 nfields = split(line, field, "@")
6106 len = length(field[1])
6107 for (i = 2; i < nfields; i++) {
6109 keylen = length(key)
6110 if (S_is_set[key]) {
6112 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6113 len += length(value) + length(field[++i])
6124 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6125 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6126 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6129 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
6130 || as_fn_error "could not setup config files machinery" "$LINENO" 5
6133 # VPATH may cause trouble with some makes, so we remove $(srcdir),
6134 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6135 # trailing colons and then remove the whole line if VPATH becomes empty
6136 # (actually we leave an empty line to preserve line numbers).
6137 if test "x$srcdir" = x.; then
6138 ac_vpsub='/^[ ]*VPATH[ ]*=/{
6142 s/^\([^=]*=[ ]*\):*/\1/
6148 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6149 fi # test -n "$CONFIG_FILES"
6151 # Set up the scripts for CONFIG_HEADERS section.
6152 # No need to generate them if there are no CONFIG_HEADERS.
6153 # This happens for instance with `./config.status Makefile'.
6154 if test -n "$CONFIG_HEADERS"; then
6155 cat >"$tmp/defines.awk" <<\_ACAWK ||
6159 # Transform confdefs.h into an awk script `defines.awk', embedded as
6160 # here-document in config.status, that substitutes the proper values into
6161 # config.h.in to produce config.h.
6163 # Create a delimiter string that does not exist in confdefs.h, to ease
6164 # handling of long lines.
6166 for ac_last_try in false false :; do
6167 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
6168 if test -z "$ac_t"; then
6170 elif $ac_last_try; then
6171 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
6173 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6177 # For the awk script, D is an array of macro values keyed by name,
6178 # likewise P contains macro parameters if any. Preserve backslash
6179 # newline sequences.
6181 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6183 s/.\{148\}/&'"$ac_delim"'/g
6186 s/^[ ]*#[ ]*define[ ][ ]*/ /
6193 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6195 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
6199 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6200 D["\1"]=" \3\\\\\\n"\\/p
6202 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
6207 s/.\{148\}/&'"$ac_delim"'/g
6212 s/["\\]/\\&/g; s/^/"/; s/$/"/p
6215 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
6217 ' <confdefs.h | sed '
6218 s/'"$ac_delim"'/"\\\
6219 "/g' >>$CONFIG_STATUS || ac_write_fail=1
6221 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6222 for (key in D) D_is_set[key] = 1
6225 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6227 split(line, arg, " ")
6228 if (arg[1] == "#") {
6232 defundef = substr(arg[1], 2)
6235 split(mac1, mac2, "(") #)
6237 prefix = substr(line, 1, index(line, defundef) - 1)
6238 if (D_is_set[macro]) {
6239 # Preserve the white space surrounding the "#".
6240 print prefix "define", macro P[macro] D[macro]
6243 # Replace #undef with comments. This is necessary, for example,
6244 # in the case of _POSIX_SOURCE, which is predefined and required
6245 # on some systems where configure will not decide to define it.
6246 if (defundef == "undef") {
6247 print "/*", prefix defundef, macro, "*/"
6255 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6256 as_fn_error "could not setup config headers machinery" "$LINENO" 5
6257 fi # test -n "$CONFIG_HEADERS"
6260 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
6265 :[FHLC]) ac_mode=$ac_tag; continue;;
6267 case $ac_mode$ac_tag in
6269 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
6270 :[FH]-) ac_tag=-:-;;
6271 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6288 -) ac_f="$tmp/stdin";;
6289 *) # Look for the file first in the build tree, then in the source tree
6290 # (if the path is not absolute). The absolute path cannot be DOS-style,
6291 # because $ac_f cannot contain `:'.
6295 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6297 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6299 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6300 as_fn_append ac_file_inputs " '$ac_f'"
6303 # Let's still pretend it is `configure' which instantiates (i.e., don't
6304 # use $as_me), people would be surprised to read:
6305 # /* config.h. Generated by config.status. */
6306 configure_input='Generated from '`
6307 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6309 if test x"$ac_file" != x-; then
6310 configure_input="$ac_file. $configure_input"
6311 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6312 $as_echo "$as_me: creating $ac_file" >&6;}
6314 # Neutralize special characters interpreted by sed in replacement strings.
6315 case $configure_input in #(
6316 *\&* | *\|* | *\\* )
6317 ac_sed_conf_input=`$as_echo "$configure_input" |
6318 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6319 *) ac_sed_conf_input=$configure_input;;
6323 *:-:* | *:-) cat >"$tmp/stdin" \
6324 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
6329 ac_dir=`$as_dirname -- "$ac_file" ||
6330 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6331 X"$ac_file" : 'X\(//\)[^/]' \| \
6332 X"$ac_file" : 'X\(//\)$' \| \
6333 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6334 $as_echo X"$ac_file" |
6335 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6352 as_dir="$ac_dir"; as_fn_mkdir_p
6356 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6358 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6359 # A ".." for each directory in $ac_dir_suffix.
6360 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6361 case $ac_top_builddir_sub in
6362 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6363 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6366 ac_abs_top_builddir=$ac_pwd
6367 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6368 # for backward compatibility:
6369 ac_top_builddir=$ac_top_build_prefix
6372 .) # We are building in place.
6374 ac_top_srcdir=$ac_top_builddir_sub
6375 ac_abs_top_srcdir=$ac_pwd ;;
6376 [\\/]* | ?:[\\/]* ) # Absolute name.
6377 ac_srcdir=$srcdir$ac_dir_suffix;
6378 ac_top_srcdir=$srcdir
6379 ac_abs_top_srcdir=$srcdir ;;
6381 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6382 ac_top_srcdir=$ac_top_build_prefix$srcdir
6383 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6385 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6395 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6396 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6400 [\\/$]* | ?:[\\/]* ) ;;
6401 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
6405 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6406 # If the template does not know about datarootdir, expand it.
6407 # FIXME: This hack should be removed a few years after 2.60.
6408 ac_datarootdir_hack=; ac_datarootdir_seen=
6419 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6420 *datarootdir*) ac_datarootdir_seen=yes;;
6421 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6422 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6423 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6425 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6426 ac_datarootdir_hack='
6427 s&@datadir@&$datadir&g
6428 s&@docdir@&$docdir&g
6429 s&@infodir@&$infodir&g
6430 s&@localedir@&$localedir&g
6431 s&@mandir@&$mandir&g
6432 s&\\\${datarootdir}&$datarootdir&g' ;;
6436 # Neutralize VPATH when `$srcdir' = `.'.
6437 # Shell code in configure.ac might set extrasub.
6438 # FIXME: do we really want to maintain this feature?
6439 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6440 ac_sed_extra="$ac_vpsub
6443 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6445 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6446 s|@configure_input@|$ac_sed_conf_input|;t t
6447 s&@top_builddir@&$ac_top_builddir_sub&;t t
6448 s&@top_build_prefix@&$ac_top_build_prefix&;t t
6449 s&@srcdir@&$ac_srcdir&;t t
6450 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6451 s&@top_srcdir@&$ac_top_srcdir&;t t
6452 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6453 s&@builddir@&$ac_builddir&;t t
6454 s&@abs_builddir@&$ac_abs_builddir&;t t
6455 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6456 s&@INSTALL@&$ac_INSTALL&;t t
6457 s&@MKDIR_P@&$ac_MKDIR_P&;t t
6458 $ac_datarootdir_hack
6460 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
6461 || as_fn_error "could not create $ac_file" "$LINENO" 5
6463 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6464 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
6465 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
6466 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6467 which seems to be undefined. Please make sure it is defined." >&5
6468 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6469 which seems to be undefined. Please make sure it is defined." >&2;}
6473 -) cat "$tmp/out" && rm -f "$tmp/out";;
6474 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
6476 || as_fn_error "could not create $ac_file" "$LINENO" 5
6482 if test x"$ac_file" != x-; then
6484 $as_echo "/* $configure_input */" \
6485 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
6486 } >"$tmp/config.h" \
6487 || as_fn_error "could not create $ac_file" "$LINENO" 5
6488 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
6489 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6490 $as_echo "$as_me: $ac_file is unchanged" >&6;}
6493 mv "$tmp/config.h" "$ac_file" \
6494 || as_fn_error "could not create $ac_file" "$LINENO" 5
6497 $as_echo "/* $configure_input */" \
6498 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
6499 || as_fn_error "could not create -" "$LINENO" 5
6501 # Compute "$ac_file"'s index in $config_headers.
6504 for _am_header in $config_headers :; do
6506 $_am_arg | $_am_arg:* )
6509 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
6512 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
6513 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6514 X"$_am_arg" : 'X\(//\)[^/]' \| \
6515 X"$_am_arg" : 'X\(//\)$' \| \
6516 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
6517 $as_echo X"$_am_arg" |
6518 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6534 s/.*/./; q'`/stamp-h$_am_stamp_count
6537 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6538 $as_echo "$as_me: executing $ac_file commands" >&6;}
6543 case $ac_file$ac_mode in
6544 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
6545 # Autoconf 2.62 quotes --file arguments for eval, but not when files
6546 # are listed without --file. Let's play safe and only enable the eval
6547 # if we detect the quoting.
6548 case $CONFIG_FILES in
6549 *\'*) eval set x "$CONFIG_FILES" ;;
6550 *) set x $CONFIG_FILES ;;
6555 # Strip MF so we end up with the name of the file.
6556 mf=`echo "$mf" | sed -e 's/:.*$//'`
6557 # Check whether this is an Automake generated Makefile or not.
6558 # We used to match only the files named `Makefile.in', but
6559 # some people rename them; so instead we look at the file content.
6560 # Grep'ing the first line is not enough: some people post-process
6561 # each Makefile.in and add a new line on top of each file to say so.
6562 # Grep'ing the whole file is not good either: AIX grep has a line
6563 # limit of 2048, but all sed's we know have understand at least 4000.
6564 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
6565 dirpart=`$as_dirname -- "$mf" ||
6566 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6567 X"$mf" : 'X\(//\)[^/]' \| \
6568 X"$mf" : 'X\(//\)$' \| \
6569 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6571 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6591 # Extract the definition of DEPDIR, am__include, and am__quote
6592 # from the Makefile without running `make'.
6593 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6594 test -z "$DEPDIR" && continue
6595 am__include=`sed -n 's/^am__include = //p' < "$mf"`
6596 test -z "am__include" && continue
6597 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6598 # When using ansi2knr, U may be empty or an underscore; expand it
6599 U=`sed -n 's/^U = //p' < "$mf"`
6600 # Find all dependency output files, they are included files with
6601 # $(DEPDIR) in their names. We invoke sed twice because it is the
6602 # simplest approach to changing $(DEPDIR) to its actual value in the
6604 for file in `sed -n "
6605 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6606 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6607 # Make sure the directory exists.
6608 test -f "$dirpart/$file" && continue
6609 fdir=`$as_dirname -- "$file" ||
6610 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6611 X"$file" : 'X\(//\)[^/]' \| \
6612 X"$file" : 'X\(//\)$' \| \
6613 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6615 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6632 as_dir=$dirpart/$fdir; as_fn_mkdir_p
6633 # echo "creating $dirpart/$file"
6634 echo '# dummy' > "$dirpart/$file"
6646 ac_clean_files=$ac_clean_files_save
6648 test $ac_write_fail = 0 ||
6649 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
6652 # configure is writing to config.log, and then calls config.status.
6653 # config.status does its own redirection, appending to config.log.
6654 # Unfortunately, on DOS this fails, as config.log is still kept open
6655 # by configure, so config.status won't be able to write to it; its
6656 # output is simply discarded. So we exec the FD to /dev/null,
6657 # effectively closing config.log, so it can be properly (re)opened and
6658 # appended to by config.status. When coming back to configure, we
6659 # need to make the FD available again.
6660 if test "$no_create" != yes; then
6662 ac_config_status_args=
6663 test "$silent" = yes &&
6664 ac_config_status_args="$ac_config_status_args --quiet"
6666 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6668 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6669 # would make configure fail if this is the last instruction.
6670 $ac_cs_success || as_fn_exit $?
6672 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6673 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6674 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}