2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for libctf library 1.2.0-pre.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66 as_echo_n='sh -c $as_echo_n_body as_echo'
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x; then
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\${$as_var+set} = xset \
120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138 _as_can_reexec=no; export _as_can_reexec;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
147 *v*x* | *x*v* ) as_opts=-vx ;;
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec=; unset _as_can_reexec;}
160 if test "x$CONFIG_SHELL" = x; then
161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 case \`(set -o) 2>/dev/null\` in #(
177 as_required="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199 test \$(( 1 + 1 )) = 2 || exit 1"
200 if (eval "$as_required") 2>/dev/null; then :
205 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
210 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
213 test -z "$as_dir" && as_dir=.
217 for as_base in sh bash ksh sh5; do
218 # Try only shells that exist, to save several forks.
219 as_shell=$as_dir/$as_base
220 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
221 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
222 CONFIG_SHELL=$as_shell as_have_required=yes
223 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
231 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
232 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
233 CONFIG_SHELL=$SHELL as_have_required=yes
238 if test "x$CONFIG_SHELL" != x; then :
240 # We cannot yet assume a decent shell, so we have to provide a
241 # neutralization value for shells without unset; and this also
242 # works around shells that cannot unset nonexistent variables.
243 # Preserve -v and -x to the replacement shell.
246 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
248 *v*x* | *x*v* ) as_opts=-vx ;;
253 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
254 # Admittedly, this is quite paranoid, since all the known shells bail
255 # out after a failed `exec'.
256 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
260 if test x$as_have_required = xno; then :
261 $as_echo "$0: This script requires a shell more modern than all"
262 $as_echo "$0: the shells that I found on your system."
263 if test x${ZSH_VERSION+set} = xset ; then
264 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
265 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
267 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
268 $0: including any error possibly output before this
269 $0: message. Then install a modern shell, or manually run
270 $0: the script under such a shell if you do have one."
276 SHELL=${CONFIG_SHELL-/bin/sh}
278 # Unset more variables known to interfere with behavior of common tools.
279 CLICOLOR_FORCE= GREP_OPTIONS=
280 unset CLICOLOR_FORCE GREP_OPTIONS
282 ## --------------------- ##
283 ## M4sh Shell Functions. ##
284 ## --------------------- ##
287 # Portably unset VAR.
290 { eval $1=; unset $1;}
294 # as_fn_set_status STATUS
295 # -----------------------
296 # Set $? to STATUS, without forking.
304 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
314 # Create "$as_dir" as a directory, including parents if necessary.
319 -*) as_dir=./$as_dir;;
321 test -d "$as_dir" || eval $as_mkdir_p || {
325 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
328 as_dirs="'$as_qdir' $as_dirs"
329 as_dir=`$as_dirname -- "$as_dir" ||
330 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
331 X"$as_dir" : 'X\(//\)[^/]' \| \
332 X"$as_dir" : 'X\(//\)$' \| \
333 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
334 $as_echo X"$as_dir" |
335 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
352 test -d "$as_dir" && break
354 test -z "$as_dirs" || eval "mkdir $as_dirs"
355 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
360 # as_fn_executable_p FILE
361 # -----------------------
362 # Test if FILE is an executable regular file.
363 as_fn_executable_p ()
365 test -f "$1" && test -x "$1"
366 } # as_fn_executable_p
367 # as_fn_append VAR VALUE
368 # ----------------------
369 # Append the text in VALUE to the end of the definition contained in VAR. Take
370 # advantage of any shell optimizations that allow amortized linear growth over
371 # repeated appends, instead of the typical quadratic growth present in naive
373 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
374 eval 'as_fn_append ()
387 # Perform arithmetic evaluation on the ARGs, and store the result in the
388 # global $as_val. Take advantage of shells that can avoid forks. The arguments
389 # must be portable across $(()) and expr.
390 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
398 as_val=`expr "$@" || test $? -eq 1`
403 # as_fn_error STATUS ERROR [LINENO LOG_FD]
404 # ----------------------------------------
405 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
406 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
407 # script with STATUS, using 1 if that was 0.
410 as_status=$1; test $as_status -eq 0 && as_status=1
412 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
413 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
415 $as_echo "$as_me: error: $2" >&2
416 as_fn_exit $as_status
419 if expr a : '\(a\)' >/dev/null 2>&1 &&
420 test "X`expr 00001 : '.*\(...\)'`" = X001; then
426 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
432 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
438 as_me=`$as_basename -- "$0" ||
439 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
440 X"$0" : 'X\(//\)$' \| \
441 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
443 sed '/^.*\/\([^/][^/]*\)\/*$/{
457 # Avoid depending upon Character Ranges.
458 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
459 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
460 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
461 as_cr_digits='0123456789'
462 as_cr_alnum=$as_cr_Letters$as_cr_digits
465 as_lineno_1=$LINENO as_lineno_1a=$LINENO
466 as_lineno_2=$LINENO as_lineno_2a=$LINENO
467 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
468 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
469 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
481 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 chmod +x "$as_me.lineno" ||
486 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
488 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
489 # already done that, so ensure we don't try to do so again and fall
490 # in an infinite loop. This has already happened in practice.
491 _as_can_reexec=no; export _as_can_reexec
492 # Don't try to exec as it changes $[0], causing all sort of problems
493 # (the dirname of $[0] is not the place where we might find the
494 # original and so on. Autoconf is especially sensitive to this).
496 # Exit status is that of the last command.
500 ECHO_C= ECHO_N= ECHO_T=
501 case `echo -n x` in #(((((
503 case `echo 'xy\c'` in
504 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
506 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
513 rm -f conf$$ conf$$.exe conf$$.file
514 if test -d conf$$.dir; then
515 rm -f conf$$.dir/conf$$.file
518 mkdir conf$$.dir 2>/dev/null
520 if (echo >conf$$.file) 2>/dev/null; then
521 if ln -s conf$$.file conf$$ 2>/dev/null; then
523 # ... but there are two gotchas:
524 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
525 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
526 # In both cases, we have to default to `cp -pR'.
527 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
529 elif ln conf$$.file conf$$ 2>/dev/null; then
537 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
538 rmdir conf$$.dir 2>/dev/null
540 if mkdir -p . 2>/dev/null; then
541 as_mkdir_p='mkdir -p "$as_dir"'
543 test -d ./-p && rmdir ./-p
548 as_executable_p=as_fn_executable_p
550 # Sed expression to map a string onto a valid CPP name.
551 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
553 # Sed expression to map a string onto a valid variable name.
554 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
557 test -n "$DJDIR" || exec 7<&0 </dev/null
561 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
562 # so uname gets run too.
563 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
568 ac_default_prefix=/usr/local
570 ac_config_libobj_dir=.
577 # Identity of this package.
578 PACKAGE_NAME='libctf library'
579 PACKAGE_TARNAME='libctf-library'
580 PACKAGE_VERSION='1.2.0-pre'
581 PACKAGE_STRING='libctf library 1.2.0-pre'
585 ac_unique_file="ctf-impl.h"
586 # Factoring default headers for most tests.
587 ac_includes_default="\
589 #ifdef HAVE_SYS_TYPES_H
590 # include <sys/types.h>
592 #ifdef HAVE_SYS_STAT_H
593 # include <sys/stat.h>
599 # ifdef HAVE_STDLIB_H
604 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
609 #ifdef HAVE_STRINGS_H
610 # include <strings.h>
612 #ifdef HAVE_INTTYPES_H
613 # include <inttypes.h>
623 ac_subst_vars='am__EXEEXT_FALSE
627 ac_libctf_warn_cflags
629 MAINTAINER_MODE_FALSE
660 INSTALL_STRIP_PROGRAM
712 program_transform_name
725 enable_option_checking
726 enable_dependency_tracking
730 enable_maintainer_mode
732 ac_precious_vars='build_alias
743 # Initialize some variables set by options.
745 ac_init_version=false
746 ac_unrecognized_opts=
748 # The variables have the same names as the options, with
749 # dashes changed to underlines.
757 program_transform_name=s,x,x,
765 # Installation directory options.
766 # These are left unexpanded so users can "make install exec_prefix=/foo"
767 # and all the variables that are supposed to be based on exec_prefix
768 # by default will actually change.
769 # Use braces instead of parens because sh, perl, etc. also accept them.
770 # (The list follows the same order as the GNU Coding Standards.)
771 bindir='${exec_prefix}/bin'
772 sbindir='${exec_prefix}/sbin'
773 libexecdir='${exec_prefix}/libexec'
774 datarootdir='${prefix}/share'
775 datadir='${datarootdir}'
776 sysconfdir='${prefix}/etc'
777 sharedstatedir='${prefix}/com'
778 localstatedir='${prefix}/var'
779 includedir='${prefix}/include'
780 oldincludedir='/usr/include'
781 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
782 infodir='${datarootdir}/info'
787 libdir='${exec_prefix}/lib'
788 localedir='${datarootdir}/locale'
789 mandir='${datarootdir}/man'
795 # If the previous option needs an argument, assign it.
796 if test -n "$ac_prev"; then
797 eval $ac_prev=\$ac_option
803 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
808 # Accept the important Cygnus configure options, so we can diagnose typos.
810 case $ac_dashdash$ac_option in
814 -bindir | --bindir | --bindi | --bind | --bin | --bi)
816 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
819 -build | --build | --buil | --bui | --bu)
820 ac_prev=build_alias ;;
821 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
822 build_alias=$ac_optarg ;;
824 -cache-file | --cache-file | --cache-fil | --cache-fi \
825 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
826 ac_prev=cache_file ;;
827 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
828 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
829 cache_file=$ac_optarg ;;
832 cache_file=config.cache ;;
834 -datadir | --datadir | --datadi | --datad)
836 -datadir=* | --datadir=* | --datadi=* | --datad=*)
837 datadir=$ac_optarg ;;
839 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
840 | --dataroo | --dataro | --datar)
841 ac_prev=datarootdir ;;
842 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
843 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
844 datarootdir=$ac_optarg ;;
846 -disable-* | --disable-*)
847 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
848 # Reject names that are not valid shell variable names.
849 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
850 as_fn_error $? "invalid feature name: $ac_useropt"
851 ac_useropt_orig=$ac_useropt
852 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
853 case $ac_user_opts in
857 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
858 ac_unrecognized_sep=', ';;
860 eval enable_$ac_useropt=no ;;
862 -docdir | --docdir | --docdi | --doc | --do)
864 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
867 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
869 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
872 -enable-* | --enable-*)
873 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
874 # Reject names that are not valid shell variable names.
875 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
876 as_fn_error $? "invalid feature name: $ac_useropt"
877 ac_useropt_orig=$ac_useropt
878 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
879 case $ac_user_opts in
883 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
884 ac_unrecognized_sep=', ';;
886 eval enable_$ac_useropt=\$ac_optarg ;;
888 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
889 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
890 | --exec | --exe | --ex)
891 ac_prev=exec_prefix ;;
892 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
893 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
894 | --exec=* | --exe=* | --ex=*)
895 exec_prefix=$ac_optarg ;;
897 -gas | --gas | --ga | --g)
898 # Obsolete; use --with-gas.
901 -help | --help | --hel | --he | -h)
903 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
904 ac_init_help=recursive ;;
905 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
906 ac_init_help=short ;;
908 -host | --host | --hos | --ho)
909 ac_prev=host_alias ;;
910 -host=* | --host=* | --hos=* | --ho=*)
911 host_alias=$ac_optarg ;;
913 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
915 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
917 htmldir=$ac_optarg ;;
919 -includedir | --includedir | --includedi | --included | --include \
920 | --includ | --inclu | --incl | --inc)
921 ac_prev=includedir ;;
922 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
923 | --includ=* | --inclu=* | --incl=* | --inc=*)
924 includedir=$ac_optarg ;;
926 -infodir | --infodir | --infodi | --infod | --info | --inf)
928 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
929 infodir=$ac_optarg ;;
931 -libdir | --libdir | --libdi | --libd)
933 -libdir=* | --libdir=* | --libdi=* | --libd=*)
936 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
937 | --libexe | --libex | --libe)
938 ac_prev=libexecdir ;;
939 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
940 | --libexe=* | --libex=* | --libe=*)
941 libexecdir=$ac_optarg ;;
943 -localedir | --localedir | --localedi | --localed | --locale)
945 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
946 localedir=$ac_optarg ;;
948 -localstatedir | --localstatedir | --localstatedi | --localstated \
949 | --localstate | --localstat | --localsta | --localst | --locals)
950 ac_prev=localstatedir ;;
951 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
952 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
953 localstatedir=$ac_optarg ;;
955 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
957 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
961 # Obsolete; use --without-fp.
964 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
965 | --no-cr | --no-c | -n)
968 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
969 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
972 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
973 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
974 | --oldin | --oldi | --old | --ol | --o)
975 ac_prev=oldincludedir ;;
976 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
977 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
978 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
979 oldincludedir=$ac_optarg ;;
981 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
983 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
986 -program-prefix | --program-prefix | --program-prefi | --program-pref \
987 | --program-pre | --program-pr | --program-p)
988 ac_prev=program_prefix ;;
989 -program-prefix=* | --program-prefix=* | --program-prefi=* \
990 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
991 program_prefix=$ac_optarg ;;
993 -program-suffix | --program-suffix | --program-suffi | --program-suff \
994 | --program-suf | --program-su | --program-s)
995 ac_prev=program_suffix ;;
996 -program-suffix=* | --program-suffix=* | --program-suffi=* \
997 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
998 program_suffix=$ac_optarg ;;
1000 -program-transform-name | --program-transform-name \
1001 | --program-transform-nam | --program-transform-na \
1002 | --program-transform-n | --program-transform- \
1003 | --program-transform | --program-transfor \
1004 | --program-transfo | --program-transf \
1005 | --program-trans | --program-tran \
1006 | --progr-tra | --program-tr | --program-t)
1007 ac_prev=program_transform_name ;;
1008 -program-transform-name=* | --program-transform-name=* \
1009 | --program-transform-nam=* | --program-transform-na=* \
1010 | --program-transform-n=* | --program-transform-=* \
1011 | --program-transform=* | --program-transfor=* \
1012 | --program-transfo=* | --program-transf=* \
1013 | --program-trans=* | --program-tran=* \
1014 | --progr-tra=* | --program-tr=* | --program-t=*)
1015 program_transform_name=$ac_optarg ;;
1017 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1019 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1020 pdfdir=$ac_optarg ;;
1022 -psdir | --psdir | --psdi | --psd | --ps)
1024 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1027 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1028 | -silent | --silent | --silen | --sile | --sil)
1031 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1033 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1035 sbindir=$ac_optarg ;;
1037 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1038 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1039 | --sharedst | --shareds | --shared | --share | --shar \
1041 ac_prev=sharedstatedir ;;
1042 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1043 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1044 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1046 sharedstatedir=$ac_optarg ;;
1048 -site | --site | --sit)
1050 -site=* | --site=* | --sit=*)
1053 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1055 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1056 srcdir=$ac_optarg ;;
1058 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1059 | --syscon | --sysco | --sysc | --sys | --sy)
1060 ac_prev=sysconfdir ;;
1061 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1062 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1063 sysconfdir=$ac_optarg ;;
1065 -target | --target | --targe | --targ | --tar | --ta | --t)
1066 ac_prev=target_alias ;;
1067 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1068 target_alias=$ac_optarg ;;
1070 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1073 -version | --version | --versio | --versi | --vers | -V)
1074 ac_init_version=: ;;
1077 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1078 # Reject names that are not valid shell variable names.
1079 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1080 as_fn_error $? "invalid package name: $ac_useropt"
1081 ac_useropt_orig=$ac_useropt
1082 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1083 case $ac_user_opts in
1087 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1088 ac_unrecognized_sep=', ';;
1090 eval with_$ac_useropt=\$ac_optarg ;;
1092 -without-* | --without-*)
1093 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1094 # Reject names that are not valid shell variable names.
1095 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1096 as_fn_error $? "invalid package name: $ac_useropt"
1097 ac_useropt_orig=$ac_useropt
1098 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1099 case $ac_user_opts in
1103 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1104 ac_unrecognized_sep=', ';;
1106 eval with_$ac_useropt=no ;;
1109 # Obsolete; use --with-x.
1112 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1113 | --x-incl | --x-inc | --x-in | --x-i)
1114 ac_prev=x_includes ;;
1115 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1116 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1117 x_includes=$ac_optarg ;;
1119 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1120 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1121 ac_prev=x_libraries ;;
1122 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1123 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1124 x_libraries=$ac_optarg ;;
1126 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1127 Try \`$0 --help' for more information"
1131 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1132 # Reject names that are not valid shell variable names.
1133 case $ac_envvar in #(
1134 '' | [0-9]* | *[!_$as_cr_alnum]* )
1135 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1137 eval $ac_envvar=\$ac_optarg
1138 export $ac_envvar ;;
1141 # FIXME: should be removed in autoconf 3.0.
1142 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1143 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1144 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1145 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1151 if test -n "$ac_prev"; then
1152 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1153 as_fn_error $? "missing argument to $ac_option"
1156 if test -n "$ac_unrecognized_opts"; then
1157 case $enable_option_checking in
1159 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1160 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1164 # Check all directory arguments for consistency.
1165 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1166 datadir sysconfdir sharedstatedir localstatedir includedir \
1167 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1168 libdir localedir mandir
1170 eval ac_val=\$$ac_var
1171 # Remove trailing slashes.
1174 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1175 eval $ac_var=\$ac_val;;
1177 # Be sure to have absolute directory names.
1179 [\\/$]* | ?:[\\/]* ) continue;;
1180 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1182 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1185 # There might be people who depend on the old broken behavior: `$host'
1186 # used to hold the argument of --host etc.
1187 # FIXME: To remove some day.
1190 target=$target_alias
1192 # FIXME: To remove some day.
1193 if test "x$host_alias" != x; then
1194 if test "x$build_alias" = x; then
1195 cross_compiling=maybe
1196 elif test "x$build_alias" != "x$host_alias"; then
1202 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1204 test "$silent" = yes && exec 6>/dev/null
1207 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1208 ac_ls_di=`ls -di .` &&
1209 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1210 as_fn_error $? "working directory cannot be determined"
1211 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1212 as_fn_error $? "pwd does not report name of working directory"
1215 # Find the source files, if location was not specified.
1216 if test -z "$srcdir"; then
1217 ac_srcdir_defaulted=yes
1218 # Try the directory containing this script, then the parent directory.
1219 ac_confdir=`$as_dirname -- "$as_myself" ||
1220 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1221 X"$as_myself" : 'X\(//\)[^/]' \| \
1222 X"$as_myself" : 'X\(//\)$' \| \
1223 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1224 $as_echo X"$as_myself" |
1225 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1243 if test ! -r "$srcdir/$ac_unique_file"; then
1247 ac_srcdir_defaulted=no
1249 if test ! -r "$srcdir/$ac_unique_file"; then
1250 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1251 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1253 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1255 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1257 # When building in place, set srcdir=.
1258 if test "$ac_abs_confdir" = "$ac_pwd"; then
1261 # Remove unnecessary trailing slashes from srcdir.
1262 # Double slashes in file names in object file debugging info
1263 # mess up M-x gdb in Emacs.
1265 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1267 for ac_var in $ac_precious_vars; do
1268 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1269 eval ac_env_${ac_var}_value=\$${ac_var}
1270 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1271 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1275 # Report the --help message.
1277 if test "$ac_init_help" = "long"; then
1278 # Omit some internal or obsolete options to make the list less imposing.
1279 # This message is too long to be a string in the A/UX 3.1 sh.
1281 \`configure' configures libctf library 1.2.0-pre to adapt to many kinds of systems.
1283 Usage: $0 [OPTION]... [VAR=VALUE]...
1285 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1286 VAR=VALUE. See below for descriptions of some of the useful variables.
1288 Defaults for the options are specified in brackets.
1291 -h, --help display this help and exit
1292 --help=short display options specific to this package
1293 --help=recursive display the short help of all the included packages
1294 -V, --version display version information and exit
1295 -q, --quiet, --silent do not print \`checking ...' messages
1296 --cache-file=FILE cache test results in FILE [disabled]
1297 -C, --config-cache alias for \`--cache-file=config.cache'
1298 -n, --no-create do not create output files
1299 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1301 Installation directories:
1302 --prefix=PREFIX install architecture-independent files in PREFIX
1303 [$ac_default_prefix]
1304 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1307 By default, \`make install' will install all the files in
1308 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1309 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1310 for instance \`--prefix=\$HOME'.
1312 For better control, use the options below.
1314 Fine tuning of the installation directories:
1315 --bindir=DIR user executables [EPREFIX/bin]
1316 --sbindir=DIR system admin executables [EPREFIX/sbin]
1317 --libexecdir=DIR program executables [EPREFIX/libexec]
1318 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1319 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1320 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1321 --libdir=DIR object code libraries [EPREFIX/lib]
1322 --includedir=DIR C header files [PREFIX/include]
1323 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1324 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1325 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1326 --infodir=DIR info documentation [DATAROOTDIR/info]
1327 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1328 --mandir=DIR man documentation [DATAROOTDIR/man]
1329 --docdir=DIR documentation root [DATAROOTDIR/doc/libctf-library]
1330 --htmldir=DIR html documentation [DOCDIR]
1331 --dvidir=DIR dvi documentation [DOCDIR]
1332 --pdfdir=DIR pdf documentation [DOCDIR]
1333 --psdir=DIR ps documentation [DOCDIR]
1339 --program-prefix=PREFIX prepend PREFIX to installed program names
1340 --program-suffix=SUFFIX append SUFFIX to installed program names
1341 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1345 if test -n "$ac_init_help"; then
1346 case $ac_init_help in
1347 short | recursive ) echo "Configuration of libctf library 1.2.0-pre:";;
1352 --disable-option-checking ignore unrecognized --enable/--with options
1353 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1354 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1355 --enable-dependency-tracking
1356 do not reject slow dependency extractors
1357 --disable-dependency-tracking
1358 speeds up one-time build
1359 --enable-silent-rules less verbose build output (undo: "make V=1")
1360 --disable-silent-rules verbose build output (undo: "make V=0")
1361 --disable-largefile omit support for large files
1362 --enable-werror-always enable -Werror despite compiler version
1363 --enable-maintainer-mode
1364 enable make rules and dependencies not useful (and
1365 sometimes confusing) to the casual installer
1367 Some influential environment variables:
1368 CC C compiler command
1369 CFLAGS C compiler flags
1370 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1371 nonstandard directory <lib dir>
1372 LIBS libraries to pass to the linker, e.g. -l<library>
1373 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1374 you have headers in a nonstandard directory <include dir>
1377 Use these variables to override the choices made by `configure' or to help
1378 it to find libraries and programs with nonstandard names/locations.
1380 Report bugs to the package provider.
1385 if test "$ac_init_help" = "recursive"; then
1386 # If there are subdirs, report their specific --help.
1387 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1388 test -d "$ac_dir" ||
1389 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1394 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1396 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1397 # A ".." for each directory in $ac_dir_suffix.
1398 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1399 case $ac_top_builddir_sub in
1400 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1401 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1404 ac_abs_top_builddir=$ac_pwd
1405 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1406 # for backward compatibility:
1407 ac_top_builddir=$ac_top_build_prefix
1410 .) # We are building in place.
1412 ac_top_srcdir=$ac_top_builddir_sub
1413 ac_abs_top_srcdir=$ac_pwd ;;
1414 [\\/]* | ?:[\\/]* ) # Absolute name.
1415 ac_srcdir=$srcdir$ac_dir_suffix;
1416 ac_top_srcdir=$srcdir
1417 ac_abs_top_srcdir=$srcdir ;;
1419 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1420 ac_top_srcdir=$ac_top_build_prefix$srcdir
1421 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1423 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1425 cd "$ac_dir" || { ac_status=$?; continue; }
1426 # Check for guested configure.
1427 if test -f "$ac_srcdir/configure.gnu"; then
1429 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1430 elif test -f "$ac_srcdir/configure"; then
1432 $SHELL "$ac_srcdir/configure" --help=recursive
1434 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1436 cd "$ac_pwd" || { ac_status=$?; break; }
1440 test -n "$ac_init_help" && exit $ac_status
1441 if $ac_init_version; then
1443 libctf library configure 1.2.0-pre
1444 generated by GNU Autoconf 2.69
1446 Copyright (C) 2012 Free Software Foundation, Inc.
1447 This configure script is free software; the Free Software Foundation
1448 gives unlimited permission to copy, distribute and modify it.
1453 ## ------------------------ ##
1454 ## Autoconf initialization. ##
1455 ## ------------------------ ##
1457 # ac_fn_c_try_compile LINENO
1458 # --------------------------
1459 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1460 ac_fn_c_try_compile ()
1462 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1463 rm -f conftest.$ac_objext
1464 if { { ac_try="$ac_compile"
1466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1467 *) ac_try_echo=$ac_try;;
1469 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1470 $as_echo "$ac_try_echo"; } >&5
1471 (eval "$ac_compile") 2>conftest.err
1473 if test -s conftest.err; then
1474 grep -v '^ *+' conftest.err >conftest.er1
1475 cat conftest.er1 >&5
1476 mv -f conftest.er1 conftest.err
1478 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1479 test $ac_status = 0; } && {
1480 test -z "$ac_c_werror_flag" ||
1481 test ! -s conftest.err
1482 } && test -s conftest.$ac_objext; then :
1485 $as_echo "$as_me: failed program was:" >&5
1486 sed 's/^/| /' conftest.$ac_ext >&5
1490 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1491 as_fn_set_status $ac_retval
1493 } # ac_fn_c_try_compile
1495 # ac_fn_c_try_cpp LINENO
1496 # ----------------------
1497 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1500 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1501 if { { ac_try="$ac_cpp conftest.$ac_ext"
1503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1504 *) ac_try_echo=$ac_try;;
1506 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1507 $as_echo "$ac_try_echo"; } >&5
1508 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1510 if test -s conftest.err; then
1511 grep -v '^ *+' conftest.err >conftest.er1
1512 cat conftest.er1 >&5
1513 mv -f conftest.er1 conftest.err
1515 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1516 test $ac_status = 0; } > conftest.i && {
1517 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1518 test ! -s conftest.err
1522 $as_echo "$as_me: failed program was:" >&5
1523 sed 's/^/| /' conftest.$ac_ext >&5
1527 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1528 as_fn_set_status $ac_retval
1532 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1533 # -------------------------------------------------------
1534 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1535 # the include files in INCLUDES and setting the cache variable VAR
1537 ac_fn_c_check_header_mongrel ()
1539 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1540 if eval \${$3+:} false; then :
1541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1542 $as_echo_n "checking for $2... " >&6; }
1543 if eval \${$3+:} false; then :
1544 $as_echo_n "(cached) " >&6
1547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1548 $as_echo "$ac_res" >&6; }
1550 # Is the header compilable?
1551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1552 $as_echo_n "checking $2 usability... " >&6; }
1553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1554 /* end confdefs.h. */
1558 if ac_fn_c_try_compile "$LINENO"; then :
1559 ac_header_compiler=yes
1561 ac_header_compiler=no
1563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1565 $as_echo "$ac_header_compiler" >&6; }
1567 # Is the header present?
1568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1569 $as_echo_n "checking $2 presence... " >&6; }
1570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1571 /* end confdefs.h. */
1574 if ac_fn_c_try_cpp "$LINENO"; then :
1575 ac_header_preproc=yes
1577 ac_header_preproc=no
1579 rm -f conftest.err conftest.i conftest.$ac_ext
1580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1581 $as_echo "$ac_header_preproc" >&6; }
1583 # So? What about this header?
1584 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1586 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1587 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1588 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1589 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1592 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1593 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1594 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1595 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1596 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1597 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1598 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1599 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1600 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1601 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1605 $as_echo_n "checking for $2... " >&6; }
1606 if eval \${$3+:} false; then :
1607 $as_echo_n "(cached) " >&6
1609 eval "$3=\$ac_header_compiler"
1612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1613 $as_echo "$ac_res" >&6; }
1615 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1617 } # ac_fn_c_check_header_mongrel
1619 # ac_fn_c_try_run LINENO
1620 # ----------------------
1621 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1622 # that executables *can* be run.
1625 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1626 if { { ac_try="$ac_link"
1628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1629 *) ac_try_echo=$ac_try;;
1631 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1632 $as_echo "$ac_try_echo"; } >&5
1633 (eval "$ac_link") 2>&5
1635 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1636 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1637 { { case "(($ac_try" in
1638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1639 *) ac_try_echo=$ac_try;;
1641 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1642 $as_echo "$ac_try_echo"; } >&5
1643 (eval "$ac_try") 2>&5
1645 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1646 test $ac_status = 0; }; }; then :
1649 $as_echo "$as_me: program exited with status $ac_status" >&5
1650 $as_echo "$as_me: failed program was:" >&5
1651 sed 's/^/| /' conftest.$ac_ext >&5
1653 ac_retval=$ac_status
1655 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1656 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1657 as_fn_set_status $ac_retval
1661 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1662 # -------------------------------------------------------
1663 # Tests whether HEADER exists and can be compiled using the include files in
1664 # INCLUDES, setting the cache variable VAR accordingly.
1665 ac_fn_c_check_header_compile ()
1667 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1669 $as_echo_n "checking for $2... " >&6; }
1670 if eval \${$3+:} false; then :
1671 $as_echo_n "(cached) " >&6
1673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1674 /* end confdefs.h. */
1678 if ac_fn_c_try_compile "$LINENO"; then :
1683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1687 $as_echo "$ac_res" >&6; }
1688 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1690 } # ac_fn_c_check_header_compile
1692 # ac_fn_c_try_link LINENO
1693 # -----------------------
1694 # Try to link conftest.$ac_ext, and return whether this succeeded.
1697 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1698 rm -f conftest.$ac_objext conftest$ac_exeext
1699 if { { ac_try="$ac_link"
1701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1702 *) ac_try_echo=$ac_try;;
1704 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1705 $as_echo "$ac_try_echo"; } >&5
1706 (eval "$ac_link") 2>conftest.err
1708 if test -s conftest.err; then
1709 grep -v '^ *+' conftest.err >conftest.er1
1710 cat conftest.er1 >&5
1711 mv -f conftest.er1 conftest.err
1713 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1714 test $ac_status = 0; } && {
1715 test -z "$ac_c_werror_flag" ||
1716 test ! -s conftest.err
1717 } && test -s conftest$ac_exeext && {
1718 test "$cross_compiling" = yes ||
1719 test -x conftest$ac_exeext
1723 $as_echo "$as_me: failed program was:" >&5
1724 sed 's/^/| /' conftest.$ac_ext >&5
1728 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1729 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1730 # interfere with the next link command; also delete a directory that is
1731 # left behind by Apple's compiler. We do this before executing the actions.
1732 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1733 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1734 as_fn_set_status $ac_retval
1736 } # ac_fn_c_try_link
1738 # ac_fn_c_check_func LINENO FUNC VAR
1739 # ----------------------------------
1740 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1741 ac_fn_c_check_func ()
1743 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1745 $as_echo_n "checking for $2... " >&6; }
1746 if eval \${$3+:} false; then :
1747 $as_echo_n "(cached) " >&6
1749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1750 /* end confdefs.h. */
1751 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1752 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1753 #define $2 innocuous_$2
1755 /* System header to define __stub macros and hopefully few prototypes,
1756 which can conflict with char $2 (); below.
1757 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1758 <limits.h> exists even on freestanding compilers. */
1761 # include <limits.h>
1763 # include <assert.h>
1768 /* Override any GCC internal prototype to avoid an error.
1769 Use char because int might match the return type of a GCC
1770 builtin and then its argument prototype would still apply. */
1775 /* The GNU C library defines this for functions which it implements
1776 to always fail with ENOSYS. Some functions are actually named
1777 something starting with __ and the normal name is an alias. */
1778 #if defined __stub_$2 || defined __stub___$2
1790 if ac_fn_c_try_link "$LINENO"; then :
1795 rm -f core conftest.err conftest.$ac_objext \
1796 conftest$ac_exeext conftest.$ac_ext
1799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1800 $as_echo "$ac_res" >&6; }
1801 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1803 } # ac_fn_c_check_func
1804 cat >config.log <<_ACEOF
1805 This file contains any messages produced by compilers while
1806 running configure, to aid debugging if configure makes a mistake.
1808 It was created by libctf library $as_me 1.2.0-pre, which was
1809 generated by GNU Autoconf 2.69. Invocation command line was
1821 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1822 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1823 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1824 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1825 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1827 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1828 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1830 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1831 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1832 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1833 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1834 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1835 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1836 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1844 test -z "$as_dir" && as_dir=.
1845 $as_echo "PATH: $as_dir"
1861 # Keep a trace of the command line.
1862 # Strip out --no-create and --no-recursion so they do not pile up.
1863 # Strip out --silent because we don't want to record it for future runs.
1864 # Also quote any args containing shell meta-characters.
1865 # Make two passes to allow for proper duplicate-argument suppression.
1869 ac_must_keep_next=false
1875 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1876 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1877 | -silent | --silent | --silen | --sile | --sil)
1880 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1883 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1885 as_fn_append ac_configure_args1 " '$ac_arg'"
1886 if test $ac_must_keep_next = true; then
1887 ac_must_keep_next=false # Got value, back to normal.
1890 *=* | --config-cache | -C | -disable-* | --disable-* \
1891 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1892 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1893 | -with-* | --with-* | -without-* | --without-* | --x)
1894 case "$ac_configure_args0 " in
1895 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1898 -* ) ac_must_keep_next=true ;;
1901 as_fn_append ac_configure_args " '$ac_arg'"
1906 { ac_configure_args0=; unset ac_configure_args0;}
1907 { ac_configure_args1=; unset ac_configure_args1;}
1909 # When interrupted or exit'd, cleanup temporary files, and complete
1910 # config.log. We remove comments because anyway the quotes in there
1911 # would cause problems or look ugly.
1912 # WARNING: Use '\'' to represent an apostrophe within the trap.
1913 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1914 trap 'exit_status=$?
1915 # Save into config.log some information that might help in debugging.
1919 $as_echo "## ---------------- ##
1920 ## Cache variables. ##
1921 ## ---------------- ##"
1923 # The following way of writing the cache mishandles newlines in values,
1925 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1926 eval ac_val=\$$ac_var
1930 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1931 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1934 _ | IFS | as_nl) ;; #(
1935 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1936 *) { eval $ac_var=; unset $ac_var;} ;;
1941 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1942 *${as_nl}ac_space=\ *)
1944 "s/'\''/'\''\\\\'\'''\''/g;
1945 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1948 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1955 $as_echo "## ----------------- ##
1956 ## Output variables. ##
1957 ## ----------------- ##"
1959 for ac_var in $ac_subst_vars
1961 eval ac_val=\$$ac_var
1963 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1965 $as_echo "$ac_var='\''$ac_val'\''"
1969 if test -n "$ac_subst_files"; then
1970 $as_echo "## ------------------- ##
1971 ## File substitutions. ##
1972 ## ------------------- ##"
1974 for ac_var in $ac_subst_files
1976 eval ac_val=\$$ac_var
1978 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1980 $as_echo "$ac_var='\''$ac_val'\''"
1985 if test -s confdefs.h; then
1986 $as_echo "## ----------- ##
1993 test "$ac_signal" != 0 &&
1994 $as_echo "$as_me: caught signal $ac_signal"
1995 $as_echo "$as_me: exit $exit_status"
1997 rm -f core *.core core.conftest.* &&
1998 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2001 for ac_signal in 1 2 13 15; do
2002 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2006 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2007 rm -f -r conftest* confdefs.h
2009 $as_echo "/* confdefs.h */" > confdefs.h
2011 # Predefined preprocessor variables.
2013 cat >>confdefs.h <<_ACEOF
2014 #define PACKAGE_NAME "$PACKAGE_NAME"
2017 cat >>confdefs.h <<_ACEOF
2018 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2021 cat >>confdefs.h <<_ACEOF
2022 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2025 cat >>confdefs.h <<_ACEOF
2026 #define PACKAGE_STRING "$PACKAGE_STRING"
2029 cat >>confdefs.h <<_ACEOF
2030 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2033 cat >>confdefs.h <<_ACEOF
2034 #define PACKAGE_URL "$PACKAGE_URL"
2038 # Let the site file select an alternate cache file if it wants to.
2039 # Prefer an explicitly selected file to automatically selected ones.
2042 if test -n "$CONFIG_SITE"; then
2043 # We do not want a PATH search for config.site.
2044 case $CONFIG_SITE in #((
2045 -*) ac_site_file1=./$CONFIG_SITE;;
2046 */*) ac_site_file1=$CONFIG_SITE;;
2047 *) ac_site_file1=./$CONFIG_SITE;;
2049 elif test "x$prefix" != xNONE; then
2050 ac_site_file1=$prefix/share/config.site
2051 ac_site_file2=$prefix/etc/config.site
2053 ac_site_file1=$ac_default_prefix/share/config.site
2054 ac_site_file2=$ac_default_prefix/etc/config.site
2056 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2058 test "x$ac_site_file" = xNONE && continue
2059 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2060 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2061 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2062 sed 's/^/| /' "$ac_site_file" >&5
2064 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2065 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2066 as_fn_error $? "failed to load site script $ac_site_file
2067 See \`config.log' for more details" "$LINENO" 5; }
2071 if test -r "$cache_file"; then
2072 # Some versions of bash will fail to source /dev/null (special files
2073 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2074 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2075 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2076 $as_echo "$as_me: loading cache $cache_file" >&6;}
2078 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2079 *) . "./$cache_file";;
2083 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2084 $as_echo "$as_me: creating cache $cache_file" >&6;}
2088 as_fn_append ac_header_list " stdlib.h"
2089 as_fn_append ac_header_list " unistd.h"
2090 as_fn_append ac_header_list " sys/param.h"
2091 # Check that the precious variables saved in the cache have kept the same
2093 ac_cache_corrupted=false
2094 for ac_var in $ac_precious_vars; do
2095 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2096 eval ac_new_set=\$ac_env_${ac_var}_set
2097 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2098 eval ac_new_val=\$ac_env_${ac_var}_value
2099 case $ac_old_set,$ac_new_set in
2101 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2102 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2103 ac_cache_corrupted=: ;;
2105 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2106 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2107 ac_cache_corrupted=: ;;
2110 if test "x$ac_old_val" != "x$ac_new_val"; then
2111 # differences in whitespace do not lead to failure.
2112 ac_old_val_w=`echo x $ac_old_val`
2113 ac_new_val_w=`echo x $ac_new_val`
2114 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2115 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2116 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2117 ac_cache_corrupted=:
2119 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2120 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2121 eval $ac_var=\$ac_old_val
2123 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2124 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2125 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2126 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2129 # Pass precious variables to config.status.
2130 if test "$ac_new_set" = set; then
2132 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2133 *) ac_arg=$ac_var=$ac_new_val ;;
2135 case " $ac_configure_args " in
2136 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2137 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2141 if $ac_cache_corrupted; then
2142 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2143 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2144 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2145 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2146 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2148 ## -------------------- ##
2149 ## Main body of script. ##
2150 ## -------------------- ##
2153 ac_cpp='$CPP $CPPFLAGS'
2154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2165 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2166 if test -f "$ac_dir/install-sh"; then
2168 ac_install_sh="$ac_aux_dir/install-sh -c"
2170 elif test -f "$ac_dir/install.sh"; then
2172 ac_install_sh="$ac_aux_dir/install.sh -c"
2174 elif test -f "$ac_dir/shtool"; then
2176 ac_install_sh="$ac_aux_dir/shtool install -c"
2180 if test -z "$ac_aux_dir"; then
2181 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2184 # These three variables are undocumented and unsupported,
2185 # and are intended to be withdrawn in a future Autoconf release.
2186 # They can cause serious problems if a builder's source tree is in a directory
2187 # whose full name contains unusual characters.
2188 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2189 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2190 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2193 # Expand $ac_aux_dir to an absolute path.
2194 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2197 ac_cpp='$CPP $CPPFLAGS'
2198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2201 if test -n "$ac_tool_prefix"; then
2202 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2203 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2205 $as_echo_n "checking for $ac_word... " >&6; }
2206 if ${ac_cv_prog_CC+:} false; then :
2207 $as_echo_n "(cached) " >&6
2209 if test -n "$CC"; then
2210 ac_cv_prog_CC="$CC" # Let the user override the test.
2212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2216 test -z "$as_dir" && as_dir=.
2217 for ac_exec_ext in '' $ac_executable_extensions; do
2218 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2219 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2220 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2230 if test -n "$CC"; then
2231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2232 $as_echo "$CC" >&6; }
2234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2235 $as_echo "no" >&6; }
2240 if test -z "$ac_cv_prog_CC"; then
2242 # Extract the first word of "gcc", so it can be a program name with args.
2243 set dummy gcc; ac_word=$2
2244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2245 $as_echo_n "checking for $ac_word... " >&6; }
2246 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2247 $as_echo_n "(cached) " >&6
2249 if test -n "$ac_ct_CC"; then
2250 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2256 test -z "$as_dir" && as_dir=.
2257 for ac_exec_ext in '' $ac_executable_extensions; do
2258 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2259 ac_cv_prog_ac_ct_CC="gcc"
2260 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2269 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2270 if test -n "$ac_ct_CC"; then
2271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2272 $as_echo "$ac_ct_CC" >&6; }
2274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2275 $as_echo "no" >&6; }
2278 if test "x$ac_ct_CC" = x; then
2281 case $cross_compiling:$ac_tool_warned in
2283 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2284 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2285 ac_tool_warned=yes ;;
2293 if test -z "$CC"; then
2294 if test -n "$ac_tool_prefix"; then
2295 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2296 set dummy ${ac_tool_prefix}cc; ac_word=$2
2297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2298 $as_echo_n "checking for $ac_word... " >&6; }
2299 if ${ac_cv_prog_CC+:} false; then :
2300 $as_echo_n "(cached) " >&6
2302 if test -n "$CC"; then
2303 ac_cv_prog_CC="$CC" # Let the user override the test.
2305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2309 test -z "$as_dir" && as_dir=.
2310 for ac_exec_ext in '' $ac_executable_extensions; do
2311 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2312 ac_cv_prog_CC="${ac_tool_prefix}cc"
2313 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2323 if test -n "$CC"; then
2324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2325 $as_echo "$CC" >&6; }
2327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2328 $as_echo "no" >&6; }
2334 if test -z "$CC"; then
2335 # Extract the first word of "cc", so it can be a program name with args.
2336 set dummy cc; ac_word=$2
2337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2338 $as_echo_n "checking for $ac_word... " >&6; }
2339 if ${ac_cv_prog_CC+:} false; then :
2340 $as_echo_n "(cached) " >&6
2342 if test -n "$CC"; then
2343 ac_cv_prog_CC="$CC" # Let the user override the test.
2346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2350 test -z "$as_dir" && as_dir=.
2351 for ac_exec_ext in '' $ac_executable_extensions; do
2352 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2353 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2354 ac_prog_rejected=yes
2358 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2365 if test $ac_prog_rejected = yes; then
2366 # We found a bogon in the path, so make sure we never use it.
2367 set dummy $ac_cv_prog_CC
2369 if test $# != 0; then
2370 # We chose a different compiler from the bogus one.
2371 # However, it has the same basename, so the bogon will be chosen
2372 # first if we set CC to just the basename; use the full file name.
2374 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2380 if test -n "$CC"; then
2381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2382 $as_echo "$CC" >&6; }
2384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2385 $as_echo "no" >&6; }
2390 if test -z "$CC"; then
2391 if test -n "$ac_tool_prefix"; then
2392 for ac_prog in cl.exe
2394 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2395 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2397 $as_echo_n "checking for $ac_word... " >&6; }
2398 if ${ac_cv_prog_CC+:} false; then :
2399 $as_echo_n "(cached) " >&6
2401 if test -n "$CC"; then
2402 ac_cv_prog_CC="$CC" # Let the user override the test.
2404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2408 test -z "$as_dir" && as_dir=.
2409 for ac_exec_ext in '' $ac_executable_extensions; do
2410 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2411 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2412 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2422 if test -n "$CC"; then
2423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2424 $as_echo "$CC" >&6; }
2426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2427 $as_echo "no" >&6; }
2431 test -n "$CC" && break
2434 if test -z "$CC"; then
2436 for ac_prog in cl.exe
2438 # Extract the first word of "$ac_prog", so it can be a program name with args.
2439 set dummy $ac_prog; ac_word=$2
2440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2441 $as_echo_n "checking for $ac_word... " >&6; }
2442 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2443 $as_echo_n "(cached) " >&6
2445 if test -n "$ac_ct_CC"; then
2446 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2452 test -z "$as_dir" && as_dir=.
2453 for ac_exec_ext in '' $ac_executable_extensions; do
2454 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2455 ac_cv_prog_ac_ct_CC="$ac_prog"
2456 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2465 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2466 if test -n "$ac_ct_CC"; then
2467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2468 $as_echo "$ac_ct_CC" >&6; }
2470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2471 $as_echo "no" >&6; }
2475 test -n "$ac_ct_CC" && break
2478 if test "x$ac_ct_CC" = x; then
2481 case $cross_compiling:$ac_tool_warned in
2483 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2484 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2485 ac_tool_warned=yes ;;
2494 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2495 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2496 as_fn_error $? "no acceptable C compiler found in \$PATH
2497 See \`config.log' for more details" "$LINENO" 5; }
2499 # Provide some information about the compiler.
2500 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2503 for ac_option in --version -v -V -qversion; do
2504 { { ac_try="$ac_compiler $ac_option >&5"
2506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2507 *) ac_try_echo=$ac_try;;
2509 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2510 $as_echo "$ac_try_echo"; } >&5
2511 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2513 if test -s conftest.err; then
2515 ... rest of stderr output deleted ...
2516 10q' conftest.err >conftest.er1
2517 cat conftest.er1 >&5
2519 rm -f conftest.er1 conftest.err
2520 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2521 test $ac_status = 0; }
2524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2525 /* end confdefs.h. */
2535 ac_clean_files_save=$ac_clean_files
2536 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2537 # Try to create an executable without -o first, disregard a.out.
2538 # It will help us diagnose broken compilers, and finding out an intuition
2540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2541 $as_echo_n "checking whether the C compiler works... " >&6; }
2542 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2544 # The possible output files:
2545 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2548 for ac_file in $ac_files
2551 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2552 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2557 if { { ac_try="$ac_link_default"
2559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2560 *) ac_try_echo=$ac_try;;
2562 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2563 $as_echo "$ac_try_echo"; } >&5
2564 (eval "$ac_link_default") 2>&5
2566 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2567 test $ac_status = 0; }; then :
2568 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2569 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2570 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2571 # so that the user can short-circuit this test for compilers unknown to
2573 for ac_file in $ac_files ''
2575 test -f "$ac_file" || continue
2577 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2580 # We found the default executable, but exeext='' is most
2584 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2586 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2588 # We set ac_cv_exeext here because the later test for it is not
2589 # safe: cross compilers may not add the suffix if given an `-o'
2590 # argument, so we may need to know it at that point already.
2591 # Even if this section looks crufty: it has the advantage of
2598 test "$ac_cv_exeext" = no && ac_cv_exeext=
2603 if test -z "$ac_file"; then :
2604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2605 $as_echo "no" >&6; }
2606 $as_echo "$as_me: failed program was:" >&5
2607 sed 's/^/| /' conftest.$ac_ext >&5
2609 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2610 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2611 as_fn_error 77 "C compiler cannot create executables
2612 See \`config.log' for more details" "$LINENO" 5; }
2614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2615 $as_echo "yes" >&6; }
2617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2618 $as_echo_n "checking for C compiler default output file name... " >&6; }
2619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2620 $as_echo "$ac_file" >&6; }
2621 ac_exeext=$ac_cv_exeext
2623 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2624 ac_clean_files=$ac_clean_files_save
2625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2626 $as_echo_n "checking for suffix of executables... " >&6; }
2627 if { { ac_try="$ac_link"
2629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2630 *) ac_try_echo=$ac_try;;
2632 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2633 $as_echo "$ac_try_echo"; } >&5
2634 (eval "$ac_link") 2>&5
2636 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2637 test $ac_status = 0; }; then :
2638 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2639 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2640 # work properly (i.e., refer to `conftest.exe'), while it won't with
2642 for ac_file in conftest.exe conftest conftest.*; do
2643 test -f "$ac_file" || continue
2645 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2646 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2652 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2653 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2654 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2655 See \`config.log' for more details" "$LINENO" 5; }
2657 rm -f conftest conftest$ac_cv_exeext
2658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2659 $as_echo "$ac_cv_exeext" >&6; }
2661 rm -f conftest.$ac_ext
2662 EXEEXT=$ac_cv_exeext
2664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2665 /* end confdefs.h. */
2670 FILE *f = fopen ("conftest.out", "w");
2671 return ferror (f) || fclose (f) != 0;
2677 ac_clean_files="$ac_clean_files conftest.out"
2678 # Check that the compiler produces executables we can run. If not, either
2679 # the compiler is broken, or we cross compile.
2680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2681 $as_echo_n "checking whether we are cross compiling... " >&6; }
2682 if test "$cross_compiling" != yes; then
2683 { { ac_try="$ac_link"
2685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2686 *) ac_try_echo=$ac_try;;
2688 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2689 $as_echo "$ac_try_echo"; } >&5
2690 (eval "$ac_link") 2>&5
2692 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2693 test $ac_status = 0; }
2694 if { ac_try='./conftest$ac_cv_exeext'
2695 { { case "(($ac_try" in
2696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2697 *) ac_try_echo=$ac_try;;
2699 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2700 $as_echo "$ac_try_echo"; } >&5
2701 (eval "$ac_try") 2>&5
2703 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2704 test $ac_status = 0; }; }; then
2707 if test "$cross_compiling" = maybe; then
2710 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2711 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2712 as_fn_error $? "cannot run C compiled programs.
2713 If you meant to cross compile, use \`--host'.
2714 See \`config.log' for more details" "$LINENO" 5; }
2718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2719 $as_echo "$cross_compiling" >&6; }
2721 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2722 ac_clean_files=$ac_clean_files_save
2723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2724 $as_echo_n "checking for suffix of object files... " >&6; }
2725 if ${ac_cv_objext+:} false; then :
2726 $as_echo_n "(cached) " >&6
2728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2729 /* end confdefs.h. */
2739 rm -f conftest.o conftest.obj
2740 if { { ac_try="$ac_compile"
2742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2743 *) ac_try_echo=$ac_try;;
2745 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2746 $as_echo "$ac_try_echo"; } >&5
2747 (eval "$ac_compile") 2>&5
2749 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2750 test $ac_status = 0; }; then :
2751 for ac_file in conftest.o conftest.obj conftest.*; do
2752 test -f "$ac_file" || continue;
2754 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2755 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2760 $as_echo "$as_me: failed program was:" >&5
2761 sed 's/^/| /' conftest.$ac_ext >&5
2763 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2764 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2765 as_fn_error $? "cannot compute suffix of object files: cannot compile
2766 See \`config.log' for more details" "$LINENO" 5; }
2768 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2771 $as_echo "$ac_cv_objext" >&6; }
2772 OBJEXT=$ac_cv_objext
2774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2775 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2776 if ${ac_cv_c_compiler_gnu+:} false; then :
2777 $as_echo_n "(cached) " >&6
2779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2780 /* end confdefs.h. */
2793 if ac_fn_c_try_compile "$LINENO"; then :
2798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2799 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2803 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2804 if test $ac_compiler_gnu = yes; then
2809 ac_test_CFLAGS=${CFLAGS+set}
2810 ac_save_CFLAGS=$CFLAGS
2811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2812 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2813 if ${ac_cv_prog_cc_g+:} false; then :
2814 $as_echo_n "(cached) " >&6
2816 ac_save_c_werror_flag=$ac_c_werror_flag
2817 ac_c_werror_flag=yes
2820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2821 /* end confdefs.h. */
2831 if ac_fn_c_try_compile "$LINENO"; then :
2835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2836 /* end confdefs.h. */
2846 if ac_fn_c_try_compile "$LINENO"; then :
2849 ac_c_werror_flag=$ac_save_c_werror_flag
2851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2852 /* end confdefs.h. */
2862 if ac_fn_c_try_compile "$LINENO"; then :
2865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2870 ac_c_werror_flag=$ac_save_c_werror_flag
2872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2873 $as_echo "$ac_cv_prog_cc_g" >&6; }
2874 if test "$ac_test_CFLAGS" = set; then
2875 CFLAGS=$ac_save_CFLAGS
2876 elif test $ac_cv_prog_cc_g = yes; then
2877 if test "$GCC" = yes; then
2883 if test "$GCC" = yes; then
2889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2890 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2891 if ${ac_cv_prog_cc_c89+:} false; then :
2892 $as_echo_n "(cached) " >&6
2894 ac_cv_prog_cc_c89=no
2896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2897 /* end confdefs.h. */
2901 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2902 struct buf { int x; };
2903 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2904 static char *e (p, i)
2910 static char *f (char * (*g) (char **, int), char **p, ...)
2915 s = g (p, va_arg (v,int));
2920 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2921 function prototypes and stuff, but not '\xHH' hex character constants.
2922 These don't provoke an error unfortunately, instead are silently treated
2923 as 'x'. The following induces an error, until -std is added to get
2924 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2925 array size at least. It's necessary to write '\x00'==0 to get something
2926 that's true only with -std. */
2927 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2929 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2930 inside strings and character constants. */
2932 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2934 int test (int i, double x);
2935 struct s1 {int (*f) (int a);};
2936 struct s2 {int (*f) (double a);};
2937 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2943 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2948 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2949 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2951 CC="$ac_save_CC $ac_arg"
2952 if ac_fn_c_try_compile "$LINENO"; then :
2953 ac_cv_prog_cc_c89=$ac_arg
2955 rm -f core conftest.err conftest.$ac_objext
2956 test "x$ac_cv_prog_cc_c89" != "xno" && break
2958 rm -f conftest.$ac_ext
2963 case "x$ac_cv_prog_cc_c89" in
2965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2966 $as_echo "none needed" >&6; } ;;
2968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2969 $as_echo "unsupported" >&6; } ;;
2971 CC="$CC $ac_cv_prog_cc_c89"
2972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2973 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2975 if test "x$ac_cv_prog_cc_c89" != xno; then :
2980 ac_cpp='$CPP $CPPFLAGS'
2981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2986 ac_cpp='$CPP $CPPFLAGS'
2987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
2991 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
2992 if ${am_cv_prog_cc_c_o+:} false; then :
2993 $as_echo_n "(cached) " >&6
2995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2996 /* end confdefs.h. */
3006 # Make sure it works both with $CC and with simple cc.
3007 # Following AC_PROG_CC_C_O, we do the test twice because some
3008 # compilers refuse to overwrite an existing .o file with -o,
3009 # though they will create one.
3010 am_cv_prog_cc_c_o=yes
3012 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3013 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3016 (exit $ac_status); } \
3017 && test -f conftest2.$ac_objext; then
3020 am_cv_prog_cc_c_o=no
3024 rm -f core conftest*
3027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3028 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3029 if test "$am_cv_prog_cc_c_o" != yes; then
3030 # Losing compiler, so override with the script.
3031 # FIXME: It is wrong to rewrite CC.
3032 # But if we don't then we get into trouble of one sort or another.
3033 # A longer-term fix would be to have automake use am__CC in this case,
3034 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3035 CC="$am_aux_dir/compile $CC"
3038 ac_cpp='$CPP $CPPFLAGS'
3039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3046 ac_cpp='$CPP $CPPFLAGS'
3047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3051 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3052 # On Suns, sometimes $CPP names a directory.
3053 if test -n "$CPP" && test -d "$CPP"; then
3056 if test -z "$CPP"; then
3057 if ${ac_cv_prog_CPP+:} false; then :
3058 $as_echo_n "(cached) " >&6
3060 # Double quotes because CPP needs to be expanded
3061 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3064 for ac_c_preproc_warn_flag in '' yes
3066 # Use a header file that comes with gcc, so configuring glibc
3067 # with a fresh cross-compiler works.
3068 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3069 # <limits.h> exists even on freestanding compilers.
3070 # On the NeXT, cc -E runs the code through the compiler's parser,
3071 # not just through cpp. "Syntax error" is here to catch this case.
3072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3073 /* end confdefs.h. */
3075 # include <limits.h>
3077 # include <assert.h>
3081 if ac_fn_c_try_cpp "$LINENO"; then :
3084 # Broken: fails on valid input.
3087 rm -f conftest.err conftest.i conftest.$ac_ext
3089 # OK, works on sane cases. Now check whether nonexistent headers
3090 # can be detected and how.
3091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3092 /* end confdefs.h. */
3093 #include <ac_nonexistent.h>
3095 if ac_fn_c_try_cpp "$LINENO"; then :
3096 # Broken: success on invalid input.
3099 # Passes both tests.
3103 rm -f conftest.err conftest.i conftest.$ac_ext
3106 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3107 rm -f conftest.i conftest.err conftest.$ac_ext
3108 if $ac_preproc_ok; then :
3120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3121 $as_echo "$CPP" >&6; }
3123 for ac_c_preproc_warn_flag in '' yes
3125 # Use a header file that comes with gcc, so configuring glibc
3126 # with a fresh cross-compiler works.
3127 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3128 # <limits.h> exists even on freestanding compilers.
3129 # On the NeXT, cc -E runs the code through the compiler's parser,
3130 # not just through cpp. "Syntax error" is here to catch this case.
3131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3132 /* end confdefs.h. */
3134 # include <limits.h>
3136 # include <assert.h>
3140 if ac_fn_c_try_cpp "$LINENO"; then :
3143 # Broken: fails on valid input.
3146 rm -f conftest.err conftest.i conftest.$ac_ext
3148 # OK, works on sane cases. Now check whether nonexistent headers
3149 # can be detected and how.
3150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3151 /* end confdefs.h. */
3152 #include <ac_nonexistent.h>
3154 if ac_fn_c_try_cpp "$LINENO"; then :
3155 # Broken: success on invalid input.
3158 # Passes both tests.
3162 rm -f conftest.err conftest.i conftest.$ac_ext
3165 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3166 rm -f conftest.i conftest.err conftest.$ac_ext
3167 if $ac_preproc_ok; then :
3170 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3171 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3172 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3173 See \`config.log' for more details" "$LINENO" 5; }
3177 ac_cpp='$CPP $CPPFLAGS'
3178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3184 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3185 if ${ac_cv_path_GREP+:} false; then :
3186 $as_echo_n "(cached) " >&6
3188 if test -z "$GREP"; then
3189 ac_path_GREP_found=false
3190 # Loop through the user's path and test for each of PROGNAME-LIST
3191 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3192 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3195 test -z "$as_dir" && as_dir=.
3196 for ac_prog in grep ggrep; do
3197 for ac_exec_ext in '' $ac_executable_extensions; do
3198 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3199 as_fn_executable_p "$ac_path_GREP" || continue
3200 # Check for GNU ac_path_GREP and select it if it is found.
3201 # Check for GNU $ac_path_GREP
3202 case `"$ac_path_GREP" --version 2>&1` in
3204 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3207 $as_echo_n 0123456789 >"conftest.in"
3210 cat "conftest.in" "conftest.in" >"conftest.tmp"
3211 mv "conftest.tmp" "conftest.in"
3212 cp "conftest.in" "conftest.nl"
3213 $as_echo 'GREP' >> "conftest.nl"
3214 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3215 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3216 as_fn_arith $ac_count + 1 && ac_count=$as_val
3217 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3218 # Best one so far, save it but keep looking for a better one
3219 ac_cv_path_GREP="$ac_path_GREP"
3220 ac_path_GREP_max=$ac_count
3222 # 10*(2^10) chars as input seems more than enough
3223 test $ac_count -gt 10 && break
3225 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3228 $ac_path_GREP_found && break 3
3233 if test -z "$ac_cv_path_GREP"; then
3234 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3237 ac_cv_path_GREP=$GREP
3241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3242 $as_echo "$ac_cv_path_GREP" >&6; }
3243 GREP="$ac_cv_path_GREP"
3246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3247 $as_echo_n "checking for egrep... " >&6; }
3248 if ${ac_cv_path_EGREP+:} false; then :
3249 $as_echo_n "(cached) " >&6
3251 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3252 then ac_cv_path_EGREP="$GREP -E"
3254 if test -z "$EGREP"; then
3255 ac_path_EGREP_found=false
3256 # Loop through the user's path and test for each of PROGNAME-LIST
3257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3258 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3261 test -z "$as_dir" && as_dir=.
3262 for ac_prog in egrep; do
3263 for ac_exec_ext in '' $ac_executable_extensions; do
3264 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3265 as_fn_executable_p "$ac_path_EGREP" || continue
3266 # Check for GNU ac_path_EGREP and select it if it is found.
3267 # Check for GNU $ac_path_EGREP
3268 case `"$ac_path_EGREP" --version 2>&1` in
3270 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3273 $as_echo_n 0123456789 >"conftest.in"
3276 cat "conftest.in" "conftest.in" >"conftest.tmp"
3277 mv "conftest.tmp" "conftest.in"
3278 cp "conftest.in" "conftest.nl"
3279 $as_echo 'EGREP' >> "conftest.nl"
3280 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3281 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3282 as_fn_arith $ac_count + 1 && ac_count=$as_val
3283 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3284 # Best one so far, save it but keep looking for a better one
3285 ac_cv_path_EGREP="$ac_path_EGREP"
3286 ac_path_EGREP_max=$ac_count
3288 # 10*(2^10) chars as input seems more than enough
3289 test $ac_count -gt 10 && break
3291 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3294 $ac_path_EGREP_found && break 3
3299 if test -z "$ac_cv_path_EGREP"; then
3300 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3303 ac_cv_path_EGREP=$EGREP
3308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3309 $as_echo "$ac_cv_path_EGREP" >&6; }
3310 EGREP="$ac_cv_path_EGREP"
3313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3314 $as_echo_n "checking for ANSI C header files... " >&6; }
3315 if ${ac_cv_header_stdc+:} false; then :
3316 $as_echo_n "(cached) " >&6
3318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3319 /* end confdefs.h. */
3333 if ac_fn_c_try_compile "$LINENO"; then :
3334 ac_cv_header_stdc=yes
3336 ac_cv_header_stdc=no
3338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3340 if test $ac_cv_header_stdc = yes; then
3341 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3343 /* end confdefs.h. */
3347 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3348 $EGREP "memchr" >/dev/null 2>&1; then :
3351 ac_cv_header_stdc=no
3357 if test $ac_cv_header_stdc = yes; then
3358 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3360 /* end confdefs.h. */
3364 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3365 $EGREP "free" >/dev/null 2>&1; then :
3368 ac_cv_header_stdc=no
3374 if test $ac_cv_header_stdc = yes; then
3375 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3376 if test "$cross_compiling" = yes; then :
3379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3380 /* end confdefs.h. */
3383 #if ((' ' & 0x0FF) == 0x020)
3384 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3385 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3387 # define ISLOWER(c) \
3388 (('a' <= (c) && (c) <= 'i') \
3389 || ('j' <= (c) && (c) <= 'r') \
3390 || ('s' <= (c) && (c) <= 'z'))
3391 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3394 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3399 for (i = 0; i < 256; i++)
3400 if (XOR (islower (i), ISLOWER (i))
3401 || toupper (i) != TOUPPER (i))
3406 if ac_fn_c_try_run "$LINENO"; then :
3409 ac_cv_header_stdc=no
3411 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3412 conftest.$ac_objext conftest.beam conftest.$ac_ext
3417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3418 $as_echo "$ac_cv_header_stdc" >&6; }
3419 if test $ac_cv_header_stdc = yes; then
3421 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3425 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3426 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3427 inttypes.h stdint.h unistd.h
3429 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3430 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3432 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3433 cat >>confdefs.h <<_ACEOF
3434 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3443 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
3444 if test "x$ac_cv_header_minix_config_h" = xyes; then :
3451 if test "$MINIX" = yes; then
3453 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
3456 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
3459 $as_echo "#define _MINIX 1" >>confdefs.h
3464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
3465 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
3466 if ${ac_cv_safe_to_define___extensions__+:} false; then :
3467 $as_echo_n "(cached) " >&6
3469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3470 /* end confdefs.h. */
3472 # define __EXTENSIONS__ 1
3473 $ac_includes_default
3482 if ac_fn_c_try_compile "$LINENO"; then :
3483 ac_cv_safe_to_define___extensions__=yes
3485 ac_cv_safe_to_define___extensions__=no
3487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
3490 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
3491 test $ac_cv_safe_to_define___extensions__ = yes &&
3492 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
3494 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
3496 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
3498 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
3500 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
3503 am__api_version='1.15'
3505 # Find a good install program. We prefer a C program (faster),
3506 # so one script is as good as another. But avoid the broken or
3507 # incompatible versions:
3508 # SysV /etc/install, /usr/sbin/install
3509 # SunOS /usr/etc/install
3510 # IRIX /sbin/install
3512 # AmigaOS /C/install, which installs bootblocks on floppy discs
3513 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3514 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3515 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3516 # OS/2's system install, which has a completely different semantic
3517 # ./install, which can be erroneously created by make from ./install.sh.
3518 # Reject install programs that cannot install multiple files.
3519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3520 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3521 if test -z "$INSTALL"; then
3522 if ${ac_cv_path_install+:} false; then :
3523 $as_echo_n "(cached) " >&6
3525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3529 test -z "$as_dir" && as_dir=.
3530 # Account for people who put trailing slashes in PATH elements.
3531 case $as_dir/ in #((
3532 ./ | .// | /[cC]/* | \
3533 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3534 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3537 # OSF1 and SCO ODT 3.0 have their own names for install.
3538 # Don't use installbsd from OSF since it installs stuff as root
3540 for ac_prog in ginstall scoinst install; do
3541 for ac_exec_ext in '' $ac_executable_extensions; do
3542 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3543 if test $ac_prog = install &&
3544 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3545 # AIX install. It has an incompatible calling convention.
3547 elif test $ac_prog = install &&
3548 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3549 # program-specific install script used by HP pwplus--don't use.
3552 rm -rf conftest.one conftest.two conftest.dir
3553 echo one > conftest.one
3554 echo two > conftest.two
3556 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3557 test -s conftest.one && test -s conftest.two &&
3558 test -s conftest.dir/conftest.one &&
3559 test -s conftest.dir/conftest.two
3561 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3574 rm -rf conftest.one conftest.two conftest.dir
3577 if test "${ac_cv_path_install+set}" = set; then
3578 INSTALL=$ac_cv_path_install
3580 # As a last resort, use the slow shell script. Don't cache a
3581 # value for INSTALL within a source directory, because that will
3582 # break other packages using the cache if that directory is
3583 # removed, or if the value is a relative name.
3584 INSTALL=$ac_install_sh
3587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3588 $as_echo "$INSTALL" >&6; }
3590 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3591 # It thinks the first close brace ends the variable substitution.
3592 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3594 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3596 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3599 $as_echo_n "checking whether build environment is sane... " >&6; }
3600 # Reject unsafe characters in $srcdir or the absolute working directory
3601 # name. Accept space and tab only in the latter.
3605 *[\\\"\#\$\&\'\`$am_lf]*)
3606 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3609 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3610 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3613 # Do 'set' in a subshell so we don't clobber the current shell's
3614 # arguments. Must try -L first in case configure is actually a
3615 # symlink; some systems play weird games with the mod time of symlinks
3616 # (eg FreeBSD returns the mod time of the symlink's containing
3620 for am_try in 1 2; do
3621 echo "timestamp, slept: $am_has_slept" > conftest.file
3622 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3623 if test "$*" = "X"; then
3625 set X `ls -t "$srcdir/configure" conftest.file`
3627 if test "$*" != "X $srcdir/configure conftest.file" \
3628 && test "$*" != "X conftest.file $srcdir/configure"; then
3630 # If neither matched, then we have a broken ls. This can happen
3631 # if, for instance, CONFIG_SHELL is bash and it inherits a
3632 # broken ls alias from the environment. This has actually
3633 # happened. Such a system could not be considered "sane".
3634 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
3635 alias in your environment" "$LINENO" 5
3637 if test "$2" = conftest.file || test $am_try -eq 2; then
3644 test "$2" = conftest.file
3650 as_fn_error $? "newly created file is older than distributed files!
3651 Check your system clock" "$LINENO" 5
3653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3654 $as_echo "yes" >&6; }
3655 # If we didn't sleep, we still need to ensure time stamps of config.status and
3656 # generated files are strictly newer.
3658 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
3665 test "$program_prefix" != NONE &&
3666 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3667 # Use a double $ so make ignores it.
3668 test "$program_suffix" != NONE &&
3669 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3670 # Double any \ or $.
3671 # By default was `s,x,x', remove it if useless.
3672 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3673 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3675 if test x"${MISSING+set}" != xset; then
3678 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3680 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3683 # Use eval to expand $SHELL
3684 if eval "$MISSING --is-lightweight"; then
3685 am_missing_run="$MISSING "
3688 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3689 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3692 if test x"${install_sh+set}" != xset; then
3695 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3697 install_sh="\${SHELL} $am_aux_dir/install-sh"
3701 # Installed binaries are usually stripped using 'strip' when the user
3702 # run "make install-strip". However 'strip' might not be the right
3703 # tool to use in cross-compilation environments, therefore Automake
3704 # will honor the 'STRIP' environment variable to overrule this program.
3705 if test "$cross_compiling" != no; then
3706 if test -n "$ac_tool_prefix"; then
3707 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3708 set dummy ${ac_tool_prefix}strip; ac_word=$2
3709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3710 $as_echo_n "checking for $ac_word... " >&6; }
3711 if ${ac_cv_prog_STRIP+:} false; then :
3712 $as_echo_n "(cached) " >&6
3714 if test -n "$STRIP"; then
3715 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3721 test -z "$as_dir" && as_dir=.
3722 for ac_exec_ext in '' $ac_executable_extensions; do
3723 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3724 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3725 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3734 STRIP=$ac_cv_prog_STRIP
3735 if test -n "$STRIP"; then
3736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3737 $as_echo "$STRIP" >&6; }
3739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3740 $as_echo "no" >&6; }
3745 if test -z "$ac_cv_prog_STRIP"; then
3747 # Extract the first word of "strip", so it can be a program name with args.
3748 set dummy strip; ac_word=$2
3749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3750 $as_echo_n "checking for $ac_word... " >&6; }
3751 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3752 $as_echo_n "(cached) " >&6
3754 if test -n "$ac_ct_STRIP"; then
3755 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3761 test -z "$as_dir" && as_dir=.
3762 for ac_exec_ext in '' $ac_executable_extensions; do
3763 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3764 ac_cv_prog_ac_ct_STRIP="strip"
3765 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3774 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3775 if test -n "$ac_ct_STRIP"; then
3776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3777 $as_echo "$ac_ct_STRIP" >&6; }
3779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3780 $as_echo "no" >&6; }
3783 if test "x$ac_ct_STRIP" = x; then
3786 case $cross_compiling:$ac_tool_warned in
3788 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3789 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3790 ac_tool_warned=yes ;;
3795 STRIP="$ac_cv_prog_STRIP"
3799 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3802 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3803 if test -z "$MKDIR_P"; then
3804 if ${ac_cv_path_mkdir+:} false; then :
3805 $as_echo_n "(cached) " >&6
3807 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3808 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3811 test -z "$as_dir" && as_dir=.
3812 for ac_prog in mkdir gmkdir; do
3813 for ac_exec_ext in '' $ac_executable_extensions; do
3814 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
3815 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3816 'mkdir (GNU coreutils) '* | \
3817 'mkdir (coreutils) '* | \
3818 'mkdir (fileutils) '4.1*)
3819 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3829 test -d ./--version && rmdir ./--version
3830 if test "${ac_cv_path_mkdir+set}" = set; then
3831 MKDIR_P="$ac_cv_path_mkdir -p"
3833 # As a last resort, use the slow shell script. Don't cache a
3834 # value for MKDIR_P within a source directory, because that will
3835 # break other packages using the cache if that directory is
3836 # removed, or if the value is a relative name.
3837 MKDIR_P="$ac_install_sh -d"
3840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3841 $as_echo "$MKDIR_P" >&6; }
3843 for ac_prog in gawk mawk nawk awk
3845 # Extract the first word of "$ac_prog", so it can be a program name with args.
3846 set dummy $ac_prog; ac_word=$2
3847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3848 $as_echo_n "checking for $ac_word... " >&6; }
3849 if ${ac_cv_prog_AWK+:} false; then :
3850 $as_echo_n "(cached) " >&6
3852 if test -n "$AWK"; then
3853 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3859 test -z "$as_dir" && as_dir=.
3860 for ac_exec_ext in '' $ac_executable_extensions; do
3861 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3862 ac_cv_prog_AWK="$ac_prog"
3863 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3873 if test -n "$AWK"; then
3874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3875 $as_echo "$AWK" >&6; }
3877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3878 $as_echo "no" >&6; }
3882 test -n "$AWK" && break
3885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3886 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3888 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3889 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3890 $as_echo_n "(cached) " >&6
3892 cat >conftest.make <<\_ACEOF
3895 @echo '@@@%%%=$(MAKE)=@@@%%%'
3897 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3898 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3900 eval ac_cv_prog_make_${ac_make}_set=yes;;
3902 eval ac_cv_prog_make_${ac_make}_set=no;;
3906 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3908 $as_echo "yes" >&6; }
3911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3912 $as_echo "no" >&6; }
3913 SET_MAKE="MAKE=${MAKE-make}"
3916 rm -rf .tst 2>/dev/null
3917 mkdir .tst 2>/dev/null
3918 if test -d .tst; then
3923 rmdir .tst 2>/dev/null
3925 DEPDIR="${am__leading_dot}deps"
3927 ac_config_commands="$ac_config_commands depfiles"
3930 am_make=${MAKE-make}
3931 cat > confinc << 'END'
3933 @echo this is the am__doit target
3936 # If we don't find an include directive, just comment out the code.
3937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3938 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3942 # First try GNU make style include.
3943 echo "include confinc" > confmf
3944 # Ignore all kinds of additional output from 'make'.
3945 case `$am_make -s -f confmf 2> /dev/null` in #(
3946 *the\ am__doit\ target*)
3952 # Now try BSD make style include.
3953 if test "$am__include" = "#"; then
3954 echo '.include "confinc"' > confmf
3955 case `$am_make -s -f confmf 2> /dev/null` in #(
3956 *the\ am__doit\ target*)
3957 am__include=.include
3965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3966 $as_echo "$_am_result" >&6; }
3967 rm -f confinc confmf
3969 # Check whether --enable-dependency-tracking was given.
3970 if test "${enable_dependency_tracking+set}" = set; then :
3971 enableval=$enable_dependency_tracking;
3974 if test "x$enable_dependency_tracking" != xno; then
3975 am_depcomp="$ac_aux_dir/depcomp"
3979 if test "x$enable_dependency_tracking" != xno; then
3988 # Check whether --enable-silent-rules was given.
3989 if test "${enable_silent_rules+set}" = set; then :
3990 enableval=$enable_silent_rules;
3993 case $enable_silent_rules in # (((
3994 yes) AM_DEFAULT_VERBOSITY=0;;
3995 no) AM_DEFAULT_VERBOSITY=1;;
3996 *) AM_DEFAULT_VERBOSITY=1;;
3998 am_make=${MAKE-make}
3999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
4000 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
4001 if ${am_cv_make_support_nested_variables+:} false; then :
4002 $as_echo_n "(cached) " >&6
4004 if $as_echo 'TRUE=$(BAR$(V))
4010 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
4011 am_cv_make_support_nested_variables=yes
4013 am_cv_make_support_nested_variables=no
4016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
4017 $as_echo "$am_cv_make_support_nested_variables" >&6; }
4018 if test $am_cv_make_support_nested_variables = yes; then
4020 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
4022 AM_V=$AM_DEFAULT_VERBOSITY
4023 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
4027 if test "`cd $srcdir && pwd`" != "`pwd`"; then
4028 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4029 # is not polluted with repeated "-I."
4030 am__isrc=' -I$(srcdir)'
4031 # test to see if srcdir already configured
4032 if test -f $srcdir/config.status; then
4033 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4037 # test whether we have cygpath
4038 if test -z "$CYGPATH_W"; then
4039 if (cygpath --version) >/dev/null 2>/dev/null; then
4040 CYGPATH_W='cygpath -w'
4047 # Define the identity of the package.
4048 PACKAGE='libctf-library'
4052 cat >>confdefs.h <<_ACEOF
4053 #define PACKAGE "$PACKAGE"
4057 cat >>confdefs.h <<_ACEOF
4058 #define VERSION "$VERSION"
4061 # Some tools Automake needs.
4063 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4066 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
4069 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4072 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
4075 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
4077 # For better backward compatibility. To be removed once Automake 1.9.x
4078 # dies out for good. For more background, see:
4079 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
4080 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
4081 mkdir_p='$(MKDIR_P)'
4083 # We need awk for the "check" target (and possibly the TAP driver). The
4084 # system "awk" is bad on some platforms.
4085 # Always define AMTAR for backward compatibility. Yes, it's still used
4086 # in the wild :-( We should find a proper way to deprecate it ...
4090 # We'll loop over all known methods to create a tar archive until one works.
4091 _am_tools='gnutar pax cpio none'
4093 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
4099 depcc="$CC" am_compiler_list=
4101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4102 $as_echo_n "checking dependency style of $depcc... " >&6; }
4103 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4104 $as_echo_n "(cached) " >&6
4106 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4107 # We make a subdir and do the tests there. Otherwise we can end up
4108 # making bogus files that we don't know about and never remove. For
4109 # instance it was reported that on HP-UX the gcc test will end up
4110 # making a dummy file named 'D' -- because '-MD' means "put the output
4114 # Copy depcomp to subdir because otherwise we won't find it if we're
4115 # using a relative directory.
4116 cp "$am_depcomp" conftest.dir
4118 # We will build objects and dependencies in a subdirectory because
4119 # it helps to detect inapplicable dependency modes. For instance
4120 # both Tru64's cc and ICC support -MD to output dependencies as a
4121 # side effect of compilation, but ICC will put the dependencies in
4122 # the current directory while Tru64 will put them in the object
4126 am_cv_CC_dependencies_compiler_type=none
4127 if test "$am_compiler_list" = ""; then
4128 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4131 case " $depcc " in #(
4132 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4135 for depmode in $am_compiler_list; do
4136 # Setup a source with many dependencies, because some compilers
4137 # like to wrap large dependency lists on column 80 (with \), and
4138 # we should not choose a depcomp mode which is confused by this.
4140 # We need to recreate these files for each test, as the compiler may
4141 # overwrite some of them when testing with obscure command lines.
4142 # This happens at least with the AIX C compiler.
4144 for i in 1 2 3 4 5 6; do
4145 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4146 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4147 # Solaris 10 /bin/sh.
4148 echo '/* dummy */' > sub/conftst$i.h
4150 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4152 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4153 # mode. It turns out that the SunPro C++ compiler does not properly
4154 # handle '-M -o', and we need to detect this. Also, some Intel
4155 # versions had trouble with output in subdirs.
4156 am__obj=sub/conftest.${OBJEXT-o}
4157 am__minus_obj="-o $am__obj"
4160 # This depmode causes a compiler race in universal mode.
4161 test "$am__universal" = false || continue
4164 # After this tag, mechanisms are not by side-effect, so they'll
4165 # only be used when explicitly requested.
4166 if test "x$enable_dependency_tracking" = xyes; then
4172 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4173 # This compiler won't grok '-c -o', but also, the minuso test has
4174 # not run yet. These depmodes are late enough in the game, and
4175 # so weak that their functioning should not be impacted.
4176 am__obj=conftest.${OBJEXT-o}
4181 if depmode=$depmode \
4182 source=sub/conftest.c object=$am__obj \
4183 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4184 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4185 >/dev/null 2>conftest.err &&
4186 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4187 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4188 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4189 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4190 # icc doesn't choke on unknown options, it will just issue warnings
4191 # or remarks (even with -Werror). So we grep stderr for any message
4192 # that says an option was ignored or not supported.
4193 # When given -MP, icc 7.0 and 7.1 complain thusly:
4194 # icc: Command line warning: ignoring option '-M'; no argument required
4195 # The diagnosis changed in icc 8.0:
4196 # icc: Command line remark: option '-MP' not supported
4197 if (grep 'ignoring option' conftest.err ||
4198 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4199 am_cv_CC_dependencies_compiler_type=$depmode
4208 am_cv_CC_dependencies_compiler_type=none
4212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4213 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4214 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4217 test "x$enable_dependency_tracking" != xno \
4218 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4220 am__fastdepCC_FALSE='#'
4222 am__fastdepCC_TRUE='#'
4223 am__fastdepCC_FALSE=
4228 # POSIX will say in a future version that running "rm -f" with no argument
4229 # is OK; and we want to be able to make that assumption in our Makefile
4230 # recipes. So use an aggressive probe to check that the usage we want is
4231 # actually supported "in the wild" to an acceptable degree.
4232 # See automake bug#10828.
4233 # To make any issue more visible, cause the running configure to be aborted
4234 # by default if the 'rm' program in use doesn't match our expectations; the
4235 # user can still override this though.
4236 if rm -f && rm -fr && rm -rf; then : OK; else
4240 Your 'rm' program seems unable to run without file operands specified
4241 on the command line, even when the '-f' option is present. This is contrary
4242 to the behaviour of most rm programs out there, and not conforming with
4243 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
4245 Please tell bug-automake@gnu.org about your system, including the value
4246 of your $PATH and any error possibly output before this message. This
4247 can help us improve future automake versions.
4250 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
4251 echo 'Configuration will proceed anyway, since you have set the' >&2
4252 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
4256 Aborting the configuration process, to ensure you take notice of the issue.
4258 You can download and install GNU coreutils to get an 'rm' implementation
4259 that behaves properly: <http://www.gnu.org/software/coreutils/>.
4261 If you want to complete the configuration process using your problematic
4262 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
4263 to "yes", and re-run configure.
4266 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
4271 # Checks for programs.
4272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4273 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4275 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4276 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4277 $as_echo_n "(cached) " >&6
4279 cat >conftest.make <<\_ACEOF
4282 @echo '@@@%%%=$(MAKE)=@@@%%%'
4284 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4285 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4287 eval ac_cv_prog_make_${ac_make}_set=yes;;
4289 eval ac_cv_prog_make_${ac_make}_set=no;;
4293 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4295 $as_echo "yes" >&6; }
4298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4299 $as_echo "no" >&6; }
4300 SET_MAKE="MAKE=${MAKE-make}"
4304 ac_cpp='$CPP $CPPFLAGS'
4305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4308 if test -n "$ac_tool_prefix"; then
4309 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4310 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4312 $as_echo_n "checking for $ac_word... " >&6; }
4313 if ${ac_cv_prog_CC+:} false; then :
4314 $as_echo_n "(cached) " >&6
4316 if test -n "$CC"; then
4317 ac_cv_prog_CC="$CC" # Let the user override the test.
4319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4323 test -z "$as_dir" && as_dir=.
4324 for ac_exec_ext in '' $ac_executable_extensions; do
4325 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4326 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4327 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4337 if test -n "$CC"; then
4338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4339 $as_echo "$CC" >&6; }
4341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4342 $as_echo "no" >&6; }
4347 if test -z "$ac_cv_prog_CC"; then
4349 # Extract the first word of "gcc", so it can be a program name with args.
4350 set dummy gcc; ac_word=$2
4351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4352 $as_echo_n "checking for $ac_word... " >&6; }
4353 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4354 $as_echo_n "(cached) " >&6
4356 if test -n "$ac_ct_CC"; then
4357 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4363 test -z "$as_dir" && as_dir=.
4364 for ac_exec_ext in '' $ac_executable_extensions; do
4365 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4366 ac_cv_prog_ac_ct_CC="gcc"
4367 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4376 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4377 if test -n "$ac_ct_CC"; then
4378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4379 $as_echo "$ac_ct_CC" >&6; }
4381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4382 $as_echo "no" >&6; }
4385 if test "x$ac_ct_CC" = x; then
4388 case $cross_compiling:$ac_tool_warned in
4390 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4391 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4392 ac_tool_warned=yes ;;
4400 if test -z "$CC"; then
4401 if test -n "$ac_tool_prefix"; then
4402 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4403 set dummy ${ac_tool_prefix}cc; ac_word=$2
4404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4405 $as_echo_n "checking for $ac_word... " >&6; }
4406 if ${ac_cv_prog_CC+:} false; then :
4407 $as_echo_n "(cached) " >&6
4409 if test -n "$CC"; then
4410 ac_cv_prog_CC="$CC" # Let the user override the test.
4412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4416 test -z "$as_dir" && as_dir=.
4417 for ac_exec_ext in '' $ac_executable_extensions; do
4418 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4419 ac_cv_prog_CC="${ac_tool_prefix}cc"
4420 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4430 if test -n "$CC"; then
4431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4432 $as_echo "$CC" >&6; }
4434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4435 $as_echo "no" >&6; }
4441 if test -z "$CC"; then
4442 # Extract the first word of "cc", so it can be a program name with args.
4443 set dummy cc; ac_word=$2
4444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4445 $as_echo_n "checking for $ac_word... " >&6; }
4446 if ${ac_cv_prog_CC+:} false; then :
4447 $as_echo_n "(cached) " >&6
4449 if test -n "$CC"; then
4450 ac_cv_prog_CC="$CC" # Let the user override the test.
4453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4457 test -z "$as_dir" && as_dir=.
4458 for ac_exec_ext in '' $ac_executable_extensions; do
4459 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4460 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4461 ac_prog_rejected=yes
4465 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4472 if test $ac_prog_rejected = yes; then
4473 # We found a bogon in the path, so make sure we never use it.
4474 set dummy $ac_cv_prog_CC
4476 if test $# != 0; then
4477 # We chose a different compiler from the bogus one.
4478 # However, it has the same basename, so the bogon will be chosen
4479 # first if we set CC to just the basename; use the full file name.
4481 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4487 if test -n "$CC"; then
4488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4489 $as_echo "$CC" >&6; }
4491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4492 $as_echo "no" >&6; }
4497 if test -z "$CC"; then
4498 if test -n "$ac_tool_prefix"; then
4499 for ac_prog in cl.exe
4501 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4502 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4504 $as_echo_n "checking for $ac_word... " >&6; }
4505 if ${ac_cv_prog_CC+:} false; then :
4506 $as_echo_n "(cached) " >&6
4508 if test -n "$CC"; then
4509 ac_cv_prog_CC="$CC" # Let the user override the test.
4511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4515 test -z "$as_dir" && as_dir=.
4516 for ac_exec_ext in '' $ac_executable_extensions; do
4517 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4518 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4519 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4529 if test -n "$CC"; then
4530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4531 $as_echo "$CC" >&6; }
4533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4534 $as_echo "no" >&6; }
4538 test -n "$CC" && break
4541 if test -z "$CC"; then
4543 for ac_prog in cl.exe
4545 # Extract the first word of "$ac_prog", so it can be a program name with args.
4546 set dummy $ac_prog; ac_word=$2
4547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4548 $as_echo_n "checking for $ac_word... " >&6; }
4549 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4550 $as_echo_n "(cached) " >&6
4552 if test -n "$ac_ct_CC"; then
4553 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4559 test -z "$as_dir" && as_dir=.
4560 for ac_exec_ext in '' $ac_executable_extensions; do
4561 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4562 ac_cv_prog_ac_ct_CC="$ac_prog"
4563 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4572 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4573 if test -n "$ac_ct_CC"; then
4574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4575 $as_echo "$ac_ct_CC" >&6; }
4577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4578 $as_echo "no" >&6; }
4582 test -n "$ac_ct_CC" && break
4585 if test "x$ac_ct_CC" = x; then
4588 case $cross_compiling:$ac_tool_warned in
4590 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4591 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4592 ac_tool_warned=yes ;;
4601 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4602 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4603 as_fn_error $? "no acceptable C compiler found in \$PATH
4604 See \`config.log' for more details" "$LINENO" 5; }
4606 # Provide some information about the compiler.
4607 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4610 for ac_option in --version -v -V -qversion; do
4611 { { ac_try="$ac_compiler $ac_option >&5"
4613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4614 *) ac_try_echo=$ac_try;;
4616 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4617 $as_echo "$ac_try_echo"; } >&5
4618 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4620 if test -s conftest.err; then
4622 ... rest of stderr output deleted ...
4623 10q' conftest.err >conftest.er1
4624 cat conftest.er1 >&5
4626 rm -f conftest.er1 conftest.err
4627 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4628 test $ac_status = 0; }
4631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4632 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4633 if ${ac_cv_c_compiler_gnu+:} false; then :
4634 $as_echo_n "(cached) " >&6
4636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4637 /* end confdefs.h. */
4650 if ac_fn_c_try_compile "$LINENO"; then :
4655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4656 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4660 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4661 if test $ac_compiler_gnu = yes; then
4666 ac_test_CFLAGS=${CFLAGS+set}
4667 ac_save_CFLAGS=$CFLAGS
4668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4669 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4670 if ${ac_cv_prog_cc_g+:} false; then :
4671 $as_echo_n "(cached) " >&6
4673 ac_save_c_werror_flag=$ac_c_werror_flag
4674 ac_c_werror_flag=yes
4677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4678 /* end confdefs.h. */
4688 if ac_fn_c_try_compile "$LINENO"; then :
4692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4693 /* end confdefs.h. */
4703 if ac_fn_c_try_compile "$LINENO"; then :
4706 ac_c_werror_flag=$ac_save_c_werror_flag
4708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4709 /* end confdefs.h. */
4719 if ac_fn_c_try_compile "$LINENO"; then :
4722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4727 ac_c_werror_flag=$ac_save_c_werror_flag
4729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4730 $as_echo "$ac_cv_prog_cc_g" >&6; }
4731 if test "$ac_test_CFLAGS" = set; then
4732 CFLAGS=$ac_save_CFLAGS
4733 elif test $ac_cv_prog_cc_g = yes; then
4734 if test "$GCC" = yes; then
4740 if test "$GCC" = yes; then
4746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4747 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4748 if ${ac_cv_prog_cc_c89+:} false; then :
4749 $as_echo_n "(cached) " >&6
4751 ac_cv_prog_cc_c89=no
4753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4754 /* end confdefs.h. */
4758 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4759 struct buf { int x; };
4760 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4761 static char *e (p, i)
4767 static char *f (char * (*g) (char **, int), char **p, ...)
4772 s = g (p, va_arg (v,int));
4777 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4778 function prototypes and stuff, but not '\xHH' hex character constants.
4779 These don't provoke an error unfortunately, instead are silently treated
4780 as 'x'. The following induces an error, until -std is added to get
4781 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4782 array size at least. It's necessary to write '\x00'==0 to get something
4783 that's true only with -std. */
4784 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4786 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4787 inside strings and character constants. */
4789 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4791 int test (int i, double x);
4792 struct s1 {int (*f) (int a);};
4793 struct s2 {int (*f) (double a);};
4794 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4800 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4805 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4806 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4808 CC="$ac_save_CC $ac_arg"
4809 if ac_fn_c_try_compile "$LINENO"; then :
4810 ac_cv_prog_cc_c89=$ac_arg
4812 rm -f core conftest.err conftest.$ac_objext
4813 test "x$ac_cv_prog_cc_c89" != "xno" && break
4815 rm -f conftest.$ac_ext
4820 case "x$ac_cv_prog_cc_c89" in
4822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4823 $as_echo "none needed" >&6; } ;;
4825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4826 $as_echo "unsupported" >&6; } ;;
4828 CC="$CC $ac_cv_prog_cc_c89"
4829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4830 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4832 if test "x$ac_cv_prog_cc_c89" != xno; then :
4837 ac_cpp='$CPP $CPPFLAGS'
4838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4843 ac_cpp='$CPP $CPPFLAGS'
4844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4848 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4849 if ${am_cv_prog_cc_c_o+:} false; then :
4850 $as_echo_n "(cached) " >&6
4852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4853 /* end confdefs.h. */
4863 # Make sure it works both with $CC and with simple cc.
4864 # Following AC_PROG_CC_C_O, we do the test twice because some
4865 # compilers refuse to overwrite an existing .o file with -o,
4866 # though they will create one.
4867 am_cv_prog_cc_c_o=yes
4869 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4870 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4873 (exit $ac_status); } \
4874 && test -f conftest2.$ac_objext; then
4877 am_cv_prog_cc_c_o=no
4881 rm -f core conftest*
4884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4885 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4886 if test "$am_cv_prog_cc_c_o" != yes; then
4887 # Losing compiler, so override with the script.
4888 # FIXME: It is wrong to rewrite CC.
4889 # But if we don't then we get into trouble of one sort or another.
4890 # A longer-term fix would be to have automake use am__CC in this case,
4891 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4892 CC="$am_aux_dir/compile $CC"
4895 ac_cpp='$CPP $CPPFLAGS'
4896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4901 if test -n "$ac_tool_prefix"; then
4902 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4903 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4905 $as_echo_n "checking for $ac_word... " >&6; }
4906 if ${ac_cv_prog_RANLIB+:} false; then :
4907 $as_echo_n "(cached) " >&6
4909 if test -n "$RANLIB"; then
4910 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4916 test -z "$as_dir" && as_dir=.
4917 for ac_exec_ext in '' $ac_executable_extensions; do
4918 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4919 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4920 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4929 RANLIB=$ac_cv_prog_RANLIB
4930 if test -n "$RANLIB"; then
4931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4932 $as_echo "$RANLIB" >&6; }
4934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4935 $as_echo "no" >&6; }
4940 if test -z "$ac_cv_prog_RANLIB"; then
4941 ac_ct_RANLIB=$RANLIB
4942 # Extract the first word of "ranlib", so it can be a program name with args.
4943 set dummy ranlib; ac_word=$2
4944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4945 $as_echo_n "checking for $ac_word... " >&6; }
4946 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
4947 $as_echo_n "(cached) " >&6
4949 if test -n "$ac_ct_RANLIB"; then
4950 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4952 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4956 test -z "$as_dir" && as_dir=.
4957 for ac_exec_ext in '' $ac_executable_extensions; do
4958 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4959 ac_cv_prog_ac_ct_RANLIB="ranlib"
4960 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4969 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4970 if test -n "$ac_ct_RANLIB"; then
4971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4972 $as_echo "$ac_ct_RANLIB" >&6; }
4974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4975 $as_echo "no" >&6; }
4978 if test "x$ac_ct_RANLIB" = x; then
4981 case $cross_compiling:$ac_tool_warned in
4983 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4984 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4985 ac_tool_warned=yes ;;
4987 RANLIB=$ac_ct_RANLIB
4990 RANLIB="$ac_cv_prog_RANLIB"
4993 if test -n "$ac_tool_prefix"; then
4994 for ac_prog in ar lib "link -lib"
4996 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4997 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4999 $as_echo_n "checking for $ac_word... " >&6; }
5000 if ${ac_cv_prog_AR+:} false; then :
5001 $as_echo_n "(cached) " >&6
5003 if test -n "$AR"; then
5004 ac_cv_prog_AR="$AR" # Let the user override the test.
5006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5010 test -z "$as_dir" && as_dir=.
5011 for ac_exec_ext in '' $ac_executable_extensions; do
5012 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5013 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5014 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5024 if test -n "$AR"; then
5025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5026 $as_echo "$AR" >&6; }
5028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5029 $as_echo "no" >&6; }
5033 test -n "$AR" && break
5036 if test -z "$AR"; then
5038 for ac_prog in ar lib "link -lib"
5040 # Extract the first word of "$ac_prog", so it can be a program name with args.
5041 set dummy $ac_prog; ac_word=$2
5042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5043 $as_echo_n "checking for $ac_word... " >&6; }
5044 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5045 $as_echo_n "(cached) " >&6
5047 if test -n "$ac_ct_AR"; then
5048 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5054 test -z "$as_dir" && as_dir=.
5055 for ac_exec_ext in '' $ac_executable_extensions; do
5056 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5057 ac_cv_prog_ac_ct_AR="$ac_prog"
5058 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5067 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5068 if test -n "$ac_ct_AR"; then
5069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5070 $as_echo "$ac_ct_AR" >&6; }
5072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5073 $as_echo "no" >&6; }
5077 test -n "$ac_ct_AR" && break
5080 if test "x$ac_ct_AR" = x; then
5083 case $cross_compiling:$ac_tool_warned in
5085 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5086 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5087 ac_tool_warned=yes ;;
5095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
5096 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
5097 if ${am_cv_ar_interface+:} false; then :
5098 $as_echo_n "(cached) " >&6
5101 ac_cpp='$CPP $CPPFLAGS'
5102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5106 am_cv_ar_interface=ar
5107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5108 /* end confdefs.h. */
5109 int some_variable = 0;
5111 if ac_fn_c_try_compile "$LINENO"; then :
5112 am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
5113 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
5114 (eval $am_ar_try) 2>&5
5116 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5117 test $ac_status = 0; }
5118 if test "$ac_status" -eq 0; then
5119 am_cv_ar_interface=ar
5121 am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
5122 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
5123 (eval $am_ar_try) 2>&5
5125 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5126 test $ac_status = 0; }
5127 if test "$ac_status" -eq 0; then
5128 am_cv_ar_interface=lib
5130 am_cv_ar_interface=unknown
5133 rm -f conftest.lib libconftest.a
5136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5138 ac_cpp='$CPP $CPPFLAGS'
5139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
5145 $as_echo "$am_cv_ar_interface" >&6; }
5147 case $am_cv_ar_interface in
5151 # Microsoft lib, so override with the ar-lib wrapper script.
5152 # FIXME: It is wrong to rewrite AR.
5153 # But if we don't then we get into trouble of one sort or another.
5154 # A longer-term fix would be to have automake use am__AR in this case,
5155 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
5157 AR="$am_aux_dir/ar-lib $AR"
5160 as_fn_error $? "could not determine $AR interface" "$LINENO" 5
5165 # Check whether --enable-largefile was given.
5166 if test "${enable_largefile+set}" = set; then :
5167 enableval=$enable_largefile;
5170 if test "$enable_largefile" != no; then
5172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5173 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5174 if ${ac_cv_sys_largefile_CC+:} false; then :
5175 $as_echo_n "(cached) " >&6
5177 ac_cv_sys_largefile_CC=no
5178 if test "$GCC" != yes; then
5181 # IRIX 6.2 and later do not support large files by default,
5182 # so use the C compiler's -n32 option if that helps.
5183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5184 /* end confdefs.h. */
5185 #include <sys/types.h>
5186 /* Check that off_t can represent 2**63 - 1 correctly.
5187 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5188 since some C++ compilers masquerading as C compilers
5189 incorrectly reject 9223372036854775807. */
5190 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5191 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5192 && LARGE_OFF_T % 2147483647 == 1)
5202 if ac_fn_c_try_compile "$LINENO"; then :
5205 rm -f core conftest.err conftest.$ac_objext
5207 if ac_fn_c_try_compile "$LINENO"; then :
5208 ac_cv_sys_largefile_CC=' -n32'; break
5210 rm -f core conftest.err conftest.$ac_objext
5214 rm -f conftest.$ac_ext
5217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
5218 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
5219 if test "$ac_cv_sys_largefile_CC" != no; then
5220 CC=$CC$ac_cv_sys_largefile_CC
5223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5224 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
5225 if ${ac_cv_sys_file_offset_bits+:} false; then :
5226 $as_echo_n "(cached) " >&6
5229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5230 /* end confdefs.h. */
5231 #include <sys/types.h>
5232 /* Check that off_t can represent 2**63 - 1 correctly.
5233 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5234 since some C++ compilers masquerading as C compilers
5235 incorrectly reject 9223372036854775807. */
5236 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5237 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5238 && LARGE_OFF_T % 2147483647 == 1)
5248 if ac_fn_c_try_compile "$LINENO"; then :
5249 ac_cv_sys_file_offset_bits=no; break
5251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5253 /* end confdefs.h. */
5254 #define _FILE_OFFSET_BITS 64
5255 #include <sys/types.h>
5256 /* Check that off_t can represent 2**63 - 1 correctly.
5257 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5258 since some C++ compilers masquerading as C compilers
5259 incorrectly reject 9223372036854775807. */
5260 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5261 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5262 && LARGE_OFF_T % 2147483647 == 1)
5272 if ac_fn_c_try_compile "$LINENO"; then :
5273 ac_cv_sys_file_offset_bits=64; break
5275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5276 ac_cv_sys_file_offset_bits=unknown
5280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
5281 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
5282 case $ac_cv_sys_file_offset_bits in #(
5285 cat >>confdefs.h <<_ACEOF
5286 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5291 if test $ac_cv_sys_file_offset_bits = unknown; then
5292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
5293 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
5294 if ${ac_cv_sys_large_files+:} false; then :
5295 $as_echo_n "(cached) " >&6
5298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5299 /* end confdefs.h. */
5300 #include <sys/types.h>
5301 /* Check that off_t can represent 2**63 - 1 correctly.
5302 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5303 since some C++ compilers masquerading as C compilers
5304 incorrectly reject 9223372036854775807. */
5305 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5306 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5307 && LARGE_OFF_T % 2147483647 == 1)
5317 if ac_fn_c_try_compile "$LINENO"; then :
5318 ac_cv_sys_large_files=no; break
5320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5322 /* end confdefs.h. */
5323 #define _LARGE_FILES 1
5324 #include <sys/types.h>
5325 /* Check that off_t can represent 2**63 - 1 correctly.
5326 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5327 since some C++ compilers masquerading as C compilers
5328 incorrectly reject 9223372036854775807. */
5329 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5330 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5331 && LARGE_OFF_T % 2147483647 == 1)
5341 if ac_fn_c_try_compile "$LINENO"; then :
5342 ac_cv_sys_large_files=1; break
5344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5345 ac_cv_sys_large_files=unknown
5349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
5350 $as_echo "$ac_cv_sys_large_files" >&6; }
5351 case $ac_cv_sys_large_files in #(
5354 cat >>confdefs.h <<_ACEOF
5355 #define _LARGE_FILES $ac_cv_sys_large_files
5366 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
5367 for ac_prog in aclocal
5369 # Extract the first word of "$ac_prog", so it can be a program name with args.
5370 set dummy $ac_prog; ac_word=$2
5371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5372 $as_echo_n "checking for $ac_word... " >&6; }
5373 if ${ac_cv_prog_ACLOCAL+:} false; then :
5374 $as_echo_n "(cached) " >&6
5376 if test -n "$ACLOCAL"; then
5377 ac_cv_prog_ACLOCAL="$ACLOCAL" # Let the user override the test.
5379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5383 test -z "$as_dir" && as_dir=.
5384 for ac_exec_ext in '' $ac_executable_extensions; do
5385 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5386 ac_cv_prog_ACLOCAL="$ac_prog"
5387 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5396 ACLOCAL=$ac_cv_prog_ACLOCAL
5397 if test -n "$ACLOCAL"; then
5398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ACLOCAL" >&5
5399 $as_echo "$ACLOCAL" >&6; }
5401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5402 $as_echo "no" >&6; }
5406 test -n "$ACLOCAL" && break
5408 test -n "$ACLOCAL" || ACLOCAL="$MISSING aclocal"
5410 for ac_prog in autoconf
5412 # Extract the first word of "$ac_prog", so it can be a program name with args.
5413 set dummy $ac_prog; ac_word=$2
5414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5415 $as_echo_n "checking for $ac_word... " >&6; }
5416 if ${ac_cv_prog_AUTOCONF+:} false; then :
5417 $as_echo_n "(cached) " >&6
5419 if test -n "$AUTOCONF"; then
5420 ac_cv_prog_AUTOCONF="$AUTOCONF" # Let the user override the test.
5422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5426 test -z "$as_dir" && as_dir=.
5427 for ac_exec_ext in '' $ac_executable_extensions; do
5428 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5429 ac_cv_prog_AUTOCONF="$ac_prog"
5430 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5439 AUTOCONF=$ac_cv_prog_AUTOCONF
5440 if test -n "$AUTOCONF"; then
5441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUTOCONF" >&5
5442 $as_echo "$AUTOCONF" >&6; }
5444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5445 $as_echo "no" >&6; }
5449 test -n "$AUTOCONF" && break
5451 test -n "$AUTOCONF" || AUTOCONF="$MISSING autoconf"
5453 for ac_prog in autoheader
5455 # Extract the first word of "$ac_prog", so it can be a program name with args.
5456 set dummy $ac_prog; ac_word=$2
5457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5458 $as_echo_n "checking for $ac_word... " >&6; }
5459 if ${ac_cv_prog_AUTOHEADER+:} false; then :
5460 $as_echo_n "(cached) " >&6
5462 if test -n "$AUTOHEADER"; then
5463 ac_cv_prog_AUTOHEADER="$AUTOHEADER" # Let the user override the test.
5465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5469 test -z "$as_dir" && as_dir=.
5470 for ac_exec_ext in '' $ac_executable_extensions; do
5471 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5472 ac_cv_prog_AUTOHEADER="$ac_prog"
5473 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5482 AUTOHEADER=$ac_cv_prog_AUTOHEADER
5483 if test -n "$AUTOHEADER"; then
5484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUTOHEADER" >&5
5485 $as_echo "$AUTOHEADER" >&6; }
5487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5488 $as_echo "no" >&6; }
5492 test -n "$AUTOHEADER" && break
5494 test -n "$AUTOHEADER" || AUTOHEADER="$MISSING autoheader"
5497 # Figure out what compiler warnings we can enable.
5498 # See config/warnings.m4 for details.
5501 ac_cpp='$CPP $CPPFLAGS'
5502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5507 save_CFLAGS="$CFLAGS"
5508 for real_option in -W -Wall -Wno-narrowing -Wwrite-strings \
5509 -Wmissing-format-attribute; do
5510 # Do the check with the no- prefix removed since gcc silently
5511 # accepts any -Wno-* option on purpose
5512 case $real_option in
5513 -Wno-*) option=-W`expr x$real_option : 'x-Wno-\(.*\)'` ;;
5514 *) option=$real_option ;;
5516 as_acx_Woption=`$as_echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh`
5518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $option" >&5
5519 $as_echo_n "checking whether $CC supports $option... " >&6; }
5520 if eval \${$as_acx_Woption+:} false; then :
5521 $as_echo_n "(cached) " >&6
5524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5525 /* end confdefs.h. */
5535 if ac_fn_c_try_compile "$LINENO"; then :
5536 eval "$as_acx_Woption=yes"
5538 eval "$as_acx_Woption=no"
5540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5543 eval ac_res=\$$as_acx_Woption
5544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5545 $as_echo "$ac_res" >&6; }
5546 if test `eval 'as_val=${'$as_acx_Woption'};$as_echo "$as_val"'` = yes; then :
5547 warn="$warn${warn:+ }$real_option"
5550 CFLAGS="$save_CFLAGS"
5552 ac_cpp='$CPP $CPPFLAGS'
5553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5559 ac_cpp='$CPP $CPPFLAGS'
5560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5565 save_CFLAGS="$CFLAGS"
5566 for real_option in -Wstrict-prototypes -Wmissing-prototypes \
5567 -Wold-style-definition; do
5568 # Do the check with the no- prefix removed since gcc silently
5569 # accepts any -Wno-* option on purpose
5570 case $real_option in
5571 -Wno-*) option=-W`expr x$real_option : 'x-Wno-\(.*\)'` ;;
5572 *) option=$real_option ;;
5574 as_acx_Woption=`$as_echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh`
5576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $option" >&5
5577 $as_echo_n "checking whether $CC supports $option... " >&6; }
5578 if eval \${$as_acx_Woption+:} false; then :
5579 $as_echo_n "(cached) " >&6
5582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5583 /* end confdefs.h. */
5593 if ac_fn_c_try_compile "$LINENO"; then :
5594 eval "$as_acx_Woption=yes"
5596 eval "$as_acx_Woption=no"
5598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5601 eval ac_res=\$$as_acx_Woption
5602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5603 $as_echo "$ac_res" >&6; }
5604 if test `eval 'as_val=${'$as_acx_Woption'};$as_echo "$as_val"'` = yes; then :
5605 c_warn="$c_warn${c_warn:+ }$real_option"
5608 CFLAGS="$save_CFLAGS"
5610 ac_cpp='$CPP $CPPFLAGS'
5611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5617 ac_cpp='$CPP $CPPFLAGS'
5618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5623 # Do the check with the no- prefix removed from the warning options
5624 # since gcc silently accepts any -Wno-* option on purpose
5625 if test "$GCC" = yes; then :
5626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -pedantic -Wlong-long" >&5
5627 $as_echo_n "checking whether $CC supports -pedantic -Wlong-long... " >&6; }
5628 if ${acx_cv_prog_cc_pedantic__Wlong_long+:} false; then :
5629 $as_echo_n "(cached) " >&6
5631 save_CFLAGS="$CFLAGS"
5632 CFLAGS="-pedantic -Wlong-long"
5633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5634 /* end confdefs.h. */
5644 if ac_fn_c_try_compile "$LINENO"; then :
5645 acx_cv_prog_cc_pedantic__Wlong_long=yes
5647 acx_cv_prog_cc_pedantic__Wlong_long=no
5649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5650 CFLAGS="$save_CFLAGS"
5652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_prog_cc_pedantic__Wlong_long" >&5
5653 $as_echo "$acx_cv_prog_cc_pedantic__Wlong_long" >&6; }
5654 if test $acx_cv_prog_cc_pedantic__Wlong_long = yes; then :
5655 WARN_PEDANTIC="$WARN_PEDANTIC${WARN_PEDANTIC:+ }-pedantic -Wno-long-long"
5660 ac_cpp='$CPP $CPPFLAGS'
5661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5667 # Only enable with --enable-werror-always until existing warnings are
5670 ac_cpp='$CPP $CPPFLAGS'
5671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5676 # Check whether --enable-werror-always was given.
5677 if test "${enable_werror_always+set}" = set; then :
5678 enableval=$enable_werror_always;
5680 enable_werror_always=no
5683 if test $enable_werror_always = yes; then :
5684 WERROR="$WERROR${WERROR:+ }-Werror"
5688 ac_cpp='$CPP $CPPFLAGS'
5689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5697 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5698 # Check whether --enable-maintainer-mode was given.
5699 if test "${enable_maintainer_mode+set}" = set; then :
5700 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5702 USE_MAINTAINER_MODE=no
5705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5706 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5707 if test $USE_MAINTAINER_MODE = yes; then
5708 MAINTAINER_MODE_TRUE=
5709 MAINTAINER_MODE_FALSE='#'
5711 MAINTAINER_MODE_TRUE='#'
5712 MAINTAINER_MODE_FALSE=
5715 MAINT=$MAINTAINER_MODE_TRUE
5719 ac_cpp='$CPP $CPPFLAGS'
5720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5724 ac_libctf_warn_cflags=
5725 save_CFLAGS="$CFLAGS"
5726 for real_option in -Wall; do
5727 # Do the check with the no- prefix removed since gcc silently
5728 # accepts any -Wno-* option on purpose
5729 case $real_option in
5730 -Wno-*) option=-W`expr x$real_option : 'x-Wno-\(.*\)'` ;;
5731 *) option=$real_option ;;
5733 as_acx_Woption=`$as_echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh`
5735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $option" >&5
5736 $as_echo_n "checking whether $CC supports $option... " >&6; }
5737 if eval \${$as_acx_Woption+:} false; then :
5738 $as_echo_n "(cached) " >&6
5741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5742 /* end confdefs.h. */
5752 if ac_fn_c_try_compile "$LINENO"; then :
5753 eval "$as_acx_Woption=yes"
5755 eval "$as_acx_Woption=no"
5757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5760 eval ac_res=\$$as_acx_Woption
5761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5762 $as_echo "$ac_res" >&6; }
5763 if test `eval 'as_val=${'$as_acx_Woption'};$as_echo "$as_val"'` = yes; then :
5764 ac_libctf_warn_cflags="$ac_libctf_warn_cflags${ac_libctf_warn_cflags:+ }$real_option"
5767 CFLAGS="$save_CFLAGS"
5769 ac_cpp='$CPP $CPPFLAGS'
5770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5779 for ac_header in $ac_header_list
5781 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5782 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5784 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5785 cat >>confdefs.h <<_ACEOF
5786 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5800 for ac_func in getpagesize
5802 ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
5803 if test "x$ac_cv_func_getpagesize" = xyes; then :
5804 cat >>confdefs.h <<_ACEOF
5805 #define HAVE_GETPAGESIZE 1
5811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
5812 $as_echo_n "checking for working mmap... " >&6; }
5813 if ${ac_cv_func_mmap_fixed_mapped+:} false; then :
5814 $as_echo_n "(cached) " >&6
5816 if test "$cross_compiling" = yes; then :
5817 ac_cv_func_mmap_fixed_mapped=no
5819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5820 /* end confdefs.h. */
5821 $ac_includes_default
5822 /* malloc might have been renamed as rpl_malloc. */
5825 /* Thanks to Mike Haertel and Jim Avera for this test.
5826 Here is a matrix of mmap possibilities:
5827 mmap private not fixed
5828 mmap private fixed at somewhere currently unmapped
5829 mmap private fixed at somewhere already mapped
5830 mmap shared not fixed
5831 mmap shared fixed at somewhere currently unmapped
5832 mmap shared fixed at somewhere already mapped
5833 For private mappings, we should verify that changes cannot be read()
5834 back from the file, nor mmap's back from the file at a different
5835 address. (There have been systems where private was not correctly
5836 implemented like the infamous i386 svr4.0, and systems where the
5837 VM page cache was not coherent with the file system buffer cache
5838 like early versions of FreeBSD and possibly contemporary NetBSD.)
5839 For shared mappings, we should conversely verify that changes get
5840 propagated back to all the places they're supposed to be.
5842 Grep wants private fixed already mapped.
5843 The main things grep needs to know about mmap are:
5844 * does it exist and is it safe to write into the mmap'd area
5845 * how to use it (BSD variants) */
5848 #include <sys/mman.h>
5850 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
5854 /* This mess was copied from the GNU getpagesize.h. */
5855 #ifndef HAVE_GETPAGESIZE
5856 # ifdef _SC_PAGESIZE
5857 # define getpagesize() sysconf(_SC_PAGESIZE)
5858 # else /* no _SC_PAGESIZE */
5859 # ifdef HAVE_SYS_PARAM_H
5860 # include <sys/param.h>
5861 # ifdef EXEC_PAGESIZE
5862 # define getpagesize() EXEC_PAGESIZE
5863 # else /* no EXEC_PAGESIZE */
5865 # define getpagesize() NBPG * CLSIZE
5868 # endif /* no CLSIZE */
5869 # else /* no NBPG */
5871 # define getpagesize() NBPC
5872 # else /* no NBPC */
5874 # define getpagesize() PAGESIZE
5875 # endif /* PAGESIZE */
5876 # endif /* no NBPC */
5877 # endif /* no NBPG */
5878 # endif /* no EXEC_PAGESIZE */
5879 # else /* no HAVE_SYS_PARAM_H */
5880 # define getpagesize() 8192 /* punt totally */
5881 # endif /* no HAVE_SYS_PARAM_H */
5882 # endif /* no _SC_PAGESIZE */
5884 #endif /* no HAVE_GETPAGESIZE */
5889 char *data, *data2, *data3;
5894 pagesize = getpagesize ();
5896 /* First, make a file with some known garbage in it. */
5897 data = (char *) malloc (pagesize);
5900 for (i = 0; i < pagesize; ++i)
5901 *(data + i) = rand ();
5903 fd = creat ("conftest.mmap", 0600);
5906 if (write (fd, data, pagesize) != pagesize)
5910 /* Next, check that the tail of a page is zero-filled. File must have
5911 non-zero length, otherwise we risk SIGBUS for entire page. */
5912 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
5916 if (write (fd2, cdata2, 1) != 1)
5918 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
5919 if (data2 == MAP_FAILED)
5921 for (i = 0; i < pagesize; ++i)
5925 if (munmap (data2, pagesize))
5928 /* Next, try to mmap the file at a fixed address which already has
5929 something else allocated at it. If we can, also make sure that
5930 we see the same garbage. */
5931 fd = open ("conftest.mmap", O_RDWR);
5934 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
5935 MAP_PRIVATE | MAP_FIXED, fd, 0L))
5937 for (i = 0; i < pagesize; ++i)
5938 if (*(data + i) != *(data2 + i))
5941 /* Finally, make sure that changes to the mapped area do not
5942 percolate back to the file as seen by read(). (This is a bug on
5943 some variants of i386 svr4.0.) */
5944 for (i = 0; i < pagesize; ++i)
5945 *(data2 + i) = *(data2 + i) + 1;
5946 data3 = (char *) malloc (pagesize);
5949 if (read (fd, data3, pagesize) != pagesize)
5951 for (i = 0; i < pagesize; ++i)
5952 if (*(data + i) != *(data3 + i))
5958 if ac_fn_c_try_run "$LINENO"; then :
5959 ac_cv_func_mmap_fixed_mapped=yes
5961 ac_cv_func_mmap_fixed_mapped=no
5963 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5964 conftest.$ac_objext conftest.beam conftest.$ac_ext
5968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
5969 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
5970 if test $ac_cv_func_mmap_fixed_mapped = yes; then
5972 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
5975 rm -f conftest.mmap conftest.txt
5977 for ac_header in byteswap.h
5979 ac_fn_c_check_header_mongrel "$LINENO" "byteswap.h" "ac_cv_header_byteswap_h" "$ac_includes_default"
5980 if test "x$ac_cv_header_byteswap_h" = xyes; then :
5981 cat >>confdefs.h <<_ACEOF
5982 #define HAVE_BYTESWAP_H 1
5989 for ac_func in pread
5991 ac_fn_c_check_func "$LINENO" "pread" "ac_cv_func_pread"
5992 if test "x$ac_cv_func_pread" = xyes; then :
5993 cat >>confdefs.h <<_ACEOF
5994 #define HAVE_PREAD 1
6001 ac_config_files="$ac_config_files Makefile"
6003 ac_config_headers="$ac_config_headers config.h"
6005 cat >confcache <<\_ACEOF
6006 # This file is a shell script that caches the results of configure
6007 # tests run on this system so they can be shared between configure
6008 # scripts and configure runs, see configure's option --config-cache.
6009 # It is not useful on other systems. If it contains results you don't
6010 # want to keep, you may remove or edit it.
6012 # config.status only pays attention to the cache file if you give it
6013 # the --recheck option to rerun configure.
6015 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6016 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6021 # The following way of writing the cache mishandles newlines in values,
6022 # but we know of no workaround that is simple, portable, and efficient.
6023 # So, we kill variables containing newlines.
6024 # Ultrix sh set writes to stderr and can't be redirected directly,
6025 # and sets the high bit in the cache file unless we assign to the vars.
6027 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6028 eval ac_val=\$$ac_var
6032 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
6033 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
6036 _ | IFS | as_nl) ;; #(
6037 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
6038 *) { eval $ac_var=; unset $ac_var;} ;;
6044 case $as_nl`(ac_space=' '; set) 2>&1` in #(
6045 *${as_nl}ac_space=\ *)
6046 # `set' does not quote correctly, so add quotes: double-quote
6047 # substitution turns \\\\ into \\, and sed turns \\ into \.
6050 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6053 # `set' quotes correctly as required by POSIX, so do not add quotes.
6054 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
6063 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6065 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6067 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
6068 if test -w "$cache_file"; then
6069 if test "x$cache_file" != "x/dev/null"; then
6070 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
6071 $as_echo "$as_me: updating cache $cache_file" >&6;}
6072 if test ! -f "$cache_file" || test -h "$cache_file"; then
6073 cat confcache >"$cache_file"
6075 case $cache_file in #(
6077 mv -f confcache "$cache_file"$$ &&
6078 mv -f "$cache_file"$$ "$cache_file" ;; #(
6080 mv -f confcache "$cache_file" ;;
6085 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
6086 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6091 test "x$prefix" = xNONE && prefix=$ac_default_prefix
6092 # Let make expand exec_prefix.
6093 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
6095 DEFS=-DHAVE_CONFIG_H
6100 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
6101 # 1. Remove the extension, and $U if already installed.
6102 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
6103 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
6104 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
6105 # will be set to the directory where LIBOBJS objects are built.
6106 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6107 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
6111 LTLIBOBJS=$ac_ltlibobjs
6114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
6115 $as_echo_n "checking that generated files are newer than configure... " >&6; }
6116 if test -n "$am_sleep_pid"; then
6117 # Hide warnings about reused PIDs.
6118 wait $am_sleep_pid 2>/dev/null
6120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
6121 $as_echo "done" >&6; }
6122 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
6123 as_fn_error $? "conditional \"AMDEP\" was never defined.
6124 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6126 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6127 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
6128 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6130 if test -n "$EXEEXT"; then
6132 am__EXEEXT_FALSE='#'
6138 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
6139 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
6140 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6143 : "${CONFIG_STATUS=./config.status}"
6145 ac_clean_files_save=$ac_clean_files
6146 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6147 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
6148 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
6150 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
6152 # Generated by $as_me.
6153 # Run this file to recreate the current configuration.
6154 # Compiler output produced by configure, useful for debugging
6155 # configure, is in config.log if it exists.
6161 SHELL=\${CONFIG_SHELL-$SHELL}
6164 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
6165 ## -------------------- ##
6166 ## M4sh Initialization. ##
6167 ## -------------------- ##
6169 # Be more Bourne compatible
6170 DUALCASE=1; export DUALCASE # for MKS sh
6171 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
6174 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
6175 # is contrary to our usage. Disable this feature.
6176 alias -g '${1+"$@"}'='"$@"'
6177 setopt NO_GLOB_SUBST
6179 case `(set -o) 2>/dev/null` in #(
6191 # Printing a long string crashes Solaris 7 /usr/bin/printf.
6192 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6193 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
6194 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
6195 # Prefer a ksh shell builtin over an external printf program on Solaris,
6196 # but without wasting forks for bash or zsh.
6197 if test -z "$BASH_VERSION$ZSH_VERSION" \
6198 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
6199 as_echo='print -r --'
6200 as_echo_n='print -rn --'
6201 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
6202 as_echo='printf %s\n'
6203 as_echo_n='printf %s'
6205 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
6206 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
6207 as_echo_n='/usr/ucb/echo -n'
6209 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
6210 as_echo_n_body='eval
6214 expr "X$arg" : "X\\(.*\\)$as_nl";
6215 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
6217 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
6219 export as_echo_n_body
6220 as_echo_n='sh -c $as_echo_n_body as_echo'
6223 as_echo='sh -c $as_echo_body as_echo'
6226 # The user is always right.
6227 if test "${PATH_SEPARATOR+set}" != set; then
6229 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
6230 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
6237 # We need space, tab and new line, in precisely that order. Quoting is
6238 # there to prevent editors from complaining about space-tab.
6239 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
6240 # splitting by setting IFS to empty value.)
6243 # Find who we are. Look in the path if we contain no directory separator.
6246 *[\\/]* ) as_myself=$0 ;;
6247 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6251 test -z "$as_dir" && as_dir=.
6252 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6258 # We did not find ourselves, most probably we were run as `sh COMMAND'
6259 # in which case we are not to be found in the path.
6260 if test "x$as_myself" = x; then
6263 if test ! -f "$as_myself"; then
6264 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6268 # Unset variables that we do not need and which cause bugs (e.g. in
6269 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
6270 # suppresses any "Segmentation fault" message there. '((' could
6271 # trigger a bug in pdksh 5.2.14.
6272 for as_var in BASH_ENV ENV MAIL MAILPATH
6273 do eval test x\${$as_var+set} = xset \
6274 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
6287 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
6290 # as_fn_error STATUS ERROR [LINENO LOG_FD]
6291 # ----------------------------------------
6292 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
6293 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
6294 # script with STATUS, using 1 if that was 0.
6297 as_status=$1; test $as_status -eq 0 && as_status=1
6299 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
6300 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
6302 $as_echo "$as_me: error: $2" >&2
6303 as_fn_exit $as_status
6307 # as_fn_set_status STATUS
6308 # -----------------------
6309 # Set $? to STATUS, without forking.
6313 } # as_fn_set_status
6317 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
6327 # Portably unset VAR.
6330 { eval $1=; unset $1;}
6332 as_unset=as_fn_unset
6333 # as_fn_append VAR VALUE
6334 # ----------------------
6335 # Append the text in VALUE to the end of the definition contained in VAR. Take
6336 # advantage of any shell optimizations that allow amortized linear growth over
6337 # repeated appends, instead of the typical quadratic growth present in naive
6339 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
6340 eval 'as_fn_append ()
6351 # as_fn_arith ARG...
6352 # ------------------
6353 # Perform arithmetic evaluation on the ARGs, and store the result in the
6354 # global $as_val. Take advantage of shells that can avoid forks. The arguments
6355 # must be portable across $(()) and expr.
6356 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
6357 eval 'as_fn_arith ()
6364 as_val=`expr "$@" || test $? -eq 1`
6369 if expr a : '\(a\)' >/dev/null 2>&1 &&
6370 test "X`expr 00001 : '.*\(...\)'`" = X001; then
6376 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
6377 as_basename=basename
6382 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
6388 as_me=`$as_basename -- "$0" ||
6389 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6390 X"$0" : 'X\(//\)$' \| \
6391 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6393 sed '/^.*\/\([^/][^/]*\)\/*$/{
6407 # Avoid depending upon Character Ranges.
6408 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6409 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6410 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6411 as_cr_digits='0123456789'
6412 as_cr_alnum=$as_cr_Letters$as_cr_digits
6414 ECHO_C= ECHO_N= ECHO_T=
6415 case `echo -n x` in #(((((
6417 case `echo 'xy\c'` in
6418 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
6420 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
6427 rm -f conf$$ conf$$.exe conf$$.file
6428 if test -d conf$$.dir; then
6429 rm -f conf$$.dir/conf$$.file
6432 mkdir conf$$.dir 2>/dev/null
6434 if (echo >conf$$.file) 2>/dev/null; then
6435 if ln -s conf$$.file conf$$ 2>/dev/null; then
6437 # ... but there are two gotchas:
6438 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6439 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6440 # In both cases, we have to default to `cp -pR'.
6441 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
6443 elif ln conf$$.file conf$$ 2>/dev/null; then
6451 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
6452 rmdir conf$$.dir 2>/dev/null
6457 # Create "$as_dir" as a directory, including parents if necessary.
6462 -*) as_dir=./$as_dir;;
6464 test -d "$as_dir" || eval $as_mkdir_p || {
6468 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6469 *) as_qdir=$as_dir;;
6471 as_dirs="'$as_qdir' $as_dirs"
6472 as_dir=`$as_dirname -- "$as_dir" ||
6473 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6474 X"$as_dir" : 'X\(//\)[^/]' \| \
6475 X"$as_dir" : 'X\(//\)$' \| \
6476 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6477 $as_echo X"$as_dir" |
6478 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6495 test -d "$as_dir" && break
6497 test -z "$as_dirs" || eval "mkdir $as_dirs"
6498 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
6502 if mkdir -p . 2>/dev/null; then
6503 as_mkdir_p='mkdir -p "$as_dir"'
6505 test -d ./-p && rmdir ./-p
6510 # as_fn_executable_p FILE
6511 # -----------------------
6512 # Test if FILE is an executable regular file.
6513 as_fn_executable_p ()
6515 test -f "$1" && test -x "$1"
6516 } # as_fn_executable_p
6518 as_executable_p=as_fn_executable_p
6520 # Sed expression to map a string onto a valid CPP name.
6521 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6523 # Sed expression to map a string onto a valid variable name.
6524 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6528 ## ----------------------------------- ##
6529 ## Main body of $CONFIG_STATUS script. ##
6530 ## ----------------------------------- ##
6532 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
6534 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6535 # Save the log message, to keep $0 and so on meaningful, and to
6536 # report actual input values of CONFIG_FILES etc. instead of their
6537 # values after options handling.
6539 This file was extended by libctf library $as_me 1.2.0-pre, which was
6540 generated by GNU Autoconf 2.69. Invocation command line was
6542 CONFIG_FILES = $CONFIG_FILES
6543 CONFIG_HEADERS = $CONFIG_HEADERS
6544 CONFIG_LINKS = $CONFIG_LINKS
6545 CONFIG_COMMANDS = $CONFIG_COMMANDS
6548 on `(hostname || uname -n) 2>/dev/null | sed 1q`
6553 case $ac_config_files in *"
6554 "*) set x $ac_config_files; shift; ac_config_files=$*;;
6557 case $ac_config_headers in *"
6558 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
6562 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6563 # Files that config.status was made for.
6564 config_files="$ac_config_files"
6565 config_headers="$ac_config_headers"
6566 config_commands="$ac_config_commands"
6570 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6572 \`$as_me' instantiates files and other configuration actions
6573 from templates according to the current configuration. Unless the files
6574 and actions are specified as TAGs, all are instantiated by default.
6576 Usage: $0 [OPTION]... [TAG]...
6578 -h, --help print this help, then exit
6579 -V, --version print version number and configuration settings, then exit
6580 --config print configuration, then exit
6581 -q, --quiet, --silent
6582 do not print progress messages
6583 -d, --debug don't remove temporary files
6584 --recheck update $as_me by reconfiguring in the same conditions
6585 --file=FILE[:TEMPLATE]
6586 instantiate the configuration file FILE
6587 --header=FILE[:TEMPLATE]
6588 instantiate the configuration header FILE
6590 Configuration files:
6593 Configuration headers:
6596 Configuration commands:
6599 Report bugs to the package provider."
6602 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6603 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
6605 libctf library config.status 1.2.0-pre
6606 configured by $0, generated by GNU Autoconf 2.69,
6607 with options \\"\$ac_cs_config\\"
6609 Copyright (C) Free Software Foundation, Inc.
6610 This config.status script is free software; the Free Software Foundation
6611 gives unlimited permission to copy, distribute and modify it."
6618 test -n "\$AWK" || AWK=awk
6621 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6622 # The default lists apply if the user does not specify any file.
6628 ac_option=`expr "X$1" : 'X\([^=]*\)='`
6629 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
6633 ac_option=`expr "X$1" : 'X\([^=]*\)='`
6645 # Handling of the options.
6646 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6648 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
6649 $as_echo "$ac_cs_version"; exit ;;
6650 --config | --confi | --conf | --con | --co | --c )
6651 $as_echo "$ac_cs_config"; exit ;;
6652 --debug | --debu | --deb | --de | --d | -d )
6654 --file | --fil | --fi | --f )
6657 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6658 '') as_fn_error $? "missing file argument" ;;
6660 as_fn_append CONFIG_FILES " '$ac_optarg'"
6661 ac_need_defaults=false;;
6662 --header | --heade | --head | --hea )
6665 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6667 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
6668 ac_need_defaults=false;;
6670 # Conflict between --help and --header
6671 as_fn_error $? "ambiguous option: \`$1'
6672 Try \`$0 --help' for more information.";;
6673 --help | --hel | -h )
6674 $as_echo "$ac_cs_usage"; exit ;;
6675 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6676 | -silent | --silent | --silen | --sile | --sil | --si | --s)
6680 -*) as_fn_error $? "unrecognized option: \`$1'
6681 Try \`$0 --help' for more information." ;;
6683 *) as_fn_append ac_config_targets " $1"
6684 ac_need_defaults=false ;;
6690 ac_configure_extra_args=
6692 if $ac_cs_silent; then
6694 ac_configure_extra_args="$ac_configure_extra_args --silent"
6698 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6699 if \$ac_cs_recheck; then
6700 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6702 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6703 CONFIG_SHELL='$SHELL'
6709 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6713 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6714 ## Running $as_me. ##
6720 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6724 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
6728 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6730 # Handling of arguments.
6731 for ac_config_target in $ac_config_targets
6733 case $ac_config_target in
6734 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
6735 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6736 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
6738 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
6743 # If the user did not use the arguments to specify the items to instantiate,
6744 # then the envvar interface is used. Set only those that are not.
6745 # We use the long form for the default assignment because of an extremely
6746 # bizarre bug on SunOS 4.1.3.
6747 if $ac_need_defaults; then
6748 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6749 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
6750 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
6753 # Have a temporary directory for convenience. Make it in the build tree
6754 # simply because there is no reason against having it here, and in addition,
6755 # creating and moving files from /tmp can sometimes cause problems.
6756 # Hook for its removal unless debugging.
6757 # Note that there is a small window in which the directory will not be cleaned:
6758 # after its creation but before its name has been assigned to `$tmp'.
6762 trap 'exit_status=$?
6764 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
6766 trap 'as_fn_exit 1' 1 2 13 15
6768 # Create a (secure) tmp directory for tmp files.
6771 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6775 tmp=./conf$$-$RANDOM
6776 (umask 077 && mkdir "$tmp")
6777 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
6780 # Set up the scripts for CONFIG_FILES section.
6781 # No need to generate them if there are no CONFIG_FILES.
6782 # This happens for instance with `./config.status config.h'.
6783 if test -n "$CONFIG_FILES"; then
6786 ac_cr=`echo X | tr X '\015'`
6787 # On cygwin, bash can eat \r inside `` if the user requested igncr.
6788 # But we know of no other shell where ac_cr would be empty at this
6789 # point, so we can use a bashism as a fallback.
6790 if test "x$ac_cr" = x; then
6791 eval ac_cr=\$\'\\r\'
6793 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6794 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6800 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
6805 echo "cat >conf$$subs.awk <<_ACEOF" &&
6806 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6809 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6810 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
6812 for ac_last_try in false false false false false :; do
6813 . ./conf$$subs.sh ||
6814 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6816 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
6817 if test $ac_delim_n = $ac_delim_num; then
6819 elif $ac_last_try; then
6820 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6822 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6827 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6828 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
6832 s/^/S["/; s/!.*/"]=/
6842 s/\(.\{148\}\)..*/\1/
6844 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6849 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6856 s/\(.\{148\}\)..*/\1/
6858 s/["\\]/\\&/g; s/^/"/; s/$/"/
6862 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6867 ' <conf$$subs.awk | sed '
6872 ' >>$CONFIG_STATUS || ac_write_fail=1
6873 rm -f conf$$subs.awk
6874 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6876 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
6877 for (key in S) S_is_set[key] = 1
6883 nfields = split(line, field, "@")
6885 len = length(field[1])
6886 for (i = 2; i < nfields; i++) {
6888 keylen = length(key)
6889 if (S_is_set[key]) {
6891 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6892 len += length(value) + length(field[++i])
6903 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6904 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6905 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6908 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
6909 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
6912 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
6913 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
6914 # trailing colons and then remove the whole line if VPATH becomes empty
6915 # (actually we leave an empty line to preserve line numbers).
6916 if test "x$srcdir" = x.; then
6917 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
6935 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6936 fi # test -n "$CONFIG_FILES"
6938 # Set up the scripts for CONFIG_HEADERS section.
6939 # No need to generate them if there are no CONFIG_HEADERS.
6940 # This happens for instance with `./config.status Makefile'.
6941 if test -n "$CONFIG_HEADERS"; then
6942 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
6946 # Transform confdefs.h into an awk script `defines.awk', embedded as
6947 # here-document in config.status, that substitutes the proper values into
6948 # config.h.in to produce config.h.
6950 # Create a delimiter string that does not exist in confdefs.h, to ease
6951 # handling of long lines.
6953 for ac_last_try in false false :; do
6954 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
6955 if test -z "$ac_tt"; then
6957 elif $ac_last_try; then
6958 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
6960 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6964 # For the awk script, D is an array of macro values keyed by name,
6965 # likewise P contains macro parameters if any. Preserve backslash
6966 # newline sequences.
6968 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6970 s/.\{148\}/&'"$ac_delim"'/g
6973 s/^[ ]*#[ ]*define[ ][ ]*/ /
6980 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6982 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
6986 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6987 D["\1"]=" \3\\\\\\n"\\/p
6989 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
6994 s/.\{148\}/&'"$ac_delim"'/g
6999 s/["\\]/\\&/g; s/^/"/; s/$/"/p
7002 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
7004 ' <confdefs.h | sed '
7005 s/'"$ac_delim"'/"\\\
7006 "/g' >>$CONFIG_STATUS || ac_write_fail=1
7008 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7009 for (key in D) D_is_set[key] = 1
7012 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
7014 split(line, arg, " ")
7015 if (arg[1] == "#") {
7019 defundef = substr(arg[1], 2)
7022 split(mac1, mac2, "(") #)
7024 prefix = substr(line, 1, index(line, defundef) - 1)
7025 if (D_is_set[macro]) {
7026 # Preserve the white space surrounding the "#".
7027 print prefix "define", macro P[macro] D[macro]
7030 # Replace #undef with comments. This is necessary, for example,
7031 # in the case of _POSIX_SOURCE, which is predefined and required
7032 # on some systems where configure will not decide to define it.
7033 if (defundef == "undef") {
7034 print "/*", prefix defundef, macro, "*/"
7042 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7043 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
7044 fi # test -n "$CONFIG_HEADERS"
7047 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
7052 :[FHLC]) ac_mode=$ac_tag; continue;;
7054 case $ac_mode$ac_tag in
7056 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
7057 :[FH]-) ac_tag=-:-;;
7058 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
7075 -) ac_f="$ac_tmp/stdin";;
7076 *) # Look for the file first in the build tree, then in the source tree
7077 # (if the path is not absolute). The absolute path cannot be DOS-style,
7078 # because $ac_f cannot contain `:'.
7082 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
7084 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
7086 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
7087 as_fn_append ac_file_inputs " '$ac_f'"
7090 # Let's still pretend it is `configure' which instantiates (i.e., don't
7091 # use $as_me), people would be surprised to read:
7092 # /* config.h. Generated by config.status. */
7093 configure_input='Generated from '`
7094 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
7096 if test x"$ac_file" != x-; then
7097 configure_input="$ac_file. $configure_input"
7098 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
7099 $as_echo "$as_me: creating $ac_file" >&6;}
7101 # Neutralize special characters interpreted by sed in replacement strings.
7102 case $configure_input in #(
7103 *\&* | *\|* | *\\* )
7104 ac_sed_conf_input=`$as_echo "$configure_input" |
7105 sed 's/[\\\\&|]/\\\\&/g'`;; #(
7106 *) ac_sed_conf_input=$configure_input;;
7110 *:-:* | *:-) cat >"$ac_tmp/stdin" \
7111 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
7116 ac_dir=`$as_dirname -- "$ac_file" ||
7117 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7118 X"$ac_file" : 'X\(//\)[^/]' \| \
7119 X"$ac_file" : 'X\(//\)$' \| \
7120 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7121 $as_echo X"$ac_file" |
7122 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7139 as_dir="$ac_dir"; as_fn_mkdir_p
7143 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
7145 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
7146 # A ".." for each directory in $ac_dir_suffix.
7147 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
7148 case $ac_top_builddir_sub in
7149 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
7150 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
7153 ac_abs_top_builddir=$ac_pwd
7154 ac_abs_builddir=$ac_pwd$ac_dir_suffix
7155 # for backward compatibility:
7156 ac_top_builddir=$ac_top_build_prefix
7159 .) # We are building in place.
7161 ac_top_srcdir=$ac_top_builddir_sub
7162 ac_abs_top_srcdir=$ac_pwd ;;
7163 [\\/]* | ?:[\\/]* ) # Absolute name.
7164 ac_srcdir=$srcdir$ac_dir_suffix;
7165 ac_top_srcdir=$srcdir
7166 ac_abs_top_srcdir=$srcdir ;;
7168 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
7169 ac_top_srcdir=$ac_top_build_prefix$srcdir
7170 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
7172 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
7182 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
7183 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
7187 [\\/$]* | ?:[\\/]* ) ;;
7188 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
7192 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7193 # If the template does not know about datarootdir, expand it.
7194 # FIXME: This hack should be removed a few years after 2.60.
7195 ac_datarootdir_hack=; ac_datarootdir_seen=
7206 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
7207 *datarootdir*) ac_datarootdir_seen=yes;;
7208 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
7209 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
7210 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
7212 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7213 ac_datarootdir_hack='
7214 s&@datadir@&$datadir&g
7215 s&@docdir@&$docdir&g
7216 s&@infodir@&$infodir&g
7217 s&@localedir@&$localedir&g
7218 s&@mandir@&$mandir&g
7219 s&\\\${datarootdir}&$datarootdir&g' ;;
7223 # Neutralize VPATH when `$srcdir' = `.'.
7224 # Shell code in configure.ac might set extrasub.
7225 # FIXME: do we really want to maintain this feature?
7226 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7227 ac_sed_extra="$ac_vpsub
7230 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7232 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
7233 s|@configure_input@|$ac_sed_conf_input|;t t
7234 s&@top_builddir@&$ac_top_builddir_sub&;t t
7235 s&@top_build_prefix@&$ac_top_build_prefix&;t t
7236 s&@srcdir@&$ac_srcdir&;t t
7237 s&@abs_srcdir@&$ac_abs_srcdir&;t t
7238 s&@top_srcdir@&$ac_top_srcdir&;t t
7239 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
7240 s&@builddir@&$ac_builddir&;t t
7241 s&@abs_builddir@&$ac_abs_builddir&;t t
7242 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
7243 s&@INSTALL@&$ac_INSTALL&;t t
7244 s&@MKDIR_P@&$ac_MKDIR_P&;t t
7245 $ac_datarootdir_hack
7247 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
7248 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7250 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7251 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
7252 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
7253 "$ac_tmp/out"`; test -z "$ac_out"; } &&
7254 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7255 which seems to be undefined. Please make sure it is defined" >&5
7256 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7257 which seems to be undefined. Please make sure it is defined" >&2;}
7259 rm -f "$ac_tmp/stdin"
7261 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
7262 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
7264 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7270 if test x"$ac_file" != x-; then
7272 $as_echo "/* $configure_input */" \
7273 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
7274 } >"$ac_tmp/config.h" \
7275 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7276 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
7277 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
7278 $as_echo "$as_me: $ac_file is unchanged" >&6;}
7281 mv "$ac_tmp/config.h" "$ac_file" \
7282 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7285 $as_echo "/* $configure_input */" \
7286 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
7287 || as_fn_error $? "could not create -" "$LINENO" 5
7289 # Compute "$ac_file"'s index in $config_headers.
7292 for _am_header in $config_headers :; do
7294 $_am_arg | $_am_arg:* )
7297 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
7300 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
7301 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7302 X"$_am_arg" : 'X\(//\)[^/]' \| \
7303 X"$_am_arg" : 'X\(//\)$' \| \
7304 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
7305 $as_echo X"$_am_arg" |
7306 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7322 s/.*/./; q'`/stamp-h$_am_stamp_count
7325 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
7326 $as_echo "$as_me: executing $ac_file commands" >&6;}
7331 case $ac_file$ac_mode in
7332 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
7333 # Older Autoconf quotes --file arguments for eval, but not when files
7334 # are listed without --file. Let's play safe and only enable the eval
7335 # if we detect the quoting.
7336 case $CONFIG_FILES in
7337 *\'*) eval set x "$CONFIG_FILES" ;;
7338 *) set x $CONFIG_FILES ;;
7343 # Strip MF so we end up with the name of the file.
7344 mf=`echo "$mf" | sed -e 's/:.*$//'`
7345 # Check whether this is an Automake generated Makefile or not.
7346 # We used to match only the files named 'Makefile.in', but
7347 # some people rename them; so instead we look at the file content.
7348 # Grep'ing the first line is not enough: some people post-process
7349 # each Makefile.in and add a new line on top of each file to say so.
7350 # Grep'ing the whole file is not good either: AIX grep has a line
7351 # limit of 2048, but all sed's we know have understand at least 4000.
7352 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
7353 dirpart=`$as_dirname -- "$mf" ||
7354 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7355 X"$mf" : 'X\(//\)[^/]' \| \
7356 X"$mf" : 'X\(//\)$' \| \
7357 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
7359 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7379 # Extract the definition of DEPDIR, am__include, and am__quote
7380 # from the Makefile without running 'make'.
7381 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
7382 test -z "$DEPDIR" && continue
7383 am__include=`sed -n 's/^am__include = //p' < "$mf"`
7384 test -z "$am__include" && continue
7385 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
7386 # Find all dependency output files, they are included files with
7387 # $(DEPDIR) in their names. We invoke sed twice because it is the
7388 # simplest approach to changing $(DEPDIR) to its actual value in the
7390 for file in `sed -n "
7391 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
7392 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
7393 # Make sure the directory exists.
7394 test -f "$dirpart/$file" && continue
7395 fdir=`$as_dirname -- "$file" ||
7396 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7397 X"$file" : 'X\(//\)[^/]' \| \
7398 X"$file" : 'X\(//\)$' \| \
7399 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
7401 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7418 as_dir=$dirpart/$fdir; as_fn_mkdir_p
7419 # echo "creating $dirpart/$file"
7420 echo '# dummy' > "$dirpart/$file"
7432 ac_clean_files=$ac_clean_files_save
7434 test $ac_write_fail = 0 ||
7435 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
7438 # configure is writing to config.log, and then calls config.status.
7439 # config.status does its own redirection, appending to config.log.
7440 # Unfortunately, on DOS this fails, as config.log is still kept open
7441 # by configure, so config.status won't be able to write to it; its
7442 # output is simply discarded. So we exec the FD to /dev/null,
7443 # effectively closing config.log, so it can be properly (re)opened and
7444 # appended to by config.status. When coming back to configure, we
7445 # need to make the FD available again.
7446 if test "$no_create" != yes; then
7448 ac_config_status_args=
7449 test "$silent" = yes &&
7450 ac_config_status_args="$ac_config_status_args --quiet"
7452 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
7454 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7455 # would make configure fail if this is the last instruction.
7456 $ac_cs_success || as_fn_exit 1
7458 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
7459 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
7460 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}