2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for fixincludes .
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
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.
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x
; then
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var
in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\
${$as_var+set} = xset \
119 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
132 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x
; then
135 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
143 case \`(set -o) 2>/dev/null\` in #(
151 as_required
="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1"
173 if (eval "$as_required") 2>/dev
/null
; then :
178 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
181 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
183 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
186 test -z "$as_dir" && as_dir
=.
190 for as_base
in sh bash ksh sh5
; do
191 # Try only shells that exist, to save several forks.
192 as_shell
=$as_dir/$as_base
193 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
194 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
195 CONFIG_SHELL
=$as_shell as_have_required
=yes
196 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
204 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
205 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
206 CONFIG_SHELL
=$SHELL as_have_required
=yes
211 if test "x$CONFIG_SHELL" != x
; then :
212 # We cannot yet assume a decent shell, so we have to provide a
213 # neutralization value for shells without unset; and this also
214 # works around shells that cannot unset nonexistent variables.
217 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
219 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
222 if test x
$as_have_required = xno
; then :
223 $as_echo "$0: This script requires a shell more modern than all"
224 $as_echo "$0: the shells that I found on your system."
225 if test x
${ZSH_VERSION+set} = xset
; then
226 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
227 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
229 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
230 $0: including any error possibly output before this
231 $0: message. Then install a modern shell, or manually run
232 $0: the script under such a shell if you do have one."
238 SHELL
=${CONFIG_SHELL-/bin/sh}
240 # Unset more variables known to interfere with behavior of common tools.
241 CLICOLOR_FORCE
= GREP_OPTIONS
=
242 unset CLICOLOR_FORCE GREP_OPTIONS
244 ## --------------------- ##
245 ## M4sh Shell Functions. ##
246 ## --------------------- ##
249 # Portably unset VAR.
252 { eval $1=; unset $1;}
256 # as_fn_set_status STATUS
257 # -----------------------
258 # Set $? to STATUS, without forking.
266 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
276 # Create "$as_dir" as a directory, including parents if necessary.
281 -*) as_dir
=.
/$as_dir;;
283 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
287 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
290 as_dirs
="'$as_qdir' $as_dirs"
291 as_dir
=`$as_dirname -- "$as_dir" ||
292 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
293 X"$as_dir" : 'X\(//\)[^/]' \| \
294 X"$as_dir" : 'X\(//\)$' \| \
295 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
296 $as_echo X"$as_dir" |
297 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
314 test -d "$as_dir" && break
316 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
317 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
321 # as_fn_append VAR VALUE
322 # ----------------------
323 # Append the text in VALUE to the end of the definition contained in VAR. Take
324 # advantage of any shell optimizations that allow amortized linear growth over
325 # repeated appends, instead of the typical quadratic growth present in naive
327 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
328 eval 'as_fn_append ()
341 # Perform arithmetic evaluation on the ARGs, and store the result in the
342 # global $as_val. Take advantage of shells that can avoid forks. The arguments
343 # must be portable across $(()) and expr.
344 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
352 as_val
=`expr "$@" || test $? -eq 1`
357 # as_fn_error ERROR [LINENO LOG_FD]
358 # ---------------------------------
359 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
360 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
361 # script with status $?, using 1 if that was 0.
364 as_status
=$?
; test $as_status -eq 0 && as_status
=1
366 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
367 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
369 $as_echo "$as_me: error: $1" >&2
370 as_fn_exit
$as_status
373 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
374 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
380 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
386 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
392 as_me
=`$as_basename -- "$0" ||
393 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
394 X"$0" : 'X\(//\)$' \| \
395 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
397 sed '/^.*\/\([^/][^/]*\)\/*$/{
411 # Avoid depending upon Character Ranges.
412 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
413 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
414 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
415 as_cr_digits
='0123456789'
416 as_cr_alnum
=$as_cr_Letters$as_cr_digits
419 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
420 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
421 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
422 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
423 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
435 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
439 chmod +x
"$as_me.lineno" ||
440 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
442 # Don't try to exec as it changes $[0], causing all sort of problems
443 # (the dirname of $[0] is not the place where we might find the
444 # original and so on. Autoconf is especially sensitive to this).
446 # Exit status is that of the last command.
450 ECHO_C
= ECHO_N
= ECHO_T
=
451 case `echo -n x` in #(((((
453 case `echo 'xy\c'` in
454 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
456 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
463 rm -f conf$$ conf$$.exe conf$$.
file
464 if test -d conf$$.dir
; then
465 rm -f conf$$.dir
/conf$$.
file
468 mkdir conf$$.dir
2>/dev
/null
470 if (echo >conf$$.
file) 2>/dev
/null
; then
471 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
473 # ... but there are two gotchas:
474 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
475 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
476 # In both cases, we have to default to `cp -p'.
477 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
479 elif ln conf$$.
file conf$$
2>/dev
/null
; then
487 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
488 rmdir conf$$.dir
2>/dev
/null
490 if mkdir
-p .
2>/dev
/null
; then
491 as_mkdir_p
='mkdir -p "$as_dir"'
493 test -d .
/-p && rmdir .
/-p
497 if test -x / >/dev
/null
2>&1; then
500 if ls -dL / >/dev
/null
2>&1; then
507 if test -d "$1"; then
513 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
514 ???[sx]*):;;*)false;;esac;fi
518 as_executable_p
=$as_test_x
520 # Sed expression to map a string onto a valid CPP name.
521 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
523 # Sed expression to map a string onto a valid variable name.
524 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
527 exec 7<&0 </dev
/null
6>&1
530 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
531 # so uname gets run too.
532 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
537 ac_default_prefix
=/usr
/local
539 ac_config_libobj_dir
=.
546 # Identity of this package.
547 PACKAGE_NAME
='fixincludes'
548 PACKAGE_TARNAME
='fixincludes'
550 PACKAGE_STRING
='fixincludes '
554 ac_unique_file
="inclhack.def"
555 # Factoring default headers for most tests.
556 ac_includes_default
="\
558 #ifdef HAVE_SYS_TYPES_H
559 # include <sys/types.h>
561 #ifdef HAVE_SYS_STAT_H
562 # include <sys/stat.h>
568 # ifdef HAVE_STDLIB_H
573 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
578 #ifdef HAVE_STRINGS_H
579 # include <strings.h>
581 #ifdef HAVE_INTTYPES_H
582 # include <inttypes.h>
591 ac_subst_vars
='LTLIBOBJS
650 program_transform_name
663 enable_option_checking
667 enable_maintainer_mode
668 with_gcc_major_version_only
670 ac_precious_vars
='build_alias
681 # Initialize some variables set by options.
683 ac_init_version
=false
684 ac_unrecognized_opts
=
686 # The variables have the same names as the options, with
687 # dashes changed to underlines.
695 program_transform_name
=s
,x
,x
,
703 # Installation directory options.
704 # These are left unexpanded so users can "make install exec_prefix=/foo"
705 # and all the variables that are supposed to be based on exec_prefix
706 # by default will actually change.
707 # Use braces instead of parens because sh, perl, etc. also accept them.
708 # (The list follows the same order as the GNU Coding Standards.)
709 bindir
='${exec_prefix}/bin'
710 sbindir
='${exec_prefix}/sbin'
711 libexecdir
='${exec_prefix}/libexec'
712 datarootdir
='${prefix}/share'
713 datadir
='${datarootdir}'
714 sysconfdir
='${prefix}/etc'
715 sharedstatedir
='${prefix}/com'
716 localstatedir
='${prefix}/var'
717 includedir
='${prefix}/include'
718 oldincludedir
='/usr/include'
719 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
720 infodir
='${datarootdir}/info'
725 libdir
='${exec_prefix}/lib'
726 localedir
='${datarootdir}/locale'
727 mandir
='${datarootdir}/man'
733 # If the previous option needs an argument, assign it.
734 if test -n "$ac_prev"; then
735 eval $ac_prev=\
$ac_option
741 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
745 # Accept the important Cygnus configure options, so we can diagnose typos.
747 case $ac_dashdash$ac_option in
751 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
753 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
756 -build |
--build |
--buil |
--bui |
--bu)
757 ac_prev
=build_alias
;;
758 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
759 build_alias
=$ac_optarg ;;
761 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
762 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
763 ac_prev
=cache_file
;;
764 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
765 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
766 cache_file
=$ac_optarg ;;
769 cache_file
=config.cache
;;
771 -datadir |
--datadir |
--datadi |
--datad)
773 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
774 datadir
=$ac_optarg ;;
776 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
777 |
--dataroo |
--dataro |
--datar)
778 ac_prev
=datarootdir
;;
779 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
780 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
781 datarootdir
=$ac_optarg ;;
783 -disable-* |
--disable-*)
784 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
785 # Reject names that are not valid shell variable names.
786 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
787 as_fn_error
"invalid feature name: $ac_useropt"
788 ac_useropt_orig
=$ac_useropt
789 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
790 case $ac_user_opts in
794 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
795 ac_unrecognized_sep
=', ';;
797 eval enable_
$ac_useropt=no
;;
799 -docdir |
--docdir |
--docdi |
--doc |
--do)
801 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
804 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
806 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
809 -enable-* |
--enable-*)
810 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
811 # Reject names that are not valid shell variable names.
812 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
813 as_fn_error
"invalid feature name: $ac_useropt"
814 ac_useropt_orig
=$ac_useropt
815 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
816 case $ac_user_opts in
820 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
821 ac_unrecognized_sep
=', ';;
823 eval enable_
$ac_useropt=\
$ac_optarg ;;
825 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
826 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
827 |
--exec |
--exe |
--ex)
828 ac_prev
=exec_prefix
;;
829 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
830 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
831 |
--exec=* |
--exe=* |
--ex=*)
832 exec_prefix
=$ac_optarg ;;
834 -gas |
--gas |
--ga |
--g)
835 # Obsolete; use --with-gas.
838 -help |
--help |
--hel |
--he |
-h)
840 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
841 ac_init_help
=recursive
;;
842 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
843 ac_init_help
=short
;;
845 -host |
--host |
--hos |
--ho)
846 ac_prev
=host_alias
;;
847 -host=* |
--host=* |
--hos=* |
--ho=*)
848 host_alias
=$ac_optarg ;;
850 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
852 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
854 htmldir
=$ac_optarg ;;
856 -includedir |
--includedir |
--includedi |
--included |
--include \
857 |
--includ |
--inclu |
--incl |
--inc)
858 ac_prev
=includedir
;;
859 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
860 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
861 includedir
=$ac_optarg ;;
863 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
865 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
866 infodir
=$ac_optarg ;;
868 -libdir |
--libdir |
--libdi |
--libd)
870 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
873 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
874 |
--libexe |
--libex |
--libe)
875 ac_prev
=libexecdir
;;
876 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
877 |
--libexe=* |
--libex=* |
--libe=*)
878 libexecdir
=$ac_optarg ;;
880 -localedir |
--localedir |
--localedi |
--localed |
--locale)
882 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
883 localedir
=$ac_optarg ;;
885 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
886 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
887 ac_prev
=localstatedir
;;
888 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
889 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
890 localstatedir
=$ac_optarg ;;
892 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
894 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
898 # Obsolete; use --without-fp.
901 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
902 |
--no-cr |
--no-c |
-n)
905 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
906 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
909 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
910 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
911 |
--oldin |
--oldi |
--old |
--ol |
--o)
912 ac_prev
=oldincludedir
;;
913 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
914 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
915 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
916 oldincludedir
=$ac_optarg ;;
918 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
920 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
923 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
924 |
--program-pre |
--program-pr |
--program-p)
925 ac_prev
=program_prefix
;;
926 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
927 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
928 program_prefix
=$ac_optarg ;;
930 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
931 |
--program-suf |
--program-su |
--program-s)
932 ac_prev
=program_suffix
;;
933 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
934 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
935 program_suffix
=$ac_optarg ;;
937 -program-transform-name |
--program-transform-name \
938 |
--program-transform-nam |
--program-transform-na \
939 |
--program-transform-n |
--program-transform- \
940 |
--program-transform |
--program-transfor \
941 |
--program-transfo |
--program-transf \
942 |
--program-trans |
--program-tran \
943 |
--progr-tra |
--program-tr |
--program-t)
944 ac_prev
=program_transform_name
;;
945 -program-transform-name=* |
--program-transform-name=* \
946 |
--program-transform-nam=* |
--program-transform-na=* \
947 |
--program-transform-n=* |
--program-transform-=* \
948 |
--program-transform=* |
--program-transfor=* \
949 |
--program-transfo=* |
--program-transf=* \
950 |
--program-trans=* |
--program-tran=* \
951 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
952 program_transform_name
=$ac_optarg ;;
954 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
956 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
959 -psdir |
--psdir |
--psdi |
--psd |
--ps)
961 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
964 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
965 |
-silent |
--silent |
--silen |
--sile |
--sil)
968 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
970 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
972 sbindir
=$ac_optarg ;;
974 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
975 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
976 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
978 ac_prev
=sharedstatedir
;;
979 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
980 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
981 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
983 sharedstatedir
=$ac_optarg ;;
985 -site |
--site |
--sit)
987 -site=* |
--site=* |
--sit=*)
990 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
992 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
995 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
996 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
997 ac_prev
=sysconfdir
;;
998 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
999 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1000 sysconfdir
=$ac_optarg ;;
1002 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1003 ac_prev
=target_alias
;;
1004 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1005 target_alias
=$ac_optarg ;;
1007 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1010 -version |
--version |
--versio |
--versi |
--vers |
-V)
1011 ac_init_version
=: ;;
1014 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1015 # Reject names that are not valid shell variable names.
1016 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1017 as_fn_error
"invalid package name: $ac_useropt"
1018 ac_useropt_orig
=$ac_useropt
1019 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1020 case $ac_user_opts in
1024 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1025 ac_unrecognized_sep
=', ';;
1027 eval with_
$ac_useropt=\
$ac_optarg ;;
1029 -without-* |
--without-*)
1030 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1031 # Reject names that are not valid shell variable names.
1032 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1033 as_fn_error
"invalid package name: $ac_useropt"
1034 ac_useropt_orig
=$ac_useropt
1035 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1036 case $ac_user_opts in
1040 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1041 ac_unrecognized_sep
=', ';;
1043 eval with_
$ac_useropt=no
;;
1046 # Obsolete; use --with-x.
1049 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1050 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1051 ac_prev
=x_includes
;;
1052 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1053 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1054 x_includes
=$ac_optarg ;;
1056 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1057 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1058 ac_prev
=x_libraries
;;
1059 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1060 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1061 x_libraries
=$ac_optarg ;;
1063 -*) as_fn_error
"unrecognized option: \`$ac_option'
1064 Try \`$0 --help' for more information."
1068 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1069 # Reject names that are not valid shell variable names.
1070 case $ac_envvar in #(
1071 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1072 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1074 eval $ac_envvar=\
$ac_optarg
1075 export $ac_envvar ;;
1078 # FIXME: should be removed in autoconf 3.0.
1079 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1080 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1081 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1082 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1088 if test -n "$ac_prev"; then
1089 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1090 as_fn_error
"missing argument to $ac_option"
1093 if test -n "$ac_unrecognized_opts"; then
1094 case $enable_option_checking in
1096 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1097 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1101 # Check all directory arguments for consistency.
1102 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1103 datadir sysconfdir sharedstatedir localstatedir includedir \
1104 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1105 libdir localedir mandir
1107 eval ac_val
=\$
$ac_var
1108 # Remove trailing slashes.
1111 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1112 eval $ac_var=\
$ac_val;;
1114 # Be sure to have absolute directory names.
1116 [\\/$
]* | ?
:[\\/]* ) continue;;
1117 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1119 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1122 # There might be people who depend on the old broken behavior: `$host'
1123 # used to hold the argument of --host etc.
1124 # FIXME: To remove some day.
1127 target
=$target_alias
1129 # FIXME: To remove some day.
1130 if test "x$host_alias" != x
; then
1131 if test "x$build_alias" = x
; then
1132 cross_compiling
=maybe
1133 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1134 If a cross compiler is detected then cross compile mode will be used." >&2
1135 elif test "x$build_alias" != "x$host_alias"; then
1141 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1143 test "$silent" = yes && exec 6>/dev
/null
1146 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1147 ac_ls_di
=`ls -di .` &&
1148 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1149 as_fn_error
"working directory cannot be determined"
1150 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1151 as_fn_error
"pwd does not report name of working directory"
1154 # Find the source files, if location was not specified.
1155 if test -z "$srcdir"; then
1156 ac_srcdir_defaulted
=yes
1157 # Try the directory containing this script, then the parent directory.
1158 ac_confdir
=`$as_dirname -- "$as_myself" ||
1159 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1160 X"$as_myself" : 'X\(//\)[^/]' \| \
1161 X"$as_myself" : 'X\(//\)$' \| \
1162 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1163 $as_echo X"$as_myself" |
1164 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1182 if test ! -r "$srcdir/$ac_unique_file"; then
1186 ac_srcdir_defaulted
=no
1188 if test ! -r "$srcdir/$ac_unique_file"; then
1189 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1190 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1192 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1194 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1196 # When building in place, set srcdir=.
1197 if test "$ac_abs_confdir" = "$ac_pwd"; then
1200 # Remove unnecessary trailing slashes from srcdir.
1201 # Double slashes in file names in object file debugging info
1202 # mess up M-x gdb in Emacs.
1204 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1206 for ac_var
in $ac_precious_vars; do
1207 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1208 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1209 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1210 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1214 # Report the --help message.
1216 if test "$ac_init_help" = "long"; then
1217 # Omit some internal or obsolete options to make the list less imposing.
1218 # This message is too long to be a string in the A/UX 3.1 sh.
1220 \`configure' configures fixincludes to adapt to many kinds of systems.
1222 Usage: $0 [OPTION]... [VAR=VALUE]...
1224 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1225 VAR=VALUE. See below for descriptions of some of the useful variables.
1227 Defaults for the options are specified in brackets.
1230 -h, --help display this help and exit
1231 --help=short display options specific to this package
1232 --help=recursive display the short help of all the included packages
1233 -V, --version display version information and exit
1234 -q, --quiet, --silent do not print \`checking...' messages
1235 --cache-file=FILE cache test results in FILE [disabled]
1236 -C, --config-cache alias for \`--cache-file=config.cache'
1237 -n, --no-create do not create output files
1238 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1240 Installation directories:
1241 --prefix=PREFIX install architecture-independent files in PREFIX
1242 [$ac_default_prefix]
1243 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1246 By default, \`make install' will install all the files in
1247 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1248 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1249 for instance \`--prefix=\$HOME'.
1251 For better control, use the options below.
1253 Fine tuning of the installation directories:
1254 --bindir=DIR user executables [EPREFIX/bin]
1255 --sbindir=DIR system admin executables [EPREFIX/sbin]
1256 --libexecdir=DIR program executables [EPREFIX/libexec]
1257 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1258 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1259 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1260 --libdir=DIR object code libraries [EPREFIX/lib]
1261 --includedir=DIR C header files [PREFIX/include]
1262 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1263 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1264 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1265 --infodir=DIR info documentation [DATAROOTDIR/info]
1266 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1267 --mandir=DIR man documentation [DATAROOTDIR/man]
1268 --docdir=DIR documentation root [DATAROOTDIR/doc/fixincludes]
1269 --htmldir=DIR html documentation [DOCDIR]
1270 --dvidir=DIR dvi documentation [DOCDIR]
1271 --pdfdir=DIR pdf documentation [DOCDIR]
1272 --psdir=DIR ps documentation [DOCDIR]
1278 --build=BUILD configure
for building on BUILD
[guessed
]
1279 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1280 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1284 if test -n "$ac_init_help"; then
1285 case $ac_init_help in
1286 short | recursive
) echo "Configuration of fixincludes :";;
1291 --disable-option-checking ignore unrecognized
--enable/--with options
1292 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1293 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1294 --enable-werror-always enable -Werror despite compiler version
1295 --enable-twoprocess Use a separate process to apply the fixes
1296 --enable-maintainer-mode enable make rules and dependencies not useful
1297 (and sometimes confusing
) to the casual installer
1300 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1301 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1302 --with-local-prefix=DIR specifies directory to put
local include
1303 --with-gcc-major-version-only
1304 use only GCC major number
in filesystem paths
1306 Some influential environment variables
:
1307 CC C compiler
command
1308 CFLAGS C compiler flags
1309 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1310 nonstandard directory
<lib dir
>
1311 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1312 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1313 you have headers
in a nonstandard directory
<include dir
>
1316 Use these variables to override the choices made by
`configure' or to help
1317 it to find libraries and programs with nonstandard names/locations.
1319 Report bugs to the package provider.
1324 if test "$ac_init_help" = "recursive"; then
1325 # If there are subdirs, report their specific --help.
1326 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1327 test -d "$ac_dir" ||
1328 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1333 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1335 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1336 # A ".." for each directory in $ac_dir_suffix.
1337 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1338 case $ac_top_builddir_sub in
1339 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1340 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1343 ac_abs_top_builddir=$ac_pwd
1344 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1345 # for backward compatibility:
1346 ac_top_builddir=$ac_top_build_prefix
1349 .) # We are building in place.
1351 ac_top_srcdir=$ac_top_builddir_sub
1352 ac_abs_top_srcdir=$ac_pwd ;;
1353 [\\/]* | ?:[\\/]* ) # Absolute name.
1354 ac_srcdir=$srcdir$ac_dir_suffix;
1355 ac_top_srcdir=$srcdir
1356 ac_abs_top_srcdir=$srcdir ;;
1358 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1359 ac_top_srcdir=$ac_top_build_prefix$srcdir
1360 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1362 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1364 cd "$ac_dir" || { ac_status=$?; continue; }
1365 # Check for guested configure.
1366 if test -f "$ac_srcdir/configure.gnu"; then
1368 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1369 elif test -f "$ac_srcdir/configure"; then
1371 $SHELL "$ac_srcdir/configure" --help=recursive
1373 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1375 cd "$ac_pwd" || { ac_status=$?; break; }
1379 test -n "$ac_init_help" && exit $ac_status
1380 if $ac_init_version; then
1382 fixincludes configure
1383 generated by GNU Autoconf 2.64
1385 Copyright (C) 2009 Free Software Foundation, Inc.
1386 This configure script is free software; the Free Software Foundation
1387 gives unlimited permission to copy, distribute and modify it.
1392 ## ------------------------ ##
1393 ## Autoconf initialization. ##
1394 ## ------------------------ ##
1396 # ac_fn_c_try_compile LINENO
1397 # --------------------------
1398 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1399 ac_fn_c_try_compile ()
1401 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1402 rm -f conftest.$ac_objext
1403 if { { ac_try="$ac_compile"
1405 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1406 *) ac_try_echo
=$ac_try;;
1408 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1409 $as_echo "$ac_try_echo"; } >&5
1410 (eval "$ac_compile") 2>conftest.err
1412 if test -s conftest.err
; then
1413 grep -v '^ *+' conftest.err
>conftest.er1
1414 cat conftest.er1
>&5
1415 mv -f conftest.er1 conftest.err
1417 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1418 test $ac_status = 0; } && {
1419 test -z "$ac_c_werror_flag" ||
1420 test ! -s conftest.err
1421 } && test -s conftest.
$ac_objext; then :
1424 $as_echo "$as_me: failed program was:" >&5
1425 sed 's/^/| /' conftest.
$ac_ext >&5
1429 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1432 } # ac_fn_c_try_compile
1434 # ac_fn_c_try_cpp LINENO
1435 # ----------------------
1436 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1439 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1440 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1442 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1443 *) ac_try_echo=$ac_try;;
1445 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1446 $as_echo "$ac_try_echo"; } >&5
1447 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1449 if test -s conftest.err; then
1450 grep -v '^ *+' conftest.err >conftest.er1
1451 cat conftest.er1 >&5
1452 mv -f conftest.er1 conftest.err
1454 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1455 test $ac_status = 0; } >/dev/null && {
1456 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1457 test ! -s conftest.err
1461 $as_echo "$as_me: failed program was:" >&5
1462 sed 's/^/| /' conftest.$ac_ext >&5
1466 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1471 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1472 # -------------------------------------------------------
1473 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1474 # the include files in INCLUDES and setting the cache variable VAR
1476 ac_fn_c_check_header_mongrel ()
1478 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1479 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1481 $as_echo_n "checking for $2... " >&6; }
1482 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1483 $as_echo_n "(cached) " >&6
1486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1487 $as_echo "$ac_res" >&6; }
1489 # Is the header compilable?
1490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1491 $as_echo_n "checking $2 usability... " >&6; }
1492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1493 /* end confdefs.h. */
1497 if ac_fn_c_try_compile "$LINENO"; then :
1498 ac_header_compiler=yes
1500 ac_header_compiler=no
1502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1504 $as_echo "$ac_header_compiler" >&6; }
1506 # Is the header present?
1507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1508 $as_echo_n "checking $2 presence... " >&6; }
1509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1510 /* end confdefs.h. */
1513 if ac_fn_c_try_cpp "$LINENO"; then :
1514 ac_header_preproc=yes
1516 ac_header_preproc=no
1518 rm -f conftest.err conftest.$ac_ext
1519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1520 $as_echo "$ac_header_preproc" >&6; }
1522 # So? What about this header?
1523 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1525 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1526 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1527 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1528 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1531 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1532 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1533 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1534 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1535 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1536 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1537 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1538 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1539 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1540 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1544 $as_echo_n "checking for $2... " >&6; }
1545 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1546 $as_echo_n "(cached) " >&6
1548 eval "$3=\$ac_header_compiler"
1551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1552 $as_echo "$ac_res" >&6; }
1554 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1556 } # ac_fn_c_check_header_mongrel
1558 # ac_fn_c_try_run LINENO
1559 # ----------------------
1560 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1561 # that executables *can* be run.
1564 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1565 if { { ac_try="$ac_link"
1567 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1568 *) ac_try_echo
=$ac_try;;
1570 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1571 $as_echo "$ac_try_echo"; } >&5
1572 (eval "$ac_link") 2>&5
1574 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1575 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1576 { { case "(($ac_try" in
1577 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1578 *) ac_try_echo=$ac_try;;
1580 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1581 $as_echo "$ac_try_echo"; } >&5
1582 (eval "$ac_try") 2>&5
1584 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1585 test $ac_status = 0; }; }; then :
1588 $as_echo "$as_me: program exited with status $ac_status" >&5
1589 $as_echo "$as_me: failed program was:" >&5
1590 sed 's/^/| /' conftest.$ac_ext >&5
1592 ac_retval=$ac_status
1594 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1595 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1600 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1601 # -------------------------------------------------------
1602 # Tests whether HEADER exists and can be compiled using the include files in
1603 # INCLUDES, setting the cache variable VAR accordingly.
1604 ac_fn_c_check_header_compile ()
1606 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1608 $as_echo_n "checking for $2... " >&6; }
1609 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1610 $as_echo_n "(cached) " >&6
1612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1613 /* end confdefs.h. */
1617 if ac_fn_c_try_compile "$LINENO"; then :
1622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1626 $as_echo "$ac_res" >&6; }
1627 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1629 } # ac_fn_c_check_header_compile
1631 # ac_fn_c_try_link LINENO
1632 # -----------------------
1633 # Try to link conftest.$ac_ext, and return whether this succeeded.
1636 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1637 rm -f conftest.$ac_objext conftest$ac_exeext
1638 if { { ac_try="$ac_link"
1640 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1641 *) ac_try_echo
=$ac_try;;
1643 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1644 $as_echo "$ac_try_echo"; } >&5
1645 (eval "$ac_link") 2>conftest.err
1647 if test -s conftest.err
; then
1648 grep -v '^ *+' conftest.err
>conftest.er1
1649 cat conftest.er1
>&5
1650 mv -f conftest.er1 conftest.err
1652 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1653 test $ac_status = 0; } && {
1654 test -z "$ac_c_werror_flag" ||
1655 test ! -s conftest.err
1656 } && test -s conftest
$ac_exeext && {
1657 test "$cross_compiling" = yes ||
1658 $as_test_x conftest
$ac_exeext
1662 $as_echo "$as_me: failed program was:" >&5
1663 sed 's/^/| /' conftest.
$ac_ext >&5
1667 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1668 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1669 # interfere with the next link command; also delete a directory that is
1670 # left behind by Apple's compiler. We do this before executing the actions.
1671 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1672 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1675 } # ac_fn_c_try_link
1677 # ac_fn_c_check_func LINENO FUNC VAR
1678 # ----------------------------------
1679 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1680 ac_fn_c_check_func
()
1682 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1684 $as_echo_n "checking for $2... " >&6; }
1685 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1686 $as_echo_n "(cached) " >&6
1688 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1689 /* end confdefs.h. */
1690 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1691 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1692 #define $2 innocuous_$2
1694 /* System header to define __stub macros and hopefully few prototypes,
1695 which can conflict with char $2 (); below.
1696 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1697 <limits.h> exists even on freestanding compilers. */
1700 # include <limits.h>
1702 # include <assert.h>
1707 /* Override any GCC internal prototype to avoid an error.
1708 Use char because int might match the return type of a GCC
1709 builtin and then its argument prototype would still apply. */
1714 /* The GNU C library defines this for functions which it implements
1715 to always fail with ENOSYS. Some functions are actually named
1716 something starting with __ and the normal name is an alias. */
1717 #if defined __stub_$2 || defined __stub___$2
1729 if ac_fn_c_try_link
"$LINENO"; then :
1734 rm -f core conftest.err conftest.
$ac_objext \
1735 conftest
$ac_exeext conftest.
$ac_ext
1738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1739 $as_echo "$ac_res" >&6; }
1740 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1742 } # ac_fn_c_check_func
1744 # ac_fn_c_check_decl LINENO SYMBOL VAR
1745 # ------------------------------------
1746 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
1747 ac_fn_c_check_decl
()
1749 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1750 as_decl_name
=`echo $2|sed 's/ *(.*//'`
1751 as_decl_use
=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1753 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1754 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1755 $as_echo_n "(cached) " >&6
1757 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1758 /* end confdefs.h. */
1763 #ifndef $as_decl_name
1765 (void) $as_decl_use;
1767 (void) $as_decl_name;
1775 if ac_fn_c_try_compile
"$LINENO"; then :
1780 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1784 $as_echo "$ac_res" >&6; }
1785 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1787 } # ac_fn_c_check_decl
1788 cat >config.log
<<_ACEOF
1789 This file contains any messages produced by compilers while
1790 running configure, to aid debugging if configure makes a mistake.
1792 It was created by fixincludes $as_me , which was
1793 generated by GNU Autoconf 2.64. Invocation command line was
1805 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1806 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1807 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1808 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1809 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1811 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1812 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1814 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1815 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1816 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1817 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1818 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1819 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1820 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1824 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1828 test -z "$as_dir" && as_dir
=.
1829 $as_echo "PATH: $as_dir"
1845 # Keep a trace of the command line.
1846 # Strip out --no-create and --no-recursion so they do not pile up.
1847 # Strip out --silent because we don't want to record it for future runs.
1848 # Also quote any args containing shell meta-characters.
1849 # Make two passes to allow for proper duplicate-argument suppression.
1853 ac_must_keep_next
=false
1859 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1860 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1861 |
-silent |
--silent |
--silen |
--sile |
--sil)
1864 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1867 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1869 as_fn_append ac_configure_args1
" '$ac_arg'"
1870 if test $ac_must_keep_next = true
; then
1871 ac_must_keep_next
=false
# Got value, back to normal.
1874 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1875 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1876 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1877 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1878 case "$ac_configure_args0 " in
1879 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1882 -* ) ac_must_keep_next
=true
;;
1885 as_fn_append ac_configure_args
" '$ac_arg'"
1890 { ac_configure_args0
=; unset ac_configure_args0
;}
1891 { ac_configure_args1
=; unset ac_configure_args1
;}
1893 # When interrupted or exit'd, cleanup temporary files, and complete
1894 # config.log. We remove comments because anyway the quotes in there
1895 # would cause problems or look ugly.
1896 # WARNING: Use '\'' to represent an apostrophe within the trap.
1897 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1898 trap 'exit_status=$?
1899 # Save into config.log some information that might help in debugging.
1904 ## ---------------- ##
1905 ## Cache variables. ##
1906 ## ---------------- ##
1909 # The following way of writing the cache mishandles newlines in values,
1911 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1912 eval ac_val=\$$ac_var
1916 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1917 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1920 _ | IFS | as_nl) ;; #(
1921 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1922 *) { eval $ac_var=; unset $ac_var;} ;;
1927 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1928 *${as_nl}ac_space=\ *)
1930 "s/'\''/'\''\\\\'\'''\''/g;
1931 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1934 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1942 ## ----------------- ##
1943 ## Output variables. ##
1944 ## ----------------- ##
1947 for ac_var in $ac_subst_vars
1949 eval ac_val=\$$ac_var
1951 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1953 $as_echo "$ac_var='\''$ac_val'\''"
1957 if test -n "$ac_subst_files"; then
1959 ## ------------------- ##
1960 ## File substitutions. ##
1961 ## ------------------- ##
1964 for ac_var
in $ac_subst_files
1966 eval ac_val
=\$
$ac_var
1968 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1970 $as_echo "$ac_var='\''$ac_val'\''"
1975 if test -s confdefs.h; then
1985 test "$ac_signal" != 0 &&
1986 $as_echo "$as_me: caught signal $ac_signal"
1987 $as_echo "$as_me: exit $exit_status"
1989 rm -f core *.core core.conftest.* &&
1990 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1993 for ac_signal
in 1 2 13 15; do
1994 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1998 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1999 rm -f -r conftest
* confdefs.h
2001 $as_echo "/* confdefs.h */" > confdefs.h
2003 # Predefined preprocessor variables.
2005 cat >>confdefs.h
<<_ACEOF
2006 #define PACKAGE_NAME "$PACKAGE_NAME"
2009 cat >>confdefs.h
<<_ACEOF
2010 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2013 cat >>confdefs.h
<<_ACEOF
2014 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2017 cat >>confdefs.h
<<_ACEOF
2018 #define PACKAGE_STRING "$PACKAGE_STRING"
2021 cat >>confdefs.h
<<_ACEOF
2022 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2025 cat >>confdefs.h
<<_ACEOF
2026 #define PACKAGE_URL "$PACKAGE_URL"
2030 # Let the site file select an alternate cache file if it wants to.
2031 # Prefer an explicitly selected file to automatically selected ones.
2034 if test -n "$CONFIG_SITE"; then
2035 ac_site_file1
=$CONFIG_SITE
2036 elif test "x$prefix" != xNONE
; then
2037 ac_site_file1
=$prefix/share
/config.site
2038 ac_site_file2
=$prefix/etc
/config.site
2040 ac_site_file1
=$ac_default_prefix/share
/config.site
2041 ac_site_file2
=$ac_default_prefix/etc
/config.site
2043 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2045 test "x$ac_site_file" = xNONE
&& continue
2046 if test -r "$ac_site_file"; then
2047 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2048 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2049 sed 's/^/| /' "$ac_site_file" >&5
2054 if test -r "$cache_file"; then
2055 # Some versions of bash will fail to source /dev/null (special
2056 # files actually), so we avoid doing that.
2057 if test -f "$cache_file"; then
2058 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2059 $as_echo "$as_me: loading cache $cache_file" >&6;}
2061 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2062 *) .
"./$cache_file";;
2066 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2067 $as_echo "$as_me: creating cache $cache_file" >&6;}
2071 # Check that the precious variables saved in the cache have kept the same
2073 ac_cache_corrupted
=false
2074 for ac_var
in $ac_precious_vars; do
2075 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2076 eval ac_new_set
=\
$ac_env_${ac_var}_set
2077 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2078 eval ac_new_val
=\
$ac_env_${ac_var}_value
2079 case $ac_old_set,$ac_new_set in
2081 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2082 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2083 ac_cache_corrupted
=: ;;
2085 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2086 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2087 ac_cache_corrupted
=: ;;
2090 if test "x$ac_old_val" != "x$ac_new_val"; then
2091 # differences in whitespace do not lead to failure.
2092 ac_old_val_w
=`echo x $ac_old_val`
2093 ac_new_val_w
=`echo x $ac_new_val`
2094 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2095 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2096 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2097 ac_cache_corrupted
=:
2099 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2100 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2101 eval $ac_var=\
$ac_old_val
2103 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2104 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2105 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2106 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2109 # Pass precious variables to config.status.
2110 if test "$ac_new_set" = set; then
2112 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2113 *) ac_arg
=$ac_var=$ac_new_val ;;
2115 case " $ac_configure_args " in
2116 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2117 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2121 if $ac_cache_corrupted; then
2122 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2123 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2124 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2125 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2126 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2128 ## -------------------- ##
2129 ## Main body of script. ##
2130 ## -------------------- ##
2133 ac_cpp
='$CPP $CPPFLAGS'
2134 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2135 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2136 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2144 for ac_dir
in ..
"$srcdir"/..
; do
2145 for ac_t
in install-sh
install.sh shtool
; do
2146 if test -f "$ac_dir/$ac_t"; then
2148 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2153 if test -z "$ac_aux_dir"; then
2154 as_fn_error
"cannot find install-sh, install.sh, or shtool in .. \"$srcdir\"/.." "$LINENO" 5
2157 # These three variables are undocumented and unsupported,
2158 # and are intended to be withdrawn in a future Autoconf release.
2159 # They can cause serious problems if a builder's source tree is in a directory
2160 # whose full name contains unusual characters.
2161 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2162 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2163 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2166 # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
2168 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
2169 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
2170 # Written by Gordon Matzigkeit, 1996
2172 # This file is free software; the Free Software Foundation gives
2173 # unlimited permission to copy and/or distribute it, with or without
2174 # modifications, as long as this notice is preserved.
2181 # LT_PREREQ(VERSION)
2182 # ------------------
2183 # Complain and exit if this libtool version is less that VERSION.
2187 # _LT_CHECK_BUILDDIR
2188 # ------------------
2189 # Complain if the absolute build directory name contains unusual characters
2193 # LT_INIT([OPTIONS])
2194 # ------------------
2198 # This is what autoupdate's m4 run will expand. It fires
2199 # the warning (with _au_warn_XXX), outputs it into the
2200 # updated configure.ac (with AC_DIAGNOSE), and then outputs
2201 # the replacement expansion.
2204 # This is an auxiliary macro that is also run when
2205 # autoupdate runs m4. It simply calls m4_warning, but
2206 # we need a wrapper so that each warning is emitted only
2207 # once. We break the quoting in m4_warning's argument in
2208 # order to expand this macro's arguments, not AU_DEFUN's.
2211 # Finally, this is the expansion that is picked up by
2212 # autoconf. It tells the user to run autoupdate, and
2213 # then outputs the replacement expansion. We do not care
2214 # about autoupdate's warning because that contains
2215 # information on what to do *after* running autoupdate.
2217 # This is what autoupdate's m4 run will expand. It fires
2218 # the warning (with _au_warn_XXX), outputs it into the
2219 # updated configure.ac (with AC_DIAGNOSE), and then outputs
2220 # the replacement expansion.
2223 # This is an auxiliary macro that is also run when
2224 # autoupdate runs m4. It simply calls m4_warning, but
2225 # we need a wrapper so that each warning is emitted only
2226 # once. We break the quoting in m4_warning's argument in
2227 # order to expand this macro's arguments, not AU_DEFUN's.
2230 # Finally, this is the expansion that is picked up by
2231 # autoconf. It tells the user to run autoupdate, and
2232 # then outputs the replacement expansion. We do not care
2233 # about autoupdate's warning because that contains
2234 # information on what to do *after* running autoupdate.
2238 # _LT_CC_BASENAME(CC)
2239 # -------------------
2240 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
2244 # _LT_FILEUTILS_DEFAULTS
2245 # ----------------------
2246 # It is okay to use these file commands and assume they have been set
2247 # sensibly after `m4_require([_LT_FILEUTILS_DEFAULTS])'.
2248 # _LT_FILEUTILS_DEFAULTS
2256 # _LT_PREPARE_SED_QUOTE_VARS
2257 # --------------------------
2258 # Define a few sed substitution that help us do robust quoting.
2263 # Note that this code is called both from `configure', and `config.status'
2264 # now that we use AC_CONFIG_COMMANDS to generate libtool. Notably,
2265 # `config.status' has no value for ac_aux_dir unless we are using Automake,
2266 # so we pass a copy along to make sure it has a sensible value anyway.
2270 ## ------------------------------------- ##
2271 ## Accumulate code for creating libtool. ##
2272 ## ------------------------------------- ##
2274 # So that we can recreate a full libtool script including additional
2275 # tags, we accumulate the chunks of code to send to AC_CONFIG_COMMANDS
2276 # in macros and then make a single call at the end using the `libtool'
2280 # _LT_CONFIG_LIBTOOL_INIT([INIT-COMMANDS])
2281 # ----------------------------------------
2282 # Register INIT-COMMANDS to be passed to AC_CONFIG_COMMANDS later.
2289 # _LT_CONFIG_LIBTOOL([COMMANDS])
2290 # ------------------------------
2291 # Register COMMANDS to be passed to AC_CONFIG_COMMANDS later.
2298 # _LT_CONFIG_SAVE_COMMANDS([COMMANDS], [INIT_COMMANDS])
2299 # -----------------------------------------------------
2303 # _LT_FORMAT_COMMENT([COMMENT])
2304 # -----------------------------
2305 # Add leading comment marks to the start of each line, and a trailing
2306 # full-stop to the whole comment if one is not present already.
2311 ## ------------------------ ##
2312 ## FIXME: Eliminate VARNAME ##
2313 ## ------------------------ ##
2316 # _LT_DECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION], [IS-TAGGED?])
2317 # -------------------------------------------------------------------
2318 # CONFIGNAME is the name given to the value in the libtool script.
2319 # VARNAME is the (base) name used in the configure script.
2320 # VALUE may be 0, 1 or 2 for a computed quote escaped value based on
2321 # VARNAME. Any other value will be used directly.
2325 # _LT_TAGDECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION])
2326 # --------------------------------------------------------
2330 # lt_decl_tag_varnames([SEPARATOR], [VARNAME1...])
2331 # ------------------------------------------------
2335 # _lt_decl_filter(SUBKEY, VALUE, [SEPARATOR], [VARNAME1..])
2336 # ---------------------------------------------------------
2340 # lt_decl_quote_varnames([SEPARATOR], [VARNAME1...])
2341 # --------------------------------------------------
2345 # lt_decl_dquote_varnames([SEPARATOR], [VARNAME1...])
2346 # ---------------------------------------------------
2350 # lt_decl_varnames_tagged([SEPARATOR], [VARNAME1...])
2351 # ---------------------------------------------------
2356 # lt_decl_all_varnames([SEPARATOR], [VARNAME1...])
2357 # ------------------------------------------------
2362 # _LT_CONFIG_STATUS_DECLARE([VARNAME])
2363 # ------------------------------------
2364 # Quote a variable value, and forward it to `config.status' so that its
2365 # declaration there will have the same value as in `configure'. VARNAME
2366 # must have a single quote delimited value for this to work.
2370 # _LT_CONFIG_STATUS_DECLARATIONS
2371 # ------------------------------
2372 # We delimit libtool config variables with single quotes, so when
2373 # we write them to config.status, we have to be sure to quote all
2374 # embedded single quotes properly. In configure, this macro expands
2375 # each variable declared with _LT_DECL (and _LT_TAGDECL) into:
2377 # <var>='`$ECHO "$<var>" | $SED "$delay_single_quote_subst"`'
2383 # Output comment and list of tags supported by the script
2387 # _LT_LIBTOOL_DECLARE(VARNAME, [TAG])
2388 # -----------------------------------
2389 # Extract the dictionary values for VARNAME (optionally with TAG) and
2390 # expand to a commented shell variable setting:
2392 # # Some comment about what VAR is for.
2393 # visible_name=$lt_internal_name
2397 # _LT_LIBTOOL_CONFIG_VARS
2398 # -----------------------
2399 # Produce commented declarations of non-tagged libtool config variables
2400 # suitable for insertion in the LIBTOOL CONFIG section of the `libtool'
2401 # script. Tagged libtool config variables (even for the LIBTOOL CONFIG
2402 # section) are produced by _LT_LIBTOOL_TAG_VARS.
2406 # _LT_LIBTOOL_TAG_VARS(TAG)
2407 # -------------------------
2411 # _LT_TAGVAR(VARNAME, [TAGNAME])
2412 # ------------------------------
2416 # _LT_CONFIG_COMMANDS
2417 # -------------------
2418 # Send accumulated output to $CONFIG_STATUS. Thanks to the lists of
2419 # variables for single and double quote escaping we saved from calls
2420 # to _LT_DECL, we can put quote escaped variables declarations
2421 # into `config.status', and then the shell code to quote escape them in
2422 # for loops in `config.status'. Finally, any additional code accumulated
2423 # from calls to _LT_CONFIG_LIBTOOL_INIT is expanded.
2424 #_LT_CONFIG_COMMANDS
2430 # _LT_GENERATED_FILE_INIT(FILE, [COMMENT])
2431 # ------------------------------------
2432 # Generate a child script FILE with all initialization necessary to
2433 # reuse the environment learned by the parent script, and make the
2434 # file executable. If COMMENT is supplied, it is inserted after the
2435 # `#!' sequence but before initialization text begins. After this
2436 # macro, additional text can be appended to FILE to form the body of
2437 # the child script. The macro ends with non-zero status if the
2438 # file could not be fully written (such as if the disk is full).
2439 # _LT_GENERATED_FILE_INIT
2443 # This macro allows early generation of the libtool script (before
2444 # AC_OUTPUT is called), incase it is used in configure for compilation
2451 # If TAG is the built-in tag, create an initial libtool script with a
2452 # default configuration from the untagged config vars. Otherwise add code
2453 # to config.status for appending the configuration named by TAG from the
2454 # matching tagged config vars.
2458 # LT_SUPPORTED_TAG(TAG)
2459 # ---------------------
2460 # Trace this macro to discover what tags are supported by the libtool
2461 # --tag option, using:
2462 # autoconf --trace 'LT_SUPPORTED_TAG:$1'
2466 # C support is built-in for now
2473 # Enable libtool support for the given language if not already enabled.
2477 # _LT_LANG(LANGNAME)
2478 # ------------------
2482 # _LT_LANG_DEFAULT_CONFIG
2483 # -----------------------
2484 # _LT_LANG_DEFAULT_CONFIG
2487 # This is what autoupdate's m4 run will expand. It fires
2488 # the warning (with _au_warn_XXX), outputs it into the
2489 # updated configure.ac (with AC_DIAGNOSE), and then outputs
2490 # the replacement expansion.
2493 # This is an auxiliary macro that is also run when
2494 # autoupdate runs m4. It simply calls m4_warning, but
2495 # we need a wrapper so that each warning is emitted only
2496 # once. We break the quoting in m4_warning's argument in
2497 # order to expand this macro's arguments, not AU_DEFUN's.
2500 # Finally, this is the expansion that is picked up by
2501 # autoconf. It tells the user to run autoupdate, and
2502 # then outputs the replacement expansion. We do not care
2503 # about autoupdate's warning because that contains
2504 # information on what to do *after* running autoupdate.
2506 # This is what autoupdate's m4 run will expand. It fires
2507 # the warning (with _au_warn_XXX), outputs it into the
2508 # updated configure.ac (with AC_DIAGNOSE), and then outputs
2509 # the replacement expansion.
2512 # This is an auxiliary macro that is also run when
2513 # autoupdate runs m4. It simply calls m4_warning, but
2514 # we need a wrapper so that each warning is emitted only
2515 # once. We break the quoting in m4_warning's argument in
2516 # order to expand this macro's arguments, not AU_DEFUN's.
2519 # Finally, this is the expansion that is picked up by
2520 # autoconf. It tells the user to run autoupdate, and
2521 # then outputs the replacement expansion. We do not care
2522 # about autoupdate's warning because that contains
2523 # information on what to do *after* running autoupdate.
2525 # This is what autoupdate's m4 run will expand. It fires
2526 # the warning (with _au_warn_XXX), outputs it into the
2527 # updated configure.ac (with AC_DIAGNOSE), and then outputs
2528 # the replacement expansion.
2531 # This is an auxiliary macro that is also run when
2532 # autoupdate runs m4. It simply calls m4_warning, but
2533 # we need a wrapper so that each warning is emitted only
2534 # once. We break the quoting in m4_warning's argument in
2535 # order to expand this macro's arguments, not AU_DEFUN's.
2538 # Finally, this is the expansion that is picked up by
2539 # autoconf. It tells the user to run autoupdate, and
2540 # then outputs the replacement expansion. We do not care
2541 # about autoupdate's warning because that contains
2542 # information on what to do *after* running autoupdate.
2544 # This is what autoupdate's m4 run will expand. It fires
2545 # the warning (with _au_warn_XXX), outputs it into the
2546 # updated configure.ac (with AC_DIAGNOSE), and then outputs
2547 # the replacement expansion.
2550 # This is an auxiliary macro that is also run when
2551 # autoupdate runs m4. It simply calls m4_warning, but
2552 # we need a wrapper so that each warning is emitted only
2553 # once. We break the quoting in m4_warning's argument in
2554 # order to expand this macro's arguments, not AU_DEFUN's.
2557 # Finally, this is the expansion that is picked up by
2558 # autoconf. It tells the user to run autoupdate, and
2559 # then outputs the replacement expansion. We do not care
2560 # about autoupdate's warning because that contains
2561 # information on what to do *after* running autoupdate.
2563 # This is what autoupdate's m4 run will expand. It fires
2564 # the warning (with _au_warn_XXX), outputs it into the
2565 # updated configure.ac (with AC_DIAGNOSE), and then outputs
2566 # the replacement expansion.
2569 # This is an auxiliary macro that is also run when
2570 # autoupdate runs m4. It simply calls m4_warning, but
2571 # we need a wrapper so that each warning is emitted only
2572 # once. We break the quoting in m4_warning's argument in
2573 # order to expand this macro's arguments, not AU_DEFUN's.
2576 # Finally, this is the expansion that is picked up by
2577 # autoconf. It tells the user to run autoupdate, and
2578 # then outputs the replacement expansion. We do not care
2579 # about autoupdate's warning because that contains
2580 # information on what to do *after* running autoupdate.
2589 # _LT_COMPILER_BOILERPLATE
2590 # ------------------------
2591 # Check for compiler boilerplate output or warnings with
2592 # the simple compiler test code.
2593 # _LT_COMPILER_BOILERPLATE
2596 # _LT_LINKER_BOILERPLATE
2597 # ----------------------
2598 # Check for linker boilerplate output or warnings with
2599 # the simple link test code.
2600 # _LT_LINKER_BOILERPLATE
2602 # _LT_REQUIRED_DARWIN_CHECKS
2603 # -------------------------
2607 # _LT_DARWIN_LINKER_FEATURES
2608 # --------------------------
2609 # Checks for linker and compiler features on darwin
2612 # _LT_SYS_MODULE_PATH_AIX
2613 # -----------------------
2614 # Links a minimal program and checks the executable
2615 # for the system default hardcoded library path. In most cases,
2616 # this is /usr/lib:/lib, but when the MPI compilers are used
2617 # the location of the communication and MPI libs are included too.
2618 # If we don't find anything, use the default library path according
2619 # to the aix ld manual.
2620 # _LT_SYS_MODULE_PATH_AIX
2623 # _LT_SHELL_INIT(ARG)
2624 # -------------------
2629 # _LT_PROG_ECHO_BACKSLASH
2630 # -----------------------
2631 # Find how we can fake an echo command that does not interpret backslash.
2632 # In particular, with Autoconf 2.60 or later we add some code to the start
2633 # of the generated configure script which will find a shell with a builtin
2634 # printf (which we can use as an echo command).
2635 # _LT_PROG_ECHO_BACKSLASH
2643 # _LT_CMD_OLD_ARCHIVE
2644 # -------------------
2645 # _LT_CMD_OLD_ARCHIVE
2648 # _LT_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
2649 # [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE])
2650 # ----------------------------------------------------------------
2651 # Check whether the given compiler option works
2652 # _LT_COMPILER_OPTION
2655 # This is what autoupdate's m4 run will expand. It fires
2656 # the warning (with _au_warn_XXX), outputs it into the
2657 # updated configure.ac (with AC_DIAGNOSE), and then outputs
2658 # the replacement expansion.
2661 # This is an auxiliary macro that is also run when
2662 # autoupdate runs m4. It simply calls m4_warning, but
2663 # we need a wrapper so that each warning is emitted only
2664 # once. We break the quoting in m4_warning's argument in
2665 # order to expand this macro's arguments, not AU_DEFUN's.
2668 # Finally, this is the expansion that is picked up by
2669 # autoconf. It tells the user to run autoupdate, and
2670 # then outputs the replacement expansion. We do not care
2671 # about autoupdate's warning because that contains
2672 # information on what to do *after* running autoupdate.
2676 # _LT_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
2677 # [ACTION-SUCCESS], [ACTION-FAILURE])
2678 # ----------------------------------------------------
2679 # Check whether the given linker option works
2683 # This is what autoupdate's m4 run will expand. It fires
2684 # the warning (with _au_warn_XXX), outputs it into the
2685 # updated configure.ac (with AC_DIAGNOSE), and then outputs
2686 # the replacement expansion.
2689 # This is an auxiliary macro that is also run when
2690 # autoupdate runs m4. It simply calls m4_warning, but
2691 # we need a wrapper so that each warning is emitted only
2692 # once. We break the quoting in m4_warning's argument in
2693 # order to expand this macro's arguments, not AU_DEFUN's.
2696 # Finally, this is the expansion that is picked up by
2697 # autoconf. It tells the user to run autoupdate, and
2698 # then outputs the replacement expansion. We do not care
2699 # about autoupdate's warning because that contains
2700 # information on what to do *after* running autoupdate.
2709 # This is what autoupdate's m4 run will expand. It fires
2710 # the warning (with _au_warn_XXX), outputs it into the
2711 # updated configure.ac (with AC_DIAGNOSE), and then outputs
2712 # the replacement expansion.
2715 # This is an auxiliary macro that is also run when
2716 # autoupdate runs m4. It simply calls m4_warning, but
2717 # we need a wrapper so that each warning is emitted only
2718 # once. We break the quoting in m4_warning's argument in
2719 # order to expand this macro's arguments, not AU_DEFUN's.
2722 # Finally, this is the expansion that is picked up by
2723 # autoconf. It tells the user to run autoupdate, and
2724 # then outputs the replacement expansion. We do not care
2725 # about autoupdate's warning because that contains
2726 # information on what to do *after* running autoupdate.
2735 # _LT_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
2736 # ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
2737 # ----------------------------------------------------------------
2738 # _LT_TRY_DLOPEN_SELF
2741 # LT_SYS_DLOPEN_SELF
2742 # ------------------
2743 # LT_SYS_DLOPEN_SELF
2746 # This is what autoupdate's m4 run will expand. It fires
2747 # the warning (with _au_warn_XXX), outputs it into the
2748 # updated configure.ac (with AC_DIAGNOSE), and then outputs
2749 # the replacement expansion.
2752 # This is an auxiliary macro that is also run when
2753 # autoupdate runs m4. It simply calls m4_warning, but
2754 # we need a wrapper so that each warning is emitted only
2755 # once. We break the quoting in m4_warning's argument in
2756 # order to expand this macro's arguments, not AU_DEFUN's.
2759 # Finally, this is the expansion that is picked up by
2760 # autoconf. It tells the user to run autoupdate, and
2761 # then outputs the replacement expansion. We do not care
2762 # about autoupdate's warning because that contains
2763 # information on what to do *after* running autoupdate.
2767 # _LT_COMPILER_C_O([TAGNAME])
2768 # ---------------------------
2769 # Check to see if options -c and -o are simultaneously supported by compiler.
2770 # This macro does not hard code the compiler like AC_PROG_CC_C_O.
2774 # _LT_COMPILER_FILE_LOCKS([TAGNAME])
2775 # ----------------------------------
2776 # Check to see if we can do hard links to lock some files if needed
2777 # _LT_COMPILER_FILE_LOCKS
2785 # _LT_LINKER_HARDCODE_LIBPATH([TAGNAME])
2786 # --------------------------------------
2787 # Check hardcoding attributes.
2788 # _LT_LINKER_HARDCODE_LIBPATH
2796 # _LT_SYS_DYNAMIC_LINKER([TAG])
2797 # -----------------------------
2798 # PORTME Fill in your ld.so characteristics
2799 # _LT_SYS_DYNAMIC_LINKER
2802 # _LT_PATH_TOOL_PREFIX(TOOL)
2803 # --------------------------
2804 # find a file program which can recognize shared library
2805 # _LT_PATH_TOOL_PREFIX
2808 # This is what autoupdate's m4 run will expand. It fires
2809 # the warning (with _au_warn_XXX), outputs it into the
2810 # updated configure.ac (with AC_DIAGNOSE), and then outputs
2811 # the replacement expansion.
2814 # This is an auxiliary macro that is also run when
2815 # autoupdate runs m4. It simply calls m4_warning, but
2816 # we need a wrapper so that each warning is emitted only
2817 # once. We break the quoting in m4_warning's argument in
2818 # order to expand this macro's arguments, not AU_DEFUN's.
2821 # Finally, this is the expansion that is picked up by
2822 # autoconf. It tells the user to run autoupdate, and
2823 # then outputs the replacement expansion. We do not care
2824 # about autoupdate's warning because that contains
2825 # information on what to do *after* running autoupdate.
2831 # find a file program which can recognize a shared library
2837 # find the pathname to the GNU or non-GNU linker
2841 # This is what autoupdate's m4 run will expand. It fires
2842 # the warning (with _au_warn_XXX), outputs it into the
2843 # updated configure.ac (with AC_DIAGNOSE), and then outputs
2844 # the replacement expansion.
2847 # This is an auxiliary macro that is also run when
2848 # autoupdate runs m4. It simply calls m4_warning, but
2849 # we need a wrapper so that each warning is emitted only
2850 # once. We break the quoting in m4_warning's argument in
2851 # order to expand this macro's arguments, not AU_DEFUN's.
2854 # Finally, this is the expansion that is picked up by
2855 # autoconf. It tells the user to run autoupdate, and
2856 # then outputs the replacement expansion. We do not care
2857 # about autoupdate's warning because that contains
2858 # information on what to do *after* running autoupdate.
2860 # This is what autoupdate's m4 run will expand. It fires
2861 # the warning (with _au_warn_XXX), outputs it into the
2862 # updated configure.ac (with AC_DIAGNOSE), and then outputs
2863 # the replacement expansion.
2866 # This is an auxiliary macro that is also run when
2867 # autoupdate runs m4. It simply calls m4_warning, but
2868 # we need a wrapper so that each warning is emitted only
2869 # once. We break the quoting in m4_warning's argument in
2870 # order to expand this macro's arguments, not AU_DEFUN's.
2873 # Finally, this is the expansion that is picked up by
2874 # autoconf. It tells the user to run autoupdate, and
2875 # then outputs the replacement expansion. We do not care
2876 # about autoupdate's warning because that contains
2877 # information on what to do *after* running autoupdate.
2888 # find reload flag for linker
2889 # -- PORTME Some linkers may need a different reload flag.
2893 # _LT_CHECK_MAGIC_METHOD
2894 # ----------------------
2895 # how to check for library dependencies
2896 # -- PORTME fill in with the dynamic library characteristics
2897 # _LT_CHECK_MAGIC_METHOD
2902 # find the pathname to a BSD- or MS-compatible name lister
2906 # This is what autoupdate's m4 run will expand. It fires
2907 # the warning (with _au_warn_XXX), outputs it into the
2908 # updated configure.ac (with AC_DIAGNOSE), and then outputs
2909 # the replacement expansion.
2912 # This is an auxiliary macro that is also run when
2913 # autoupdate runs m4. It simply calls m4_warning, but
2914 # we need a wrapper so that each warning is emitted only
2915 # once. We break the quoting in m4_warning's argument in
2916 # order to expand this macro's arguments, not AU_DEFUN's.
2919 # Finally, this is the expansion that is picked up by
2920 # autoconf. It tells the user to run autoupdate, and
2921 # then outputs the replacement expansion. We do not care
2922 # about autoupdate's warning because that contains
2923 # information on what to do *after* running autoupdate.
2925 # This is what autoupdate's m4 run will expand. It fires
2926 # the warning (with _au_warn_XXX), outputs it into the
2927 # updated configure.ac (with AC_DIAGNOSE), and then outputs
2928 # the replacement expansion.
2931 # This is an auxiliary macro that is also run when
2932 # autoupdate runs m4. It simply calls m4_warning, but
2933 # we need a wrapper so that each warning is emitted only
2934 # once. We break the quoting in m4_warning's argument in
2935 # order to expand this macro's arguments, not AU_DEFUN's.
2938 # Finally, this is the expansion that is picked up by
2939 # autoconf. It tells the user to run autoupdate, and
2940 # then outputs the replacement expansion. We do not care
2941 # about autoupdate's warning because that contains
2942 # information on what to do *after* running autoupdate.
2948 # check for math library
2952 # This is what autoupdate's m4 run will expand. It fires
2953 # the warning (with _au_warn_XXX), outputs it into the
2954 # updated configure.ac (with AC_DIAGNOSE), and then outputs
2955 # the replacement expansion.
2958 # This is an auxiliary macro that is also run when
2959 # autoupdate runs m4. It simply calls m4_warning, but
2960 # we need a wrapper so that each warning is emitted only
2961 # once. We break the quoting in m4_warning's argument in
2962 # order to expand this macro's arguments, not AU_DEFUN's.
2965 # Finally, this is the expansion that is picked up by
2966 # autoconf. It tells the user to run autoupdate, and
2967 # then outputs the replacement expansion. We do not care
2968 # about autoupdate's warning because that contains
2969 # information on what to do *after* running autoupdate.
2973 # _LT_COMPILER_NO_RTTI([TAGNAME])
2974 # -------------------------------
2975 # _LT_COMPILER_NO_RTTI
2978 # _LT_CMD_GLOBAL_SYMBOLS
2979 # ----------------------
2980 # _LT_CMD_GLOBAL_SYMBOLS
2983 # _LT_COMPILER_PIC([TAGNAME])
2984 # ---------------------------
2988 # _LT_LINKER_SHLIBS([TAGNAME])
2989 # ----------------------------
2990 # See if the linker supports building shared libraries.
2994 # _LT_LANG_C_CONFIG([TAG])
2995 # ------------------------
2996 # Ensure that the configuration variables for a C compiler are suitably
2997 # defined. These variables are subsequently used by _LT_CONFIG to write
2998 # the compiler configuration to `libtool'.
3002 # _LT_LANG_CXX_CONFIG([TAG])
3003 # --------------------------
3004 # Ensure that the configuration variables for a C++ compiler are suitably
3005 # defined. These variables are subsequently used by _LT_CONFIG to write
3006 # the compiler configuration to `libtool'.
3007 # _LT_LANG_CXX_CONFIG
3010 # _LT_SYS_HIDDEN_LIBDEPS([TAGNAME])
3011 # ---------------------------------
3012 # Figure out "hidden" library dependencies from verbose
3013 # compiler output when linking a shared library.
3014 # Parse the compiler output and extract the necessary
3015 # objects, libraries and library flags.
3016 # _LT_SYS_HIDDEN_LIBDEPS
3019 # _LT_LANG_F77_CONFIG([TAG])
3020 # --------------------------
3021 # Ensure that the configuration variables for a Fortran 77 compiler are
3022 # suitably defined. These variables are subsequently used by _LT_CONFIG
3023 # to write the compiler configuration to `libtool'.
3024 # _LT_LANG_F77_CONFIG
3027 # _LT_LANG_FC_CONFIG([TAG])
3028 # -------------------------
3029 # Ensure that the configuration variables for a Fortran compiler are
3030 # suitably defined. These variables are subsequently used by _LT_CONFIG
3031 # to write the compiler configuration to `libtool'.
3032 # _LT_LANG_FC_CONFIG
3035 # _LT_LANG_GCJ_CONFIG([TAG])
3036 # --------------------------
3037 # Ensure that the configuration variables for the GNU Java Compiler compiler
3038 # are suitably defined. These variables are subsequently used by _LT_CONFIG
3039 # to write the compiler configuration to `libtool'.
3040 # _LT_LANG_GCJ_CONFIG
3043 # _LT_LANG_RC_CONFIG([TAG])
3044 # -------------------------
3045 # Ensure that the configuration variables for the Windows resource compiler
3046 # are suitably defined. These variables are subsequently used by _LT_CONFIG
3047 # to write the compiler configuration to `libtool'.
3048 # _LT_LANG_RC_CONFIG
3056 # This is what autoupdate's m4 run will expand. It fires
3057 # the warning (with _au_warn_XXX), outputs it into the
3058 # updated configure.ac (with AC_DIAGNOSE), and then outputs
3059 # the replacement expansion.
3062 # This is an auxiliary macro that is also run when
3063 # autoupdate runs m4. It simply calls m4_warning, but
3064 # we need a wrapper so that each warning is emitted only
3065 # once. We break the quoting in m4_warning's argument in
3066 # order to expand this macro's arguments, not AU_DEFUN's.
3069 # Finally, this is the expansion that is picked up by
3070 # autoconf. It tells the user to run autoupdate, and
3071 # then outputs the replacement expansion. We do not care
3072 # about autoupdate's warning because that contains
3073 # information on what to do *after* running autoupdate.
3082 # This is what autoupdate's m4 run will expand. It fires
3083 # the warning (with _au_warn_XXX), outputs it into the
3084 # updated configure.ac (with AC_DIAGNOSE), and then outputs
3085 # the replacement expansion.
3088 # This is an auxiliary macro that is also run when
3089 # autoupdate runs m4. It simply calls m4_warning, but
3090 # we need a wrapper so that each warning is emitted only
3091 # once. We break the quoting in m4_warning's argument in
3092 # order to expand this macro's arguments, not AU_DEFUN's.
3095 # Finally, this is the expansion that is picked up by
3096 # autoconf. It tells the user to run autoupdate, and
3097 # then outputs the replacement expansion. We do not care
3098 # about autoupdate's warning because that contains
3099 # information on what to do *after* running autoupdate.
3105 # If we don't have a new enough Autoconf to choose the best grep
3106 # available, choose the one first in the user's PATH.
3112 # If we don't have a new enough Autoconf to choose the best objdump
3113 # available, choose the one first in the user's PATH.
3119 # Check for a fully-functional sed program, that truncates
3120 # as few characters as possible. Prefer GNU sed if found.
3126 # This is what autoupdate's m4 run will expand. It fires
3127 # the warning (with _au_warn_XXX), outputs it into the
3128 # updated configure.ac (with AC_DIAGNOSE), and then outputs
3129 # the replacement expansion.
3132 # This is an auxiliary macro that is also run when
3133 # autoupdate runs m4. It simply calls m4_warning, but
3134 # we need a wrapper so that each warning is emitted only
3135 # once. We break the quoting in m4_warning's argument in
3136 # order to expand this macro's arguments, not AU_DEFUN's.
3139 # Finally, this is the expansion that is picked up by
3140 # autoconf. It tells the user to run autoupdate, and
3141 # then outputs the replacement expansion. We do not care
3142 # about autoupdate's warning because that contains
3143 # information on what to do *after* running autoupdate.
3147 # _LT_CHECK_SHELL_FEATURES
3148 # ------------------------
3149 # Find out whether the shell is Bourne or XSI compatible,
3150 # or has some other useful features.
3151 # _LT_CHECK_SHELL_FEATURES
3154 # _LT_PROG_XSI_SHELLFNS
3155 # ---------------------
3156 # Bourne and XSI compatible variants of some useful shell functions.
3159 # Make sure we can run config.sub.
3160 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3161 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3164 $as_echo_n "checking build system type... " >&6; }
3165 if test "${ac_cv_build+set}" = set; then :
3166 $as_echo_n "(cached) " >&6
3168 ac_build_alias
=$build_alias
3169 test "x$ac_build_alias" = x
&&
3170 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3171 test "x$ac_build_alias" = x
&&
3172 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
3173 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3174 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3178 $as_echo "$ac_cv_build" >&6; }
3179 case $ac_cv_build in
3181 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
3184 ac_save_IFS
=$IFS; IFS
='-'
3190 # Remember, the first character of IFS is used to create $*,
3191 # except with old shells:
3194 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3198 $as_echo_n "checking host system type... " >&6; }
3199 if test "${ac_cv_host+set}" = set; then :
3200 $as_echo_n "(cached) " >&6
3202 if test "x$host_alias" = x
; then
3203 ac_cv_host
=$ac_cv_build
3205 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3206 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3211 $as_echo "$ac_cv_host" >&6; }
3214 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
3217 ac_save_IFS
=$IFS; IFS
='-'
3223 # Remember, the first character of IFS is used to create $*,
3224 # except with old shells:
3227 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3231 $as_echo_n "checking target system type... " >&6; }
3232 if test "${ac_cv_target+set}" = set; then :
3233 $as_echo_n "(cached) " >&6
3235 if test "x$target_alias" = x
; then
3236 ac_cv_target
=$ac_cv_host
3238 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3239 as_fn_error
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3244 $as_echo "$ac_cv_target" >&6; }
3245 case $ac_cv_target in
3247 *) as_fn_error
"invalid value of canonical target" "$LINENO" 5;;
3249 target
=$ac_cv_target
3250 ac_save_IFS
=$IFS; IFS
='-'
3256 # Remember, the first character of IFS is used to create $*,
3257 # except with old shells:
3260 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
3263 # The aliases save the names the user supplied, while $host etc.
3264 # will get canonicalized.
3265 test -n "$target_alias" &&
3266 test "$program_prefix$program_suffix$program_transform_name" = \
3268 program_prefix
=${target_alias}-
3271 ac_cpp
='$CPP $CPPFLAGS'
3272 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3273 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3274 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3275 if test -n "$ac_tool_prefix"; then
3276 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3277 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3279 $as_echo_n "checking for $ac_word... " >&6; }
3280 if test "${ac_cv_prog_CC+set}" = set; then :
3281 $as_echo_n "(cached) " >&6
3283 if test -n "$CC"; then
3284 ac_cv_prog_CC
="$CC" # Let the user override the test.
3286 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3290 test -z "$as_dir" && as_dir
=.
3291 for ac_exec_ext
in '' $ac_executable_extensions; do
3292 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3293 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3294 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3304 if test -n "$CC"; then
3305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3306 $as_echo "$CC" >&6; }
3308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3309 $as_echo "no" >&6; }
3314 if test -z "$ac_cv_prog_CC"; then
3316 # Extract the first word of "gcc", so it can be a program name with args.
3317 set dummy gcc
; ac_word
=$2
3318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3319 $as_echo_n "checking for $ac_word... " >&6; }
3320 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3321 $as_echo_n "(cached) " >&6
3323 if test -n "$ac_ct_CC"; then
3324 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3326 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3330 test -z "$as_dir" && as_dir
=.
3331 for ac_exec_ext
in '' $ac_executable_extensions; do
3332 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3333 ac_cv_prog_ac_ct_CC
="gcc"
3334 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3343 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3344 if test -n "$ac_ct_CC"; then
3345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3346 $as_echo "$ac_ct_CC" >&6; }
3348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3349 $as_echo "no" >&6; }
3352 if test "x$ac_ct_CC" = x
; then
3355 case $cross_compiling:$ac_tool_warned in
3357 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3358 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3359 ac_tool_warned
=yes ;;
3367 if test -z "$CC"; then
3368 if test -n "$ac_tool_prefix"; then
3369 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3370 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3372 $as_echo_n "checking for $ac_word... " >&6; }
3373 if test "${ac_cv_prog_CC+set}" = set; then :
3374 $as_echo_n "(cached) " >&6
3376 if test -n "$CC"; then
3377 ac_cv_prog_CC
="$CC" # Let the user override the test.
3379 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3383 test -z "$as_dir" && as_dir
=.
3384 for ac_exec_ext
in '' $ac_executable_extensions; do
3385 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3386 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3387 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3397 if test -n "$CC"; then
3398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3399 $as_echo "$CC" >&6; }
3401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3402 $as_echo "no" >&6; }
3408 if test -z "$CC"; then
3409 # Extract the first word of "cc", so it can be a program name with args.
3410 set dummy cc
; ac_word
=$2
3411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3412 $as_echo_n "checking for $ac_word... " >&6; }
3413 if test "${ac_cv_prog_CC+set}" = set; then :
3414 $as_echo_n "(cached) " >&6
3416 if test -n "$CC"; then
3417 ac_cv_prog_CC
="$CC" # Let the user override the test.
3420 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3424 test -z "$as_dir" && as_dir
=.
3425 for ac_exec_ext
in '' $ac_executable_extensions; do
3426 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3427 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3428 ac_prog_rejected
=yes
3432 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3439 if test $ac_prog_rejected = yes; then
3440 # We found a bogon in the path, so make sure we never use it.
3441 set dummy
$ac_cv_prog_CC
3443 if test $# != 0; then
3444 # We chose a different compiler from the bogus one.
3445 # However, it has the same basename, so the bogon will be chosen
3446 # first if we set CC to just the basename; use the full file name.
3448 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3454 if test -n "$CC"; then
3455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3456 $as_echo "$CC" >&6; }
3458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3459 $as_echo "no" >&6; }
3464 if test -z "$CC"; then
3465 if test -n "$ac_tool_prefix"; then
3466 for ac_prog
in cl.exe
3468 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3469 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3471 $as_echo_n "checking for $ac_word... " >&6; }
3472 if test "${ac_cv_prog_CC+set}" = set; then :
3473 $as_echo_n "(cached) " >&6
3475 if test -n "$CC"; then
3476 ac_cv_prog_CC
="$CC" # Let the user override the test.
3478 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3482 test -z "$as_dir" && as_dir
=.
3483 for ac_exec_ext
in '' $ac_executable_extensions; do
3484 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3485 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3486 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3496 if test -n "$CC"; then
3497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3498 $as_echo "$CC" >&6; }
3500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3501 $as_echo "no" >&6; }
3505 test -n "$CC" && break
3508 if test -z "$CC"; then
3510 for ac_prog
in cl.exe
3512 # Extract the first word of "$ac_prog", so it can be a program name with args.
3513 set dummy
$ac_prog; ac_word
=$2
3514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3515 $as_echo_n "checking for $ac_word... " >&6; }
3516 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3517 $as_echo_n "(cached) " >&6
3519 if test -n "$ac_ct_CC"; then
3520 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3522 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3526 test -z "$as_dir" && as_dir
=.
3527 for ac_exec_ext
in '' $ac_executable_extensions; do
3528 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3529 ac_cv_prog_ac_ct_CC
="$ac_prog"
3530 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3539 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3540 if test -n "$ac_ct_CC"; then
3541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3542 $as_echo "$ac_ct_CC" >&6; }
3544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3545 $as_echo "no" >&6; }
3549 test -n "$ac_ct_CC" && break
3552 if test "x$ac_ct_CC" = x
; then
3555 case $cross_compiling:$ac_tool_warned in
3557 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3558 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3559 ac_tool_warned
=yes ;;
3568 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3569 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3570 as_fn_error
"no acceptable C compiler found in \$PATH
3571 See \`config.log' for more details." "$LINENO" 5; }
3573 # Provide some information about the compiler.
3574 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3577 for ac_option
in --version -v -V -qversion; do
3578 { { ac_try
="$ac_compiler $ac_option >&5"
3580 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3581 *) ac_try_echo=$ac_try;;
3583 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3584 $as_echo "$ac_try_echo"; } >&5
3585 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3587 if test -s conftest.err; then
3589 ... rest of stderr output deleted ...
3590 10q' conftest.err >conftest.er1
3591 cat conftest.er1 >&5
3592 rm -f conftest.er1 conftest.err
3594 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3595 test $ac_status = 0; }
3598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3599 /* end confdefs.h. */
3609 ac_clean_files_save=$ac_clean_files
3610 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3611 # Try to create an executable without -o first, disregard a.out.
3612 # It will help us diagnose broken compilers, and finding out an intuition
3614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3615 $as_echo_n "checking for C compiler default output file name... " >&6; }
3616 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3618 # The possible output files:
3619 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3622 for ac_file in $ac_files
3625 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3626 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3631 if { { ac_try="$ac_link_default"
3633 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3634 *) ac_try_echo
=$ac_try;;
3636 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3637 $as_echo "$ac_try_echo"; } >&5
3638 (eval "$ac_link_default") 2>&5
3640 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3641 test $ac_status = 0; }; then :
3642 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3643 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3644 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3645 # so that the user can short-circuit this test for compilers unknown to
3647 for ac_file
in $ac_files ''
3649 test -f "$ac_file" ||
continue
3651 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3654 # We found the default executable, but exeext='' is most
3658 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3660 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3662 # We set ac_cv_exeext here because the later test for it is not
3663 # safe: cross compilers may not add the suffix if given an `-o'
3664 # argument, so we may need to know it at that point already.
3665 # Even if this section looks crufty: it has the advantage of
3672 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3678 $as_echo "$ac_file" >&6; }
3679 if test -z "$ac_file"; then :
3680 $as_echo "$as_me: failed program was:" >&5
3681 sed 's/^/| /' conftest.
$ac_ext >&5
3683 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3684 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3685 { as_fn_set_status
77
3686 as_fn_error
"C compiler cannot create executables
3687 See \`config.log' for more details." "$LINENO" 5; }; }
3689 ac_exeext
=$ac_cv_exeext
3691 # Check that the compiler produces executables we can run. If not, either
3692 # the compiler is broken, or we cross compile.
3693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3694 $as_echo_n "checking whether the C compiler works... " >&6; }
3695 # If not cross compiling, check that we can run a simple program.
3696 if test "$cross_compiling" != yes; then
3697 if { ac_try
='./$ac_file'
3698 { { case "(($ac_try" in
3699 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3700 *) ac_try_echo=$ac_try;;
3702 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3703 $as_echo "$ac_try_echo"; } >&5
3704 (eval "$ac_try") 2>&5
3706 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3707 test $ac_status = 0; }; }; then
3710 if test "$cross_compiling" = maybe; then
3713 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3714 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3715 as_fn_error "cannot run C compiled programs.
3716 If you meant to cross compile
, use \
`--host'.
3717 See \`config.log
' for more details." "$LINENO" 5; }
3721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3722 $as_echo "yes" >&6; }
3724 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3725 ac_clean_files=$ac_clean_files_save
3726 # Check that the compiler produces executables we can run. If not, either
3727 # the compiler is broken, or we cross compile.
3728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3729 $as_echo_n "checking whether we are cross compiling... " >&6; }
3730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3731 $as_echo "$cross_compiling" >&6; }
3733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3734 $as_echo_n "checking for suffix of executables... " >&6; }
3735 if { { ac_try="$ac_link"
3737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3738 *) ac_try_echo=$ac_try;;
3740 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3741 $as_echo "$ac_try_echo"; } >&5
3742 (eval "$ac_link") 2>&5
3744 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3745 test $ac_status = 0; }; then :
3746 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3747 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3748 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3750 for ac_file
in conftest.exe conftest conftest.
*; do
3751 test -f "$ac_file" ||
continue
3753 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3754 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3760 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3761 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3762 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3763 See \`config.log' for more details." "$LINENO" 5; }
3765 rm -f conftest
$ac_cv_exeext
3766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3767 $as_echo "$ac_cv_exeext" >&6; }
3769 rm -f conftest.
$ac_ext
3770 EXEEXT
=$ac_cv_exeext
3772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3773 $as_echo_n "checking for suffix of object files... " >&6; }
3774 if test "${ac_cv_objext+set}" = set; then :
3775 $as_echo_n "(cached) " >&6
3777 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3778 /* end confdefs.h. */
3788 rm -f conftest.o conftest.obj
3789 if { { ac_try
="$ac_compile"
3791 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3792 *) ac_try_echo=$ac_try;;
3794 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3795 $as_echo "$ac_try_echo"; } >&5
3796 (eval "$ac_compile") 2>&5
3798 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3799 test $ac_status = 0; }; then :
3800 for ac_file in conftest.o conftest.obj conftest.*; do
3801 test -f "$ac_file" || continue;
3803 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3804 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3809 $as_echo "$as_me: failed program was:" >&5
3810 sed 's/^/| /' conftest.$ac_ext >&5
3812 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3813 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3814 as_fn_error "cannot compute suffix of object files
: cannot compile
3815 See \
`config.log' for more details." "$LINENO" 5; }
3817 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3820 $as_echo "$ac_cv_objext" >&6; }
3821 OBJEXT=$ac_cv_objext
3823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3824 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3825 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3826 $as_echo_n "(cached) " >&6
3828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3829 /* end confdefs.h. */
3842 if ac_fn_c_try_compile "$LINENO"; then :
3847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3848 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3852 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3853 if test $ac_compiler_gnu = yes; then
3858 ac_test_CFLAGS=${CFLAGS+set}
3859 ac_save_CFLAGS=$CFLAGS
3860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3861 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3862 if test "${ac_cv_prog_cc_g+set}" = set; then :
3863 $as_echo_n "(cached) " >&6
3865 ac_save_c_werror_flag=$ac_c_werror_flag
3866 ac_c_werror_flag=yes
3869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3870 /* end confdefs.h. */
3880 if ac_fn_c_try_compile "$LINENO"; then :
3884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3885 /* end confdefs.h. */
3895 if ac_fn_c_try_compile "$LINENO"; then :
3898 ac_c_werror_flag=$ac_save_c_werror_flag
3900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3901 /* end confdefs.h. */
3911 if ac_fn_c_try_compile "$LINENO"; then :
3914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3919 ac_c_werror_flag=$ac_save_c_werror_flag
3921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3922 $as_echo "$ac_cv_prog_cc_g" >&6; }
3923 if test "$ac_test_CFLAGS" = set; then
3924 CFLAGS=$ac_save_CFLAGS
3925 elif test $ac_cv_prog_cc_g = yes; then
3926 if test "$GCC" = yes; then
3932 if test "$GCC" = yes; then
3938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3939 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3940 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3941 $as_echo_n "(cached) " >&6
3943 ac_cv_prog_cc_c89=no
3945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3946 /* end confdefs.h. */
3949 #include <sys/types.h>
3950 #include <sys/stat.h>
3951 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3952 struct buf { int x; };
3953 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3954 static char *e (p, i)
3960 static char *f (char * (*g) (char **, int), char **p, ...)
3965 s = g (p, va_arg (v,int));
3970 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3971 function prototypes and stuff, but not '\xHH' hex character constants.
3972 These don't provoke an error unfortunately, instead are silently treated
3973 as 'x'. The following induces an error, until -std is added to get
3974 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3975 array size at least. It's necessary to write '\x00'==0 to get something
3976 that's true only with -std. */
3977 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3979 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3980 inside strings and character constants. */
3982 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3984 int test (int i, double x);
3985 struct s1 {int (*f) (int a);};
3986 struct s2 {int (*f) (double a);};
3987 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3993 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3998 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3999 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4001 CC="$ac_save_CC $ac_arg"
4002 if ac_fn_c_try_compile "$LINENO"; then :
4003 ac_cv_prog_cc_c89=$ac_arg
4005 rm -f core conftest.err conftest.$ac_objext
4006 test "x$ac_cv_prog_cc_c89" != "xno" && break
4008 rm -f conftest.$ac_ext
4013 case "x$ac_cv_prog_cc_c89" in
4015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4016 $as_echo "none needed" >&6; } ;;
4018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4019 $as_echo "unsupported" >&6; } ;;
4021 CC="$CC $ac_cv_prog_cc_c89"
4022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4023 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4025 if test "x$ac_cv_prog_cc_c89" != xno; then :
4030 ac_cpp='$CPP $CPPFLAGS'
4031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4037 ac_cpp='$CPP $CPPFLAGS'
4038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4042 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4043 # On Suns, sometimes $CPP names a directory.
4044 if test -n "$CPP" && test -d "$CPP"; then
4047 if test -z "$CPP"; then
4048 if test "${ac_cv_prog_CPP+set}" = set; then :
4049 $as_echo_n "(cached) " >&6
4051 # Double quotes because CPP needs to be expanded
4052 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4055 for ac_c_preproc_warn_flag in '' yes
4057 # Use a header file that comes with gcc, so configuring glibc
4058 # with a fresh cross-compiler works.
4059 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4060 # <limits.h> exists even on freestanding compilers.
4061 # On the NeXT, cc -E runs the code through the compiler's parser,
4062 # not just through cpp. "Syntax error" is here to catch this case.
4063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4064 /* end confdefs.h. */
4066 # include <limits.h>
4068 # include <assert.h>
4072 if ac_fn_c_try_cpp "$LINENO"; then :
4075 # Broken: fails on valid input.
4078 rm -f conftest.err conftest.$ac_ext
4080 # OK, works on sane cases. Now check whether nonexistent headers
4081 # can be detected and how.
4082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4083 /* end confdefs.h. */
4084 #include <ac_nonexistent.h>
4086 if ac_fn_c_try_cpp "$LINENO"; then :
4087 # Broken: success on invalid input.
4090 # Passes both tests.
4094 rm -f conftest.err conftest.$ac_ext
4097 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4098 rm -f conftest.err conftest.
$ac_ext
4099 if $ac_preproc_ok; then :
4111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4112 $as_echo "$CPP" >&6; }
4114 for ac_c_preproc_warn_flag
in '' yes
4116 # Use a header file that comes with gcc, so configuring glibc
4117 # with a fresh cross-compiler works.
4118 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4119 # <limits.h> exists even on freestanding compilers.
4120 # On the NeXT, cc -E runs the code through the compiler's parser,
4121 # not just through cpp. "Syntax error" is here to catch this case.
4122 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4123 /* end confdefs.h. */
4125 # include <limits.h>
4127 # include <assert.h>
4131 if ac_fn_c_try_cpp
"$LINENO"; then :
4134 # Broken: fails on valid input.
4137 rm -f conftest.err conftest.
$ac_ext
4139 # OK, works on sane cases. Now check whether nonexistent headers
4140 # can be detected and how.
4141 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4142 /* end confdefs.h. */
4143 #include <ac_nonexistent.h>
4145 if ac_fn_c_try_cpp
"$LINENO"; then :
4146 # Broken: success on invalid input.
4149 # Passes both tests.
4153 rm -f conftest.err conftest.
$ac_ext
4156 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4157 rm -f conftest.err conftest.
$ac_ext
4158 if $ac_preproc_ok; then :
4161 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4162 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4163 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
4164 See \`config.log' for more details." "$LINENO" 5; }
4168 ac_cpp
='$CPP $CPPFLAGS'
4169 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4170 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4171 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4175 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4176 if test "${ac_cv_path_GREP+set}" = set; then :
4177 $as_echo_n "(cached) " >&6
4179 if test -z "$GREP"; then
4180 ac_path_GREP_found
=false
4181 # Loop through the user's path and test for each of PROGNAME-LIST
4182 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4183 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4186 test -z "$as_dir" && as_dir
=.
4187 for ac_prog
in grep ggrep
; do
4188 for ac_exec_ext
in '' $ac_executable_extensions; do
4189 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4190 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4191 # Check for GNU ac_path_GREP and select it if it is found.
4192 # Check for GNU $ac_path_GREP
4193 case `"$ac_path_GREP" --version 2>&1` in
4195 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4198 $as_echo_n 0123456789 >"conftest.in"
4201 cat "conftest.in" "conftest.in" >"conftest.tmp"
4202 mv "conftest.tmp" "conftest.in"
4203 cp "conftest.in" "conftest.nl"
4204 $as_echo 'GREP' >> "conftest.nl"
4205 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4206 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4207 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4208 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4209 # Best one so far, save it but keep looking for a better one
4210 ac_cv_path_GREP
="$ac_path_GREP"
4211 ac_path_GREP_max
=$ac_count
4213 # 10*(2^10) chars as input seems more than enough
4214 test $ac_count -gt 10 && break
4216 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4219 $ac_path_GREP_found && break 3
4224 if test -z "$ac_cv_path_GREP"; then
4225 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4228 ac_cv_path_GREP
=$GREP
4232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4233 $as_echo "$ac_cv_path_GREP" >&6; }
4234 GREP
="$ac_cv_path_GREP"
4237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4238 $as_echo_n "checking for egrep... " >&6; }
4239 if test "${ac_cv_path_EGREP+set}" = set; then :
4240 $as_echo_n "(cached) " >&6
4242 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4243 then ac_cv_path_EGREP
="$GREP -E"
4245 if test -z "$EGREP"; then
4246 ac_path_EGREP_found
=false
4247 # Loop through the user's path and test for each of PROGNAME-LIST
4248 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4249 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4252 test -z "$as_dir" && as_dir
=.
4253 for ac_prog
in egrep; do
4254 for ac_exec_ext
in '' $ac_executable_extensions; do
4255 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4256 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4257 # Check for GNU ac_path_EGREP and select it if it is found.
4258 # Check for GNU $ac_path_EGREP
4259 case `"$ac_path_EGREP" --version 2>&1` in
4261 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4264 $as_echo_n 0123456789 >"conftest.in"
4267 cat "conftest.in" "conftest.in" >"conftest.tmp"
4268 mv "conftest.tmp" "conftest.in"
4269 cp "conftest.in" "conftest.nl"
4270 $as_echo 'EGREP' >> "conftest.nl"
4271 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4272 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4273 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4274 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4275 # Best one so far, save it but keep looking for a better one
4276 ac_cv_path_EGREP
="$ac_path_EGREP"
4277 ac_path_EGREP_max
=$ac_count
4279 # 10*(2^10) chars as input seems more than enough
4280 test $ac_count -gt 10 && break
4282 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4285 $ac_path_EGREP_found && break 3
4290 if test -z "$ac_cv_path_EGREP"; then
4291 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4294 ac_cv_path_EGREP
=$EGREP
4299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4300 $as_echo "$ac_cv_path_EGREP" >&6; }
4301 EGREP
="$ac_cv_path_EGREP"
4304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4305 $as_echo_n "checking for ANSI C header files... " >&6; }
4306 if test "${ac_cv_header_stdc+set}" = set; then :
4307 $as_echo_n "(cached) " >&6
4309 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4310 /* end confdefs.h. */
4324 if ac_fn_c_try_compile
"$LINENO"; then :
4325 ac_cv_header_stdc
=yes
4327 ac_cv_header_stdc
=no
4329 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4331 if test $ac_cv_header_stdc = yes; then
4332 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4333 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4334 /* end confdefs.h. */
4338 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4339 $EGREP "memchr" >/dev
/null
2>&1; then :
4342 ac_cv_header_stdc
=no
4348 if test $ac_cv_header_stdc = yes; then
4349 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4350 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4351 /* end confdefs.h. */
4355 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4356 $EGREP "free" >/dev
/null
2>&1; then :
4359 ac_cv_header_stdc
=no
4365 if test $ac_cv_header_stdc = yes; then
4366 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4367 if test "$cross_compiling" = yes; then :
4370 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4371 /* end confdefs.h. */
4374 #if ((' ' & 0x0FF) == 0x020)
4375 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4376 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4378 # define ISLOWER(c) \
4379 (('a' <= (c) && (c) <= 'i') \
4380 || ('j' <= (c) && (c) <= 'r') \
4381 || ('s' <= (c) && (c) <= 'z'))
4382 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4385 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4390 for (i = 0; i < 256; i++)
4391 if (XOR (islower (i), ISLOWER (i))
4392 || toupper (i) != TOUPPER (i))
4397 if ac_fn_c_try_run
"$LINENO"; then :
4400 ac_cv_header_stdc
=no
4402 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4403 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4409 $as_echo "$ac_cv_header_stdc" >&6; }
4410 if test $ac_cv_header_stdc = yes; then
4412 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4416 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4417 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4418 inttypes.h stdint.h unistd.h
4420 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4421 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4423 eval as_val
=\$
$as_ac_Header
4424 if test "x$as_val" = x
""yes; then :
4425 cat >>confdefs.h
<<_ACEOF
4426 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4435 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4436 if test "x$ac_cv_header_minix_config_h" = x
""yes; then :
4443 if test "$MINIX" = yes; then
4445 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4448 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4451 $as_echo "#define _MINIX 1" >>confdefs.h
4456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4457 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4458 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
4459 $as_echo_n "(cached) " >&6
4461 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4462 /* end confdefs.h. */
4464 # define __EXTENSIONS__ 1
4465 $ac_includes_default
4474 if ac_fn_c_try_compile
"$LINENO"; then :
4475 ac_cv_safe_to_define___extensions__
=yes
4477 ac_cv_safe_to_define___extensions__
=no
4479 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4482 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4483 test $ac_cv_safe_to_define___extensions__ = yes &&
4484 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4486 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4488 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4490 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4492 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4496 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4497 if test "${ac_cv_path_SED+set}" = set; then :
4498 $as_echo_n "(cached) " >&6
4500 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
4501 for ac_i
in 1 2 3 4 5 6 7; do
4502 ac_script
="$ac_script$as_nl$ac_script"
4504 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
4505 { ac_script
=; unset ac_script
;}
4506 if test -z "$SED"; then
4507 ac_path_SED_found
=false
4508 # Loop through the user's path and test for each of PROGNAME-LIST
4509 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4513 test -z "$as_dir" && as_dir
=.
4514 for ac_prog
in sed gsed
; do
4515 for ac_exec_ext
in '' $ac_executable_extensions; do
4516 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
4517 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
4518 # Check for GNU ac_path_SED and select it if it is found.
4519 # Check for GNU $ac_path_SED
4520 case `"$ac_path_SED" --version 2>&1` in
4522 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
4525 $as_echo_n 0123456789 >"conftest.in"
4528 cat "conftest.in" "conftest.in" >"conftest.tmp"
4529 mv "conftest.tmp" "conftest.in"
4530 cp "conftest.in" "conftest.nl"
4531 $as_echo '' >> "conftest.nl"
4532 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4533 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4534 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4535 if test $ac_count -gt ${ac_path_SED_max-0}; then
4536 # Best one so far, save it but keep looking for a better one
4537 ac_cv_path_SED
="$ac_path_SED"
4538 ac_path_SED_max
=$ac_count
4540 # 10*(2^10) chars as input seems more than enough
4541 test $ac_count -gt 10 && break
4543 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4546 $ac_path_SED_found && break 3
4551 if test -z "$ac_cv_path_SED"; then
4552 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
4559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4560 $as_echo "$ac_cv_path_SED" >&6; }
4561 SED
="$ac_cv_path_SED"
4565 # Figure out what compiler warnings we can enable.
4566 # See config/warnings.m4 for details.
4569 ac_cpp
='$CPP $CPPFLAGS'
4570 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4571 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4572 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4575 save_CFLAGS
="$CFLAGS"
4576 for real_option
in -W -Wall -Wwrite-strings -Wstrict-prototypes \
4577 -Wmissing-prototypes -Wold-style-definition \
4578 -Wmissing-format-attribute -Wno-overlength-strings; do
4579 # Do the check with the no- prefix removed since gcc silently
4580 # accepts any -Wno-* option on purpose
4581 case $real_option in
4582 -Wno-*) option
=-W`expr x$real_option : 'x-Wno-\(.*\)'` ;;
4583 *) option
=$real_option ;;
4585 as_acx_Woption
=`$as_echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh`
4587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $option" >&5
4588 $as_echo_n "checking whether $CC supports $option... " >&6; }
4589 if { as_var
=$as_acx_Woption; eval "test \"\${$as_var+set}\" = set"; }; then :
4590 $as_echo_n "(cached) " >&6
4593 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4594 /* end confdefs.h. */
4604 if ac_fn_c_try_compile
"$LINENO"; then :
4605 eval "$as_acx_Woption=yes"
4607 eval "$as_acx_Woption=no"
4609 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4612 eval ac_res
=\$
$as_acx_Woption
4613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
4614 $as_echo "$ac_res" >&6; }
4615 if test `eval 'as_val=${'$as_acx_Woption'};$as_echo "$as_val"'` = yes; then :
4616 WARN_CFLAGS
="$WARN_CFLAGS${WARN_CFLAGS:+ }$real_option"
4619 CFLAGS
="$save_CFLAGS"
4621 ac_cpp
='$CPP $CPPFLAGS'
4622 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4623 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4624 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4628 ac_cpp
='$CPP $CPPFLAGS'
4629 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4630 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4631 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4634 # Do the check with the no- prefix removed from the warning options
4635 # since gcc silently accepts any -Wno-* option on purpose
4636 if test "$GCC" = yes; then :
4637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -pedantic -Wlong-long" >&5
4638 $as_echo_n "checking whether $CC supports -pedantic -Wlong-long... " >&6; }
4639 if test "${acx_cv_prog_cc_pedantic__Wlong_long+set}" = set; then :
4640 $as_echo_n "(cached) " >&6
4642 save_CFLAGS
="$CFLAGS"
4643 CFLAGS
="-pedantic -Wlong-long"
4644 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4645 /* end confdefs.h. */
4655 if ac_fn_c_try_compile
"$LINENO"; then :
4656 acx_cv_prog_cc_pedantic__Wlong_long
=yes
4658 acx_cv_prog_cc_pedantic__Wlong_long
=no
4660 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4661 CFLAGS
="$save_CFLAGS"
4663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_prog_cc_pedantic__Wlong_long" >&5
4664 $as_echo "$acx_cv_prog_cc_pedantic__Wlong_long" >&6; }
4665 if test $acx_cv_prog_cc_pedantic__Wlong_long = yes; then :
4666 WARN_PEDANTIC
="$WARN_PEDANTIC${WARN_PEDANTIC:+ }-pedantic -Wno-long-long"
4671 ac_cpp
='$CPP $CPPFLAGS'
4672 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4673 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4674 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4678 # Only enable with --enable-werror-always until existing warnings are
4681 ac_cpp
='$CPP $CPPFLAGS'
4682 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4683 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4684 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4687 # Check whether --enable-werror-always was given.
4688 if test "${enable_werror_always+set}" = set; then :
4689 enableval
=$enable_werror_always;
4691 enable_werror_always
=no
4694 if test $enable_werror_always = yes; then :
4695 WERROR
="$WERROR${WERROR:+ }-Werror"
4699 ac_cpp
='$CPP $CPPFLAGS'
4700 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4701 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4702 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4706 # Determine the noncanonical target name, for directory use.
4707 case ${build_alias} in
4708 "") build_noncanonical
=${build} ;;
4709 *) build_noncanonical
=${build_alias} ;;
4712 case ${host_alias} in
4713 "") host_noncanonical
=${build_noncanonical} ;;
4714 *) host_noncanonical
=${host_alias} ;;
4717 case ${target_alias} in
4718 "") target_noncanonical
=${host_noncanonical} ;;
4719 *) target_noncanonical
=${target_alias} ;;
4725 # Specify the local prefix
4728 # Check whether --with-local-prefix was given.
4729 if test "${with_local_prefix+set}" = set; then :
4730 withval
=$with_local_prefix; case "${withval}" in
4731 yes) as_fn_error
"bad value ${withval} given for local include directory prefix" "$LINENO" 5 ;;
4733 *) local_prefix
=$with_local_prefix ;;
4738 # Default local prefix if it is empty
4739 if test x
$local_prefix = x
; then
4740 local_prefix
=/usr
/local
4743 # Choose one or two-process fix methodology. Systems that cannot handle
4744 # bi-directional pipes must use the two process method.
4746 # Check whether --enable-twoprocess was given.
4747 if test "${enable_twoprocess+set}" = set; then :
4748 enableval
=$enable_twoprocess; if test "x$enable_twoprocess" = xyes
; then
4755 i?
86-*-msdosdjgpp* | \
4757 x86_64-
*-mingw32* | \
4771 if test $TARGET = twoprocess
; then
4773 $as_echo "#define SEPARATE_FIX_PROC 1" >>confdefs.h
4780 $as_echo "#define exit xexit" >>confdefs.h
4783 $as_echo "#define atexit xatexit" >>confdefs.h
4789 cat >>confdefs.h
<<_ACEOF
4790 #define EXE_EXT "$ac_exeext"
4794 # Checks for header files.
4795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4796 $as_echo_n "checking for ANSI C header files... " >&6; }
4797 if test "${ac_cv_header_stdc+set}" = set; then :
4798 $as_echo_n "(cached) " >&6
4800 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4801 /* end confdefs.h. */
4815 if ac_fn_c_try_compile
"$LINENO"; then :
4816 ac_cv_header_stdc
=yes
4818 ac_cv_header_stdc
=no
4820 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4822 if test $ac_cv_header_stdc = yes; then
4823 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4824 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4825 /* end confdefs.h. */
4829 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4830 $EGREP "memchr" >/dev
/null
2>&1; then :
4833 ac_cv_header_stdc
=no
4839 if test $ac_cv_header_stdc = yes; then
4840 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4841 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4842 /* end confdefs.h. */
4846 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4847 $EGREP "free" >/dev
/null
2>&1; then :
4850 ac_cv_header_stdc
=no
4856 if test $ac_cv_header_stdc = yes; then
4857 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4858 if test "$cross_compiling" = yes; then :
4861 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4862 /* end confdefs.h. */
4865 #if ((' ' & 0x0FF) == 0x020)
4866 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4867 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4869 # define ISLOWER(c) \
4870 (('a' <= (c) && (c) <= 'i') \
4871 || ('j' <= (c) && (c) <= 'r') \
4872 || ('s' <= (c) && (c) <= 'z'))
4873 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4876 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4881 for (i = 0; i < 256; i++)
4882 if (XOR (islower (i), ISLOWER (i))
4883 || toupper (i) != TOUPPER (i))
4888 if ac_fn_c_try_run
"$LINENO"; then :
4891 ac_cv_header_stdc
=no
4893 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4894 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4900 $as_echo "$ac_cv_header_stdc" >&6; }
4901 if test $ac_cv_header_stdc = yes; then
4903 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4907 for ac_header
in stddef.h stdlib.h
strings.h unistd.h fcntl.h sys
/file.h \
4910 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4911 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4912 eval as_val
=\$
$as_ac_Header
4913 if test "x$as_val" = x
""yes; then :
4914 cat >>confdefs.h
<<_ACEOF
4915 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4923 for ac_func
in clearerr_unlocked feof_unlocked ferror_unlocked fflush_unlocked fgetc_unlocked fgets_unlocked fileno_unlocked fprintf_unlocked fputc_unlocked fputs_unlocked fread_unlocked fwrite_unlocked getchar_unlocked getc_unlocked putchar_unlocked putc_unlocked
4925 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4926 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
4927 eval as_val
=\$
$as_ac_var
4928 if test "x$as_val" = x
""yes; then :
4929 cat >>confdefs.h
<<_ACEOF
4930 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4936 ac_fn_c_check_decl
"$LINENO" "abort" "ac_cv_have_decl_abort" "$ac_includes_default"
4937 if test "x$ac_cv_have_decl_abort" = x
""yes; then :
4943 cat >>confdefs.h
<<_ACEOF
4944 #define HAVE_DECL_ABORT $ac_have_decl
4946 ac_fn_c_check_decl
"$LINENO" "asprintf" "ac_cv_have_decl_asprintf" "$ac_includes_default"
4947 if test "x$ac_cv_have_decl_asprintf" = x
""yes; then :
4953 cat >>confdefs.h
<<_ACEOF
4954 #define HAVE_DECL_ASPRINTF $ac_have_decl
4956 ac_fn_c_check_decl
"$LINENO" "basename(char *)" "ac_cv_have_decl_basename_char_p_" "$ac_includes_default"
4957 if test "x$ac_cv_have_decl_basename_char_p_" = x
""yes; then :
4963 cat >>confdefs.h
<<_ACEOF
4964 #define HAVE_DECL_BASENAME $ac_have_decl
4966 ac_fn_c_check_decl
"$LINENO" "errno" "ac_cv_have_decl_errno" "$ac_includes_default"
4967 if test "x$ac_cv_have_decl_errno" = x
""yes; then :
4973 cat >>confdefs.h
<<_ACEOF
4974 #define HAVE_DECL_ERRNO $ac_have_decl
4976 ac_fn_c_check_decl
"$LINENO" "vasprintf" "ac_cv_have_decl_vasprintf" "$ac_includes_default"
4977 if test "x$ac_cv_have_decl_vasprintf" = x
""yes; then :
4983 cat >>confdefs.h
<<_ACEOF
4984 #define HAVE_DECL_VASPRINTF $ac_have_decl
4987 ac_fn_c_check_decl
"$LINENO" "clearerr_unlocked" "ac_cv_have_decl_clearerr_unlocked" "$ac_includes_default"
4988 if test "x$ac_cv_have_decl_clearerr_unlocked" = x
""yes; then :
4994 cat >>confdefs.h
<<_ACEOF
4995 #define HAVE_DECL_CLEARERR_UNLOCKED $ac_have_decl
4997 ac_fn_c_check_decl
"$LINENO" "feof_unlocked" "ac_cv_have_decl_feof_unlocked" "$ac_includes_default"
4998 if test "x$ac_cv_have_decl_feof_unlocked" = x
""yes; then :
5004 cat >>confdefs.h
<<_ACEOF
5005 #define HAVE_DECL_FEOF_UNLOCKED $ac_have_decl
5007 ac_fn_c_check_decl
"$LINENO" "ferror_unlocked" "ac_cv_have_decl_ferror_unlocked" "$ac_includes_default"
5008 if test "x$ac_cv_have_decl_ferror_unlocked" = x
""yes; then :
5014 cat >>confdefs.h
<<_ACEOF
5015 #define HAVE_DECL_FERROR_UNLOCKED $ac_have_decl
5017 ac_fn_c_check_decl
"$LINENO" "fflush_unlocked" "ac_cv_have_decl_fflush_unlocked" "$ac_includes_default"
5018 if test "x$ac_cv_have_decl_fflush_unlocked" = x
""yes; then :
5024 cat >>confdefs.h
<<_ACEOF
5025 #define HAVE_DECL_FFLUSH_UNLOCKED $ac_have_decl
5027 ac_fn_c_check_decl
"$LINENO" "fgetc_unlocked" "ac_cv_have_decl_fgetc_unlocked" "$ac_includes_default"
5028 if test "x$ac_cv_have_decl_fgetc_unlocked" = x
""yes; then :
5034 cat >>confdefs.h
<<_ACEOF
5035 #define HAVE_DECL_FGETC_UNLOCKED $ac_have_decl
5037 ac_fn_c_check_decl
"$LINENO" "fgets_unlocked" "ac_cv_have_decl_fgets_unlocked" "$ac_includes_default"
5038 if test "x$ac_cv_have_decl_fgets_unlocked" = x
""yes; then :
5044 cat >>confdefs.h
<<_ACEOF
5045 #define HAVE_DECL_FGETS_UNLOCKED $ac_have_decl
5047 ac_fn_c_check_decl
"$LINENO" "fileno_unlocked" "ac_cv_have_decl_fileno_unlocked" "$ac_includes_default"
5048 if test "x$ac_cv_have_decl_fileno_unlocked" = x
""yes; then :
5054 cat >>confdefs.h
<<_ACEOF
5055 #define HAVE_DECL_FILENO_UNLOCKED $ac_have_decl
5057 ac_fn_c_check_decl
"$LINENO" "fprintf_unlocked" "ac_cv_have_decl_fprintf_unlocked" "$ac_includes_default"
5058 if test "x$ac_cv_have_decl_fprintf_unlocked" = x
""yes; then :
5064 cat >>confdefs.h
<<_ACEOF
5065 #define HAVE_DECL_FPRINTF_UNLOCKED $ac_have_decl
5067 ac_fn_c_check_decl
"$LINENO" "fputc_unlocked" "ac_cv_have_decl_fputc_unlocked" "$ac_includes_default"
5068 if test "x$ac_cv_have_decl_fputc_unlocked" = x
""yes; then :
5074 cat >>confdefs.h
<<_ACEOF
5075 #define HAVE_DECL_FPUTC_UNLOCKED $ac_have_decl
5077 ac_fn_c_check_decl
"$LINENO" "fputs_unlocked" "ac_cv_have_decl_fputs_unlocked" "$ac_includes_default"
5078 if test "x$ac_cv_have_decl_fputs_unlocked" = x
""yes; then :
5084 cat >>confdefs.h
<<_ACEOF
5085 #define HAVE_DECL_FPUTS_UNLOCKED $ac_have_decl
5087 ac_fn_c_check_decl
"$LINENO" "fread_unlocked" "ac_cv_have_decl_fread_unlocked" "$ac_includes_default"
5088 if test "x$ac_cv_have_decl_fread_unlocked" = x
""yes; then :
5094 cat >>confdefs.h
<<_ACEOF
5095 #define HAVE_DECL_FREAD_UNLOCKED $ac_have_decl
5097 ac_fn_c_check_decl
"$LINENO" "fwrite_unlocked" "ac_cv_have_decl_fwrite_unlocked" "$ac_includes_default"
5098 if test "x$ac_cv_have_decl_fwrite_unlocked" = x
""yes; then :
5104 cat >>confdefs.h
<<_ACEOF
5105 #define HAVE_DECL_FWRITE_UNLOCKED $ac_have_decl
5107 ac_fn_c_check_decl
"$LINENO" "getchar_unlocked" "ac_cv_have_decl_getchar_unlocked" "$ac_includes_default"
5108 if test "x$ac_cv_have_decl_getchar_unlocked" = x
""yes; then :
5114 cat >>confdefs.h
<<_ACEOF
5115 #define HAVE_DECL_GETCHAR_UNLOCKED $ac_have_decl
5117 ac_fn_c_check_decl
"$LINENO" "getc_unlocked" "ac_cv_have_decl_getc_unlocked" "$ac_includes_default"
5118 if test "x$ac_cv_have_decl_getc_unlocked" = x
""yes; then :
5124 cat >>confdefs.h
<<_ACEOF
5125 #define HAVE_DECL_GETC_UNLOCKED $ac_have_decl
5127 ac_fn_c_check_decl
"$LINENO" "putchar_unlocked" "ac_cv_have_decl_putchar_unlocked" "$ac_includes_default"
5128 if test "x$ac_cv_have_decl_putchar_unlocked" = x
""yes; then :
5134 cat >>confdefs.h
<<_ACEOF
5135 #define HAVE_DECL_PUTCHAR_UNLOCKED $ac_have_decl
5137 ac_fn_c_check_decl
"$LINENO" "putc_unlocked" "ac_cv_have_decl_putc_unlocked" "$ac_includes_default"
5138 if test "x$ac_cv_have_decl_putc_unlocked" = x
""yes; then :
5144 cat >>confdefs.h
<<_ACEOF
5145 #define HAVE_DECL_PUTC_UNLOCKED $ac_have_decl
5149 # Checks for typedefs, structures, and compiler characteristics.
5150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
5151 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
5152 if test "${ac_cv_c_const+set}" = set; then :
5153 $as_echo_n "(cached) " >&6
5155 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5156 /* end confdefs.h. */
5161 /* FIXME: Include the comments suggested by Paul. */
5163 /* Ultrix mips cc rejects this. */
5164 typedef int charset[2];
5166 /* SunOS 4.1.1 cc rejects this. */
5167 char const *const *pcpcc;
5169 /* NEC SVR4.0.2 mips cc rejects this. */
5170 struct point {int x, y;};
5171 static struct point const zero = {0,0};
5172 /* AIX XL C 1.02.0.0 rejects this.
5173 It does not let you subtract one const X* pointer from another in
5174 an arm of an if-expression whose if-part is not a constant
5176 const char *g = "string";
5177 pcpcc = &g + (g ? g-g : 0);
5178 /* HPUX 7.0 cc rejects these. */
5180 ppc = (char**) pcpcc;
5181 pcpcc = (char const *const *) ppc;
5182 { /* SCO 3.2v4 cc rejects this. */
5184 char const *s = 0 ? (char *) 0 : (char const *) 0;
5189 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
5191 const int *foo = &x[0];
5194 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
5195 typedef const int *iptr;
5199 { /* AIX XL C 1.02.0.0 rejects this saying
5200 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
5201 struct s { int j; const int *ap[3]; };
5202 struct s *b; b->j = 5;
5204 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
5208 return !cs[0] && !zero.x;
5215 if ac_fn_c_try_compile
"$LINENO"; then :
5220 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
5223 $as_echo "$ac_cv_c_const" >&6; }
5224 if test $ac_cv_c_const = no
; then
5226 $as_echo "#define const /**/" >>confdefs.h
5231 # Checks for library functions.
5233 ac_fn_c_check_header_mongrel
"$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h" "$ac_includes_default"
5234 if test "x$ac_cv_header_sys_mman_h" = x
""yes; then :
5235 gcc_header_sys_mman_h
=yes
5237 gcc_header_sys_mman_h
=no
5241 ac_fn_c_check_func
"$LINENO" "mmap" "ac_cv_func_mmap"
5242 if test "x$ac_cv_func_mmap" = x
""yes; then :
5248 if test "$gcc_header_sys_mman_h" != yes \
5249 ||
test "$gcc_func_mmap" != yes; then
5250 gcc_cv_func_mmap_file
=no
5251 gcc_cv_func_mmap_dev_zero
=no
5252 gcc_cv_func_mmap_anon
=no
5254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether read-only mmap of a plain file works" >&5
5255 $as_echo_n "checking whether read-only mmap of a plain file works... " >&6; }
5256 if test "${gcc_cv_func_mmap_file+set}" = set; then :
5257 $as_echo_n "(cached) " >&6
5259 # Add a system to this blacklist if
5260 # mmap(0, stat_size, PROT_READ, MAP_PRIVATE, fd, 0) doesn't return a
5261 # memory area containing the same data that you'd get if you applied
5262 # read() to the same fd. The only system known to have a problem here
5263 # is VMS, where text files have record structure.
5266 gcc_cv_func_mmap_file
=no
;;
5268 gcc_cv_func_mmap_file
=yes;;
5271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_func_mmap_file" >&5
5272 $as_echo "$gcc_cv_func_mmap_file" >&6; }
5273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mmap from /dev/zero works" >&5
5274 $as_echo_n "checking whether mmap from /dev/zero works... " >&6; }
5275 if test "${gcc_cv_func_mmap_dev_zero+set}" = set; then :
5276 $as_echo_n "(cached) " >&6
5278 # Add a system to this blacklist if it has mmap() but /dev/zero
5279 # does not exist, or if mmapping /dev/zero does not give anonymous
5280 # zeroed pages with both the following properties:
5281 # 1. If you map N consecutive pages in with one call, and then
5282 # unmap any subset of those pages, the pages that were not
5283 # explicitly unmapped remain accessible.
5284 # 2. If you map two adjacent blocks of memory and then unmap them
5285 # both at once, they must both go away.
5286 # Systems known to be in this category are Windows (all variants),
5289 *vms
* | cygwin
* | pe | mingw
* | darwin
* | ultrix
* | hpux10
* | hpux11.00
)
5290 gcc_cv_func_mmap_dev_zero
=no
;;
5292 gcc_cv_func_mmap_dev_zero
=yes;;
5295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_func_mmap_dev_zero" >&5
5296 $as_echo "$gcc_cv_func_mmap_dev_zero" >&6; }
5298 # Unlike /dev/zero, the MAP_ANON(YMOUS) defines can be probed for.
5299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MAP_ANON(YMOUS)" >&5
5300 $as_echo_n "checking for MAP_ANON(YMOUS)... " >&6; }
5301 if test "${gcc_cv_decl_map_anon+set}" = set; then :
5302 $as_echo_n "(cached) " >&6
5304 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5305 /* end confdefs.h. */
5306 #include <sys/types.h>
5307 #include <sys/mman.h>
5310 #ifndef MAP_ANONYMOUS
5311 #define MAP_ANONYMOUS MAP_ANON
5317 int n = MAP_ANONYMOUS;
5322 if ac_fn_c_try_compile
"$LINENO"; then :
5323 gcc_cv_decl_map_anon
=yes
5325 gcc_cv_decl_map_anon
=no
5327 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_decl_map_anon" >&5
5330 $as_echo "$gcc_cv_decl_map_anon" >&6; }
5332 if test $gcc_cv_decl_map_anon = no
; then
5333 gcc_cv_func_mmap_anon
=no
5335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mmap with MAP_ANON(YMOUS) works" >&5
5336 $as_echo_n "checking whether mmap with MAP_ANON(YMOUS) works... " >&6; }
5337 if test "${gcc_cv_func_mmap_anon+set}" = set; then :
5338 $as_echo_n "(cached) " >&6
5340 # Add a system to this blacklist if it has mmap() and MAP_ANON or
5341 # MAP_ANONYMOUS, but using mmap(..., MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
5342 # doesn't give anonymous zeroed pages with the same properties listed
5343 # above for use of /dev/zero.
5344 # Systems known to be in this category are Windows, VMS, and SCO Unix.
5346 *vms
* | cygwin
* | pe | mingw
* | sco
* | udk
* )
5347 gcc_cv_func_mmap_anon
=no
;;
5349 gcc_cv_func_mmap_anon
=yes;;
5352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_func_mmap_anon" >&5
5353 $as_echo "$gcc_cv_func_mmap_anon" >&6; }
5357 if test $gcc_cv_func_mmap_file = yes; then
5359 $as_echo "#define HAVE_MMAP_FILE 1" >>confdefs.h
5362 if test $gcc_cv_func_mmap_dev_zero = yes; then
5364 $as_echo "#define HAVE_MMAP_DEV_ZERO 1" >>confdefs.h
5367 if test $gcc_cv_func_mmap_anon = yes; then
5369 $as_echo "#define HAVE_MMAP_ANON 1" >>confdefs.h
5374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5375 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5376 # Check whether --enable-maintainer-mode was given.
5377 if test "${enable_maintainer_mode+set}" = set; then :
5378 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
5380 USE_MAINTAINER_MODE
=no
5383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5384 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5385 if test "$USE_MAINTAINER_MODE" = yes; then
5392 cat >>confdefs.h
<<_ACEOF
5393 #define SED_PROGRAM "${SED}"
5397 # Determine what GCC version number to use in filesystem paths.
5399 get_gcc_base_ver
="cat"
5401 # Check whether --with-gcc-major-version-only was given.
5402 if test "${with_gcc_major_version_only+set}" = set; then :
5403 withval
=$with_gcc_major_version_only; if test x
$with_gcc_major_version_only = xyes
; then
5404 get_gcc_base_ver
="sed -e 's/^\([0-9]*\).*\$\$/\1/'"
5412 ac_config_headers
="$ac_config_headers config.h"
5414 ac_config_files
="$ac_config_files Makefile mkheaders.almost:mkheaders.in"
5416 cat >confcache
<<\_ACEOF
5417 # This file is a shell script that caches the results of configure
5418 # tests run on this system so they can be shared between configure
5419 # scripts and configure runs, see configure's option --config-cache.
5420 # It is not useful on other systems. If it contains results you don't
5421 # want to keep, you may remove or edit it.
5423 # config.status only pays attention to the cache file if you give it
5424 # the --recheck option to rerun configure.
5426 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5427 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5432 # The following way of writing the cache mishandles newlines in values,
5433 # but we know of no workaround that is simple, portable, and efficient.
5434 # So, we kill variables containing newlines.
5435 # Ultrix sh set writes to stderr and can't be redirected directly,
5436 # and sets the high bit in the cache file unless we assign to the vars.
5438 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5439 eval ac_val
=\$
$ac_var
5443 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5444 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5447 _ | IFS | as_nl
) ;; #(
5448 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
5449 *) { eval $ac_var=; unset $ac_var;} ;;
5455 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5456 *${as_nl}ac_space
=\
*)
5457 # `set' does not quote correctly, so add quotes: double-quote
5458 # substitution turns \\\\ into \\, and sed turns \\ into \.
5461 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5464 # `set' quotes correctly as required by POSIX, so do not add quotes.
5465 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5474 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5476 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5478 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
5479 if test -w "$cache_file"; then
5480 test "x$cache_file" != "x/dev/null" &&
5481 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5482 $as_echo "$as_me: updating cache $cache_file" >&6;}
5483 cat confcache
>$cache_file
5485 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5486 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5491 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
5492 # Let make expand exec_prefix.
5493 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
5495 DEFS
=-DHAVE_CONFIG_H
5499 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
5500 # 1. Remove the extension, and $U if already installed.
5501 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
5502 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
5503 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5504 # will be set to the directory where LIBOBJS objects are built.
5505 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5506 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
5510 LTLIBOBJS
=$ac_ltlibobjs
5514 : ${CONFIG_STATUS=./config.status}
5516 ac_clean_files_save
=$ac_clean_files
5517 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
5518 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5519 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5521 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5523 # Generated by $as_me.
5524 # Run this file to recreate the current configuration.
5525 # Compiler output produced by configure, useful for debugging
5526 # configure, is in config.log if it exists.
5532 SHELL=\${CONFIG_SHELL-$SHELL}
5535 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
5536 ## -------------------- ##
5537 ## M4sh Initialization. ##
5538 ## -------------------- ##
5540 # Be more Bourne compatible
5541 DUALCASE
=1; export DUALCASE
# for MKS sh
5542 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
5545 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5546 # is contrary to our usage. Disable this feature.
5547 alias -g '${1+"$@"}'='"$@"'
5548 setopt NO_GLOB_SUBST
5550 case `(set -o) 2>/dev/null` in #(
5562 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5563 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5564 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5565 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5566 # Prefer a ksh shell builtin over an external printf program on Solaris,
5567 # but without wasting forks for bash or zsh.
5568 if test -z "$BASH_VERSION$ZSH_VERSION" \
5569 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5570 as_echo='print
-r --'
5571 as_echo_n='print
-rn --'
5572 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5573 as_echo='printf %s
\n'
5574 as_echo_n='printf %s
'
5576 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5577 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
5578 as_echo_n='/usr
/ucb
/echo -n'
5580 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5581 as_echo_n_body='eval
5585 expr "X$arg" : "X\\(.*\\)$as_nl";
5586 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5588 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
5590 export as_echo_n_body
5591 as_echo_n='sh
-c $as_echo_n_body as_echo
'
5594 as_echo='sh
-c $as_echo_body as_echo
'
5597 # The user is always right.
5598 if test "${PATH_SEPARATOR+set}" != set; then
5600 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5601 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5608 # We need space, tab and new line, in precisely that order. Quoting is
5609 # there to prevent editors from complaining about space-tab.
5610 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5611 # splitting by setting IFS to empty value.)
5614 # Find who we are. Look in the path if we contain no directory separator.
5616 *[\\/]* ) as_myself=$0 ;;
5617 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5621 test -z "$as_dir" && as_dir=.
5622 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5628 # We did not find ourselves, most probably we were run as `sh COMMAND'
5629 # in which case we are not to be found in the path.
5630 if test "x$as_myself" = x
; then
5633 if test ! -f "$as_myself"; then
5634 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5638 # Unset variables that we do not need and which cause bugs (e.g. in
5639 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5640 # suppresses any "Segmentation fault" message there. '((' could
5641 # trigger a bug in pdksh 5.2.14.
5642 for as_var
in BASH_ENV ENV MAIL MAILPATH
5643 do eval test x\
${$as_var+set} = xset \
5644 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
5657 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
5660 # as_fn_error ERROR [LINENO LOG_FD]
5661 # ---------------------------------
5662 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5663 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5664 # script with status $?, using 1 if that was 0.
5667 as_status
=$?
; test $as_status -eq 0 && as_status
=1
5669 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
5670 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
5672 $as_echo "$as_me: error: $1" >&2
5673 as_fn_exit
$as_status
5677 # as_fn_set_status STATUS
5678 # -----------------------
5679 # Set $? to STATUS, without forking.
5683 } # as_fn_set_status
5687 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5697 # Portably unset VAR.
5700 { eval $1=; unset $1;}
5702 as_unset
=as_fn_unset
5703 # as_fn_append VAR VALUE
5704 # ----------------------
5705 # Append the text in VALUE to the end of the definition contained in VAR. Take
5706 # advantage of any shell optimizations that allow amortized linear growth over
5707 # repeated appends, instead of the typical quadratic growth present in naive
5709 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
5710 eval 'as_fn_append ()
5721 # as_fn_arith ARG...
5722 # ------------------
5723 # Perform arithmetic evaluation on the ARGs, and store the result in the
5724 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5725 # must be portable across $(()) and expr.
5726 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
5727 eval 'as_fn_arith ()
5734 as_val
=`expr "$@" || test $? -eq 1`
5739 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
5740 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
5746 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5747 as_basename
=basename
5752 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
5758 as_me
=`$as_basename -- "$0" ||
5759 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5760 X"$0" : 'X\(//\)$' \| \
5761 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5763 sed '/^.*\/\([^/][^/]*\)\/*$/{
5777 # Avoid depending upon Character Ranges.
5778 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
5779 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5780 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
5781 as_cr_digits
='0123456789'
5782 as_cr_alnum
=$as_cr_Letters$as_cr_digits
5784 ECHO_C
= ECHO_N
= ECHO_T
=
5785 case `echo -n x` in #(((((
5787 case `echo 'xy\c'` in
5788 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
5790 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
5797 rm -f conf$$ conf$$.exe conf$$.
file
5798 if test -d conf$$.dir
; then
5799 rm -f conf$$.dir
/conf$$.
file
5802 mkdir conf$$.dir
2>/dev
/null
5804 if (echo >conf$$.
file) 2>/dev
/null
; then
5805 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
5807 # ... but there are two gotchas:
5808 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5809 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5810 # In both cases, we have to default to `cp -p'.
5811 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
5813 elif ln conf$$.
file conf$$
2>/dev
/null
; then
5821 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
5822 rmdir conf$$.dir
2>/dev
/null
5827 # Create "$as_dir" as a directory, including parents if necessary.
5832 -*) as_dir
=.
/$as_dir;;
5834 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
5838 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5839 *) as_qdir
=$as_dir;;
5841 as_dirs
="'$as_qdir' $as_dirs"
5842 as_dir
=`$as_dirname -- "$as_dir" ||
5843 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5844 X"$as_dir" : 'X\(//\)[^/]' \| \
5845 X"$as_dir" : 'X\(//\)$' \| \
5846 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5847 $as_echo X"$as_dir" |
5848 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5865 test -d "$as_dir" && break
5867 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
5868 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
5872 if mkdir
-p .
2>/dev
/null
; then
5873 as_mkdir_p
='mkdir -p "$as_dir"'
5875 test -d .
/-p && rmdir .
/-p
5879 if test -x / >/dev
/null
2>&1; then
5882 if ls -dL / >/dev
/null
2>&1; then
5889 if test -d "$1"; then
5895 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
5896 ???[sx]*):;;*)false;;esac;fi
5900 as_executable_p
=$as_test_x
5902 # Sed expression to map a string onto a valid CPP name.
5903 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5905 # Sed expression to map a string onto a valid variable name.
5906 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5910 ## ----------------------------------- ##
5911 ## Main body of $CONFIG_STATUS script. ##
5912 ## ----------------------------------- ##
5914 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
5916 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5917 # Save the log message, to keep $0 and so on meaningful, and to
5918 # report actual input values of CONFIG_FILES etc. instead of their
5919 # values after options handling.
5921 This file was extended by fixincludes $as_me , which was
5922 generated by GNU Autoconf 2.64. Invocation command line was
5924 CONFIG_FILES = $CONFIG_FILES
5925 CONFIG_HEADERS = $CONFIG_HEADERS
5926 CONFIG_LINKS = $CONFIG_LINKS
5927 CONFIG_COMMANDS = $CONFIG_COMMANDS
5930 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5935 case $ac_config_files in *"
5936 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
5939 case $ac_config_headers in *"
5940 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
5944 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5945 # Files that config.status was made for.
5946 config_files="$ac_config_files"
5947 config_headers="$ac_config_headers"
5951 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5953 \`$as_me' instantiates files and other configuration actions
5954 from templates according to the current configuration. Unless the files
5955 and actions are specified as TAGs, all are instantiated by default.
5957 Usage: $0 [OPTION]... [TAG]...
5959 -h, --help print this help, then exit
5960 -V, --version print version number and configuration settings, then exit
5961 -q, --quiet, --silent
5962 do not print progress messages
5963 -d, --debug don't remove temporary files
5964 --recheck update $as_me by reconfiguring in the same conditions
5965 --file=FILE[:TEMPLATE]
5966 instantiate the configuration file FILE
5967 --header=FILE[:TEMPLATE]
5968 instantiate the configuration header FILE
5970 Configuration files:
5973 Configuration headers:
5976 Report bugs to the package provider."
5979 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5981 fixincludes config.status
5982 configured by $0, generated by GNU Autoconf 2.64,
5983 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
5985 Copyright (C) 2009 Free Software Foundation, Inc.
5986 This config.status script is free software; the Free Software Foundation
5987 gives unlimited permission to copy, distribute and modify it."
5991 test -n "\$AWK" || AWK=awk
5994 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5995 # The default lists apply if the user does not specify any file.
6001 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
6002 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
6013 # Handling of the options.
6014 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
6016 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
6017 $as_echo "$ac_cs_version"; exit ;;
6018 --debug |
--debu |
--deb |
--de |
--d |
-d )
6020 --file |
--fil |
--fi |
--f )
6023 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6025 as_fn_append CONFIG_FILES
" '$ac_optarg'"
6026 ac_need_defaults
=false
;;
6027 --header |
--heade |
--head |
--hea )
6030 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6032 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
6033 ac_need_defaults
=false
;;
6035 # Conflict between --help and --header
6036 as_fn_error
"ambiguous option: \`$1'
6037 Try \`$0 --help' for more information.";;
6038 --help |
--hel |
-h )
6039 $as_echo "$ac_cs_usage"; exit ;;
6040 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
6041 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
6045 -*) as_fn_error
"unrecognized option: \`$1'
6046 Try \`$0 --help' for more information." ;;
6048 *) as_fn_append ac_config_targets
" $1"
6049 ac_need_defaults
=false
;;
6055 ac_configure_extra_args
=
6057 if $ac_cs_silent; then
6059 ac_configure_extra_args
="$ac_configure_extra_args --silent"
6063 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6064 if \$ac_cs_recheck; then
6065 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6067 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6068 CONFIG_SHELL='$SHELL'
6074 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6078 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6079 ## Running $as_me. ##
6085 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6088 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6090 # Handling of arguments.
6091 for ac_config_target
in $ac_config_targets
6093 case $ac_config_target in
6094 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
6095 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
6096 "mkheaders.almost") CONFIG_FILES
="$CONFIG_FILES mkheaders.almost:mkheaders.in" ;;
6098 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
6103 # If the user did not use the arguments to specify the items to instantiate,
6104 # then the envvar interface is used. Set only those that are not.
6105 # We use the long form for the default assignment because of an extremely
6106 # bizarre bug on SunOS 4.1.3.
6107 if $ac_need_defaults; then
6108 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
6109 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
6112 # Have a temporary directory for convenience. Make it in the build tree
6113 # simply because there is no reason against having it here, and in addition,
6114 # creating and moving files from /tmp can sometimes cause problems.
6115 # Hook for its removal unless debugging.
6116 # Note that there is a small window in which the directory will not be cleaned:
6117 # after its creation but before its name has been assigned to `$tmp'.
6121 trap 'exit_status=$?
6122 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
6124 trap 'as_fn_exit 1' 1 2 13 15
6126 # Create a (secure) tmp directory for tmp files.
6129 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6130 test -n "$tmp" && test -d "$tmp"
6133 tmp
=.
/conf$$
-$RANDOM
6134 (umask 077 && mkdir
"$tmp")
6135 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
6137 # Set up the scripts for CONFIG_FILES section.
6138 # No need to generate them if there are no CONFIG_FILES.
6139 # This happens for instance with `./config.status config.h'.
6140 if test -n "$CONFIG_FILES"; then
6143 ac_cr
=`echo X | tr X '\015'`
6144 # On cygwin, bash can eat \r inside `` if the user requested igncr.
6145 # But we know of no other shell where ac_cr would be empty at this
6146 # point, so we can use a bashism as a fallback.
6147 if test "x$ac_cr" = x
; then
6148 eval ac_cr
=\$
\'\\r
\'
6150 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6151 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6157 echo 'BEGIN {' >"$tmp/subs1.awk" &&
6162 echo "cat >conf$$subs.awk <<_ACEOF" &&
6163 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6166 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
6167 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
6169 for ac_last_try in false false false false false :; do
6170 . ./conf$$subs.sh ||
6171 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
6173 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
6174 if test $ac_delim_n = $ac_delim_num; then
6176 elif $ac_last_try; then
6177 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
6179 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
6184 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6185 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
6189 s/^/S["/; s
/!.
*/"]=/
6199 s/\(.\{148\}\).*/\1/
6201 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
6206 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
6213 s/\(.\{148\}\).*/\1/
6215 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
6219 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
6224 ' <conf$$subs.awk | sed '
6229 ' >>$CONFIG_STATUS || ac_write_fail=1
6230 rm -f conf$$subs.awk
6231 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6233 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
6234 for (key in S) S_is_set[key] = 1
6240 nfields = split(line, field, "@
")
6242 len = length(field[1])
6243 for (i = 2; i < nfields; i++) {
6245 keylen = length(key)
6246 if (S_is_set[key]) {
6248 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6249 len += length(value) + length(field[++i])
6260 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6261 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6262 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
6265 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
6266 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
6269 # VPATH may cause trouble with some makes, so we remove $(srcdir),
6270 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
6271 # trailing colons and then remove the whole line if VPATH becomes empty
6272 # (actually we leave an empty line to preserve line numbers).
6273 if test "x
$srcdir" = x.; then
6274 ac_vpsub='/^[ ]*VPATH[ ]*=/{
6278 s/^\([^=]*=[ ]*\):*/\1/
6284 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6285 fi # test -n "$CONFIG_FILES"
6287 # Set up the scripts for CONFIG_HEADERS section.
6288 # No need to generate them if there are no CONFIG_HEADERS.
6289 # This happens for instance with `./config.status Makefile'.
6290 if test -n "$CONFIG_HEADERS"; then
6291 cat >"$tmp/defines.
awk" <<\_ACAWK ||
6295 # Transform confdefs.h into an awk script `defines.awk', embedded as
6296 # here-document in config.status, that substitutes the proper values into
6297 # config.h.in to produce config.h.
6299 # Create a delimiter string that does not exist in confdefs.h, to ease
6300 # handling of long lines.
6302 for ac_last_try in false false :; do
6303 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
6304 if test -z "$ac_t"; then
6306 elif $ac_last_try; then
6307 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
6309 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
6313 # For the awk script, D is an array of macro values keyed by name,
6314 # likewise P contains macro parameters if any. Preserve backslash
6315 # newline sequences.
6317 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6319 s/.\{148\}/&'"$ac_delim"'/g
6322 s/^[ ]*#[ ]*define[ ][ ]*/ /
6329 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
6331 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
6335 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
6336 D["\
1"]=" \
3\\\\\\n
"\\/p
6338 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
6343 s/.\{148\}/&'"$ac_delim"'/g
6348 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
6351 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
6353 ' <confdefs.h | sed '
6354 s/'"$ac_delim"'/"\\\
6355 "/g' >>$CONFIG_STATUS || ac_write_fail=1
6357 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6358 for (key in D) D_is_set[key] = 1
6361 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6363 split(line, arg, " ")
6364 if (arg[1] == "#") {
6368 defundef
= substr
(arg
[1], 2)
6371 split(mac1
, mac2
, "(") #)
6373 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
6374 if (D_is_set
[macro
]) {
6375 # Preserve the white space surrounding the "#".
6376 print prefix
"define", macro P
[macro
] D
[macro
]
6379 # Replace #undef with comments. This is necessary, for example,
6380 # in the case of _POSIX_SOURCE, which is predefined and required
6381 # on some systems where configure will not decide to define it.
6382 if (defundef
== "undef") {
6383 print
"/*", prefix defundef
, macro
, "*/"
6391 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6392 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
6393 fi # test -n "$CONFIG_HEADERS"
6396 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS "
6401 :[FHLC
]) ac_mode
=$ac_tag; continue;;
6403 case $ac_mode$ac_tag in
6405 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
6406 :[FH
]-) ac_tag
=-:-;;
6407 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
6424 -) ac_f
="$tmp/stdin";;
6425 *) # Look for the file first in the build tree, then in the source tree
6426 # (if the path is not absolute). The absolute path cannot be DOS-style,
6427 # because $ac_f cannot contain `:'.
6431 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
6433 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
6435 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6436 as_fn_append ac_file_inputs
" '$ac_f'"
6439 # Let's still pretend it is `configure' which instantiates (i.e., don't
6440 # use $as_me), people would be surprised to read:
6441 # /* config.h. Generated by config.status. */
6442 configure_input
='Generated from '`
6443 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6445 if test x
"$ac_file" != x-
; then
6446 configure_input
="$ac_file. $configure_input"
6447 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6448 $as_echo "$as_me: creating $ac_file" >&6;}
6450 # Neutralize special characters interpreted by sed in replacement strings.
6451 case $configure_input in #(
6452 *\
&* |
*\|
* |
*\\* )
6453 ac_sed_conf_input
=`$as_echo "$configure_input" |
6454 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6455 *) ac_sed_conf_input
=$configure_input;;
6459 *:-:* |
*:-) cat >"$tmp/stdin" \
6460 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
6465 ac_dir
=`$as_dirname -- "$ac_file" ||
6466 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6467 X"$ac_file" : 'X\(//\)[^/]' \| \
6468 X"$ac_file" : 'X\(//\)$' \| \
6469 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6470 $as_echo X"$ac_file" |
6471 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6488 as_dir
="$ac_dir"; as_fn_mkdir_p
6492 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
6494 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6495 # A ".." for each directory in $ac_dir_suffix.
6496 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6497 case $ac_top_builddir_sub in
6498 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
6499 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
6502 ac_abs_top_builddir
=$ac_pwd
6503 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
6504 # for backward compatibility:
6505 ac_top_builddir
=$ac_top_build_prefix
6508 .
) # We are building in place.
6510 ac_top_srcdir
=$ac_top_builddir_sub
6511 ac_abs_top_srcdir
=$ac_pwd ;;
6512 [\\/]* | ?
:[\\/]* ) # Absolute name.
6513 ac_srcdir
=$srcdir$ac_dir_suffix;
6514 ac_top_srcdir
=$srcdir
6515 ac_abs_top_srcdir
=$srcdir ;;
6517 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
6518 ac_top_srcdir
=$ac_top_build_prefix$srcdir
6519 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
6521 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
6532 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6533 # If the template does not know about datarootdir, expand it.
6534 # FIXME: This hack should be removed a few years after 2.60.
6535 ac_datarootdir_hack
=; ac_datarootdir_seen
=
6546 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6547 *datarootdir
*) ac_datarootdir_seen
=yes;;
6548 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
6549 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6550 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6552 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6553 ac_datarootdir_hack='
6554 s&@datadir@&$datadir&g
6555 s&@docdir@&$docdir&g
6556 s&@infodir@&$infodir&g
6557 s&@localedir@&$localedir&g
6558 s&@mandir@&$mandir&g
6559 s&\\\${datarootdir}&$datarootdir&g' ;;
6563 # Neutralize VPATH when `$srcdir' = `.'.
6564 # Shell code in configure.ac might set extrasub.
6565 # FIXME: do we really want to maintain this feature?
6566 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6567 ac_sed_extra="$ac_vpsub
6570 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6572 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
6573 s|@configure_input@|
$ac_sed_conf_input|
;t t
6574 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
6575 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
6576 s
&@srcdir@
&$ac_srcdir&;t t
6577 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
6578 s
&@top_srcdir@
&$ac_top_srcdir&;t t
6579 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
6580 s
&@builddir@
&$ac_builddir&;t t
6581 s
&@abs_builddir@
&$ac_abs_builddir&;t t
6582 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
6583 $ac_datarootdir_hack
6585 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
6586 || as_fn_error "could not create
$ac_file" "$LINENO" 5
6588 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6589 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
6590 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
6591 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
6592 which seems to be undefined. Please make sure it is defined." >&5
6593 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
6594 which seems to be undefined. Please make sure it is defined." >&2;}
6598 -) cat "$tmp/out" && rm -f "$tmp/out";;
6599 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
6601 || as_fn_error "could not create $ac_file" "$LINENO" 5
6607 if test x"$ac_file" != x-; then
6609 $as_echo "/* $configure_input */" \
6610 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
6611 } >"$tmp/config.h" \
6612 || as_fn_error "could not create $ac_file" "$LINENO" 5
6613 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
6614 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6615 $as_echo "$as_me: $ac_file is unchanged" >&6;}
6618 mv "$tmp/config.h" "$ac_file" \
6619 || as_fn_error "could not create $ac_file" "$LINENO" 5
6622 $as_echo "/* $configure_input */" \
6623 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
6624 || as_fn_error "could not create -" "$LINENO" 5
6632 case $ac_file$ac_mode in
6633 "config.h":H) echo timestamp > stamp-h ;;
6641 ac_clean_files=$ac_clean_files_save
6643 test $ac_write_fail = 0 ||
6644 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
6647 # configure is writing to config.log, and then calls config.status.
6648 # config.status does its own redirection, appending to config.log.
6649 # Unfortunately, on DOS this fails, as config.log is still kept open
6650 # by configure, so config.status won't be able to
write to it
; its
6651 # output is simply discarded. So we exec the FD to /dev/null,
6652 # effectively closing config.log, so it can be properly (re)opened and
6653 # appended to by config.status. When coming back to configure, we
6654 # need to make the FD available again.
6655 if test "$no_create" != yes; then
6657 ac_config_status_args
=
6658 test "$silent" = yes &&
6659 ac_config_status_args
="$ac_config_status_args --quiet"
6661 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
6663 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6664 # would make configure fail if this is the last instruction.
6665 $ac_cs_success || as_fn_exit $?
6667 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
6668 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6669 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}