2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for gob2 2.0.20.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66 as_echo_n='sh -c $as_echo_n_body as_echo'
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x; then
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\${$as_var+set} = xset \
120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138 _as_can_reexec=no; export _as_can_reexec;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
147 *v*x* | *x*v* ) as_opts=-vx ;;
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec=; unset _as_can_reexec;}
160 if test "x$CONFIG_SHELL" = x; then
161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 case \`(set -o) 2>/dev/null\` in #(
177 as_required="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199 test \$(( 1 + 1 )) = 2 || exit 1"
200 if (eval "$as_required") 2>/dev/null; then :
205 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
210 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
213 test -z "$as_dir" && as_dir=.
217 for as_base in sh bash ksh sh5; do
218 # Try only shells that exist, to save several forks.
219 as_shell=$as_dir/$as_base
220 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
221 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
222 CONFIG_SHELL=$as_shell as_have_required=yes
223 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
231 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
232 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
233 CONFIG_SHELL=$SHELL as_have_required=yes
238 if test "x$CONFIG_SHELL" != x; then :
240 # We cannot yet assume a decent shell, so we have to provide a
241 # neutralization value for shells without unset; and this also
242 # works around shells that cannot unset nonexistent variables.
243 # Preserve -v and -x to the replacement shell.
246 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
248 *v*x* | *x*v* ) as_opts=-vx ;;
253 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
254 # Admittedly, this is quite paranoid, since all the known shells bail
255 # out after a failed `exec'.
256 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
260 if test x$as_have_required = xno; then :
261 $as_echo "$0: This script requires a shell more modern than all"
262 $as_echo "$0: the shells that I found on your system."
263 if test x${ZSH_VERSION+set} = xset ; then
264 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
265 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
267 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
268 $0: including any error possibly output before this
269 $0: message. Then install a modern shell, or manually run
270 $0: the script under such a shell if you do have one."
276 SHELL=${CONFIG_SHELL-/bin/sh}
278 # Unset more variables known to interfere with behavior of common tools.
279 CLICOLOR_FORCE= GREP_OPTIONS=
280 unset CLICOLOR_FORCE GREP_OPTIONS
282 ## --------------------- ##
283 ## M4sh Shell Functions. ##
284 ## --------------------- ##
287 # Portably unset VAR.
290 { eval $1=; unset $1;}
294 # as_fn_set_status STATUS
295 # -----------------------
296 # Set $? to STATUS, without forking.
304 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
314 # Create "$as_dir" as a directory, including parents if necessary.
319 -*) as_dir=./$as_dir;;
321 test -d "$as_dir" || eval $as_mkdir_p || {
325 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
328 as_dirs="'$as_qdir' $as_dirs"
329 as_dir=`$as_dirname -- "$as_dir" ||
330 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
331 X"$as_dir" : 'X\(//\)[^/]' \| \
332 X"$as_dir" : 'X\(//\)$' \| \
333 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
334 $as_echo X"$as_dir" |
335 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
352 test -d "$as_dir" && break
354 test -z "$as_dirs" || eval "mkdir $as_dirs"
355 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
360 # as_fn_executable_p FILE
361 # -----------------------
362 # Test if FILE is an executable regular file.
363 as_fn_executable_p ()
365 test -f "$1" && test -x "$1"
366 } # as_fn_executable_p
367 # as_fn_append VAR VALUE
368 # ----------------------
369 # Append the text in VALUE to the end of the definition contained in VAR. Take
370 # advantage of any shell optimizations that allow amortized linear growth over
371 # repeated appends, instead of the typical quadratic growth present in naive
373 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
374 eval 'as_fn_append ()
387 # Perform arithmetic evaluation on the ARGs, and store the result in the
388 # global $as_val. Take advantage of shells that can avoid forks. The arguments
389 # must be portable across $(()) and expr.
390 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
398 as_val=`expr "$@" || test $? -eq 1`
403 # as_fn_error STATUS ERROR [LINENO LOG_FD]
404 # ----------------------------------------
405 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
406 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
407 # script with STATUS, using 1 if that was 0.
410 as_status=$1; test $as_status -eq 0 && as_status=1
412 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
413 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
415 $as_echo "$as_me: error: $2" >&2
416 as_fn_exit $as_status
419 if expr a : '\(a\)' >/dev/null 2>&1 &&
420 test "X`expr 00001 : '.*\(...\)'`" = X001; then
426 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
432 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
438 as_me=`$as_basename -- "$0" ||
439 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
440 X"$0" : 'X\(//\)$' \| \
441 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
443 sed '/^.*\/\([^/][^/]*\)\/*$/{
457 # Avoid depending upon Character Ranges.
458 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
459 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
460 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
461 as_cr_digits='0123456789'
462 as_cr_alnum=$as_cr_Letters$as_cr_digits
465 as_lineno_1=$LINENO as_lineno_1a=$LINENO
466 as_lineno_2=$LINENO as_lineno_2a=$LINENO
467 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
468 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
469 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
481 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 chmod +x "$as_me.lineno" ||
486 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
488 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
489 # already done that, so ensure we don't try to do so again and fall
490 # in an infinite loop. This has already happened in practice.
491 _as_can_reexec=no; export _as_can_reexec
492 # Don't try to exec as it changes $[0], causing all sort of problems
493 # (the dirname of $[0] is not the place where we might find the
494 # original and so on. Autoconf is especially sensitive to this).
496 # Exit status is that of the last command.
500 ECHO_C= ECHO_N= ECHO_T=
501 case `echo -n x` in #(((((
503 case `echo 'xy\c'` in
504 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
506 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
513 rm -f conf$$ conf$$.exe conf$$.file
514 if test -d conf$$.dir; then
515 rm -f conf$$.dir/conf$$.file
518 mkdir conf$$.dir 2>/dev/null
520 if (echo >conf$$.file) 2>/dev/null; then
521 if ln -s conf$$.file conf$$ 2>/dev/null; then
523 # ... but there are two gotchas:
524 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
525 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
526 # In both cases, we have to default to `cp -pR'.
527 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
529 elif ln conf$$.file conf$$ 2>/dev/null; then
537 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
538 rmdir conf$$.dir 2>/dev/null
540 if mkdir -p . 2>/dev/null; then
541 as_mkdir_p='mkdir -p "$as_dir"'
543 test -d ./-p && rmdir ./-p
548 as_executable_p=as_fn_executable_p
550 # Sed expression to map a string onto a valid CPP name.
551 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
553 # Sed expression to map a string onto a valid variable name.
554 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
557 test -n "$DJDIR" || exec 7<&0 </dev/null
561 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
562 # so uname gets run too.
563 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
568 ac_default_prefix=/usr/local
570 ac_config_libobj_dir=.
577 # Identity of this package.
579 PACKAGE_TARNAME='gob2'
580 PACKAGE_VERSION='2.0.20'
581 PACKAGE_STRING='gob2 2.0.20'
585 ac_unique_file="src/treefuncs.h"
586 ac_subst_vars='am__EXEEXT_FALSE
627 MAINTAINER_MODE_FALSE
641 INSTALL_STRIP_PROGRAM
683 program_transform_name
696 enable_option_checking
698 enable_maintainer_mode
699 enable_dependency_tracking
701 ac_precious_vars='build_alias
719 # Initialize some variables set by options.
721 ac_init_version=false
722 ac_unrecognized_opts=
724 # The variables have the same names as the options, with
725 # dashes changed to underlines.
733 program_transform_name=s,x,x,
741 # Installation directory options.
742 # These are left unexpanded so users can "make install exec_prefix=/foo"
743 # and all the variables that are supposed to be based on exec_prefix
744 # by default will actually change.
745 # Use braces instead of parens because sh, perl, etc. also accept them.
746 # (The list follows the same order as the GNU Coding Standards.)
747 bindir='${exec_prefix}/bin'
748 sbindir='${exec_prefix}/sbin'
749 libexecdir='${exec_prefix}/libexec'
750 datarootdir='${prefix}/share'
751 datadir='${datarootdir}'
752 sysconfdir='${prefix}/etc'
753 sharedstatedir='${prefix}/com'
754 localstatedir='${prefix}/var'
755 includedir='${prefix}/include'
756 oldincludedir='/usr/include'
757 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
758 infodir='${datarootdir}/info'
763 libdir='${exec_prefix}/lib'
764 localedir='${datarootdir}/locale'
765 mandir='${datarootdir}/man'
771 # If the previous option needs an argument, assign it.
772 if test -n "$ac_prev"; then
773 eval $ac_prev=\$ac_option
779 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
784 # Accept the important Cygnus configure options, so we can diagnose typos.
786 case $ac_dashdash$ac_option in
790 -bindir | --bindir | --bindi | --bind | --bin | --bi)
792 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
795 -build | --build | --buil | --bui | --bu)
796 ac_prev=build_alias ;;
797 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
798 build_alias=$ac_optarg ;;
800 -cache-file | --cache-file | --cache-fil | --cache-fi \
801 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
802 ac_prev=cache_file ;;
803 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
804 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
805 cache_file=$ac_optarg ;;
808 cache_file=config.cache ;;
810 -datadir | --datadir | --datadi | --datad)
812 -datadir=* | --datadir=* | --datadi=* | --datad=*)
813 datadir=$ac_optarg ;;
815 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
816 | --dataroo | --dataro | --datar)
817 ac_prev=datarootdir ;;
818 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
819 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
820 datarootdir=$ac_optarg ;;
822 -disable-* | --disable-*)
823 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
824 # Reject names that are not valid shell variable names.
825 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
826 as_fn_error $? "invalid feature name: $ac_useropt"
827 ac_useropt_orig=$ac_useropt
828 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
829 case $ac_user_opts in
833 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
834 ac_unrecognized_sep=', ';;
836 eval enable_$ac_useropt=no ;;
838 -docdir | --docdir | --docdi | --doc | --do)
840 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
843 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
845 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
848 -enable-* | --enable-*)
849 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
850 # Reject names that are not valid shell variable names.
851 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
852 as_fn_error $? "invalid feature name: $ac_useropt"
853 ac_useropt_orig=$ac_useropt
854 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
855 case $ac_user_opts in
859 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
860 ac_unrecognized_sep=', ';;
862 eval enable_$ac_useropt=\$ac_optarg ;;
864 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
865 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
866 | --exec | --exe | --ex)
867 ac_prev=exec_prefix ;;
868 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
869 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
870 | --exec=* | --exe=* | --ex=*)
871 exec_prefix=$ac_optarg ;;
873 -gas | --gas | --ga | --g)
874 # Obsolete; use --with-gas.
877 -help | --help | --hel | --he | -h)
879 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
880 ac_init_help=recursive ;;
881 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
882 ac_init_help=short ;;
884 -host | --host | --hos | --ho)
885 ac_prev=host_alias ;;
886 -host=* | --host=* | --hos=* | --ho=*)
887 host_alias=$ac_optarg ;;
889 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
891 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
893 htmldir=$ac_optarg ;;
895 -includedir | --includedir | --includedi | --included | --include \
896 | --includ | --inclu | --incl | --inc)
897 ac_prev=includedir ;;
898 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
899 | --includ=* | --inclu=* | --incl=* | --inc=*)
900 includedir=$ac_optarg ;;
902 -infodir | --infodir | --infodi | --infod | --info | --inf)
904 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
905 infodir=$ac_optarg ;;
907 -libdir | --libdir | --libdi | --libd)
909 -libdir=* | --libdir=* | --libdi=* | --libd=*)
912 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
913 | --libexe | --libex | --libe)
914 ac_prev=libexecdir ;;
915 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
916 | --libexe=* | --libex=* | --libe=*)
917 libexecdir=$ac_optarg ;;
919 -localedir | --localedir | --localedi | --localed | --locale)
921 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
922 localedir=$ac_optarg ;;
924 -localstatedir | --localstatedir | --localstatedi | --localstated \
925 | --localstate | --localstat | --localsta | --localst | --locals)
926 ac_prev=localstatedir ;;
927 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
928 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
929 localstatedir=$ac_optarg ;;
931 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
933 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
937 # Obsolete; use --without-fp.
940 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
941 | --no-cr | --no-c | -n)
944 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
945 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
948 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
949 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
950 | --oldin | --oldi | --old | --ol | --o)
951 ac_prev=oldincludedir ;;
952 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
953 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
954 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
955 oldincludedir=$ac_optarg ;;
957 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
959 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
962 -program-prefix | --program-prefix | --program-prefi | --program-pref \
963 | --program-pre | --program-pr | --program-p)
964 ac_prev=program_prefix ;;
965 -program-prefix=* | --program-prefix=* | --program-prefi=* \
966 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
967 program_prefix=$ac_optarg ;;
969 -program-suffix | --program-suffix | --program-suffi | --program-suff \
970 | --program-suf | --program-su | --program-s)
971 ac_prev=program_suffix ;;
972 -program-suffix=* | --program-suffix=* | --program-suffi=* \
973 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
974 program_suffix=$ac_optarg ;;
976 -program-transform-name | --program-transform-name \
977 | --program-transform-nam | --program-transform-na \
978 | --program-transform-n | --program-transform- \
979 | --program-transform | --program-transfor \
980 | --program-transfo | --program-transf \
981 | --program-trans | --program-tran \
982 | --progr-tra | --program-tr | --program-t)
983 ac_prev=program_transform_name ;;
984 -program-transform-name=* | --program-transform-name=* \
985 | --program-transform-nam=* | --program-transform-na=* \
986 | --program-transform-n=* | --program-transform-=* \
987 | --program-transform=* | --program-transfor=* \
988 | --program-transfo=* | --program-transf=* \
989 | --program-trans=* | --program-tran=* \
990 | --progr-tra=* | --program-tr=* | --program-t=*)
991 program_transform_name=$ac_optarg ;;
993 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
995 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
998 -psdir | --psdir | --psdi | --psd | --ps)
1000 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1003 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1004 | -silent | --silent | --silen | --sile | --sil)
1007 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1009 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1011 sbindir=$ac_optarg ;;
1013 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1014 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1015 | --sharedst | --shareds | --shared | --share | --shar \
1017 ac_prev=sharedstatedir ;;
1018 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1019 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1020 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1022 sharedstatedir=$ac_optarg ;;
1024 -site | --site | --sit)
1026 -site=* | --site=* | --sit=*)
1029 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1031 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1032 srcdir=$ac_optarg ;;
1034 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1035 | --syscon | --sysco | --sysc | --sys | --sy)
1036 ac_prev=sysconfdir ;;
1037 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1038 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1039 sysconfdir=$ac_optarg ;;
1041 -target | --target | --targe | --targ | --tar | --ta | --t)
1042 ac_prev=target_alias ;;
1043 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1044 target_alias=$ac_optarg ;;
1046 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1049 -version | --version | --versio | --versi | --vers | -V)
1050 ac_init_version=: ;;
1053 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1054 # Reject names that are not valid shell variable names.
1055 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1056 as_fn_error $? "invalid package name: $ac_useropt"
1057 ac_useropt_orig=$ac_useropt
1058 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1059 case $ac_user_opts in
1063 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1064 ac_unrecognized_sep=', ';;
1066 eval with_$ac_useropt=\$ac_optarg ;;
1068 -without-* | --without-*)
1069 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1070 # Reject names that are not valid shell variable names.
1071 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1072 as_fn_error $? "invalid package name: $ac_useropt"
1073 ac_useropt_orig=$ac_useropt
1074 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1075 case $ac_user_opts in
1079 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1080 ac_unrecognized_sep=', ';;
1082 eval with_$ac_useropt=no ;;
1085 # Obsolete; use --with-x.
1088 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1089 | --x-incl | --x-inc | --x-in | --x-i)
1090 ac_prev=x_includes ;;
1091 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1092 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1093 x_includes=$ac_optarg ;;
1095 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1096 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1097 ac_prev=x_libraries ;;
1098 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1099 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1100 x_libraries=$ac_optarg ;;
1102 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1103 Try \`$0 --help' for more information"
1107 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1108 # Reject names that are not valid shell variable names.
1109 case $ac_envvar in #(
1110 '' | [0-9]* | *[!_$as_cr_alnum]* )
1111 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1113 eval $ac_envvar=\$ac_optarg
1114 export $ac_envvar ;;
1117 # FIXME: should be removed in autoconf 3.0.
1118 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1119 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1120 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1121 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1127 if test -n "$ac_prev"; then
1128 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1129 as_fn_error $? "missing argument to $ac_option"
1132 if test -n "$ac_unrecognized_opts"; then
1133 case $enable_option_checking in
1135 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1136 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1140 # Check all directory arguments for consistency.
1141 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1142 datadir sysconfdir sharedstatedir localstatedir includedir \
1143 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1144 libdir localedir mandir
1146 eval ac_val=\$$ac_var
1147 # Remove trailing slashes.
1150 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1151 eval $ac_var=\$ac_val;;
1153 # Be sure to have absolute directory names.
1155 [\\/$]* | ?:[\\/]* ) continue;;
1156 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1158 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1161 # There might be people who depend on the old broken behavior: `$host'
1162 # used to hold the argument of --host etc.
1163 # FIXME: To remove some day.
1166 target=$target_alias
1168 # FIXME: To remove some day.
1169 if test "x$host_alias" != x; then
1170 if test "x$build_alias" = x; then
1171 cross_compiling=maybe
1172 elif test "x$build_alias" != "x$host_alias"; then
1178 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1180 test "$silent" = yes && exec 6>/dev/null
1183 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1184 ac_ls_di=`ls -di .` &&
1185 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1186 as_fn_error $? "working directory cannot be determined"
1187 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1188 as_fn_error $? "pwd does not report name of working directory"
1191 # Find the source files, if location was not specified.
1192 if test -z "$srcdir"; then
1193 ac_srcdir_defaulted=yes
1194 # Try the directory containing this script, then the parent directory.
1195 ac_confdir=`$as_dirname -- "$as_myself" ||
1196 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1197 X"$as_myself" : 'X\(//\)[^/]' \| \
1198 X"$as_myself" : 'X\(//\)$' \| \
1199 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1200 $as_echo X"$as_myself" |
1201 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1219 if test ! -r "$srcdir/$ac_unique_file"; then
1223 ac_srcdir_defaulted=no
1225 if test ! -r "$srcdir/$ac_unique_file"; then
1226 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1227 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1229 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1231 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1233 # When building in place, set srcdir=.
1234 if test "$ac_abs_confdir" = "$ac_pwd"; then
1237 # Remove unnecessary trailing slashes from srcdir.
1238 # Double slashes in file names in object file debugging info
1239 # mess up M-x gdb in Emacs.
1241 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1243 for ac_var in $ac_precious_vars; do
1244 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1245 eval ac_env_${ac_var}_value=\$${ac_var}
1246 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1247 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1251 # Report the --help message.
1253 if test "$ac_init_help" = "long"; then
1254 # Omit some internal or obsolete options to make the list less imposing.
1255 # This message is too long to be a string in the A/UX 3.1 sh.
1257 \`configure' configures gob2 2.0.20 to adapt to many kinds of systems.
1259 Usage: $0 [OPTION]... [VAR=VALUE]...
1261 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1262 VAR=VALUE. See below for descriptions of some of the useful variables.
1264 Defaults for the options are specified in brackets.
1267 -h, --help display this help and exit
1268 --help=short display options specific to this package
1269 --help=recursive display the short help of all the included packages
1270 -V, --version display version information and exit
1271 -q, --quiet, --silent do not print \`checking ...' messages
1272 --cache-file=FILE cache test results in FILE [disabled]
1273 -C, --config-cache alias for \`--cache-file=config.cache'
1274 -n, --no-create do not create output files
1275 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1277 Installation directories:
1278 --prefix=PREFIX install architecture-independent files in PREFIX
1279 [$ac_default_prefix]
1280 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1283 By default, \`make install' will install all the files in
1284 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1285 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1286 for instance \`--prefix=\$HOME'.
1288 For better control, use the options below.
1290 Fine tuning of the installation directories:
1291 --bindir=DIR user executables [EPREFIX/bin]
1292 --sbindir=DIR system admin executables [EPREFIX/sbin]
1293 --libexecdir=DIR program executables [EPREFIX/libexec]
1294 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1295 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1296 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1297 --libdir=DIR object code libraries [EPREFIX/lib]
1298 --includedir=DIR C header files [PREFIX/include]
1299 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1300 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1301 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1302 --infodir=DIR info documentation [DATAROOTDIR/info]
1303 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1304 --mandir=DIR man documentation [DATAROOTDIR/man]
1305 --docdir=DIR documentation root [DATAROOTDIR/doc/gob2]
1306 --htmldir=DIR html documentation [DOCDIR]
1307 --dvidir=DIR dvi documentation [DOCDIR]
1308 --pdfdir=DIR pdf documentation [DOCDIR]
1309 --psdir=DIR ps documentation [DOCDIR]
1315 --program-prefix=PREFIX prepend PREFIX to installed program names
1316 --program-suffix=SUFFIX append SUFFIX to installed program names
1317 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1321 if test -n "$ac_init_help"; then
1322 case $ac_init_help in
1323 short | recursive ) echo "Configuration of gob2 2.0.20:";;
1328 --disable-option-checking ignore unrecognized --enable/--with options
1329 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1330 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1331 --enable-silent-rules less verbose build output (undo: "make V=1")
1332 --disable-silent-rules verbose build output (undo: "make V=0")
1333 --enable-maintainer-mode
1334 enable make rules and dependencies not useful (and
1335 sometimes confusing) to the casual installer
1336 --enable-dependency-tracking
1337 do not reject slow dependency extractors
1338 --disable-dependency-tracking
1339 speeds up one-time build
1341 Some influential environment variables:
1342 CC C compiler command
1343 CFLAGS C compiler flags
1344 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1345 nonstandard directory <lib dir>
1346 LIBS libraries to pass to the linker, e.g. -l<library>
1347 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1348 you have headers in a nonstandard directory <include dir>
1350 YACC The `Yet Another Compiler Compiler' implementation to use.
1351 Defaults to the first program found out of: `bison -y', `byacc',
1353 YFLAGS The list of arguments that will be passed by default to $YACC.
1354 This script will default YFLAGS to the empty string to avoid a
1355 default value of `-d' given by some make applications.
1356 PKG_CONFIG path to pkg-config utility
1358 directories to add to pkg-config's search path
1360 path overriding pkg-config's built-in search path
1361 GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1362 GLIB_LIBS linker flags for GLIB, overriding pkg-config
1364 Use these variables to override the choices made by `configure' or to help
1365 it to find libraries and programs with nonstandard names/locations.
1367 Report bugs to the package provider.
1372 if test "$ac_init_help" = "recursive"; then
1373 # If there are subdirs, report their specific --help.
1374 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1375 test -d "$ac_dir" ||
1376 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1381 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1383 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1384 # A ".." for each directory in $ac_dir_suffix.
1385 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1386 case $ac_top_builddir_sub in
1387 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1388 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1391 ac_abs_top_builddir=$ac_pwd
1392 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1393 # for backward compatibility:
1394 ac_top_builddir=$ac_top_build_prefix
1397 .) # We are building in place.
1399 ac_top_srcdir=$ac_top_builddir_sub
1400 ac_abs_top_srcdir=$ac_pwd ;;
1401 [\\/]* | ?:[\\/]* ) # Absolute name.
1402 ac_srcdir=$srcdir$ac_dir_suffix;
1403 ac_top_srcdir=$srcdir
1404 ac_abs_top_srcdir=$srcdir ;;
1406 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1407 ac_top_srcdir=$ac_top_build_prefix$srcdir
1408 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1410 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1412 cd "$ac_dir" || { ac_status=$?; continue; }
1413 # Check for guested configure.
1414 if test -f "$ac_srcdir/configure.gnu"; then
1416 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1417 elif test -f "$ac_srcdir/configure"; then
1419 $SHELL "$ac_srcdir/configure" --help=recursive
1421 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1423 cd "$ac_pwd" || { ac_status=$?; break; }
1427 test -n "$ac_init_help" && exit $ac_status
1428 if $ac_init_version; then
1430 gob2 configure 2.0.20
1431 generated by GNU Autoconf 2.69
1433 Copyright (C) 2012 Free Software Foundation, Inc.
1434 This configure script is free software; the Free Software Foundation
1435 gives unlimited permission to copy, distribute and modify it.
1440 ## ------------------------ ##
1441 ## Autoconf initialization. ##
1442 ## ------------------------ ##
1444 # ac_fn_c_try_compile LINENO
1445 # --------------------------
1446 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1447 ac_fn_c_try_compile ()
1449 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1450 rm -f conftest.$ac_objext
1451 if { { ac_try="$ac_compile"
1453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1454 *) ac_try_echo=$ac_try;;
1456 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1457 $as_echo "$ac_try_echo"; } >&5
1458 (eval "$ac_compile") 2>conftest.err
1460 if test -s conftest.err; then
1461 grep -v '^ *+' conftest.err >conftest.er1
1462 cat conftest.er1 >&5
1463 mv -f conftest.er1 conftest.err
1465 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1466 test $ac_status = 0; } && {
1467 test -z "$ac_c_werror_flag" ||
1468 test ! -s conftest.err
1469 } && test -s conftest.$ac_objext; then :
1472 $as_echo "$as_me: failed program was:" >&5
1473 sed 's/^/| /' conftest.$ac_ext >&5
1477 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1478 as_fn_set_status $ac_retval
1480 } # ac_fn_c_try_compile
1482 # ac_fn_c_try_link LINENO
1483 # -----------------------
1484 # Try to link conftest.$ac_ext, and return whether this succeeded.
1487 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1488 rm -f conftest.$ac_objext conftest$ac_exeext
1489 if { { ac_try="$ac_link"
1491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1492 *) ac_try_echo=$ac_try;;
1494 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1495 $as_echo "$ac_try_echo"; } >&5
1496 (eval "$ac_link") 2>conftest.err
1498 if test -s conftest.err; then
1499 grep -v '^ *+' conftest.err >conftest.er1
1500 cat conftest.er1 >&5
1501 mv -f conftest.er1 conftest.err
1503 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1504 test $ac_status = 0; } && {
1505 test -z "$ac_c_werror_flag" ||
1506 test ! -s conftest.err
1507 } && test -s conftest$ac_exeext && {
1508 test "$cross_compiling" = yes ||
1509 test -x conftest$ac_exeext
1513 $as_echo "$as_me: failed program was:" >&5
1514 sed 's/^/| /' conftest.$ac_ext >&5
1518 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1519 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1520 # interfere with the next link command; also delete a directory that is
1521 # left behind by Apple's compiler. We do this before executing the actions.
1522 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1523 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1524 as_fn_set_status $ac_retval
1526 } # ac_fn_c_try_link
1528 # ac_fn_c_try_cpp LINENO
1529 # ----------------------
1530 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1533 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1534 if { { ac_try="$ac_cpp conftest.$ac_ext"
1536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1537 *) ac_try_echo=$ac_try;;
1539 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1540 $as_echo "$ac_try_echo"; } >&5
1541 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1543 if test -s conftest.err; then
1544 grep -v '^ *+' conftest.err >conftest.er1
1545 cat conftest.er1 >&5
1546 mv -f conftest.er1 conftest.err
1548 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1549 test $ac_status = 0; } > conftest.i && {
1550 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1551 test ! -s conftest.err
1555 $as_echo "$as_me: failed program was:" >&5
1556 sed 's/^/| /' conftest.$ac_ext >&5
1560 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1561 as_fn_set_status $ac_retval
1565 # ac_fn_c_try_run LINENO
1566 # ----------------------
1567 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1568 # that executables *can* be run.
1571 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1572 if { { ac_try="$ac_link"
1574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1575 *) ac_try_echo=$ac_try;;
1577 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1578 $as_echo "$ac_try_echo"; } >&5
1579 (eval "$ac_link") 2>&5
1581 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1582 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1583 { { case "(($ac_try" in
1584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1585 *) ac_try_echo=$ac_try;;
1587 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1588 $as_echo "$ac_try_echo"; } >&5
1589 (eval "$ac_try") 2>&5
1591 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1592 test $ac_status = 0; }; }; then :
1595 $as_echo "$as_me: program exited with status $ac_status" >&5
1596 $as_echo "$as_me: failed program was:" >&5
1597 sed 's/^/| /' conftest.$ac_ext >&5
1599 ac_retval=$ac_status
1601 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1602 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1603 as_fn_set_status $ac_retval
1606 cat >config.log <<_ACEOF
1607 This file contains any messages produced by compilers while
1608 running configure, to aid debugging if configure makes a mistake.
1610 It was created by gob2 $as_me 2.0.20, which was
1611 generated by GNU Autoconf 2.69. Invocation command line was
1623 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1624 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1625 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1626 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1627 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1629 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1630 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1632 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1633 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1634 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1635 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1636 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1637 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1638 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1646 test -z "$as_dir" && as_dir=.
1647 $as_echo "PATH: $as_dir"
1663 # Keep a trace of the command line.
1664 # Strip out --no-create and --no-recursion so they do not pile up.
1665 # Strip out --silent because we don't want to record it for future runs.
1666 # Also quote any args containing shell meta-characters.
1667 # Make two passes to allow for proper duplicate-argument suppression.
1671 ac_must_keep_next=false
1677 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1678 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1679 | -silent | --silent | --silen | --sile | --sil)
1682 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1685 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1687 as_fn_append ac_configure_args1 " '$ac_arg'"
1688 if test $ac_must_keep_next = true; then
1689 ac_must_keep_next=false # Got value, back to normal.
1692 *=* | --config-cache | -C | -disable-* | --disable-* \
1693 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1694 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1695 | -with-* | --with-* | -without-* | --without-* | --x)
1696 case "$ac_configure_args0 " in
1697 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1700 -* ) ac_must_keep_next=true ;;
1703 as_fn_append ac_configure_args " '$ac_arg'"
1708 { ac_configure_args0=; unset ac_configure_args0;}
1709 { ac_configure_args1=; unset ac_configure_args1;}
1711 # When interrupted or exit'd, cleanup temporary files, and complete
1712 # config.log. We remove comments because anyway the quotes in there
1713 # would cause problems or look ugly.
1714 # WARNING: Use '\'' to represent an apostrophe within the trap.
1715 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1716 trap 'exit_status=$?
1717 # Save into config.log some information that might help in debugging.
1721 $as_echo "## ---------------- ##
1722 ## Cache variables. ##
1723 ## ---------------- ##"
1725 # The following way of writing the cache mishandles newlines in values,
1727 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1728 eval ac_val=\$$ac_var
1732 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1733 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1736 _ | IFS | as_nl) ;; #(
1737 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1738 *) { eval $ac_var=; unset $ac_var;} ;;
1743 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1744 *${as_nl}ac_space=\ *)
1746 "s/'\''/'\''\\\\'\'''\''/g;
1747 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1750 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1757 $as_echo "## ----------------- ##
1758 ## Output variables. ##
1759 ## ----------------- ##"
1761 for ac_var in $ac_subst_vars
1763 eval ac_val=\$$ac_var
1765 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1767 $as_echo "$ac_var='\''$ac_val'\''"
1771 if test -n "$ac_subst_files"; then
1772 $as_echo "## ------------------- ##
1773 ## File substitutions. ##
1774 ## ------------------- ##"
1776 for ac_var in $ac_subst_files
1778 eval ac_val=\$$ac_var
1780 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1782 $as_echo "$ac_var='\''$ac_val'\''"
1787 if test -s confdefs.h; then
1788 $as_echo "## ----------- ##
1795 test "$ac_signal" != 0 &&
1796 $as_echo "$as_me: caught signal $ac_signal"
1797 $as_echo "$as_me: exit $exit_status"
1799 rm -f core *.core core.conftest.* &&
1800 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1803 for ac_signal in 1 2 13 15; do
1804 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1808 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1809 rm -f -r conftest* confdefs.h
1811 $as_echo "/* confdefs.h */" > confdefs.h
1813 # Predefined preprocessor variables.
1815 cat >>confdefs.h <<_ACEOF
1816 #define PACKAGE_NAME "$PACKAGE_NAME"
1819 cat >>confdefs.h <<_ACEOF
1820 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1823 cat >>confdefs.h <<_ACEOF
1824 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1827 cat >>confdefs.h <<_ACEOF
1828 #define PACKAGE_STRING "$PACKAGE_STRING"
1831 cat >>confdefs.h <<_ACEOF
1832 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1835 cat >>confdefs.h <<_ACEOF
1836 #define PACKAGE_URL "$PACKAGE_URL"
1840 # Let the site file select an alternate cache file if it wants to.
1841 # Prefer an explicitly selected file to automatically selected ones.
1844 if test -n "$CONFIG_SITE"; then
1845 # We do not want a PATH search for config.site.
1846 case $CONFIG_SITE in #((
1847 -*) ac_site_file1=./$CONFIG_SITE;;
1848 */*) ac_site_file1=$CONFIG_SITE;;
1849 *) ac_site_file1=./$CONFIG_SITE;;
1851 elif test "x$prefix" != xNONE; then
1852 ac_site_file1=$prefix/share/config.site
1853 ac_site_file2=$prefix/etc/config.site
1855 ac_site_file1=$ac_default_prefix/share/config.site
1856 ac_site_file2=$ac_default_prefix/etc/config.site
1858 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1860 test "x$ac_site_file" = xNONE && continue
1861 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1862 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1863 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1864 sed 's/^/| /' "$ac_site_file" >&5
1866 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1867 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1868 as_fn_error $? "failed to load site script $ac_site_file
1869 See \`config.log' for more details" "$LINENO" 5; }
1873 if test -r "$cache_file"; then
1874 # Some versions of bash will fail to source /dev/null (special files
1875 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1876 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1877 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1878 $as_echo "$as_me: loading cache $cache_file" >&6;}
1880 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1881 *) . "./$cache_file";;
1885 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1886 $as_echo "$as_me: creating cache $cache_file" >&6;}
1890 # Check that the precious variables saved in the cache have kept the same
1892 ac_cache_corrupted=false
1893 for ac_var in $ac_precious_vars; do
1894 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1895 eval ac_new_set=\$ac_env_${ac_var}_set
1896 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1897 eval ac_new_val=\$ac_env_${ac_var}_value
1898 case $ac_old_set,$ac_new_set in
1900 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1901 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1902 ac_cache_corrupted=: ;;
1904 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1905 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1906 ac_cache_corrupted=: ;;
1909 if test "x$ac_old_val" != "x$ac_new_val"; then
1910 # differences in whitespace do not lead to failure.
1911 ac_old_val_w=`echo x $ac_old_val`
1912 ac_new_val_w=`echo x $ac_new_val`
1913 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1914 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1915 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1916 ac_cache_corrupted=:
1918 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1919 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1920 eval $ac_var=\$ac_old_val
1922 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1923 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1924 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1925 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1928 # Pass precious variables to config.status.
1929 if test "$ac_new_set" = set; then
1931 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1932 *) ac_arg=$ac_var=$ac_new_val ;;
1934 case " $ac_configure_args " in
1935 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1936 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1940 if $ac_cache_corrupted; then
1941 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1942 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1943 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1944 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1945 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1947 ## -------------------- ##
1948 ## Main body of script. ##
1949 ## -------------------- ##
1952 ac_cpp='$CPP $CPPFLAGS'
1953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1959 am__api_version='1.13'
1962 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1963 if test -f "$ac_dir/install-sh"; then
1965 ac_install_sh="$ac_aux_dir/install-sh -c"
1967 elif test -f "$ac_dir/install.sh"; then
1969 ac_install_sh="$ac_aux_dir/install.sh -c"
1971 elif test -f "$ac_dir/shtool"; then
1973 ac_install_sh="$ac_aux_dir/shtool install -c"
1977 if test -z "$ac_aux_dir"; then
1978 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1981 # These three variables are undocumented and unsupported,
1982 # and are intended to be withdrawn in a future Autoconf release.
1983 # They can cause serious problems if a builder's source tree is in a directory
1984 # whose full name contains unusual characters.
1985 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1986 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1987 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1990 # Find a good install program. We prefer a C program (faster),
1991 # so one script is as good as another. But avoid the broken or
1992 # incompatible versions:
1993 # SysV /etc/install, /usr/sbin/install
1994 # SunOS /usr/etc/install
1995 # IRIX /sbin/install
1997 # AmigaOS /C/install, which installs bootblocks on floppy discs
1998 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1999 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2000 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2001 # OS/2's system install, which has a completely different semantic
2002 # ./install, which can be erroneously created by make from ./install.sh.
2003 # Reject install programs that cannot install multiple files.
2004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2005 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2006 if test -z "$INSTALL"; then
2007 if ${ac_cv_path_install+:} false; then :
2008 $as_echo_n "(cached) " >&6
2010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2014 test -z "$as_dir" && as_dir=.
2015 # Account for people who put trailing slashes in PATH elements.
2016 case $as_dir/ in #((
2017 ./ | .// | /[cC]/* | \
2018 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2019 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2022 # OSF1 and SCO ODT 3.0 have their own names for install.
2023 # Don't use installbsd from OSF since it installs stuff as root
2025 for ac_prog in ginstall scoinst install; do
2026 for ac_exec_ext in '' $ac_executable_extensions; do
2027 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2028 if test $ac_prog = install &&
2029 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2030 # AIX install. It has an incompatible calling convention.
2032 elif test $ac_prog = install &&
2033 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2034 # program-specific install script used by HP pwplus--don't use.
2037 rm -rf conftest.one conftest.two conftest.dir
2038 echo one > conftest.one
2039 echo two > conftest.two
2041 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2042 test -s conftest.one && test -s conftest.two &&
2043 test -s conftest.dir/conftest.one &&
2044 test -s conftest.dir/conftest.two
2046 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2059 rm -rf conftest.one conftest.two conftest.dir
2062 if test "${ac_cv_path_install+set}" = set; then
2063 INSTALL=$ac_cv_path_install
2065 # As a last resort, use the slow shell script. Don't cache a
2066 # value for INSTALL within a source directory, because that will
2067 # break other packages using the cache if that directory is
2068 # removed, or if the value is a relative name.
2069 INSTALL=$ac_install_sh
2072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2073 $as_echo "$INSTALL" >&6; }
2075 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2076 # It thinks the first close brace ends the variable substitution.
2077 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2079 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2081 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2084 $as_echo_n "checking whether build environment is sane... " >&6; }
2085 # Reject unsafe characters in $srcdir or the absolute working directory
2086 # name. Accept space and tab only in the latter.
2090 *[\\\"\#\$\&\'\`$am_lf]*)
2091 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2094 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2095 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2098 # Do 'set' in a subshell so we don't clobber the current shell's
2099 # arguments. Must try -L first in case configure is actually a
2100 # symlink; some systems play weird games with the mod time of symlinks
2101 # (eg FreeBSD returns the mod time of the symlink's containing
2105 for am_try in 1 2; do
2106 echo "timestamp, slept: $am_has_slept" > conftest.file
2107 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2108 if test "$*" = "X"; then
2110 set X `ls -t "$srcdir/configure" conftest.file`
2112 if test "$*" != "X $srcdir/configure conftest.file" \
2113 && test "$*" != "X conftest.file $srcdir/configure"; then
2115 # If neither matched, then we have a broken ls. This can happen
2116 # if, for instance, CONFIG_SHELL is bash and it inherits a
2117 # broken ls alias from the environment. This has actually
2118 # happened. Such a system could not be considered "sane".
2119 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2120 alias in your environment" "$LINENO" 5
2122 if test "$2" = conftest.file || test $am_try -eq 2; then
2129 test "$2" = conftest.file
2135 as_fn_error $? "newly created file is older than distributed files!
2136 Check your system clock" "$LINENO" 5
2138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2139 $as_echo "yes" >&6; }
2140 # If we didn't sleep, we still need to ensure time stamps of config.status and
2141 # generated files are strictly newer.
2143 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2150 test "$program_prefix" != NONE &&
2151 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2152 # Use a double $ so make ignores it.
2153 test "$program_suffix" != NONE &&
2154 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2155 # Double any \ or $.
2156 # By default was `s,x,x', remove it if useless.
2157 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2158 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2160 # expand $ac_aux_dir to an absolute path
2161 am_aux_dir=`cd $ac_aux_dir && pwd`
2163 if test x"${MISSING+set}" != xset; then
2166 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2168 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2171 # Use eval to expand $SHELL
2172 if eval "$MISSING --is-lightweight"; then
2173 am_missing_run="$MISSING "
2176 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2177 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2180 if test x"${install_sh}" != xset; then
2183 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2185 install_sh="\${SHELL} $am_aux_dir/install-sh"
2189 # Installed binaries are usually stripped using 'strip' when the user
2190 # run "make install-strip". However 'strip' might not be the right
2191 # tool to use in cross-compilation environments, therefore Automake
2192 # will honor the 'STRIP' environment variable to overrule this program.
2193 if test "$cross_compiling" != no; then
2194 if test -n "$ac_tool_prefix"; then
2195 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2196 set dummy ${ac_tool_prefix}strip; ac_word=$2
2197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2198 $as_echo_n "checking for $ac_word... " >&6; }
2199 if ${ac_cv_prog_STRIP+:} false; then :
2200 $as_echo_n "(cached) " >&6
2202 if test -n "$STRIP"; then
2203 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2209 test -z "$as_dir" && as_dir=.
2210 for ac_exec_ext in '' $ac_executable_extensions; do
2211 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2212 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2213 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2222 STRIP=$ac_cv_prog_STRIP
2223 if test -n "$STRIP"; then
2224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2225 $as_echo "$STRIP" >&6; }
2227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2228 $as_echo "no" >&6; }
2233 if test -z "$ac_cv_prog_STRIP"; then
2235 # Extract the first word of "strip", so it can be a program name with args.
2236 set dummy strip; ac_word=$2
2237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2238 $as_echo_n "checking for $ac_word... " >&6; }
2239 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2240 $as_echo_n "(cached) " >&6
2242 if test -n "$ac_ct_STRIP"; then
2243 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2249 test -z "$as_dir" && as_dir=.
2250 for ac_exec_ext in '' $ac_executable_extensions; do
2251 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2252 ac_cv_prog_ac_ct_STRIP="strip"
2253 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2262 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2263 if test -n "$ac_ct_STRIP"; then
2264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2265 $as_echo "$ac_ct_STRIP" >&6; }
2267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2268 $as_echo "no" >&6; }
2271 if test "x$ac_ct_STRIP" = x; then
2274 case $cross_compiling:$ac_tool_warned in
2276 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2277 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2278 ac_tool_warned=yes ;;
2283 STRIP="$ac_cv_prog_STRIP"
2287 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2290 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2291 if test -z "$MKDIR_P"; then
2292 if ${ac_cv_path_mkdir+:} false; then :
2293 $as_echo_n "(cached) " >&6
2295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2296 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2299 test -z "$as_dir" && as_dir=.
2300 for ac_prog in mkdir gmkdir; do
2301 for ac_exec_ext in '' $ac_executable_extensions; do
2302 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2303 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2304 'mkdir (GNU coreutils) '* | \
2305 'mkdir (coreutils) '* | \
2306 'mkdir (fileutils) '4.1*)
2307 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2317 test -d ./--version && rmdir ./--version
2318 if test "${ac_cv_path_mkdir+set}" = set; then
2319 MKDIR_P="$ac_cv_path_mkdir -p"
2321 # As a last resort, use the slow shell script. Don't cache a
2322 # value for MKDIR_P within a source directory, because that will
2323 # break other packages using the cache if that directory is
2324 # removed, or if the value is a relative name.
2325 MKDIR_P="$ac_install_sh -d"
2328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2329 $as_echo "$MKDIR_P" >&6; }
2331 for ac_prog in gawk mawk nawk awk
2333 # Extract the first word of "$ac_prog", so it can be a program name with args.
2334 set dummy $ac_prog; ac_word=$2
2335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2336 $as_echo_n "checking for $ac_word... " >&6; }
2337 if ${ac_cv_prog_AWK+:} false; then :
2338 $as_echo_n "(cached) " >&6
2340 if test -n "$AWK"; then
2341 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2343 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2347 test -z "$as_dir" && as_dir=.
2348 for ac_exec_ext in '' $ac_executable_extensions; do
2349 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2350 ac_cv_prog_AWK="$ac_prog"
2351 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2361 if test -n "$AWK"; then
2362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2363 $as_echo "$AWK" >&6; }
2365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2366 $as_echo "no" >&6; }
2370 test -n "$AWK" && break
2373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2374 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2376 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2377 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2378 $as_echo_n "(cached) " >&6
2380 cat >conftest.make <<\_ACEOF
2383 @echo '@@@%%%=$(MAKE)=@@@%%%'
2385 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2386 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2388 eval ac_cv_prog_make_${ac_make}_set=yes;;
2390 eval ac_cv_prog_make_${ac_make}_set=no;;
2394 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2396 $as_echo "yes" >&6; }
2399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2400 $as_echo "no" >&6; }
2401 SET_MAKE="MAKE=${MAKE-make}"
2404 rm -rf .tst 2>/dev/null
2405 mkdir .tst 2>/dev/null
2406 if test -d .tst; then
2411 rmdir .tst 2>/dev/null
2413 # Check whether --enable-silent-rules was given.
2414 if test "${enable_silent_rules+set}" = set; then :
2415 enableval=$enable_silent_rules;
2418 case $enable_silent_rules in # (((
2419 yes) AM_DEFAULT_VERBOSITY=0;;
2420 no) AM_DEFAULT_VERBOSITY=1;;
2421 *) AM_DEFAULT_VERBOSITY=1;;
2423 am_make=${MAKE-make}
2424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2425 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2426 if ${am_cv_make_support_nested_variables+:} false; then :
2427 $as_echo_n "(cached) " >&6
2429 if $as_echo 'TRUE=$(BAR$(V))
2435 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2436 am_cv_make_support_nested_variables=yes
2438 am_cv_make_support_nested_variables=no
2441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2442 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2443 if test $am_cv_make_support_nested_variables = yes; then
2445 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2447 AM_V=$AM_DEFAULT_VERBOSITY
2448 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2452 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2453 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2454 # is not polluted with repeated "-I."
2455 am__isrc=' -I$(srcdir)'
2456 # test to see if srcdir already configured
2457 if test -f $srcdir/config.status; then
2458 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2462 # test whether we have cygpath
2463 if test -z "$CYGPATH_W"; then
2464 if (cygpath --version) >/dev/null 2>/dev/null; then
2465 CYGPATH_W='cygpath -w'
2472 # Define the identity of the package.
2477 cat >>confdefs.h <<_ACEOF
2478 #define PACKAGE "$PACKAGE"
2482 cat >>confdefs.h <<_ACEOF
2483 #define VERSION "$VERSION"
2486 # Some tools Automake needs.
2488 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2491 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2494 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2497 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2500 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2502 # For better backward compatibility. To be removed once Automake 1.9.x
2503 # dies out for good. For more background, see:
2504 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2505 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2506 mkdir_p='$(MKDIR_P)'
2508 # We need awk for the "check" target. The system "awk" is bad on
2510 # Always define AMTAR for backward compatibility. Yes, it's still used
2511 # in the wild :-( We should find a proper way to deprecate it ...
2515 # We'll loop over all known methods to create a tar archive until one works.
2516 _am_tools='gnutar pax cpio none'
2518 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2526 ac_config_headers="$ac_config_headers config.h"
2529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2530 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2531 # Check whether --enable-maintainer-mode was given.
2532 if test "${enable_maintainer_mode+set}" = set; then :
2533 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2535 USE_MAINTAINER_MODE=no
2538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2539 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2540 if test $USE_MAINTAINER_MODE = yes; then
2541 MAINTAINER_MODE_TRUE=
2542 MAINTAINER_MODE_FALSE='#'
2544 MAINTAINER_MODE_TRUE='#'
2545 MAINTAINER_MODE_FALSE=
2548 MAINT=$MAINTAINER_MODE_TRUE
2555 if test -f ../NOINST_GOB; then
2564 if test -f ../NOINST_GOB ; then
2565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: *** NOT Going to install GOB ***" >&5
2566 $as_echo "*** NOT Going to install GOB ***" >&6; }
2567 SUBDIRS="src examples"
2569 SUBDIRS="src examples doc"
2573 DEPDIR="${am__leading_dot}deps"
2575 ac_config_commands="$ac_config_commands depfiles"
2578 am_make=${MAKE-make}
2579 cat > confinc << 'END'
2581 @echo this is the am__doit target
2584 # If we don't find an include directive, just comment out the code.
2585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2586 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2590 # First try GNU make style include.
2591 echo "include confinc" > confmf
2592 # Ignore all kinds of additional output from 'make'.
2593 case `$am_make -s -f confmf 2> /dev/null` in #(
2594 *the\ am__doit\ target*)
2600 # Now try BSD make style include.
2601 if test "$am__include" = "#"; then
2602 echo '.include "confinc"' > confmf
2603 case `$am_make -s -f confmf 2> /dev/null` in #(
2604 *the\ am__doit\ target*)
2605 am__include=.include
2613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2614 $as_echo "$_am_result" >&6; }
2615 rm -f confinc confmf
2617 # Check whether --enable-dependency-tracking was given.
2618 if test "${enable_dependency_tracking+set}" = set; then :
2619 enableval=$enable_dependency_tracking;
2622 if test "x$enable_dependency_tracking" != xno; then
2623 am_depcomp="$ac_aux_dir/depcomp"
2627 if test "x$enable_dependency_tracking" != xno; then
2637 ac_cpp='$CPP $CPPFLAGS'
2638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2641 if test -n "$ac_tool_prefix"; then
2642 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2643 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2645 $as_echo_n "checking for $ac_word... " >&6; }
2646 if ${ac_cv_prog_CC+:} false; then :
2647 $as_echo_n "(cached) " >&6
2649 if test -n "$CC"; then
2650 ac_cv_prog_CC="$CC" # Let the user override the test.
2652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2656 test -z "$as_dir" && as_dir=.
2657 for ac_exec_ext in '' $ac_executable_extensions; do
2658 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2659 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2660 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2670 if test -n "$CC"; then
2671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2672 $as_echo "$CC" >&6; }
2674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2675 $as_echo "no" >&6; }
2680 if test -z "$ac_cv_prog_CC"; then
2682 # Extract the first word of "gcc", so it can be a program name with args.
2683 set dummy gcc; ac_word=$2
2684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2685 $as_echo_n "checking for $ac_word... " >&6; }
2686 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2687 $as_echo_n "(cached) " >&6
2689 if test -n "$ac_ct_CC"; then
2690 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2696 test -z "$as_dir" && as_dir=.
2697 for ac_exec_ext in '' $ac_executable_extensions; do
2698 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2699 ac_cv_prog_ac_ct_CC="gcc"
2700 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2709 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2710 if test -n "$ac_ct_CC"; then
2711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2712 $as_echo "$ac_ct_CC" >&6; }
2714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2715 $as_echo "no" >&6; }
2718 if test "x$ac_ct_CC" = x; then
2721 case $cross_compiling:$ac_tool_warned in
2723 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2724 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2725 ac_tool_warned=yes ;;
2733 if test -z "$CC"; then
2734 if test -n "$ac_tool_prefix"; then
2735 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2736 set dummy ${ac_tool_prefix}cc; ac_word=$2
2737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2738 $as_echo_n "checking for $ac_word... " >&6; }
2739 if ${ac_cv_prog_CC+:} false; then :
2740 $as_echo_n "(cached) " >&6
2742 if test -n "$CC"; then
2743 ac_cv_prog_CC="$CC" # Let the user override the test.
2745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2749 test -z "$as_dir" && as_dir=.
2750 for ac_exec_ext in '' $ac_executable_extensions; do
2751 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2752 ac_cv_prog_CC="${ac_tool_prefix}cc"
2753 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2763 if test -n "$CC"; then
2764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2765 $as_echo "$CC" >&6; }
2767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2768 $as_echo "no" >&6; }
2774 if test -z "$CC"; then
2775 # Extract the first word of "cc", so it can be a program name with args.
2776 set dummy cc; ac_word=$2
2777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2778 $as_echo_n "checking for $ac_word... " >&6; }
2779 if ${ac_cv_prog_CC+:} false; then :
2780 $as_echo_n "(cached) " >&6
2782 if test -n "$CC"; then
2783 ac_cv_prog_CC="$CC" # Let the user override the test.
2786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2790 test -z "$as_dir" && as_dir=.
2791 for ac_exec_ext in '' $ac_executable_extensions; do
2792 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2793 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2794 ac_prog_rejected=yes
2798 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2805 if test $ac_prog_rejected = yes; then
2806 # We found a bogon in the path, so make sure we never use it.
2807 set dummy $ac_cv_prog_CC
2809 if test $# != 0; then
2810 # We chose a different compiler from the bogus one.
2811 # However, it has the same basename, so the bogon will be chosen
2812 # first if we set CC to just the basename; use the full file name.
2814 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2820 if test -n "$CC"; then
2821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2822 $as_echo "$CC" >&6; }
2824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2825 $as_echo "no" >&6; }
2830 if test -z "$CC"; then
2831 if test -n "$ac_tool_prefix"; then
2832 for ac_prog in cl.exe
2834 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2835 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2837 $as_echo_n "checking for $ac_word... " >&6; }
2838 if ${ac_cv_prog_CC+:} false; then :
2839 $as_echo_n "(cached) " >&6
2841 if test -n "$CC"; then
2842 ac_cv_prog_CC="$CC" # Let the user override the test.
2844 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2848 test -z "$as_dir" && as_dir=.
2849 for ac_exec_ext in '' $ac_executable_extensions; do
2850 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2851 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2852 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2862 if test -n "$CC"; then
2863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2864 $as_echo "$CC" >&6; }
2866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2867 $as_echo "no" >&6; }
2871 test -n "$CC" && break
2874 if test -z "$CC"; then
2876 for ac_prog in cl.exe
2878 # Extract the first word of "$ac_prog", so it can be a program name with args.
2879 set dummy $ac_prog; ac_word=$2
2880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2881 $as_echo_n "checking for $ac_word... " >&6; }
2882 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2883 $as_echo_n "(cached) " >&6
2885 if test -n "$ac_ct_CC"; then
2886 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2892 test -z "$as_dir" && as_dir=.
2893 for ac_exec_ext in '' $ac_executable_extensions; do
2894 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2895 ac_cv_prog_ac_ct_CC="$ac_prog"
2896 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2905 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2906 if test -n "$ac_ct_CC"; then
2907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2908 $as_echo "$ac_ct_CC" >&6; }
2910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2911 $as_echo "no" >&6; }
2915 test -n "$ac_ct_CC" && break
2918 if test "x$ac_ct_CC" = x; then
2921 case $cross_compiling:$ac_tool_warned in
2923 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2924 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2925 ac_tool_warned=yes ;;
2934 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2935 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2936 as_fn_error $? "no acceptable C compiler found in \$PATH
2937 See \`config.log' for more details" "$LINENO" 5; }
2939 # Provide some information about the compiler.
2940 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2943 for ac_option in --version -v -V -qversion; do
2944 { { ac_try="$ac_compiler $ac_option >&5"
2946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2947 *) ac_try_echo=$ac_try;;
2949 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2950 $as_echo "$ac_try_echo"; } >&5
2951 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2953 if test -s conftest.err; then
2955 ... rest of stderr output deleted ...
2956 10q' conftest.err >conftest.er1
2957 cat conftest.er1 >&5
2959 rm -f conftest.er1 conftest.err
2960 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2961 test $ac_status = 0; }
2964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2965 /* end confdefs.h. */
2975 ac_clean_files_save=$ac_clean_files
2976 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2977 # Try to create an executable without -o first, disregard a.out.
2978 # It will help us diagnose broken compilers, and finding out an intuition
2980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2981 $as_echo_n "checking whether the C compiler works... " >&6; }
2982 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2984 # The possible output files:
2985 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2988 for ac_file in $ac_files
2991 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2992 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2997 if { { ac_try="$ac_link_default"
2999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3000 *) ac_try_echo=$ac_try;;
3002 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3003 $as_echo "$ac_try_echo"; } >&5
3004 (eval "$ac_link_default") 2>&5
3006 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3007 test $ac_status = 0; }; then :
3008 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3009 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3010 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3011 # so that the user can short-circuit this test for compilers unknown to
3013 for ac_file in $ac_files ''
3015 test -f "$ac_file" || continue
3017 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3020 # We found the default executable, but exeext='' is most
3024 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3026 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3028 # We set ac_cv_exeext here because the later test for it is not
3029 # safe: cross compilers may not add the suffix if given an `-o'
3030 # argument, so we may need to know it at that point already.
3031 # Even if this section looks crufty: it has the advantage of
3038 test "$ac_cv_exeext" = no && ac_cv_exeext=
3043 if test -z "$ac_file"; then :
3044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3045 $as_echo "no" >&6; }
3046 $as_echo "$as_me: failed program was:" >&5
3047 sed 's/^/| /' conftest.$ac_ext >&5
3049 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3050 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3051 as_fn_error 77 "C compiler cannot create executables
3052 See \`config.log' for more details" "$LINENO" 5; }
3054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3055 $as_echo "yes" >&6; }
3057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3058 $as_echo_n "checking for C compiler default output file name... " >&6; }
3059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3060 $as_echo "$ac_file" >&6; }
3061 ac_exeext=$ac_cv_exeext
3063 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3064 ac_clean_files=$ac_clean_files_save
3065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3066 $as_echo_n "checking for suffix of executables... " >&6; }
3067 if { { ac_try="$ac_link"
3069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3070 *) ac_try_echo=$ac_try;;
3072 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3073 $as_echo "$ac_try_echo"; } >&5
3074 (eval "$ac_link") 2>&5
3076 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3077 test $ac_status = 0; }; then :
3078 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3079 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3080 # work properly (i.e., refer to `conftest.exe'), while it won't with
3082 for ac_file in conftest.exe conftest conftest.*; do
3083 test -f "$ac_file" || continue
3085 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3086 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3092 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3093 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3094 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3095 See \`config.log' for more details" "$LINENO" 5; }
3097 rm -f conftest conftest$ac_cv_exeext
3098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3099 $as_echo "$ac_cv_exeext" >&6; }
3101 rm -f conftest.$ac_ext
3102 EXEEXT=$ac_cv_exeext
3104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3105 /* end confdefs.h. */
3110 FILE *f = fopen ("conftest.out", "w");
3111 return ferror (f) || fclose (f) != 0;
3117 ac_clean_files="$ac_clean_files conftest.out"
3118 # Check that the compiler produces executables we can run. If not, either
3119 # the compiler is broken, or we cross compile.
3120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3121 $as_echo_n "checking whether we are cross compiling... " >&6; }
3122 if test "$cross_compiling" != yes; then
3123 { { ac_try="$ac_link"
3125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3126 *) ac_try_echo=$ac_try;;
3128 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3129 $as_echo "$ac_try_echo"; } >&5
3130 (eval "$ac_link") 2>&5
3132 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3133 test $ac_status = 0; }
3134 if { ac_try='./conftest$ac_cv_exeext'
3135 { { case "(($ac_try" in
3136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3137 *) ac_try_echo=$ac_try;;
3139 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3140 $as_echo "$ac_try_echo"; } >&5
3141 (eval "$ac_try") 2>&5
3143 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3144 test $ac_status = 0; }; }; then
3147 if test "$cross_compiling" = maybe; then
3150 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3151 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3152 as_fn_error $? "cannot run C compiled programs.
3153 If you meant to cross compile, use \`--host'.
3154 See \`config.log' for more details" "$LINENO" 5; }
3158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3159 $as_echo "$cross_compiling" >&6; }
3161 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3162 ac_clean_files=$ac_clean_files_save
3163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3164 $as_echo_n "checking for suffix of object files... " >&6; }
3165 if ${ac_cv_objext+:} false; then :
3166 $as_echo_n "(cached) " >&6
3168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3169 /* end confdefs.h. */
3179 rm -f conftest.o conftest.obj
3180 if { { ac_try="$ac_compile"
3182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3183 *) ac_try_echo=$ac_try;;
3185 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3186 $as_echo "$ac_try_echo"; } >&5
3187 (eval "$ac_compile") 2>&5
3189 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3190 test $ac_status = 0; }; then :
3191 for ac_file in conftest.o conftest.obj conftest.*; do
3192 test -f "$ac_file" || continue;
3194 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3195 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3200 $as_echo "$as_me: failed program was:" >&5
3201 sed 's/^/| /' conftest.$ac_ext >&5
3203 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3204 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3205 as_fn_error $? "cannot compute suffix of object files: cannot compile
3206 See \`config.log' for more details" "$LINENO" 5; }
3208 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3211 $as_echo "$ac_cv_objext" >&6; }
3212 OBJEXT=$ac_cv_objext
3214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3215 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3216 if ${ac_cv_c_compiler_gnu+:} false; then :
3217 $as_echo_n "(cached) " >&6
3219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3220 /* end confdefs.h. */
3233 if ac_fn_c_try_compile "$LINENO"; then :
3238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3239 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3243 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3244 if test $ac_compiler_gnu = yes; then
3249 ac_test_CFLAGS=${CFLAGS+set}
3250 ac_save_CFLAGS=$CFLAGS
3251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3252 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3253 if ${ac_cv_prog_cc_g+:} false; then :
3254 $as_echo_n "(cached) " >&6
3256 ac_save_c_werror_flag=$ac_c_werror_flag
3257 ac_c_werror_flag=yes
3260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3261 /* end confdefs.h. */
3271 if ac_fn_c_try_compile "$LINENO"; then :
3275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3276 /* end confdefs.h. */
3286 if ac_fn_c_try_compile "$LINENO"; then :
3289 ac_c_werror_flag=$ac_save_c_werror_flag
3291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3292 /* end confdefs.h. */
3302 if ac_fn_c_try_compile "$LINENO"; then :
3305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3310 ac_c_werror_flag=$ac_save_c_werror_flag
3312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3313 $as_echo "$ac_cv_prog_cc_g" >&6; }
3314 if test "$ac_test_CFLAGS" = set; then
3315 CFLAGS=$ac_save_CFLAGS
3316 elif test $ac_cv_prog_cc_g = yes; then
3317 if test "$GCC" = yes; then
3323 if test "$GCC" = yes; then
3329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3330 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3331 if ${ac_cv_prog_cc_c89+:} false; then :
3332 $as_echo_n "(cached) " >&6
3334 ac_cv_prog_cc_c89=no
3336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3337 /* end confdefs.h. */
3341 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3342 struct buf { int x; };
3343 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3344 static char *e (p, i)
3350 static char *f (char * (*g) (char **, int), char **p, ...)
3355 s = g (p, va_arg (v,int));
3360 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3361 function prototypes and stuff, but not '\xHH' hex character constants.
3362 These don't provoke an error unfortunately, instead are silently treated
3363 as 'x'. The following induces an error, until -std is added to get
3364 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3365 array size at least. It's necessary to write '\x00'==0 to get something
3366 that's true only with -std. */
3367 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3369 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3370 inside strings and character constants. */
3372 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3374 int test (int i, double x);
3375 struct s1 {int (*f) (int a);};
3376 struct s2 {int (*f) (double a);};
3377 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3383 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3388 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3389 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3391 CC="$ac_save_CC $ac_arg"
3392 if ac_fn_c_try_compile "$LINENO"; then :
3393 ac_cv_prog_cc_c89=$ac_arg
3395 rm -f core conftest.err conftest.$ac_objext
3396 test "x$ac_cv_prog_cc_c89" != "xno" && break
3398 rm -f conftest.$ac_ext
3403 case "x$ac_cv_prog_cc_c89" in
3405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3406 $as_echo "none needed" >&6; } ;;
3408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3409 $as_echo "unsupported" >&6; } ;;
3411 CC="$CC $ac_cv_prog_cc_c89"
3412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3413 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3415 if test "x$ac_cv_prog_cc_c89" != xno; then :
3420 ac_cpp='$CPP $CPPFLAGS'
3421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3425 depcc="$CC" am_compiler_list=
3427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3428 $as_echo_n "checking dependency style of $depcc... " >&6; }
3429 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3430 $as_echo_n "(cached) " >&6
3432 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3433 # We make a subdir and do the tests there. Otherwise we can end up
3434 # making bogus files that we don't know about and never remove. For
3435 # instance it was reported that on HP-UX the gcc test will end up
3436 # making a dummy file named 'D' -- because '-MD' means "put the output
3440 # Copy depcomp to subdir because otherwise we won't find it if we're
3441 # using a relative directory.
3442 cp "$am_depcomp" conftest.dir
3444 # We will build objects and dependencies in a subdirectory because
3445 # it helps to detect inapplicable dependency modes. For instance
3446 # both Tru64's cc and ICC support -MD to output dependencies as a
3447 # side effect of compilation, but ICC will put the dependencies in
3448 # the current directory while Tru64 will put them in the object
3452 am_cv_CC_dependencies_compiler_type=none
3453 if test "$am_compiler_list" = ""; then
3454 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3457 case " $depcc " in #(
3458 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3461 for depmode in $am_compiler_list; do
3462 # Setup a source with many dependencies, because some compilers
3463 # like to wrap large dependency lists on column 80 (with \), and
3464 # we should not choose a depcomp mode which is confused by this.
3466 # We need to recreate these files for each test, as the compiler may
3467 # overwrite some of them when testing with obscure command lines.
3468 # This happens at least with the AIX C compiler.
3470 for i in 1 2 3 4 5 6; do
3471 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3472 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3473 # Solaris 10 /bin/sh.
3474 echo '/* dummy */' > sub/conftst$i.h
3476 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3478 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3479 # mode. It turns out that the SunPro C++ compiler does not properly
3480 # handle '-M -o', and we need to detect this. Also, some Intel
3481 # versions had trouble with output in subdirs.
3482 am__obj=sub/conftest.${OBJEXT-o}
3483 am__minus_obj="-o $am__obj"
3486 # This depmode causes a compiler race in universal mode.
3487 test "$am__universal" = false || continue
3490 # After this tag, mechanisms are not by side-effect, so they'll
3491 # only be used when explicitly requested.
3492 if test "x$enable_dependency_tracking" = xyes; then
3498 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3499 # This compiler won't grok '-c -o', but also, the minuso test has
3500 # not run yet. These depmodes are late enough in the game, and
3501 # so weak that their functioning should not be impacted.
3502 am__obj=conftest.${OBJEXT-o}
3507 if depmode=$depmode \
3508 source=sub/conftest.c object=$am__obj \
3509 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3510 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3511 >/dev/null 2>conftest.err &&
3512 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3513 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3514 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3515 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3516 # icc doesn't choke on unknown options, it will just issue warnings
3517 # or remarks (even with -Werror). So we grep stderr for any message
3518 # that says an option was ignored or not supported.
3519 # When given -MP, icc 7.0 and 7.1 complain thusly:
3520 # icc: Command line warning: ignoring option '-M'; no argument required
3521 # The diagnosis changed in icc 8.0:
3522 # icc: Command line remark: option '-MP' not supported
3523 if (grep 'ignoring option' conftest.err ||
3524 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3525 am_cv_CC_dependencies_compiler_type=$depmode
3534 am_cv_CC_dependencies_compiler_type=none
3538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3539 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3540 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3543 test "x$enable_dependency_tracking" != xno \
3544 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3546 am__fastdepCC_FALSE='#'
3548 am__fastdepCC_TRUE='#'
3549 am__fastdepCC_FALSE=
3554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
3555 $as_echo_n "checking for library containing strerror... " >&6; }
3556 if ${ac_cv_search_strerror+:} false; then :
3557 $as_echo_n "(cached) " >&6
3559 ac_func_search_save_LIBS=$LIBS
3560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3561 /* end confdefs.h. */
3563 /* Override any GCC internal prototype to avoid an error.
3564 Use char because int might match the return type of a GCC
3565 builtin and then its argument prototype would still apply. */
3578 for ac_lib in '' cposix; do
3579 if test -z "$ac_lib"; then
3580 ac_res="none required"
3583 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3585 if ac_fn_c_try_link "$LINENO"; then :
3586 ac_cv_search_strerror=$ac_res
3588 rm -f core conftest.err conftest.$ac_objext \
3590 if ${ac_cv_search_strerror+:} false; then :
3594 if ${ac_cv_search_strerror+:} false; then :
3597 ac_cv_search_strerror=no
3600 LIBS=$ac_func_search_save_LIBS
3602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
3603 $as_echo "$ac_cv_search_strerror" >&6; }
3604 ac_res=$ac_cv_search_strerror
3605 if test "$ac_res" != no; then :
3606 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3611 ac_cpp='$CPP $CPPFLAGS'
3612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3615 if test -n "$ac_tool_prefix"; then
3616 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3617 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3619 $as_echo_n "checking for $ac_word... " >&6; }
3620 if ${ac_cv_prog_CC+:} false; then :
3621 $as_echo_n "(cached) " >&6
3623 if test -n "$CC"; then
3624 ac_cv_prog_CC="$CC" # Let the user override the test.
3626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3630 test -z "$as_dir" && as_dir=.
3631 for ac_exec_ext in '' $ac_executable_extensions; do
3632 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3633 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3634 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3644 if test -n "$CC"; then
3645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3646 $as_echo "$CC" >&6; }
3648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3649 $as_echo "no" >&6; }
3654 if test -z "$ac_cv_prog_CC"; then
3656 # Extract the first word of "gcc", so it can be a program name with args.
3657 set dummy gcc; ac_word=$2
3658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3659 $as_echo_n "checking for $ac_word... " >&6; }
3660 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3661 $as_echo_n "(cached) " >&6
3663 if test -n "$ac_ct_CC"; then
3664 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3670 test -z "$as_dir" && as_dir=.
3671 for ac_exec_ext in '' $ac_executable_extensions; do
3672 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3673 ac_cv_prog_ac_ct_CC="gcc"
3674 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3683 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3684 if test -n "$ac_ct_CC"; then
3685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3686 $as_echo "$ac_ct_CC" >&6; }
3688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3689 $as_echo "no" >&6; }
3692 if test "x$ac_ct_CC" = x; then
3695 case $cross_compiling:$ac_tool_warned in
3697 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3698 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3699 ac_tool_warned=yes ;;
3707 if test -z "$CC"; then
3708 if test -n "$ac_tool_prefix"; then
3709 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3710 set dummy ${ac_tool_prefix}cc; ac_word=$2
3711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3712 $as_echo_n "checking for $ac_word... " >&6; }
3713 if ${ac_cv_prog_CC+:} false; then :
3714 $as_echo_n "(cached) " >&6
3716 if test -n "$CC"; then
3717 ac_cv_prog_CC="$CC" # Let the user override the test.
3719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3723 test -z "$as_dir" && as_dir=.
3724 for ac_exec_ext in '' $ac_executable_extensions; do
3725 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3726 ac_cv_prog_CC="${ac_tool_prefix}cc"
3727 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3737 if test -n "$CC"; then
3738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3739 $as_echo "$CC" >&6; }
3741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3742 $as_echo "no" >&6; }
3748 if test -z "$CC"; then
3749 # Extract the first word of "cc", so it can be a program name with args.
3750 set dummy cc; ac_word=$2
3751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3752 $as_echo_n "checking for $ac_word... " >&6; }
3753 if ${ac_cv_prog_CC+:} false; then :
3754 $as_echo_n "(cached) " >&6
3756 if test -n "$CC"; then
3757 ac_cv_prog_CC="$CC" # Let the user override the test.
3760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3764 test -z "$as_dir" && as_dir=.
3765 for ac_exec_ext in '' $ac_executable_extensions; do
3766 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3767 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3768 ac_prog_rejected=yes
3772 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3779 if test $ac_prog_rejected = yes; then
3780 # We found a bogon in the path, so make sure we never use it.
3781 set dummy $ac_cv_prog_CC
3783 if test $# != 0; then
3784 # We chose a different compiler from the bogus one.
3785 # However, it has the same basename, so the bogon will be chosen
3786 # first if we set CC to just the basename; use the full file name.
3788 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3794 if test -n "$CC"; then
3795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3796 $as_echo "$CC" >&6; }
3798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3799 $as_echo "no" >&6; }
3804 if test -z "$CC"; then
3805 if test -n "$ac_tool_prefix"; then
3806 for ac_prog in cl.exe
3808 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3809 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3811 $as_echo_n "checking for $ac_word... " >&6; }
3812 if ${ac_cv_prog_CC+:} false; then :
3813 $as_echo_n "(cached) " >&6
3815 if test -n "$CC"; then
3816 ac_cv_prog_CC="$CC" # Let the user override the test.
3818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3822 test -z "$as_dir" && as_dir=.
3823 for ac_exec_ext in '' $ac_executable_extensions; do
3824 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3825 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3826 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3836 if test -n "$CC"; then
3837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3838 $as_echo "$CC" >&6; }
3840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3841 $as_echo "no" >&6; }
3845 test -n "$CC" && break
3848 if test -z "$CC"; then
3850 for ac_prog in cl.exe
3852 # Extract the first word of "$ac_prog", so it can be a program name with args.
3853 set dummy $ac_prog; ac_word=$2
3854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3855 $as_echo_n "checking for $ac_word... " >&6; }
3856 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3857 $as_echo_n "(cached) " >&6
3859 if test -n "$ac_ct_CC"; then
3860 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3866 test -z "$as_dir" && as_dir=.
3867 for ac_exec_ext in '' $ac_executable_extensions; do
3868 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3869 ac_cv_prog_ac_ct_CC="$ac_prog"
3870 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3879 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3880 if test -n "$ac_ct_CC"; then
3881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3882 $as_echo "$ac_ct_CC" >&6; }
3884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3885 $as_echo "no" >&6; }
3889 test -n "$ac_ct_CC" && break
3892 if test "x$ac_ct_CC" = x; then
3895 case $cross_compiling:$ac_tool_warned in
3897 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3898 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3899 ac_tool_warned=yes ;;
3908 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3909 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3910 as_fn_error $? "no acceptable C compiler found in \$PATH
3911 See \`config.log' for more details" "$LINENO" 5; }
3913 # Provide some information about the compiler.
3914 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3917 for ac_option in --version -v -V -qversion; do
3918 { { ac_try="$ac_compiler $ac_option >&5"
3920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3921 *) ac_try_echo=$ac_try;;
3923 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3924 $as_echo "$ac_try_echo"; } >&5
3925 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3927 if test -s conftest.err; then
3929 ... rest of stderr output deleted ...
3930 10q' conftest.err >conftest.er1
3931 cat conftest.er1 >&5
3933 rm -f conftest.er1 conftest.err
3934 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3935 test $ac_status = 0; }
3938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3939 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3940 if ${ac_cv_c_compiler_gnu+:} false; then :
3941 $as_echo_n "(cached) " >&6
3943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3944 /* end confdefs.h. */
3957 if ac_fn_c_try_compile "$LINENO"; then :
3962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3963 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3967 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3968 if test $ac_compiler_gnu = yes; then
3973 ac_test_CFLAGS=${CFLAGS+set}
3974 ac_save_CFLAGS=$CFLAGS
3975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3976 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3977 if ${ac_cv_prog_cc_g+:} false; then :
3978 $as_echo_n "(cached) " >&6
3980 ac_save_c_werror_flag=$ac_c_werror_flag
3981 ac_c_werror_flag=yes
3984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3985 /* end confdefs.h. */
3995 if ac_fn_c_try_compile "$LINENO"; then :
3999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4000 /* end confdefs.h. */
4010 if ac_fn_c_try_compile "$LINENO"; then :
4013 ac_c_werror_flag=$ac_save_c_werror_flag
4015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4016 /* end confdefs.h. */
4026 if ac_fn_c_try_compile "$LINENO"; then :
4029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4034 ac_c_werror_flag=$ac_save_c_werror_flag
4036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4037 $as_echo "$ac_cv_prog_cc_g" >&6; }
4038 if test "$ac_test_CFLAGS" = set; then
4039 CFLAGS=$ac_save_CFLAGS
4040 elif test $ac_cv_prog_cc_g = yes; then
4041 if test "$GCC" = yes; then
4047 if test "$GCC" = yes; then
4053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4054 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4055 if ${ac_cv_prog_cc_c89+:} false; then :
4056 $as_echo_n "(cached) " >&6
4058 ac_cv_prog_cc_c89=no
4060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4061 /* end confdefs.h. */
4065 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4066 struct buf { int x; };
4067 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4068 static char *e (p, i)
4074 static char *f (char * (*g) (char **, int), char **p, ...)
4079 s = g (p, va_arg (v,int));
4084 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4085 function prototypes and stuff, but not '\xHH' hex character constants.
4086 These don't provoke an error unfortunately, instead are silently treated
4087 as 'x'. The following induces an error, until -std is added to get
4088 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4089 array size at least. It's necessary to write '\x00'==0 to get something
4090 that's true only with -std. */
4091 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4093 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4094 inside strings and character constants. */
4096 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4098 int test (int i, double x);
4099 struct s1 {int (*f) (int a);};
4100 struct s2 {int (*f) (double a);};
4101 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4107 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4112 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4113 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4115 CC="$ac_save_CC $ac_arg"
4116 if ac_fn_c_try_compile "$LINENO"; then :
4117 ac_cv_prog_cc_c89=$ac_arg
4119 rm -f core conftest.err conftest.$ac_objext
4120 test "x$ac_cv_prog_cc_c89" != "xno" && break
4122 rm -f conftest.$ac_ext
4127 case "x$ac_cv_prog_cc_c89" in
4129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4130 $as_echo "none needed" >&6; } ;;
4132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4133 $as_echo "unsupported" >&6; } ;;
4135 CC="$CC $ac_cv_prog_cc_c89"
4136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4137 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4139 if test "x$ac_cv_prog_cc_c89" != xno; then :
4144 ac_cpp='$CPP $CPPFLAGS'
4145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4149 depcc="$CC" am_compiler_list=
4151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4152 $as_echo_n "checking dependency style of $depcc... " >&6; }
4153 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4154 $as_echo_n "(cached) " >&6
4156 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4157 # We make a subdir and do the tests there. Otherwise we can end up
4158 # making bogus files that we don't know about and never remove. For
4159 # instance it was reported that on HP-UX the gcc test will end up
4160 # making a dummy file named 'D' -- because '-MD' means "put the output
4164 # Copy depcomp to subdir because otherwise we won't find it if we're
4165 # using a relative directory.
4166 cp "$am_depcomp" conftest.dir
4168 # We will build objects and dependencies in a subdirectory because
4169 # it helps to detect inapplicable dependency modes. For instance
4170 # both Tru64's cc and ICC support -MD to output dependencies as a
4171 # side effect of compilation, but ICC will put the dependencies in
4172 # the current directory while Tru64 will put them in the object
4176 am_cv_CC_dependencies_compiler_type=none
4177 if test "$am_compiler_list" = ""; then
4178 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4181 case " $depcc " in #(
4182 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4185 for depmode in $am_compiler_list; do
4186 # Setup a source with many dependencies, because some compilers
4187 # like to wrap large dependency lists on column 80 (with \), and
4188 # we should not choose a depcomp mode which is confused by this.
4190 # We need to recreate these files for each test, as the compiler may
4191 # overwrite some of them when testing with obscure command lines.
4192 # This happens at least with the AIX C compiler.
4194 for i in 1 2 3 4 5 6; do
4195 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4196 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4197 # Solaris 10 /bin/sh.
4198 echo '/* dummy */' > sub/conftst$i.h
4200 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4202 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4203 # mode. It turns out that the SunPro C++ compiler does not properly
4204 # handle '-M -o', and we need to detect this. Also, some Intel
4205 # versions had trouble with output in subdirs.
4206 am__obj=sub/conftest.${OBJEXT-o}
4207 am__minus_obj="-o $am__obj"
4210 # This depmode causes a compiler race in universal mode.
4211 test "$am__universal" = false || continue
4214 # After this tag, mechanisms are not by side-effect, so they'll
4215 # only be used when explicitly requested.
4216 if test "x$enable_dependency_tracking" = xyes; then
4222 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4223 # This compiler won't grok '-c -o', but also, the minuso test has
4224 # not run yet. These depmodes are late enough in the game, and
4225 # so weak that their functioning should not be impacted.
4226 am__obj=conftest.${OBJEXT-o}
4231 if depmode=$depmode \
4232 source=sub/conftest.c object=$am__obj \
4233 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4234 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4235 >/dev/null 2>conftest.err &&
4236 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4237 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4238 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4239 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4240 # icc doesn't choke on unknown options, it will just issue warnings
4241 # or remarks (even with -Werror). So we grep stderr for any message
4242 # that says an option was ignored or not supported.
4243 # When given -MP, icc 7.0 and 7.1 complain thusly:
4244 # icc: Command line warning: ignoring option '-M'; no argument required
4245 # The diagnosis changed in icc 8.0:
4246 # icc: Command line remark: option '-MP' not supported
4247 if (grep 'ignoring option' conftest.err ||
4248 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4249 am_cv_CC_dependencies_compiler_type=$depmode
4258 am_cv_CC_dependencies_compiler_type=none
4262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4263 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4264 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4267 test "x$enable_dependency_tracking" != xno \
4268 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4270 am__fastdepCC_FALSE='#'
4272 am__fastdepCC_TRUE='#'
4273 am__fastdepCC_FALSE=
4278 ac_cpp='$CPP $CPPFLAGS'
4279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4283 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4284 # On Suns, sometimes $CPP names a directory.
4285 if test -n "$CPP" && test -d "$CPP"; then
4288 if test -z "$CPP"; then
4289 if ${ac_cv_prog_CPP+:} false; then :
4290 $as_echo_n "(cached) " >&6
4292 # Double quotes because CPP needs to be expanded
4293 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4296 for ac_c_preproc_warn_flag in '' yes
4298 # Use a header file that comes with gcc, so configuring glibc
4299 # with a fresh cross-compiler works.
4300 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4301 # <limits.h> exists even on freestanding compilers.
4302 # On the NeXT, cc -E runs the code through the compiler's parser,
4303 # not just through cpp. "Syntax error" is here to catch this case.
4304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4305 /* end confdefs.h. */
4307 # include <limits.h>
4309 # include <assert.h>
4313 if ac_fn_c_try_cpp "$LINENO"; then :
4316 # Broken: fails on valid input.
4319 rm -f conftest.err conftest.i conftest.$ac_ext
4321 # OK, works on sane cases. Now check whether nonexistent headers
4322 # can be detected and how.
4323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4324 /* end confdefs.h. */
4325 #include <ac_nonexistent.h>
4327 if ac_fn_c_try_cpp "$LINENO"; then :
4328 # Broken: success on invalid input.
4331 # Passes both tests.
4335 rm -f conftest.err conftest.i conftest.$ac_ext
4338 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4339 rm -f conftest.i conftest.err conftest.$ac_ext
4340 if $ac_preproc_ok; then :
4352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4353 $as_echo "$CPP" >&6; }
4355 for ac_c_preproc_warn_flag in '' yes
4357 # Use a header file that comes with gcc, so configuring glibc
4358 # with a fresh cross-compiler works.
4359 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4360 # <limits.h> exists even on freestanding compilers.
4361 # On the NeXT, cc -E runs the code through the compiler's parser,
4362 # not just through cpp. "Syntax error" is here to catch this case.
4363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4364 /* end confdefs.h. */
4366 # include <limits.h>
4368 # include <assert.h>
4372 if ac_fn_c_try_cpp "$LINENO"; then :
4375 # Broken: fails on valid input.
4378 rm -f conftest.err conftest.i conftest.$ac_ext
4380 # OK, works on sane cases. Now check whether nonexistent headers
4381 # can be detected and how.
4382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4383 /* end confdefs.h. */
4384 #include <ac_nonexistent.h>
4386 if ac_fn_c_try_cpp "$LINENO"; then :
4387 # Broken: success on invalid input.
4390 # Passes both tests.
4394 rm -f conftest.err conftest.i conftest.$ac_ext
4397 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4398 rm -f conftest.i conftest.err conftest.$ac_ext
4399 if $ac_preproc_ok; then :
4402 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4403 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4404 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4405 See \`config.log' for more details" "$LINENO" 5; }
4409 ac_cpp='$CPP $CPPFLAGS'
4410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4416 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4417 if ${ac_cv_path_GREP+:} false; then :
4418 $as_echo_n "(cached) " >&6
4420 if test -z "$GREP"; then
4421 ac_path_GREP_found=false
4422 # Loop through the user's path and test for each of PROGNAME-LIST
4423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4424 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4427 test -z "$as_dir" && as_dir=.
4428 for ac_prog in grep ggrep; do
4429 for ac_exec_ext in '' $ac_executable_extensions; do
4430 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4431 as_fn_executable_p "$ac_path_GREP" || continue
4432 # Check for GNU ac_path_GREP and select it if it is found.
4433 # Check for GNU $ac_path_GREP
4434 case `"$ac_path_GREP" --version 2>&1` in
4436 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4439 $as_echo_n 0123456789 >"conftest.in"
4442 cat "conftest.in" "conftest.in" >"conftest.tmp"
4443 mv "conftest.tmp" "conftest.in"
4444 cp "conftest.in" "conftest.nl"
4445 $as_echo 'GREP' >> "conftest.nl"
4446 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4447 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4448 as_fn_arith $ac_count + 1 && ac_count=$as_val
4449 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4450 # Best one so far, save it but keep looking for a better one
4451 ac_cv_path_GREP="$ac_path_GREP"
4452 ac_path_GREP_max=$ac_count
4454 # 10*(2^10) chars as input seems more than enough
4455 test $ac_count -gt 10 && break
4457 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4460 $ac_path_GREP_found && break 3
4465 if test -z "$ac_cv_path_GREP"; then
4466 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4469 ac_cv_path_GREP=$GREP
4473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4474 $as_echo "$ac_cv_path_GREP" >&6; }
4475 GREP="$ac_cv_path_GREP"
4478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4479 $as_echo_n "checking for egrep... " >&6; }
4480 if ${ac_cv_path_EGREP+:} false; then :
4481 $as_echo_n "(cached) " >&6
4483 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4484 then ac_cv_path_EGREP="$GREP -E"
4486 if test -z "$EGREP"; then
4487 ac_path_EGREP_found=false
4488 # Loop through the user's path and test for each of PROGNAME-LIST
4489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4490 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4493 test -z "$as_dir" && as_dir=.
4494 for ac_prog in egrep; do
4495 for ac_exec_ext in '' $ac_executable_extensions; do
4496 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4497 as_fn_executable_p "$ac_path_EGREP" || continue
4498 # Check for GNU ac_path_EGREP and select it if it is found.
4499 # Check for GNU $ac_path_EGREP
4500 case `"$ac_path_EGREP" --version 2>&1` in
4502 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4505 $as_echo_n 0123456789 >"conftest.in"
4508 cat "conftest.in" "conftest.in" >"conftest.tmp"
4509 mv "conftest.tmp" "conftest.in"
4510 cp "conftest.in" "conftest.nl"
4511 $as_echo 'EGREP' >> "conftest.nl"
4512 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4513 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4514 as_fn_arith $ac_count + 1 && ac_count=$as_val
4515 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4516 # Best one so far, save it but keep looking for a better one
4517 ac_cv_path_EGREP="$ac_path_EGREP"
4518 ac_path_EGREP_max=$ac_count
4520 # 10*(2^10) chars as input seems more than enough
4521 test $ac_count -gt 10 && break
4523 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4526 $ac_path_EGREP_found && break 3
4531 if test -z "$ac_cv_path_EGREP"; then
4532 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4535 ac_cv_path_EGREP=$EGREP
4540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4541 $as_echo "$ac_cv_path_EGREP" >&6; }
4542 EGREP="$ac_cv_path_EGREP"
4545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4546 $as_echo_n "checking for ANSI C header files... " >&6; }
4547 if ${ac_cv_header_stdc+:} false; then :
4548 $as_echo_n "(cached) " >&6
4550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4551 /* end confdefs.h. */
4565 if ac_fn_c_try_compile "$LINENO"; then :
4566 ac_cv_header_stdc=yes
4568 ac_cv_header_stdc=no
4570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4572 if test $ac_cv_header_stdc = yes; then
4573 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4575 /* end confdefs.h. */
4579 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4580 $EGREP "memchr" >/dev/null 2>&1; then :
4583 ac_cv_header_stdc=no
4589 if test $ac_cv_header_stdc = yes; then
4590 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4592 /* end confdefs.h. */
4596 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4597 $EGREP "free" >/dev/null 2>&1; then :
4600 ac_cv_header_stdc=no
4606 if test $ac_cv_header_stdc = yes; then
4607 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4608 if test "$cross_compiling" = yes; then :
4611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4612 /* end confdefs.h. */
4615 #if ((' ' & 0x0FF) == 0x020)
4616 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4617 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4619 # define ISLOWER(c) \
4620 (('a' <= (c) && (c) <= 'i') \
4621 || ('j' <= (c) && (c) <= 'r') \
4622 || ('s' <= (c) && (c) <= 'z'))
4623 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4626 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4631 for (i = 0; i < 256; i++)
4632 if (XOR (islower (i), ISLOWER (i))
4633 || toupper (i) != TOUPPER (i))
4638 if ac_fn_c_try_run "$LINENO"; then :
4641 ac_cv_header_stdc=no
4643 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4644 conftest.$ac_objext conftest.beam conftest.$ac_ext
4649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4650 $as_echo "$ac_cv_header_stdc" >&6; }
4651 if test $ac_cv_header_stdc = yes; then
4653 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4657 for ac_prog in 'bison -y' byacc
4659 # Extract the first word of "$ac_prog", so it can be a program name with args.
4660 set dummy $ac_prog; ac_word=$2
4661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4662 $as_echo_n "checking for $ac_word... " >&6; }
4663 if ${ac_cv_prog_YACC+:} false; then :
4664 $as_echo_n "(cached) " >&6
4666 if test -n "$YACC"; then
4667 ac_cv_prog_YACC="$YACC" # Let the user override the test.
4669 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4673 test -z "$as_dir" && as_dir=.
4674 for ac_exec_ext in '' $ac_executable_extensions; do
4675 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4676 ac_cv_prog_YACC="$ac_prog"
4677 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4686 YACC=$ac_cv_prog_YACC
4687 if test -n "$YACC"; then
4688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
4689 $as_echo "$YACC" >&6; }
4691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4692 $as_echo "no" >&6; }
4696 test -n "$YACC" && break
4698 test -n "$YACC" || YACC="yacc"
4700 for ac_prog in flex lex
4702 # Extract the first word of "$ac_prog", so it can be a program name with args.
4703 set dummy $ac_prog; ac_word=$2
4704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4705 $as_echo_n "checking for $ac_word... " >&6; }
4706 if ${ac_cv_prog_LEX+:} false; then :
4707 $as_echo_n "(cached) " >&6
4709 if test -n "$LEX"; then
4710 ac_cv_prog_LEX="$LEX" # Let the user override the test.
4712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4716 test -z "$as_dir" && as_dir=.
4717 for ac_exec_ext in '' $ac_executable_extensions; do
4718 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4719 ac_cv_prog_LEX="$ac_prog"
4720 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4730 if test -n "$LEX"; then
4731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
4732 $as_echo "$LEX" >&6; }
4734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4735 $as_echo "no" >&6; }
4739 test -n "$LEX" && break
4741 test -n "$LEX" || LEX=":"
4743 if test "x$LEX" != "x:"; then
4744 cat >conftest.l <<_ACEOF
4750 e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument. */
4751 yyless ((input () != 0)); }
4752 f { unput (yytext[0]); }
4753 . { BEGIN INITIAL; }
4755 #ifdef YYTEXT_POINTER
4756 extern char *yytext;
4761 return ! yylex () + ! yywrap ();
4764 { { ac_try="$LEX conftest.l"
4766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4767 *) ac_try_echo=$ac_try;;
4769 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4770 $as_echo "$ac_try_echo"; } >&5
4771 (eval "$LEX conftest.l") 2>&5
4773 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4774 test $ac_status = 0; }
4775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
4776 $as_echo_n "checking lex output file root... " >&6; }
4777 if ${ac_cv_prog_lex_root+:} false; then :
4778 $as_echo_n "(cached) " >&6
4781 if test -f lex.yy.c; then
4782 ac_cv_prog_lex_root=lex.yy
4783 elif test -f lexyy.c; then
4784 ac_cv_prog_lex_root=lexyy
4786 as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
4789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
4790 $as_echo "$ac_cv_prog_lex_root" >&6; }
4791 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
4793 if test -z "${LEXLIB+set}"; then
4794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
4795 $as_echo_n "checking lex library... " >&6; }
4796 if ${ac_cv_lib_lex+:} false; then :
4797 $as_echo_n "(cached) " >&6
4801 ac_cv_lib_lex='none needed'
4802 for ac_lib in '' -lfl -ll; do
4803 LIBS="$ac_lib $ac_save_LIBS"
4804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4805 /* end confdefs.h. */
4806 `cat $LEX_OUTPUT_ROOT.c`
4808 if ac_fn_c_try_link "$LINENO"; then :
4809 ac_cv_lib_lex=$ac_lib
4811 rm -f core conftest.err conftest.$ac_objext \
4812 conftest$ac_exeext conftest.$ac_ext
4813 test "$ac_cv_lib_lex" != 'none needed' && break
4818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
4819 $as_echo "$ac_cv_lib_lex" >&6; }
4820 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
4824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
4825 $as_echo_n "checking whether yytext is a pointer... " >&6; }
4826 if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
4827 $as_echo_n "(cached) " >&6
4829 # POSIX says lex can declare yytext either as a pointer or an array; the
4830 # default is implementation-dependent. Figure out which it is, since
4831 # not all implementations provide the %pointer and %array declarations.
4832 ac_cv_prog_lex_yytext_pointer=no
4834 LIBS="$LEXLIB $ac_save_LIBS"
4835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4836 /* end confdefs.h. */
4838 #define YYTEXT_POINTER 1
4839 `cat $LEX_OUTPUT_ROOT.c`
4841 if ac_fn_c_try_link "$LINENO"; then :
4842 ac_cv_prog_lex_yytext_pointer=yes
4844 rm -f core conftest.err conftest.$ac_objext \
4845 conftest$ac_exeext conftest.$ac_ext
4849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
4850 $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
4851 if test $ac_cv_prog_lex_yytext_pointer = yes; then
4853 $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
4856 rm -f conftest.l $LEX_OUTPUT_ROOT.c
4859 if test "$LEX" = :; then
4860 LEX=${am_missing_run}flex
4864 ac_cpp='$CPP $CPPFLAGS'
4865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4869 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4870 # On Suns, sometimes $CPP names a directory.
4871 if test -n "$CPP" && test -d "$CPP"; then
4874 if test -z "$CPP"; then
4875 if ${ac_cv_prog_CPP+:} false; then :
4876 $as_echo_n "(cached) " >&6
4878 # Double quotes because CPP needs to be expanded
4879 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4882 for ac_c_preproc_warn_flag in '' yes
4884 # Use a header file that comes with gcc, so configuring glibc
4885 # with a fresh cross-compiler works.
4886 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4887 # <limits.h> exists even on freestanding compilers.
4888 # On the NeXT, cc -E runs the code through the compiler's parser,
4889 # not just through cpp. "Syntax error" is here to catch this case.
4890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4891 /* end confdefs.h. */
4893 # include <limits.h>
4895 # include <assert.h>
4899 if ac_fn_c_try_cpp "$LINENO"; then :
4902 # Broken: fails on valid input.
4905 rm -f conftest.err conftest.i conftest.$ac_ext
4907 # OK, works on sane cases. Now check whether nonexistent headers
4908 # can be detected and how.
4909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4910 /* end confdefs.h. */
4911 #include <ac_nonexistent.h>
4913 if ac_fn_c_try_cpp "$LINENO"; then :
4914 # Broken: success on invalid input.
4917 # Passes both tests.
4921 rm -f conftest.err conftest.i conftest.$ac_ext
4924 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4925 rm -f conftest.i conftest.err conftest.$ac_ext
4926 if $ac_preproc_ok; then :
4938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4939 $as_echo "$CPP" >&6; }
4941 for ac_c_preproc_warn_flag in '' yes
4943 # Use a header file that comes with gcc, so configuring glibc
4944 # with a fresh cross-compiler works.
4945 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4946 # <limits.h> exists even on freestanding compilers.
4947 # On the NeXT, cc -E runs the code through the compiler's parser,
4948 # not just through cpp. "Syntax error" is here to catch this case.
4949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4950 /* end confdefs.h. */
4952 # include <limits.h>
4954 # include <assert.h>
4958 if ac_fn_c_try_cpp "$LINENO"; then :
4961 # Broken: fails on valid input.
4964 rm -f conftest.err conftest.i conftest.$ac_ext
4966 # OK, works on sane cases. Now check whether nonexistent headers
4967 # can be detected and how.
4968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4969 /* end confdefs.h. */
4970 #include <ac_nonexistent.h>
4972 if ac_fn_c_try_cpp "$LINENO"; then :
4973 # Broken: success on invalid input.
4976 # Passes both tests.
4980 rm -f conftest.err conftest.i conftest.$ac_ext
4983 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4984 rm -f conftest.i conftest.err conftest.$ac_ext
4985 if $ac_preproc_ok; then :
4988 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4989 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4990 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4991 See \`config.log' for more details" "$LINENO" 5; }
4995 ac_cpp='$CPP $CPPFLAGS'
4996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5000 # Extract the first word of "rm", so it can be a program name with args.
5001 set dummy rm; ac_word=$2
5002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5003 $as_echo_n "checking for $ac_word... " >&6; }
5004 if ${ac_cv_path_RM+:} false; then :
5005 $as_echo_n "(cached) " >&6
5009 ac_cv_path_RM="$RM" # Let the user override the test with a path.
5012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5016 test -z "$as_dir" && as_dir=.
5017 for ac_exec_ext in '' $ac_executable_extensions; do
5018 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5019 ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
5020 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5027 test -z "$ac_cv_path_RM" && ac_cv_path_RM="/bin/rm"
5032 if test -n "$RM"; then
5033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
5034 $as_echo "$RM" >&6; }
5036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5037 $as_echo "no" >&6; }
5041 # Extract the first word of "mv", so it can be a program name with args.
5042 set dummy mv; ac_word=$2
5043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5044 $as_echo_n "checking for $ac_word... " >&6; }
5045 if ${ac_cv_path_MV+:} false; then :
5046 $as_echo_n "(cached) " >&6
5050 ac_cv_path_MV="$MV" # Let the user override the test with a path.
5053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5057 test -z "$as_dir" && as_dir=.
5058 for ac_exec_ext in '' $ac_executable_extensions; do
5059 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5060 ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext"
5061 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5068 test -z "$ac_cv_path_MV" && ac_cv_path_MV="/bin/mv"
5073 if test -n "$MV"; then
5074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MV" >&5
5075 $as_echo "$MV" >&6; }
5077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5078 $as_echo "no" >&6; }
5082 # Extract the first word of "tar", so it can be a program name with args.
5083 set dummy tar; ac_word=$2
5084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5085 $as_echo_n "checking for $ac_word... " >&6; }
5086 if ${ac_cv_path_TAR+:} false; then :
5087 $as_echo_n "(cached) " >&6
5091 ac_cv_path_TAR="$TAR" # Let the user override the test with a path.
5094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5098 test -z "$as_dir" && as_dir=.
5099 for ac_exec_ext in '' $ac_executable_extensions; do
5100 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5101 ac_cv_path_TAR="$as_dir/$ac_word$ac_exec_ext"
5102 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5109 test -z "$ac_cv_path_TAR" && ac_cv_path_TAR="/bin/tar"
5114 if test -n "$TAR"; then
5115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TAR" >&5
5116 $as_echo "$TAR" >&6; }
5118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5119 $as_echo "no" >&6; }
5130 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
5131 if test -n "$ac_tool_prefix"; then
5132 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5133 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5135 $as_echo_n "checking for $ac_word... " >&6; }
5136 if ${ac_cv_path_PKG_CONFIG+:} false; then :
5137 $as_echo_n "(cached) " >&6
5141 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
5144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5148 test -z "$as_dir" && as_dir=.
5149 for ac_exec_ext in '' $ac_executable_extensions; do
5150 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5151 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5152 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5162 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
5163 if test -n "$PKG_CONFIG"; then
5164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5165 $as_echo "$PKG_CONFIG" >&6; }
5167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5168 $as_echo "no" >&6; }
5173 if test -z "$ac_cv_path_PKG_CONFIG"; then
5174 ac_pt_PKG_CONFIG=$PKG_CONFIG
5175 # Extract the first word of "pkg-config", so it can be a program name with args.
5176 set dummy pkg-config; ac_word=$2
5177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5178 $as_echo_n "checking for $ac_word... " >&6; }
5179 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
5180 $as_echo_n "(cached) " >&6
5182 case $ac_pt_PKG_CONFIG in
5184 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
5187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5191 test -z "$as_dir" && as_dir=.
5192 for ac_exec_ext in '' $ac_executable_extensions; do
5193 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5194 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5195 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5205 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
5206 if test -n "$ac_pt_PKG_CONFIG"; then
5207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
5208 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
5210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5211 $as_echo "no" >&6; }
5214 if test "x$ac_pt_PKG_CONFIG" = x; then
5217 case $cross_compiling:$ac_tool_warned in
5219 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5220 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5221 ac_tool_warned=yes ;;
5223 PKG_CONFIG=$ac_pt_PKG_CONFIG
5226 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
5230 if test -n "$PKG_CONFIG"; then
5231 _pkg_min_version=0.9.0
5232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
5233 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
5234 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
5235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5236 $as_echo "yes" >&6; }
5238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5239 $as_echo "no" >&6; }
5245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
5246 $as_echo_n "checking for GLIB... " >&6; }
5248 if test -n "$GLIB_CFLAGS"; then
5249 pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
5250 elif test -n "$PKG_CONFIG"; then
5251 if test -n "$PKG_CONFIG" && \
5252 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_REQUIRED\""; } >&5
5253 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB_REQUIRED") 2>&5
5255 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5256 test $ac_status = 0; }; then
5257 pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= $GLIB_REQUIRED" 2>/dev/null`
5258 test "x$?" != "x0" && pkg_failed=yes
5265 if test -n "$GLIB_LIBS"; then
5266 pkg_cv_GLIB_LIBS="$GLIB_LIBS"
5267 elif test -n "$PKG_CONFIG"; then
5268 if test -n "$PKG_CONFIG" && \
5269 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_REQUIRED\""; } >&5
5270 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB_REQUIRED") 2>&5
5272 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5273 test $ac_status = 0; }; then
5274 pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= $GLIB_REQUIRED" 2>/dev/null`
5275 test "x$?" != "x0" && pkg_failed=yes
5285 if test $pkg_failed = yes; then
5286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5287 $as_echo "no" >&6; }
5289 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5290 _pkg_short_errors_supported=yes
5292 _pkg_short_errors_supported=no
5294 if test $_pkg_short_errors_supported = yes; then
5295 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= $GLIB_REQUIRED" 2>&1`
5297 GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= $GLIB_REQUIRED" 2>&1`
5299 # Put the nasty error message in config.log where it belongs
5300 echo "$GLIB_PKG_ERRORS" >&5
5302 as_fn_error $? "Package requirements (glib-2.0 >= $GLIB_REQUIRED) were not met:
5306 Consider adjusting the PKG_CONFIG_PATH environment variable if you
5307 installed software in a non-standard prefix.
5309 Alternatively, you may set the environment variables GLIB_CFLAGS
5310 and GLIB_LIBS to avoid the need to call pkg-config.
5311 See the pkg-config man page for more details." "$LINENO" 5
5312 elif test $pkg_failed = untried; then
5313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5314 $as_echo "no" >&6; }
5315 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5316 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5317 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
5318 is in your PATH or set the PKG_CONFIG environment variable to the full
5321 Alternatively, you may set the environment variables GLIB_CFLAGS
5322 and GLIB_LIBS to avoid the need to call pkg-config.
5323 See the pkg-config man page for more details.
5325 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
5326 See \`config.log' for more details" "$LINENO" 5; }
5328 GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
5329 GLIB_LIBS=$pkg_cv_GLIB_LIBS
5330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5331 $as_echo "yes" >&6; }
5344 ac_config_files="$ac_config_files gob2.spec Makefile src/Makefile doc/Makefile examples/Makefile doc/gob2.1"
5346 cat >confcache <<\_ACEOF
5347 # This file is a shell script that caches the results of configure
5348 # tests run on this system so they can be shared between configure
5349 # scripts and configure runs, see configure's option --config-cache.
5350 # It is not useful on other systems. If it contains results you don't
5351 # want to keep, you may remove or edit it.
5353 # config.status only pays attention to the cache file if you give it
5354 # the --recheck option to rerun configure.
5356 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5357 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5362 # The following way of writing the cache mishandles newlines in values,
5363 # but we know of no workaround that is simple, portable, and efficient.
5364 # So, we kill variables containing newlines.
5365 # Ultrix sh set writes to stderr and can't be redirected directly,
5366 # and sets the high bit in the cache file unless we assign to the vars.
5368 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5369 eval ac_val=\$$ac_var
5373 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5374 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5377 _ | IFS | as_nl) ;; #(
5378 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5379 *) { eval $ac_var=; unset $ac_var;} ;;
5385 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5386 *${as_nl}ac_space=\ *)
5387 # `set' does not quote correctly, so add quotes: double-quote
5388 # substitution turns \\\\ into \\, and sed turns \\ into \.
5391 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5394 # `set' quotes correctly as required by POSIX, so do not add quotes.
5395 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5404 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5406 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5408 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5409 if test -w "$cache_file"; then
5410 if test "x$cache_file" != "x/dev/null"; then
5411 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5412 $as_echo "$as_me: updating cache $cache_file" >&6;}
5413 if test ! -f "$cache_file" || test -h "$cache_file"; then
5414 cat confcache >"$cache_file"
5416 case $cache_file in #(
5418 mv -f confcache "$cache_file"$$ &&
5419 mv -f "$cache_file"$$ "$cache_file" ;; #(
5421 mv -f confcache "$cache_file" ;;
5426 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5427 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5432 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5433 # Let make expand exec_prefix.
5434 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5436 DEFS=-DHAVE_CONFIG_H
5440 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5441 # 1. Remove the extension, and $U if already installed.
5442 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5443 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5444 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5445 # will be set to the directory where LIBOBJS objects are built.
5446 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5447 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5451 LTLIBOBJS=$ac_ltlibobjs
5454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
5455 $as_echo_n "checking that generated files are newer than configure... " >&6; }
5456 if test -n "$am_sleep_pid"; then
5457 # Hide warnings about reused PIDs.
5458 wait $am_sleep_pid 2>/dev/null
5460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
5461 $as_echo "done" >&6; }
5462 if test -n "$EXEEXT"; then
5464 am__EXEEXT_FALSE='#'
5470 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
5471 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
5472 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5474 if test -z "${NOINSTGOB_TRUE}" && test -z "${NOINSTGOB_FALSE}"; then
5475 as_fn_error $? "conditional \"NOINSTGOB\" was never defined.
5476 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5478 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5479 as_fn_error $? "conditional \"AMDEP\" was never defined.
5480 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5482 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5483 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
5484 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5486 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5487 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
5488 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5491 : "${CONFIG_STATUS=./config.status}"
5493 ac_clean_files_save=$ac_clean_files
5494 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5495 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5496 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5498 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5500 # Generated by $as_me.
5501 # Run this file to recreate the current configuration.
5502 # Compiler output produced by configure, useful for debugging
5503 # configure, is in config.log if it exists.
5509 SHELL=\${CONFIG_SHELL-$SHELL}
5512 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5513 ## -------------------- ##
5514 ## M4sh Initialization. ##
5515 ## -------------------- ##
5517 # Be more Bourne compatible
5518 DUALCASE=1; export DUALCASE # for MKS sh
5519 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
5522 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5523 # is contrary to our usage. Disable this feature.
5524 alias -g '${1+"$@"}'='"$@"'
5525 setopt NO_GLOB_SUBST
5527 case `(set -o) 2>/dev/null` in #(
5539 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5540 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5541 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5542 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5543 # Prefer a ksh shell builtin over an external printf program on Solaris,
5544 # but without wasting forks for bash or zsh.
5545 if test -z "$BASH_VERSION$ZSH_VERSION" \
5546 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5547 as_echo='print -r --'
5548 as_echo_n='print -rn --'
5549 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5550 as_echo='printf %s\n'
5551 as_echo_n='printf %s'
5553 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5554 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5555 as_echo_n='/usr/ucb/echo -n'
5557 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5558 as_echo_n_body='eval
5562 expr "X$arg" : "X\\(.*\\)$as_nl";
5563 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5565 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5567 export as_echo_n_body
5568 as_echo_n='sh -c $as_echo_n_body as_echo'
5571 as_echo='sh -c $as_echo_body as_echo'
5574 # The user is always right.
5575 if test "${PATH_SEPARATOR+set}" != set; then
5577 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5578 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5585 # We need space, tab and new line, in precisely that order. Quoting is
5586 # there to prevent editors from complaining about space-tab.
5587 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5588 # splitting by setting IFS to empty value.)
5591 # Find who we are. Look in the path if we contain no directory separator.
5594 *[\\/]* ) as_myself=$0 ;;
5595 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5599 test -z "$as_dir" && as_dir=.
5600 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5606 # We did not find ourselves, most probably we were run as `sh COMMAND'
5607 # in which case we are not to be found in the path.
5608 if test "x$as_myself" = x; then
5611 if test ! -f "$as_myself"; then
5612 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5616 # Unset variables that we do not need and which cause bugs (e.g. in
5617 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5618 # suppresses any "Segmentation fault" message there. '((' could
5619 # trigger a bug in pdksh 5.2.14.
5620 for as_var in BASH_ENV ENV MAIL MAILPATH
5621 do eval test x\${$as_var+set} = xset \
5622 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5635 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5638 # as_fn_error STATUS ERROR [LINENO LOG_FD]
5639 # ----------------------------------------
5640 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5641 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5642 # script with STATUS, using 1 if that was 0.
5645 as_status=$1; test $as_status -eq 0 && as_status=1
5647 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5648 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5650 $as_echo "$as_me: error: $2" >&2
5651 as_fn_exit $as_status
5655 # as_fn_set_status STATUS
5656 # -----------------------
5657 # Set $? to STATUS, without forking.
5661 } # as_fn_set_status
5665 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5675 # Portably unset VAR.
5678 { eval $1=; unset $1;}
5680 as_unset=as_fn_unset
5681 # as_fn_append VAR VALUE
5682 # ----------------------
5683 # Append the text in VALUE to the end of the definition contained in VAR. Take
5684 # advantage of any shell optimizations that allow amortized linear growth over
5685 # repeated appends, instead of the typical quadratic growth present in naive
5687 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5688 eval 'as_fn_append ()
5699 # as_fn_arith ARG...
5700 # ------------------
5701 # Perform arithmetic evaluation on the ARGs, and store the result in the
5702 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5703 # must be portable across $(()) and expr.
5704 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5705 eval 'as_fn_arith ()
5712 as_val=`expr "$@" || test $? -eq 1`
5717 if expr a : '\(a\)' >/dev/null 2>&1 &&
5718 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5724 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5725 as_basename=basename
5730 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5736 as_me=`$as_basename -- "$0" ||
5737 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5738 X"$0" : 'X\(//\)$' \| \
5739 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5741 sed '/^.*\/\([^/][^/]*\)\/*$/{
5755 # Avoid depending upon Character Ranges.
5756 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5757 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5758 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5759 as_cr_digits='0123456789'
5760 as_cr_alnum=$as_cr_Letters$as_cr_digits
5762 ECHO_C= ECHO_N= ECHO_T=
5763 case `echo -n x` in #(((((
5765 case `echo 'xy\c'` in
5766 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5768 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
5775 rm -f conf$$ conf$$.exe conf$$.file
5776 if test -d conf$$.dir; then
5777 rm -f conf$$.dir/conf$$.file
5780 mkdir conf$$.dir 2>/dev/null
5782 if (echo >conf$$.file) 2>/dev/null; then
5783 if ln -s conf$$.file conf$$ 2>/dev/null; then
5785 # ... but there are two gotchas:
5786 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5787 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5788 # In both cases, we have to default to `cp -pR'.
5789 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5791 elif ln conf$$.file conf$$ 2>/dev/null; then
5799 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5800 rmdir conf$$.dir 2>/dev/null
5805 # Create "$as_dir" as a directory, including parents if necessary.
5810 -*) as_dir=./$as_dir;;
5812 test -d "$as_dir" || eval $as_mkdir_p || {
5816 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5817 *) as_qdir=$as_dir;;
5819 as_dirs="'$as_qdir' $as_dirs"
5820 as_dir=`$as_dirname -- "$as_dir" ||
5821 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5822 X"$as_dir" : 'X\(//\)[^/]' \| \
5823 X"$as_dir" : 'X\(//\)$' \| \
5824 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5825 $as_echo X"$as_dir" |
5826 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5843 test -d "$as_dir" && break
5845 test -z "$as_dirs" || eval "mkdir $as_dirs"
5846 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5850 if mkdir -p . 2>/dev/null; then
5851 as_mkdir_p='mkdir -p "$as_dir"'
5853 test -d ./-p && rmdir ./-p
5858 # as_fn_executable_p FILE
5859 # -----------------------
5860 # Test if FILE is an executable regular file.
5861 as_fn_executable_p ()
5863 test -f "$1" && test -x "$1"
5864 } # as_fn_executable_p
5866 as_executable_p=as_fn_executable_p
5868 # Sed expression to map a string onto a valid CPP name.
5869 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5871 # Sed expression to map a string onto a valid variable name.
5872 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5876 ## ----------------------------------- ##
5877 ## Main body of $CONFIG_STATUS script. ##
5878 ## ----------------------------------- ##
5880 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5882 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5883 # Save the log message, to keep $0 and so on meaningful, and to
5884 # report actual input values of CONFIG_FILES etc. instead of their
5885 # values after options handling.
5887 This file was extended by gob2 $as_me 2.0.20, which was
5888 generated by GNU Autoconf 2.69. Invocation command line was
5890 CONFIG_FILES = $CONFIG_FILES
5891 CONFIG_HEADERS = $CONFIG_HEADERS
5892 CONFIG_LINKS = $CONFIG_LINKS
5893 CONFIG_COMMANDS = $CONFIG_COMMANDS
5896 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5901 case $ac_config_files in *"
5902 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5905 case $ac_config_headers in *"
5906 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
5910 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5911 # Files that config.status was made for.
5912 config_files="$ac_config_files"
5913 config_headers="$ac_config_headers"
5914 config_commands="$ac_config_commands"
5918 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5920 \`$as_me' instantiates files and other configuration actions
5921 from templates according to the current configuration. Unless the files
5922 and actions are specified as TAGs, all are instantiated by default.
5924 Usage: $0 [OPTION]... [TAG]...
5926 -h, --help print this help, then exit
5927 -V, --version print version number and configuration settings, then exit
5928 --config print configuration, then exit
5929 -q, --quiet, --silent
5930 do not print progress messages
5931 -d, --debug don't remove temporary files
5932 --recheck update $as_me by reconfiguring in the same conditions
5933 --file=FILE[:TEMPLATE]
5934 instantiate the configuration file FILE
5935 --header=FILE[:TEMPLATE]
5936 instantiate the configuration header FILE
5938 Configuration files:
5941 Configuration headers:
5944 Configuration commands:
5947 Report bugs to the package provider."
5950 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5951 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5953 gob2 config.status 2.0.20
5954 configured by $0, generated by GNU Autoconf 2.69,
5955 with options \\"\$ac_cs_config\\"
5957 Copyright (C) 2012 Free Software Foundation, Inc.
5958 This config.status script is free software; the Free Software Foundation
5959 gives unlimited permission to copy, distribute and modify it."
5966 test -n "\$AWK" || AWK=awk
5969 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5970 # The default lists apply if the user does not specify any file.
5976 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5977 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5981 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5993 # Handling of the options.
5994 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5996 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5997 $as_echo "$ac_cs_version"; exit ;;
5998 --config | --confi | --conf | --con | --co | --c )
5999 $as_echo "$ac_cs_config"; exit ;;
6000 --debug | --debu | --deb | --de | --d | -d )
6002 --file | --fil | --fi | --f )
6005 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6006 '') as_fn_error $? "missing file argument" ;;
6008 as_fn_append CONFIG_FILES " '$ac_optarg'"
6009 ac_need_defaults=false;;
6010 --header | --heade | --head | --hea )
6013 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6015 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
6016 ac_need_defaults=false;;
6018 # Conflict between --help and --header
6019 as_fn_error $? "ambiguous option: \`$1'
6020 Try \`$0 --help' for more information.";;
6021 --help | --hel | -h )
6022 $as_echo "$ac_cs_usage"; exit ;;
6023 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6024 | -silent | --silent | --silen | --sile | --sil | --si | --s)
6028 -*) as_fn_error $? "unrecognized option: \`$1'
6029 Try \`$0 --help' for more information." ;;
6031 *) as_fn_append ac_config_targets " $1"
6032 ac_need_defaults=false ;;
6038 ac_configure_extra_args=
6040 if $ac_cs_silent; then
6042 ac_configure_extra_args="$ac_configure_extra_args --silent"
6046 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6047 if \$ac_cs_recheck; then
6048 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6050 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6051 CONFIG_SHELL='$SHELL'
6057 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6061 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6062 ## Running $as_me. ##
6068 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6072 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
6076 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6078 # Handling of arguments.
6079 for ac_config_target in $ac_config_targets
6081 case $ac_config_target in
6082 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
6083 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
6084 "gob2.spec") CONFIG_FILES="$CONFIG_FILES gob2.spec" ;;
6085 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6086 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
6087 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
6088 "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
6089 "doc/gob2.1") CONFIG_FILES="$CONFIG_FILES doc/gob2.1" ;;
6091 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
6096 # If the user did not use the arguments to specify the items to instantiate,
6097 # then the envvar interface is used. Set only those that are not.
6098 # We use the long form for the default assignment because of an extremely
6099 # bizarre bug on SunOS 4.1.3.
6100 if $ac_need_defaults; then
6101 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6102 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
6103 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
6106 # Have a temporary directory for convenience. Make it in the build tree
6107 # simply because there is no reason against having it here, and in addition,
6108 # creating and moving files from /tmp can sometimes cause problems.
6109 # Hook for its removal unless debugging.
6110 # Note that there is a small window in which the directory will not be cleaned:
6111 # after its creation but before its name has been assigned to `$tmp'.
6115 trap 'exit_status=$?
6117 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
6119 trap 'as_fn_exit 1' 1 2 13 15
6121 # Create a (secure) tmp directory for tmp files.
6124 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6128 tmp=./conf$$-$RANDOM
6129 (umask 077 && mkdir "$tmp")
6130 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
6133 # Set up the scripts for CONFIG_FILES section.
6134 # No need to generate them if there are no CONFIG_FILES.
6135 # This happens for instance with `./config.status config.h'.
6136 if test -n "$CONFIG_FILES"; then
6139 ac_cr=`echo X | tr X '\015'`
6140 # On cygwin, bash can eat \r inside `` if the user requested igncr.
6141 # But we know of no other shell where ac_cr would be empty at this
6142 # point, so we can use a bashism as a fallback.
6143 if test "x$ac_cr" = x; then
6144 eval ac_cr=\$\'\\r\'
6146 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6147 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6153 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
6158 echo "cat >conf$$subs.awk <<_ACEOF" &&
6159 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6162 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6163 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
6165 for ac_last_try in false false false false false :; do
6166 . ./conf$$subs.sh ||
6167 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6169 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
6170 if test $ac_delim_n = $ac_delim_num; then
6172 elif $ac_last_try; then
6173 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6175 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6180 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6181 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
6185 s/^/S["/; s/!.*/"]=/
6195 s/\(.\{148\}\)..*/\1/
6197 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6202 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6209 s/\(.\{148\}\)..*/\1/
6211 s/["\\]/\\&/g; s/^/"/; s/$/"/
6215 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6220 ' <conf$$subs.awk | sed '
6225 ' >>$CONFIG_STATUS || ac_write_fail=1
6226 rm -f conf$$subs.awk
6227 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6229 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
6230 for (key in S) S_is_set[key] = 1
6236 nfields = split(line, field, "@")
6238 len = length(field[1])
6239 for (i = 2; i < nfields; i++) {
6241 keylen = length(key)
6242 if (S_is_set[key]) {
6244 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6245 len += length(value) + length(field[++i])
6256 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6257 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6258 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6261 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
6262 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
6265 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
6266 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
6267 # trailing colons and then remove the whole line if VPATH becomes empty
6268 # (actually we leave an empty line to preserve line numbers).
6269 if test "x$srcdir" = x.; then
6270 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
6288 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6289 fi # test -n "$CONFIG_FILES"
6291 # Set up the scripts for CONFIG_HEADERS section.
6292 # No need to generate them if there are no CONFIG_HEADERS.
6293 # This happens for instance with `./config.status Makefile'.
6294 if test -n "$CONFIG_HEADERS"; then
6295 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
6299 # Transform confdefs.h into an awk script `defines.awk', embedded as
6300 # here-document in config.status, that substitutes the proper values into
6301 # config.h.in to produce config.h.
6303 # Create a delimiter string that does not exist in confdefs.h, to ease
6304 # handling of long lines.
6306 for ac_last_try in false false :; do
6307 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
6308 if test -z "$ac_tt"; then
6310 elif $ac_last_try; then
6311 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
6313 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6317 # For the awk script, D is an array of macro values keyed by name,
6318 # likewise P contains macro parameters if any. Preserve backslash
6319 # newline sequences.
6321 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6323 s/.\{148\}/&'"$ac_delim"'/g
6326 s/^[ ]*#[ ]*define[ ][ ]*/ /
6333 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6335 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
6339 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6340 D["\1"]=" \3\\\\\\n"\\/p
6342 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
6347 s/.\{148\}/&'"$ac_delim"'/g
6352 s/["\\]/\\&/g; s/^/"/; s/$/"/p
6355 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
6357 ' <confdefs.h | sed '
6358 s/'"$ac_delim"'/"\\\
6359 "/g' >>$CONFIG_STATUS || ac_write_fail=1
6361 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6362 for (key in D) D_is_set[key] = 1
6365 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6367 split(line, arg, " ")
6368 if (arg[1] == "#") {
6372 defundef = substr(arg[1], 2)
6375 split(mac1, mac2, "(") #)
6377 prefix = substr(line, 1, index(line, defundef) - 1)
6378 if (D_is_set[macro]) {
6379 # Preserve the white space surrounding the "#".
6380 print prefix "define", macro P[macro] D[macro]
6383 # Replace #undef with comments. This is necessary, for example,
6384 # in the case of _POSIX_SOURCE, which is predefined and required
6385 # on some systems where configure will not decide to define it.
6386 if (defundef == "undef") {
6387 print "/*", prefix defundef, macro, "*/"
6395 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6396 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
6397 fi # test -n "$CONFIG_HEADERS"
6400 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
6405 :[FHLC]) ac_mode=$ac_tag; continue;;
6407 case $ac_mode$ac_tag in
6409 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
6410 :[FH]-) ac_tag=-:-;;
6411 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6428 -) ac_f="$ac_tmp/stdin";;
6429 *) # Look for the file first in the build tree, then in the source tree
6430 # (if the path is not absolute). The absolute path cannot be DOS-style,
6431 # because $ac_f cannot contain `:'.
6435 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6437 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6439 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6440 as_fn_append ac_file_inputs " '$ac_f'"
6443 # Let's still pretend it is `configure' which instantiates (i.e., don't
6444 # use $as_me), people would be surprised to read:
6445 # /* config.h. Generated by config.status. */
6446 configure_input='Generated from '`
6447 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6449 if test x"$ac_file" != x-; then
6450 configure_input="$ac_file. $configure_input"
6451 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6452 $as_echo "$as_me: creating $ac_file" >&6;}
6454 # Neutralize special characters interpreted by sed in replacement strings.
6455 case $configure_input in #(
6456 *\&* | *\|* | *\\* )
6457 ac_sed_conf_input=`$as_echo "$configure_input" |
6458 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6459 *) ac_sed_conf_input=$configure_input;;
6463 *:-:* | *:-) cat >"$ac_tmp/stdin" \
6464 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
6469 ac_dir=`$as_dirname -- "$ac_file" ||
6470 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6471 X"$ac_file" : 'X\(//\)[^/]' \| \
6472 X"$ac_file" : 'X\(//\)$' \| \
6473 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6474 $as_echo X"$ac_file" |
6475 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6492 as_dir="$ac_dir"; as_fn_mkdir_p
6496 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6498 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6499 # A ".." for each directory in $ac_dir_suffix.
6500 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6501 case $ac_top_builddir_sub in
6502 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6503 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6506 ac_abs_top_builddir=$ac_pwd
6507 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6508 # for backward compatibility:
6509 ac_top_builddir=$ac_top_build_prefix
6512 .) # We are building in place.
6514 ac_top_srcdir=$ac_top_builddir_sub
6515 ac_abs_top_srcdir=$ac_pwd ;;
6516 [\\/]* | ?:[\\/]* ) # Absolute name.
6517 ac_srcdir=$srcdir$ac_dir_suffix;
6518 ac_top_srcdir=$srcdir
6519 ac_abs_top_srcdir=$srcdir ;;
6521 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6522 ac_top_srcdir=$ac_top_build_prefix$srcdir
6523 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6525 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6535 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6536 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6540 [\\/$]* | ?:[\\/]* ) ;;
6541 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
6545 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6546 # If the template does not know about datarootdir, expand it.
6547 # FIXME: This hack should be removed a few years after 2.60.
6548 ac_datarootdir_hack=; ac_datarootdir_seen=
6559 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6560 *datarootdir*) ac_datarootdir_seen=yes;;
6561 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6562 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6563 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6565 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6566 ac_datarootdir_hack='
6567 s&@datadir@&$datadir&g
6568 s&@docdir@&$docdir&g
6569 s&@infodir@&$infodir&g
6570 s&@localedir@&$localedir&g
6571 s&@mandir@&$mandir&g
6572 s&\\\${datarootdir}&$datarootdir&g' ;;
6576 # Neutralize VPATH when `$srcdir' = `.'.
6577 # Shell code in configure.ac might set extrasub.
6578 # FIXME: do we really want to maintain this feature?
6579 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6580 ac_sed_extra="$ac_vpsub
6583 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6585 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6586 s|@configure_input@|$ac_sed_conf_input|;t t
6587 s&@top_builddir@&$ac_top_builddir_sub&;t t
6588 s&@top_build_prefix@&$ac_top_build_prefix&;t t
6589 s&@srcdir@&$ac_srcdir&;t t
6590 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6591 s&@top_srcdir@&$ac_top_srcdir&;t t
6592 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6593 s&@builddir@&$ac_builddir&;t t
6594 s&@abs_builddir@&$ac_abs_builddir&;t t
6595 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6596 s&@INSTALL@&$ac_INSTALL&;t t
6597 s&@MKDIR_P@&$ac_MKDIR_P&;t t
6598 $ac_datarootdir_hack
6600 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
6601 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6603 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6604 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
6605 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
6606 "$ac_tmp/out"`; test -z "$ac_out"; } &&
6607 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6608 which seems to be undefined. Please make sure it is defined" >&5
6609 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6610 which seems to be undefined. Please make sure it is defined" >&2;}
6612 rm -f "$ac_tmp/stdin"
6614 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6615 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6617 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6623 if test x"$ac_file" != x-; then
6625 $as_echo "/* $configure_input */" \
6626 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
6627 } >"$ac_tmp/config.h" \
6628 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6629 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
6630 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6631 $as_echo "$as_me: $ac_file is unchanged" >&6;}
6634 mv "$ac_tmp/config.h" "$ac_file" \
6635 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6638 $as_echo "/* $configure_input */" \
6639 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
6640 || as_fn_error $? "could not create -" "$LINENO" 5
6642 # Compute "$ac_file"'s index in $config_headers.
6645 for _am_header in $config_headers :; do
6647 $_am_arg | $_am_arg:* )
6650 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
6653 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
6654 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6655 X"$_am_arg" : 'X\(//\)[^/]' \| \
6656 X"$_am_arg" : 'X\(//\)$' \| \
6657 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
6658 $as_echo X"$_am_arg" |
6659 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6675 s/.*/./; q'`/stamp-h$_am_stamp_count
6678 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6679 $as_echo "$as_me: executing $ac_file commands" >&6;}
6684 case $ac_file$ac_mode in
6685 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
6686 # Older Autoconf quotes --file arguments for eval, but not when files
6687 # are listed without --file. Let's play safe and only enable the eval
6688 # if we detect the quoting.
6689 case $CONFIG_FILES in
6690 *\'*) eval set x "$CONFIG_FILES" ;;
6691 *) set x $CONFIG_FILES ;;
6696 # Strip MF so we end up with the name of the file.
6697 mf=`echo "$mf" | sed -e 's/:.*$//'`
6698 # Check whether this is an Automake generated Makefile or not.
6699 # We used to match only the files named 'Makefile.in', but
6700 # some people rename them; so instead we look at the file content.
6701 # Grep'ing the first line is not enough: some people post-process
6702 # each Makefile.in and add a new line on top of each file to say so.
6703 # Grep'ing the whole file is not good either: AIX grep has a line
6704 # limit of 2048, but all sed's we know have understand at least 4000.
6705 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
6706 dirpart=`$as_dirname -- "$mf" ||
6707 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6708 X"$mf" : 'X\(//\)[^/]' \| \
6709 X"$mf" : 'X\(//\)$' \| \
6710 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6712 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6732 # Extract the definition of DEPDIR, am__include, and am__quote
6733 # from the Makefile without running 'make'.
6734 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6735 test -z "$DEPDIR" && continue
6736 am__include=`sed -n 's/^am__include = //p' < "$mf"`
6737 test -z "$am__include" && continue
6738 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6739 # Find all dependency output files, they are included files with
6740 # $(DEPDIR) in their names. We invoke sed twice because it is the
6741 # simplest approach to changing $(DEPDIR) to its actual value in the
6743 for file in `sed -n "
6744 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6745 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
6746 # Make sure the directory exists.
6747 test -f "$dirpart/$file" && continue
6748 fdir=`$as_dirname -- "$file" ||
6749 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6750 X"$file" : 'X\(//\)[^/]' \| \
6751 X"$file" : 'X\(//\)$' \| \
6752 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6754 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6771 as_dir=$dirpart/$fdir; as_fn_mkdir_p
6772 # echo "creating $dirpart/$file"
6773 echo '# dummy' > "$dirpart/$file"
6785 ac_clean_files=$ac_clean_files_save
6787 test $ac_write_fail = 0 ||
6788 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6791 # configure is writing to config.log, and then calls config.status.
6792 # config.status does its own redirection, appending to config.log.
6793 # Unfortunately, on DOS this fails, as config.log is still kept open
6794 # by configure, so config.status won't be able to write to it; its
6795 # output is simply discarded. So we exec the FD to /dev/null,
6796 # effectively closing config.log, so it can be properly (re)opened and
6797 # appended to by config.status. When coming back to configure, we
6798 # need to make the FD available again.
6799 if test "$no_create" != yes; then
6801 ac_config_status_args=
6802 test "$silent" = yes &&
6803 ac_config_status_args="$ac_config_status_args --quiet"
6805 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6807 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6808 # would make configure fail if this is the last instruction.
6809 $ac_cs_success || as_fn_exit 1
6811 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6812 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6813 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}