2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for gob2 2.0.19.
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
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.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 if test "x$CONFIG_SHELL" = x; then
138 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
142 # is contrary to our usage. Disable this feature.
143 alias -g '\${1+\"\$@\"}'='\"\$@\"'
146 case \`(set -o) 2>/dev/null\` in #(
154 as_required="as_fn_return () { (exit \$1); }
155 as_fn_success () { as_fn_return 0; }
156 as_fn_failure () { as_fn_return 1; }
157 as_fn_ret_success () { return 0; }
158 as_fn_ret_failure () { return 1; }
161 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
162 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
163 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
164 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
165 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
168 exitcode=1; echo positional parameters were not saved.
170 test x\$exitcode = x0 || exit 1"
171 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
172 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
173 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
174 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
175 test \$(( 1 + 1 )) = 2 || exit 1"
176 if (eval "$as_required") 2>/dev/null; then :
181 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
186 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
189 test -z "$as_dir" && as_dir=.
193 for as_base in sh bash ksh sh5; do
194 # Try only shells that exist, to save several forks.
195 as_shell=$as_dir/$as_base
196 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
197 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
198 CONFIG_SHELL=$as_shell as_have_required=yes
199 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
207 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
208 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
209 CONFIG_SHELL=$SHELL as_have_required=yes
214 if test "x$CONFIG_SHELL" != x; then :
215 # We cannot yet assume a decent shell, so we have to provide a
216 # neutralization value for shells without unset; and this also
217 # works around shells that cannot unset nonexistent variables.
218 # Preserve -v and -x to the replacement shell.
221 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
224 *v*x* | *x*v* ) as_opts=-vx ;;
229 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
232 if test x$as_have_required = xno; then :
233 $as_echo "$0: This script requires a shell more modern than all"
234 $as_echo "$0: the shells that I found on your system."
235 if test x${ZSH_VERSION+set} = xset ; then
236 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
237 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
239 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
240 $0: including any error possibly output before this
241 $0: message. Then install a modern shell, or manually run
242 $0: the script under such a shell if you do have one."
248 SHELL=${CONFIG_SHELL-/bin/sh}
250 # Unset more variables known to interfere with behavior of common tools.
251 CLICOLOR_FORCE= GREP_OPTIONS=
252 unset CLICOLOR_FORCE GREP_OPTIONS
254 ## --------------------- ##
255 ## M4sh Shell Functions. ##
256 ## --------------------- ##
259 # Portably unset VAR.
262 { eval $1=; unset $1;}
266 # as_fn_set_status STATUS
267 # -----------------------
268 # Set $? to STATUS, without forking.
276 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
286 # Create "$as_dir" as a directory, including parents if necessary.
291 -*) as_dir=./$as_dir;;
293 test -d "$as_dir" || eval $as_mkdir_p || {
297 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
300 as_dirs="'$as_qdir' $as_dirs"
301 as_dir=`$as_dirname -- "$as_dir" ||
302 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
303 X"$as_dir" : 'X\(//\)[^/]' \| \
304 X"$as_dir" : 'X\(//\)$' \| \
305 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
306 $as_echo X"$as_dir" |
307 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
324 test -d "$as_dir" && break
326 test -z "$as_dirs" || eval "mkdir $as_dirs"
327 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
331 # as_fn_append VAR VALUE
332 # ----------------------
333 # Append the text in VALUE to the end of the definition contained in VAR. Take
334 # advantage of any shell optimizations that allow amortized linear growth over
335 # repeated appends, instead of the typical quadratic growth present in naive
337 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
338 eval 'as_fn_append ()
351 # Perform arithmetic evaluation on the ARGs, and store the result in the
352 # global $as_val. Take advantage of shells that can avoid forks. The arguments
353 # must be portable across $(()) and expr.
354 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
362 as_val=`expr "$@" || test $? -eq 1`
367 # as_fn_error STATUS ERROR [LINENO LOG_FD]
368 # ----------------------------------------
369 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
370 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
371 # script with STATUS, using 1 if that was 0.
374 as_status=$1; test $as_status -eq 0 && as_status=1
376 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
377 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
379 $as_echo "$as_me: error: $2" >&2
380 as_fn_exit $as_status
383 if expr a : '\(a\)' >/dev/null 2>&1 &&
384 test "X`expr 00001 : '.*\(...\)'`" = X001; then
390 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
396 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
402 as_me=`$as_basename -- "$0" ||
403 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
404 X"$0" : 'X\(//\)$' \| \
405 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
407 sed '/^.*\/\([^/][^/]*\)\/*$/{
421 # Avoid depending upon Character Ranges.
422 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
423 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
424 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
425 as_cr_digits='0123456789'
426 as_cr_alnum=$as_cr_Letters$as_cr_digits
429 as_lineno_1=$LINENO as_lineno_1a=$LINENO
430 as_lineno_2=$LINENO as_lineno_2a=$LINENO
431 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
432 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
433 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
445 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
449 chmod +x "$as_me.lineno" ||
450 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
452 # Don't try to exec as it changes $[0], causing all sort of problems
453 # (the dirname of $[0] is not the place where we might find the
454 # original and so on. Autoconf is especially sensitive to this).
456 # Exit status is that of the last command.
460 ECHO_C= ECHO_N= ECHO_T=
461 case `echo -n x` in #(((((
463 case `echo 'xy\c'` in
464 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
466 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
473 rm -f conf$$ conf$$.exe conf$$.file
474 if test -d conf$$.dir; then
475 rm -f conf$$.dir/conf$$.file
478 mkdir conf$$.dir 2>/dev/null
480 if (echo >conf$$.file) 2>/dev/null; then
481 if ln -s conf$$.file conf$$ 2>/dev/null; then
483 # ... but there are two gotchas:
484 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
485 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
486 # In both cases, we have to default to `cp -p'.
487 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
489 elif ln conf$$.file conf$$ 2>/dev/null; then
497 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
498 rmdir conf$$.dir 2>/dev/null
500 if mkdir -p . 2>/dev/null; then
501 as_mkdir_p='mkdir -p "$as_dir"'
503 test -d ./-p && rmdir ./-p
507 if test -x / >/dev/null 2>&1; then
510 if ls -dL / >/dev/null 2>&1; then
517 if test -d "$1"; then
523 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
524 ???[sx]*):;;*)false;;esac;fi
528 as_executable_p=$as_test_x
530 # Sed expression to map a string onto a valid CPP name.
531 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
533 # Sed expression to map a string onto a valid variable name.
534 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
537 test -n "$DJDIR" || exec 7<&0 </dev/null
541 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
542 # so uname gets run too.
543 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
548 ac_default_prefix=/usr/local
550 ac_config_libobj_dir=.
557 # Identity of this package.
559 PACKAGE_TARNAME='gob2'
560 PACKAGE_VERSION='2.0.19'
561 PACKAGE_STRING='gob2 2.0.19'
565 ac_unique_file="src/treefuncs.h"
566 ac_subst_vars='am__EXEEXT_FALSE
607 MAINTAINER_MODE_FALSE
617 INSTALL_STRIP_PROGRAM
659 program_transform_name
672 enable_option_checking
673 enable_maintainer_mode
674 enable_dependency_tracking
676 ac_precious_vars='build_alias
694 # Initialize some variables set by options.
696 ac_init_version=false
697 ac_unrecognized_opts=
699 # The variables have the same names as the options, with
700 # dashes changed to underlines.
708 program_transform_name=s,x,x,
716 # Installation directory options.
717 # These are left unexpanded so users can "make install exec_prefix=/foo"
718 # and all the variables that are supposed to be based on exec_prefix
719 # by default will actually change.
720 # Use braces instead of parens because sh, perl, etc. also accept them.
721 # (The list follows the same order as the GNU Coding Standards.)
722 bindir='${exec_prefix}/bin'
723 sbindir='${exec_prefix}/sbin'
724 libexecdir='${exec_prefix}/libexec'
725 datarootdir='${prefix}/share'
726 datadir='${datarootdir}'
727 sysconfdir='${prefix}/etc'
728 sharedstatedir='${prefix}/com'
729 localstatedir='${prefix}/var'
730 includedir='${prefix}/include'
731 oldincludedir='/usr/include'
732 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
733 infodir='${datarootdir}/info'
738 libdir='${exec_prefix}/lib'
739 localedir='${datarootdir}/locale'
740 mandir='${datarootdir}/man'
746 # If the previous option needs an argument, assign it.
747 if test -n "$ac_prev"; then
748 eval $ac_prev=\$ac_option
754 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
759 # Accept the important Cygnus configure options, so we can diagnose typos.
761 case $ac_dashdash$ac_option in
765 -bindir | --bindir | --bindi | --bind | --bin | --bi)
767 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
770 -build | --build | --buil | --bui | --bu)
771 ac_prev=build_alias ;;
772 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
773 build_alias=$ac_optarg ;;
775 -cache-file | --cache-file | --cache-fil | --cache-fi \
776 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
777 ac_prev=cache_file ;;
778 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
779 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
780 cache_file=$ac_optarg ;;
783 cache_file=config.cache ;;
785 -datadir | --datadir | --datadi | --datad)
787 -datadir=* | --datadir=* | --datadi=* | --datad=*)
788 datadir=$ac_optarg ;;
790 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
791 | --dataroo | --dataro | --datar)
792 ac_prev=datarootdir ;;
793 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
794 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
795 datarootdir=$ac_optarg ;;
797 -disable-* | --disable-*)
798 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
799 # Reject names that are not valid shell variable names.
800 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
801 as_fn_error $? "invalid feature name: $ac_useropt"
802 ac_useropt_orig=$ac_useropt
803 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
804 case $ac_user_opts in
808 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
809 ac_unrecognized_sep=', ';;
811 eval enable_$ac_useropt=no ;;
813 -docdir | --docdir | --docdi | --doc | --do)
815 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
818 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
820 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
823 -enable-* | --enable-*)
824 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
825 # Reject names that are not valid shell variable names.
826 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
827 as_fn_error $? "invalid feature name: $ac_useropt"
828 ac_useropt_orig=$ac_useropt
829 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
830 case $ac_user_opts in
834 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
835 ac_unrecognized_sep=', ';;
837 eval enable_$ac_useropt=\$ac_optarg ;;
839 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
840 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
841 | --exec | --exe | --ex)
842 ac_prev=exec_prefix ;;
843 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
844 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
845 | --exec=* | --exe=* | --ex=*)
846 exec_prefix=$ac_optarg ;;
848 -gas | --gas | --ga | --g)
849 # Obsolete; use --with-gas.
852 -help | --help | --hel | --he | -h)
854 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
855 ac_init_help=recursive ;;
856 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
857 ac_init_help=short ;;
859 -host | --host | --hos | --ho)
860 ac_prev=host_alias ;;
861 -host=* | --host=* | --hos=* | --ho=*)
862 host_alias=$ac_optarg ;;
864 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
866 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
868 htmldir=$ac_optarg ;;
870 -includedir | --includedir | --includedi | --included | --include \
871 | --includ | --inclu | --incl | --inc)
872 ac_prev=includedir ;;
873 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
874 | --includ=* | --inclu=* | --incl=* | --inc=*)
875 includedir=$ac_optarg ;;
877 -infodir | --infodir | --infodi | --infod | --info | --inf)
879 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
880 infodir=$ac_optarg ;;
882 -libdir | --libdir | --libdi | --libd)
884 -libdir=* | --libdir=* | --libdi=* | --libd=*)
887 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
888 | --libexe | --libex | --libe)
889 ac_prev=libexecdir ;;
890 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
891 | --libexe=* | --libex=* | --libe=*)
892 libexecdir=$ac_optarg ;;
894 -localedir | --localedir | --localedi | --localed | --locale)
896 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
897 localedir=$ac_optarg ;;
899 -localstatedir | --localstatedir | --localstatedi | --localstated \
900 | --localstate | --localstat | --localsta | --localst | --locals)
901 ac_prev=localstatedir ;;
902 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
903 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
904 localstatedir=$ac_optarg ;;
906 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
908 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
912 # Obsolete; use --without-fp.
915 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
916 | --no-cr | --no-c | -n)
919 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
920 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
923 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
924 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
925 | --oldin | --oldi | --old | --ol | --o)
926 ac_prev=oldincludedir ;;
927 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
928 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
929 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
930 oldincludedir=$ac_optarg ;;
932 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
934 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
937 -program-prefix | --program-prefix | --program-prefi | --program-pref \
938 | --program-pre | --program-pr | --program-p)
939 ac_prev=program_prefix ;;
940 -program-prefix=* | --program-prefix=* | --program-prefi=* \
941 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
942 program_prefix=$ac_optarg ;;
944 -program-suffix | --program-suffix | --program-suffi | --program-suff \
945 | --program-suf | --program-su | --program-s)
946 ac_prev=program_suffix ;;
947 -program-suffix=* | --program-suffix=* | --program-suffi=* \
948 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
949 program_suffix=$ac_optarg ;;
951 -program-transform-name | --program-transform-name \
952 | --program-transform-nam | --program-transform-na \
953 | --program-transform-n | --program-transform- \
954 | --program-transform | --program-transfor \
955 | --program-transfo | --program-transf \
956 | --program-trans | --program-tran \
957 | --progr-tra | --program-tr | --program-t)
958 ac_prev=program_transform_name ;;
959 -program-transform-name=* | --program-transform-name=* \
960 | --program-transform-nam=* | --program-transform-na=* \
961 | --program-transform-n=* | --program-transform-=* \
962 | --program-transform=* | --program-transfor=* \
963 | --program-transfo=* | --program-transf=* \
964 | --program-trans=* | --program-tran=* \
965 | --progr-tra=* | --program-tr=* | --program-t=*)
966 program_transform_name=$ac_optarg ;;
968 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
970 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
973 -psdir | --psdir | --psdi | --psd | --ps)
975 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
978 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
979 | -silent | --silent | --silen | --sile | --sil)
982 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
984 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
986 sbindir=$ac_optarg ;;
988 -sharedstatedir | --sharedstatedir | --sharedstatedi \
989 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
990 | --sharedst | --shareds | --shared | --share | --shar \
992 ac_prev=sharedstatedir ;;
993 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
994 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
995 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
997 sharedstatedir=$ac_optarg ;;
999 -site | --site | --sit)
1001 -site=* | --site=* | --sit=*)
1004 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1006 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1007 srcdir=$ac_optarg ;;
1009 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1010 | --syscon | --sysco | --sysc | --sys | --sy)
1011 ac_prev=sysconfdir ;;
1012 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1013 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1014 sysconfdir=$ac_optarg ;;
1016 -target | --target | --targe | --targ | --tar | --ta | --t)
1017 ac_prev=target_alias ;;
1018 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1019 target_alias=$ac_optarg ;;
1021 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1024 -version | --version | --versio | --versi | --vers | -V)
1025 ac_init_version=: ;;
1028 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1029 # Reject names that are not valid shell variable names.
1030 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1031 as_fn_error $? "invalid package name: $ac_useropt"
1032 ac_useropt_orig=$ac_useropt
1033 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1034 case $ac_user_opts in
1038 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1039 ac_unrecognized_sep=', ';;
1041 eval with_$ac_useropt=\$ac_optarg ;;
1043 -without-* | --without-*)
1044 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1045 # Reject names that are not valid shell variable names.
1046 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1047 as_fn_error $? "invalid package name: $ac_useropt"
1048 ac_useropt_orig=$ac_useropt
1049 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1050 case $ac_user_opts in
1054 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1055 ac_unrecognized_sep=', ';;
1057 eval with_$ac_useropt=no ;;
1060 # Obsolete; use --with-x.
1063 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1064 | --x-incl | --x-inc | --x-in | --x-i)
1065 ac_prev=x_includes ;;
1066 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1067 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1068 x_includes=$ac_optarg ;;
1070 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1071 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1072 ac_prev=x_libraries ;;
1073 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1074 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1075 x_libraries=$ac_optarg ;;
1077 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1078 Try \`$0 --help' for more information"
1082 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1083 # Reject names that are not valid shell variable names.
1084 case $ac_envvar in #(
1085 '' | [0-9]* | *[!_$as_cr_alnum]* )
1086 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1088 eval $ac_envvar=\$ac_optarg
1089 export $ac_envvar ;;
1092 # FIXME: should be removed in autoconf 3.0.
1093 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1094 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1095 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1096 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1102 if test -n "$ac_prev"; then
1103 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1104 as_fn_error $? "missing argument to $ac_option"
1107 if test -n "$ac_unrecognized_opts"; then
1108 case $enable_option_checking in
1110 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1111 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1115 # Check all directory arguments for consistency.
1116 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1117 datadir sysconfdir sharedstatedir localstatedir includedir \
1118 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1119 libdir localedir mandir
1121 eval ac_val=\$$ac_var
1122 # Remove trailing slashes.
1125 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1126 eval $ac_var=\$ac_val;;
1128 # Be sure to have absolute directory names.
1130 [\\/$]* | ?:[\\/]* ) continue;;
1131 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1133 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1136 # There might be people who depend on the old broken behavior: `$host'
1137 # used to hold the argument of --host etc.
1138 # FIXME: To remove some day.
1141 target=$target_alias
1143 # FIXME: To remove some day.
1144 if test "x$host_alias" != x; then
1145 if test "x$build_alias" = x; then
1146 cross_compiling=maybe
1147 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1148 If a cross compiler is detected then cross compile mode will be used" >&2
1149 elif test "x$build_alias" != "x$host_alias"; then
1155 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1157 test "$silent" = yes && exec 6>/dev/null
1160 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1161 ac_ls_di=`ls -di .` &&
1162 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1163 as_fn_error $? "working directory cannot be determined"
1164 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1165 as_fn_error $? "pwd does not report name of working directory"
1168 # Find the source files, if location was not specified.
1169 if test -z "$srcdir"; then
1170 ac_srcdir_defaulted=yes
1171 # Try the directory containing this script, then the parent directory.
1172 ac_confdir=`$as_dirname -- "$as_myself" ||
1173 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1174 X"$as_myself" : 'X\(//\)[^/]' \| \
1175 X"$as_myself" : 'X\(//\)$' \| \
1176 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1177 $as_echo X"$as_myself" |
1178 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1196 if test ! -r "$srcdir/$ac_unique_file"; then
1200 ac_srcdir_defaulted=no
1202 if test ! -r "$srcdir/$ac_unique_file"; then
1203 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1204 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1206 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1208 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1210 # When building in place, set srcdir=.
1211 if test "$ac_abs_confdir" = "$ac_pwd"; then
1214 # Remove unnecessary trailing slashes from srcdir.
1215 # Double slashes in file names in object file debugging info
1216 # mess up M-x gdb in Emacs.
1218 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1220 for ac_var in $ac_precious_vars; do
1221 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1222 eval ac_env_${ac_var}_value=\$${ac_var}
1223 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1224 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1228 # Report the --help message.
1230 if test "$ac_init_help" = "long"; then
1231 # Omit some internal or obsolete options to make the list less imposing.
1232 # This message is too long to be a string in the A/UX 3.1 sh.
1234 \`configure' configures gob2 2.0.19 to adapt to many kinds of systems.
1236 Usage: $0 [OPTION]... [VAR=VALUE]...
1238 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1239 VAR=VALUE. See below for descriptions of some of the useful variables.
1241 Defaults for the options are specified in brackets.
1244 -h, --help display this help and exit
1245 --help=short display options specific to this package
1246 --help=recursive display the short help of all the included packages
1247 -V, --version display version information and exit
1248 -q, --quiet, --silent do not print \`checking ...' messages
1249 --cache-file=FILE cache test results in FILE [disabled]
1250 -C, --config-cache alias for \`--cache-file=config.cache'
1251 -n, --no-create do not create output files
1252 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1254 Installation directories:
1255 --prefix=PREFIX install architecture-independent files in PREFIX
1256 [$ac_default_prefix]
1257 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1260 By default, \`make install' will install all the files in
1261 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1262 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1263 for instance \`--prefix=\$HOME'.
1265 For better control, use the options below.
1267 Fine tuning of the installation directories:
1268 --bindir=DIR user executables [EPREFIX/bin]
1269 --sbindir=DIR system admin executables [EPREFIX/sbin]
1270 --libexecdir=DIR program executables [EPREFIX/libexec]
1271 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1272 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1273 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1274 --libdir=DIR object code libraries [EPREFIX/lib]
1275 --includedir=DIR C header files [PREFIX/include]
1276 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1277 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1278 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1279 --infodir=DIR info documentation [DATAROOTDIR/info]
1280 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1281 --mandir=DIR man documentation [DATAROOTDIR/man]
1282 --docdir=DIR documentation root [DATAROOTDIR/doc/gob2]
1283 --htmldir=DIR html documentation [DOCDIR]
1284 --dvidir=DIR dvi documentation [DOCDIR]
1285 --pdfdir=DIR pdf documentation [DOCDIR]
1286 --psdir=DIR ps documentation [DOCDIR]
1292 --program-prefix=PREFIX prepend PREFIX to installed program names
1293 --program-suffix=SUFFIX append SUFFIX to installed program names
1294 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1298 if test -n "$ac_init_help"; then
1299 case $ac_init_help in
1300 short | recursive ) echo "Configuration of gob2 2.0.19:";;
1305 --disable-option-checking ignore unrecognized --enable/--with options
1306 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1307 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1308 --enable-maintainer-mode enable make rules and dependencies not useful
1309 (and sometimes confusing) to the casual installer
1310 --disable-dependency-tracking speeds up one-time build
1311 --enable-dependency-tracking do not reject slow dependency extractors
1313 Some influential environment variables:
1314 CC C compiler command
1315 CFLAGS C compiler flags
1316 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1317 nonstandard directory <lib dir>
1318 LIBS libraries to pass to the linker, e.g. -l<library>
1319 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1320 you have headers in a nonstandard directory <include dir>
1322 YACC The `Yet Another Compiler Compiler' implementation to use.
1323 Defaults to the first program found out of: `bison -y', `byacc',
1325 YFLAGS The list of arguments that will be passed by default to $YACC.
1326 This script will default YFLAGS to the empty string to avoid a
1327 default value of `-d' given by some make applications.
1328 PKG_CONFIG path to pkg-config utility
1330 directories to add to pkg-config's search path
1332 path overriding pkg-config's built-in search path
1333 GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1334 GLIB_LIBS linker flags for GLIB, overriding pkg-config
1336 Use these variables to override the choices made by `configure' or to help
1337 it to find libraries and programs with nonstandard names/locations.
1339 Report bugs to the package provider.
1344 if test "$ac_init_help" = "recursive"; then
1345 # If there are subdirs, report their specific --help.
1346 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1347 test -d "$ac_dir" ||
1348 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1353 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1355 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1356 # A ".." for each directory in $ac_dir_suffix.
1357 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1358 case $ac_top_builddir_sub in
1359 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1360 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1363 ac_abs_top_builddir=$ac_pwd
1364 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1365 # for backward compatibility:
1366 ac_top_builddir=$ac_top_build_prefix
1369 .) # We are building in place.
1371 ac_top_srcdir=$ac_top_builddir_sub
1372 ac_abs_top_srcdir=$ac_pwd ;;
1373 [\\/]* | ?:[\\/]* ) # Absolute name.
1374 ac_srcdir=$srcdir$ac_dir_suffix;
1375 ac_top_srcdir=$srcdir
1376 ac_abs_top_srcdir=$srcdir ;;
1378 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1379 ac_top_srcdir=$ac_top_build_prefix$srcdir
1380 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1382 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1384 cd "$ac_dir" || { ac_status=$?; continue; }
1385 # Check for guested configure.
1386 if test -f "$ac_srcdir/configure.gnu"; then
1388 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1389 elif test -f "$ac_srcdir/configure"; then
1391 $SHELL "$ac_srcdir/configure" --help=recursive
1393 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1395 cd "$ac_pwd" || { ac_status=$?; break; }
1399 test -n "$ac_init_help" && exit $ac_status
1400 if $ac_init_version; then
1402 gob2 configure 2.0.19
1403 generated by GNU Autoconf 2.68
1405 Copyright (C) 2010 Free Software Foundation, Inc.
1406 This configure script is free software; the Free Software Foundation
1407 gives unlimited permission to copy, distribute and modify it.
1412 ## ------------------------ ##
1413 ## Autoconf initialization. ##
1414 ## ------------------------ ##
1416 # ac_fn_c_try_compile LINENO
1417 # --------------------------
1418 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1419 ac_fn_c_try_compile ()
1421 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1422 rm -f conftest.$ac_objext
1423 if { { ac_try="$ac_compile"
1425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1426 *) ac_try_echo=$ac_try;;
1428 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1429 $as_echo "$ac_try_echo"; } >&5
1430 (eval "$ac_compile") 2>conftest.err
1432 if test -s conftest.err; then
1433 grep -v '^ *+' conftest.err >conftest.er1
1434 cat conftest.er1 >&5
1435 mv -f conftest.er1 conftest.err
1437 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1438 test $ac_status = 0; } && {
1439 test -z "$ac_c_werror_flag" ||
1440 test ! -s conftest.err
1441 } && test -s conftest.$ac_objext; then :
1444 $as_echo "$as_me: failed program was:" >&5
1445 sed 's/^/| /' conftest.$ac_ext >&5
1449 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1450 as_fn_set_status $ac_retval
1452 } # ac_fn_c_try_compile
1454 # ac_fn_c_try_link LINENO
1455 # -----------------------
1456 # Try to link conftest.$ac_ext, and return whether this succeeded.
1459 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1460 rm -f conftest.$ac_objext conftest$ac_exeext
1461 if { { ac_try="$ac_link"
1463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1464 *) ac_try_echo=$ac_try;;
1466 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1467 $as_echo "$ac_try_echo"; } >&5
1468 (eval "$ac_link") 2>conftest.err
1470 if test -s conftest.err; then
1471 grep -v '^ *+' conftest.err >conftest.er1
1472 cat conftest.er1 >&5
1473 mv -f conftest.er1 conftest.err
1475 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1476 test $ac_status = 0; } && {
1477 test -z "$ac_c_werror_flag" ||
1478 test ! -s conftest.err
1479 } && test -s conftest$ac_exeext && {
1480 test "$cross_compiling" = yes ||
1481 $as_test_x conftest$ac_exeext
1485 $as_echo "$as_me: failed program was:" >&5
1486 sed 's/^/| /' conftest.$ac_ext >&5
1490 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1491 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1492 # interfere with the next link command; also delete a directory that is
1493 # left behind by Apple's compiler. We do this before executing the actions.
1494 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1495 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1496 as_fn_set_status $ac_retval
1498 } # ac_fn_c_try_link
1500 # ac_fn_c_try_cpp LINENO
1501 # ----------------------
1502 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1505 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1506 if { { ac_try="$ac_cpp conftest.$ac_ext"
1508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1509 *) ac_try_echo=$ac_try;;
1511 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1512 $as_echo "$ac_try_echo"; } >&5
1513 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1515 if test -s conftest.err; then
1516 grep -v '^ *+' conftest.err >conftest.er1
1517 cat conftest.er1 >&5
1518 mv -f conftest.er1 conftest.err
1520 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1521 test $ac_status = 0; } > conftest.i && {
1522 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1523 test ! -s conftest.err
1527 $as_echo "$as_me: failed program was:" >&5
1528 sed 's/^/| /' conftest.$ac_ext >&5
1532 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1533 as_fn_set_status $ac_retval
1537 # ac_fn_c_try_run LINENO
1538 # ----------------------
1539 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1540 # that executables *can* be run.
1543 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1544 if { { ac_try="$ac_link"
1546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1547 *) ac_try_echo=$ac_try;;
1549 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1550 $as_echo "$ac_try_echo"; } >&5
1551 (eval "$ac_link") 2>&5
1553 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1554 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1555 { { case "(($ac_try" in
1556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1557 *) ac_try_echo=$ac_try;;
1559 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1560 $as_echo "$ac_try_echo"; } >&5
1561 (eval "$ac_try") 2>&5
1563 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1564 test $ac_status = 0; }; }; then :
1567 $as_echo "$as_me: program exited with status $ac_status" >&5
1568 $as_echo "$as_me: failed program was:" >&5
1569 sed 's/^/| /' conftest.$ac_ext >&5
1571 ac_retval=$ac_status
1573 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1574 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1575 as_fn_set_status $ac_retval
1578 cat >config.log <<_ACEOF
1579 This file contains any messages produced by compilers while
1580 running configure, to aid debugging if configure makes a mistake.
1582 It was created by gob2 $as_me 2.0.19, which was
1583 generated by GNU Autoconf 2.68. Invocation command line was
1595 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1596 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1597 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1598 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1599 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1601 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1602 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1604 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1605 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1606 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1607 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1608 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1609 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1610 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1618 test -z "$as_dir" && as_dir=.
1619 $as_echo "PATH: $as_dir"
1635 # Keep a trace of the command line.
1636 # Strip out --no-create and --no-recursion so they do not pile up.
1637 # Strip out --silent because we don't want to record it for future runs.
1638 # Also quote any args containing shell meta-characters.
1639 # Make two passes to allow for proper duplicate-argument suppression.
1643 ac_must_keep_next=false
1649 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1650 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1651 | -silent | --silent | --silen | --sile | --sil)
1654 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1657 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1659 as_fn_append ac_configure_args1 " '$ac_arg'"
1660 if test $ac_must_keep_next = true; then
1661 ac_must_keep_next=false # Got value, back to normal.
1664 *=* | --config-cache | -C | -disable-* | --disable-* \
1665 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1666 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1667 | -with-* | --with-* | -without-* | --without-* | --x)
1668 case "$ac_configure_args0 " in
1669 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1672 -* ) ac_must_keep_next=true ;;
1675 as_fn_append ac_configure_args " '$ac_arg'"
1680 { ac_configure_args0=; unset ac_configure_args0;}
1681 { ac_configure_args1=; unset ac_configure_args1;}
1683 # When interrupted or exit'd, cleanup temporary files, and complete
1684 # config.log. We remove comments because anyway the quotes in there
1685 # would cause problems or look ugly.
1686 # WARNING: Use '\'' to represent an apostrophe within the trap.
1687 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1688 trap 'exit_status=$?
1689 # Save into config.log some information that might help in debugging.
1693 $as_echo "## ---------------- ##
1694 ## Cache variables. ##
1695 ## ---------------- ##"
1697 # The following way of writing the cache mishandles newlines in values,
1699 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1700 eval ac_val=\$$ac_var
1704 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1705 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1708 _ | IFS | as_nl) ;; #(
1709 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1710 *) { eval $ac_var=; unset $ac_var;} ;;
1715 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1716 *${as_nl}ac_space=\ *)
1718 "s/'\''/'\''\\\\'\'''\''/g;
1719 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1722 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1729 $as_echo "## ----------------- ##
1730 ## Output variables. ##
1731 ## ----------------- ##"
1733 for ac_var in $ac_subst_vars
1735 eval ac_val=\$$ac_var
1737 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1739 $as_echo "$ac_var='\''$ac_val'\''"
1743 if test -n "$ac_subst_files"; then
1744 $as_echo "## ------------------- ##
1745 ## File substitutions. ##
1746 ## ------------------- ##"
1748 for ac_var in $ac_subst_files
1750 eval ac_val=\$$ac_var
1752 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1754 $as_echo "$ac_var='\''$ac_val'\''"
1759 if test -s confdefs.h; then
1760 $as_echo "## ----------- ##
1767 test "$ac_signal" != 0 &&
1768 $as_echo "$as_me: caught signal $ac_signal"
1769 $as_echo "$as_me: exit $exit_status"
1771 rm -f core *.core core.conftest.* &&
1772 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1775 for ac_signal in 1 2 13 15; do
1776 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1780 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1781 rm -f -r conftest* confdefs.h
1783 $as_echo "/* confdefs.h */" > confdefs.h
1785 # Predefined preprocessor variables.
1787 cat >>confdefs.h <<_ACEOF
1788 #define PACKAGE_NAME "$PACKAGE_NAME"
1791 cat >>confdefs.h <<_ACEOF
1792 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1795 cat >>confdefs.h <<_ACEOF
1796 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1799 cat >>confdefs.h <<_ACEOF
1800 #define PACKAGE_STRING "$PACKAGE_STRING"
1803 cat >>confdefs.h <<_ACEOF
1804 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1807 cat >>confdefs.h <<_ACEOF
1808 #define PACKAGE_URL "$PACKAGE_URL"
1812 # Let the site file select an alternate cache file if it wants to.
1813 # Prefer an explicitly selected file to automatically selected ones.
1816 if test -n "$CONFIG_SITE"; then
1817 # We do not want a PATH search for config.site.
1818 case $CONFIG_SITE in #((
1819 -*) ac_site_file1=./$CONFIG_SITE;;
1820 */*) ac_site_file1=$CONFIG_SITE;;
1821 *) ac_site_file1=./$CONFIG_SITE;;
1823 elif test "x$prefix" != xNONE; then
1824 ac_site_file1=$prefix/share/config.site
1825 ac_site_file2=$prefix/etc/config.site
1827 ac_site_file1=$ac_default_prefix/share/config.site
1828 ac_site_file2=$ac_default_prefix/etc/config.site
1830 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1832 test "x$ac_site_file" = xNONE && continue
1833 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1834 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1835 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1836 sed 's/^/| /' "$ac_site_file" >&5
1838 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1839 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1840 as_fn_error $? "failed to load site script $ac_site_file
1841 See \`config.log' for more details" "$LINENO" 5; }
1845 if test -r "$cache_file"; then
1846 # Some versions of bash will fail to source /dev/null (special files
1847 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1848 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1849 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1850 $as_echo "$as_me: loading cache $cache_file" >&6;}
1852 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1853 *) . "./$cache_file";;
1857 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1858 $as_echo "$as_me: creating cache $cache_file" >&6;}
1862 # Check that the precious variables saved in the cache have kept the same
1864 ac_cache_corrupted=false
1865 for ac_var in $ac_precious_vars; do
1866 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1867 eval ac_new_set=\$ac_env_${ac_var}_set
1868 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1869 eval ac_new_val=\$ac_env_${ac_var}_value
1870 case $ac_old_set,$ac_new_set in
1872 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1873 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1874 ac_cache_corrupted=: ;;
1876 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1877 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1878 ac_cache_corrupted=: ;;
1881 if test "x$ac_old_val" != "x$ac_new_val"; then
1882 # differences in whitespace do not lead to failure.
1883 ac_old_val_w=`echo x $ac_old_val`
1884 ac_new_val_w=`echo x $ac_new_val`
1885 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1886 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1887 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1888 ac_cache_corrupted=:
1890 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1891 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1892 eval $ac_var=\$ac_old_val
1894 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1895 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1896 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1897 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1900 # Pass precious variables to config.status.
1901 if test "$ac_new_set" = set; then
1903 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1904 *) ac_arg=$ac_var=$ac_new_val ;;
1906 case " $ac_configure_args " in
1907 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1908 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1912 if $ac_cache_corrupted; then
1913 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1914 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1915 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1916 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1917 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1919 ## -------------------- ##
1920 ## Main body of script. ##
1921 ## -------------------- ##
1924 ac_cpp='$CPP $CPPFLAGS'
1925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1931 am__api_version='1.11'
1934 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1935 if test -f "$ac_dir/install-sh"; then
1937 ac_install_sh="$ac_aux_dir/install-sh -c"
1939 elif test -f "$ac_dir/install.sh"; then
1941 ac_install_sh="$ac_aux_dir/install.sh -c"
1943 elif test -f "$ac_dir/shtool"; then
1945 ac_install_sh="$ac_aux_dir/shtool install -c"
1949 if test -z "$ac_aux_dir"; then
1950 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1953 # These three variables are undocumented and unsupported,
1954 # and are intended to be withdrawn in a future Autoconf release.
1955 # They can cause serious problems if a builder's source tree is in a directory
1956 # whose full name contains unusual characters.
1957 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1958 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1959 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1962 # Find a good install program. We prefer a C program (faster),
1963 # so one script is as good as another. But avoid the broken or
1964 # incompatible versions:
1965 # SysV /etc/install, /usr/sbin/install
1966 # SunOS /usr/etc/install
1967 # IRIX /sbin/install
1969 # AmigaOS /C/install, which installs bootblocks on floppy discs
1970 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1971 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1972 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1973 # OS/2's system install, which has a completely different semantic
1974 # ./install, which can be erroneously created by make from ./install.sh.
1975 # Reject install programs that cannot install multiple files.
1976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1977 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1978 if test -z "$INSTALL"; then
1979 if ${ac_cv_path_install+:} false; then :
1980 $as_echo_n "(cached) " >&6
1982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1986 test -z "$as_dir" && as_dir=.
1987 # Account for people who put trailing slashes in PATH elements.
1988 case $as_dir/ in #((
1989 ./ | .// | /[cC]/* | \
1990 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1991 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1994 # OSF1 and SCO ODT 3.0 have their own names for install.
1995 # Don't use installbsd from OSF since it installs stuff as root
1997 for ac_prog in ginstall scoinst install; do
1998 for ac_exec_ext in '' $ac_executable_extensions; do
1999 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2000 if test $ac_prog = install &&
2001 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2002 # AIX install. It has an incompatible calling convention.
2004 elif test $ac_prog = install &&
2005 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2006 # program-specific install script used by HP pwplus--don't use.
2009 rm -rf conftest.one conftest.two conftest.dir
2010 echo one > conftest.one
2011 echo two > conftest.two
2013 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2014 test -s conftest.one && test -s conftest.two &&
2015 test -s conftest.dir/conftest.one &&
2016 test -s conftest.dir/conftest.two
2018 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2031 rm -rf conftest.one conftest.two conftest.dir
2034 if test "${ac_cv_path_install+set}" = set; then
2035 INSTALL=$ac_cv_path_install
2037 # As a last resort, use the slow shell script. Don't cache a
2038 # value for INSTALL within a source directory, because that will
2039 # break other packages using the cache if that directory is
2040 # removed, or if the value is a relative name.
2041 INSTALL=$ac_install_sh
2044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2045 $as_echo "$INSTALL" >&6; }
2047 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2048 # It thinks the first close brace ends the variable substitution.
2049 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2051 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2053 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2056 $as_echo_n "checking whether build environment is sane... " >&6; }
2059 echo timestamp > conftest.file
2060 # Reject unsafe characters in $srcdir or the absolute working directory
2061 # name. Accept space and tab only in the latter.
2065 *[\\\"\#\$\&\'\`$am_lf]*)
2066 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2069 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2070 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2073 # Do `set' in a subshell so we don't clobber the current shell's
2074 # arguments. Must try -L first in case configure is actually a
2075 # symlink; some systems play weird games with the mod time of symlinks
2076 # (eg FreeBSD returns the mod time of the symlink's containing
2079 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2080 if test "$*" = "X"; then
2082 set X `ls -t "$srcdir/configure" conftest.file`
2085 if test "$*" != "X $srcdir/configure conftest.file" \
2086 && test "$*" != "X conftest.file $srcdir/configure"; then
2088 # If neither matched, then we have a broken ls. This can happen
2089 # if, for instance, CONFIG_SHELL is bash and it inherits a
2090 # broken ls alias from the environment. This has actually
2091 # happened. Such a system could not be considered "sane".
2092 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2093 alias in your environment" "$LINENO" 5
2096 test "$2" = conftest.file
2102 as_fn_error $? "newly created file is older than distributed files!
2103 Check your system clock" "$LINENO" 5
2105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2106 $as_echo "yes" >&6; }
2107 test "$program_prefix" != NONE &&
2108 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2109 # Use a double $ so make ignores it.
2110 test "$program_suffix" != NONE &&
2111 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2112 # Double any \ or $.
2113 # By default was `s,x,x', remove it if useless.
2114 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2115 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2117 # expand $ac_aux_dir to an absolute path
2118 am_aux_dir=`cd $ac_aux_dir && pwd`
2120 if test x"${MISSING+set}" != xset; then
2123 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2125 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2128 # Use eval to expand $SHELL
2129 if eval "$MISSING --run true"; then
2130 am_missing_run="$MISSING --run "
2133 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2134 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2137 if test x"${install_sh}" != xset; then
2140 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2142 install_sh="\${SHELL} $am_aux_dir/install-sh"
2146 # Installed binaries are usually stripped using `strip' when the user
2147 # run `make install-strip'. However `strip' might not be the right
2148 # tool to use in cross-compilation environments, therefore Automake
2149 # will honor the `STRIP' environment variable to overrule this program.
2150 if test "$cross_compiling" != no; then
2151 if test -n "$ac_tool_prefix"; then
2152 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2153 set dummy ${ac_tool_prefix}strip; ac_word=$2
2154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2155 $as_echo_n "checking for $ac_word... " >&6; }
2156 if ${ac_cv_prog_STRIP+:} false; then :
2157 $as_echo_n "(cached) " >&6
2159 if test -n "$STRIP"; then
2160 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2166 test -z "$as_dir" && as_dir=.
2167 for ac_exec_ext in '' $ac_executable_extensions; do
2168 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2169 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2170 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2179 STRIP=$ac_cv_prog_STRIP
2180 if test -n "$STRIP"; then
2181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2182 $as_echo "$STRIP" >&6; }
2184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2185 $as_echo "no" >&6; }
2190 if test -z "$ac_cv_prog_STRIP"; then
2192 # Extract the first word of "strip", so it can be a program name with args.
2193 set dummy strip; ac_word=$2
2194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2195 $as_echo_n "checking for $ac_word... " >&6; }
2196 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2197 $as_echo_n "(cached) " >&6
2199 if test -n "$ac_ct_STRIP"; then
2200 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2206 test -z "$as_dir" && as_dir=.
2207 for ac_exec_ext in '' $ac_executable_extensions; do
2208 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2209 ac_cv_prog_ac_ct_STRIP="strip"
2210 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2219 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2220 if test -n "$ac_ct_STRIP"; then
2221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2222 $as_echo "$ac_ct_STRIP" >&6; }
2224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2225 $as_echo "no" >&6; }
2228 if test "x$ac_ct_STRIP" = x; then
2231 case $cross_compiling:$ac_tool_warned in
2233 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2234 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2235 ac_tool_warned=yes ;;
2240 STRIP="$ac_cv_prog_STRIP"
2244 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2247 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2248 if test -z "$MKDIR_P"; then
2249 if ${ac_cv_path_mkdir+:} false; then :
2250 $as_echo_n "(cached) " >&6
2252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2253 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2256 test -z "$as_dir" && as_dir=.
2257 for ac_prog in mkdir gmkdir; do
2258 for ac_exec_ext in '' $ac_executable_extensions; do
2259 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2260 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2261 'mkdir (GNU coreutils) '* | \
2262 'mkdir (coreutils) '* | \
2263 'mkdir (fileutils) '4.1*)
2264 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2274 test -d ./--version && rmdir ./--version
2275 if test "${ac_cv_path_mkdir+set}" = set; then
2276 MKDIR_P="$ac_cv_path_mkdir -p"
2278 # As a last resort, use the slow shell script. Don't cache a
2279 # value for MKDIR_P within a source directory, because that will
2280 # break other packages using the cache if that directory is
2281 # removed, or if the value is a relative name.
2282 MKDIR_P="$ac_install_sh -d"
2285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2286 $as_echo "$MKDIR_P" >&6; }
2290 [\\/$]* | ?:[\\/]*) ;;
2291 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2294 for ac_prog in gawk mawk nawk awk
2296 # Extract the first word of "$ac_prog", so it can be a program name with args.
2297 set dummy $ac_prog; ac_word=$2
2298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2299 $as_echo_n "checking for $ac_word... " >&6; }
2300 if ${ac_cv_prog_AWK+:} false; then :
2301 $as_echo_n "(cached) " >&6
2303 if test -n "$AWK"; then
2304 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2310 test -z "$as_dir" && as_dir=.
2311 for ac_exec_ext in '' $ac_executable_extensions; do
2312 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2313 ac_cv_prog_AWK="$ac_prog"
2314 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2324 if test -n "$AWK"; then
2325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2326 $as_echo "$AWK" >&6; }
2328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2329 $as_echo "no" >&6; }
2333 test -n "$AWK" && break
2336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2337 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2339 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2340 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2341 $as_echo_n "(cached) " >&6
2343 cat >conftest.make <<\_ACEOF
2346 @echo '@@@%%%=$(MAKE)=@@@%%%'
2348 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2349 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2351 eval ac_cv_prog_make_${ac_make}_set=yes;;
2353 eval ac_cv_prog_make_${ac_make}_set=no;;
2357 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2359 $as_echo "yes" >&6; }
2362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2363 $as_echo "no" >&6; }
2364 SET_MAKE="MAKE=${MAKE-make}"
2367 rm -rf .tst 2>/dev/null
2368 mkdir .tst 2>/dev/null
2369 if test -d .tst; then
2374 rmdir .tst 2>/dev/null
2376 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2377 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2378 # is not polluted with repeated "-I."
2379 am__isrc=' -I$(srcdir)'
2380 # test to see if srcdir already configured
2381 if test -f $srcdir/config.status; then
2382 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2386 # test whether we have cygpath
2387 if test -z "$CYGPATH_W"; then
2388 if (cygpath --version) >/dev/null 2>/dev/null; then
2389 CYGPATH_W='cygpath -w'
2396 # Define the identity of the package.
2401 cat >>confdefs.h <<_ACEOF
2402 #define PACKAGE "$PACKAGE"
2406 cat >>confdefs.h <<_ACEOF
2407 #define VERSION "$VERSION"
2410 # Some tools Automake needs.
2412 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2415 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2418 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2421 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2424 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2426 # We need awk for the "check" target. The system "awk" is bad on
2428 # Always define AMTAR for backward compatibility. Yes, it's still used
2429 # in the wild :-( We should find a proper way to deprecate it ...
2432 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2439 ac_config_headers="$ac_config_headers config.h"
2442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2443 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2444 # Check whether --enable-maintainer-mode was given.
2445 if test "${enable_maintainer_mode+set}" = set; then :
2446 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2448 USE_MAINTAINER_MODE=no
2451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2452 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2453 if test $USE_MAINTAINER_MODE = yes; then
2454 MAINTAINER_MODE_TRUE=
2455 MAINTAINER_MODE_FALSE='#'
2457 MAINTAINER_MODE_TRUE='#'
2458 MAINTAINER_MODE_FALSE=
2461 MAINT=$MAINTAINER_MODE_TRUE
2468 if test -f ../NOINST_GOB; then
2477 if test -f ../NOINST_GOB ; then
2478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: *** NOT Going to install GOB ***" >&5
2479 $as_echo "*** NOT Going to install GOB ***" >&6; }
2480 SUBDIRS="src examples"
2482 SUBDIRS="src examples doc"
2486 DEPDIR="${am__leading_dot}deps"
2488 ac_config_commands="$ac_config_commands depfiles"
2491 am_make=${MAKE-make}
2492 cat > confinc << 'END'
2494 @echo this is the am__doit target
2497 # If we don't find an include directive, just comment out the code.
2498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2499 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2503 # First try GNU make style include.
2504 echo "include confinc" > confmf
2505 # Ignore all kinds of additional output from `make'.
2506 case `$am_make -s -f confmf 2> /dev/null` in #(
2507 *the\ am__doit\ target*)
2513 # Now try BSD make style include.
2514 if test "$am__include" = "#"; then
2515 echo '.include "confinc"' > confmf
2516 case `$am_make -s -f confmf 2> /dev/null` in #(
2517 *the\ am__doit\ target*)
2518 am__include=.include
2526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2527 $as_echo "$_am_result" >&6; }
2528 rm -f confinc confmf
2530 # Check whether --enable-dependency-tracking was given.
2531 if test "${enable_dependency_tracking+set}" = set; then :
2532 enableval=$enable_dependency_tracking;
2535 if test "x$enable_dependency_tracking" != xno; then
2536 am_depcomp="$ac_aux_dir/depcomp"
2540 if test "x$enable_dependency_tracking" != xno; then
2550 ac_cpp='$CPP $CPPFLAGS'
2551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2554 if test -n "$ac_tool_prefix"; then
2555 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2556 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2558 $as_echo_n "checking for $ac_word... " >&6; }
2559 if ${ac_cv_prog_CC+:} false; then :
2560 $as_echo_n "(cached) " >&6
2562 if test -n "$CC"; then
2563 ac_cv_prog_CC="$CC" # Let the user override the test.
2565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2569 test -z "$as_dir" && as_dir=.
2570 for ac_exec_ext in '' $ac_executable_extensions; do
2571 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2572 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2573 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2583 if test -n "$CC"; then
2584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2585 $as_echo "$CC" >&6; }
2587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2588 $as_echo "no" >&6; }
2593 if test -z "$ac_cv_prog_CC"; then
2595 # Extract the first word of "gcc", so it can be a program name with args.
2596 set dummy gcc; ac_word=$2
2597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2598 $as_echo_n "checking for $ac_word... " >&6; }
2599 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2600 $as_echo_n "(cached) " >&6
2602 if test -n "$ac_ct_CC"; then
2603 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2609 test -z "$as_dir" && as_dir=.
2610 for ac_exec_ext in '' $ac_executable_extensions; do
2611 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2612 ac_cv_prog_ac_ct_CC="gcc"
2613 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2622 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2623 if test -n "$ac_ct_CC"; then
2624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2625 $as_echo "$ac_ct_CC" >&6; }
2627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2628 $as_echo "no" >&6; }
2631 if test "x$ac_ct_CC" = x; then
2634 case $cross_compiling:$ac_tool_warned in
2636 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2637 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2638 ac_tool_warned=yes ;;
2646 if test -z "$CC"; then
2647 if test -n "$ac_tool_prefix"; then
2648 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2649 set dummy ${ac_tool_prefix}cc; ac_word=$2
2650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2651 $as_echo_n "checking for $ac_word... " >&6; }
2652 if ${ac_cv_prog_CC+:} false; then :
2653 $as_echo_n "(cached) " >&6
2655 if test -n "$CC"; then
2656 ac_cv_prog_CC="$CC" # Let the user override the test.
2658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2662 test -z "$as_dir" && as_dir=.
2663 for ac_exec_ext in '' $ac_executable_extensions; do
2664 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2665 ac_cv_prog_CC="${ac_tool_prefix}cc"
2666 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2676 if test -n "$CC"; then
2677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2678 $as_echo "$CC" >&6; }
2680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2681 $as_echo "no" >&6; }
2687 if test -z "$CC"; then
2688 # Extract the first word of "cc", so it can be a program name with args.
2689 set dummy cc; ac_word=$2
2690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2691 $as_echo_n "checking for $ac_word... " >&6; }
2692 if ${ac_cv_prog_CC+:} false; then :
2693 $as_echo_n "(cached) " >&6
2695 if test -n "$CC"; then
2696 ac_cv_prog_CC="$CC" # Let the user override the test.
2699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2703 test -z "$as_dir" && as_dir=.
2704 for ac_exec_ext in '' $ac_executable_extensions; do
2705 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2706 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2707 ac_prog_rejected=yes
2711 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2718 if test $ac_prog_rejected = yes; then
2719 # We found a bogon in the path, so make sure we never use it.
2720 set dummy $ac_cv_prog_CC
2722 if test $# != 0; then
2723 # We chose a different compiler from the bogus one.
2724 # However, it has the same basename, so the bogon will be chosen
2725 # first if we set CC to just the basename; use the full file name.
2727 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2733 if test -n "$CC"; then
2734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2735 $as_echo "$CC" >&6; }
2737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2738 $as_echo "no" >&6; }
2743 if test -z "$CC"; then
2744 if test -n "$ac_tool_prefix"; then
2745 for ac_prog in cl.exe
2747 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2748 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2750 $as_echo_n "checking for $ac_word... " >&6; }
2751 if ${ac_cv_prog_CC+:} false; then :
2752 $as_echo_n "(cached) " >&6
2754 if test -n "$CC"; then
2755 ac_cv_prog_CC="$CC" # Let the user override the test.
2757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2761 test -z "$as_dir" && as_dir=.
2762 for ac_exec_ext in '' $ac_executable_extensions; do
2763 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2764 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2765 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2775 if test -n "$CC"; then
2776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2777 $as_echo "$CC" >&6; }
2779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2780 $as_echo "no" >&6; }
2784 test -n "$CC" && break
2787 if test -z "$CC"; then
2789 for ac_prog in cl.exe
2791 # Extract the first word of "$ac_prog", so it can be a program name with args.
2792 set dummy $ac_prog; ac_word=$2
2793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2794 $as_echo_n "checking for $ac_word... " >&6; }
2795 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2796 $as_echo_n "(cached) " >&6
2798 if test -n "$ac_ct_CC"; then
2799 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2805 test -z "$as_dir" && as_dir=.
2806 for ac_exec_ext in '' $ac_executable_extensions; do
2807 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2808 ac_cv_prog_ac_ct_CC="$ac_prog"
2809 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2818 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2819 if test -n "$ac_ct_CC"; then
2820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2821 $as_echo "$ac_ct_CC" >&6; }
2823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2824 $as_echo "no" >&6; }
2828 test -n "$ac_ct_CC" && break
2831 if test "x$ac_ct_CC" = x; then
2834 case $cross_compiling:$ac_tool_warned in
2836 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2837 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2838 ac_tool_warned=yes ;;
2847 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2848 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2849 as_fn_error $? "no acceptable C compiler found in \$PATH
2850 See \`config.log' for more details" "$LINENO" 5; }
2852 # Provide some information about the compiler.
2853 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2856 for ac_option in --version -v -V -qversion; do
2857 { { ac_try="$ac_compiler $ac_option >&5"
2859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2860 *) ac_try_echo=$ac_try;;
2862 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2863 $as_echo "$ac_try_echo"; } >&5
2864 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2866 if test -s conftest.err; then
2868 ... rest of stderr output deleted ...
2869 10q' conftest.err >conftest.er1
2870 cat conftest.er1 >&5
2872 rm -f conftest.er1 conftest.err
2873 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2874 test $ac_status = 0; }
2877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2878 /* end confdefs.h. */
2888 ac_clean_files_save=$ac_clean_files
2889 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2890 # Try to create an executable without -o first, disregard a.out.
2891 # It will help us diagnose broken compilers, and finding out an intuition
2893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2894 $as_echo_n "checking whether the C compiler works... " >&6; }
2895 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2897 # The possible output files:
2898 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2901 for ac_file in $ac_files
2904 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2905 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2910 if { { ac_try="$ac_link_default"
2912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2913 *) ac_try_echo=$ac_try;;
2915 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2916 $as_echo "$ac_try_echo"; } >&5
2917 (eval "$ac_link_default") 2>&5
2919 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2920 test $ac_status = 0; }; then :
2921 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2922 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2923 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2924 # so that the user can short-circuit this test for compilers unknown to
2926 for ac_file in $ac_files ''
2928 test -f "$ac_file" || continue
2930 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2933 # We found the default executable, but exeext='' is most
2937 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2939 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2941 # We set ac_cv_exeext here because the later test for it is not
2942 # safe: cross compilers may not add the suffix if given an `-o'
2943 # argument, so we may need to know it at that point already.
2944 # Even if this section looks crufty: it has the advantage of
2951 test "$ac_cv_exeext" = no && ac_cv_exeext=
2956 if test -z "$ac_file"; then :
2957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2958 $as_echo "no" >&6; }
2959 $as_echo "$as_me: failed program was:" >&5
2960 sed 's/^/| /' conftest.$ac_ext >&5
2962 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2963 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2964 as_fn_error 77 "C compiler cannot create executables
2965 See \`config.log' for more details" "$LINENO" 5; }
2967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2968 $as_echo "yes" >&6; }
2970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2971 $as_echo_n "checking for C compiler default output file name... " >&6; }
2972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2973 $as_echo "$ac_file" >&6; }
2974 ac_exeext=$ac_cv_exeext
2976 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2977 ac_clean_files=$ac_clean_files_save
2978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2979 $as_echo_n "checking for suffix of executables... " >&6; }
2980 if { { ac_try="$ac_link"
2982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2983 *) ac_try_echo=$ac_try;;
2985 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2986 $as_echo "$ac_try_echo"; } >&5
2987 (eval "$ac_link") 2>&5
2989 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2990 test $ac_status = 0; }; then :
2991 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2992 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2993 # work properly (i.e., refer to `conftest.exe'), while it won't with
2995 for ac_file in conftest.exe conftest conftest.*; do
2996 test -f "$ac_file" || continue
2998 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2999 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3005 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3006 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3007 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3008 See \`config.log' for more details" "$LINENO" 5; }
3010 rm -f conftest conftest$ac_cv_exeext
3011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3012 $as_echo "$ac_cv_exeext" >&6; }
3014 rm -f conftest.$ac_ext
3015 EXEEXT=$ac_cv_exeext
3017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3018 /* end confdefs.h. */
3023 FILE *f = fopen ("conftest.out", "w");
3024 return ferror (f) || fclose (f) != 0;
3030 ac_clean_files="$ac_clean_files conftest.out"
3031 # Check that the compiler produces executables we can run. If not, either
3032 # the compiler is broken, or we cross compile.
3033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3034 $as_echo_n "checking whether we are cross compiling... " >&6; }
3035 if test "$cross_compiling" != yes; then
3036 { { ac_try="$ac_link"
3038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3039 *) ac_try_echo=$ac_try;;
3041 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3042 $as_echo "$ac_try_echo"; } >&5
3043 (eval "$ac_link") 2>&5
3045 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3046 test $ac_status = 0; }
3047 if { ac_try='./conftest$ac_cv_exeext'
3048 { { case "(($ac_try" in
3049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3050 *) ac_try_echo=$ac_try;;
3052 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3053 $as_echo "$ac_try_echo"; } >&5
3054 (eval "$ac_try") 2>&5
3056 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3057 test $ac_status = 0; }; }; then
3060 if test "$cross_compiling" = maybe; then
3063 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3064 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3065 as_fn_error $? "cannot run C compiled programs.
3066 If you meant to cross compile, use \`--host'.
3067 See \`config.log' for more details" "$LINENO" 5; }
3071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3072 $as_echo "$cross_compiling" >&6; }
3074 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3075 ac_clean_files=$ac_clean_files_save
3076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3077 $as_echo_n "checking for suffix of object files... " >&6; }
3078 if ${ac_cv_objext+:} false; then :
3079 $as_echo_n "(cached) " >&6
3081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3082 /* end confdefs.h. */
3092 rm -f conftest.o conftest.obj
3093 if { { ac_try="$ac_compile"
3095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3096 *) ac_try_echo=$ac_try;;
3098 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3099 $as_echo "$ac_try_echo"; } >&5
3100 (eval "$ac_compile") 2>&5
3102 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3103 test $ac_status = 0; }; then :
3104 for ac_file in conftest.o conftest.obj conftest.*; do
3105 test -f "$ac_file" || continue;
3107 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3108 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3113 $as_echo "$as_me: failed program was:" >&5
3114 sed 's/^/| /' conftest.$ac_ext >&5
3116 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3117 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3118 as_fn_error $? "cannot compute suffix of object files: cannot compile
3119 See \`config.log' for more details" "$LINENO" 5; }
3121 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3124 $as_echo "$ac_cv_objext" >&6; }
3125 OBJEXT=$ac_cv_objext
3127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3128 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3129 if ${ac_cv_c_compiler_gnu+:} false; then :
3130 $as_echo_n "(cached) " >&6
3132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3133 /* end confdefs.h. */
3146 if ac_fn_c_try_compile "$LINENO"; then :
3151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3152 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3156 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3157 if test $ac_compiler_gnu = yes; then
3162 ac_test_CFLAGS=${CFLAGS+set}
3163 ac_save_CFLAGS=$CFLAGS
3164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3165 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3166 if ${ac_cv_prog_cc_g+:} false; then :
3167 $as_echo_n "(cached) " >&6
3169 ac_save_c_werror_flag=$ac_c_werror_flag
3170 ac_c_werror_flag=yes
3173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3174 /* end confdefs.h. */
3184 if ac_fn_c_try_compile "$LINENO"; then :
3188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3189 /* end confdefs.h. */
3199 if ac_fn_c_try_compile "$LINENO"; then :
3202 ac_c_werror_flag=$ac_save_c_werror_flag
3204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3205 /* end confdefs.h. */
3215 if ac_fn_c_try_compile "$LINENO"; then :
3218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3223 ac_c_werror_flag=$ac_save_c_werror_flag
3225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3226 $as_echo "$ac_cv_prog_cc_g" >&6; }
3227 if test "$ac_test_CFLAGS" = set; then
3228 CFLAGS=$ac_save_CFLAGS
3229 elif test $ac_cv_prog_cc_g = yes; then
3230 if test "$GCC" = yes; then
3236 if test "$GCC" = yes; then
3242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3243 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3244 if ${ac_cv_prog_cc_c89+:} false; then :
3245 $as_echo_n "(cached) " >&6
3247 ac_cv_prog_cc_c89=no
3249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3250 /* end confdefs.h. */
3253 #include <sys/types.h>
3254 #include <sys/stat.h>
3255 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3256 struct buf { int x; };
3257 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3258 static char *e (p, i)
3264 static char *f (char * (*g) (char **, int), char **p, ...)
3269 s = g (p, va_arg (v,int));
3274 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3275 function prototypes and stuff, but not '\xHH' hex character constants.
3276 These don't provoke an error unfortunately, instead are silently treated
3277 as 'x'. The following induces an error, until -std is added to get
3278 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3279 array size at least. It's necessary to write '\x00'==0 to get something
3280 that's true only with -std. */
3281 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3283 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3284 inside strings and character constants. */
3286 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3288 int test (int i, double x);
3289 struct s1 {int (*f) (int a);};
3290 struct s2 {int (*f) (double a);};
3291 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3297 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3302 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3303 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3305 CC="$ac_save_CC $ac_arg"
3306 if ac_fn_c_try_compile "$LINENO"; then :
3307 ac_cv_prog_cc_c89=$ac_arg
3309 rm -f core conftest.err conftest.$ac_objext
3310 test "x$ac_cv_prog_cc_c89" != "xno" && break
3312 rm -f conftest.$ac_ext
3317 case "x$ac_cv_prog_cc_c89" in
3319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3320 $as_echo "none needed" >&6; } ;;
3322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3323 $as_echo "unsupported" >&6; } ;;
3325 CC="$CC $ac_cv_prog_cc_c89"
3326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3327 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3329 if test "x$ac_cv_prog_cc_c89" != xno; then :
3334 ac_cpp='$CPP $CPPFLAGS'
3335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3339 depcc="$CC" am_compiler_list=
3341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3342 $as_echo_n "checking dependency style of $depcc... " >&6; }
3343 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3344 $as_echo_n "(cached) " >&6
3346 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3347 # We make a subdir and do the tests there. Otherwise we can end up
3348 # making bogus files that we don't know about and never remove. For
3349 # instance it was reported that on HP-UX the gcc test will end up
3350 # making a dummy file named `D' -- because `-MD' means `put the output
3354 # Copy depcomp to subdir because otherwise we won't find it if we're
3355 # using a relative directory.
3356 cp "$am_depcomp" conftest.dir
3358 # We will build objects and dependencies in a subdirectory because
3359 # it helps to detect inapplicable dependency modes. For instance
3360 # both Tru64's cc and ICC support -MD to output dependencies as a
3361 # side effect of compilation, but ICC will put the dependencies in
3362 # the current directory while Tru64 will put them in the object
3366 am_cv_CC_dependencies_compiler_type=none
3367 if test "$am_compiler_list" = ""; then
3368 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3371 case " $depcc " in #(
3372 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3375 for depmode in $am_compiler_list; do
3376 # Setup a source with many dependencies, because some compilers
3377 # like to wrap large dependency lists on column 80 (with \), and
3378 # we should not choose a depcomp mode which is confused by this.
3380 # We need to recreate these files for each test, as the compiler may
3381 # overwrite some of them when testing with obscure command lines.
3382 # This happens at least with the AIX C compiler.
3384 for i in 1 2 3 4 5 6; do
3385 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3386 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3387 # Solaris 8's {/usr,}/bin/sh.
3388 touch sub/conftst$i.h
3390 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3392 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3393 # mode. It turns out that the SunPro C++ compiler does not properly
3394 # handle `-M -o', and we need to detect this. Also, some Intel
3395 # versions had trouble with output in subdirs
3396 am__obj=sub/conftest.${OBJEXT-o}
3397 am__minus_obj="-o $am__obj"
3400 # This depmode causes a compiler race in universal mode.
3401 test "$am__universal" = false || continue
3404 # after this tag, mechanisms are not by side-effect, so they'll
3405 # only be used when explicitly requested
3406 if test "x$enable_dependency_tracking" = xyes; then
3412 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3413 # This compiler won't grok `-c -o', but also, the minuso test has
3414 # not run yet. These depmodes are late enough in the game, and
3415 # so weak that their functioning should not be impacted.
3416 am__obj=conftest.${OBJEXT-o}
3421 if depmode=$depmode \
3422 source=sub/conftest.c object=$am__obj \
3423 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3424 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3425 >/dev/null 2>conftest.err &&
3426 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3427 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3428 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3429 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3430 # icc doesn't choke on unknown options, it will just issue warnings
3431 # or remarks (even with -Werror). So we grep stderr for any message
3432 # that says an option was ignored or not supported.
3433 # When given -MP, icc 7.0 and 7.1 complain thusly:
3434 # icc: Command line warning: ignoring option '-M'; no argument required
3435 # The diagnosis changed in icc 8.0:
3436 # icc: Command line remark: option '-MP' not supported
3437 if (grep 'ignoring option' conftest.err ||
3438 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3439 am_cv_CC_dependencies_compiler_type=$depmode
3448 am_cv_CC_dependencies_compiler_type=none
3452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3453 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3454 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3457 test "x$enable_dependency_tracking" != xno \
3458 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3460 am__fastdepCC_FALSE='#'
3462 am__fastdepCC_TRUE='#'
3463 am__fastdepCC_FALSE=
3468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
3469 $as_echo_n "checking for library containing strerror... " >&6; }
3470 if ${ac_cv_search_strerror+:} false; then :
3471 $as_echo_n "(cached) " >&6
3473 ac_func_search_save_LIBS=$LIBS
3474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3475 /* end confdefs.h. */
3477 /* Override any GCC internal prototype to avoid an error.
3478 Use char because int might match the return type of a GCC
3479 builtin and then its argument prototype would still apply. */
3492 for ac_lib in '' cposix; do
3493 if test -z "$ac_lib"; then
3494 ac_res="none required"
3497 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3499 if ac_fn_c_try_link "$LINENO"; then :
3500 ac_cv_search_strerror=$ac_res
3502 rm -f core conftest.err conftest.$ac_objext \
3504 if ${ac_cv_search_strerror+:} false; then :
3508 if ${ac_cv_search_strerror+:} false; then :
3511 ac_cv_search_strerror=no
3514 LIBS=$ac_func_search_save_LIBS
3516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
3517 $as_echo "$ac_cv_search_strerror" >&6; }
3518 ac_res=$ac_cv_search_strerror
3519 if test "$ac_res" != no; then :
3520 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3525 ac_cpp='$CPP $CPPFLAGS'
3526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3529 if test -n "$ac_tool_prefix"; then
3530 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3531 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3533 $as_echo_n "checking for $ac_word... " >&6; }
3534 if ${ac_cv_prog_CC+:} false; then :
3535 $as_echo_n "(cached) " >&6
3537 if test -n "$CC"; then
3538 ac_cv_prog_CC="$CC" # Let the user override the test.
3540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3544 test -z "$as_dir" && as_dir=.
3545 for ac_exec_ext in '' $ac_executable_extensions; do
3546 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3547 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3548 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3558 if test -n "$CC"; then
3559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3560 $as_echo "$CC" >&6; }
3562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3563 $as_echo "no" >&6; }
3568 if test -z "$ac_cv_prog_CC"; then
3570 # Extract the first word of "gcc", so it can be a program name with args.
3571 set dummy gcc; ac_word=$2
3572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3573 $as_echo_n "checking for $ac_word... " >&6; }
3574 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3575 $as_echo_n "(cached) " >&6
3577 if test -n "$ac_ct_CC"; then
3578 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3584 test -z "$as_dir" && as_dir=.
3585 for ac_exec_ext in '' $ac_executable_extensions; do
3586 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3587 ac_cv_prog_ac_ct_CC="gcc"
3588 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3597 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3598 if test -n "$ac_ct_CC"; then
3599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3600 $as_echo "$ac_ct_CC" >&6; }
3602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3603 $as_echo "no" >&6; }
3606 if test "x$ac_ct_CC" = x; then
3609 case $cross_compiling:$ac_tool_warned in
3611 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3612 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3613 ac_tool_warned=yes ;;
3621 if test -z "$CC"; then
3622 if test -n "$ac_tool_prefix"; then
3623 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3624 set dummy ${ac_tool_prefix}cc; ac_word=$2
3625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3626 $as_echo_n "checking for $ac_word... " >&6; }
3627 if ${ac_cv_prog_CC+:} false; then :
3628 $as_echo_n "(cached) " >&6
3630 if test -n "$CC"; then
3631 ac_cv_prog_CC="$CC" # Let the user override the test.
3633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3637 test -z "$as_dir" && as_dir=.
3638 for ac_exec_ext in '' $ac_executable_extensions; do
3639 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3640 ac_cv_prog_CC="${ac_tool_prefix}cc"
3641 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3651 if test -n "$CC"; then
3652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3653 $as_echo "$CC" >&6; }
3655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3656 $as_echo "no" >&6; }
3662 if test -z "$CC"; then
3663 # Extract the first word of "cc", so it can be a program name with args.
3664 set dummy cc; ac_word=$2
3665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3666 $as_echo_n "checking for $ac_word... " >&6; }
3667 if ${ac_cv_prog_CC+:} false; then :
3668 $as_echo_n "(cached) " >&6
3670 if test -n "$CC"; then
3671 ac_cv_prog_CC="$CC" # Let the user override the test.
3674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3678 test -z "$as_dir" && as_dir=.
3679 for ac_exec_ext in '' $ac_executable_extensions; do
3680 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3681 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3682 ac_prog_rejected=yes
3686 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3693 if test $ac_prog_rejected = yes; then
3694 # We found a bogon in the path, so make sure we never use it.
3695 set dummy $ac_cv_prog_CC
3697 if test $# != 0; then
3698 # We chose a different compiler from the bogus one.
3699 # However, it has the same basename, so the bogon will be chosen
3700 # first if we set CC to just the basename; use the full file name.
3702 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3708 if test -n "$CC"; then
3709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3710 $as_echo "$CC" >&6; }
3712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3713 $as_echo "no" >&6; }
3718 if test -z "$CC"; then
3719 if test -n "$ac_tool_prefix"; then
3720 for ac_prog in cl.exe
3722 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3723 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3725 $as_echo_n "checking for $ac_word... " >&6; }
3726 if ${ac_cv_prog_CC+:} false; then :
3727 $as_echo_n "(cached) " >&6
3729 if test -n "$CC"; then
3730 ac_cv_prog_CC="$CC" # Let the user override the test.
3732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3736 test -z "$as_dir" && as_dir=.
3737 for ac_exec_ext in '' $ac_executable_extensions; do
3738 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3739 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3740 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3750 if test -n "$CC"; then
3751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3752 $as_echo "$CC" >&6; }
3754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3755 $as_echo "no" >&6; }
3759 test -n "$CC" && break
3762 if test -z "$CC"; then
3764 for ac_prog in cl.exe
3766 # Extract the first word of "$ac_prog", so it can be a program name with args.
3767 set dummy $ac_prog; ac_word=$2
3768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3769 $as_echo_n "checking for $ac_word... " >&6; }
3770 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3771 $as_echo_n "(cached) " >&6
3773 if test -n "$ac_ct_CC"; then
3774 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3780 test -z "$as_dir" && as_dir=.
3781 for ac_exec_ext in '' $ac_executable_extensions; do
3782 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3783 ac_cv_prog_ac_ct_CC="$ac_prog"
3784 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3793 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3794 if test -n "$ac_ct_CC"; then
3795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3796 $as_echo "$ac_ct_CC" >&6; }
3798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3799 $as_echo "no" >&6; }
3803 test -n "$ac_ct_CC" && break
3806 if test "x$ac_ct_CC" = x; then
3809 case $cross_compiling:$ac_tool_warned in
3811 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3812 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3813 ac_tool_warned=yes ;;
3822 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3823 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3824 as_fn_error $? "no acceptable C compiler found in \$PATH
3825 See \`config.log' for more details" "$LINENO" 5; }
3827 # Provide some information about the compiler.
3828 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3831 for ac_option in --version -v -V -qversion; do
3832 { { ac_try="$ac_compiler $ac_option >&5"
3834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3835 *) ac_try_echo=$ac_try;;
3837 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3838 $as_echo "$ac_try_echo"; } >&5
3839 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3841 if test -s conftest.err; then
3843 ... rest of stderr output deleted ...
3844 10q' conftest.err >conftest.er1
3845 cat conftest.er1 >&5
3847 rm -f conftest.er1 conftest.err
3848 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3849 test $ac_status = 0; }
3852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3853 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3854 if ${ac_cv_c_compiler_gnu+:} false; then :
3855 $as_echo_n "(cached) " >&6
3857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3858 /* end confdefs.h. */
3871 if ac_fn_c_try_compile "$LINENO"; then :
3876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3877 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3881 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3882 if test $ac_compiler_gnu = yes; then
3887 ac_test_CFLAGS=${CFLAGS+set}
3888 ac_save_CFLAGS=$CFLAGS
3889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3890 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3891 if ${ac_cv_prog_cc_g+:} false; then :
3892 $as_echo_n "(cached) " >&6
3894 ac_save_c_werror_flag=$ac_c_werror_flag
3895 ac_c_werror_flag=yes
3898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3899 /* end confdefs.h. */
3909 if ac_fn_c_try_compile "$LINENO"; then :
3913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3914 /* end confdefs.h. */
3924 if ac_fn_c_try_compile "$LINENO"; then :
3927 ac_c_werror_flag=$ac_save_c_werror_flag
3929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3930 /* end confdefs.h. */
3940 if ac_fn_c_try_compile "$LINENO"; then :
3943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3948 ac_c_werror_flag=$ac_save_c_werror_flag
3950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3951 $as_echo "$ac_cv_prog_cc_g" >&6; }
3952 if test "$ac_test_CFLAGS" = set; then
3953 CFLAGS=$ac_save_CFLAGS
3954 elif test $ac_cv_prog_cc_g = yes; then
3955 if test "$GCC" = yes; then
3961 if test "$GCC" = yes; then
3967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3968 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3969 if ${ac_cv_prog_cc_c89+:} false; then :
3970 $as_echo_n "(cached) " >&6
3972 ac_cv_prog_cc_c89=no
3974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3975 /* end confdefs.h. */
3978 #include <sys/types.h>
3979 #include <sys/stat.h>
3980 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3981 struct buf { int x; };
3982 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3983 static char *e (p, i)
3989 static char *f (char * (*g) (char **, int), char **p, ...)
3994 s = g (p, va_arg (v,int));
3999 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4000 function prototypes and stuff, but not '\xHH' hex character constants.
4001 These don't provoke an error unfortunately, instead are silently treated
4002 as 'x'. The following induces an error, until -std is added to get
4003 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4004 array size at least. It's necessary to write '\x00'==0 to get something
4005 that's true only with -std. */
4006 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4008 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4009 inside strings and character constants. */
4011 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4013 int test (int i, double x);
4014 struct s1 {int (*f) (int a);};
4015 struct s2 {int (*f) (double a);};
4016 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4022 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4027 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4028 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4030 CC="$ac_save_CC $ac_arg"
4031 if ac_fn_c_try_compile "$LINENO"; then :
4032 ac_cv_prog_cc_c89=$ac_arg
4034 rm -f core conftest.err conftest.$ac_objext
4035 test "x$ac_cv_prog_cc_c89" != "xno" && break
4037 rm -f conftest.$ac_ext
4042 case "x$ac_cv_prog_cc_c89" in
4044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4045 $as_echo "none needed" >&6; } ;;
4047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4048 $as_echo "unsupported" >&6; } ;;
4050 CC="$CC $ac_cv_prog_cc_c89"
4051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4052 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4054 if test "x$ac_cv_prog_cc_c89" != xno; then :
4059 ac_cpp='$CPP $CPPFLAGS'
4060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4064 depcc="$CC" am_compiler_list=
4066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4067 $as_echo_n "checking dependency style of $depcc... " >&6; }
4068 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4069 $as_echo_n "(cached) " >&6
4071 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4072 # We make a subdir and do the tests there. Otherwise we can end up
4073 # making bogus files that we don't know about and never remove. For
4074 # instance it was reported that on HP-UX the gcc test will end up
4075 # making a dummy file named `D' -- because `-MD' means `put the output
4079 # Copy depcomp to subdir because otherwise we won't find it if we're
4080 # using a relative directory.
4081 cp "$am_depcomp" conftest.dir
4083 # We will build objects and dependencies in a subdirectory because
4084 # it helps to detect inapplicable dependency modes. For instance
4085 # both Tru64's cc and ICC support -MD to output dependencies as a
4086 # side effect of compilation, but ICC will put the dependencies in
4087 # the current directory while Tru64 will put them in the object
4091 am_cv_CC_dependencies_compiler_type=none
4092 if test "$am_compiler_list" = ""; then
4093 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4096 case " $depcc " in #(
4097 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4100 for depmode in $am_compiler_list; do
4101 # Setup a source with many dependencies, because some compilers
4102 # like to wrap large dependency lists on column 80 (with \), and
4103 # we should not choose a depcomp mode which is confused by this.
4105 # We need to recreate these files for each test, as the compiler may
4106 # overwrite some of them when testing with obscure command lines.
4107 # This happens at least with the AIX C compiler.
4109 for i in 1 2 3 4 5 6; do
4110 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4111 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4112 # Solaris 8's {/usr,}/bin/sh.
4113 touch sub/conftst$i.h
4115 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4117 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4118 # mode. It turns out that the SunPro C++ compiler does not properly
4119 # handle `-M -o', and we need to detect this. Also, some Intel
4120 # versions had trouble with output in subdirs
4121 am__obj=sub/conftest.${OBJEXT-o}
4122 am__minus_obj="-o $am__obj"
4125 # This depmode causes a compiler race in universal mode.
4126 test "$am__universal" = false || continue
4129 # after this tag, mechanisms are not by side-effect, so they'll
4130 # only be used when explicitly requested
4131 if test "x$enable_dependency_tracking" = xyes; then
4137 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4138 # This compiler won't grok `-c -o', but also, the minuso test has
4139 # not run yet. These depmodes are late enough in the game, and
4140 # so weak that their functioning should not be impacted.
4141 am__obj=conftest.${OBJEXT-o}
4146 if depmode=$depmode \
4147 source=sub/conftest.c object=$am__obj \
4148 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4149 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4150 >/dev/null 2>conftest.err &&
4151 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4152 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4153 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4154 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4155 # icc doesn't choke on unknown options, it will just issue warnings
4156 # or remarks (even with -Werror). So we grep stderr for any message
4157 # that says an option was ignored or not supported.
4158 # When given -MP, icc 7.0 and 7.1 complain thusly:
4159 # icc: Command line warning: ignoring option '-M'; no argument required
4160 # The diagnosis changed in icc 8.0:
4161 # icc: Command line remark: option '-MP' not supported
4162 if (grep 'ignoring option' conftest.err ||
4163 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4164 am_cv_CC_dependencies_compiler_type=$depmode
4173 am_cv_CC_dependencies_compiler_type=none
4177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4178 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4179 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4182 test "x$enable_dependency_tracking" != xno \
4183 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4185 am__fastdepCC_FALSE='#'
4187 am__fastdepCC_TRUE='#'
4188 am__fastdepCC_FALSE=
4193 ac_cpp='$CPP $CPPFLAGS'
4194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4198 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4199 # On Suns, sometimes $CPP names a directory.
4200 if test -n "$CPP" && test -d "$CPP"; then
4203 if test -z "$CPP"; then
4204 if ${ac_cv_prog_CPP+:} false; then :
4205 $as_echo_n "(cached) " >&6
4207 # Double quotes because CPP needs to be expanded
4208 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4211 for ac_c_preproc_warn_flag in '' yes
4213 # Use a header file that comes with gcc, so configuring glibc
4214 # with a fresh cross-compiler works.
4215 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4216 # <limits.h> exists even on freestanding compilers.
4217 # On the NeXT, cc -E runs the code through the compiler's parser,
4218 # not just through cpp. "Syntax error" is here to catch this case.
4219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4220 /* end confdefs.h. */
4222 # include <limits.h>
4224 # include <assert.h>
4228 if ac_fn_c_try_cpp "$LINENO"; then :
4231 # Broken: fails on valid input.
4234 rm -f conftest.err conftest.i conftest.$ac_ext
4236 # OK, works on sane cases. Now check whether nonexistent headers
4237 # can be detected and how.
4238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4239 /* end confdefs.h. */
4240 #include <ac_nonexistent.h>
4242 if ac_fn_c_try_cpp "$LINENO"; then :
4243 # Broken: success on invalid input.
4246 # Passes both tests.
4250 rm -f conftest.err conftest.i conftest.$ac_ext
4253 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4254 rm -f conftest.i conftest.err conftest.$ac_ext
4255 if $ac_preproc_ok; then :
4267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4268 $as_echo "$CPP" >&6; }
4270 for ac_c_preproc_warn_flag in '' yes
4272 # Use a header file that comes with gcc, so configuring glibc
4273 # with a fresh cross-compiler works.
4274 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4275 # <limits.h> exists even on freestanding compilers.
4276 # On the NeXT, cc -E runs the code through the compiler's parser,
4277 # not just through cpp. "Syntax error" is here to catch this case.
4278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4279 /* end confdefs.h. */
4281 # include <limits.h>
4283 # include <assert.h>
4287 if ac_fn_c_try_cpp "$LINENO"; then :
4290 # Broken: fails on valid input.
4293 rm -f conftest.err conftest.i conftest.$ac_ext
4295 # OK, works on sane cases. Now check whether nonexistent headers
4296 # can be detected and how.
4297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4298 /* end confdefs.h. */
4299 #include <ac_nonexistent.h>
4301 if ac_fn_c_try_cpp "$LINENO"; then :
4302 # Broken: success on invalid input.
4305 # Passes both tests.
4309 rm -f conftest.err conftest.i conftest.$ac_ext
4312 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4313 rm -f conftest.i conftest.err conftest.$ac_ext
4314 if $ac_preproc_ok; then :
4317 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4318 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4319 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4320 See \`config.log' for more details" "$LINENO" 5; }
4324 ac_cpp='$CPP $CPPFLAGS'
4325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4331 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4332 if ${ac_cv_path_GREP+:} false; then :
4333 $as_echo_n "(cached) " >&6
4335 if test -z "$GREP"; then
4336 ac_path_GREP_found=false
4337 # Loop through the user's path and test for each of PROGNAME-LIST
4338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4339 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4342 test -z "$as_dir" && as_dir=.
4343 for ac_prog in grep ggrep; do
4344 for ac_exec_ext in '' $ac_executable_extensions; do
4345 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4346 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4347 # Check for GNU ac_path_GREP and select it if it is found.
4348 # Check for GNU $ac_path_GREP
4349 case `"$ac_path_GREP" --version 2>&1` in
4351 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4354 $as_echo_n 0123456789 >"conftest.in"
4357 cat "conftest.in" "conftest.in" >"conftest.tmp"
4358 mv "conftest.tmp" "conftest.in"
4359 cp "conftest.in" "conftest.nl"
4360 $as_echo 'GREP' >> "conftest.nl"
4361 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4362 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4363 as_fn_arith $ac_count + 1 && ac_count=$as_val
4364 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4365 # Best one so far, save it but keep looking for a better one
4366 ac_cv_path_GREP="$ac_path_GREP"
4367 ac_path_GREP_max=$ac_count
4369 # 10*(2^10) chars as input seems more than enough
4370 test $ac_count -gt 10 && break
4372 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4375 $ac_path_GREP_found && break 3
4380 if test -z "$ac_cv_path_GREP"; then
4381 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4384 ac_cv_path_GREP=$GREP
4388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4389 $as_echo "$ac_cv_path_GREP" >&6; }
4390 GREP="$ac_cv_path_GREP"
4393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4394 $as_echo_n "checking for egrep... " >&6; }
4395 if ${ac_cv_path_EGREP+:} false; then :
4396 $as_echo_n "(cached) " >&6
4398 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4399 then ac_cv_path_EGREP="$GREP -E"
4401 if test -z "$EGREP"; then
4402 ac_path_EGREP_found=false
4403 # Loop through the user's path and test for each of PROGNAME-LIST
4404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4405 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4408 test -z "$as_dir" && as_dir=.
4409 for ac_prog in egrep; do
4410 for ac_exec_ext in '' $ac_executable_extensions; do
4411 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4412 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4413 # Check for GNU ac_path_EGREP and select it if it is found.
4414 # Check for GNU $ac_path_EGREP
4415 case `"$ac_path_EGREP" --version 2>&1` in
4417 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4420 $as_echo_n 0123456789 >"conftest.in"
4423 cat "conftest.in" "conftest.in" >"conftest.tmp"
4424 mv "conftest.tmp" "conftest.in"
4425 cp "conftest.in" "conftest.nl"
4426 $as_echo 'EGREP' >> "conftest.nl"
4427 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4428 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4429 as_fn_arith $ac_count + 1 && ac_count=$as_val
4430 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4431 # Best one so far, save it but keep looking for a better one
4432 ac_cv_path_EGREP="$ac_path_EGREP"
4433 ac_path_EGREP_max=$ac_count
4435 # 10*(2^10) chars as input seems more than enough
4436 test $ac_count -gt 10 && break
4438 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4441 $ac_path_EGREP_found && break 3
4446 if test -z "$ac_cv_path_EGREP"; then
4447 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4450 ac_cv_path_EGREP=$EGREP
4455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4456 $as_echo "$ac_cv_path_EGREP" >&6; }
4457 EGREP="$ac_cv_path_EGREP"
4460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4461 $as_echo_n "checking for ANSI C header files... " >&6; }
4462 if ${ac_cv_header_stdc+:} false; then :
4463 $as_echo_n "(cached) " >&6
4465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4466 /* end confdefs.h. */
4480 if ac_fn_c_try_compile "$LINENO"; then :
4481 ac_cv_header_stdc=yes
4483 ac_cv_header_stdc=no
4485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4487 if test $ac_cv_header_stdc = yes; then
4488 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4490 /* end confdefs.h. */
4494 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4495 $EGREP "memchr" >/dev/null 2>&1; then :
4498 ac_cv_header_stdc=no
4504 if test $ac_cv_header_stdc = yes; then
4505 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4507 /* end confdefs.h. */
4511 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4512 $EGREP "free" >/dev/null 2>&1; then :
4515 ac_cv_header_stdc=no
4521 if test $ac_cv_header_stdc = yes; then
4522 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4523 if test "$cross_compiling" = yes; then :
4526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4527 /* end confdefs.h. */
4530 #if ((' ' & 0x0FF) == 0x020)
4531 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4532 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4534 # define ISLOWER(c) \
4535 (('a' <= (c) && (c) <= 'i') \
4536 || ('j' <= (c) && (c) <= 'r') \
4537 || ('s' <= (c) && (c) <= 'z'))
4538 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4541 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4546 for (i = 0; i < 256; i++)
4547 if (XOR (islower (i), ISLOWER (i))
4548 || toupper (i) != TOUPPER (i))
4553 if ac_fn_c_try_run "$LINENO"; then :
4556 ac_cv_header_stdc=no
4558 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4559 conftest.$ac_objext conftest.beam conftest.$ac_ext
4564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4565 $as_echo "$ac_cv_header_stdc" >&6; }
4566 if test $ac_cv_header_stdc = yes; then
4568 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4572 for ac_prog in 'bison -y' byacc
4574 # Extract the first word of "$ac_prog", so it can be a program name with args.
4575 set dummy $ac_prog; ac_word=$2
4576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4577 $as_echo_n "checking for $ac_word... " >&6; }
4578 if ${ac_cv_prog_YACC+:} false; then :
4579 $as_echo_n "(cached) " >&6
4581 if test -n "$YACC"; then
4582 ac_cv_prog_YACC="$YACC" # Let the user override the test.
4584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4588 test -z "$as_dir" && as_dir=.
4589 for ac_exec_ext in '' $ac_executable_extensions; do
4590 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4591 ac_cv_prog_YACC="$ac_prog"
4592 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4601 YACC=$ac_cv_prog_YACC
4602 if test -n "$YACC"; then
4603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
4604 $as_echo "$YACC" >&6; }
4606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4607 $as_echo "no" >&6; }
4611 test -n "$YACC" && break
4613 test -n "$YACC" || YACC="yacc"
4615 for ac_prog in flex lex
4617 # Extract the first word of "$ac_prog", so it can be a program name with args.
4618 set dummy $ac_prog; ac_word=$2
4619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4620 $as_echo_n "checking for $ac_word... " >&6; }
4621 if ${ac_cv_prog_LEX+:} false; then :
4622 $as_echo_n "(cached) " >&6
4624 if test -n "$LEX"; then
4625 ac_cv_prog_LEX="$LEX" # Let the user override the test.
4627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4631 test -z "$as_dir" && as_dir=.
4632 for ac_exec_ext in '' $ac_executable_extensions; do
4633 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4634 ac_cv_prog_LEX="$ac_prog"
4635 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4645 if test -n "$LEX"; then
4646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
4647 $as_echo "$LEX" >&6; }
4649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4650 $as_echo "no" >&6; }
4654 test -n "$LEX" && break
4656 test -n "$LEX" || LEX=":"
4658 if test "x$LEX" != "x:"; then
4659 cat >conftest.l <<_ACEOF
4665 e { yyless (input () != 0); }
4666 f { unput (yytext[0]); }
4667 . { BEGIN INITIAL; }
4669 #ifdef YYTEXT_POINTER
4670 extern char *yytext;
4675 return ! yylex () + ! yywrap ();
4678 { { ac_try="$LEX conftest.l"
4680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4681 *) ac_try_echo=$ac_try;;
4683 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4684 $as_echo "$ac_try_echo"; } >&5
4685 (eval "$LEX conftest.l") 2>&5
4687 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4688 test $ac_status = 0; }
4689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
4690 $as_echo_n "checking lex output file root... " >&6; }
4691 if ${ac_cv_prog_lex_root+:} false; then :
4692 $as_echo_n "(cached) " >&6
4695 if test -f lex.yy.c; then
4696 ac_cv_prog_lex_root=lex.yy
4697 elif test -f lexyy.c; then
4698 ac_cv_prog_lex_root=lexyy
4700 as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
4703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
4704 $as_echo "$ac_cv_prog_lex_root" >&6; }
4705 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
4707 if test -z "${LEXLIB+set}"; then
4708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
4709 $as_echo_n "checking lex library... " >&6; }
4710 if ${ac_cv_lib_lex+:} false; then :
4711 $as_echo_n "(cached) " >&6
4715 ac_cv_lib_lex='none needed'
4716 for ac_lib in '' -lfl -ll; do
4717 LIBS="$ac_lib $ac_save_LIBS"
4718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4719 /* end confdefs.h. */
4720 `cat $LEX_OUTPUT_ROOT.c`
4722 if ac_fn_c_try_link "$LINENO"; then :
4723 ac_cv_lib_lex=$ac_lib
4725 rm -f core conftest.err conftest.$ac_objext \
4726 conftest$ac_exeext conftest.$ac_ext
4727 test "$ac_cv_lib_lex" != 'none needed' && break
4732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
4733 $as_echo "$ac_cv_lib_lex" >&6; }
4734 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
4738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
4739 $as_echo_n "checking whether yytext is a pointer... " >&6; }
4740 if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
4741 $as_echo_n "(cached) " >&6
4743 # POSIX says lex can declare yytext either as a pointer or an array; the
4744 # default is implementation-dependent. Figure out which it is, since
4745 # not all implementations provide the %pointer and %array declarations.
4746 ac_cv_prog_lex_yytext_pointer=no
4748 LIBS="$LEXLIB $ac_save_LIBS"
4749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4750 /* end confdefs.h. */
4752 #define YYTEXT_POINTER 1
4753 `cat $LEX_OUTPUT_ROOT.c`
4755 if ac_fn_c_try_link "$LINENO"; then :
4756 ac_cv_prog_lex_yytext_pointer=yes
4758 rm -f core conftest.err conftest.$ac_objext \
4759 conftest$ac_exeext conftest.$ac_ext
4763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
4764 $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
4765 if test $ac_cv_prog_lex_yytext_pointer = yes; then
4767 $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
4770 rm -f conftest.l $LEX_OUTPUT_ROOT.c
4773 if test "$LEX" = :; then
4774 LEX=${am_missing_run}flex
4778 ac_cpp='$CPP $CPPFLAGS'
4779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4783 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4784 # On Suns, sometimes $CPP names a directory.
4785 if test -n "$CPP" && test -d "$CPP"; then
4788 if test -z "$CPP"; then
4789 if ${ac_cv_prog_CPP+:} false; then :
4790 $as_echo_n "(cached) " >&6
4792 # Double quotes because CPP needs to be expanded
4793 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4796 for ac_c_preproc_warn_flag in '' yes
4798 # Use a header file that comes with gcc, so configuring glibc
4799 # with a fresh cross-compiler works.
4800 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4801 # <limits.h> exists even on freestanding compilers.
4802 # On the NeXT, cc -E runs the code through the compiler's parser,
4803 # not just through cpp. "Syntax error" is here to catch this case.
4804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4805 /* end confdefs.h. */
4807 # include <limits.h>
4809 # include <assert.h>
4813 if ac_fn_c_try_cpp "$LINENO"; then :
4816 # Broken: fails on valid input.
4819 rm -f conftest.err conftest.i conftest.$ac_ext
4821 # OK, works on sane cases. Now check whether nonexistent headers
4822 # can be detected and how.
4823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4824 /* end confdefs.h. */
4825 #include <ac_nonexistent.h>
4827 if ac_fn_c_try_cpp "$LINENO"; then :
4828 # Broken: success on invalid input.
4831 # Passes both tests.
4835 rm -f conftest.err conftest.i conftest.$ac_ext
4838 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4839 rm -f conftest.i conftest.err conftest.$ac_ext
4840 if $ac_preproc_ok; then :
4852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4853 $as_echo "$CPP" >&6; }
4855 for ac_c_preproc_warn_flag in '' yes
4857 # Use a header file that comes with gcc, so configuring glibc
4858 # with a fresh cross-compiler works.
4859 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4860 # <limits.h> exists even on freestanding compilers.
4861 # On the NeXT, cc -E runs the code through the compiler's parser,
4862 # not just through cpp. "Syntax error" is here to catch this case.
4863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4864 /* end confdefs.h. */
4866 # include <limits.h>
4868 # include <assert.h>
4872 if ac_fn_c_try_cpp "$LINENO"; then :
4875 # Broken: fails on valid input.
4878 rm -f conftest.err conftest.i conftest.$ac_ext
4880 # OK, works on sane cases. Now check whether nonexistent headers
4881 # can be detected and how.
4882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4883 /* end confdefs.h. */
4884 #include <ac_nonexistent.h>
4886 if ac_fn_c_try_cpp "$LINENO"; then :
4887 # Broken: success on invalid input.
4890 # Passes both tests.
4894 rm -f conftest.err conftest.i conftest.$ac_ext
4897 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4898 rm -f conftest.i conftest.err conftest.$ac_ext
4899 if $ac_preproc_ok; then :
4902 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4903 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4904 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4905 See \`config.log' for more details" "$LINENO" 5; }
4909 ac_cpp='$CPP $CPPFLAGS'
4910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4914 # Extract the first word of "rm", so it can be a program name with args.
4915 set dummy rm; ac_word=$2
4916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4917 $as_echo_n "checking for $ac_word... " >&6; }
4918 if ${ac_cv_path_RM+:} false; then :
4919 $as_echo_n "(cached) " >&6
4923 ac_cv_path_RM="$RM" # Let the user override the test with a path.
4926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4930 test -z "$as_dir" && as_dir=.
4931 for ac_exec_ext in '' $ac_executable_extensions; do
4932 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4933 ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
4934 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4941 test -z "$ac_cv_path_RM" && ac_cv_path_RM="/bin/rm"
4946 if test -n "$RM"; then
4947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
4948 $as_echo "$RM" >&6; }
4950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4951 $as_echo "no" >&6; }
4955 # Extract the first word of "mv", so it can be a program name with args.
4956 set dummy mv; ac_word=$2
4957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4958 $as_echo_n "checking for $ac_word... " >&6; }
4959 if ${ac_cv_path_MV+:} false; then :
4960 $as_echo_n "(cached) " >&6
4964 ac_cv_path_MV="$MV" # Let the user override the test with a path.
4967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4971 test -z "$as_dir" && as_dir=.
4972 for ac_exec_ext in '' $ac_executable_extensions; do
4973 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4974 ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext"
4975 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4982 test -z "$ac_cv_path_MV" && ac_cv_path_MV="/bin/mv"
4987 if test -n "$MV"; then
4988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MV" >&5
4989 $as_echo "$MV" >&6; }
4991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4992 $as_echo "no" >&6; }
4996 # Extract the first word of "tar", so it can be a program name with args.
4997 set dummy tar; ac_word=$2
4998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4999 $as_echo_n "checking for $ac_word... " >&6; }
5000 if ${ac_cv_path_TAR+:} false; then :
5001 $as_echo_n "(cached) " >&6
5005 ac_cv_path_TAR="$TAR" # Let the user override the test with a path.
5008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5012 test -z "$as_dir" && as_dir=.
5013 for ac_exec_ext in '' $ac_executable_extensions; do
5014 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5015 ac_cv_path_TAR="$as_dir/$ac_word$ac_exec_ext"
5016 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5023 test -z "$ac_cv_path_TAR" && ac_cv_path_TAR="/bin/tar"
5028 if test -n "$TAR"; then
5029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TAR" >&5
5030 $as_echo "$TAR" >&6; }
5032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5033 $as_echo "no" >&6; }
5043 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
5044 if test -n "$ac_tool_prefix"; then
5045 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5046 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5048 $as_echo_n "checking for $ac_word... " >&6; }
5049 if ${ac_cv_path_PKG_CONFIG+:} false; then :
5050 $as_echo_n "(cached) " >&6
5054 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
5057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5061 test -z "$as_dir" && as_dir=.
5062 for ac_exec_ext in '' $ac_executable_extensions; do
5063 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5064 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5065 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5075 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
5076 if test -n "$PKG_CONFIG"; then
5077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5078 $as_echo "$PKG_CONFIG" >&6; }
5080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5081 $as_echo "no" >&6; }
5086 if test -z "$ac_cv_path_PKG_CONFIG"; then
5087 ac_pt_PKG_CONFIG=$PKG_CONFIG
5088 # Extract the first word of "pkg-config", so it can be a program name with args.
5089 set dummy pkg-config; ac_word=$2
5090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5091 $as_echo_n "checking for $ac_word... " >&6; }
5092 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
5093 $as_echo_n "(cached) " >&6
5095 case $ac_pt_PKG_CONFIG in
5097 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
5100 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5104 test -z "$as_dir" && as_dir=.
5105 for ac_exec_ext in '' $ac_executable_extensions; do
5106 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5107 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5108 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5118 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
5119 if test -n "$ac_pt_PKG_CONFIG"; then
5120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
5121 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
5123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5124 $as_echo "no" >&6; }
5127 if test "x$ac_pt_PKG_CONFIG" = x; then
5130 case $cross_compiling:$ac_tool_warned in
5132 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5133 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5134 ac_tool_warned=yes ;;
5136 PKG_CONFIG=$ac_pt_PKG_CONFIG
5139 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
5143 if test -n "$PKG_CONFIG"; then
5144 _pkg_min_version=0.9.0
5145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
5146 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
5147 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
5148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5149 $as_echo "yes" >&6; }
5151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5152 $as_echo "no" >&6; }
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
5159 $as_echo_n "checking for GLIB... " >&6; }
5161 if test -n "$GLIB_CFLAGS"; then
5162 pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
5163 elif test -n "$PKG_CONFIG"; then
5164 if test -n "$PKG_CONFIG" && \
5165 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_REQUIRED\""; } >&5
5166 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB_REQUIRED") 2>&5
5168 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5169 test $ac_status = 0; }; then
5170 pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= $GLIB_REQUIRED" 2>/dev/null`
5177 if test -n "$GLIB_LIBS"; then
5178 pkg_cv_GLIB_LIBS="$GLIB_LIBS"
5179 elif test -n "$PKG_CONFIG"; then
5180 if test -n "$PKG_CONFIG" && \
5181 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_REQUIRED\""; } >&5
5182 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB_REQUIRED") 2>&5
5184 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5185 test $ac_status = 0; }; then
5186 pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= $GLIB_REQUIRED" 2>/dev/null`
5196 if test $pkg_failed = yes; then
5197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5198 $as_echo "no" >&6; }
5200 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5201 _pkg_short_errors_supported=yes
5203 _pkg_short_errors_supported=no
5205 if test $_pkg_short_errors_supported = yes; then
5206 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0 >= $GLIB_REQUIRED" 2>&1`
5208 GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0 >= $GLIB_REQUIRED" 2>&1`
5210 # Put the nasty error message in config.log where it belongs
5211 echo "$GLIB_PKG_ERRORS" >&5
5213 as_fn_error $? "Package requirements (glib-2.0 >= $GLIB_REQUIRED) were not met:
5217 Consider adjusting the PKG_CONFIG_PATH environment variable if you
5218 installed software in a non-standard prefix.
5220 Alternatively, you may set the environment variables GLIB_CFLAGS
5221 and GLIB_LIBS to avoid the need to call pkg-config.
5222 See the pkg-config man page for more details." "$LINENO" 5
5224 elif test $pkg_failed = untried; then
5225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5226 $as_echo "no" >&6; }
5227 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5228 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5229 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
5230 is in your PATH or set the PKG_CONFIG environment variable to the full
5233 Alternatively, you may set the environment variables GLIB_CFLAGS
5234 and GLIB_LIBS to avoid the need to call pkg-config.
5235 See the pkg-config man page for more details.
5237 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
5238 See \`config.log' for more details" "$LINENO" 5; }
5241 GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
5242 GLIB_LIBS=$pkg_cv_GLIB_LIBS
5243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5244 $as_echo "yes" >&6; }
5257 ac_config_files="$ac_config_files gob2.spec Makefile src/Makefile doc/Makefile examples/Makefile doc/gob2.1"
5259 cat >confcache <<\_ACEOF
5260 # This file is a shell script that caches the results of configure
5261 # tests run on this system so they can be shared between configure
5262 # scripts and configure runs, see configure's option --config-cache.
5263 # It is not useful on other systems. If it contains results you don't
5264 # want to keep, you may remove or edit it.
5266 # config.status only pays attention to the cache file if you give it
5267 # the --recheck option to rerun configure.
5269 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5270 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5275 # The following way of writing the cache mishandles newlines in values,
5276 # but we know of no workaround that is simple, portable, and efficient.
5277 # So, we kill variables containing newlines.
5278 # Ultrix sh set writes to stderr and can't be redirected directly,
5279 # and sets the high bit in the cache file unless we assign to the vars.
5281 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5282 eval ac_val=\$$ac_var
5286 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5287 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5290 _ | IFS | as_nl) ;; #(
5291 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5292 *) { eval $ac_var=; unset $ac_var;} ;;
5298 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5299 *${as_nl}ac_space=\ *)
5300 # `set' does not quote correctly, so add quotes: double-quote
5301 # substitution turns \\\\ into \\, and sed turns \\ into \.
5304 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5307 # `set' quotes correctly as required by POSIX, so do not add quotes.
5308 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5317 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5319 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5321 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5322 if test -w "$cache_file"; then
5323 if test "x$cache_file" != "x/dev/null"; then
5324 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5325 $as_echo "$as_me: updating cache $cache_file" >&6;}
5326 if test ! -f "$cache_file" || test -h "$cache_file"; then
5327 cat confcache >"$cache_file"
5329 case $cache_file in #(
5331 mv -f confcache "$cache_file"$$ &&
5332 mv -f "$cache_file"$$ "$cache_file" ;; #(
5334 mv -f confcache "$cache_file" ;;
5339 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5340 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5345 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5346 # Let make expand exec_prefix.
5347 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5349 DEFS=-DHAVE_CONFIG_H
5354 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5355 # 1. Remove the extension, and $U if already installed.
5356 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5357 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5358 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5359 # will be set to the directory where LIBOBJS objects are built.
5360 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5361 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5365 LTLIBOBJS=$ac_ltlibobjs
5368 if test -n "$EXEEXT"; then
5370 am__EXEEXT_FALSE='#'
5376 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
5377 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
5378 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5380 if test -z "${NOINSTGOB_TRUE}" && test -z "${NOINSTGOB_FALSE}"; then
5381 as_fn_error $? "conditional \"NOINSTGOB\" was never defined.
5382 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5384 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5385 as_fn_error $? "conditional \"AMDEP\" was never defined.
5386 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5388 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5389 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
5390 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5392 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5393 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
5394 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5397 : "${CONFIG_STATUS=./config.status}"
5399 ac_clean_files_save=$ac_clean_files
5400 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5401 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5402 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5404 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5406 # Generated by $as_me.
5407 # Run this file to recreate the current configuration.
5408 # Compiler output produced by configure, useful for debugging
5409 # configure, is in config.log if it exists.
5415 SHELL=\${CONFIG_SHELL-$SHELL}
5418 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5419 ## -------------------- ##
5420 ## M4sh Initialization. ##
5421 ## -------------------- ##
5423 # Be more Bourne compatible
5424 DUALCASE=1; export DUALCASE # for MKS sh
5425 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
5428 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5429 # is contrary to our usage. Disable this feature.
5430 alias -g '${1+"$@"}'='"$@"'
5431 setopt NO_GLOB_SUBST
5433 case `(set -o) 2>/dev/null` in #(
5445 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5446 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5447 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5448 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5449 # Prefer a ksh shell builtin over an external printf program on Solaris,
5450 # but without wasting forks for bash or zsh.
5451 if test -z "$BASH_VERSION$ZSH_VERSION" \
5452 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5453 as_echo='print -r --'
5454 as_echo_n='print -rn --'
5455 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5456 as_echo='printf %s\n'
5457 as_echo_n='printf %s'
5459 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5460 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5461 as_echo_n='/usr/ucb/echo -n'
5463 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5464 as_echo_n_body='eval
5468 expr "X$arg" : "X\\(.*\\)$as_nl";
5469 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5471 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5473 export as_echo_n_body
5474 as_echo_n='sh -c $as_echo_n_body as_echo'
5477 as_echo='sh -c $as_echo_body as_echo'
5480 # The user is always right.
5481 if test "${PATH_SEPARATOR+set}" != set; then
5483 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5484 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5491 # We need space, tab and new line, in precisely that order. Quoting is
5492 # there to prevent editors from complaining about space-tab.
5493 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5494 # splitting by setting IFS to empty value.)
5497 # Find who we are. Look in the path if we contain no directory separator.
5500 *[\\/]* ) as_myself=$0 ;;
5501 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5505 test -z "$as_dir" && as_dir=.
5506 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5512 # We did not find ourselves, most probably we were run as `sh COMMAND'
5513 # in which case we are not to be found in the path.
5514 if test "x$as_myself" = x; then
5517 if test ! -f "$as_myself"; then
5518 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5522 # Unset variables that we do not need and which cause bugs (e.g. in
5523 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5524 # suppresses any "Segmentation fault" message there. '((' could
5525 # trigger a bug in pdksh 5.2.14.
5526 for as_var in BASH_ENV ENV MAIL MAILPATH
5527 do eval test x\${$as_var+set} = xset \
5528 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5541 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5544 # as_fn_error STATUS ERROR [LINENO LOG_FD]
5545 # ----------------------------------------
5546 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5547 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5548 # script with STATUS, using 1 if that was 0.
5551 as_status=$1; test $as_status -eq 0 && as_status=1
5553 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5554 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5556 $as_echo "$as_me: error: $2" >&2
5557 as_fn_exit $as_status
5561 # as_fn_set_status STATUS
5562 # -----------------------
5563 # Set $? to STATUS, without forking.
5567 } # as_fn_set_status
5571 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5581 # Portably unset VAR.
5584 { eval $1=; unset $1;}
5586 as_unset=as_fn_unset
5587 # as_fn_append VAR VALUE
5588 # ----------------------
5589 # Append the text in VALUE to the end of the definition contained in VAR. Take
5590 # advantage of any shell optimizations that allow amortized linear growth over
5591 # repeated appends, instead of the typical quadratic growth present in naive
5593 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5594 eval 'as_fn_append ()
5605 # as_fn_arith ARG...
5606 # ------------------
5607 # Perform arithmetic evaluation on the ARGs, and store the result in the
5608 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5609 # must be portable across $(()) and expr.
5610 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5611 eval 'as_fn_arith ()
5618 as_val=`expr "$@" || test $? -eq 1`
5623 if expr a : '\(a\)' >/dev/null 2>&1 &&
5624 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5630 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5631 as_basename=basename
5636 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5642 as_me=`$as_basename -- "$0" ||
5643 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5644 X"$0" : 'X\(//\)$' \| \
5645 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5647 sed '/^.*\/\([^/][^/]*\)\/*$/{
5661 # Avoid depending upon Character Ranges.
5662 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5663 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5664 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5665 as_cr_digits='0123456789'
5666 as_cr_alnum=$as_cr_Letters$as_cr_digits
5668 ECHO_C= ECHO_N= ECHO_T=
5669 case `echo -n x` in #(((((
5671 case `echo 'xy\c'` in
5672 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5674 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
5681 rm -f conf$$ conf$$.exe conf$$.file
5682 if test -d conf$$.dir; then
5683 rm -f conf$$.dir/conf$$.file
5686 mkdir conf$$.dir 2>/dev/null
5688 if (echo >conf$$.file) 2>/dev/null; then
5689 if ln -s conf$$.file conf$$ 2>/dev/null; then
5691 # ... but there are two gotchas:
5692 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5693 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5694 # In both cases, we have to default to `cp -p'.
5695 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5697 elif ln conf$$.file conf$$ 2>/dev/null; then
5705 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5706 rmdir conf$$.dir 2>/dev/null
5711 # Create "$as_dir" as a directory, including parents if necessary.
5716 -*) as_dir=./$as_dir;;
5718 test -d "$as_dir" || eval $as_mkdir_p || {
5722 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5723 *) as_qdir=$as_dir;;
5725 as_dirs="'$as_qdir' $as_dirs"
5726 as_dir=`$as_dirname -- "$as_dir" ||
5727 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5728 X"$as_dir" : 'X\(//\)[^/]' \| \
5729 X"$as_dir" : 'X\(//\)$' \| \
5730 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5731 $as_echo X"$as_dir" |
5732 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5749 test -d "$as_dir" && break
5751 test -z "$as_dirs" || eval "mkdir $as_dirs"
5752 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5756 if mkdir -p . 2>/dev/null; then
5757 as_mkdir_p='mkdir -p "$as_dir"'
5759 test -d ./-p && rmdir ./-p
5763 if test -x / >/dev/null 2>&1; then
5766 if ls -dL / >/dev/null 2>&1; then
5773 if test -d "$1"; then
5779 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
5780 ???[sx]*):;;*)false;;esac;fi
5784 as_executable_p=$as_test_x
5786 # Sed expression to map a string onto a valid CPP name.
5787 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5789 # Sed expression to map a string onto a valid variable name.
5790 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5794 ## ----------------------------------- ##
5795 ## Main body of $CONFIG_STATUS script. ##
5796 ## ----------------------------------- ##
5798 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5800 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5801 # Save the log message, to keep $0 and so on meaningful, and to
5802 # report actual input values of CONFIG_FILES etc. instead of their
5803 # values after options handling.
5805 This file was extended by gob2 $as_me 2.0.19, which was
5806 generated by GNU Autoconf 2.68. Invocation command line was
5808 CONFIG_FILES = $CONFIG_FILES
5809 CONFIG_HEADERS = $CONFIG_HEADERS
5810 CONFIG_LINKS = $CONFIG_LINKS
5811 CONFIG_COMMANDS = $CONFIG_COMMANDS
5814 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5819 case $ac_config_files in *"
5820 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5823 case $ac_config_headers in *"
5824 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
5828 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5829 # Files that config.status was made for.
5830 config_files="$ac_config_files"
5831 config_headers="$ac_config_headers"
5832 config_commands="$ac_config_commands"
5836 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5838 \`$as_me' instantiates files and other configuration actions
5839 from templates according to the current configuration. Unless the files
5840 and actions are specified as TAGs, all are instantiated by default.
5842 Usage: $0 [OPTION]... [TAG]...
5844 -h, --help print this help, then exit
5845 -V, --version print version number and configuration settings, then exit
5846 --config print configuration, then exit
5847 -q, --quiet, --silent
5848 do not print progress messages
5849 -d, --debug don't remove temporary files
5850 --recheck update $as_me by reconfiguring in the same conditions
5851 --file=FILE[:TEMPLATE]
5852 instantiate the configuration file FILE
5853 --header=FILE[:TEMPLATE]
5854 instantiate the configuration header FILE
5856 Configuration files:
5859 Configuration headers:
5862 Configuration commands:
5865 Report bugs to the package provider."
5868 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5869 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5871 gob2 config.status 2.0.19
5872 configured by $0, generated by GNU Autoconf 2.68,
5873 with options \\"\$ac_cs_config\\"
5875 Copyright (C) 2010 Free Software Foundation, Inc.
5876 This config.status script is free software; the Free Software Foundation
5877 gives unlimited permission to copy, distribute and modify it."
5884 test -n "\$AWK" || AWK=awk
5887 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5888 # The default lists apply if the user does not specify any file.
5894 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5895 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5899 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5911 # Handling of the options.
5912 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5914 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5915 $as_echo "$ac_cs_version"; exit ;;
5916 --config | --confi | --conf | --con | --co | --c )
5917 $as_echo "$ac_cs_config"; exit ;;
5918 --debug | --debu | --deb | --de | --d | -d )
5920 --file | --fil | --fi | --f )
5923 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5924 '') as_fn_error $? "missing file argument" ;;
5926 as_fn_append CONFIG_FILES " '$ac_optarg'"
5927 ac_need_defaults=false;;
5928 --header | --heade | --head | --hea )
5931 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5933 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
5934 ac_need_defaults=false;;
5936 # Conflict between --help and --header
5937 as_fn_error $? "ambiguous option: \`$1'
5938 Try \`$0 --help' for more information.";;
5939 --help | --hel | -h )
5940 $as_echo "$ac_cs_usage"; exit ;;
5941 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5942 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5946 -*) as_fn_error $? "unrecognized option: \`$1'
5947 Try \`$0 --help' for more information." ;;
5949 *) as_fn_append ac_config_targets " $1"
5950 ac_need_defaults=false ;;
5956 ac_configure_extra_args=
5958 if $ac_cs_silent; then
5960 ac_configure_extra_args="$ac_configure_extra_args --silent"
5964 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5965 if \$ac_cs_recheck; then
5966 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5968 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5969 CONFIG_SHELL='$SHELL'
5975 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5979 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5980 ## Running $as_me. ##
5986 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5990 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5994 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5996 # Handling of arguments.
5997 for ac_config_target in $ac_config_targets
5999 case $ac_config_target in
6000 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
6001 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
6002 "gob2.spec") CONFIG_FILES="$CONFIG_FILES gob2.spec" ;;
6003 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6004 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
6005 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
6006 "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
6007 "doc/gob2.1") CONFIG_FILES="$CONFIG_FILES doc/gob2.1" ;;
6009 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
6014 # If the user did not use the arguments to specify the items to instantiate,
6015 # then the envvar interface is used. Set only those that are not.
6016 # We use the long form for the default assignment because of an extremely
6017 # bizarre bug on SunOS 4.1.3.
6018 if $ac_need_defaults; then
6019 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6020 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
6021 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
6024 # Have a temporary directory for convenience. Make it in the build tree
6025 # simply because there is no reason against having it here, and in addition,
6026 # creating and moving files from /tmp can sometimes cause problems.
6027 # Hook for its removal unless debugging.
6028 # Note that there is a small window in which the directory will not be cleaned:
6029 # after its creation but before its name has been assigned to `$tmp'.
6033 trap 'exit_status=$?
6035 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
6037 trap 'as_fn_exit 1' 1 2 13 15
6039 # Create a (secure) tmp directory for tmp files.
6042 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6046 tmp=./conf$$-$RANDOM
6047 (umask 077 && mkdir "$tmp")
6048 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
6051 # Set up the scripts for CONFIG_FILES section.
6052 # No need to generate them if there are no CONFIG_FILES.
6053 # This happens for instance with `./config.status config.h'.
6054 if test -n "$CONFIG_FILES"; then
6057 ac_cr=`echo X | tr X '\015'`
6058 # On cygwin, bash can eat \r inside `` if the user requested igncr.
6059 # But we know of no other shell where ac_cr would be empty at this
6060 # point, so we can use a bashism as a fallback.
6061 if test "x$ac_cr" = x; then
6062 eval ac_cr=\$\'\\r\'
6064 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6065 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6071 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
6076 echo "cat >conf$$subs.awk <<_ACEOF" &&
6077 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6080 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6081 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
6083 for ac_last_try in false false false false false :; do
6084 . ./conf$$subs.sh ||
6085 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6087 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
6088 if test $ac_delim_n = $ac_delim_num; then
6090 elif $ac_last_try; then
6091 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6093 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6098 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6099 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
6103 s/^/S["/; s/!.*/"]=/
6113 s/\(.\{148\}\)..*/\1/
6115 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6120 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6127 s/\(.\{148\}\)..*/\1/
6129 s/["\\]/\\&/g; s/^/"/; s/$/"/
6133 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6138 ' <conf$$subs.awk | sed '
6143 ' >>$CONFIG_STATUS || ac_write_fail=1
6144 rm -f conf$$subs.awk
6145 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6147 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
6148 for (key in S) S_is_set[key] = 1
6154 nfields = split(line, field, "@")
6156 len = length(field[1])
6157 for (i = 2; i < nfields; i++) {
6159 keylen = length(key)
6160 if (S_is_set[key]) {
6162 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6163 len += length(value) + length(field[++i])
6174 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6175 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6176 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6179 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
6180 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
6183 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
6184 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
6185 # trailing colons and then remove the whole line if VPATH becomes empty
6186 # (actually we leave an empty line to preserve line numbers).
6187 if test "x$srcdir" = x.; then
6188 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
6206 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6207 fi # test -n "$CONFIG_FILES"
6209 # Set up the scripts for CONFIG_HEADERS section.
6210 # No need to generate them if there are no CONFIG_HEADERS.
6211 # This happens for instance with `./config.status Makefile'.
6212 if test -n "$CONFIG_HEADERS"; then
6213 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
6217 # Transform confdefs.h into an awk script `defines.awk', embedded as
6218 # here-document in config.status, that substitutes the proper values into
6219 # config.h.in to produce config.h.
6221 # Create a delimiter string that does not exist in confdefs.h, to ease
6222 # handling of long lines.
6224 for ac_last_try in false false :; do
6225 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
6226 if test -z "$ac_tt"; then
6228 elif $ac_last_try; then
6229 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
6231 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6235 # For the awk script, D is an array of macro values keyed by name,
6236 # likewise P contains macro parameters if any. Preserve backslash
6237 # newline sequences.
6239 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6241 s/.\{148\}/&'"$ac_delim"'/g
6244 s/^[ ]*#[ ]*define[ ][ ]*/ /
6251 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6253 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
6257 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6258 D["\1"]=" \3\\\\\\n"\\/p
6260 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
6265 s/.\{148\}/&'"$ac_delim"'/g
6270 s/["\\]/\\&/g; s/^/"/; s/$/"/p
6273 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
6275 ' <confdefs.h | sed '
6276 s/'"$ac_delim"'/"\\\
6277 "/g' >>$CONFIG_STATUS || ac_write_fail=1
6279 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6280 for (key in D) D_is_set[key] = 1
6283 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6285 split(line, arg, " ")
6286 if (arg[1] == "#") {
6290 defundef = substr(arg[1], 2)
6293 split(mac1, mac2, "(") #)
6295 prefix = substr(line, 1, index(line, defundef) - 1)
6296 if (D_is_set[macro]) {
6297 # Preserve the white space surrounding the "#".
6298 print prefix "define", macro P[macro] D[macro]
6301 # Replace #undef with comments. This is necessary, for example,
6302 # in the case of _POSIX_SOURCE, which is predefined and required
6303 # on some systems where configure will not decide to define it.
6304 if (defundef == "undef") {
6305 print "/*", prefix defundef, macro, "*/"
6313 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6314 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
6315 fi # test -n "$CONFIG_HEADERS"
6318 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
6323 :[FHLC]) ac_mode=$ac_tag; continue;;
6325 case $ac_mode$ac_tag in
6327 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
6328 :[FH]-) ac_tag=-:-;;
6329 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6346 -) ac_f="$ac_tmp/stdin";;
6347 *) # Look for the file first in the build tree, then in the source tree
6348 # (if the path is not absolute). The absolute path cannot be DOS-style,
6349 # because $ac_f cannot contain `:'.
6353 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6355 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6357 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6358 as_fn_append ac_file_inputs " '$ac_f'"
6361 # Let's still pretend it is `configure' which instantiates (i.e., don't
6362 # use $as_me), people would be surprised to read:
6363 # /* config.h. Generated by config.status. */
6364 configure_input='Generated from '`
6365 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6367 if test x"$ac_file" != x-; then
6368 configure_input="$ac_file. $configure_input"
6369 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6370 $as_echo "$as_me: creating $ac_file" >&6;}
6372 # Neutralize special characters interpreted by sed in replacement strings.
6373 case $configure_input in #(
6374 *\&* | *\|* | *\\* )
6375 ac_sed_conf_input=`$as_echo "$configure_input" |
6376 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6377 *) ac_sed_conf_input=$configure_input;;
6381 *:-:* | *:-) cat >"$ac_tmp/stdin" \
6382 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
6387 ac_dir=`$as_dirname -- "$ac_file" ||
6388 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6389 X"$ac_file" : 'X\(//\)[^/]' \| \
6390 X"$ac_file" : 'X\(//\)$' \| \
6391 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6392 $as_echo X"$ac_file" |
6393 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6410 as_dir="$ac_dir"; as_fn_mkdir_p
6414 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6416 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6417 # A ".." for each directory in $ac_dir_suffix.
6418 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6419 case $ac_top_builddir_sub in
6420 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6421 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6424 ac_abs_top_builddir=$ac_pwd
6425 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6426 # for backward compatibility:
6427 ac_top_builddir=$ac_top_build_prefix
6430 .) # We are building in place.
6432 ac_top_srcdir=$ac_top_builddir_sub
6433 ac_abs_top_srcdir=$ac_pwd ;;
6434 [\\/]* | ?:[\\/]* ) # Absolute name.
6435 ac_srcdir=$srcdir$ac_dir_suffix;
6436 ac_top_srcdir=$srcdir
6437 ac_abs_top_srcdir=$srcdir ;;
6439 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6440 ac_top_srcdir=$ac_top_build_prefix$srcdir
6441 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6443 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6453 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6454 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6458 [\\/$]* | ?:[\\/]* ) ;;
6459 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
6463 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6464 # If the template does not know about datarootdir, expand it.
6465 # FIXME: This hack should be removed a few years after 2.60.
6466 ac_datarootdir_hack=; ac_datarootdir_seen=
6477 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6478 *datarootdir*) ac_datarootdir_seen=yes;;
6479 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6480 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6481 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6483 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6484 ac_datarootdir_hack='
6485 s&@datadir@&$datadir&g
6486 s&@docdir@&$docdir&g
6487 s&@infodir@&$infodir&g
6488 s&@localedir@&$localedir&g
6489 s&@mandir@&$mandir&g
6490 s&\\\${datarootdir}&$datarootdir&g' ;;
6494 # Neutralize VPATH when `$srcdir' = `.'.
6495 # Shell code in configure.ac might set extrasub.
6496 # FIXME: do we really want to maintain this feature?
6497 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6498 ac_sed_extra="$ac_vpsub
6501 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6503 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6504 s|@configure_input@|$ac_sed_conf_input|;t t
6505 s&@top_builddir@&$ac_top_builddir_sub&;t t
6506 s&@top_build_prefix@&$ac_top_build_prefix&;t t
6507 s&@srcdir@&$ac_srcdir&;t t
6508 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6509 s&@top_srcdir@&$ac_top_srcdir&;t t
6510 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6511 s&@builddir@&$ac_builddir&;t t
6512 s&@abs_builddir@&$ac_abs_builddir&;t t
6513 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6514 s&@INSTALL@&$ac_INSTALL&;t t
6515 s&@MKDIR_P@&$ac_MKDIR_P&;t t
6516 $ac_datarootdir_hack
6518 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
6519 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6521 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6522 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
6523 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
6524 "$ac_tmp/out"`; test -z "$ac_out"; } &&
6525 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6526 which seems to be undefined. Please make sure it is defined" >&5
6527 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6528 which seems to be undefined. Please make sure it is defined" >&2;}
6530 rm -f "$ac_tmp/stdin"
6532 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6533 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6535 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6541 if test x"$ac_file" != x-; then
6543 $as_echo "/* $configure_input */" \
6544 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
6545 } >"$ac_tmp/config.h" \
6546 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6547 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
6548 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6549 $as_echo "$as_me: $ac_file is unchanged" >&6;}
6552 mv "$ac_tmp/config.h" "$ac_file" \
6553 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6556 $as_echo "/* $configure_input */" \
6557 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
6558 || as_fn_error $? "could not create -" "$LINENO" 5
6560 # Compute "$ac_file"'s index in $config_headers.
6563 for _am_header in $config_headers :; do
6565 $_am_arg | $_am_arg:* )
6568 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
6571 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
6572 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6573 X"$_am_arg" : 'X\(//\)[^/]' \| \
6574 X"$_am_arg" : 'X\(//\)$' \| \
6575 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
6576 $as_echo X"$_am_arg" |
6577 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6593 s/.*/./; q'`/stamp-h$_am_stamp_count
6596 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6597 $as_echo "$as_me: executing $ac_file commands" >&6;}
6602 case $ac_file$ac_mode in
6603 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
6604 # Autoconf 2.62 quotes --file arguments for eval, but not when files
6605 # are listed without --file. Let's play safe and only enable the eval
6606 # if we detect the quoting.
6607 case $CONFIG_FILES in
6608 *\'*) eval set x "$CONFIG_FILES" ;;
6609 *) set x $CONFIG_FILES ;;
6614 # Strip MF so we end up with the name of the file.
6615 mf=`echo "$mf" | sed -e 's/:.*$//'`
6616 # Check whether this is an Automake generated Makefile or not.
6617 # We used to match only the files named `Makefile.in', but
6618 # some people rename them; so instead we look at the file content.
6619 # Grep'ing the first line is not enough: some people post-process
6620 # each Makefile.in and add a new line on top of each file to say so.
6621 # Grep'ing the whole file is not good either: AIX grep has a line
6622 # limit of 2048, but all sed's we know have understand at least 4000.
6623 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
6624 dirpart=`$as_dirname -- "$mf" ||
6625 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6626 X"$mf" : 'X\(//\)[^/]' \| \
6627 X"$mf" : 'X\(//\)$' \| \
6628 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6630 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6650 # Extract the definition of DEPDIR, am__include, and am__quote
6651 # from the Makefile without running `make'.
6652 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6653 test -z "$DEPDIR" && continue
6654 am__include=`sed -n 's/^am__include = //p' < "$mf"`
6655 test -z "am__include" && continue
6656 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6657 # When using ansi2knr, U may be empty or an underscore; expand it
6658 U=`sed -n 's/^U = //p' < "$mf"`
6659 # Find all dependency output files, they are included files with
6660 # $(DEPDIR) in their names. We invoke sed twice because it is the
6661 # simplest approach to changing $(DEPDIR) to its actual value in the
6663 for file in `sed -n "
6664 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6665 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6666 # Make sure the directory exists.
6667 test -f "$dirpart/$file" && continue
6668 fdir=`$as_dirname -- "$file" ||
6669 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6670 X"$file" : 'X\(//\)[^/]' \| \
6671 X"$file" : 'X\(//\)$' \| \
6672 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6674 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6691 as_dir=$dirpart/$fdir; as_fn_mkdir_p
6692 # echo "creating $dirpart/$file"
6693 echo '# dummy' > "$dirpart/$file"
6705 ac_clean_files=$ac_clean_files_save
6707 test $ac_write_fail = 0 ||
6708 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6711 # configure is writing to config.log, and then calls config.status.
6712 # config.status does its own redirection, appending to config.log.
6713 # Unfortunately, on DOS this fails, as config.log is still kept open
6714 # by configure, so config.status won't be able to write to it; its
6715 # output is simply discarded. So we exec the FD to /dev/null,
6716 # effectively closing config.log, so it can be properly (re)opened and
6717 # appended to by config.status. When coming back to configure, we
6718 # need to make the FD available again.
6719 if test "$no_create" != yes; then
6721 ac_config_status_args=
6722 test "$silent" = yes &&
6723 ac_config_status_args="$ac_config_status_args --quiet"
6725 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6727 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6728 # would make configure fail if this is the last instruction.
6729 $ac_cs_success || as_fn_exit 1
6731 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6732 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6733 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}