2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.66.
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 as_echo_n='sh -c $as_echo_n_body as_echo'
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
93 *[\\/]* ) as_myself=$0 ;;
94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98 test -z "$as_dir" && as_dir=.
99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
105 # We did not find ourselves, most probably we were run as `sh COMMAND'
106 # in which case we are not to be found in the path.
107 if test "x$as_myself" = x; then
110 if test ! -f "$as_myself"; then
111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115 # Unset variables that we do not need and which cause bugs (e.g. in
116 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
117 # suppresses any "Segmentation fault" message there. '((' could
118 # trigger a bug in pdksh 5.2.14.
119 for as_var in BASH_ENV ENV MAIL MAILPATH
120 do eval test x\${$as_var+set} = xset \
121 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
134 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136 if test "x$CONFIG_SHELL" = x; then
137 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141 # is contrary to our usage. Disable this feature.
142 alias -g '\${1+\"\$@\"}'='\"\$@\"'
145 case \`(set -o) 2>/dev/null\` in #(
153 as_required="as_fn_return () { (exit \$1); }
154 as_fn_success () { as_fn_return 0; }
155 as_fn_failure () { as_fn_return 1; }
156 as_fn_ret_success () { return 0; }
157 as_fn_ret_failure () { return 1; }
160 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167 exitcode=1; echo positional parameters were not saved.
169 test x\$exitcode = x0 || exit 1"
170 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
171 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
172 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
174 test \$(( 1 + 1 )) = 2 || exit 1"
175 if (eval "$as_required") 2>/dev/null; then :
180 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
185 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
188 test -z "$as_dir" && as_dir=.
192 for as_base in sh bash ksh sh5; do
193 # Try only shells that exist, to save several forks.
194 as_shell=$as_dir/$as_base
195 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
196 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
197 CONFIG_SHELL=$as_shell as_have_required=yes
198 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
206 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
207 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
208 CONFIG_SHELL=$SHELL as_have_required=yes
213 if test "x$CONFIG_SHELL" != x; then :
214 # We cannot yet assume a decent shell, so we have to provide a
215 # neutralization value for shells without unset; and this also
216 # works around shells that cannot unset nonexistent variables.
219 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
221 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
224 if test x$as_have_required = xno; then :
225 $as_echo "$0: This script requires a shell more modern than all"
226 $as_echo "$0: the shells that I found on your system."
227 if test x${ZSH_VERSION+set} = xset ; then
228 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
229 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
231 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
232 $0: including any error possibly output before this
233 $0: message. Then install a modern shell, or manually run
234 $0: the script under such a shell if you do have one."
240 SHELL=${CONFIG_SHELL-/bin/sh}
242 # Unset more variables known to interfere with behavior of common tools.
243 CLICOLOR_FORCE= GREP_OPTIONS=
244 unset CLICOLOR_FORCE GREP_OPTIONS
246 ## --------------------- ##
247 ## M4sh Shell Functions. ##
248 ## --------------------- ##
251 # Portably unset VAR.
254 { eval $1=; unset $1;}
258 # as_fn_set_status STATUS
259 # -----------------------
260 # Set $? to STATUS, without forking.
268 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
278 # Create "$as_dir" as a directory, including parents if necessary.
283 -*) as_dir=./$as_dir;;
285 test -d "$as_dir" || eval $as_mkdir_p || {
289 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
292 as_dirs="'$as_qdir' $as_dirs"
293 as_dir=`$as_dirname -- "$as_dir" ||
294 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
295 X"$as_dir" : 'X\(//\)[^/]' \| \
296 X"$as_dir" : 'X\(//\)$' \| \
297 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
298 $as_echo X"$as_dir" |
299 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
316 test -d "$as_dir" && break
318 test -z "$as_dirs" || eval "mkdir $as_dirs"
319 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
323 # as_fn_append VAR VALUE
324 # ----------------------
325 # Append the text in VALUE to the end of the definition contained in VAR. Take
326 # advantage of any shell optimizations that allow amortized linear growth over
327 # repeated appends, instead of the typical quadratic growth present in naive
329 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
330 eval 'as_fn_append ()
343 # Perform arithmetic evaluation on the ARGs, and store the result in the
344 # global $as_val. Take advantage of shells that can avoid forks. The arguments
345 # must be portable across $(()) and expr.
346 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
354 as_val=`expr "$@" || test $? -eq 1`
359 # as_fn_error STATUS ERROR [LINENO LOG_FD]
360 # ----------------------------------------
361 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
362 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
363 # script with STATUS, using 1 if that was 0.
366 as_status=$1; test $as_status -eq 0 && as_status=1
368 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
369 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
371 $as_echo "$as_me: error: $2" >&2
372 as_fn_exit $as_status
375 if expr a : '\(a\)' >/dev/null 2>&1 &&
376 test "X`expr 00001 : '.*\(...\)'`" = X001; then
382 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
388 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
394 as_me=`$as_basename -- "$0" ||
395 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
396 X"$0" : 'X\(//\)$' \| \
397 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
399 sed '/^.*\/\([^/][^/]*\)\/*$/{
413 # Avoid depending upon Character Ranges.
414 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
415 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
416 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
417 as_cr_digits='0123456789'
418 as_cr_alnum=$as_cr_Letters$as_cr_digits
421 as_lineno_1=$LINENO as_lineno_1a=$LINENO
422 as_lineno_2=$LINENO as_lineno_2a=$LINENO
423 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
424 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
425 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
437 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
441 chmod +x "$as_me.lineno" ||
442 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
444 # Don't try to exec as it changes $[0], causing all sort of problems
445 # (the dirname of $[0] is not the place where we might find the
446 # original and so on. Autoconf is especially sensitive to this).
448 # Exit status is that of the last command.
452 ECHO_C= ECHO_N= ECHO_T=
453 case `echo -n x` in #(((((
455 case `echo 'xy\c'` in
456 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
458 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
465 rm -f conf$$ conf$$.exe conf$$.file
466 if test -d conf$$.dir; then
467 rm -f conf$$.dir/conf$$.file
470 mkdir conf$$.dir 2>/dev/null
472 if (echo >conf$$.file) 2>/dev/null; then
473 if ln -s conf$$.file conf$$ 2>/dev/null; then
475 # ... but there are two gotchas:
476 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
477 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
478 # In both cases, we have to default to `cp -p'.
479 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
481 elif ln conf$$.file conf$$ 2>/dev/null; then
489 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
490 rmdir conf$$.dir 2>/dev/null
492 if mkdir -p . 2>/dev/null; then
493 as_mkdir_p='mkdir -p "$as_dir"'
495 test -d ./-p && rmdir ./-p
499 if test -x / >/dev/null 2>&1; then
502 if ls -dL / >/dev/null 2>&1; then
509 if test -d "$1"; then
515 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
516 ???[sx]*):;;*)false;;esac;fi
520 as_executable_p=$as_test_x
522 # Sed expression to map a string onto a valid CPP name.
523 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
525 # Sed expression to map a string onto a valid variable name.
526 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
529 test -n "$DJDIR" || exec 7<&0 </dev/null
533 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
534 # so uname gets run too.
535 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
540 ac_default_prefix=/usr/local
542 ac_config_libobj_dir=.
549 # Identity of this package.
557 ac_unique_file="src/treefuncs.h"
558 ac_subst_vars='am__EXEEXT_FALSE
598 MAINTAINER_MODE_FALSE
608 INSTALL_STRIP_PROGRAM
650 program_transform_name
663 enable_option_checking
664 enable_maintainer_mode
665 enable_dependency_tracking
667 ac_precious_vars='build_alias
685 # Initialize some variables set by options.
687 ac_init_version=false
688 ac_unrecognized_opts=
690 # The variables have the same names as the options, with
691 # dashes changed to underlines.
699 program_transform_name=s,x,x,
707 # Installation directory options.
708 # These are left unexpanded so users can "make install exec_prefix=/foo"
709 # and all the variables that are supposed to be based on exec_prefix
710 # by default will actually change.
711 # Use braces instead of parens because sh, perl, etc. also accept them.
712 # (The list follows the same order as the GNU Coding Standards.)
713 bindir='${exec_prefix}/bin'
714 sbindir='${exec_prefix}/sbin'
715 libexecdir='${exec_prefix}/libexec'
716 datarootdir='${prefix}/share'
717 datadir='${datarootdir}'
718 sysconfdir='${prefix}/etc'
719 sharedstatedir='${prefix}/com'
720 localstatedir='${prefix}/var'
721 includedir='${prefix}/include'
722 oldincludedir='/usr/include'
723 docdir='${datarootdir}/doc/${PACKAGE}'
724 infodir='${datarootdir}/info'
729 libdir='${exec_prefix}/lib'
730 localedir='${datarootdir}/locale'
731 mandir='${datarootdir}/man'
737 # If the previous option needs an argument, assign it.
738 if test -n "$ac_prev"; then
739 eval $ac_prev=\$ac_option
745 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
749 # Accept the important Cygnus configure options, so we can diagnose typos.
751 case $ac_dashdash$ac_option in
755 -bindir | --bindir | --bindi | --bind | --bin | --bi)
757 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
760 -build | --build | --buil | --bui | --bu)
761 ac_prev=build_alias ;;
762 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
763 build_alias=$ac_optarg ;;
765 -cache-file | --cache-file | --cache-fil | --cache-fi \
766 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
767 ac_prev=cache_file ;;
768 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
769 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
770 cache_file=$ac_optarg ;;
773 cache_file=config.cache ;;
775 -datadir | --datadir | --datadi | --datad)
777 -datadir=* | --datadir=* | --datadi=* | --datad=*)
778 datadir=$ac_optarg ;;
780 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
781 | --dataroo | --dataro | --datar)
782 ac_prev=datarootdir ;;
783 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
784 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
785 datarootdir=$ac_optarg ;;
787 -disable-* | --disable-*)
788 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
789 # Reject names that are not valid shell variable names.
790 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
791 as_fn_error $? "invalid feature name: $ac_useropt"
792 ac_useropt_orig=$ac_useropt
793 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
794 case $ac_user_opts in
798 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
799 ac_unrecognized_sep=', ';;
801 eval enable_$ac_useropt=no ;;
803 -docdir | --docdir | --docdi | --doc | --do)
805 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
808 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
810 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
813 -enable-* | --enable-*)
814 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
815 # Reject names that are not valid shell variable names.
816 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
817 as_fn_error $? "invalid feature name: $ac_useropt"
818 ac_useropt_orig=$ac_useropt
819 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
820 case $ac_user_opts in
824 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
825 ac_unrecognized_sep=', ';;
827 eval enable_$ac_useropt=\$ac_optarg ;;
829 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
830 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
831 | --exec | --exe | --ex)
832 ac_prev=exec_prefix ;;
833 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
834 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
835 | --exec=* | --exe=* | --ex=*)
836 exec_prefix=$ac_optarg ;;
838 -gas | --gas | --ga | --g)
839 # Obsolete; use --with-gas.
842 -help | --help | --hel | --he | -h)
844 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
845 ac_init_help=recursive ;;
846 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
847 ac_init_help=short ;;
849 -host | --host | --hos | --ho)
850 ac_prev=host_alias ;;
851 -host=* | --host=* | --hos=* | --ho=*)
852 host_alias=$ac_optarg ;;
854 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
856 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
858 htmldir=$ac_optarg ;;
860 -includedir | --includedir | --includedi | --included | --include \
861 | --includ | --inclu | --incl | --inc)
862 ac_prev=includedir ;;
863 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
864 | --includ=* | --inclu=* | --incl=* | --inc=*)
865 includedir=$ac_optarg ;;
867 -infodir | --infodir | --infodi | --infod | --info | --inf)
869 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
870 infodir=$ac_optarg ;;
872 -libdir | --libdir | --libdi | --libd)
874 -libdir=* | --libdir=* | --libdi=* | --libd=*)
877 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
878 | --libexe | --libex | --libe)
879 ac_prev=libexecdir ;;
880 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
881 | --libexe=* | --libex=* | --libe=*)
882 libexecdir=$ac_optarg ;;
884 -localedir | --localedir | --localedi | --localed | --locale)
886 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
887 localedir=$ac_optarg ;;
889 -localstatedir | --localstatedir | --localstatedi | --localstated \
890 | --localstate | --localstat | --localsta | --localst | --locals)
891 ac_prev=localstatedir ;;
892 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
893 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
894 localstatedir=$ac_optarg ;;
896 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
898 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
902 # Obsolete; use --without-fp.
905 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
906 | --no-cr | --no-c | -n)
909 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
910 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
913 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
914 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
915 | --oldin | --oldi | --old | --ol | --o)
916 ac_prev=oldincludedir ;;
917 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
918 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
919 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
920 oldincludedir=$ac_optarg ;;
922 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
924 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
927 -program-prefix | --program-prefix | --program-prefi | --program-pref \
928 | --program-pre | --program-pr | --program-p)
929 ac_prev=program_prefix ;;
930 -program-prefix=* | --program-prefix=* | --program-prefi=* \
931 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
932 program_prefix=$ac_optarg ;;
934 -program-suffix | --program-suffix | --program-suffi | --program-suff \
935 | --program-suf | --program-su | --program-s)
936 ac_prev=program_suffix ;;
937 -program-suffix=* | --program-suffix=* | --program-suffi=* \
938 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
939 program_suffix=$ac_optarg ;;
941 -program-transform-name | --program-transform-name \
942 | --program-transform-nam | --program-transform-na \
943 | --program-transform-n | --program-transform- \
944 | --program-transform | --program-transfor \
945 | --program-transfo | --program-transf \
946 | --program-trans | --program-tran \
947 | --progr-tra | --program-tr | --program-t)
948 ac_prev=program_transform_name ;;
949 -program-transform-name=* | --program-transform-name=* \
950 | --program-transform-nam=* | --program-transform-na=* \
951 | --program-transform-n=* | --program-transform-=* \
952 | --program-transform=* | --program-transfor=* \
953 | --program-transfo=* | --program-transf=* \
954 | --program-trans=* | --program-tran=* \
955 | --progr-tra=* | --program-tr=* | --program-t=*)
956 program_transform_name=$ac_optarg ;;
958 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
960 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
963 -psdir | --psdir | --psdi | --psd | --ps)
965 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
968 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
969 | -silent | --silent | --silen | --sile | --sil)
972 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
974 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
976 sbindir=$ac_optarg ;;
978 -sharedstatedir | --sharedstatedir | --sharedstatedi \
979 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
980 | --sharedst | --shareds | --shared | --share | --shar \
982 ac_prev=sharedstatedir ;;
983 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
984 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
985 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
987 sharedstatedir=$ac_optarg ;;
989 -site | --site | --sit)
991 -site=* | --site=* | --sit=*)
994 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
996 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
999 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1000 | --syscon | --sysco | --sysc | --sys | --sy)
1001 ac_prev=sysconfdir ;;
1002 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1003 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1004 sysconfdir=$ac_optarg ;;
1006 -target | --target | --targe | --targ | --tar | --ta | --t)
1007 ac_prev=target_alias ;;
1008 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1009 target_alias=$ac_optarg ;;
1011 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1014 -version | --version | --versio | --versi | --vers | -V)
1015 ac_init_version=: ;;
1018 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1019 # Reject names that are not valid shell variable names.
1020 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1021 as_fn_error $? "invalid package name: $ac_useropt"
1022 ac_useropt_orig=$ac_useropt
1023 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1024 case $ac_user_opts in
1028 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1029 ac_unrecognized_sep=', ';;
1031 eval with_$ac_useropt=\$ac_optarg ;;
1033 -without-* | --without-*)
1034 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1035 # Reject names that are not valid shell variable names.
1036 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1037 as_fn_error $? "invalid package name: $ac_useropt"
1038 ac_useropt_orig=$ac_useropt
1039 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1040 case $ac_user_opts in
1044 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1045 ac_unrecognized_sep=', ';;
1047 eval with_$ac_useropt=no ;;
1050 # Obsolete; use --with-x.
1053 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1054 | --x-incl | --x-inc | --x-in | --x-i)
1055 ac_prev=x_includes ;;
1056 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1057 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1058 x_includes=$ac_optarg ;;
1060 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1061 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1062 ac_prev=x_libraries ;;
1063 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1064 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1065 x_libraries=$ac_optarg ;;
1067 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1068 Try \`$0 --help' for more information"
1072 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1073 # Reject names that are not valid shell variable names.
1074 case $ac_envvar in #(
1075 '' | [0-9]* | *[!_$as_cr_alnum]* )
1076 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1078 eval $ac_envvar=\$ac_optarg
1079 export $ac_envvar ;;
1082 # FIXME: should be removed in autoconf 3.0.
1083 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1084 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1085 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1086 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1092 if test -n "$ac_prev"; then
1093 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1094 as_fn_error $? "missing argument to $ac_option"
1097 if test -n "$ac_unrecognized_opts"; then
1098 case $enable_option_checking in
1100 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1101 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1105 # Check all directory arguments for consistency.
1106 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1107 datadir sysconfdir sharedstatedir localstatedir includedir \
1108 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1109 libdir localedir mandir
1111 eval ac_val=\$$ac_var
1112 # Remove trailing slashes.
1115 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1116 eval $ac_var=\$ac_val;;
1118 # Be sure to have absolute directory names.
1120 [\\/$]* | ?:[\\/]* ) continue;;
1121 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1123 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1126 # There might be people who depend on the old broken behavior: `$host'
1127 # used to hold the argument of --host etc.
1128 # FIXME: To remove some day.
1131 target=$target_alias
1133 # FIXME: To remove some day.
1134 if test "x$host_alias" != x; then
1135 if test "x$build_alias" = x; then
1136 cross_compiling=maybe
1137 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1138 If a cross compiler is detected then cross compile mode will be used" >&2
1139 elif test "x$build_alias" != "x$host_alias"; then
1145 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1147 test "$silent" = yes && exec 6>/dev/null
1150 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1151 ac_ls_di=`ls -di .` &&
1152 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1153 as_fn_error $? "working directory cannot be determined"
1154 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1155 as_fn_error $? "pwd does not report name of working directory"
1158 # Find the source files, if location was not specified.
1159 if test -z "$srcdir"; then
1160 ac_srcdir_defaulted=yes
1161 # Try the directory containing this script, then the parent directory.
1162 ac_confdir=`$as_dirname -- "$as_myself" ||
1163 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1164 X"$as_myself" : 'X\(//\)[^/]' \| \
1165 X"$as_myself" : 'X\(//\)$' \| \
1166 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1167 $as_echo X"$as_myself" |
1168 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1186 if test ! -r "$srcdir/$ac_unique_file"; then
1190 ac_srcdir_defaulted=no
1192 if test ! -r "$srcdir/$ac_unique_file"; then
1193 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1194 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1196 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1198 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1200 # When building in place, set srcdir=.
1201 if test "$ac_abs_confdir" = "$ac_pwd"; then
1204 # Remove unnecessary trailing slashes from srcdir.
1205 # Double slashes in file names in object file debugging info
1206 # mess up M-x gdb in Emacs.
1208 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1210 for ac_var in $ac_precious_vars; do
1211 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1212 eval ac_env_${ac_var}_value=\$${ac_var}
1213 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1214 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1218 # Report the --help message.
1220 if test "$ac_init_help" = "long"; then
1221 # Omit some internal or obsolete options to make the list less imposing.
1222 # This message is too long to be a string in the A/UX 3.1 sh.
1224 \`configure' configures this package to adapt to many kinds of systems.
1226 Usage: $0 [OPTION]... [VAR=VALUE]...
1228 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1229 VAR=VALUE. See below for descriptions of some of the useful variables.
1231 Defaults for the options are specified in brackets.
1234 -h, --help display this help and exit
1235 --help=short display options specific to this package
1236 --help=recursive display the short help of all the included packages
1237 -V, --version display version information and exit
1238 -q, --quiet, --silent do not print \`checking ...' messages
1239 --cache-file=FILE cache test results in FILE [disabled]
1240 -C, --config-cache alias for \`--cache-file=config.cache'
1241 -n, --no-create do not create output files
1242 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1244 Installation directories:
1245 --prefix=PREFIX install architecture-independent files in PREFIX
1246 [$ac_default_prefix]
1247 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1250 By default, \`make install' will install all the files in
1251 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1252 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1253 for instance \`--prefix=\$HOME'.
1255 For better control, use the options below.
1257 Fine tuning of the installation directories:
1258 --bindir=DIR user executables [EPREFIX/bin]
1259 --sbindir=DIR system admin executables [EPREFIX/sbin]
1260 --libexecdir=DIR program executables [EPREFIX/libexec]
1261 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1262 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1263 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1264 --libdir=DIR object code libraries [EPREFIX/lib]
1265 --includedir=DIR C header files [PREFIX/include]
1266 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1267 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1268 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1269 --infodir=DIR info documentation [DATAROOTDIR/info]
1270 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1271 --mandir=DIR man documentation [DATAROOTDIR/man]
1272 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1273 --htmldir=DIR html documentation [DOCDIR]
1274 --dvidir=DIR dvi documentation [DOCDIR]
1275 --pdfdir=DIR pdf documentation [DOCDIR]
1276 --psdir=DIR ps documentation [DOCDIR]
1282 --program-prefix=PREFIX prepend PREFIX to installed program names
1283 --program-suffix=SUFFIX append SUFFIX to installed program names
1284 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1288 if test -n "$ac_init_help"; then
1293 --disable-option-checking ignore unrecognized --enable/--with options
1294 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1295 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1296 --enable-maintainer-mode enable make rules and dependencies not useful
1297 (and sometimes confusing) to the casual installer
1298 --disable-dependency-tracking speeds up one-time build
1299 --enable-dependency-tracking do not reject slow dependency extractors
1301 Some influential environment variables:
1302 CC C compiler command
1303 CFLAGS C compiler flags
1304 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1305 nonstandard directory <lib dir>
1306 LIBS libraries to pass to the linker, e.g. -l<library>
1307 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1308 you have headers in a nonstandard directory <include dir>
1310 YACC The `Yet Another C Compiler' implementation to use. Defaults to
1311 the first program found out of: `bison -y', `byacc', `yacc'.
1312 YFLAGS The list of arguments that will be passed by default to $YACC.
1313 This script will default YFLAGS to the empty string to avoid a
1314 default value of `-d' given by some make applications.
1315 PKG_CONFIG path to pkg-config utility
1317 directories to add to pkg-config's search path
1319 path overriding pkg-config's built-in search path
1320 GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1321 GLIB_LIBS linker flags for GLIB, overriding pkg-config
1323 Use these variables to override the choices made by `configure' or to help
1324 it to find libraries and programs with nonstandard names/locations.
1326 Report bugs to the package provider.
1331 if test "$ac_init_help" = "recursive"; then
1332 # If there are subdirs, report their specific --help.
1333 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1334 test -d "$ac_dir" ||
1335 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1340 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1342 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1343 # A ".." for each directory in $ac_dir_suffix.
1344 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1345 case $ac_top_builddir_sub in
1346 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1347 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1350 ac_abs_top_builddir=$ac_pwd
1351 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1352 # for backward compatibility:
1353 ac_top_builddir=$ac_top_build_prefix
1356 .) # We are building in place.
1358 ac_top_srcdir=$ac_top_builddir_sub
1359 ac_abs_top_srcdir=$ac_pwd ;;
1360 [\\/]* | ?:[\\/]* ) # Absolute name.
1361 ac_srcdir=$srcdir$ac_dir_suffix;
1362 ac_top_srcdir=$srcdir
1363 ac_abs_top_srcdir=$srcdir ;;
1365 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1366 ac_top_srcdir=$ac_top_build_prefix$srcdir
1367 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1369 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1371 cd "$ac_dir" || { ac_status=$?; continue; }
1372 # Check for guested configure.
1373 if test -f "$ac_srcdir/configure.gnu"; then
1375 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1376 elif test -f "$ac_srcdir/configure"; then
1378 $SHELL "$ac_srcdir/configure" --help=recursive
1380 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1382 cd "$ac_pwd" || { ac_status=$?; break; }
1386 test -n "$ac_init_help" && exit $ac_status
1387 if $ac_init_version; then
1390 generated by GNU Autoconf 2.66
1392 Copyright (C) 2010 Free Software Foundation, Inc.
1393 This configure script is free software; the Free Software Foundation
1394 gives unlimited permission to copy, distribute and modify it.
1399 ## ------------------------ ##
1400 ## Autoconf initialization. ##
1401 ## ------------------------ ##
1403 # ac_fn_c_try_compile LINENO
1404 # --------------------------
1405 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1406 ac_fn_c_try_compile ()
1408 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1409 rm -f conftest.$ac_objext
1410 if { { ac_try="$ac_compile"
1412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1413 *) ac_try_echo=$ac_try;;
1415 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1416 $as_echo "$ac_try_echo"; } >&5
1417 (eval "$ac_compile") 2>conftest.err
1419 if test -s conftest.err; then
1420 grep -v '^ *+' conftest.err >conftest.er1
1421 cat conftest.er1 >&5
1422 mv -f conftest.er1 conftest.err
1424 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1425 test $ac_status = 0; } && {
1426 test -z "$ac_c_werror_flag" ||
1427 test ! -s conftest.err
1428 } && test -s conftest.$ac_objext; then :
1431 $as_echo "$as_me: failed program was:" >&5
1432 sed 's/^/| /' conftest.$ac_ext >&5
1436 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1437 as_fn_set_status $ac_retval
1439 } # ac_fn_c_try_compile
1441 # ac_fn_c_try_link LINENO
1442 # -----------------------
1443 # Try to link conftest.$ac_ext, and return whether this succeeded.
1446 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1447 rm -f conftest.$ac_objext conftest$ac_exeext
1448 if { { ac_try="$ac_link"
1450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1451 *) ac_try_echo=$ac_try;;
1453 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1454 $as_echo "$ac_try_echo"; } >&5
1455 (eval "$ac_link") 2>conftest.err
1457 if test -s conftest.err; then
1458 grep -v '^ *+' conftest.err >conftest.er1
1459 cat conftest.er1 >&5
1460 mv -f conftest.er1 conftest.err
1462 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1463 test $ac_status = 0; } && {
1464 test -z "$ac_c_werror_flag" ||
1465 test ! -s conftest.err
1466 } && test -s conftest$ac_exeext && {
1467 test "$cross_compiling" = yes ||
1468 $as_test_x conftest$ac_exeext
1472 $as_echo "$as_me: failed program was:" >&5
1473 sed 's/^/| /' conftest.$ac_ext >&5
1477 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1478 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1479 # interfere with the next link command; also delete a directory that is
1480 # left behind by Apple's compiler. We do this before executing the actions.
1481 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1482 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1483 as_fn_set_status $ac_retval
1485 } # ac_fn_c_try_link
1487 # ac_fn_c_try_cpp LINENO
1488 # ----------------------
1489 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1492 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1493 if { { ac_try="$ac_cpp conftest.$ac_ext"
1495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1496 *) ac_try_echo=$ac_try;;
1498 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1499 $as_echo "$ac_try_echo"; } >&5
1500 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1502 if test -s conftest.err; then
1503 grep -v '^ *+' conftest.err >conftest.er1
1504 cat conftest.er1 >&5
1505 mv -f conftest.er1 conftest.err
1507 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1508 test $ac_status = 0; } >/dev/null && {
1509 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1510 test ! -s conftest.err
1514 $as_echo "$as_me: failed program was:" >&5
1515 sed 's/^/| /' conftest.$ac_ext >&5
1519 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1520 as_fn_set_status $ac_retval
1524 # ac_fn_c_try_run LINENO
1525 # ----------------------
1526 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1527 # that executables *can* be run.
1530 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1531 if { { ac_try="$ac_link"
1533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1534 *) ac_try_echo=$ac_try;;
1536 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1537 $as_echo "$ac_try_echo"; } >&5
1538 (eval "$ac_link") 2>&5
1540 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1541 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1542 { { case "(($ac_try" in
1543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1544 *) ac_try_echo=$ac_try;;
1546 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1547 $as_echo "$ac_try_echo"; } >&5
1548 (eval "$ac_try") 2>&5
1550 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1551 test $ac_status = 0; }; }; then :
1554 $as_echo "$as_me: program exited with status $ac_status" >&5
1555 $as_echo "$as_me: failed program was:" >&5
1556 sed 's/^/| /' conftest.$ac_ext >&5
1558 ac_retval=$ac_status
1560 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1561 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1562 as_fn_set_status $ac_retval
1565 cat >config.log <<_ACEOF
1566 This file contains any messages produced by compilers while
1567 running configure, to aid debugging if configure makes a mistake.
1569 It was created by $as_me, which was
1570 generated by GNU Autoconf 2.66. Invocation command line was
1582 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1583 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1584 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1585 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1586 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1588 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1589 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1591 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1592 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1593 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1594 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1595 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1596 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1597 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1605 test -z "$as_dir" && as_dir=.
1606 $as_echo "PATH: $as_dir"
1622 # Keep a trace of the command line.
1623 # Strip out --no-create and --no-recursion so they do not pile up.
1624 # Strip out --silent because we don't want to record it for future runs.
1625 # Also quote any args containing shell meta-characters.
1626 # Make two passes to allow for proper duplicate-argument suppression.
1630 ac_must_keep_next=false
1636 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1637 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1638 | -silent | --silent | --silen | --sile | --sil)
1641 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1644 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1646 as_fn_append ac_configure_args1 " '$ac_arg'"
1647 if test $ac_must_keep_next = true; then
1648 ac_must_keep_next=false # Got value, back to normal.
1651 *=* | --config-cache | -C | -disable-* | --disable-* \
1652 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1653 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1654 | -with-* | --with-* | -without-* | --without-* | --x)
1655 case "$ac_configure_args0 " in
1656 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1659 -* ) ac_must_keep_next=true ;;
1662 as_fn_append ac_configure_args " '$ac_arg'"
1667 { ac_configure_args0=; unset ac_configure_args0;}
1668 { ac_configure_args1=; unset ac_configure_args1;}
1670 # When interrupted or exit'd, cleanup temporary files, and complete
1671 # config.log. We remove comments because anyway the quotes in there
1672 # would cause problems or look ugly.
1673 # WARNING: Use '\'' to represent an apostrophe within the trap.
1674 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1675 trap 'exit_status=$?
1676 # Save into config.log some information that might help in debugging.
1680 $as_echo "## ---------------- ##
1681 ## Cache variables. ##
1682 ## ---------------- ##"
1684 # The following way of writing the cache mishandles newlines in values,
1686 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1687 eval ac_val=\$$ac_var
1691 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1692 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1695 _ | IFS | as_nl) ;; #(
1696 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1697 *) { eval $ac_var=; unset $ac_var;} ;;
1702 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1703 *${as_nl}ac_space=\ *)
1705 "s/'\''/'\''\\\\'\'''\''/g;
1706 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1709 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1716 $as_echo "## ----------------- ##
1717 ## Output variables. ##
1718 ## ----------------- ##"
1720 for ac_var in $ac_subst_vars
1722 eval ac_val=\$$ac_var
1724 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1726 $as_echo "$ac_var='\''$ac_val'\''"
1730 if test -n "$ac_subst_files"; then
1731 $as_echo "## ------------------- ##
1732 ## File substitutions. ##
1733 ## ------------------- ##"
1735 for ac_var in $ac_subst_files
1737 eval ac_val=\$$ac_var
1739 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1741 $as_echo "$ac_var='\''$ac_val'\''"
1746 if test -s confdefs.h; then
1747 $as_echo "## ----------- ##
1754 test "$ac_signal" != 0 &&
1755 $as_echo "$as_me: caught signal $ac_signal"
1756 $as_echo "$as_me: exit $exit_status"
1758 rm -f core *.core core.conftest.* &&
1759 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1762 for ac_signal in 1 2 13 15; do
1763 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1767 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1768 rm -f -r conftest* confdefs.h
1770 $as_echo "/* confdefs.h */" > confdefs.h
1772 # Predefined preprocessor variables.
1774 cat >>confdefs.h <<_ACEOF
1775 #define PACKAGE_NAME "$PACKAGE_NAME"
1778 cat >>confdefs.h <<_ACEOF
1779 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1782 cat >>confdefs.h <<_ACEOF
1783 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1786 cat >>confdefs.h <<_ACEOF
1787 #define PACKAGE_STRING "$PACKAGE_STRING"
1790 cat >>confdefs.h <<_ACEOF
1791 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1794 cat >>confdefs.h <<_ACEOF
1795 #define PACKAGE_URL "$PACKAGE_URL"
1799 # Let the site file select an alternate cache file if it wants to.
1800 # Prefer an explicitly selected file to automatically selected ones.
1803 if test -n "$CONFIG_SITE"; then
1804 # We do not want a PATH search for config.site.
1805 case $CONFIG_SITE in #((
1806 -*) ac_site_file1=./$CONFIG_SITE;;
1807 */*) ac_site_file1=$CONFIG_SITE;;
1808 *) ac_site_file1=./$CONFIG_SITE;;
1810 elif test "x$prefix" != xNONE; then
1811 ac_site_file1=$prefix/share/config.site
1812 ac_site_file2=$prefix/etc/config.site
1814 ac_site_file1=$ac_default_prefix/share/config.site
1815 ac_site_file2=$ac_default_prefix/etc/config.site
1817 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1819 test "x$ac_site_file" = xNONE && continue
1820 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1821 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1822 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1823 sed 's/^/| /' "$ac_site_file" >&5
1825 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1826 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1827 as_fn_error $? "failed to load site script $ac_site_file
1828 See \`config.log' for more details" "$LINENO" 5; }
1832 if test -r "$cache_file"; then
1833 # Some versions of bash will fail to source /dev/null (special files
1834 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1835 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1836 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1837 $as_echo "$as_me: loading cache $cache_file" >&6;}
1839 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1840 *) . "./$cache_file";;
1844 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1845 $as_echo "$as_me: creating cache $cache_file" >&6;}
1849 # Check that the precious variables saved in the cache have kept the same
1851 ac_cache_corrupted=false
1852 for ac_var in $ac_precious_vars; do
1853 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1854 eval ac_new_set=\$ac_env_${ac_var}_set
1855 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1856 eval ac_new_val=\$ac_env_${ac_var}_value
1857 case $ac_old_set,$ac_new_set in
1859 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1860 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1861 ac_cache_corrupted=: ;;
1863 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1864 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1865 ac_cache_corrupted=: ;;
1868 if test "x$ac_old_val" != "x$ac_new_val"; then
1869 # differences in whitespace do not lead to failure.
1870 ac_old_val_w=`echo x $ac_old_val`
1871 ac_new_val_w=`echo x $ac_new_val`
1872 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1873 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1874 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1875 ac_cache_corrupted=:
1877 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1878 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1879 eval $ac_var=\$ac_old_val
1881 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1882 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1883 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1884 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1887 # Pass precious variables to config.status.
1888 if test "$ac_new_set" = set; then
1890 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1891 *) ac_arg=$ac_var=$ac_new_val ;;
1893 case " $ac_configure_args " in
1894 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1895 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1899 if $ac_cache_corrupted; then
1900 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1901 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1902 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1903 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1904 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1906 ## -------------------- ##
1907 ## Main body of script. ##
1908 ## -------------------- ##
1911 ac_cpp='$CPP $CPPFLAGS'
1912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1917 ac_config_headers="$ac_config_headers config.h"
1919 am__api_version='1.11'
1922 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1923 if test -f "$ac_dir/install-sh"; then
1925 ac_install_sh="$ac_aux_dir/install-sh -c"
1927 elif test -f "$ac_dir/install.sh"; then
1929 ac_install_sh="$ac_aux_dir/install.sh -c"
1931 elif test -f "$ac_dir/shtool"; then
1933 ac_install_sh="$ac_aux_dir/shtool install -c"
1937 if test -z "$ac_aux_dir"; then
1938 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1941 # These three variables are undocumented and unsupported,
1942 # and are intended to be withdrawn in a future Autoconf release.
1943 # They can cause serious problems if a builder's source tree is in a directory
1944 # whose full name contains unusual characters.
1945 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1946 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1947 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1950 # Find a good install program. We prefer a C program (faster),
1951 # so one script is as good as another. But avoid the broken or
1952 # incompatible versions:
1953 # SysV /etc/install, /usr/sbin/install
1954 # SunOS /usr/etc/install
1955 # IRIX /sbin/install
1957 # AmigaOS /C/install, which installs bootblocks on floppy discs
1958 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1959 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1960 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1961 # OS/2's system install, which has a completely different semantic
1962 # ./install, which can be erroneously created by make from ./install.sh.
1963 # Reject install programs that cannot install multiple files.
1964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1965 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1966 if test -z "$INSTALL"; then
1967 if test "${ac_cv_path_install+set}" = set; then :
1968 $as_echo_n "(cached) " >&6
1970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1974 test -z "$as_dir" && as_dir=.
1975 # Account for people who put trailing slashes in PATH elements.
1976 case $as_dir/ in #((
1977 ./ | .// | /[cC]/* | \
1978 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1979 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1982 # OSF1 and SCO ODT 3.0 have their own names for install.
1983 # Don't use installbsd from OSF since it installs stuff as root
1985 for ac_prog in ginstall scoinst install; do
1986 for ac_exec_ext in '' $ac_executable_extensions; do
1987 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1988 if test $ac_prog = install &&
1989 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1990 # AIX install. It has an incompatible calling convention.
1992 elif test $ac_prog = install &&
1993 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1994 # program-specific install script used by HP pwplus--don't use.
1997 rm -rf conftest.one conftest.two conftest.dir
1998 echo one > conftest.one
1999 echo two > conftest.two
2001 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2002 test -s conftest.one && test -s conftest.two &&
2003 test -s conftest.dir/conftest.one &&
2004 test -s conftest.dir/conftest.two
2006 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2019 rm -rf conftest.one conftest.two conftest.dir
2022 if test "${ac_cv_path_install+set}" = set; then
2023 INSTALL=$ac_cv_path_install
2025 # As a last resort, use the slow shell script. Don't cache a
2026 # value for INSTALL within a source directory, because that will
2027 # break other packages using the cache if that directory is
2028 # removed, or if the value is a relative name.
2029 INSTALL=$ac_install_sh
2032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2033 $as_echo "$INSTALL" >&6; }
2035 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2036 # It thinks the first close brace ends the variable substitution.
2037 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2039 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2041 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2044 $as_echo_n "checking whether build environment is sane... " >&6; }
2047 echo timestamp > conftest.file
2048 # Reject unsafe characters in $srcdir or the absolute working directory
2049 # name. Accept space and tab only in the latter.
2053 *[\\\"\#\$\&\'\`$am_lf]*)
2054 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2057 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2058 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2061 # Do `set' in a subshell so we don't clobber the current shell's
2062 # arguments. Must try -L first in case configure is actually a
2063 # symlink; some systems play weird games with the mod time of symlinks
2064 # (eg FreeBSD returns the mod time of the symlink's containing
2067 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2068 if test "$*" = "X"; then
2070 set X `ls -t "$srcdir/configure" conftest.file`
2073 if test "$*" != "X $srcdir/configure conftest.file" \
2074 && test "$*" != "X conftest.file $srcdir/configure"; then
2076 # If neither matched, then we have a broken ls. This can happen
2077 # if, for instance, CONFIG_SHELL is bash and it inherits a
2078 # broken ls alias from the environment. This has actually
2079 # happened. Such a system could not be considered "sane".
2080 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2081 alias in your environment" "$LINENO" 5
2084 test "$2" = conftest.file
2090 as_fn_error $? "newly created file is older than distributed files!
2091 Check your system clock" "$LINENO" 5
2093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2094 $as_echo "yes" >&6; }
2095 test "$program_prefix" != NONE &&
2096 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2097 # Use a double $ so make ignores it.
2098 test "$program_suffix" != NONE &&
2099 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2100 # Double any \ or $.
2101 # By default was `s,x,x', remove it if useless.
2102 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2103 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2105 # expand $ac_aux_dir to an absolute path
2106 am_aux_dir=`cd $ac_aux_dir && pwd`
2108 if test x"${MISSING+set}" != xset; then
2111 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2113 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2116 # Use eval to expand $SHELL
2117 if eval "$MISSING --run true"; then
2118 am_missing_run="$MISSING --run "
2121 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2122 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2125 if test x"${install_sh}" != xset; then
2128 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2130 install_sh="\${SHELL} $am_aux_dir/install-sh"
2134 # Installed binaries are usually stripped using `strip' when the user
2135 # run `make install-strip'. However `strip' might not be the right
2136 # tool to use in cross-compilation environments, therefore Automake
2137 # will honor the `STRIP' environment variable to overrule this program.
2138 if test "$cross_compiling" != no; then
2139 if test -n "$ac_tool_prefix"; then
2140 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2141 set dummy ${ac_tool_prefix}strip; ac_word=$2
2142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2143 $as_echo_n "checking for $ac_word... " >&6; }
2144 if test "${ac_cv_prog_STRIP+set}" = set; then :
2145 $as_echo_n "(cached) " >&6
2147 if test -n "$STRIP"; then
2148 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2154 test -z "$as_dir" && as_dir=.
2155 for ac_exec_ext in '' $ac_executable_extensions; do
2156 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2157 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2158 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2167 STRIP=$ac_cv_prog_STRIP
2168 if test -n "$STRIP"; then
2169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2170 $as_echo "$STRIP" >&6; }
2172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2173 $as_echo "no" >&6; }
2178 if test -z "$ac_cv_prog_STRIP"; then
2180 # Extract the first word of "strip", so it can be a program name with args.
2181 set dummy strip; ac_word=$2
2182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2183 $as_echo_n "checking for $ac_word... " >&6; }
2184 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2185 $as_echo_n "(cached) " >&6
2187 if test -n "$ac_ct_STRIP"; then
2188 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2194 test -z "$as_dir" && as_dir=.
2195 for ac_exec_ext in '' $ac_executable_extensions; do
2196 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2197 ac_cv_prog_ac_ct_STRIP="strip"
2198 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2207 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2208 if test -n "$ac_ct_STRIP"; then
2209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2210 $as_echo "$ac_ct_STRIP" >&6; }
2212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2213 $as_echo "no" >&6; }
2216 if test "x$ac_ct_STRIP" = x; then
2219 case $cross_compiling:$ac_tool_warned in
2221 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2222 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2223 ac_tool_warned=yes ;;
2228 STRIP="$ac_cv_prog_STRIP"
2232 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2235 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2236 if test -z "$MKDIR_P"; then
2237 if test "${ac_cv_path_mkdir+set}" = set; then :
2238 $as_echo_n "(cached) " >&6
2240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2241 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2244 test -z "$as_dir" && as_dir=.
2245 for ac_prog in mkdir gmkdir; do
2246 for ac_exec_ext in '' $ac_executable_extensions; do
2247 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2248 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2249 'mkdir (GNU coreutils) '* | \
2250 'mkdir (coreutils) '* | \
2251 'mkdir (fileutils) '4.1*)
2252 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2262 test -d ./--version && rmdir ./--version
2263 if test "${ac_cv_path_mkdir+set}" = set; then
2264 MKDIR_P="$ac_cv_path_mkdir -p"
2266 # As a last resort, use the slow shell script. Don't cache a
2267 # value for MKDIR_P within a source directory, because that will
2268 # break other packages using the cache if that directory is
2269 # removed, or if the value is a relative name.
2270 MKDIR_P="$ac_install_sh -d"
2273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2274 $as_echo "$MKDIR_P" >&6; }
2278 [\\/$]* | ?:[\\/]*) ;;
2279 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2282 for ac_prog in gawk mawk nawk awk
2284 # Extract the first word of "$ac_prog", so it can be a program name with args.
2285 set dummy $ac_prog; ac_word=$2
2286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2287 $as_echo_n "checking for $ac_word... " >&6; }
2288 if test "${ac_cv_prog_AWK+set}" = set; then :
2289 $as_echo_n "(cached) " >&6
2291 if test -n "$AWK"; then
2292 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2298 test -z "$as_dir" && as_dir=.
2299 for ac_exec_ext in '' $ac_executable_extensions; do
2300 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2301 ac_cv_prog_AWK="$ac_prog"
2302 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2312 if test -n "$AWK"; then
2313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2314 $as_echo "$AWK" >&6; }
2316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2317 $as_echo "no" >&6; }
2321 test -n "$AWK" && break
2324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2325 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2327 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2328 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
2329 $as_echo_n "(cached) " >&6
2331 cat >conftest.make <<\_ACEOF
2334 @echo '@@@%%%=$(MAKE)=@@@%%%'
2336 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2337 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2339 eval ac_cv_prog_make_${ac_make}_set=yes;;
2341 eval ac_cv_prog_make_${ac_make}_set=no;;
2345 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2347 $as_echo "yes" >&6; }
2350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2351 $as_echo "no" >&6; }
2352 SET_MAKE="MAKE=${MAKE-make}"
2355 rm -rf .tst 2>/dev/null
2356 mkdir .tst 2>/dev/null
2357 if test -d .tst; then
2362 rmdir .tst 2>/dev/null
2364 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2365 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2366 # is not polluted with repeated "-I."
2367 am__isrc=' -I$(srcdir)'
2368 # test to see if srcdir already configured
2369 if test -f $srcdir/config.status; then
2370 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2374 # test whether we have cygpath
2375 if test -z "$CYGPATH_W"; then
2376 if (cygpath --version) >/dev/null 2>/dev/null; then
2377 CYGPATH_W='cygpath -w'
2384 # Define the identity of the package.
2389 cat >>confdefs.h <<_ACEOF
2390 #define PACKAGE "$PACKAGE"
2394 cat >>confdefs.h <<_ACEOF
2395 #define VERSION "$VERSION"
2398 # Some tools Automake needs.
2400 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2403 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2406 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2409 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2412 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2414 # We need awk for the "check" target. The system "awk" is bad on
2416 # Always define AMTAR for backward compatibility.
2418 AMTAR=${AMTAR-"${am_missing_run}tar"}
2420 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2428 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2429 # Check whether --enable-maintainer-mode was given.
2430 if test "${enable_maintainer_mode+set}" = set; then :
2431 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2433 USE_MAINTAINER_MODE=no
2436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2437 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2438 if test $USE_MAINTAINER_MODE = yes; then
2439 MAINTAINER_MODE_TRUE=
2440 MAINTAINER_MODE_FALSE='#'
2442 MAINTAINER_MODE_TRUE='#'
2443 MAINTAINER_MODE_FALSE=
2446 MAINT=$MAINTAINER_MODE_TRUE
2453 if test -f ../NOINST_GOB; then
2462 if test -f ../NOINST_GOB ; then
2463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: *** NOT Going to install GOB ***" >&5
2464 $as_echo "*** NOT Going to install GOB ***" >&6; }
2465 SUBDIRS="src examples"
2467 SUBDIRS="src examples doc"
2471 DEPDIR="${am__leading_dot}deps"
2473 ac_config_commands="$ac_config_commands depfiles"
2476 am_make=${MAKE-make}
2477 cat > confinc << 'END'
2479 @echo this is the am__doit target
2482 # If we don't find an include directive, just comment out the code.
2483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2484 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2488 # First try GNU make style include.
2489 echo "include confinc" > confmf
2490 # Ignore all kinds of additional output from `make'.
2491 case `$am_make -s -f confmf 2> /dev/null` in #(
2492 *the\ am__doit\ target*)
2498 # Now try BSD make style include.
2499 if test "$am__include" = "#"; then
2500 echo '.include "confinc"' > confmf
2501 case `$am_make -s -f confmf 2> /dev/null` in #(
2502 *the\ am__doit\ target*)
2503 am__include=.include
2511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2512 $as_echo "$_am_result" >&6; }
2513 rm -f confinc confmf
2515 # Check whether --enable-dependency-tracking was given.
2516 if test "${enable_dependency_tracking+set}" = set; then :
2517 enableval=$enable_dependency_tracking;
2520 if test "x$enable_dependency_tracking" != xno; then
2521 am_depcomp="$ac_aux_dir/depcomp"
2524 if test "x$enable_dependency_tracking" != xno; then
2534 ac_cpp='$CPP $CPPFLAGS'
2535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2538 if test -n "$ac_tool_prefix"; then
2539 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2540 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2542 $as_echo_n "checking for $ac_word... " >&6; }
2543 if test "${ac_cv_prog_CC+set}" = set; then :
2544 $as_echo_n "(cached) " >&6
2546 if test -n "$CC"; then
2547 ac_cv_prog_CC="$CC" # Let the user override the test.
2549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2553 test -z "$as_dir" && as_dir=.
2554 for ac_exec_ext in '' $ac_executable_extensions; do
2555 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2556 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2557 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2567 if test -n "$CC"; then
2568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2569 $as_echo "$CC" >&6; }
2571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2572 $as_echo "no" >&6; }
2577 if test -z "$ac_cv_prog_CC"; then
2579 # Extract the first word of "gcc", so it can be a program name with args.
2580 set dummy gcc; ac_word=$2
2581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2582 $as_echo_n "checking for $ac_word... " >&6; }
2583 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2584 $as_echo_n "(cached) " >&6
2586 if test -n "$ac_ct_CC"; then
2587 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2589 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2593 test -z "$as_dir" && as_dir=.
2594 for ac_exec_ext in '' $ac_executable_extensions; do
2595 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2596 ac_cv_prog_ac_ct_CC="gcc"
2597 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2606 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2607 if test -n "$ac_ct_CC"; then
2608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2609 $as_echo "$ac_ct_CC" >&6; }
2611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2612 $as_echo "no" >&6; }
2615 if test "x$ac_ct_CC" = x; then
2618 case $cross_compiling:$ac_tool_warned in
2620 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2621 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2622 ac_tool_warned=yes ;;
2630 if test -z "$CC"; then
2631 if test -n "$ac_tool_prefix"; then
2632 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2633 set dummy ${ac_tool_prefix}cc; ac_word=$2
2634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2635 $as_echo_n "checking for $ac_word... " >&6; }
2636 if test "${ac_cv_prog_CC+set}" = set; then :
2637 $as_echo_n "(cached) " >&6
2639 if test -n "$CC"; then
2640 ac_cv_prog_CC="$CC" # Let the user override the test.
2642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2646 test -z "$as_dir" && as_dir=.
2647 for ac_exec_ext in '' $ac_executable_extensions; do
2648 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2649 ac_cv_prog_CC="${ac_tool_prefix}cc"
2650 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2660 if test -n "$CC"; then
2661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2662 $as_echo "$CC" >&6; }
2664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2665 $as_echo "no" >&6; }
2671 if test -z "$CC"; then
2672 # Extract the first word of "cc", so it can be a program name with args.
2673 set dummy cc; ac_word=$2
2674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2675 $as_echo_n "checking for $ac_word... " >&6; }
2676 if test "${ac_cv_prog_CC+set}" = set; then :
2677 $as_echo_n "(cached) " >&6
2679 if test -n "$CC"; then
2680 ac_cv_prog_CC="$CC" # Let the user override the test.
2683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2687 test -z "$as_dir" && as_dir=.
2688 for ac_exec_ext in '' $ac_executable_extensions; do
2689 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2690 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2691 ac_prog_rejected=yes
2695 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2702 if test $ac_prog_rejected = yes; then
2703 # We found a bogon in the path, so make sure we never use it.
2704 set dummy $ac_cv_prog_CC
2706 if test $# != 0; then
2707 # We chose a different compiler from the bogus one.
2708 # However, it has the same basename, so the bogon will be chosen
2709 # first if we set CC to just the basename; use the full file name.
2711 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2717 if test -n "$CC"; then
2718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2719 $as_echo "$CC" >&6; }
2721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2722 $as_echo "no" >&6; }
2727 if test -z "$CC"; then
2728 if test -n "$ac_tool_prefix"; then
2729 for ac_prog in cl.exe
2731 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2732 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2734 $as_echo_n "checking for $ac_word... " >&6; }
2735 if test "${ac_cv_prog_CC+set}" = set; then :
2736 $as_echo_n "(cached) " >&6
2738 if test -n "$CC"; then
2739 ac_cv_prog_CC="$CC" # Let the user override the test.
2741 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2745 test -z "$as_dir" && as_dir=.
2746 for ac_exec_ext in '' $ac_executable_extensions; do
2747 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2748 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2749 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2759 if test -n "$CC"; then
2760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2761 $as_echo "$CC" >&6; }
2763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2764 $as_echo "no" >&6; }
2768 test -n "$CC" && break
2771 if test -z "$CC"; then
2773 for ac_prog in cl.exe
2775 # Extract the first word of "$ac_prog", so it can be a program name with args.
2776 set dummy $ac_prog; 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 test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2780 $as_echo_n "(cached) " >&6
2782 if test -n "$ac_ct_CC"; then
2783 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2789 test -z "$as_dir" && as_dir=.
2790 for ac_exec_ext in '' $ac_executable_extensions; do
2791 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2792 ac_cv_prog_ac_ct_CC="$ac_prog"
2793 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2802 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2803 if test -n "$ac_ct_CC"; then
2804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2805 $as_echo "$ac_ct_CC" >&6; }
2807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2808 $as_echo "no" >&6; }
2812 test -n "$ac_ct_CC" && break
2815 if test "x$ac_ct_CC" = x; then
2818 case $cross_compiling:$ac_tool_warned in
2820 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2821 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2822 ac_tool_warned=yes ;;
2831 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2832 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2833 as_fn_error $? "no acceptable C compiler found in \$PATH
2834 See \`config.log' for more details" "$LINENO" 5; }
2836 # Provide some information about the compiler.
2837 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2840 for ac_option in --version -v -V -qversion; do
2841 { { ac_try="$ac_compiler $ac_option >&5"
2843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2844 *) ac_try_echo=$ac_try;;
2846 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2847 $as_echo "$ac_try_echo"; } >&5
2848 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2850 if test -s conftest.err; then
2852 ... rest of stderr output deleted ...
2853 10q' conftest.err >conftest.er1
2854 cat conftest.er1 >&5
2856 rm -f conftest.er1 conftest.err
2857 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2858 test $ac_status = 0; }
2861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2862 /* end confdefs.h. */
2872 ac_clean_files_save=$ac_clean_files
2873 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2874 # Try to create an executable without -o first, disregard a.out.
2875 # It will help us diagnose broken compilers, and finding out an intuition
2877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2878 $as_echo_n "checking whether the C compiler works... " >&6; }
2879 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2881 # The possible output files:
2882 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2885 for ac_file in $ac_files
2888 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2889 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2894 if { { ac_try="$ac_link_default"
2896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2897 *) ac_try_echo=$ac_try;;
2899 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2900 $as_echo "$ac_try_echo"; } >&5
2901 (eval "$ac_link_default") 2>&5
2903 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2904 test $ac_status = 0; }; then :
2905 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2906 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2907 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2908 # so that the user can short-circuit this test for compilers unknown to
2910 for ac_file in $ac_files ''
2912 test -f "$ac_file" || continue
2914 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2917 # We found the default executable, but exeext='' is most
2921 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2923 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2925 # We set ac_cv_exeext here because the later test for it is not
2926 # safe: cross compilers may not add the suffix if given an `-o'
2927 # argument, so we may need to know it at that point already.
2928 # Even if this section looks crufty: it has the advantage of
2935 test "$ac_cv_exeext" = no && ac_cv_exeext=
2940 if test -z "$ac_file"; then :
2941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2942 $as_echo "no" >&6; }
2943 $as_echo "$as_me: failed program was:" >&5
2944 sed 's/^/| /' conftest.$ac_ext >&5
2946 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2947 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2948 as_fn_error 77 "C compiler cannot create executables
2949 See \`config.log' for more details" "$LINENO" 5; }
2951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2952 $as_echo "yes" >&6; }
2954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2955 $as_echo_n "checking for C compiler default output file name... " >&6; }
2956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2957 $as_echo "$ac_file" >&6; }
2958 ac_exeext=$ac_cv_exeext
2960 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2961 ac_clean_files=$ac_clean_files_save
2962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2963 $as_echo_n "checking for suffix of executables... " >&6; }
2964 if { { ac_try="$ac_link"
2966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2967 *) ac_try_echo=$ac_try;;
2969 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2970 $as_echo "$ac_try_echo"; } >&5
2971 (eval "$ac_link") 2>&5
2973 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2974 test $ac_status = 0; }; then :
2975 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2976 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2977 # work properly (i.e., refer to `conftest.exe'), while it won't with
2979 for ac_file in conftest.exe conftest conftest.*; do
2980 test -f "$ac_file" || continue
2982 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2983 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2989 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2990 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2991 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2992 See \`config.log' for more details" "$LINENO" 5; }
2994 rm -f conftest conftest$ac_cv_exeext
2995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2996 $as_echo "$ac_cv_exeext" >&6; }
2998 rm -f conftest.$ac_ext
2999 EXEEXT=$ac_cv_exeext
3001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3002 /* end confdefs.h. */
3007 FILE *f = fopen ("conftest.out", "w");
3008 return ferror (f) || fclose (f) != 0;
3014 ac_clean_files="$ac_clean_files conftest.out"
3015 # Check that the compiler produces executables we can run. If not, either
3016 # the compiler is broken, or we cross compile.
3017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3018 $as_echo_n "checking whether we are cross compiling... " >&6; }
3019 if test "$cross_compiling" != yes; then
3020 { { ac_try="$ac_link"
3022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3023 *) ac_try_echo=$ac_try;;
3025 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3026 $as_echo "$ac_try_echo"; } >&5
3027 (eval "$ac_link") 2>&5
3029 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3030 test $ac_status = 0; }
3031 if { ac_try='./conftest$ac_cv_exeext'
3032 { { case "(($ac_try" in
3033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3034 *) ac_try_echo=$ac_try;;
3036 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3037 $as_echo "$ac_try_echo"; } >&5
3038 (eval "$ac_try") 2>&5
3040 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3041 test $ac_status = 0; }; }; then
3044 if test "$cross_compiling" = maybe; then
3047 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3048 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3049 as_fn_error $? "cannot run C compiled programs.
3050 If you meant to cross compile, use \`--host'.
3051 See \`config.log' for more details" "$LINENO" 5; }
3055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3056 $as_echo "$cross_compiling" >&6; }
3058 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3059 ac_clean_files=$ac_clean_files_save
3060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3061 $as_echo_n "checking for suffix of object files... " >&6; }
3062 if test "${ac_cv_objext+set}" = set; then :
3063 $as_echo_n "(cached) " >&6
3065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3066 /* end confdefs.h. */
3076 rm -f conftest.o conftest.obj
3077 if { { ac_try="$ac_compile"
3079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3080 *) ac_try_echo=$ac_try;;
3082 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3083 $as_echo "$ac_try_echo"; } >&5
3084 (eval "$ac_compile") 2>&5
3086 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3087 test $ac_status = 0; }; then :
3088 for ac_file in conftest.o conftest.obj conftest.*; do
3089 test -f "$ac_file" || continue;
3091 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3092 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3097 $as_echo "$as_me: failed program was:" >&5
3098 sed 's/^/| /' conftest.$ac_ext >&5
3100 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3101 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3102 as_fn_error $? "cannot compute suffix of object files: cannot compile
3103 See \`config.log' for more details" "$LINENO" 5; }
3105 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3108 $as_echo "$ac_cv_objext" >&6; }
3109 OBJEXT=$ac_cv_objext
3111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3112 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3113 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3114 $as_echo_n "(cached) " >&6
3116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3117 /* end confdefs.h. */
3130 if ac_fn_c_try_compile "$LINENO"; then :
3135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3136 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3140 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3141 if test $ac_compiler_gnu = yes; then
3146 ac_test_CFLAGS=${CFLAGS+set}
3147 ac_save_CFLAGS=$CFLAGS
3148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3149 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3150 if test "${ac_cv_prog_cc_g+set}" = set; then :
3151 $as_echo_n "(cached) " >&6
3153 ac_save_c_werror_flag=$ac_c_werror_flag
3154 ac_c_werror_flag=yes
3157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3158 /* end confdefs.h. */
3168 if ac_fn_c_try_compile "$LINENO"; then :
3172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3173 /* end confdefs.h. */
3183 if ac_fn_c_try_compile "$LINENO"; then :
3186 ac_c_werror_flag=$ac_save_c_werror_flag
3188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3189 /* end confdefs.h. */
3199 if ac_fn_c_try_compile "$LINENO"; then :
3202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3207 ac_c_werror_flag=$ac_save_c_werror_flag
3209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3210 $as_echo "$ac_cv_prog_cc_g" >&6; }
3211 if test "$ac_test_CFLAGS" = set; then
3212 CFLAGS=$ac_save_CFLAGS
3213 elif test $ac_cv_prog_cc_g = yes; then
3214 if test "$GCC" = yes; then
3220 if test "$GCC" = yes; then
3226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3227 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3228 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3229 $as_echo_n "(cached) " >&6
3231 ac_cv_prog_cc_c89=no
3233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3234 /* end confdefs.h. */
3237 #include <sys/types.h>
3238 #include <sys/stat.h>
3239 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3240 struct buf { int x; };
3241 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3242 static char *e (p, i)
3248 static char *f (char * (*g) (char **, int), char **p, ...)
3253 s = g (p, va_arg (v,int));
3258 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3259 function prototypes and stuff, but not '\xHH' hex character constants.
3260 These don't provoke an error unfortunately, instead are silently treated
3261 as 'x'. The following induces an error, until -std is added to get
3262 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3263 array size at least. It's necessary to write '\x00'==0 to get something
3264 that's true only with -std. */
3265 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3267 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3268 inside strings and character constants. */
3270 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3272 int test (int i, double x);
3273 struct s1 {int (*f) (int a);};
3274 struct s2 {int (*f) (double a);};
3275 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3281 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3286 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3287 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3289 CC="$ac_save_CC $ac_arg"
3290 if ac_fn_c_try_compile "$LINENO"; then :
3291 ac_cv_prog_cc_c89=$ac_arg
3293 rm -f core conftest.err conftest.$ac_objext
3294 test "x$ac_cv_prog_cc_c89" != "xno" && break
3296 rm -f conftest.$ac_ext
3301 case "x$ac_cv_prog_cc_c89" in
3303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3304 $as_echo "none needed" >&6; } ;;
3306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3307 $as_echo "unsupported" >&6; } ;;
3309 CC="$CC $ac_cv_prog_cc_c89"
3310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3311 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3313 if test "x$ac_cv_prog_cc_c89" != xno; then :
3318 ac_cpp='$CPP $CPPFLAGS'
3319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3323 depcc="$CC" am_compiler_list=
3325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3326 $as_echo_n "checking dependency style of $depcc... " >&6; }
3327 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3328 $as_echo_n "(cached) " >&6
3330 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3331 # We make a subdir and do the tests there. Otherwise we can end up
3332 # making bogus files that we don't know about and never remove. For
3333 # instance it was reported that on HP-UX the gcc test will end up
3334 # making a dummy file named `D' -- because `-MD' means `put the output
3337 # Copy depcomp to subdir because otherwise we won't find it if we're
3338 # using a relative directory.
3339 cp "$am_depcomp" conftest.dir
3341 # We will build objects and dependencies in a subdirectory because
3342 # it helps to detect inapplicable dependency modes. For instance
3343 # both Tru64's cc and ICC support -MD to output dependencies as a
3344 # side effect of compilation, but ICC will put the dependencies in
3345 # the current directory while Tru64 will put them in the object
3349 am_cv_CC_dependencies_compiler_type=none
3350 if test "$am_compiler_list" = ""; then
3351 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3354 case " $depcc " in #(
3355 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3358 for depmode in $am_compiler_list; do
3359 # Setup a source with many dependencies, because some compilers
3360 # like to wrap large dependency lists on column 80 (with \), and
3361 # we should not choose a depcomp mode which is confused by this.
3363 # We need to recreate these files for each test, as the compiler may
3364 # overwrite some of them when testing with obscure command lines.
3365 # This happens at least with the AIX C compiler.
3367 for i in 1 2 3 4 5 6; do
3368 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3369 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3370 # Solaris 8's {/usr,}/bin/sh.
3371 touch sub/conftst$i.h
3373 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3375 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3376 # mode. It turns out that the SunPro C++ compiler does not properly
3377 # handle `-M -o', and we need to detect this. Also, some Intel
3378 # versions had trouble with output in subdirs
3379 am__obj=sub/conftest.${OBJEXT-o}
3380 am__minus_obj="-o $am__obj"
3383 # This depmode causes a compiler race in universal mode.
3384 test "$am__universal" = false || continue
3387 # after this tag, mechanisms are not by side-effect, so they'll
3388 # only be used when explicitly requested
3389 if test "x$enable_dependency_tracking" = xyes; then
3395 msvisualcpp | msvcmsys)
3396 # This compiler won't grok `-c -o', but also, the minuso test has
3397 # not run yet. These depmodes are late enough in the game, and
3398 # so weak that their functioning should not be impacted.
3399 am__obj=conftest.${OBJEXT-o}
3404 if depmode=$depmode \
3405 source=sub/conftest.c object=$am__obj \
3406 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3407 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3408 >/dev/null 2>conftest.err &&
3409 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3410 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3411 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3412 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3413 # icc doesn't choke on unknown options, it will just issue warnings
3414 # or remarks (even with -Werror). So we grep stderr for any message
3415 # that says an option was ignored or not supported.
3416 # When given -MP, icc 7.0 and 7.1 complain thusly:
3417 # icc: Command line warning: ignoring option '-M'; no argument required
3418 # The diagnosis changed in icc 8.0:
3419 # icc: Command line remark: option '-MP' not supported
3420 if (grep 'ignoring option' conftest.err ||
3421 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3422 am_cv_CC_dependencies_compiler_type=$depmode
3431 am_cv_CC_dependencies_compiler_type=none
3435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3436 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3437 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3440 test "x$enable_dependency_tracking" != xno \
3441 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3443 am__fastdepCC_FALSE='#'
3445 am__fastdepCC_TRUE='#'
3446 am__fastdepCC_FALSE=
3451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
3452 $as_echo_n "checking for library containing strerror... " >&6; }
3453 if test "${ac_cv_search_strerror+set}" = set; then :
3454 $as_echo_n "(cached) " >&6
3456 ac_func_search_save_LIBS=$LIBS
3457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3458 /* end confdefs.h. */
3460 /* Override any GCC internal prototype to avoid an error.
3461 Use char because int might match the return type of a GCC
3462 builtin and then its argument prototype would still apply. */
3475 for ac_lib in '' cposix; do
3476 if test -z "$ac_lib"; then
3477 ac_res="none required"
3480 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3482 if ac_fn_c_try_link "$LINENO"; then :
3483 ac_cv_search_strerror=$ac_res
3485 rm -f core conftest.err conftest.$ac_objext \
3487 if test "${ac_cv_search_strerror+set}" = set; then :
3491 if test "${ac_cv_search_strerror+set}" = set; then :
3494 ac_cv_search_strerror=no
3497 LIBS=$ac_func_search_save_LIBS
3499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
3500 $as_echo "$ac_cv_search_strerror" >&6; }
3501 ac_res=$ac_cv_search_strerror
3502 if test "$ac_res" != no; then :
3503 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3508 ac_cpp='$CPP $CPPFLAGS'
3509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3512 if test -n "$ac_tool_prefix"; then
3513 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3514 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3516 $as_echo_n "checking for $ac_word... " >&6; }
3517 if test "${ac_cv_prog_CC+set}" = set; then :
3518 $as_echo_n "(cached) " >&6
3520 if test -n "$CC"; then
3521 ac_cv_prog_CC="$CC" # Let the user override the test.
3523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3527 test -z "$as_dir" && as_dir=.
3528 for ac_exec_ext in '' $ac_executable_extensions; do
3529 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3530 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3531 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3541 if test -n "$CC"; then
3542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3543 $as_echo "$CC" >&6; }
3545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3546 $as_echo "no" >&6; }
3551 if test -z "$ac_cv_prog_CC"; then
3553 # Extract the first word of "gcc", so it can be a program name with args.
3554 set dummy gcc; ac_word=$2
3555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3556 $as_echo_n "checking for $ac_word... " >&6; }
3557 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3558 $as_echo_n "(cached) " >&6
3560 if test -n "$ac_ct_CC"; then
3561 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3567 test -z "$as_dir" && as_dir=.
3568 for ac_exec_ext in '' $ac_executable_extensions; do
3569 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3570 ac_cv_prog_ac_ct_CC="gcc"
3571 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3580 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3581 if test -n "$ac_ct_CC"; then
3582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3583 $as_echo "$ac_ct_CC" >&6; }
3585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3586 $as_echo "no" >&6; }
3589 if test "x$ac_ct_CC" = x; then
3592 case $cross_compiling:$ac_tool_warned in
3594 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3595 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3596 ac_tool_warned=yes ;;
3604 if test -z "$CC"; then
3605 if test -n "$ac_tool_prefix"; then
3606 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3607 set dummy ${ac_tool_prefix}cc; ac_word=$2
3608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3609 $as_echo_n "checking for $ac_word... " >&6; }
3610 if test "${ac_cv_prog_CC+set}" = set; then :
3611 $as_echo_n "(cached) " >&6
3613 if test -n "$CC"; then
3614 ac_cv_prog_CC="$CC" # Let the user override the test.
3616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3620 test -z "$as_dir" && as_dir=.
3621 for ac_exec_ext in '' $ac_executable_extensions; do
3622 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3623 ac_cv_prog_CC="${ac_tool_prefix}cc"
3624 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3634 if test -n "$CC"; then
3635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3636 $as_echo "$CC" >&6; }
3638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3639 $as_echo "no" >&6; }
3645 if test -z "$CC"; then
3646 # Extract the first word of "cc", so it can be a program name with args.
3647 set dummy cc; ac_word=$2
3648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3649 $as_echo_n "checking for $ac_word... " >&6; }
3650 if test "${ac_cv_prog_CC+set}" = set; then :
3651 $as_echo_n "(cached) " >&6
3653 if test -n "$CC"; then
3654 ac_cv_prog_CC="$CC" # Let the user override the test.
3657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3661 test -z "$as_dir" && as_dir=.
3662 for ac_exec_ext in '' $ac_executable_extensions; do
3663 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3664 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3665 ac_prog_rejected=yes
3669 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3676 if test $ac_prog_rejected = yes; then
3677 # We found a bogon in the path, so make sure we never use it.
3678 set dummy $ac_cv_prog_CC
3680 if test $# != 0; then
3681 # We chose a different compiler from the bogus one.
3682 # However, it has the same basename, so the bogon will be chosen
3683 # first if we set CC to just the basename; use the full file name.
3685 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3691 if test -n "$CC"; then
3692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3693 $as_echo "$CC" >&6; }
3695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3696 $as_echo "no" >&6; }
3701 if test -z "$CC"; then
3702 if test -n "$ac_tool_prefix"; then
3703 for ac_prog in cl.exe
3705 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3706 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3708 $as_echo_n "checking for $ac_word... " >&6; }
3709 if test "${ac_cv_prog_CC+set}" = set; then :
3710 $as_echo_n "(cached) " >&6
3712 if test -n "$CC"; then
3713 ac_cv_prog_CC="$CC" # Let the user override the test.
3715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3719 test -z "$as_dir" && as_dir=.
3720 for ac_exec_ext in '' $ac_executable_extensions; do
3721 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3722 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3723 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3733 if test -n "$CC"; then
3734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3735 $as_echo "$CC" >&6; }
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3738 $as_echo "no" >&6; }
3742 test -n "$CC" && break
3745 if test -z "$CC"; then
3747 for ac_prog in cl.exe
3749 # Extract the first word of "$ac_prog", so it can be a program name with args.
3750 set dummy $ac_prog; 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 test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3754 $as_echo_n "(cached) " >&6
3756 if test -n "$ac_ct_CC"; then
3757 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3763 test -z "$as_dir" && as_dir=.
3764 for ac_exec_ext in '' $ac_executable_extensions; do
3765 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3766 ac_cv_prog_ac_ct_CC="$ac_prog"
3767 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3776 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3777 if test -n "$ac_ct_CC"; then
3778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3779 $as_echo "$ac_ct_CC" >&6; }
3781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3782 $as_echo "no" >&6; }
3786 test -n "$ac_ct_CC" && break
3789 if test "x$ac_ct_CC" = x; then
3792 case $cross_compiling:$ac_tool_warned in
3794 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3795 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3796 ac_tool_warned=yes ;;
3805 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3806 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3807 as_fn_error $? "no acceptable C compiler found in \$PATH
3808 See \`config.log' for more details" "$LINENO" 5; }
3810 # Provide some information about the compiler.
3811 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3814 for ac_option in --version -v -V -qversion; do
3815 { { ac_try="$ac_compiler $ac_option >&5"
3817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3818 *) ac_try_echo=$ac_try;;
3820 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3821 $as_echo "$ac_try_echo"; } >&5
3822 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3824 if test -s conftest.err; then
3826 ... rest of stderr output deleted ...
3827 10q' conftest.err >conftest.er1
3828 cat conftest.er1 >&5
3830 rm -f conftest.er1 conftest.err
3831 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3832 test $ac_status = 0; }
3835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3836 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3837 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3838 $as_echo_n "(cached) " >&6
3840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3841 /* end confdefs.h. */
3854 if ac_fn_c_try_compile "$LINENO"; then :
3859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3860 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3864 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3865 if test $ac_compiler_gnu = yes; then
3870 ac_test_CFLAGS=${CFLAGS+set}
3871 ac_save_CFLAGS=$CFLAGS
3872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3873 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3874 if test "${ac_cv_prog_cc_g+set}" = set; then :
3875 $as_echo_n "(cached) " >&6
3877 ac_save_c_werror_flag=$ac_c_werror_flag
3878 ac_c_werror_flag=yes
3881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3882 /* end confdefs.h. */
3892 if ac_fn_c_try_compile "$LINENO"; then :
3896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3897 /* end confdefs.h. */
3907 if ac_fn_c_try_compile "$LINENO"; then :
3910 ac_c_werror_flag=$ac_save_c_werror_flag
3912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3913 /* end confdefs.h. */
3923 if ac_fn_c_try_compile "$LINENO"; then :
3926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3931 ac_c_werror_flag=$ac_save_c_werror_flag
3933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3934 $as_echo "$ac_cv_prog_cc_g" >&6; }
3935 if test "$ac_test_CFLAGS" = set; then
3936 CFLAGS=$ac_save_CFLAGS
3937 elif test $ac_cv_prog_cc_g = yes; then
3938 if test "$GCC" = yes; then
3944 if test "$GCC" = yes; then
3950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3951 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3952 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3953 $as_echo_n "(cached) " >&6
3955 ac_cv_prog_cc_c89=no
3957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3958 /* end confdefs.h. */
3961 #include <sys/types.h>
3962 #include <sys/stat.h>
3963 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3964 struct buf { int x; };
3965 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3966 static char *e (p, i)
3972 static char *f (char * (*g) (char **, int), char **p, ...)
3977 s = g (p, va_arg (v,int));
3982 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3983 function prototypes and stuff, but not '\xHH' hex character constants.
3984 These don't provoke an error unfortunately, instead are silently treated
3985 as 'x'. The following induces an error, until -std is added to get
3986 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3987 array size at least. It's necessary to write '\x00'==0 to get something
3988 that's true only with -std. */
3989 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3991 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3992 inside strings and character constants. */
3994 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3996 int test (int i, double x);
3997 struct s1 {int (*f) (int a);};
3998 struct s2 {int (*f) (double a);};
3999 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4005 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4010 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4011 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4013 CC="$ac_save_CC $ac_arg"
4014 if ac_fn_c_try_compile "$LINENO"; then :
4015 ac_cv_prog_cc_c89=$ac_arg
4017 rm -f core conftest.err conftest.$ac_objext
4018 test "x$ac_cv_prog_cc_c89" != "xno" && break
4020 rm -f conftest.$ac_ext
4025 case "x$ac_cv_prog_cc_c89" in
4027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4028 $as_echo "none needed" >&6; } ;;
4030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4031 $as_echo "unsupported" >&6; } ;;
4033 CC="$CC $ac_cv_prog_cc_c89"
4034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4035 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4037 if test "x$ac_cv_prog_cc_c89" != xno; then :
4042 ac_cpp='$CPP $CPPFLAGS'
4043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4047 depcc="$CC" am_compiler_list=
4049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4050 $as_echo_n "checking dependency style of $depcc... " >&6; }
4051 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4052 $as_echo_n "(cached) " >&6
4054 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4055 # We make a subdir and do the tests there. Otherwise we can end up
4056 # making bogus files that we don't know about and never remove. For
4057 # instance it was reported that on HP-UX the gcc test will end up
4058 # making a dummy file named `D' -- because `-MD' means `put the output
4061 # Copy depcomp to subdir because otherwise we won't find it if we're
4062 # using a relative directory.
4063 cp "$am_depcomp" conftest.dir
4065 # We will build objects and dependencies in a subdirectory because
4066 # it helps to detect inapplicable dependency modes. For instance
4067 # both Tru64's cc and ICC support -MD to output dependencies as a
4068 # side effect of compilation, but ICC will put the dependencies in
4069 # the current directory while Tru64 will put them in the object
4073 am_cv_CC_dependencies_compiler_type=none
4074 if test "$am_compiler_list" = ""; then
4075 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4078 case " $depcc " in #(
4079 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4082 for depmode in $am_compiler_list; do
4083 # Setup a source with many dependencies, because some compilers
4084 # like to wrap large dependency lists on column 80 (with \), and
4085 # we should not choose a depcomp mode which is confused by this.
4087 # We need to recreate these files for each test, as the compiler may
4088 # overwrite some of them when testing with obscure command lines.
4089 # This happens at least with the AIX C compiler.
4091 for i in 1 2 3 4 5 6; do
4092 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4093 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4094 # Solaris 8's {/usr,}/bin/sh.
4095 touch sub/conftst$i.h
4097 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4099 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4100 # mode. It turns out that the SunPro C++ compiler does not properly
4101 # handle `-M -o', and we need to detect this. Also, some Intel
4102 # versions had trouble with output in subdirs
4103 am__obj=sub/conftest.${OBJEXT-o}
4104 am__minus_obj="-o $am__obj"
4107 # This depmode causes a compiler race in universal mode.
4108 test "$am__universal" = false || continue
4111 # after this tag, mechanisms are not by side-effect, so they'll
4112 # only be used when explicitly requested
4113 if test "x$enable_dependency_tracking" = xyes; then
4119 msvisualcpp | msvcmsys)
4120 # This compiler won't grok `-c -o', but also, the minuso test has
4121 # not run yet. These depmodes are late enough in the game, and
4122 # so weak that their functioning should not be impacted.
4123 am__obj=conftest.${OBJEXT-o}
4128 if depmode=$depmode \
4129 source=sub/conftest.c object=$am__obj \
4130 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4131 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4132 >/dev/null 2>conftest.err &&
4133 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4134 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4135 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4136 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4137 # icc doesn't choke on unknown options, it will just issue warnings
4138 # or remarks (even with -Werror). So we grep stderr for any message
4139 # that says an option was ignored or not supported.
4140 # When given -MP, icc 7.0 and 7.1 complain thusly:
4141 # icc: Command line warning: ignoring option '-M'; no argument required
4142 # The diagnosis changed in icc 8.0:
4143 # icc: Command line remark: option '-MP' not supported
4144 if (grep 'ignoring option' conftest.err ||
4145 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4146 am_cv_CC_dependencies_compiler_type=$depmode
4155 am_cv_CC_dependencies_compiler_type=none
4159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4160 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4161 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4164 test "x$enable_dependency_tracking" != xno \
4165 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4167 am__fastdepCC_FALSE='#'
4169 am__fastdepCC_TRUE='#'
4170 am__fastdepCC_FALSE=
4175 ac_cpp='$CPP $CPPFLAGS'
4176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4180 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4181 # On Suns, sometimes $CPP names a directory.
4182 if test -n "$CPP" && test -d "$CPP"; then
4185 if test -z "$CPP"; then
4186 if test "${ac_cv_prog_CPP+set}" = set; then :
4187 $as_echo_n "(cached) " >&6
4189 # Double quotes because CPP needs to be expanded
4190 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4193 for ac_c_preproc_warn_flag in '' yes
4195 # Use a header file that comes with gcc, so configuring glibc
4196 # with a fresh cross-compiler works.
4197 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4198 # <limits.h> exists even on freestanding compilers.
4199 # On the NeXT, cc -E runs the code through the compiler's parser,
4200 # not just through cpp. "Syntax error" is here to catch this case.
4201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4202 /* end confdefs.h. */
4204 # include <limits.h>
4206 # include <assert.h>
4210 if ac_fn_c_try_cpp "$LINENO"; then :
4213 # Broken: fails on valid input.
4216 rm -f conftest.err conftest.$ac_ext
4218 # OK, works on sane cases. Now check whether nonexistent headers
4219 # can be detected and how.
4220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4221 /* end confdefs.h. */
4222 #include <ac_nonexistent.h>
4224 if ac_fn_c_try_cpp "$LINENO"; then :
4225 # Broken: success on invalid input.
4228 # Passes both tests.
4232 rm -f conftest.err conftest.$ac_ext
4235 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4236 rm -f conftest.err conftest.$ac_ext
4237 if $ac_preproc_ok; then :
4249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4250 $as_echo "$CPP" >&6; }
4252 for ac_c_preproc_warn_flag in '' yes
4254 # Use a header file that comes with gcc, so configuring glibc
4255 # with a fresh cross-compiler works.
4256 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4257 # <limits.h> exists even on freestanding compilers.
4258 # On the NeXT, cc -E runs the code through the compiler's parser,
4259 # not just through cpp. "Syntax error" is here to catch this case.
4260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4261 /* end confdefs.h. */
4263 # include <limits.h>
4265 # include <assert.h>
4269 if ac_fn_c_try_cpp "$LINENO"; then :
4272 # Broken: fails on valid input.
4275 rm -f conftest.err conftest.$ac_ext
4277 # OK, works on sane cases. Now check whether nonexistent headers
4278 # can be detected and how.
4279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4280 /* end confdefs.h. */
4281 #include <ac_nonexistent.h>
4283 if ac_fn_c_try_cpp "$LINENO"; then :
4284 # Broken: success on invalid input.
4287 # Passes both tests.
4291 rm -f conftest.err conftest.$ac_ext
4294 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4295 rm -f conftest.err conftest.$ac_ext
4296 if $ac_preproc_ok; then :
4299 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4300 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4301 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4302 See \`config.log' for more details" "$LINENO" 5; }
4306 ac_cpp='$CPP $CPPFLAGS'
4307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4313 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4314 if test "${ac_cv_path_GREP+set}" = set; then :
4315 $as_echo_n "(cached) " >&6
4317 if test -z "$GREP"; then
4318 ac_path_GREP_found=false
4319 # Loop through the user's path and test for each of PROGNAME-LIST
4320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4321 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4324 test -z "$as_dir" && as_dir=.
4325 for ac_prog in grep ggrep; do
4326 for ac_exec_ext in '' $ac_executable_extensions; do
4327 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4328 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4329 # Check for GNU ac_path_GREP and select it if it is found.
4330 # Check for GNU $ac_path_GREP
4331 case `"$ac_path_GREP" --version 2>&1` in
4333 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4336 $as_echo_n 0123456789 >"conftest.in"
4339 cat "conftest.in" "conftest.in" >"conftest.tmp"
4340 mv "conftest.tmp" "conftest.in"
4341 cp "conftest.in" "conftest.nl"
4342 $as_echo 'GREP' >> "conftest.nl"
4343 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4344 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4345 as_fn_arith $ac_count + 1 && ac_count=$as_val
4346 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4347 # Best one so far, save it but keep looking for a better one
4348 ac_cv_path_GREP="$ac_path_GREP"
4349 ac_path_GREP_max=$ac_count
4351 # 10*(2^10) chars as input seems more than enough
4352 test $ac_count -gt 10 && break
4354 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4357 $ac_path_GREP_found && break 3
4362 if test -z "$ac_cv_path_GREP"; then
4363 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4366 ac_cv_path_GREP=$GREP
4370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4371 $as_echo "$ac_cv_path_GREP" >&6; }
4372 GREP="$ac_cv_path_GREP"
4375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4376 $as_echo_n "checking for egrep... " >&6; }
4377 if test "${ac_cv_path_EGREP+set}" = set; then :
4378 $as_echo_n "(cached) " >&6
4380 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4381 then ac_cv_path_EGREP="$GREP -E"
4383 if test -z "$EGREP"; then
4384 ac_path_EGREP_found=false
4385 # Loop through the user's path and test for each of PROGNAME-LIST
4386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4387 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4390 test -z "$as_dir" && as_dir=.
4391 for ac_prog in egrep; do
4392 for ac_exec_ext in '' $ac_executable_extensions; do
4393 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4394 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4395 # Check for GNU ac_path_EGREP and select it if it is found.
4396 # Check for GNU $ac_path_EGREP
4397 case `"$ac_path_EGREP" --version 2>&1` in
4399 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4402 $as_echo_n 0123456789 >"conftest.in"
4405 cat "conftest.in" "conftest.in" >"conftest.tmp"
4406 mv "conftest.tmp" "conftest.in"
4407 cp "conftest.in" "conftest.nl"
4408 $as_echo 'EGREP' >> "conftest.nl"
4409 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4410 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4411 as_fn_arith $ac_count + 1 && ac_count=$as_val
4412 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4413 # Best one so far, save it but keep looking for a better one
4414 ac_cv_path_EGREP="$ac_path_EGREP"
4415 ac_path_EGREP_max=$ac_count
4417 # 10*(2^10) chars as input seems more than enough
4418 test $ac_count -gt 10 && break
4420 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4423 $ac_path_EGREP_found && break 3
4428 if test -z "$ac_cv_path_EGREP"; then
4429 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4432 ac_cv_path_EGREP=$EGREP
4437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4438 $as_echo "$ac_cv_path_EGREP" >&6; }
4439 EGREP="$ac_cv_path_EGREP"
4442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4443 $as_echo_n "checking for ANSI C header files... " >&6; }
4444 if test "${ac_cv_header_stdc+set}" = set; then :
4445 $as_echo_n "(cached) " >&6
4447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4448 /* end confdefs.h. */
4462 if ac_fn_c_try_compile "$LINENO"; then :
4463 ac_cv_header_stdc=yes
4465 ac_cv_header_stdc=no
4467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4469 if test $ac_cv_header_stdc = yes; then
4470 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4472 /* end confdefs.h. */
4476 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4477 $EGREP "memchr" >/dev/null 2>&1; then :
4480 ac_cv_header_stdc=no
4486 if test $ac_cv_header_stdc = yes; then
4487 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4489 /* end confdefs.h. */
4493 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4494 $EGREP "free" >/dev/null 2>&1; then :
4497 ac_cv_header_stdc=no
4503 if test $ac_cv_header_stdc = yes; then
4504 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4505 if test "$cross_compiling" = yes; then :
4508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4509 /* end confdefs.h. */
4512 #if ((' ' & 0x0FF) == 0x020)
4513 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4514 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4516 # define ISLOWER(c) \
4517 (('a' <= (c) && (c) <= 'i') \
4518 || ('j' <= (c) && (c) <= 'r') \
4519 || ('s' <= (c) && (c) <= 'z'))
4520 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4523 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4528 for (i = 0; i < 256; i++)
4529 if (XOR (islower (i), ISLOWER (i))
4530 || toupper (i) != TOUPPER (i))
4535 if ac_fn_c_try_run "$LINENO"; then :
4538 ac_cv_header_stdc=no
4540 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4541 conftest.$ac_objext conftest.beam conftest.$ac_ext
4546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4547 $as_echo "$ac_cv_header_stdc" >&6; }
4548 if test $ac_cv_header_stdc = yes; then
4550 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4554 for ac_prog in 'bison -y' byacc
4556 # Extract the first word of "$ac_prog", so it can be a program name with args.
4557 set dummy $ac_prog; ac_word=$2
4558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4559 $as_echo_n "checking for $ac_word... " >&6; }
4560 if test "${ac_cv_prog_YACC+set}" = set; then :
4561 $as_echo_n "(cached) " >&6
4563 if test -n "$YACC"; then
4564 ac_cv_prog_YACC="$YACC" # Let the user override the test.
4566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4570 test -z "$as_dir" && as_dir=.
4571 for ac_exec_ext in '' $ac_executable_extensions; do
4572 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4573 ac_cv_prog_YACC="$ac_prog"
4574 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4583 YACC=$ac_cv_prog_YACC
4584 if test -n "$YACC"; then
4585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
4586 $as_echo "$YACC" >&6; }
4588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4589 $as_echo "no" >&6; }
4593 test -n "$YACC" && break
4595 test -n "$YACC" || YACC="yacc"
4597 for ac_prog in flex lex
4599 # Extract the first word of "$ac_prog", so it can be a program name with args.
4600 set dummy $ac_prog; ac_word=$2
4601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4602 $as_echo_n "checking for $ac_word... " >&6; }
4603 if test "${ac_cv_prog_LEX+set}" = set; then :
4604 $as_echo_n "(cached) " >&6
4606 if test -n "$LEX"; then
4607 ac_cv_prog_LEX="$LEX" # Let the user override the test.
4609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4613 test -z "$as_dir" && as_dir=.
4614 for ac_exec_ext in '' $ac_executable_extensions; do
4615 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4616 ac_cv_prog_LEX="$ac_prog"
4617 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4627 if test -n "$LEX"; then
4628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
4629 $as_echo "$LEX" >&6; }
4631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4632 $as_echo "no" >&6; }
4636 test -n "$LEX" && break
4638 test -n "$LEX" || LEX=":"
4640 if test "x$LEX" != "x:"; then
4641 cat >conftest.l <<_ACEOF
4647 e { yyless (input () != 0); }
4648 f { unput (yytext[0]); }
4649 . { BEGIN INITIAL; }
4651 #ifdef YYTEXT_POINTER
4652 extern char *yytext;
4657 return ! yylex () + ! yywrap ();
4660 { { ac_try="$LEX conftest.l"
4662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4663 *) ac_try_echo=$ac_try;;
4665 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4666 $as_echo "$ac_try_echo"; } >&5
4667 (eval "$LEX conftest.l") 2>&5
4669 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4670 test $ac_status = 0; }
4671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
4672 $as_echo_n "checking lex output file root... " >&6; }
4673 if test "${ac_cv_prog_lex_root+set}" = set; then :
4674 $as_echo_n "(cached) " >&6
4677 if test -f lex.yy.c; then
4678 ac_cv_prog_lex_root=lex.yy
4679 elif test -f lexyy.c; then
4680 ac_cv_prog_lex_root=lexyy
4682 as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
4685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
4686 $as_echo "$ac_cv_prog_lex_root" >&6; }
4687 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
4689 if test -z "${LEXLIB+set}"; then
4690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
4691 $as_echo_n "checking lex library... " >&6; }
4692 if test "${ac_cv_lib_lex+set}" = set; then :
4693 $as_echo_n "(cached) " >&6
4697 ac_cv_lib_lex='none needed'
4698 for ac_lib in '' -lfl -ll; do
4699 LIBS="$ac_lib $ac_save_LIBS"
4700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4701 /* end confdefs.h. */
4702 `cat $LEX_OUTPUT_ROOT.c`
4704 if ac_fn_c_try_link "$LINENO"; then :
4705 ac_cv_lib_lex=$ac_lib
4707 rm -f core conftest.err conftest.$ac_objext \
4708 conftest$ac_exeext conftest.$ac_ext
4709 test "$ac_cv_lib_lex" != 'none needed' && break
4714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
4715 $as_echo "$ac_cv_lib_lex" >&6; }
4716 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
4720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
4721 $as_echo_n "checking whether yytext is a pointer... " >&6; }
4722 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then :
4723 $as_echo_n "(cached) " >&6
4725 # POSIX says lex can declare yytext either as a pointer or an array; the
4726 # default is implementation-dependent. Figure out which it is, since
4727 # not all implementations provide the %pointer and %array declarations.
4728 ac_cv_prog_lex_yytext_pointer=no
4730 LIBS="$LEXLIB $ac_save_LIBS"
4731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4732 /* end confdefs.h. */
4733 #define YYTEXT_POINTER 1
4734 `cat $LEX_OUTPUT_ROOT.c`
4736 if ac_fn_c_try_link "$LINENO"; then :
4737 ac_cv_prog_lex_yytext_pointer=yes
4739 rm -f core conftest.err conftest.$ac_objext \
4740 conftest$ac_exeext conftest.$ac_ext
4744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
4745 $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
4746 if test $ac_cv_prog_lex_yytext_pointer = yes; then
4748 $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
4751 rm -f conftest.l $LEX_OUTPUT_ROOT.c
4754 if test "$LEX" = :; then
4755 LEX=${am_missing_run}flex
4759 ac_cpp='$CPP $CPPFLAGS'
4760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4764 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4765 # On Suns, sometimes $CPP names a directory.
4766 if test -n "$CPP" && test -d "$CPP"; then
4769 if test -z "$CPP"; then
4770 if test "${ac_cv_prog_CPP+set}" = set; then :
4771 $as_echo_n "(cached) " >&6
4773 # Double quotes because CPP needs to be expanded
4774 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4777 for ac_c_preproc_warn_flag in '' yes
4779 # Use a header file that comes with gcc, so configuring glibc
4780 # with a fresh cross-compiler works.
4781 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4782 # <limits.h> exists even on freestanding compilers.
4783 # On the NeXT, cc -E runs the code through the compiler's parser,
4784 # not just through cpp. "Syntax error" is here to catch this case.
4785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4786 /* end confdefs.h. */
4788 # include <limits.h>
4790 # include <assert.h>
4794 if ac_fn_c_try_cpp "$LINENO"; then :
4797 # Broken: fails on valid input.
4800 rm -f conftest.err conftest.$ac_ext
4802 # OK, works on sane cases. Now check whether nonexistent headers
4803 # can be detected and how.
4804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4805 /* end confdefs.h. */
4806 #include <ac_nonexistent.h>
4808 if ac_fn_c_try_cpp "$LINENO"; then :
4809 # Broken: success on invalid input.
4812 # Passes both tests.
4816 rm -f conftest.err conftest.$ac_ext
4819 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4820 rm -f conftest.err conftest.$ac_ext
4821 if $ac_preproc_ok; then :
4833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4834 $as_echo "$CPP" >&6; }
4836 for ac_c_preproc_warn_flag in '' yes
4838 # Use a header file that comes with gcc, so configuring glibc
4839 # with a fresh cross-compiler works.
4840 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4841 # <limits.h> exists even on freestanding compilers.
4842 # On the NeXT, cc -E runs the code through the compiler's parser,
4843 # not just through cpp. "Syntax error" is here to catch this case.
4844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4845 /* end confdefs.h. */
4847 # include <limits.h>
4849 # include <assert.h>
4853 if ac_fn_c_try_cpp "$LINENO"; then :
4856 # Broken: fails on valid input.
4859 rm -f conftest.err conftest.$ac_ext
4861 # OK, works on sane cases. Now check whether nonexistent headers
4862 # can be detected and how.
4863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4864 /* end confdefs.h. */
4865 #include <ac_nonexistent.h>
4867 if ac_fn_c_try_cpp "$LINENO"; then :
4868 # Broken: success on invalid input.
4871 # Passes both tests.
4875 rm -f conftest.err conftest.$ac_ext
4878 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4879 rm -f conftest.err conftest.$ac_ext
4880 if $ac_preproc_ok; then :
4883 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4884 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4885 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4886 See \`config.log' for more details" "$LINENO" 5; }
4890 ac_cpp='$CPP $CPPFLAGS'
4891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4895 # Extract the first word of "rm", so it can be a program name with args.
4896 set dummy rm; ac_word=$2
4897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4898 $as_echo_n "checking for $ac_word... " >&6; }
4899 if test "${ac_cv_path_RM+set}" = set; then :
4900 $as_echo_n "(cached) " >&6
4904 ac_cv_path_RM="$RM" # Let the user override the test with a path.
4907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4911 test -z "$as_dir" && as_dir=.
4912 for ac_exec_ext in '' $ac_executable_extensions; do
4913 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4914 ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
4915 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4922 test -z "$ac_cv_path_RM" && ac_cv_path_RM="/bin/rm"
4927 if test -n "$RM"; then
4928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
4929 $as_echo "$RM" >&6; }
4931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4932 $as_echo "no" >&6; }
4936 # Extract the first word of "mv", so it can be a program name with args.
4937 set dummy mv; ac_word=$2
4938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4939 $as_echo_n "checking for $ac_word... " >&6; }
4940 if test "${ac_cv_path_MV+set}" = set; then :
4941 $as_echo_n "(cached) " >&6
4945 ac_cv_path_MV="$MV" # Let the user override the test with a path.
4948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4952 test -z "$as_dir" && as_dir=.
4953 for ac_exec_ext in '' $ac_executable_extensions; do
4954 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4955 ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext"
4956 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4963 test -z "$ac_cv_path_MV" && ac_cv_path_MV="/bin/mv"
4968 if test -n "$MV"; then
4969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MV" >&5
4970 $as_echo "$MV" >&6; }
4972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4973 $as_echo "no" >&6; }
4977 # Extract the first word of "tar", so it can be a program name with args.
4978 set dummy tar; ac_word=$2
4979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4980 $as_echo_n "checking for $ac_word... " >&6; }
4981 if test "${ac_cv_path_TAR+set}" = set; then :
4982 $as_echo_n "(cached) " >&6
4986 ac_cv_path_TAR="$TAR" # Let the user override the test with a path.
4989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4993 test -z "$as_dir" && as_dir=.
4994 for ac_exec_ext in '' $ac_executable_extensions; do
4995 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4996 ac_cv_path_TAR="$as_dir/$ac_word$ac_exec_ext"
4997 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5004 test -z "$ac_cv_path_TAR" && ac_cv_path_TAR="/bin/tar"
5009 if test -n "$TAR"; then
5010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TAR" >&5
5011 $as_echo "$TAR" >&6; }
5013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5014 $as_echo "no" >&6; }
5024 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
5025 if test -n "$ac_tool_prefix"; then
5026 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5027 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5029 $as_echo_n "checking for $ac_word... " >&6; }
5030 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
5031 $as_echo_n "(cached) " >&6
5035 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
5038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5042 test -z "$as_dir" && as_dir=.
5043 for ac_exec_ext in '' $ac_executable_extensions; do
5044 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5045 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5046 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5056 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
5057 if test -n "$PKG_CONFIG"; then
5058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5059 $as_echo "$PKG_CONFIG" >&6; }
5061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5062 $as_echo "no" >&6; }
5067 if test -z "$ac_cv_path_PKG_CONFIG"; then
5068 ac_pt_PKG_CONFIG=$PKG_CONFIG
5069 # Extract the first word of "pkg-config", so it can be a program name with args.
5070 set dummy pkg-config; ac_word=$2
5071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5072 $as_echo_n "checking for $ac_word... " >&6; }
5073 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
5074 $as_echo_n "(cached) " >&6
5076 case $ac_pt_PKG_CONFIG in
5078 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
5081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5085 test -z "$as_dir" && as_dir=.
5086 for ac_exec_ext in '' $ac_executable_extensions; do
5087 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5088 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5089 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5099 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
5100 if test -n "$ac_pt_PKG_CONFIG"; then
5101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
5102 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
5104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5105 $as_echo "no" >&6; }
5108 if test "x$ac_pt_PKG_CONFIG" = x; then
5111 case $cross_compiling:$ac_tool_warned in
5113 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5114 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5115 ac_tool_warned=yes ;;
5117 PKG_CONFIG=$ac_pt_PKG_CONFIG
5120 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
5124 if test -n "$PKG_CONFIG"; then
5125 _pkg_min_version=0.9.0
5126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
5127 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
5128 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
5129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5130 $as_echo "yes" >&6; }
5132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5133 $as_echo "no" >&6; }
5139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
5140 $as_echo_n "checking for GLIB... " >&6; }
5142 if test -n "$GLIB_CFLAGS"; then
5143 pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
5144 elif test -n "$PKG_CONFIG"; then
5145 if test -n "$PKG_CONFIG" && \
5146 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_REQUIRED\""; } >&5
5147 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB_REQUIRED") 2>&5
5149 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5150 test $ac_status = 0; }; then
5151 pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= $GLIB_REQUIRED" 2>/dev/null`
5158 if test -n "$GLIB_LIBS"; then
5159 pkg_cv_GLIB_LIBS="$GLIB_LIBS"
5160 elif test -n "$PKG_CONFIG"; then
5161 if test -n "$PKG_CONFIG" && \
5162 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_REQUIRED\""; } >&5
5163 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB_REQUIRED") 2>&5
5165 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5166 test $ac_status = 0; }; then
5167 pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= $GLIB_REQUIRED" 2>/dev/null`
5177 if test $pkg_failed = yes; then
5178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5179 $as_echo "no" >&6; }
5181 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5182 _pkg_short_errors_supported=yes
5184 _pkg_short_errors_supported=no
5186 if test $_pkg_short_errors_supported = yes; then
5187 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0 >= $GLIB_REQUIRED" 2>&1`
5189 GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0 >= $GLIB_REQUIRED" 2>&1`
5191 # Put the nasty error message in config.log where it belongs
5192 echo "$GLIB_PKG_ERRORS" >&5
5194 as_fn_error $? "Package requirements (glib-2.0 >= $GLIB_REQUIRED) were not met:
5198 Consider adjusting the PKG_CONFIG_PATH environment variable if you
5199 installed software in a non-standard prefix.
5201 Alternatively, you may set the environment variables GLIB_CFLAGS
5202 and GLIB_LIBS to avoid the need to call pkg-config.
5203 See the pkg-config man page for more details." "$LINENO" 5
5205 elif test $pkg_failed = untried; then
5206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5207 $as_echo "no" >&6; }
5208 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5209 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5210 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
5211 is in your PATH or set the PKG_CONFIG environment variable to the full
5214 Alternatively, you may set the environment variables GLIB_CFLAGS
5215 and GLIB_LIBS to avoid the need to call pkg-config.
5216 See the pkg-config man page for more details.
5218 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
5219 See \`config.log' for more details" "$LINENO" 5; }
5222 GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
5223 GLIB_LIBS=$pkg_cv_GLIB_LIBS
5224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5225 $as_echo "yes" >&6; }
5238 ac_config_files="$ac_config_files gob2.spec Makefile src/Makefile doc/Makefile examples/Makefile doc/gob2.1"
5240 cat >confcache <<\_ACEOF
5241 # This file is a shell script that caches the results of configure
5242 # tests run on this system so they can be shared between configure
5243 # scripts and configure runs, see configure's option --config-cache.
5244 # It is not useful on other systems. If it contains results you don't
5245 # want to keep, you may remove or edit it.
5247 # config.status only pays attention to the cache file if you give it
5248 # the --recheck option to rerun configure.
5250 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5251 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5256 # The following way of writing the cache mishandles newlines in values,
5257 # but we know of no workaround that is simple, portable, and efficient.
5258 # So, we kill variables containing newlines.
5259 # Ultrix sh set writes to stderr and can't be redirected directly,
5260 # and sets the high bit in the cache file unless we assign to the vars.
5262 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5263 eval ac_val=\$$ac_var
5267 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5268 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5271 _ | IFS | as_nl) ;; #(
5272 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5273 *) { eval $ac_var=; unset $ac_var;} ;;
5279 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5280 *${as_nl}ac_space=\ *)
5281 # `set' does not quote correctly, so add quotes: double-quote
5282 # substitution turns \\\\ into \\, and sed turns \\ into \.
5285 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5288 # `set' quotes correctly as required by POSIX, so do not add quotes.
5289 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5298 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5300 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5302 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5303 if test -w "$cache_file"; then
5304 test "x$cache_file" != "x/dev/null" &&
5305 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5306 $as_echo "$as_me: updating cache $cache_file" >&6;}
5307 cat confcache >$cache_file
5309 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5310 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5315 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5316 # Let make expand exec_prefix.
5317 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5319 DEFS=-DHAVE_CONFIG_H
5324 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5325 # 1. Remove the extension, and $U if already installed.
5326 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5327 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5328 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5329 # will be set to the directory where LIBOBJS objects are built.
5330 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5331 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5335 LTLIBOBJS=$ac_ltlibobjs
5338 if test -n "$EXEEXT"; then
5340 am__EXEEXT_FALSE='#'
5346 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
5347 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
5348 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5350 if test -z "${NOINSTGOB_TRUE}" && test -z "${NOINSTGOB_FALSE}"; then
5351 as_fn_error $? "conditional \"NOINSTGOB\" was never defined.
5352 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5354 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5355 as_fn_error $? "conditional \"AMDEP\" was never defined.
5356 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5358 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5359 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
5360 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5362 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5363 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
5364 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5367 : ${CONFIG_STATUS=./config.status}
5369 ac_clean_files_save=$ac_clean_files
5370 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5371 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5372 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5374 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5376 # Generated by $as_me.
5377 # Run this file to recreate the current configuration.
5378 # Compiler output produced by configure, useful for debugging
5379 # configure, is in config.log if it exists.
5385 SHELL=\${CONFIG_SHELL-$SHELL}
5388 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5389 ## -------------------- ##
5390 ## M4sh Initialization. ##
5391 ## -------------------- ##
5393 # Be more Bourne compatible
5394 DUALCASE=1; export DUALCASE # for MKS sh
5395 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
5398 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5399 # is contrary to our usage. Disable this feature.
5400 alias -g '${1+"$@"}'='"$@"'
5401 setopt NO_GLOB_SUBST
5403 case `(set -o) 2>/dev/null` in #(
5415 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5416 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5417 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5418 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5419 # Prefer a ksh shell builtin over an external printf program on Solaris,
5420 # but without wasting forks for bash or zsh.
5421 if test -z "$BASH_VERSION$ZSH_VERSION" \
5422 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5423 as_echo='print -r --'
5424 as_echo_n='print -rn --'
5425 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5426 as_echo='printf %s\n'
5427 as_echo_n='printf %s'
5429 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5430 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5431 as_echo_n='/usr/ucb/echo -n'
5433 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5434 as_echo_n_body='eval
5438 expr "X$arg" : "X\\(.*\\)$as_nl";
5439 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5441 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5443 export as_echo_n_body
5444 as_echo_n='sh -c $as_echo_n_body as_echo'
5447 as_echo='sh -c $as_echo_body as_echo'
5450 # The user is always right.
5451 if test "${PATH_SEPARATOR+set}" != set; then
5453 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5454 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5461 # We need space, tab and new line, in precisely that order. Quoting is
5462 # there to prevent editors from complaining about space-tab.
5463 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5464 # splitting by setting IFS to empty value.)
5467 # Find who we are. Look in the path if we contain no directory separator.
5469 *[\\/]* ) as_myself=$0 ;;
5470 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5474 test -z "$as_dir" && as_dir=.
5475 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5481 # We did not find ourselves, most probably we were run as `sh COMMAND'
5482 # in which case we are not to be found in the path.
5483 if test "x$as_myself" = x; then
5486 if test ! -f "$as_myself"; then
5487 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5491 # Unset variables that we do not need and which cause bugs (e.g. in
5492 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5493 # suppresses any "Segmentation fault" message there. '((' could
5494 # trigger a bug in pdksh 5.2.14.
5495 for as_var in BASH_ENV ENV MAIL MAILPATH
5496 do eval test x\${$as_var+set} = xset \
5497 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5510 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5513 # as_fn_error STATUS ERROR [LINENO LOG_FD]
5514 # ----------------------------------------
5515 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5516 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5517 # script with STATUS, using 1 if that was 0.
5520 as_status=$1; test $as_status -eq 0 && as_status=1
5522 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5523 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5525 $as_echo "$as_me: error: $2" >&2
5526 as_fn_exit $as_status
5530 # as_fn_set_status STATUS
5531 # -----------------------
5532 # Set $? to STATUS, without forking.
5536 } # as_fn_set_status
5540 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5550 # Portably unset VAR.
5553 { eval $1=; unset $1;}
5555 as_unset=as_fn_unset
5556 # as_fn_append VAR VALUE
5557 # ----------------------
5558 # Append the text in VALUE to the end of the definition contained in VAR. Take
5559 # advantage of any shell optimizations that allow amortized linear growth over
5560 # repeated appends, instead of the typical quadratic growth present in naive
5562 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5563 eval 'as_fn_append ()
5574 # as_fn_arith ARG...
5575 # ------------------
5576 # Perform arithmetic evaluation on the ARGs, and store the result in the
5577 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5578 # must be portable across $(()) and expr.
5579 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5580 eval 'as_fn_arith ()
5587 as_val=`expr "$@" || test $? -eq 1`
5592 if expr a : '\(a\)' >/dev/null 2>&1 &&
5593 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5599 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5600 as_basename=basename
5605 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5611 as_me=`$as_basename -- "$0" ||
5612 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5613 X"$0" : 'X\(//\)$' \| \
5614 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5616 sed '/^.*\/\([^/][^/]*\)\/*$/{
5630 # Avoid depending upon Character Ranges.
5631 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5632 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5633 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5634 as_cr_digits='0123456789'
5635 as_cr_alnum=$as_cr_Letters$as_cr_digits
5637 ECHO_C= ECHO_N= ECHO_T=
5638 case `echo -n x` in #(((((
5640 case `echo 'xy\c'` in
5641 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5643 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
5650 rm -f conf$$ conf$$.exe conf$$.file
5651 if test -d conf$$.dir; then
5652 rm -f conf$$.dir/conf$$.file
5655 mkdir conf$$.dir 2>/dev/null
5657 if (echo >conf$$.file) 2>/dev/null; then
5658 if ln -s conf$$.file conf$$ 2>/dev/null; then
5660 # ... but there are two gotchas:
5661 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5662 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5663 # In both cases, we have to default to `cp -p'.
5664 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5666 elif ln conf$$.file conf$$ 2>/dev/null; then
5674 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5675 rmdir conf$$.dir 2>/dev/null
5680 # Create "$as_dir" as a directory, including parents if necessary.
5685 -*) as_dir=./$as_dir;;
5687 test -d "$as_dir" || eval $as_mkdir_p || {
5691 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5692 *) as_qdir=$as_dir;;
5694 as_dirs="'$as_qdir' $as_dirs"
5695 as_dir=`$as_dirname -- "$as_dir" ||
5696 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5697 X"$as_dir" : 'X\(//\)[^/]' \| \
5698 X"$as_dir" : 'X\(//\)$' \| \
5699 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5700 $as_echo X"$as_dir" |
5701 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5718 test -d "$as_dir" && break
5720 test -z "$as_dirs" || eval "mkdir $as_dirs"
5721 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5725 if mkdir -p . 2>/dev/null; then
5726 as_mkdir_p='mkdir -p "$as_dir"'
5728 test -d ./-p && rmdir ./-p
5732 if test -x / >/dev/null 2>&1; then
5735 if ls -dL / >/dev/null 2>&1; then
5742 if test -d "$1"; then
5748 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
5749 ???[sx]*):;;*)false;;esac;fi
5753 as_executable_p=$as_test_x
5755 # Sed expression to map a string onto a valid CPP name.
5756 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5758 # Sed expression to map a string onto a valid variable name.
5759 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5763 ## ----------------------------------- ##
5764 ## Main body of $CONFIG_STATUS script. ##
5765 ## ----------------------------------- ##
5767 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5769 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5770 # Save the log message, to keep $0 and so on meaningful, and to
5771 # report actual input values of CONFIG_FILES etc. instead of their
5772 # values after options handling.
5774 This file was extended by $as_me, which was
5775 generated by GNU Autoconf 2.66. Invocation command line was
5777 CONFIG_FILES = $CONFIG_FILES
5778 CONFIG_HEADERS = $CONFIG_HEADERS
5779 CONFIG_LINKS = $CONFIG_LINKS
5780 CONFIG_COMMANDS = $CONFIG_COMMANDS
5783 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5788 case $ac_config_files in *"
5789 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5792 case $ac_config_headers in *"
5793 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
5797 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5798 # Files that config.status was made for.
5799 config_files="$ac_config_files"
5800 config_headers="$ac_config_headers"
5801 config_commands="$ac_config_commands"
5805 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5807 \`$as_me' instantiates files and other configuration actions
5808 from templates according to the current configuration. Unless the files
5809 and actions are specified as TAGs, all are instantiated by default.
5811 Usage: $0 [OPTION]... [TAG]...
5813 -h, --help print this help, then exit
5814 -V, --version print version number and configuration settings, then exit
5815 --config print configuration, then exit
5816 -q, --quiet, --silent
5817 do not print progress messages
5818 -d, --debug don't remove temporary files
5819 --recheck update $as_me by reconfiguring in the same conditions
5820 --file=FILE[:TEMPLATE]
5821 instantiate the configuration file FILE
5822 --header=FILE[:TEMPLATE]
5823 instantiate the configuration header FILE
5825 Configuration files:
5828 Configuration headers:
5831 Configuration commands:
5834 Report bugs to the package provider."
5837 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5838 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5841 configured by $0, generated by GNU Autoconf 2.66,
5842 with options \\"\$ac_cs_config\\"
5844 Copyright (C) 2010 Free Software Foundation, Inc.
5845 This config.status script is free software; the Free Software Foundation
5846 gives unlimited permission to copy, distribute and modify it."
5853 test -n "\$AWK" || AWK=awk
5856 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5857 # The default lists apply if the user does not specify any file.
5863 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5864 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5875 # Handling of the options.
5876 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5878 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5879 $as_echo "$ac_cs_version"; exit ;;
5880 --config | --confi | --conf | --con | --co | --c )
5881 $as_echo "$ac_cs_config"; exit ;;
5882 --debug | --debu | --deb | --de | --d | -d )
5884 --file | --fil | --fi | --f )
5887 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5889 as_fn_append CONFIG_FILES " '$ac_optarg'"
5890 ac_need_defaults=false;;
5891 --header | --heade | --head | --hea )
5894 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5896 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
5897 ac_need_defaults=false;;
5899 # Conflict between --help and --header
5900 as_fn_error $? "ambiguous option: \`$1'
5901 Try \`$0 --help' for more information.";;
5902 --help | --hel | -h )
5903 $as_echo "$ac_cs_usage"; exit ;;
5904 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5905 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5909 -*) as_fn_error $? "unrecognized option: \`$1'
5910 Try \`$0 --help' for more information." ;;
5912 *) as_fn_append ac_config_targets " $1"
5913 ac_need_defaults=false ;;
5919 ac_configure_extra_args=
5921 if $ac_cs_silent; then
5923 ac_configure_extra_args="$ac_configure_extra_args --silent"
5927 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5928 if \$ac_cs_recheck; then
5929 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5931 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5932 CONFIG_SHELL='$SHELL'
5938 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5942 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5943 ## Running $as_me. ##
5949 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5953 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5957 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5959 # Handling of arguments.
5960 for ac_config_target in $ac_config_targets
5962 case $ac_config_target in
5963 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5964 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5965 "gob2.spec") CONFIG_FILES="$CONFIG_FILES gob2.spec" ;;
5966 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5967 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
5968 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
5969 "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
5970 "doc/gob2.1") CONFIG_FILES="$CONFIG_FILES doc/gob2.1" ;;
5972 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5977 # If the user did not use the arguments to specify the items to instantiate,
5978 # then the envvar interface is used. Set only those that are not.
5979 # We use the long form for the default assignment because of an extremely
5980 # bizarre bug on SunOS 4.1.3.
5981 if $ac_need_defaults; then
5982 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5983 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5984 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5987 # Have a temporary directory for convenience. Make it in the build tree
5988 # simply because there is no reason against having it here, and in addition,
5989 # creating and moving files from /tmp can sometimes cause problems.
5990 # Hook for its removal unless debugging.
5991 # Note that there is a small window in which the directory will not be cleaned:
5992 # after its creation but before its name has been assigned to `$tmp'.
5996 trap 'exit_status=$?
5997 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5999 trap 'as_fn_exit 1' 1 2 13 15
6001 # Create a (secure) tmp directory for tmp files.
6004 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6005 test -n "$tmp" && test -d "$tmp"
6008 tmp=./conf$$-$RANDOM
6009 (umask 077 && mkdir "$tmp")
6010 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
6012 # Set up the scripts for CONFIG_FILES section.
6013 # No need to generate them if there are no CONFIG_FILES.
6014 # This happens for instance with `./config.status config.h'.
6015 if test -n "$CONFIG_FILES"; then
6018 ac_cr=`echo X | tr X '\015'`
6019 # On cygwin, bash can eat \r inside `` if the user requested igncr.
6020 # But we know of no other shell where ac_cr would be empty at this
6021 # point, so we can use a bashism as a fallback.
6022 if test "x$ac_cr" = x; then
6023 eval ac_cr=\$\'\\r\'
6025 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6026 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6032 echo 'BEGIN {' >"$tmp/subs1.awk" &&
6037 echo "cat >conf$$subs.awk <<_ACEOF" &&
6038 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6041 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6042 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
6044 for ac_last_try in false false false false false :; do
6045 . ./conf$$subs.sh ||
6046 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6048 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
6049 if test $ac_delim_n = $ac_delim_num; then
6051 elif $ac_last_try; then
6052 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6054 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6059 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6060 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
6064 s/^/S["/; s/!.*/"]=/
6074 s/\(.\{148\}\)..*/\1/
6076 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6081 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6088 s/\(.\{148\}\)..*/\1/
6090 s/["\\]/\\&/g; s/^/"/; s/$/"/
6094 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6099 ' <conf$$subs.awk | sed '
6104 ' >>$CONFIG_STATUS || ac_write_fail=1
6105 rm -f conf$$subs.awk
6106 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6108 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
6109 for (key in S) S_is_set[key] = 1
6115 nfields = split(line, field, "@")
6117 len = length(field[1])
6118 for (i = 2; i < nfields; i++) {
6120 keylen = length(key)
6121 if (S_is_set[key]) {
6123 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6124 len += length(value) + length(field[++i])
6135 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6136 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6137 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6140 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
6141 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
6144 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
6145 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
6146 # trailing colons and then remove the whole line if VPATH becomes empty
6147 # (actually we leave an empty line to preserve line numbers).
6148 if test "x$srcdir" = x.; then
6149 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
6167 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6168 fi # test -n "$CONFIG_FILES"
6170 # Set up the scripts for CONFIG_HEADERS section.
6171 # No need to generate them if there are no CONFIG_HEADERS.
6172 # This happens for instance with `./config.status Makefile'.
6173 if test -n "$CONFIG_HEADERS"; then
6174 cat >"$tmp/defines.awk" <<\_ACAWK ||
6178 # Transform confdefs.h into an awk script `defines.awk', embedded as
6179 # here-document in config.status, that substitutes the proper values into
6180 # config.h.in to produce config.h.
6182 # Create a delimiter string that does not exist in confdefs.h, to ease
6183 # handling of long lines.
6185 for ac_last_try in false false :; do
6186 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
6187 if test -z "$ac_t"; then
6189 elif $ac_last_try; then
6190 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
6192 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6196 # For the awk script, D is an array of macro values keyed by name,
6197 # likewise P contains macro parameters if any. Preserve backslash
6198 # newline sequences.
6200 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6202 s/.\{148\}/&'"$ac_delim"'/g
6205 s/^[ ]*#[ ]*define[ ][ ]*/ /
6212 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6214 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
6218 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6219 D["\1"]=" \3\\\\\\n"\\/p
6221 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
6226 s/.\{148\}/&'"$ac_delim"'/g
6231 s/["\\]/\\&/g; s/^/"/; s/$/"/p
6234 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
6236 ' <confdefs.h | sed '
6237 s/'"$ac_delim"'/"\\\
6238 "/g' >>$CONFIG_STATUS || ac_write_fail=1
6240 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6241 for (key in D) D_is_set[key] = 1
6244 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6246 split(line, arg, " ")
6247 if (arg[1] == "#") {
6251 defundef = substr(arg[1], 2)
6254 split(mac1, mac2, "(") #)
6256 prefix = substr(line, 1, index(line, defundef) - 1)
6257 if (D_is_set[macro]) {
6258 # Preserve the white space surrounding the "#".
6259 print prefix "define", macro P[macro] D[macro]
6262 # Replace #undef with comments. This is necessary, for example,
6263 # in the case of _POSIX_SOURCE, which is predefined and required
6264 # on some systems where configure will not decide to define it.
6265 if (defundef == "undef") {
6266 print "/*", prefix defundef, macro, "*/"
6274 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6275 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
6276 fi # test -n "$CONFIG_HEADERS"
6279 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
6284 :[FHLC]) ac_mode=$ac_tag; continue;;
6286 case $ac_mode$ac_tag in
6288 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
6289 :[FH]-) ac_tag=-:-;;
6290 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6307 -) ac_f="$tmp/stdin";;
6308 *) # Look for the file first in the build tree, then in the source tree
6309 # (if the path is not absolute). The absolute path cannot be DOS-style,
6310 # because $ac_f cannot contain `:'.
6314 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6316 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6318 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6319 as_fn_append ac_file_inputs " '$ac_f'"
6322 # Let's still pretend it is `configure' which instantiates (i.e., don't
6323 # use $as_me), people would be surprised to read:
6324 # /* config.h. Generated by config.status. */
6325 configure_input='Generated from '`
6326 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6328 if test x"$ac_file" != x-; then
6329 configure_input="$ac_file. $configure_input"
6330 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6331 $as_echo "$as_me: creating $ac_file" >&6;}
6333 # Neutralize special characters interpreted by sed in replacement strings.
6334 case $configure_input in #(
6335 *\&* | *\|* | *\\* )
6336 ac_sed_conf_input=`$as_echo "$configure_input" |
6337 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6338 *) ac_sed_conf_input=$configure_input;;
6342 *:-:* | *:-) cat >"$tmp/stdin" \
6343 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
6348 ac_dir=`$as_dirname -- "$ac_file" ||
6349 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6350 X"$ac_file" : 'X\(//\)[^/]' \| \
6351 X"$ac_file" : 'X\(//\)$' \| \
6352 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6353 $as_echo X"$ac_file" |
6354 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6371 as_dir="$ac_dir"; as_fn_mkdir_p
6375 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6377 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6378 # A ".." for each directory in $ac_dir_suffix.
6379 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6380 case $ac_top_builddir_sub in
6381 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6382 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6385 ac_abs_top_builddir=$ac_pwd
6386 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6387 # for backward compatibility:
6388 ac_top_builddir=$ac_top_build_prefix
6391 .) # We are building in place.
6393 ac_top_srcdir=$ac_top_builddir_sub
6394 ac_abs_top_srcdir=$ac_pwd ;;
6395 [\\/]* | ?:[\\/]* ) # Absolute name.
6396 ac_srcdir=$srcdir$ac_dir_suffix;
6397 ac_top_srcdir=$srcdir
6398 ac_abs_top_srcdir=$srcdir ;;
6400 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6401 ac_top_srcdir=$ac_top_build_prefix$srcdir
6402 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6404 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6414 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6415 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6419 [\\/$]* | ?:[\\/]* ) ;;
6420 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
6424 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6425 # If the template does not know about datarootdir, expand it.
6426 # FIXME: This hack should be removed a few years after 2.60.
6427 ac_datarootdir_hack=; ac_datarootdir_seen=
6438 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6439 *datarootdir*) ac_datarootdir_seen=yes;;
6440 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6441 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6442 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6444 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6445 ac_datarootdir_hack='
6446 s&@datadir@&$datadir&g
6447 s&@docdir@&$docdir&g
6448 s&@infodir@&$infodir&g
6449 s&@localedir@&$localedir&g
6450 s&@mandir@&$mandir&g
6451 s&\\\${datarootdir}&$datarootdir&g' ;;
6455 # Neutralize VPATH when `$srcdir' = `.'.
6456 # Shell code in configure.ac might set extrasub.
6457 # FIXME: do we really want to maintain this feature?
6458 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6459 ac_sed_extra="$ac_vpsub
6462 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6464 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6465 s|@configure_input@|$ac_sed_conf_input|;t t
6466 s&@top_builddir@&$ac_top_builddir_sub&;t t
6467 s&@top_build_prefix@&$ac_top_build_prefix&;t t
6468 s&@srcdir@&$ac_srcdir&;t t
6469 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6470 s&@top_srcdir@&$ac_top_srcdir&;t t
6471 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6472 s&@builddir@&$ac_builddir&;t t
6473 s&@abs_builddir@&$ac_abs_builddir&;t t
6474 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6475 s&@INSTALL@&$ac_INSTALL&;t t
6476 s&@MKDIR_P@&$ac_MKDIR_P&;t t
6477 $ac_datarootdir_hack
6479 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
6480 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6482 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6483 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
6484 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
6485 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6486 which seems to be undefined. Please make sure it is defined" >&5
6487 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6488 which seems to be undefined. Please make sure it is defined" >&2;}
6492 -) cat "$tmp/out" && rm -f "$tmp/out";;
6493 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
6495 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6501 if test x"$ac_file" != x-; then
6503 $as_echo "/* $configure_input */" \
6504 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
6505 } >"$tmp/config.h" \
6506 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6507 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
6508 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6509 $as_echo "$as_me: $ac_file is unchanged" >&6;}
6512 mv "$tmp/config.h" "$ac_file" \
6513 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6516 $as_echo "/* $configure_input */" \
6517 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
6518 || as_fn_error $? "could not create -" "$LINENO" 5
6520 # Compute "$ac_file"'s index in $config_headers.
6523 for _am_header in $config_headers :; do
6525 $_am_arg | $_am_arg:* )
6528 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
6531 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
6532 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6533 X"$_am_arg" : 'X\(//\)[^/]' \| \
6534 X"$_am_arg" : 'X\(//\)$' \| \
6535 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
6536 $as_echo X"$_am_arg" |
6537 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6553 s/.*/./; q'`/stamp-h$_am_stamp_count
6556 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6557 $as_echo "$as_me: executing $ac_file commands" >&6;}
6562 case $ac_file$ac_mode in
6563 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
6564 # Autoconf 2.62 quotes --file arguments for eval, but not when files
6565 # are listed without --file. Let's play safe and only enable the eval
6566 # if we detect the quoting.
6567 case $CONFIG_FILES in
6568 *\'*) eval set x "$CONFIG_FILES" ;;
6569 *) set x $CONFIG_FILES ;;
6574 # Strip MF so we end up with the name of the file.
6575 mf=`echo "$mf" | sed -e 's/:.*$//'`
6576 # Check whether this is an Automake generated Makefile or not.
6577 # We used to match only the files named `Makefile.in', but
6578 # some people rename them; so instead we look at the file content.
6579 # Grep'ing the first line is not enough: some people post-process
6580 # each Makefile.in and add a new line on top of each file to say so.
6581 # Grep'ing the whole file is not good either: AIX grep has a line
6582 # limit of 2048, but all sed's we know have understand at least 4000.
6583 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
6584 dirpart=`$as_dirname -- "$mf" ||
6585 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6586 X"$mf" : 'X\(//\)[^/]' \| \
6587 X"$mf" : 'X\(//\)$' \| \
6588 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6590 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6610 # Extract the definition of DEPDIR, am__include, and am__quote
6611 # from the Makefile without running `make'.
6612 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6613 test -z "$DEPDIR" && continue
6614 am__include=`sed -n 's/^am__include = //p' < "$mf"`
6615 test -z "am__include" && continue
6616 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6617 # When using ansi2knr, U may be empty or an underscore; expand it
6618 U=`sed -n 's/^U = //p' < "$mf"`
6619 # Find all dependency output files, they are included files with
6620 # $(DEPDIR) in their names. We invoke sed twice because it is the
6621 # simplest approach to changing $(DEPDIR) to its actual value in the
6623 for file in `sed -n "
6624 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6625 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6626 # Make sure the directory exists.
6627 test -f "$dirpart/$file" && continue
6628 fdir=`$as_dirname -- "$file" ||
6629 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6630 X"$file" : 'X\(//\)[^/]' \| \
6631 X"$file" : 'X\(//\)$' \| \
6632 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6634 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6651 as_dir=$dirpart/$fdir; as_fn_mkdir_p
6652 # echo "creating $dirpart/$file"
6653 echo '# dummy' > "$dirpart/$file"
6665 ac_clean_files=$ac_clean_files_save
6667 test $ac_write_fail = 0 ||
6668 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6671 # configure is writing to config.log, and then calls config.status.
6672 # config.status does its own redirection, appending to config.log.
6673 # Unfortunately, on DOS this fails, as config.log is still kept open
6674 # by configure, so config.status won't be able to write to it; its
6675 # output is simply discarded. So we exec the FD to /dev/null,
6676 # effectively closing config.log, so it can be properly (re)opened and
6677 # appended to by config.status. When coming back to configure, we
6678 # need to make the FD available again.
6679 if test "$no_create" != yes; then
6681 ac_config_status_args=
6682 test "$silent" = yes &&
6683 ac_config_status_args="$ac_config_status_args --quiet"
6685 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6687 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6688 # would make configure fail if this is the last instruction.
6689 $ac_cs_success || as_fn_exit 1
6691 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6692 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6693 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}