2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64.
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.
554 ac_unique_file
="table.h"
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
670 program_transform_name
683 enable_option_checking
685 enable_build_warnings
686 enable_sim_build_warnings
688 ac_precious_vars
='build_alias
699 # Initialize some variables set by options.
701 ac_init_version
=false
702 ac_unrecognized_opts
=
704 # The variables have the same names as the options, with
705 # dashes changed to underlines.
713 program_transform_name
=s
,x
,x
,
721 # Installation directory options.
722 # These are left unexpanded so users can "make install exec_prefix=/foo"
723 # and all the variables that are supposed to be based on exec_prefix
724 # by default will actually change.
725 # Use braces instead of parens because sh, perl, etc. also accept them.
726 # (The list follows the same order as the GNU Coding Standards.)
727 bindir
='${exec_prefix}/bin'
728 sbindir
='${exec_prefix}/sbin'
729 libexecdir
='${exec_prefix}/libexec'
730 datarootdir
='${prefix}/share'
731 datadir
='${datarootdir}'
732 sysconfdir
='${prefix}/etc'
733 sharedstatedir
='${prefix}/com'
734 localstatedir
='${prefix}/var'
735 includedir
='${prefix}/include'
736 oldincludedir
='/usr/include'
737 docdir
='${datarootdir}/doc/${PACKAGE}'
738 infodir
='${datarootdir}/info'
743 libdir
='${exec_prefix}/lib'
744 localedir
='${datarootdir}/locale'
745 mandir
='${datarootdir}/man'
751 # If the previous option needs an argument, assign it.
752 if test -n "$ac_prev"; then
753 eval $ac_prev=\
$ac_option
759 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
763 # Accept the important Cygnus configure options, so we can diagnose typos.
765 case $ac_dashdash$ac_option in
769 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
771 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
774 -build |
--build |
--buil |
--bui |
--bu)
775 ac_prev
=build_alias
;;
776 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
777 build_alias
=$ac_optarg ;;
779 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
780 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
781 ac_prev
=cache_file
;;
782 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
783 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
784 cache_file
=$ac_optarg ;;
787 cache_file
=config.cache
;;
789 -datadir |
--datadir |
--datadi |
--datad)
791 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
792 datadir
=$ac_optarg ;;
794 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
795 |
--dataroo |
--dataro |
--datar)
796 ac_prev
=datarootdir
;;
797 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
798 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
799 datarootdir
=$ac_optarg ;;
801 -disable-* |
--disable-*)
802 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
803 # Reject names that are not valid shell variable names.
804 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
805 as_fn_error
"invalid feature name: $ac_useropt"
806 ac_useropt_orig
=$ac_useropt
807 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
808 case $ac_user_opts in
812 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
813 ac_unrecognized_sep
=', ';;
815 eval enable_
$ac_useropt=no
;;
817 -docdir |
--docdir |
--docdi |
--doc |
--do)
819 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
822 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
824 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
827 -enable-* |
--enable-*)
828 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
829 # Reject names that are not valid shell variable names.
830 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
831 as_fn_error
"invalid feature name: $ac_useropt"
832 ac_useropt_orig
=$ac_useropt
833 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
834 case $ac_user_opts in
838 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
839 ac_unrecognized_sep
=', ';;
841 eval enable_
$ac_useropt=\
$ac_optarg ;;
843 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
844 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
845 |
--exec |
--exe |
--ex)
846 ac_prev
=exec_prefix
;;
847 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
848 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
849 |
--exec=* |
--exe=* |
--ex=*)
850 exec_prefix
=$ac_optarg ;;
852 -gas |
--gas |
--ga |
--g)
853 # Obsolete; use --with-gas.
856 -help |
--help |
--hel |
--he |
-h)
858 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
859 ac_init_help
=recursive
;;
860 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
861 ac_init_help
=short
;;
863 -host |
--host |
--hos |
--ho)
864 ac_prev
=host_alias
;;
865 -host=* |
--host=* |
--hos=* |
--ho=*)
866 host_alias
=$ac_optarg ;;
868 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
870 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
872 htmldir
=$ac_optarg ;;
874 -includedir |
--includedir |
--includedi |
--included |
--include \
875 |
--includ |
--inclu |
--incl |
--inc)
876 ac_prev
=includedir
;;
877 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
878 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
879 includedir
=$ac_optarg ;;
881 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
883 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
884 infodir
=$ac_optarg ;;
886 -libdir |
--libdir |
--libdi |
--libd)
888 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
891 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
892 |
--libexe |
--libex |
--libe)
893 ac_prev
=libexecdir
;;
894 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
895 |
--libexe=* |
--libex=* |
--libe=*)
896 libexecdir
=$ac_optarg ;;
898 -localedir |
--localedir |
--localedi |
--localed |
--locale)
900 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
901 localedir
=$ac_optarg ;;
903 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
904 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
905 ac_prev
=localstatedir
;;
906 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
907 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
908 localstatedir
=$ac_optarg ;;
910 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
912 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
916 # Obsolete; use --without-fp.
919 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
920 |
--no-cr |
--no-c |
-n)
923 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
924 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
927 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
928 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
929 |
--oldin |
--oldi |
--old |
--ol |
--o)
930 ac_prev
=oldincludedir
;;
931 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
932 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
933 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
934 oldincludedir
=$ac_optarg ;;
936 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
938 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
941 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
942 |
--program-pre |
--program-pr |
--program-p)
943 ac_prev
=program_prefix
;;
944 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
945 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
946 program_prefix
=$ac_optarg ;;
948 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
949 |
--program-suf |
--program-su |
--program-s)
950 ac_prev
=program_suffix
;;
951 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
952 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
953 program_suffix
=$ac_optarg ;;
955 -program-transform-name |
--program-transform-name \
956 |
--program-transform-nam |
--program-transform-na \
957 |
--program-transform-n |
--program-transform- \
958 |
--program-transform |
--program-transfor \
959 |
--program-transfo |
--program-transf \
960 |
--program-trans |
--program-tran \
961 |
--progr-tra |
--program-tr |
--program-t)
962 ac_prev
=program_transform_name
;;
963 -program-transform-name=* |
--program-transform-name=* \
964 |
--program-transform-nam=* |
--program-transform-na=* \
965 |
--program-transform-n=* |
--program-transform-=* \
966 |
--program-transform=* |
--program-transfor=* \
967 |
--program-transfo=* |
--program-transf=* \
968 |
--program-trans=* |
--program-tran=* \
969 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
970 program_transform_name
=$ac_optarg ;;
972 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
974 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
977 -psdir |
--psdir |
--psdi |
--psd |
--ps)
979 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
982 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
983 |
-silent |
--silent |
--silen |
--sile |
--sil)
986 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
988 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
990 sbindir
=$ac_optarg ;;
992 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
993 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
994 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
996 ac_prev
=sharedstatedir
;;
997 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
998 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
999 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1001 sharedstatedir
=$ac_optarg ;;
1003 -site |
--site |
--sit)
1005 -site=* |
--site=* |
--sit=*)
1008 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1010 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1011 srcdir
=$ac_optarg ;;
1013 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1014 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1015 ac_prev
=sysconfdir
;;
1016 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1017 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1018 sysconfdir
=$ac_optarg ;;
1020 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1021 ac_prev
=target_alias
;;
1022 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1023 target_alias
=$ac_optarg ;;
1025 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1028 -version |
--version |
--versio |
--versi |
--vers |
-V)
1029 ac_init_version
=: ;;
1032 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1033 # Reject names that are not valid shell variable names.
1034 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1035 as_fn_error
"invalid package name: $ac_useropt"
1036 ac_useropt_orig
=$ac_useropt
1037 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1038 case $ac_user_opts in
1042 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1043 ac_unrecognized_sep
=', ';;
1045 eval with_
$ac_useropt=\
$ac_optarg ;;
1047 -without-* |
--without-*)
1048 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1049 # Reject names that are not valid shell variable names.
1050 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1051 as_fn_error
"invalid package name: $ac_useropt"
1052 ac_useropt_orig
=$ac_useropt
1053 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1054 case $ac_user_opts in
1058 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1059 ac_unrecognized_sep
=', ';;
1061 eval with_
$ac_useropt=no
;;
1064 # Obsolete; use --with-x.
1067 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1068 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1069 ac_prev
=x_includes
;;
1070 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1071 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1072 x_includes
=$ac_optarg ;;
1074 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1075 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1076 ac_prev
=x_libraries
;;
1077 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1078 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1079 x_libraries
=$ac_optarg ;;
1081 -*) as_fn_error
"unrecognized option: \`$ac_option'
1082 Try \`$0 --help' for more information."
1086 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1087 # Reject names that are not valid shell variable names.
1088 case $ac_envvar in #(
1089 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1090 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1092 eval $ac_envvar=\
$ac_optarg
1093 export $ac_envvar ;;
1096 # FIXME: should be removed in autoconf 3.0.
1097 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1098 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1099 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1100 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1106 if test -n "$ac_prev"; then
1107 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1108 as_fn_error
"missing argument to $ac_option"
1111 if test -n "$ac_unrecognized_opts"; then
1112 case $enable_option_checking in
1114 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1115 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1119 # Check all directory arguments for consistency.
1120 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1121 datadir sysconfdir sharedstatedir localstatedir includedir \
1122 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1123 libdir localedir mandir
1125 eval ac_val
=\$
$ac_var
1126 # Remove trailing slashes.
1129 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1130 eval $ac_var=\
$ac_val;;
1132 # Be sure to have absolute directory names.
1134 [\\/$
]* | ?
:[\\/]* ) continue;;
1135 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1137 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1140 # There might be people who depend on the old broken behavior: `$host'
1141 # used to hold the argument of --host etc.
1142 # FIXME: To remove some day.
1145 target
=$target_alias
1147 # FIXME: To remove some day.
1148 if test "x$host_alias" != x
; then
1149 if test "x$build_alias" = x
; then
1150 cross_compiling
=maybe
1151 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1152 If a cross compiler is detected then cross compile mode will be used." >&2
1153 elif test "x$build_alias" != "x$host_alias"; then
1159 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1161 test "$silent" = yes && exec 6>/dev
/null
1164 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1165 ac_ls_di
=`ls -di .` &&
1166 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1167 as_fn_error
"working directory cannot be determined"
1168 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1169 as_fn_error
"pwd does not report name of working directory"
1172 # Find the source files, if location was not specified.
1173 if test -z "$srcdir"; then
1174 ac_srcdir_defaulted
=yes
1175 # Try the directory containing this script, then the parent directory.
1176 ac_confdir
=`$as_dirname -- "$as_myself" ||
1177 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1178 X"$as_myself" : 'X\(//\)[^/]' \| \
1179 X"$as_myself" : 'X\(//\)$' \| \
1180 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1181 $as_echo X"$as_myself" |
1182 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1200 if test ! -r "$srcdir/$ac_unique_file"; then
1204 ac_srcdir_defaulted
=no
1206 if test ! -r "$srcdir/$ac_unique_file"; then
1207 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1208 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1210 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1212 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1214 # When building in place, set srcdir=.
1215 if test "$ac_abs_confdir" = "$ac_pwd"; then
1218 # Remove unnecessary trailing slashes from srcdir.
1219 # Double slashes in file names in object file debugging info
1220 # mess up M-x gdb in Emacs.
1222 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1224 for ac_var
in $ac_precious_vars; do
1225 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1226 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1227 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1228 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1232 # Report the --help message.
1234 if test "$ac_init_help" = "long"; then
1235 # Omit some internal or obsolete options to make the list less imposing.
1236 # This message is too long to be a string in the A/UX 3.1 sh.
1238 \`configure' configures this package to adapt to many kinds of systems.
1240 Usage: $0 [OPTION]... [VAR=VALUE]...
1242 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1243 VAR=VALUE. See below for descriptions of some of the useful variables.
1245 Defaults for the options are specified in brackets.
1248 -h, --help display this help and exit
1249 --help=short display options specific to this package
1250 --help=recursive display the short help of all the included packages
1251 -V, --version display version information and exit
1252 -q, --quiet, --silent do not print \`checking...' messages
1253 --cache-file=FILE cache test results in FILE [disabled]
1254 -C, --config-cache alias for \`--cache-file=config.cache'
1255 -n, --no-create do not create output files
1256 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1258 Installation directories:
1259 --prefix=PREFIX install architecture-independent files in PREFIX
1260 [$ac_default_prefix]
1261 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1264 By default, \`make install' will install all the files in
1265 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1266 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1267 for instance \`--prefix=\$HOME'.
1269 For better control, use the options below.
1271 Fine tuning of the installation directories:
1272 --bindir=DIR user executables [EPREFIX/bin]
1273 --sbindir=DIR system admin executables [EPREFIX/sbin]
1274 --libexecdir=DIR program executables [EPREFIX/libexec]
1275 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1276 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1277 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1278 --libdir=DIR object code libraries [EPREFIX/lib]
1279 --includedir=DIR C header files [PREFIX/include]
1280 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1281 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1282 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1283 --infodir=DIR info documentation [DATAROOTDIR/info]
1284 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1285 --mandir=DIR man documentation [DATAROOTDIR/man]
1286 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1287 --htmldir=DIR html documentation [DOCDIR]
1288 --dvidir=DIR dvi documentation [DOCDIR]
1289 --pdfdir=DIR pdf documentation [DOCDIR]
1290 --psdir=DIR ps documentation [DOCDIR]
1296 --program-prefix=PREFIX prepend PREFIX to installed program names
1297 --program-suffix=SUFFIX append SUFFIX to installed program names
1298 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1301 --build=BUILD configure
for building on BUILD
[guessed
]
1302 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1303 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1307 if test -n "$ac_init_help"; then
1312 --disable-option-checking ignore unrecognized
--enable/--with options
1313 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1314 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1315 --enable-werror treat compile warnings as errors
1316 --enable-build-warnings enable build-time compiler warnings
if gcc is used
1317 --enable-sim-build-warnings
1318 enable SIM specific build-time compiler warnings
if
1321 Some influential environment variables
:
1322 CC C compiler
command
1323 CFLAGS C compiler flags
1324 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1325 nonstandard directory
<lib dir
>
1326 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1327 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1328 you have headers
in a nonstandard directory
<include dir
>
1331 Use these variables to override the choices made by
`configure' or to help
1332 it to find libraries and programs with nonstandard names/locations.
1334 Report bugs to the package provider.
1339 if test "$ac_init_help" = "recursive"; then
1340 # If there are subdirs, report their specific --help.
1341 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1342 test -d "$ac_dir" ||
1343 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1348 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1350 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1351 # A ".." for each directory in $ac_dir_suffix.
1352 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1353 case $ac_top_builddir_sub in
1354 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1355 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1358 ac_abs_top_builddir=$ac_pwd
1359 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1360 # for backward compatibility:
1361 ac_top_builddir=$ac_top_build_prefix
1364 .) # We are building in place.
1366 ac_top_srcdir=$ac_top_builddir_sub
1367 ac_abs_top_srcdir=$ac_pwd ;;
1368 [\\/]* | ?:[\\/]* ) # Absolute name.
1369 ac_srcdir=$srcdir$ac_dir_suffix;
1370 ac_top_srcdir=$srcdir
1371 ac_abs_top_srcdir=$srcdir ;;
1373 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1374 ac_top_srcdir=$ac_top_build_prefix$srcdir
1375 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1377 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1379 cd "$ac_dir" || { ac_status=$?; continue; }
1380 # Check for guested configure.
1381 if test -f "$ac_srcdir/configure.gnu"; then
1383 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1384 elif test -f "$ac_srcdir/configure"; then
1386 $SHELL "$ac_srcdir/configure" --help=recursive
1388 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1390 cd "$ac_pwd" || { ac_status=$?; break; }
1394 test -n "$ac_init_help" && exit $ac_status
1395 if $ac_init_version; then
1398 generated by GNU Autoconf 2.64
1400 Copyright (C) 2009 Free Software Foundation, Inc.
1401 This configure script is free software; the Free Software Foundation
1402 gives unlimited permission to copy, distribute and modify it.
1407 ## ------------------------ ##
1408 ## Autoconf initialization. ##
1409 ## ------------------------ ##
1411 # ac_fn_c_try_compile LINENO
1412 # --------------------------
1413 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1414 ac_fn_c_try_compile ()
1416 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1417 rm -f conftest.$ac_objext
1418 if { { ac_try="$ac_compile"
1420 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1421 *) ac_try_echo
=$ac_try;;
1423 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1424 $as_echo "$ac_try_echo"; } >&5
1425 (eval "$ac_compile") 2>conftest.err
1427 if test -s conftest.err
; then
1428 grep -v '^ *+' conftest.err
>conftest.er1
1429 cat conftest.er1
>&5
1430 mv -f conftest.er1 conftest.err
1432 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1433 test $ac_status = 0; } && {
1434 test -z "$ac_c_werror_flag" ||
1435 test ! -s conftest.err
1436 } && test -s conftest.
$ac_objext; then :
1439 $as_echo "$as_me: failed program was:" >&5
1440 sed 's/^/| /' conftest.
$ac_ext >&5
1444 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1447 } # ac_fn_c_try_compile
1449 # ac_fn_c_try_cpp LINENO
1450 # ----------------------
1451 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1454 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1455 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1457 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1458 *) ac_try_echo=$ac_try;;
1460 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1461 $as_echo "$ac_try_echo"; } >&5
1462 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1464 if test -s conftest.err; then
1465 grep -v '^ *+' conftest.err >conftest.er1
1466 cat conftest.er1 >&5
1467 mv -f conftest.er1 conftest.err
1469 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1470 test $ac_status = 0; } >/dev/null && {
1471 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1472 test ! -s conftest.err
1476 $as_echo "$as_me: failed program was:" >&5
1477 sed 's/^/| /' conftest.$ac_ext >&5
1481 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1486 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1487 # -------------------------------------------------------
1488 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1489 # the include files in INCLUDES and setting the cache variable VAR
1491 ac_fn_c_check_header_mongrel ()
1493 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1494 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1496 $as_echo_n "checking for $2... " >&6; }
1497 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1498 $as_echo_n "(cached) " >&6
1501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1502 $as_echo "$ac_res" >&6; }
1504 # Is the header compilable?
1505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1506 $as_echo_n "checking $2 usability... " >&6; }
1507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1508 /* end confdefs.h. */
1512 if ac_fn_c_try_compile "$LINENO"; then :
1513 ac_header_compiler=yes
1515 ac_header_compiler=no
1517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1519 $as_echo "$ac_header_compiler" >&6; }
1521 # Is the header present?
1522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1523 $as_echo_n "checking $2 presence... " >&6; }
1524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1525 /* end confdefs.h. */
1528 if ac_fn_c_try_cpp "$LINENO"; then :
1529 ac_header_preproc=yes
1531 ac_header_preproc=no
1533 rm -f conftest.err conftest.$ac_ext
1534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1535 $as_echo "$ac_header_preproc" >&6; }
1537 # So? What about this header?
1538 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1540 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1541 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1542 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1543 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1546 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1547 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1548 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1549 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1550 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1551 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1552 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1553 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1554 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1555 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1559 $as_echo_n "checking for $2... " >&6; }
1560 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1561 $as_echo_n "(cached) " >&6
1563 eval "$3=\$ac_header_compiler"
1566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1567 $as_echo "$ac_res" >&6; }
1569 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1571 } # ac_fn_c_check_header_mongrel
1573 # ac_fn_c_try_run LINENO
1574 # ----------------------
1575 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1576 # that executables *can* be run.
1579 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1580 if { { ac_try="$ac_link"
1582 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1583 *) ac_try_echo
=$ac_try;;
1585 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1586 $as_echo "$ac_try_echo"; } >&5
1587 (eval "$ac_link") 2>&5
1589 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1590 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1591 { { case "(($ac_try" in
1592 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1593 *) ac_try_echo=$ac_try;;
1595 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1596 $as_echo "$ac_try_echo"; } >&5
1597 (eval "$ac_try") 2>&5
1599 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1600 test $ac_status = 0; }; }; then :
1603 $as_echo "$as_me: program exited with status $ac_status" >&5
1604 $as_echo "$as_me: failed program was:" >&5
1605 sed 's/^/| /' conftest.$ac_ext >&5
1607 ac_retval=$ac_status
1609 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1610 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1615 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1616 # -------------------------------------------------------
1617 # Tests whether HEADER exists and can be compiled using the include files in
1618 # INCLUDES, setting the cache variable VAR accordingly.
1619 ac_fn_c_check_header_compile ()
1621 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1623 $as_echo_n "checking for $2... " >&6; }
1624 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1625 $as_echo_n "(cached) " >&6
1627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1628 /* end confdefs.h. */
1632 if ac_fn_c_try_compile "$LINENO"; then :
1637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1641 $as_echo "$ac_res" >&6; }
1642 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1644 } # ac_fn_c_check_header_compile
1646 # ac_fn_c_try_link LINENO
1647 # -----------------------
1648 # Try to link conftest.$ac_ext, and return whether this succeeded.
1651 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1652 rm -f conftest.$ac_objext conftest$ac_exeext
1653 if { { ac_try="$ac_link"
1655 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1656 *) ac_try_echo
=$ac_try;;
1658 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1659 $as_echo "$ac_try_echo"; } >&5
1660 (eval "$ac_link") 2>conftest.err
1662 if test -s conftest.err
; then
1663 grep -v '^ *+' conftest.err
>conftest.er1
1664 cat conftest.er1
>&5
1665 mv -f conftest.er1 conftest.err
1667 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1668 test $ac_status = 0; } && {
1669 test -z "$ac_c_werror_flag" ||
1670 test ! -s conftest.err
1671 } && test -s conftest
$ac_exeext && {
1672 test "$cross_compiling" = yes ||
1673 $as_test_x conftest
$ac_exeext
1677 $as_echo "$as_me: failed program was:" >&5
1678 sed 's/^/| /' conftest.
$ac_ext >&5
1682 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1683 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1684 # interfere with the next link command; also delete a directory that is
1685 # left behind by Apple's compiler. We do this before executing the actions.
1686 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1687 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1690 } # ac_fn_c_try_link
1691 cat >config.log
<<_ACEOF
1692 This file contains any messages produced by compilers while
1693 running configure, to aid debugging if configure makes a mistake.
1695 It was created by $as_me, which was
1696 generated by GNU Autoconf 2.64. Invocation command line was
1708 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1709 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1710 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1711 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1712 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1714 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1715 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1717 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1718 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1719 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1720 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1721 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1722 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1723 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1727 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1731 test -z "$as_dir" && as_dir
=.
1732 $as_echo "PATH: $as_dir"
1748 # Keep a trace of the command line.
1749 # Strip out --no-create and --no-recursion so they do not pile up.
1750 # Strip out --silent because we don't want to record it for future runs.
1751 # Also quote any args containing shell meta-characters.
1752 # Make two passes to allow for proper duplicate-argument suppression.
1756 ac_must_keep_next
=false
1762 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1763 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1764 |
-silent |
--silent |
--silen |
--sile |
--sil)
1767 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1770 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1772 as_fn_append ac_configure_args1
" '$ac_arg'"
1773 if test $ac_must_keep_next = true
; then
1774 ac_must_keep_next
=false
# Got value, back to normal.
1777 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1778 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1779 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1780 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1781 case "$ac_configure_args0 " in
1782 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1785 -* ) ac_must_keep_next
=true
;;
1788 as_fn_append ac_configure_args
" '$ac_arg'"
1793 { ac_configure_args0
=; unset ac_configure_args0
;}
1794 { ac_configure_args1
=; unset ac_configure_args1
;}
1796 # When interrupted or exit'd, cleanup temporary files, and complete
1797 # config.log. We remove comments because anyway the quotes in there
1798 # would cause problems or look ugly.
1799 # WARNING: Use '\'' to represent an apostrophe within the trap.
1800 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1801 trap 'exit_status=$?
1802 # Save into config.log some information that might help in debugging.
1807 ## ---------------- ##
1808 ## Cache variables. ##
1809 ## ---------------- ##
1812 # The following way of writing the cache mishandles newlines in values,
1814 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1815 eval ac_val=\$$ac_var
1819 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1820 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1823 _ | IFS | as_nl) ;; #(
1824 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1825 *) { eval $ac_var=; unset $ac_var;} ;;
1830 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1831 *${as_nl}ac_space=\ *)
1833 "s/'\''/'\''\\\\'\'''\''/g;
1834 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1837 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1845 ## ----------------- ##
1846 ## Output variables. ##
1847 ## ----------------- ##
1850 for ac_var in $ac_subst_vars
1852 eval ac_val=\$$ac_var
1854 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1856 $as_echo "$ac_var='\''$ac_val'\''"
1860 if test -n "$ac_subst_files"; then
1862 ## ------------------- ##
1863 ## File substitutions. ##
1864 ## ------------------- ##
1867 for ac_var
in $ac_subst_files
1869 eval ac_val
=\$
$ac_var
1871 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1873 $as_echo "$ac_var='\''$ac_val'\''"
1878 if test -s confdefs.h; then
1888 test "$ac_signal" != 0 &&
1889 $as_echo "$as_me: caught signal $ac_signal"
1890 $as_echo "$as_me: exit $exit_status"
1892 rm -f core *.core core.conftest.* &&
1893 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1896 for ac_signal
in 1 2 13 15; do
1897 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1901 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1902 rm -f -r conftest
* confdefs.h
1904 $as_echo "/* confdefs.h */" > confdefs.h
1906 # Predefined preprocessor variables.
1908 cat >>confdefs.h
<<_ACEOF
1909 #define PACKAGE_NAME "$PACKAGE_NAME"
1912 cat >>confdefs.h
<<_ACEOF
1913 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1916 cat >>confdefs.h
<<_ACEOF
1917 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1920 cat >>confdefs.h
<<_ACEOF
1921 #define PACKAGE_STRING "$PACKAGE_STRING"
1924 cat >>confdefs.h
<<_ACEOF
1925 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1928 cat >>confdefs.h
<<_ACEOF
1929 #define PACKAGE_URL "$PACKAGE_URL"
1933 # Let the site file select an alternate cache file if it wants to.
1934 # Prefer an explicitly selected file to automatically selected ones.
1937 if test -n "$CONFIG_SITE"; then
1938 ac_site_file1
=$CONFIG_SITE
1939 elif test "x$prefix" != xNONE
; then
1940 ac_site_file1
=$prefix/share
/config.site
1941 ac_site_file2
=$prefix/etc
/config.site
1943 ac_site_file1
=$ac_default_prefix/share
/config.site
1944 ac_site_file2
=$ac_default_prefix/etc
/config.site
1946 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
1948 test "x$ac_site_file" = xNONE
&& continue
1949 if test -r "$ac_site_file"; then
1950 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1951 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1952 sed 's/^/| /' "$ac_site_file" >&5
1957 if test -r "$cache_file"; then
1958 # Some versions of bash will fail to source /dev/null (special
1959 # files actually), so we avoid doing that.
1960 if test -f "$cache_file"; then
1961 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1962 $as_echo "$as_me: loading cache $cache_file" >&6;}
1964 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1965 *) .
"./$cache_file";;
1969 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1970 $as_echo "$as_me: creating cache $cache_file" >&6;}
1974 # Check that the precious variables saved in the cache have kept the same
1976 ac_cache_corrupted
=false
1977 for ac_var
in $ac_precious_vars; do
1978 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1979 eval ac_new_set
=\
$ac_env_${ac_var}_set
1980 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1981 eval ac_new_val
=\
$ac_env_${ac_var}_value
1982 case $ac_old_set,$ac_new_set in
1984 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1985 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1986 ac_cache_corrupted
=: ;;
1988 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1989 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1990 ac_cache_corrupted
=: ;;
1993 if test "x$ac_old_val" != "x$ac_new_val"; then
1994 # differences in whitespace do not lead to failure.
1995 ac_old_val_w
=`echo x $ac_old_val`
1996 ac_new_val_w
=`echo x $ac_new_val`
1997 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1998 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1999 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2000 ac_cache_corrupted
=:
2002 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2003 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2004 eval $ac_var=\
$ac_old_val
2006 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2007 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2008 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2009 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2012 # Pass precious variables to config.status.
2013 if test "$ac_new_set" = set; then
2015 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2016 *) ac_arg
=$ac_var=$ac_new_val ;;
2018 case " $ac_configure_args " in
2019 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2020 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2024 if $ac_cache_corrupted; then
2025 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2026 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2027 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2028 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2029 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2031 ## -------------------- ##
2032 ## Main body of script. ##
2033 ## -------------------- ##
2036 ac_cpp
='$CPP $CPPFLAGS'
2037 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2038 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2039 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2042 # This file contains common code used by all simulators.
2044 # SIM_AC_COMMON invokes AC macros used by all simulators and by the common
2045 # directory. It is intended to be invoked before any target specific stuff.
2046 # SIM_AC_OUTPUT is a cover function to AC_OUTPUT to generate the Makefile.
2047 # It is intended to be invoked last.
2049 # The simulator's configure.ac should look like:
2051 # dnl Process this file with autoconf to produce a configure script.
2052 # AC_PREREQ(2.64)dnl
2053 # AC_INIT(Makefile.in)
2054 # sinclude(../common/aclocal.m4)
2058 # ... target specific stuff ...
2062 # Include global overrides and fixes for Autoconf.
2089 # _AC_CHECK_DECL_BODY
2090 # -------------------
2091 # Shell function body for AC_CHECK_DECL.
2092 # _AC_CHECK_DECL_BODY
2094 # _AC_CHECK_DECLS(SYMBOL, ACTION-IF_FOUND, ACTION-IF-NOT-FOUND,
2096 # -------------------------------------------------------------
2097 # Helper to AC_CHECK_DECLS, which generates the check for a single
2098 # SYMBOL with INCLUDES, performs the AC_DEFINE, then expands
2099 # ACTION-IF-FOUND or ACTION-IF-NOT-FOUND.
2111 # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
2113 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
2114 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
2115 # Written by Gordon Matzigkeit, 1996
2117 # This file is free software; the Free Software Foundation gives
2118 # unlimited permission to copy and/or distribute it, with or without
2119 # modifications, as long as this notice is preserved.
2126 # LT_PREREQ(VERSION)
2127 # ------------------
2128 # Complain and exit if this libtool version is less that VERSION.
2132 # _LT_CHECK_BUILDDIR
2133 # ------------------
2134 # Complain if the absolute build directory name contains unusual characters
2138 # LT_INIT([OPTIONS])
2139 # ------------------
2143 # This is what autoupdate's m4 run will expand. It fires
2144 # the warning (with _au_warn_XXX), outputs it into the
2145 # updated configure.ac (with AC_DIAGNOSE), and then outputs
2146 # the replacement expansion.
2149 # This is an auxiliary macro that is also run when
2150 # autoupdate runs m4. It simply calls m4_warning, but
2151 # we need a wrapper so that each warning is emitted only
2152 # once. We break the quoting in m4_warning's argument in
2153 # order to expand this macro's arguments, not AU_DEFUN's.
2156 # Finally, this is the expansion that is picked up by
2157 # autoconf. It tells the user to run autoupdate, and
2158 # then outputs the replacement expansion. We do not care
2159 # about autoupdate's warning because that contains
2160 # information on what to do *after* running autoupdate.
2162 # This is what autoupdate's m4 run will expand. It fires
2163 # the warning (with _au_warn_XXX), outputs it into the
2164 # updated configure.ac (with AC_DIAGNOSE), and then outputs
2165 # the replacement expansion.
2168 # This is an auxiliary macro that is also run when
2169 # autoupdate runs m4. It simply calls m4_warning, but
2170 # we need a wrapper so that each warning is emitted only
2171 # once. We break the quoting in m4_warning's argument in
2172 # order to expand this macro's arguments, not AU_DEFUN's.
2175 # Finally, this is the expansion that is picked up by
2176 # autoconf. It tells the user to run autoupdate, and
2177 # then outputs the replacement expansion. We do not care
2178 # about autoupdate's warning because that contains
2179 # information on what to do *after* running autoupdate.
2183 # _LT_CC_BASENAME(CC)
2184 # -------------------
2185 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
2189 # _LT_FILEUTILS_DEFAULTS
2190 # ----------------------
2191 # It is okay to use these file commands and assume they have been set
2192 # sensibly after `m4_require([_LT_FILEUTILS_DEFAULTS])'.
2193 # _LT_FILEUTILS_DEFAULTS
2201 # _LT_PREPARE_SED_QUOTE_VARS
2202 # --------------------------
2203 # Define a few sed substitution that help us do robust quoting.
2208 # Note that this code is called both from `configure', and `config.status'
2209 # now that we use AC_CONFIG_COMMANDS to generate libtool. Notably,
2210 # `config.status' has no value for ac_aux_dir unless we are using Automake,
2211 # so we pass a copy along to make sure it has a sensible value anyway.
2215 ## ------------------------------------- ##
2216 ## Accumulate code for creating libtool. ##
2217 ## ------------------------------------- ##
2219 # So that we can recreate a full libtool script including additional
2220 # tags, we accumulate the chunks of code to send to AC_CONFIG_COMMANDS
2221 # in macros and then make a single call at the end using the `libtool'
2225 # _LT_CONFIG_LIBTOOL_INIT([INIT-COMMANDS])
2226 # ----------------------------------------
2227 # Register INIT-COMMANDS to be passed to AC_CONFIG_COMMANDS later.
2234 # _LT_CONFIG_LIBTOOL([COMMANDS])
2235 # ------------------------------
2236 # Register COMMANDS to be passed to AC_CONFIG_COMMANDS later.
2243 # _LT_CONFIG_SAVE_COMMANDS([COMMANDS], [INIT_COMMANDS])
2244 # -----------------------------------------------------
2248 # _LT_FORMAT_COMMENT([COMMENT])
2249 # -----------------------------
2250 # Add leading comment marks to the start of each line, and a trailing
2251 # full-stop to the whole comment if one is not present already.
2256 ## ------------------------ ##
2257 ## FIXME: Eliminate VARNAME ##
2258 ## ------------------------ ##
2261 # _LT_DECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION], [IS-TAGGED?])
2262 # -------------------------------------------------------------------
2263 # CONFIGNAME is the name given to the value in the libtool script.
2264 # VARNAME is the (base) name used in the configure script.
2265 # VALUE may be 0, 1 or 2 for a computed quote escaped value based on
2266 # VARNAME. Any other value will be used directly.
2270 # _LT_TAGDECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION])
2271 # --------------------------------------------------------
2275 # lt_decl_tag_varnames([SEPARATOR], [VARNAME1...])
2276 # ------------------------------------------------
2280 # _lt_decl_filter(SUBKEY, VALUE, [SEPARATOR], [VARNAME1..])
2281 # ---------------------------------------------------------
2285 # lt_decl_quote_varnames([SEPARATOR], [VARNAME1...])
2286 # --------------------------------------------------
2290 # lt_decl_dquote_varnames([SEPARATOR], [VARNAME1...])
2291 # ---------------------------------------------------
2295 # lt_decl_varnames_tagged([SEPARATOR], [VARNAME1...])
2296 # ---------------------------------------------------
2301 # lt_decl_all_varnames([SEPARATOR], [VARNAME1...])
2302 # ------------------------------------------------
2307 # _LT_CONFIG_STATUS_DECLARE([VARNAME])
2308 # ------------------------------------
2309 # Quote a variable value, and forward it to `config.status' so that its
2310 # declaration there will have the same value as in `configure'. VARNAME
2311 # must have a single quote delimited value for this to work.
2315 # _LT_CONFIG_STATUS_DECLARATIONS
2316 # ------------------------------
2317 # We delimit libtool config variables with single quotes, so when
2318 # we write them to config.status, we have to be sure to quote all
2319 # embedded single quotes properly. In configure, this macro expands
2320 # each variable declared with _LT_DECL (and _LT_TAGDECL) into:
2322 # <var>='`$ECHO "$<var>" | $SED "$delay_single_quote_subst"`'
2328 # Output comment and list of tags supported by the script
2332 # _LT_LIBTOOL_DECLARE(VARNAME, [TAG])
2333 # -----------------------------------
2334 # Extract the dictionary values for VARNAME (optionally with TAG) and
2335 # expand to a commented shell variable setting:
2337 # # Some comment about what VAR is for.
2338 # visible_name=$lt_internal_name
2342 # _LT_LIBTOOL_CONFIG_VARS
2343 # -----------------------
2344 # Produce commented declarations of non-tagged libtool config variables
2345 # suitable for insertion in the LIBTOOL CONFIG section of the `libtool'
2346 # script. Tagged libtool config variables (even for the LIBTOOL CONFIG
2347 # section) are produced by _LT_LIBTOOL_TAG_VARS.
2351 # _LT_LIBTOOL_TAG_VARS(TAG)
2352 # -------------------------
2356 # _LT_TAGVAR(VARNAME, [TAGNAME])
2357 # ------------------------------
2361 # _LT_CONFIG_COMMANDS
2362 # -------------------
2363 # Send accumulated output to $CONFIG_STATUS. Thanks to the lists of
2364 # variables for single and double quote escaping we saved from calls
2365 # to _LT_DECL, we can put quote escaped variables declarations
2366 # into `config.status', and then the shell code to quote escape them in
2367 # for loops in `config.status'. Finally, any additional code accumulated
2368 # from calls to _LT_CONFIG_LIBTOOL_INIT is expanded.
2369 #_LT_CONFIG_COMMANDS
2375 # _LT_GENERATED_FILE_INIT(FILE, [COMMENT])
2376 # ------------------------------------
2377 # Generate a child script FILE with all initialization necessary to
2378 # reuse the environment learned by the parent script, and make the
2379 # file executable. If COMMENT is supplied, it is inserted after the
2380 # `#!' sequence but before initialization text begins. After this
2381 # macro, additional text can be appended to FILE to form the body of
2382 # the child script. The macro ends with non-zero status if the
2383 # file could not be fully written (such as if the disk is full).
2384 # _LT_GENERATED_FILE_INIT
2388 # This macro allows early generation of the libtool script (before
2389 # AC_OUTPUT is called), incase it is used in configure for compilation
2396 # If TAG is the built-in tag, create an initial libtool script with a
2397 # default configuration from the untagged config vars. Otherwise add code
2398 # to config.status for appending the configuration named by TAG from the
2399 # matching tagged config vars.
2403 # LT_SUPPORTED_TAG(TAG)
2404 # ---------------------
2405 # Trace this macro to discover what tags are supported by the libtool
2406 # --tag option, using:
2407 # autoconf --trace 'LT_SUPPORTED_TAG:$1'
2411 # C support is built-in for now
2418 # Enable libtool support for the given language if not already enabled.
2422 # _LT_LANG(LANGNAME)
2423 # ------------------
2427 # _LT_LANG_DEFAULT_CONFIG
2428 # -----------------------
2429 # _LT_LANG_DEFAULT_CONFIG
2432 # This is what autoupdate's m4 run will expand. It fires
2433 # the warning (with _au_warn_XXX), outputs it into the
2434 # updated configure.ac (with AC_DIAGNOSE), and then outputs
2435 # the replacement expansion.
2438 # This is an auxiliary macro that is also run when
2439 # autoupdate runs m4. It simply calls m4_warning, but
2440 # we need a wrapper so that each warning is emitted only
2441 # once. We break the quoting in m4_warning's argument in
2442 # order to expand this macro's arguments, not AU_DEFUN's.
2445 # Finally, this is the expansion that is picked up by
2446 # autoconf. It tells the user to run autoupdate, and
2447 # then outputs the replacement expansion. We do not care
2448 # about autoupdate's warning because that contains
2449 # information on what to do *after* running autoupdate.
2451 # This is what autoupdate's m4 run will expand. It fires
2452 # the warning (with _au_warn_XXX), outputs it into the
2453 # updated configure.ac (with AC_DIAGNOSE), and then outputs
2454 # the replacement expansion.
2457 # This is an auxiliary macro that is also run when
2458 # autoupdate runs m4. It simply calls m4_warning, but
2459 # we need a wrapper so that each warning is emitted only
2460 # once. We break the quoting in m4_warning's argument in
2461 # order to expand this macro's arguments, not AU_DEFUN's.
2464 # Finally, this is the expansion that is picked up by
2465 # autoconf. It tells the user to run autoupdate, and
2466 # then outputs the replacement expansion. We do not care
2467 # about autoupdate's warning because that contains
2468 # information on what to do *after* running autoupdate.
2470 # This is what autoupdate's m4 run will expand. It fires
2471 # the warning (with _au_warn_XXX), outputs it into the
2472 # updated configure.ac (with AC_DIAGNOSE), and then outputs
2473 # the replacement expansion.
2476 # This is an auxiliary macro that is also run when
2477 # autoupdate runs m4. It simply calls m4_warning, but
2478 # we need a wrapper so that each warning is emitted only
2479 # once. We break the quoting in m4_warning's argument in
2480 # order to expand this macro's arguments, not AU_DEFUN's.
2483 # Finally, this is the expansion that is picked up by
2484 # autoconf. It tells the user to run autoupdate, and
2485 # then outputs the replacement expansion. We do not care
2486 # about autoupdate's warning because that contains
2487 # information on what to do *after* running autoupdate.
2489 # This is what autoupdate's m4 run will expand. It fires
2490 # the warning (with _au_warn_XXX), outputs it into the
2491 # updated configure.ac (with AC_DIAGNOSE), and then outputs
2492 # the replacement expansion.
2495 # This is an auxiliary macro that is also run when
2496 # autoupdate runs m4. It simply calls m4_warning, but
2497 # we need a wrapper so that each warning is emitted only
2498 # once. We break the quoting in m4_warning's argument in
2499 # order to expand this macro's arguments, not AU_DEFUN's.
2502 # Finally, this is the expansion that is picked up by
2503 # autoconf. It tells the user to run autoupdate, and
2504 # then outputs the replacement expansion. We do not care
2505 # about autoupdate's warning because that contains
2506 # information on what to do *after* running autoupdate.
2508 # This is what autoupdate's m4 run will expand. It fires
2509 # the warning (with _au_warn_XXX), outputs it into the
2510 # updated configure.ac (with AC_DIAGNOSE), and then outputs
2511 # the replacement expansion.
2514 # This is an auxiliary macro that is also run when
2515 # autoupdate runs m4. It simply calls m4_warning, but
2516 # we need a wrapper so that each warning is emitted only
2517 # once. We break the quoting in m4_warning's argument in
2518 # order to expand this macro's arguments, not AU_DEFUN's.
2521 # Finally, this is the expansion that is picked up by
2522 # autoconf. It tells the user to run autoupdate, and
2523 # then outputs the replacement expansion. We do not care
2524 # about autoupdate's warning because that contains
2525 # information on what to do *after* running autoupdate.
2534 # _LT_COMPILER_BOILERPLATE
2535 # ------------------------
2536 # Check for compiler boilerplate output or warnings with
2537 # the simple compiler test code.
2538 # _LT_COMPILER_BOILERPLATE
2541 # _LT_LINKER_BOILERPLATE
2542 # ----------------------
2543 # Check for linker boilerplate output or warnings with
2544 # the simple link test code.
2545 # _LT_LINKER_BOILERPLATE
2547 # _LT_REQUIRED_DARWIN_CHECKS
2548 # -------------------------
2552 # _LT_DARWIN_LINKER_FEATURES
2553 # --------------------------
2554 # Checks for linker and compiler features on darwin
2557 # _LT_SYS_MODULE_PATH_AIX
2558 # -----------------------
2559 # Links a minimal program and checks the executable
2560 # for the system default hardcoded library path. In most cases,
2561 # this is /usr/lib:/lib, but when the MPI compilers are used
2562 # the location of the communication and MPI libs are included too.
2563 # If we don't find anything, use the default library path according
2564 # to the aix ld manual.
2565 # _LT_SYS_MODULE_PATH_AIX
2568 # _LT_SHELL_INIT(ARG)
2569 # -------------------
2574 # _LT_PROG_ECHO_BACKSLASH
2575 # -----------------------
2576 # Find how we can fake an echo command that does not interpret backslash.
2577 # In particular, with Autoconf 2.60 or later we add some code to the start
2578 # of the generated configure script which will find a shell with a builtin
2579 # printf (which we can use as an echo command).
2580 # _LT_PROG_ECHO_BACKSLASH
2588 # _LT_CMD_OLD_ARCHIVE
2589 # -------------------
2590 # _LT_CMD_OLD_ARCHIVE
2593 # _LT_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
2594 # [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE])
2595 # ----------------------------------------------------------------
2596 # Check whether the given compiler option works
2597 # _LT_COMPILER_OPTION
2600 # This is what autoupdate's m4 run will expand. It fires
2601 # the warning (with _au_warn_XXX), outputs it into the
2602 # updated configure.ac (with AC_DIAGNOSE), and then outputs
2603 # the replacement expansion.
2606 # This is an auxiliary macro that is also run when
2607 # autoupdate runs m4. It simply calls m4_warning, but
2608 # we need a wrapper so that each warning is emitted only
2609 # once. We break the quoting in m4_warning's argument in
2610 # order to expand this macro's arguments, not AU_DEFUN's.
2613 # Finally, this is the expansion that is picked up by
2614 # autoconf. It tells the user to run autoupdate, and
2615 # then outputs the replacement expansion. We do not care
2616 # about autoupdate's warning because that contains
2617 # information on what to do *after* running autoupdate.
2621 # _LT_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
2622 # [ACTION-SUCCESS], [ACTION-FAILURE])
2623 # ----------------------------------------------------
2624 # Check whether the given linker option works
2628 # This is what autoupdate's m4 run will expand. It fires
2629 # the warning (with _au_warn_XXX), outputs it into the
2630 # updated configure.ac (with AC_DIAGNOSE), and then outputs
2631 # the replacement expansion.
2634 # This is an auxiliary macro that is also run when
2635 # autoupdate runs m4. It simply calls m4_warning, but
2636 # we need a wrapper so that each warning is emitted only
2637 # once. We break the quoting in m4_warning's argument in
2638 # order to expand this macro's arguments, not AU_DEFUN's.
2641 # Finally, this is the expansion that is picked up by
2642 # autoconf. It tells the user to run autoupdate, and
2643 # then outputs the replacement expansion. We do not care
2644 # about autoupdate's warning because that contains
2645 # information on what to do *after* running autoupdate.
2654 # This is what autoupdate's m4 run will expand. It fires
2655 # the warning (with _au_warn_XXX), outputs it into the
2656 # updated configure.ac (with AC_DIAGNOSE), and then outputs
2657 # the replacement expansion.
2660 # This is an auxiliary macro that is also run when
2661 # autoupdate runs m4. It simply calls m4_warning, but
2662 # we need a wrapper so that each warning is emitted only
2663 # once. We break the quoting in m4_warning's argument in
2664 # order to expand this macro's arguments, not AU_DEFUN's.
2667 # Finally, this is the expansion that is picked up by
2668 # autoconf. It tells the user to run autoupdate, and
2669 # then outputs the replacement expansion. We do not care
2670 # about autoupdate's warning because that contains
2671 # information on what to do *after* running autoupdate.
2680 # _LT_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
2681 # ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
2682 # ----------------------------------------------------------------
2683 # _LT_TRY_DLOPEN_SELF
2686 # LT_SYS_DLOPEN_SELF
2687 # ------------------
2688 # LT_SYS_DLOPEN_SELF
2691 # This is what autoupdate's m4 run will expand. It fires
2692 # the warning (with _au_warn_XXX), outputs it into the
2693 # updated configure.ac (with AC_DIAGNOSE), and then outputs
2694 # the replacement expansion.
2697 # This is an auxiliary macro that is also run when
2698 # autoupdate runs m4. It simply calls m4_warning, but
2699 # we need a wrapper so that each warning is emitted only
2700 # once. We break the quoting in m4_warning's argument in
2701 # order to expand this macro's arguments, not AU_DEFUN's.
2704 # Finally, this is the expansion that is picked up by
2705 # autoconf. It tells the user to run autoupdate, and
2706 # then outputs the replacement expansion. We do not care
2707 # about autoupdate's warning because that contains
2708 # information on what to do *after* running autoupdate.
2712 # _LT_COMPILER_C_O([TAGNAME])
2713 # ---------------------------
2714 # Check to see if options -c and -o are simultaneously supported by compiler.
2715 # This macro does not hard code the compiler like AC_PROG_CC_C_O.
2719 # _LT_COMPILER_FILE_LOCKS([TAGNAME])
2720 # ----------------------------------
2721 # Check to see if we can do hard links to lock some files if needed
2722 # _LT_COMPILER_FILE_LOCKS
2730 # _LT_LINKER_HARDCODE_LIBPATH([TAGNAME])
2731 # --------------------------------------
2732 # Check hardcoding attributes.
2733 # _LT_LINKER_HARDCODE_LIBPATH
2741 # _LT_SYS_DYNAMIC_LINKER([TAG])
2742 # -----------------------------
2743 # PORTME Fill in your ld.so characteristics
2744 # _LT_SYS_DYNAMIC_LINKER
2747 # _LT_PATH_TOOL_PREFIX(TOOL)
2748 # --------------------------
2749 # find a file program which can recognize shared library
2750 # _LT_PATH_TOOL_PREFIX
2753 # This is what autoupdate's m4 run will expand. It fires
2754 # the warning (with _au_warn_XXX), outputs it into the
2755 # updated configure.ac (with AC_DIAGNOSE), and then outputs
2756 # the replacement expansion.
2759 # This is an auxiliary macro that is also run when
2760 # autoupdate runs m4. It simply calls m4_warning, but
2761 # we need a wrapper so that each warning is emitted only
2762 # once. We break the quoting in m4_warning's argument in
2763 # order to expand this macro's arguments, not AU_DEFUN's.
2766 # Finally, this is the expansion that is picked up by
2767 # autoconf. It tells the user to run autoupdate, and
2768 # then outputs the replacement expansion. We do not care
2769 # about autoupdate's warning because that contains
2770 # information on what to do *after* running autoupdate.
2776 # find a file program which can recognize a shared library
2782 # find the pathname to the GNU or non-GNU linker
2786 # This is what autoupdate's m4 run will expand. It fires
2787 # the warning (with _au_warn_XXX), outputs it into the
2788 # updated configure.ac (with AC_DIAGNOSE), and then outputs
2789 # the replacement expansion.
2792 # This is an auxiliary macro that is also run when
2793 # autoupdate runs m4. It simply calls m4_warning, but
2794 # we need a wrapper so that each warning is emitted only
2795 # once. We break the quoting in m4_warning's argument in
2796 # order to expand this macro's arguments, not AU_DEFUN's.
2799 # Finally, this is the expansion that is picked up by
2800 # autoconf. It tells the user to run autoupdate, and
2801 # then outputs the replacement expansion. We do not care
2802 # about autoupdate's warning because that contains
2803 # information on what to do *after* running autoupdate.
2805 # This is what autoupdate's m4 run will expand. It fires
2806 # the warning (with _au_warn_XXX), outputs it into the
2807 # updated configure.ac (with AC_DIAGNOSE), and then outputs
2808 # the replacement expansion.
2811 # This is an auxiliary macro that is also run when
2812 # autoupdate runs m4. It simply calls m4_warning, but
2813 # we need a wrapper so that each warning is emitted only
2814 # once. We break the quoting in m4_warning's argument in
2815 # order to expand this macro's arguments, not AU_DEFUN's.
2818 # Finally, this is the expansion that is picked up by
2819 # autoconf. It tells the user to run autoupdate, and
2820 # then outputs the replacement expansion. We do not care
2821 # about autoupdate's warning because that contains
2822 # information on what to do *after* running autoupdate.
2833 # find reload flag for linker
2834 # -- PORTME Some linkers may need a different reload flag.
2838 # _LT_CHECK_MAGIC_METHOD
2839 # ----------------------
2840 # how to check for library dependencies
2841 # -- PORTME fill in with the dynamic library characteristics
2842 # _LT_CHECK_MAGIC_METHOD
2847 # find the pathname to a BSD- or MS-compatible name lister
2851 # This is what autoupdate's m4 run will expand. It fires
2852 # the warning (with _au_warn_XXX), outputs it into the
2853 # updated configure.ac (with AC_DIAGNOSE), and then outputs
2854 # the replacement expansion.
2857 # This is an auxiliary macro that is also run when
2858 # autoupdate runs m4. It simply calls m4_warning, but
2859 # we need a wrapper so that each warning is emitted only
2860 # once. We break the quoting in m4_warning's argument in
2861 # order to expand this macro's arguments, not AU_DEFUN's.
2864 # Finally, this is the expansion that is picked up by
2865 # autoconf. It tells the user to run autoupdate, and
2866 # then outputs the replacement expansion. We do not care
2867 # about autoupdate's warning because that contains
2868 # information on what to do *after* running autoupdate.
2870 # This is what autoupdate's m4 run will expand. It fires
2871 # the warning (with _au_warn_XXX), outputs it into the
2872 # updated configure.ac (with AC_DIAGNOSE), and then outputs
2873 # the replacement expansion.
2876 # This is an auxiliary macro that is also run when
2877 # autoupdate runs m4. It simply calls m4_warning, but
2878 # we need a wrapper so that each warning is emitted only
2879 # once. We break the quoting in m4_warning's argument in
2880 # order to expand this macro's arguments, not AU_DEFUN's.
2883 # Finally, this is the expansion that is picked up by
2884 # autoconf. It tells the user to run autoupdate, and
2885 # then outputs the replacement expansion. We do not care
2886 # about autoupdate's warning because that contains
2887 # information on what to do *after* running autoupdate.
2893 # check for math library
2897 # This is what autoupdate's m4 run will expand. It fires
2898 # the warning (with _au_warn_XXX), outputs it into the
2899 # updated configure.ac (with AC_DIAGNOSE), and then outputs
2900 # the replacement expansion.
2903 # This is an auxiliary macro that is also run when
2904 # autoupdate runs m4. It simply calls m4_warning, but
2905 # we need a wrapper so that each warning is emitted only
2906 # once. We break the quoting in m4_warning's argument in
2907 # order to expand this macro's arguments, not AU_DEFUN's.
2910 # Finally, this is the expansion that is picked up by
2911 # autoconf. It tells the user to run autoupdate, and
2912 # then outputs the replacement expansion. We do not care
2913 # about autoupdate's warning because that contains
2914 # information on what to do *after* running autoupdate.
2918 # _LT_COMPILER_NO_RTTI([TAGNAME])
2919 # -------------------------------
2920 # _LT_COMPILER_NO_RTTI
2923 # _LT_CMD_GLOBAL_SYMBOLS
2924 # ----------------------
2925 # _LT_CMD_GLOBAL_SYMBOLS
2928 # _LT_COMPILER_PIC([TAGNAME])
2929 # ---------------------------
2933 # _LT_LINKER_SHLIBS([TAGNAME])
2934 # ----------------------------
2935 # See if the linker supports building shared libraries.
2939 # _LT_LANG_C_CONFIG([TAG])
2940 # ------------------------
2941 # Ensure that the configuration variables for a C compiler are suitably
2942 # defined. These variables are subsequently used by _LT_CONFIG to write
2943 # the compiler configuration to `libtool'.
2947 # _LT_LANG_CXX_CONFIG([TAG])
2948 # --------------------------
2949 # Ensure that the configuration variables for a C++ compiler are suitably
2950 # defined. These variables are subsequently used by _LT_CONFIG to write
2951 # the compiler configuration to `libtool'.
2952 # _LT_LANG_CXX_CONFIG
2955 # _LT_SYS_HIDDEN_LIBDEPS([TAGNAME])
2956 # ---------------------------------
2957 # Figure out "hidden" library dependencies from verbose
2958 # compiler output when linking a shared library.
2959 # Parse the compiler output and extract the necessary
2960 # objects, libraries and library flags.
2961 # _LT_SYS_HIDDEN_LIBDEPS
2964 # _LT_LANG_F77_CONFIG([TAG])
2965 # --------------------------
2966 # Ensure that the configuration variables for a Fortran 77 compiler are
2967 # suitably defined. These variables are subsequently used by _LT_CONFIG
2968 # to write the compiler configuration to `libtool'.
2969 # _LT_LANG_F77_CONFIG
2972 # _LT_LANG_FC_CONFIG([TAG])
2973 # -------------------------
2974 # Ensure that the configuration variables for a Fortran compiler are
2975 # suitably defined. These variables are subsequently used by _LT_CONFIG
2976 # to write the compiler configuration to `libtool'.
2977 # _LT_LANG_FC_CONFIG
2980 # _LT_LANG_GCJ_CONFIG([TAG])
2981 # --------------------------
2982 # Ensure that the configuration variables for the GNU Java Compiler compiler
2983 # are suitably defined. These variables are subsequently used by _LT_CONFIG
2984 # to write the compiler configuration to `libtool'.
2985 # _LT_LANG_GCJ_CONFIG
2988 # _LT_LANG_RC_CONFIG([TAG])
2989 # -------------------------
2990 # Ensure that the configuration variables for the Windows resource compiler
2991 # are suitably defined. These variables are subsequently used by _LT_CONFIG
2992 # to write the compiler configuration to `libtool'.
2993 # _LT_LANG_RC_CONFIG
3001 # This is what autoupdate's m4 run will expand. It fires
3002 # the warning (with _au_warn_XXX), outputs it into the
3003 # updated configure.ac (with AC_DIAGNOSE), and then outputs
3004 # the replacement expansion.
3007 # This is an auxiliary macro that is also run when
3008 # autoupdate runs m4. It simply calls m4_warning, but
3009 # we need a wrapper so that each warning is emitted only
3010 # once. We break the quoting in m4_warning's argument in
3011 # order to expand this macro's arguments, not AU_DEFUN's.
3014 # Finally, this is the expansion that is picked up by
3015 # autoconf. It tells the user to run autoupdate, and
3016 # then outputs the replacement expansion. We do not care
3017 # about autoupdate's warning because that contains
3018 # information on what to do *after* running autoupdate.
3027 # This is what autoupdate's m4 run will expand. It fires
3028 # the warning (with _au_warn_XXX), outputs it into the
3029 # updated configure.ac (with AC_DIAGNOSE), and then outputs
3030 # the replacement expansion.
3033 # This is an auxiliary macro that is also run when
3034 # autoupdate runs m4. It simply calls m4_warning, but
3035 # we need a wrapper so that each warning is emitted only
3036 # once. We break the quoting in m4_warning's argument in
3037 # order to expand this macro's arguments, not AU_DEFUN's.
3040 # Finally, this is the expansion that is picked up by
3041 # autoconf. It tells the user to run autoupdate, and
3042 # then outputs the replacement expansion. We do not care
3043 # about autoupdate's warning because that contains
3044 # information on what to do *after* running autoupdate.
3050 # If we don't have a new enough Autoconf to choose the best grep
3051 # available, choose the one first in the user's PATH.
3057 # If we don't have a new enough Autoconf to choose the best objdump
3058 # available, choose the one first in the user's PATH.
3064 # Check for a fully-functional sed program, that truncates
3065 # as few characters as possible. Prefer GNU sed if found.
3071 # This is what autoupdate's m4 run will expand. It fires
3072 # the warning (with _au_warn_XXX), outputs it into the
3073 # updated configure.ac (with AC_DIAGNOSE), and then outputs
3074 # the replacement expansion.
3077 # This is an auxiliary macro that is also run when
3078 # autoupdate runs m4. It simply calls m4_warning, but
3079 # we need a wrapper so that each warning is emitted only
3080 # once. We break the quoting in m4_warning's argument in
3081 # order to expand this macro's arguments, not AU_DEFUN's.
3084 # Finally, this is the expansion that is picked up by
3085 # autoconf. It tells the user to run autoupdate, and
3086 # then outputs the replacement expansion. We do not care
3087 # about autoupdate's warning because that contains
3088 # information on what to do *after* running autoupdate.
3092 # _LT_CHECK_SHELL_FEATURES
3093 # ------------------------
3094 # Find out whether the shell is Bourne or XSI compatible,
3095 # or has some other useful features.
3096 # _LT_CHECK_SHELL_FEATURES
3099 # _LT_PROG_XSI_SHELLFNS
3100 # ---------------------
3101 # Bourne and XSI compatible variants of some useful shell functions.
3104 # Helper functions for option handling. -*- Autoconf -*-
3106 # Copyright (C) 2004, 2005, 2007, 2008, 2009 Free Software Foundation,
3108 # Written by Gary V. Vaughan, 2004
3110 # This file is free software; the Free Software Foundation gives
3111 # unlimited permission to copy and/or distribute it, with or without
3112 # modifications, as long as this notice is preserved.
3114 # serial 6 ltoptions.m4
3116 # This is to help aclocal find these macros, as it can't see m4_define.
3120 # _LT_MANGLE_OPTION(MACRO-NAME, OPTION-NAME)
3121 # ------------------------------------------
3125 # _LT_SET_OPTION(MACRO-NAME, OPTION-NAME)
3126 # ---------------------------------------
3127 # Set option OPTION-NAME for macro MACRO-NAME, and if there is a
3128 # matching handler defined, dispatch to it. Other OPTION-NAMEs are
3133 # _LT_IF_OPTION(MACRO-NAME, OPTION-NAME, IF-SET, [IF-NOT-SET])
3134 # ------------------------------------------------------------
3135 # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
3139 # _LT_UNLESS_OPTIONS(MACRO-NAME, OPTION-LIST, IF-NOT-SET)
3140 # -------------------------------------------------------
3141 # Execute IF-NOT-SET unless all options in OPTION-LIST for MACRO-NAME
3146 # _LT_SET_OPTIONS(MACRO-NAME, OPTION-LIST)
3147 # ----------------------------------------
3148 # OPTION-LIST is a space-separated list of Libtool options associated
3149 # with MACRO-NAME. If any OPTION has a matching handler declared with
3150 # LT_OPTION_DEFINE, dispatch to that macro; otherwise complain about
3151 # the unknown option and exit.
3155 ## --------------------------------- ##
3156 ## Macros to handle LT_INIT options. ##
3157 ## --------------------------------- ##
3159 # _LT_MANGLE_DEFUN(MACRO-NAME, OPTION-NAME)
3160 # -----------------------------------------
3164 # LT_OPTION_DEFINE(MACRO-NAME, OPTION-NAME, CODE)
3165 # -----------------------------------------------
3173 # This is what autoupdate's m4 run will expand. It fires
3174 # the warning (with _au_warn_XXX), outputs it into the
3175 # updated configure.ac (with AC_DIAGNOSE), and then outputs
3176 # the replacement expansion.
3179 # This is an auxiliary macro that is also run when
3180 # autoupdate runs m4. It simply calls m4_warning, but
3181 # we need a wrapper so that each warning is emitted only
3182 # once. We break the quoting in m4_warning's argument in
3183 # order to expand this macro's arguments, not AU_DEFUN's.
3186 # Finally, this is the expansion that is picked up by
3187 # autoconf. It tells the user to run autoupdate, and
3188 # then outputs the replacement expansion. We do not care
3189 # about autoupdate's warning because that contains
3190 # information on what to do *after* running autoupdate.
3197 # Declare package support for building win32 dll's.
3200 # This is what autoupdate's m4 run will expand. It fires
3201 # the warning (with _au_warn_XXX), outputs it into the
3202 # updated configure.ac (with AC_DIAGNOSE), and then outputs
3203 # the replacement expansion.
3206 # This is an auxiliary macro that is also run when
3207 # autoupdate runs m4. It simply calls m4_warning, but
3208 # we need a wrapper so that each warning is emitted only
3209 # once. We break the quoting in m4_warning's argument in
3210 # order to expand this macro's arguments, not AU_DEFUN's.
3213 # Finally, this is the expansion that is picked up by
3214 # autoconf. It tells the user to run autoupdate, and
3215 # then outputs the replacement expansion. We do not care
3216 # about autoupdate's warning because that contains
3217 # information on what to do *after* running autoupdate.
3222 # _LT_ENABLE_SHARED([DEFAULT])
3223 # ----------------------------
3224 # implement the --enable-shared flag, and supports the `shared' and
3225 # `disable-shared' LT_INIT options.
3226 # DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
3237 # This is what autoupdate's m4 run will expand. It fires
3238 # the warning (with _au_warn_XXX), outputs it into the
3239 # updated configure.ac (with AC_DIAGNOSE), and then outputs
3240 # the replacement expansion.
3243 # This is an auxiliary macro that is also run when
3244 # autoupdate runs m4. It simply calls m4_warning, but
3245 # we need a wrapper so that each warning is emitted only
3246 # once. We break the quoting in m4_warning's argument in
3247 # order to expand this macro's arguments, not AU_DEFUN's.
3250 # Finally, this is the expansion that is picked up by
3251 # autoconf. It tells the user to run autoupdate, and
3252 # then outputs the replacement expansion. We do not care
3253 # about autoupdate's warning because that contains
3254 # information on what to do *after* running autoupdate.
3256 # This is what autoupdate's m4 run will expand. It fires
3257 # the warning (with _au_warn_XXX), outputs it into the
3258 # updated configure.ac (with AC_DIAGNOSE), and then outputs
3259 # the replacement expansion.
3262 # This is an auxiliary macro that is also run when
3263 # autoupdate runs m4. It simply calls m4_warning, but
3264 # we need a wrapper so that each warning is emitted only
3265 # once. We break the quoting in m4_warning's argument in
3266 # order to expand this macro's arguments, not AU_DEFUN's.
3269 # Finally, this is the expansion that is picked up by
3270 # autoconf. It tells the user to run autoupdate, and
3271 # then outputs the replacement expansion. We do not care
3272 # about autoupdate's warning because that contains
3273 # information on what to do *after* running autoupdate.
3279 # _LT_ENABLE_STATIC([DEFAULT])
3280 # ----------------------------
3281 # implement the --enable-static flag, and support the `static' and
3282 # `disable-static' LT_INIT options.
3283 # DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
3294 # This is what autoupdate's m4 run will expand. It fires
3295 # the warning (with _au_warn_XXX), outputs it into the
3296 # updated configure.ac (with AC_DIAGNOSE), and then outputs
3297 # the replacement expansion.
3300 # This is an auxiliary macro that is also run when
3301 # autoupdate runs m4. It simply calls m4_warning, but
3302 # we need a wrapper so that each warning is emitted only
3303 # once. We break the quoting in m4_warning's argument in
3304 # order to expand this macro's arguments, not AU_DEFUN's.
3307 # Finally, this is the expansion that is picked up by
3308 # autoconf. It tells the user to run autoupdate, and
3309 # then outputs the replacement expansion. We do not care
3310 # about autoupdate's warning because that contains
3311 # information on what to do *after* running autoupdate.
3313 # This is what autoupdate's m4 run will expand. It fires
3314 # the warning (with _au_warn_XXX), outputs it into the
3315 # updated configure.ac (with AC_DIAGNOSE), and then outputs
3316 # the replacement expansion.
3319 # This is an auxiliary macro that is also run when
3320 # autoupdate runs m4. It simply calls m4_warning, but
3321 # we need a wrapper so that each warning is emitted only
3322 # once. We break the quoting in m4_warning's argument in
3323 # order to expand this macro's arguments, not AU_DEFUN's.
3326 # Finally, this is the expansion that is picked up by
3327 # autoconf. It tells the user to run autoupdate, and
3328 # then outputs the replacement expansion. We do not care
3329 # about autoupdate's warning because that contains
3330 # information on what to do *after* running autoupdate.
3336 # _LT_ENABLE_FAST_INSTALL([DEFAULT])
3337 # ----------------------------------
3338 # implement the --enable-fast-install flag, and support the `fast-install'
3339 # and `disable-fast-install' LT_INIT options.
3340 # DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
3341 # _LT_ENABLE_FAST_INSTALL
3347 # This is what autoupdate's m4 run will expand. It fires
3348 # the warning (with _au_warn_XXX), outputs it into the
3349 # updated configure.ac (with AC_DIAGNOSE), and then outputs
3350 # the replacement expansion.
3353 # This is an auxiliary macro that is also run when
3354 # autoupdate runs m4. It simply calls m4_warning, but
3355 # we need a wrapper so that each warning is emitted only
3356 # once. We break the quoting in m4_warning's argument in
3357 # order to expand this macro's arguments, not AU_DEFUN's.
3360 # Finally, this is the expansion that is picked up by
3361 # autoconf. It tells the user to run autoupdate, and
3362 # then outputs the replacement expansion. We do not care
3363 # about autoupdate's warning because that contains
3364 # information on what to do *after* running autoupdate.
3367 # This is what autoupdate's m4 run will expand. It fires
3368 # the warning (with _au_warn_XXX), outputs it into the
3369 # updated configure.ac (with AC_DIAGNOSE), and then outputs
3370 # the replacement expansion.
3373 # This is an auxiliary macro that is also run when
3374 # autoupdate runs m4. It simply calls m4_warning, but
3375 # we need a wrapper so that each warning is emitted only
3376 # once. We break the quoting in m4_warning's argument in
3377 # order to expand this macro's arguments, not AU_DEFUN's.
3380 # Finally, this is the expansion that is picked up by
3381 # autoconf. It tells the user to run autoupdate, and
3382 # then outputs the replacement expansion. We do not care
3383 # about autoupdate's warning because that contains
3384 # information on what to do *after* running autoupdate.
3389 # _LT_WITH_PIC([MODE])
3390 # --------------------
3391 # implement the --with-pic flag, and support the `pic-only' and `no-pic'
3393 # MODE is either `yes' or `no'. If omitted, it defaults to `both'.
3400 # This is what autoupdate's m4 run will expand. It fires
3401 # the warning (with _au_warn_XXX), outputs it into the
3402 # updated configure.ac (with AC_DIAGNOSE), and then outputs
3403 # the replacement expansion.
3406 # This is an auxiliary macro that is also run when
3407 # autoupdate runs m4. It simply calls m4_warning, but
3408 # we need a wrapper so that each warning is emitted only
3409 # once. We break the quoting in m4_warning's argument in
3410 # order to expand this macro's arguments, not AU_DEFUN's.
3413 # Finally, this is the expansion that is picked up by
3414 # autoconf. It tells the user to run autoupdate, and
3415 # then outputs the replacement expansion. We do not care
3416 # about autoupdate's warning because that contains
3417 # information on what to do *after* running autoupdate.
3421 ## ----------------- ##
3422 ## LTDL_INIT Options ##
3423 ## ----------------- ##
3434 # ltsugar.m4 -- libtool m4 base layer. -*-Autoconf-*-
3436 # Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc.
3437 # Written by Gary V. Vaughan, 2004
3439 # This file is free software; the Free Software Foundation gives
3440 # unlimited permission to copy and/or distribute it, with or without
3441 # modifications, as long as this notice is preserved.
3443 # serial 6 ltsugar.m4
3445 # This is to help aclocal find these macros, as it can't see m4_define.
3449 # lt_join(SEP, ARG1, [ARG2...])
3450 # -----------------------------
3451 # Produce ARG1SEPARG2...SEPARGn, omitting [] arguments and their
3452 # associated separator.
3453 # Needed until we can rely on m4_join from Autoconf 2.62, since all earlier
3454 # versions in m4sugar had bugs.
3462 # Manipulate m4 lists.
3463 # These macros are necessary as long as will still need to support
3464 # Autoconf-2.59 which quotes differently.
3470 # lt_append(MACRO-NAME, STRING, [SEPARATOR])
3471 # ------------------------------------------
3472 # Redefine MACRO-NAME to hold its former content plus `SEPARATOR'`STRING'.
3473 # Note that neither SEPARATOR nor STRING are expanded; they are appended
3474 # to MACRO-NAME as is (leaving the expansion for when MACRO-NAME is invoked).
3475 # No SEPARATOR is output if MACRO-NAME was previously undefined (different
3476 # than defined and empty).
3478 # This macro is needed until we can rely on Autoconf 2.62, since earlier
3479 # versions of m4sugar mistakenly expanded SEPARATOR but not STRING.
3484 # lt_combine(SEP, PREFIX-LIST, INFIX, SUFFIX1, [SUFFIX2...])
3485 # ----------------------------------------------------------
3486 # Produce a SEP delimited list of all paired combinations of elements of
3487 # PREFIX-LIST with SUFFIX1 through SUFFIXn. Each element of the list
3488 # has the form PREFIXmINFIXSUFFIXn.
3489 # Needed until we can rely on m4_combine added in Autoconf 2.62.
3493 # lt_if_append_uniq(MACRO-NAME, VARNAME, [SEPARATOR], [UNIQ], [NOT-UNIQ])
3494 # -----------------------------------------------------------------------
3495 # Iff MACRO-NAME does not yet contain VARNAME, then append it (delimited
3496 # by SEPARATOR if supplied) and expand UNIQ, else NOT-UNIQ.
3500 # lt_dict_add(DICT, KEY, VALUE)
3501 # -----------------------------
3505 # lt_dict_add_subkey(DICT, KEY, SUBKEY, VALUE)
3506 # --------------------------------------------
3510 # lt_dict_fetch(DICT, KEY, [SUBKEY])
3511 # ----------------------------------
3515 # lt_if_dict_fetch(DICT, KEY, [SUBKEY], VALUE, IF-TRUE, [IF-FALSE])
3516 # -----------------------------------------------------------------
3520 # lt_dict_filter(DICT, [SUBKEY], VALUE, [SEPARATOR], KEY, [...])
3521 # --------------------------------------------------------------
3524 # ltversion.m4 -- version numbers -*- Autoconf -*-
3526 # Copyright (C) 2004 Free Software Foundation, Inc.
3527 # Written by Scott James Remnant, 2004
3529 # This file is free software; the Free Software Foundation gives
3530 # unlimited permission to copy and/or distribute it, with or without
3531 # modifications, as long as this notice is preserved.
3533 # Generated from ltversion.in.
3535 # serial 3134 ltversion.m4
3536 # This file is part of GNU Libtool
3543 # lt~obsolete.m4 -- aclocal satisfying obsolete definitions. -*-Autoconf-*-
3545 # Copyright (C) 2004, 2005, 2007, 2009 Free Software Foundation, Inc.
3546 # Written by Scott James Remnant, 2004.
3548 # This file is free software; the Free Software Foundation gives
3549 # unlimited permission to copy and/or distribute it, with or without
3550 # modifications, as long as this notice is preserved.
3552 # serial 4 lt~obsolete.m4
3554 # These exist entirely to fool aclocal when bootstrapping libtool.
3556 # In the past libtool.m4 has provided macros via AC_DEFUN (or AU_DEFUN)
3557 # which have later been changed to m4_define as they aren't part of the
3558 # exported API, or moved to Autoconf or Automake where they belong.
3560 # The trouble is, aclocal is a bit thick. It'll see the old AC_DEFUN
3561 # in /usr/share/aclocal/libtool.m4 and remember it, then when it sees us
3562 # using a macro with the same name in our local m4/libtool.m4 it'll
3563 # pull the old libtool.m4 in (it doesn't see our shiny new m4_define
3564 # and doesn't know about Autoconf macros at all.)
3566 # So we provide this file, which has a silly filename so it's always
3567 # included after everything else. This provides aclocal with the
3568 # AC_DEFUNs it wants, but when m4 processes it, it doesn't do anything
3569 # because those macros already exist, or will be overwritten later.
3570 # We use AC_DEFUN over AU_DEFUN for compatibility with aclocal-1.6.
3572 # Anytime we withdraw an AC_DEFUN or AU_DEFUN, remember to add it here.
3573 # Yes, that means every name once taken will need to remain here until
3574 # we give up compatibility with versions before 1.7, at which point
3575 # we need to keep only those names which we still refer to.
3577 # This is to help aclocal find these macros, as it can't see m4_define.
3644 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2007
3645 # Free Software Foundation, Inc.
3647 # This file is free software; the Free Software Foundation
3648 # gives unlimited permission to copy and/or distribute it,
3649 # with or without modifications, as long as this notice is preserved.
3653 # Based on depend.m4 from automake 1.9, modified for standalone use in
3654 # an environment where GNU make is required.
3656 # ZW_PROG_COMPILER_DEPENDENCIES
3657 # -----------------------------
3658 # Variant of _AM_DEPENDENCIES which just does the dependency probe and
3659 # sets fooDEPMODE accordingly. Cache-variable compatible with
3660 # original; not side-effect compatible. As the users of this macro
3661 # may require accurate dependencies for correct builds, it does *not*
3662 # honor --disable-dependency-checking, and failure to detect a usable
3663 # method is an error. depcomp is assumed to be located in
3666 # FIXME: Should use the Autoconf 2.5x language-selection mechanism.
3672 # Choose a directory name for dependency files.
3677 # As AM_SET_DEPDIR, but also create the directory at config.status time.
3748 # intl sister-directory configuration rules.
3751 # The idea behind this macro is that there's no need to repeat all the
3752 # autoconf probes done by the intl directory - it's already done them
3753 # for us. In fact, there's no need even to look at the cache for the
3754 # answers. All we need to do is nab a few pieces of information.
3755 # The intl directory is set up to make this easy, by generating a
3756 # small file which can be sourced as a shell script; then we produce
3757 # the necessary substitutions and definitions for this directory.
3761 # Autoconf M4 include file defining utility macros for complex Canadian
3773 # _NCN_TOOL_PREFIXES: Some stuff that oughtta be done in AC_CANONICAL_SYSTEM
3775 # These demand that AC_CANONICAL_SYSTEM be called beforehand.
3778 # NCN_STRICT_CHECK_TOOLS(variable, progs-to-check-for,[value-if-not-found],[path])
3779 # Like plain AC_CHECK_TOOLS, but require prefix if build!=host.
3783 # NCN_STRICT_CHECK_TARGET_TOOLS(variable, progs-to-check-for,[value-if-not-found],[path])
3784 # Like CVS Autoconf AC_CHECK_TARGET_TOOLS, but require prefix if build!=target.
3788 # Backported from Autoconf 2.5x; can go away when and if
3789 # we switch. Put the OS path separator in $PATH_SEPARATOR.
3794 # ACX_HAVE_GCC_FOR_TARGET
3795 # Check if the variable GCC_FOR_TARGET really points to a GCC binary.
3798 # ACX_CHECK_INSTALLED_TARGET_TOOL(VAR, PROG)
3799 # Searching for installed target binutils. We need to take extra care,
3800 # else we may find the wrong assembler, linker, etc., and lose.
3802 # First try --with-build-time-tools, if specified.
3804 # For build != host, we ask the installed GCC for the name of the tool it
3805 # uses, and accept it if it is an absolute path. This is because the
3806 # only good choice for a compiler is the same GCC version that is being
3807 # installed (or we couldn't make target libraries), and we assume that
3808 # on the host system we'll have not only the same GCC version, but also
3809 # the same binutils version.
3811 # For build == host, search the same directories that the installed
3812 # compiler will search. We used to do this for the assembler, linker,
3813 # and nm only; for simplicity of configuration, however, we extend this
3814 # criterion to tools (such as ar and ranlib) that are never invoked by
3815 # the compiler, to avoid mismatches.
3817 # Also note we have to check MD_EXEC_PREFIX before checking the user's path
3818 # if build == target. This makes the most sense only when bootstrapping,
3819 # but we also do so when build != host. In this case, we hope that the
3820 # build and host systems will have similar contents of MD_EXEC_PREFIX.
3822 # If we do not find a suitable binary, then try the user's path.
3826 # AC_PROG_CPP_WERROR
3827 # Used for autoconf 2.5x to force AC_PREPROC_IFELSE to reject code which
3828 # triggers warnings from the preprocessor. Will be in autoconf 2.58.
3829 # For now, using this also overrides header checks to use only the
3830 # preprocessor (matches 2.13 behavior; matching 2.58's behavior is a
3831 # bit harder from here).
3832 # Eventually autoconf will default to checking headers with the compiler
3833 # instead, and we'll have to do this differently.
3835 # AC_PROG_CPP_WERROR
3838 # We require the gnatbind & gnatmake programs, as well as a compiler driver
3839 # that understands Ada. We use the user's CC setting, already found, and
3840 # possibly add $1 to the command-line parameters.
3842 # Sets the shell variable have_gnat to yes or no as appropriate, and
3843 # substitutes GNATBIND and GNATMAKE.
3870 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3871 for ac_t
in install-sh
install.sh shtool
; do
3872 if test -f "$ac_dir/$ac_t"; then
3874 ac_install_sh
="$ac_aux_dir/$ac_t -c"
3879 if test -z "$ac_aux_dir"; then
3880 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3883 # These three variables are undocumented and unsupported,
3884 # and are intended to be withdrawn in a future Autoconf release.
3885 # They can cause serious problems if a builder's source tree is in a directory
3886 # whose full name contains unusual characters.
3887 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3888 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3889 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3892 # Find a good install program. We prefer a C program (faster),
3893 # so one script is as good as another. But avoid the broken or
3894 # incompatible versions:
3895 # SysV /etc/install, /usr/sbin/install
3896 # SunOS /usr/etc/install
3897 # IRIX /sbin/install
3899 # AmigaOS /C/install, which installs bootblocks on floppy discs
3900 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3901 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3902 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3903 # OS/2's system install, which has a completely different semantic
3904 # ./install, which can be erroneously created by make from ./install.sh.
3905 # Reject install programs that cannot install multiple files.
3906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3907 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3908 if test -z "$INSTALL"; then
3909 if test "${ac_cv_path_install+set}" = set; then :
3910 $as_echo_n "(cached) " >&6
3912 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3916 test -z "$as_dir" && as_dir
=.
3917 # Account for people who put trailing slashes in PATH elements.
3918 case $as_dir/ in #((
3919 .
/ | .
// |
/[cC
]/* | \
3920 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3921 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
3924 # OSF1 and SCO ODT 3.0 have their own names for install.
3925 # Don't use installbsd from OSF since it installs stuff as root
3927 for ac_prog
in ginstall scoinst
install; do
3928 for ac_exec_ext
in '' $ac_executable_extensions; do
3929 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3930 if test $ac_prog = install &&
3931 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3932 # AIX install. It has an incompatible calling convention.
3934 elif test $ac_prog = install &&
3935 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3936 # program-specific install script used by HP pwplus--don't use.
3939 rm -rf conftest.one conftest.two conftest.dir
3940 echo one
> conftest.one
3941 echo two
> conftest.two
3943 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
3944 test -s conftest.one
&& test -s conftest.two
&&
3945 test -s conftest.dir
/conftest.one
&&
3946 test -s conftest.dir
/conftest.two
3948 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3961 rm -rf conftest.one conftest.two conftest.dir
3964 if test "${ac_cv_path_install+set}" = set; then
3965 INSTALL
=$ac_cv_path_install
3967 # As a last resort, use the slow shell script. Don't cache a
3968 # value for INSTALL within a source directory, because that will
3969 # break other packages using the cache if that directory is
3970 # removed, or if the value is a relative name.
3971 INSTALL
=$ac_install_sh
3974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3975 $as_echo "$INSTALL" >&6; }
3977 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3978 # It thinks the first close brace ends the variable substitution.
3979 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3981 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3983 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3986 ac_cpp
='$CPP $CPPFLAGS'
3987 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3988 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3989 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3990 if test -n "$ac_tool_prefix"; then
3991 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3992 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3994 $as_echo_n "checking for $ac_word... " >&6; }
3995 if test "${ac_cv_prog_CC+set}" = set; then :
3996 $as_echo_n "(cached) " >&6
3998 if test -n "$CC"; then
3999 ac_cv_prog_CC
="$CC" # Let the user override the test.
4001 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4005 test -z "$as_dir" && as_dir
=.
4006 for ac_exec_ext
in '' $ac_executable_extensions; do
4007 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4008 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4009 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4019 if test -n "$CC"; then
4020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4021 $as_echo "$CC" >&6; }
4023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4024 $as_echo "no" >&6; }
4029 if test -z "$ac_cv_prog_CC"; then
4031 # Extract the first word of "gcc", so it can be a program name with args.
4032 set dummy gcc
; ac_word
=$2
4033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4034 $as_echo_n "checking for $ac_word... " >&6; }
4035 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4036 $as_echo_n "(cached) " >&6
4038 if test -n "$ac_ct_CC"; then
4039 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4041 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4045 test -z "$as_dir" && as_dir
=.
4046 for ac_exec_ext
in '' $ac_executable_extensions; do
4047 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4048 ac_cv_prog_ac_ct_CC
="gcc"
4049 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4058 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4059 if test -n "$ac_ct_CC"; then
4060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4061 $as_echo "$ac_ct_CC" >&6; }
4063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4064 $as_echo "no" >&6; }
4067 if test "x$ac_ct_CC" = x
; then
4070 case $cross_compiling:$ac_tool_warned in
4072 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4073 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4074 ac_tool_warned
=yes ;;
4082 if test -z "$CC"; then
4083 if test -n "$ac_tool_prefix"; then
4084 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4085 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4087 $as_echo_n "checking for $ac_word... " >&6; }
4088 if test "${ac_cv_prog_CC+set}" = set; then :
4089 $as_echo_n "(cached) " >&6
4091 if test -n "$CC"; then
4092 ac_cv_prog_CC
="$CC" # Let the user override the test.
4094 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4098 test -z "$as_dir" && as_dir
=.
4099 for ac_exec_ext
in '' $ac_executable_extensions; do
4100 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4101 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4102 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4112 if test -n "$CC"; then
4113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4114 $as_echo "$CC" >&6; }
4116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4117 $as_echo "no" >&6; }
4123 if test -z "$CC"; then
4124 # Extract the first word of "cc", so it can be a program name with args.
4125 set dummy cc
; ac_word
=$2
4126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4127 $as_echo_n "checking for $ac_word... " >&6; }
4128 if test "${ac_cv_prog_CC+set}" = set; then :
4129 $as_echo_n "(cached) " >&6
4131 if test -n "$CC"; then
4132 ac_cv_prog_CC
="$CC" # Let the user override the test.
4135 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4139 test -z "$as_dir" && as_dir
=.
4140 for ac_exec_ext
in '' $ac_executable_extensions; do
4141 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4142 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4143 ac_prog_rejected
=yes
4147 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4154 if test $ac_prog_rejected = yes; then
4155 # We found a bogon in the path, so make sure we never use it.
4156 set dummy
$ac_cv_prog_CC
4158 if test $# != 0; then
4159 # We chose a different compiler from the bogus one.
4160 # However, it has the same basename, so the bogon will be chosen
4161 # first if we set CC to just the basename; use the full file name.
4163 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4169 if test -n "$CC"; then
4170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4171 $as_echo "$CC" >&6; }
4173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4174 $as_echo "no" >&6; }
4179 if test -z "$CC"; then
4180 if test -n "$ac_tool_prefix"; then
4181 for ac_prog
in cl.exe
4183 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4184 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4186 $as_echo_n "checking for $ac_word... " >&6; }
4187 if test "${ac_cv_prog_CC+set}" = set; then :
4188 $as_echo_n "(cached) " >&6
4190 if test -n "$CC"; then
4191 ac_cv_prog_CC
="$CC" # Let the user override the test.
4193 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4197 test -z "$as_dir" && as_dir
=.
4198 for ac_exec_ext
in '' $ac_executable_extensions; do
4199 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4200 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4201 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4211 if test -n "$CC"; then
4212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4213 $as_echo "$CC" >&6; }
4215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4216 $as_echo "no" >&6; }
4220 test -n "$CC" && break
4223 if test -z "$CC"; then
4225 for ac_prog
in cl.exe
4227 # Extract the first word of "$ac_prog", so it can be a program name with args.
4228 set dummy
$ac_prog; ac_word
=$2
4229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4230 $as_echo_n "checking for $ac_word... " >&6; }
4231 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4232 $as_echo_n "(cached) " >&6
4234 if test -n "$ac_ct_CC"; then
4235 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4237 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4241 test -z "$as_dir" && as_dir
=.
4242 for ac_exec_ext
in '' $ac_executable_extensions; do
4243 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4244 ac_cv_prog_ac_ct_CC
="$ac_prog"
4245 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4254 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4255 if test -n "$ac_ct_CC"; then
4256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4257 $as_echo "$ac_ct_CC" >&6; }
4259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4260 $as_echo "no" >&6; }
4264 test -n "$ac_ct_CC" && break
4267 if test "x$ac_ct_CC" = x
; then
4270 case $cross_compiling:$ac_tool_warned in
4272 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4273 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4274 ac_tool_warned
=yes ;;
4283 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4284 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4285 as_fn_error
"no acceptable C compiler found in \$PATH
4286 See \`config.log' for more details." "$LINENO" 5; }
4288 # Provide some information about the compiler.
4289 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4292 for ac_option
in --version -v -V -qversion; do
4293 { { ac_try
="$ac_compiler $ac_option >&5"
4295 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4296 *) ac_try_echo=$ac_try;;
4298 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4299 $as_echo "$ac_try_echo"; } >&5
4300 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4302 if test -s conftest.err; then
4304 ... rest of stderr output deleted ...
4305 10q' conftest.err >conftest.er1
4306 cat conftest.er1 >&5
4307 rm -f conftest.er1 conftest.err
4309 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4310 test $ac_status = 0; }
4313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4314 /* end confdefs.h. */
4324 ac_clean_files_save=$ac_clean_files
4325 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
4326 # Try to create an executable without -o first, disregard a.out.
4327 # It will help us diagnose broken compilers, and finding out an intuition
4329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4330 $as_echo_n "checking for C compiler default output file name... " >&6; }
4331 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4333 # The possible output files:
4334 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4337 for ac_file in $ac_files
4340 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4341 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4346 if { { ac_try="$ac_link_default"
4348 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4349 *) ac_try_echo
=$ac_try;;
4351 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4352 $as_echo "$ac_try_echo"; } >&5
4353 (eval "$ac_link_default") 2>&5
4355 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4356 test $ac_status = 0; }; then :
4357 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4358 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4359 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4360 # so that the user can short-circuit this test for compilers unknown to
4362 for ac_file
in $ac_files ''
4364 test -f "$ac_file" ||
continue
4366 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4369 # We found the default executable, but exeext='' is most
4373 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4375 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4377 # We set ac_cv_exeext here because the later test for it is not
4378 # safe: cross compilers may not add the suffix if given an `-o'
4379 # argument, so we may need to know it at that point already.
4380 # Even if this section looks crufty: it has the advantage of
4387 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4393 $as_echo "$ac_file" >&6; }
4394 if test -z "$ac_file"; then :
4395 $as_echo "$as_me: failed program was:" >&5
4396 sed 's/^/| /' conftest.
$ac_ext >&5
4398 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4399 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4400 { as_fn_set_status
77
4401 as_fn_error
"C compiler cannot create executables
4402 See \`config.log' for more details." "$LINENO" 5; }; }
4404 ac_exeext
=$ac_cv_exeext
4406 # Check that the compiler produces executables we can run. If not, either
4407 # the compiler is broken, or we cross compile.
4408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4409 $as_echo_n "checking whether the C compiler works... " >&6; }
4410 # If not cross compiling, check that we can run a simple program.
4411 if test "$cross_compiling" != yes; then
4412 if { ac_try
='./$ac_file'
4413 { { case "(($ac_try" in
4414 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4415 *) ac_try_echo=$ac_try;;
4417 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4418 $as_echo "$ac_try_echo"; } >&5
4419 (eval "$ac_try") 2>&5
4421 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4422 test $ac_status = 0; }; }; then
4425 if test "$cross_compiling" = maybe; then
4428 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4429 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4430 as_fn_error "cannot run C compiled programs.
4431 If you meant to cross compile
, use \
`--host'.
4432 See \`config.log
' for more details." "$LINENO" 5; }
4436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4437 $as_echo "yes" >&6; }
4439 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4440 ac_clean_files=$ac_clean_files_save
4441 # Check that the compiler produces executables we can run. If not, either
4442 # the compiler is broken, or we cross compile.
4443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4444 $as_echo_n "checking whether we are cross compiling... " >&6; }
4445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4446 $as_echo "$cross_compiling" >&6; }
4448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4449 $as_echo_n "checking for suffix of executables... " >&6; }
4450 if { { ac_try="$ac_link"
4452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4453 *) ac_try_echo=$ac_try;;
4455 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4456 $as_echo "$ac_try_echo"; } >&5
4457 (eval "$ac_link") 2>&5
4459 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4460 test $ac_status = 0; }; then :
4461 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
4462 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
4463 # work properly (i.e., refer to `conftest.exe
'), while it won't with
4465 for ac_file
in conftest.exe conftest conftest.
*; do
4466 test -f "$ac_file" ||
continue
4468 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4469 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4475 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4476 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4477 as_fn_error
"cannot compute suffix of executables: cannot compile and link
4478 See \`config.log' for more details." "$LINENO" 5; }
4480 rm -f conftest
$ac_cv_exeext
4481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4482 $as_echo "$ac_cv_exeext" >&6; }
4484 rm -f conftest.
$ac_ext
4485 EXEEXT
=$ac_cv_exeext
4487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4488 $as_echo_n "checking for suffix of object files... " >&6; }
4489 if test "${ac_cv_objext+set}" = set; then :
4490 $as_echo_n "(cached) " >&6
4492 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4493 /* end confdefs.h. */
4503 rm -f conftest.o conftest.obj
4504 if { { ac_try
="$ac_compile"
4506 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4507 *) ac_try_echo=$ac_try;;
4509 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4510 $as_echo "$ac_try_echo"; } >&5
4511 (eval "$ac_compile") 2>&5
4513 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4514 test $ac_status = 0; }; then :
4515 for ac_file in conftest.o conftest.obj conftest.*; do
4516 test -f "$ac_file" || continue;
4518 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4519 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4524 $as_echo "$as_me: failed program was:" >&5
4525 sed 's/^/| /' conftest.$ac_ext >&5
4527 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4528 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4529 as_fn_error "cannot compute suffix of object files
: cannot compile
4530 See \
`config.log' for more details." "$LINENO" 5; }
4532 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4535 $as_echo "$ac_cv_objext" >&6; }
4536 OBJEXT=$ac_cv_objext
4538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4539 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4540 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4541 $as_echo_n "(cached) " >&6
4543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4544 /* end confdefs.h. */
4557 if ac_fn_c_try_compile "$LINENO"; then :
4562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4563 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4567 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4568 if test $ac_compiler_gnu = yes; then
4573 ac_test_CFLAGS=${CFLAGS+set}
4574 ac_save_CFLAGS=$CFLAGS
4575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4576 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4577 if test "${ac_cv_prog_cc_g+set}" = set; then :
4578 $as_echo_n "(cached) " >&6
4580 ac_save_c_werror_flag=$ac_c_werror_flag
4581 ac_c_werror_flag=yes
4584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4585 /* end confdefs.h. */
4595 if ac_fn_c_try_compile "$LINENO"; then :
4599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4600 /* end confdefs.h. */
4610 if ac_fn_c_try_compile "$LINENO"; then :
4613 ac_c_werror_flag=$ac_save_c_werror_flag
4615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4616 /* end confdefs.h. */
4626 if ac_fn_c_try_compile "$LINENO"; then :
4629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4634 ac_c_werror_flag=$ac_save_c_werror_flag
4636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4637 $as_echo "$ac_cv_prog_cc_g" >&6; }
4638 if test "$ac_test_CFLAGS" = set; then
4639 CFLAGS=$ac_save_CFLAGS
4640 elif test $ac_cv_prog_cc_g = yes; then
4641 if test "$GCC" = yes; then
4647 if test "$GCC" = yes; then
4653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4654 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4655 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4656 $as_echo_n "(cached) " >&6
4658 ac_cv_prog_cc_c89=no
4660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4661 /* end confdefs.h. */
4664 #include <sys/types.h>
4665 #include <sys/stat.h>
4666 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4667 struct buf { int x; };
4668 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4669 static char *e (p, i)
4675 static char *f (char * (*g) (char **, int), char **p, ...)
4680 s = g (p, va_arg (v,int));
4685 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4686 function prototypes and stuff, but not '\xHH' hex character constants.
4687 These don't provoke an error unfortunately, instead are silently treated
4688 as 'x'. The following induces an error, until -std is added to get
4689 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4690 array size at least. It's necessary to write '\x00'==0 to get something
4691 that's true only with -std. */
4692 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4694 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4695 inside strings and character constants. */
4697 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4699 int test (int i, double x);
4700 struct s1 {int (*f) (int a);};
4701 struct s2 {int (*f) (double a);};
4702 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4708 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4713 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4714 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4716 CC="$ac_save_CC $ac_arg"
4717 if ac_fn_c_try_compile "$LINENO"; then :
4718 ac_cv_prog_cc_c89=$ac_arg
4720 rm -f core conftest.err conftest.$ac_objext
4721 test "x$ac_cv_prog_cc_c89" != "xno" && break
4723 rm -f conftest.$ac_ext
4728 case "x$ac_cv_prog_cc_c89" in
4730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4731 $as_echo "none needed" >&6; } ;;
4733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4734 $as_echo "unsupported" >&6; } ;;
4736 CC="$CC $ac_cv_prog_cc_c89"
4737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4738 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4740 if test "x$ac_cv_prog_cc_c89" != xno; then :
4745 ac_cpp='$CPP $CPPFLAGS'
4746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4753 # Check whether --enable-werror was given.
4754 if test "${enable_werror+set}" = set; then :
4755 enableval=$enable_werror; case "${enableval}" in
4756 yes | y) ERROR_ON_WARNING="yes" ;;
4757 no | n) ERROR_ON_WARNING="no" ;;
4758 *) as_fn_error "bad value ${enableval} for --enable-werror" "$LINENO" 5 ;;
4763 # Enable -Werror by default when using gcc
4764 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
4765 ERROR_ON_WARNING=yes
4769 if test "${ERROR_ON_WARNING}" = yes ; then
4770 # NOTE: Disabled in the sim dir due to most sims generating warnings.
4771 # WERROR_CFLAGS="-Werror"
4775 build_warnings="-Wall -Wdeclaration-after-statement -Wpointer-arith \
4777 -Wno-unused -Wunused-value -Wunused-function \
4778 -Wno-switch -Wno-char-subscripts -Wmissing-prototypes
4779 -Wdeclaration-after-statement -Wempty-body -Wmissing-parameter-type \
4780 -Wold-style-declaration -Wold-style-definition"
4782 # Enable -Wno-format by default when using gcc on mingw since many
4783 # GCC versions complain about %I64.
4785 *-*-mingw32*) build_warnings="$build_warnings -Wno-format" ;;
4786 *) build_warnings="$build_warnings -Wformat-nonliteral" ;;
4789 # Check whether --enable-build-warnings was given.
4790 if test "${enable_build_warnings+set}" = set; then :
4791 enableval=$enable_build_warnings; case "${enableval}" in
4793 no) build_warnings="-w";;
4794 ,*) t=`echo "${enableval}" |
sed -e "s/,/ /g"`
4795 build_warnings="${build_warnings} ${t}";;
4796 *,) t=`echo "${enableval}" |
sed -e "s/,/ /g"`
4797 build_warnings="${t} ${build_warnings}";;
4798 *) build_warnings=`echo "${enableval}" |
sed -e "s/,/ /g"`;;
4800 if test x"$silent" != x"yes" && test x"$build_warnings" != x""; then
4801 echo "Setting compiler warning flags = $build_warnings" 6>&1
4804 # Check whether --enable-sim-build-warnings was given.
4805 if test "${enable_sim_build_warnings+set}" = set; then :
4806 enableval=$enable_sim_build_warnings; case "${enableval}" in
4808 no) build_warnings="-w";;
4809 ,*) t=`echo "${enableval}" |
sed -e "s/,/ /g"`
4810 build_warnings="${build_warnings} ${t}";;
4811 *,) t=`echo "${enableval}" |
sed -e "s/,/ /g"`
4812 build_warnings="${t} ${build_warnings}";;
4813 *) build_warnings=`echo "${enableval}" |
sed -e "s/,/ /g"`;;
4815 if test x"$silent" != x"yes" && test x"$build_warnings" != x""; then
4816 echo "Setting GDB specific compiler warning flags = $build_warnings" 6>&1
4820 if test "x${build_warnings}" != x -a "x$GCC" = xyes
4822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking compiler warning flags" >&5
4823 $as_echo_n "checking compiler warning flags... " >&6; }
4824 # Separate out the -Werror flag as some files just cannot be
4825 # compiled with it enabled.
4826 for w in ${build_warnings}; do
4828 -Werr*) WERROR_CFLAGS=-Werror ;;
4829 *) # Check that GCC accepts it
4830 saved_CFLAGS="$CFLAGS"
4832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4833 /* end confdefs.h. */
4843 if ac_fn_c_try_compile "$LINENO"; then :
4844 WARN_CFLAGS="${WARN_CFLAGS} $w"
4846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4847 CFLAGS="$saved_CFLAGS"
4850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${WARN_CFLAGS} ${WERROR_CFLAGS}" >&5
4851 $as_echo "${WARN_CFLAGS} ${WERROR_CFLAGS}" >&6; }
4855 # Put a plausible default for CC_FOR_BUILD in Makefile.
4856 if test "x$cross_compiling" = "xno" -a "x$host" != "xi386-windows"; then
4857 AR_FOR_BUILD='$(AR)'
4858 AR_FLAGS_FOR_BUILD='$(AR_FLAGS)'
4859 CC_FOR_BUILD='$(CC)'
4860 CFLAGS_FOR_BUILD='$(CFLAGS)'
4861 RANLIB_FOR_BUILD='$(RANLIB)'
4862 LIBIBERTY_LIB=../../libiberty/libiberty.a
4864 AR_FOR_BUILD=${AR_FOR_BUILD-ar}
4865 AR_FLAGS_FOR_BUILD=${AR_FLAGS_FOR_BUILD-rc}
4866 CC_FOR_BUILD=${CC_FOR_BUILD-gcc}
4867 CFLAGS_FOR_BUILD=${CFLAGS_FOR_BUILD-"-g"}
4868 RANLIB_FOR_BUILD=${RANLIB_FOR_BUILD-ranlib}
4873 # Make sure we can run config.sub.
4874 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4875 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4878 $as_echo_n "checking build system type... " >&6; }
4879 if test "${ac_cv_build+set}" = set; then :
4880 $as_echo_n "(cached) " >&6
4882 ac_build_alias=$build_alias
4883 test "x$ac_build_alias" = x &&
4884 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4885 test "x$ac_build_alias" = x &&
4886 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
4887 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4888 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4892 $as_echo "$ac_cv_build" >&6; }
4893 case $ac_cv_build in
4895 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
4898 ac_save_IFS=$IFS; IFS='-'
4904 # Remember, the first character of IFS is used to create $*,
4905 # except with old shells:
4908 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
4911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4912 $as_echo_n "checking host system type... " >&6; }
4913 if test "${ac_cv_host+set}" = set; then :
4914 $as_echo_n "(cached) " >&6
4916 if test "x$host_alias" = x; then
4917 ac_cv_host=$ac_cv_build
4919 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4920 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4925 $as_echo "$ac_cv_host" >&6; }
4928 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
4931 ac_save_IFS=$IFS; IFS='-'
4937 # Remember, the first character of IFS is used to create $*,
4938 # except with old shells:
4941 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
4944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
4945 $as_echo_n "checking target system type... " >&6; }
4946 if test "${ac_cv_target+set}" = set; then :
4947 $as_echo_n "(cached) " >&6
4949 if test "x$target_alias" = x; then
4950 ac_cv_target=$ac_cv_host
4952 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
4953 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
4957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
4958 $as_echo "$ac_cv_target" >&6; }
4959 case $ac_cv_target in
4961 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
4963 target=$ac_cv_target
4964 ac_save_IFS=$IFS; IFS='-'
4970 # Remember, the first character of IFS is used to create $*,
4971 # except with old shells:
4974 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
4977 # The aliases save the names the user supplied, while $host etc.
4978 # will get canonicalized.
4979 test -n "$target_alias" &&
4980 test "$program_prefix$program_suffix$program_transform_name" = \
4982 program_prefix=${target_alias}-
4984 test "$program_prefix" != NONE &&
4985 program_transform_name="s&^&$program_prefix&;$program_transform_name"
4986 # Use a double $ so make ignores it.
4987 test "$program_suffix" != NONE &&
4988 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
4989 # Double any \ or $.
4990 # By default was `s
,x
,x
', remove it if useless.
4991 ac_script='s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//'
4992 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
4995 . ${srcdir}/../../bfd/configure.host
4997 ac_config_headers="$ac_config_headers config.h:config.in"
5001 ac_cpp='$CPP $CPPFLAGS'
5002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
5003 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
5004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5006 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5007 # On Suns, sometimes $CPP names a directory.
5008 if test -n "$CPP" && test -d "$CPP"; then
5011 if test -z "$CPP"; then
5012 if test "${ac_cv_prog_CPP+set}" = set; then :
5013 $as_echo_n "(cached) " >&6
5015 # Double quotes because CPP needs to be expanded
5016 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5019 for ac_c_preproc_warn_flag in '' yes
5021 # Use a header file that comes with gcc, so configuring glibc
5022 # with a fresh cross-compiler works.
5023 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5024 # <limits.h> exists even on freestanding compilers.
5025 # On the NeXT, cc -E runs the code through the compiler's parser
,
5026 # not just through cpp. "Syntax error" is here to catch this case.
5027 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5028 /* end confdefs.h. */
5030 # include <limits.h>
5032 # include <assert.h>
5036 if ac_fn_c_try_cpp
"$LINENO"; then :
5039 # Broken: fails on valid input.
5042 rm -f conftest.err conftest.
$ac_ext
5044 # OK, works on sane cases. Now check whether nonexistent headers
5045 # can be detected and how.
5046 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5047 /* end confdefs.h. */
5048 #include <ac_nonexistent.h>
5050 if ac_fn_c_try_cpp
"$LINENO"; then :
5051 # Broken: success on invalid input.
5054 # Passes both tests.
5058 rm -f conftest.err conftest.
$ac_ext
5061 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5062 rm -f conftest.err conftest.
$ac_ext
5063 if $ac_preproc_ok; then :
5075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5076 $as_echo "$CPP" >&6; }
5078 for ac_c_preproc_warn_flag
in '' yes
5080 # Use a header file that comes with gcc, so configuring glibc
5081 # with a fresh cross-compiler works.
5082 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5083 # <limits.h> exists even on freestanding compilers.
5084 # On the NeXT, cc -E runs the code through the compiler's parser,
5085 # not just through cpp. "Syntax error" is here to catch this case.
5086 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5087 /* end confdefs.h. */
5089 # include <limits.h>
5091 # include <assert.h>
5095 if ac_fn_c_try_cpp
"$LINENO"; then :
5098 # Broken: fails on valid input.
5101 rm -f conftest.err conftest.
$ac_ext
5103 # OK, works on sane cases. Now check whether nonexistent headers
5104 # can be detected and how.
5105 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5106 /* end confdefs.h. */
5107 #include <ac_nonexistent.h>
5109 if ac_fn_c_try_cpp
"$LINENO"; then :
5110 # Broken: success on invalid input.
5113 # Passes both tests.
5117 rm -f conftest.err conftest.
$ac_ext
5120 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5121 rm -f conftest.err conftest.
$ac_ext
5122 if $ac_preproc_ok; then :
5125 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5126 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5127 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
5128 See \`config.log' for more details." "$LINENO" 5; }
5132 ac_cpp
='$CPP $CPPFLAGS'
5133 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5134 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5135 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5139 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5140 if test "${ac_cv_path_GREP+set}" = set; then :
5141 $as_echo_n "(cached) " >&6
5143 if test -z "$GREP"; then
5144 ac_path_GREP_found
=false
5145 # Loop through the user's path and test for each of PROGNAME-LIST
5146 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5147 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5150 test -z "$as_dir" && as_dir
=.
5151 for ac_prog
in grep ggrep
; do
5152 for ac_exec_ext
in '' $ac_executable_extensions; do
5153 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5154 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5155 # Check for GNU ac_path_GREP and select it if it is found.
5156 # Check for GNU $ac_path_GREP
5157 case `"$ac_path_GREP" --version 2>&1` in
5159 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5162 $as_echo_n 0123456789 >"conftest.in"
5165 cat "conftest.in" "conftest.in" >"conftest.tmp"
5166 mv "conftest.tmp" "conftest.in"
5167 cp "conftest.in" "conftest.nl"
5168 $as_echo 'GREP' >> "conftest.nl"
5169 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5170 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5171 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5172 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5173 # Best one so far, save it but keep looking for a better one
5174 ac_cv_path_GREP
="$ac_path_GREP"
5175 ac_path_GREP_max
=$ac_count
5177 # 10*(2^10) chars as input seems more than enough
5178 test $ac_count -gt 10 && break
5180 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5183 $ac_path_GREP_found && break 3
5188 if test -z "$ac_cv_path_GREP"; then
5189 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5192 ac_cv_path_GREP
=$GREP
5196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5197 $as_echo "$ac_cv_path_GREP" >&6; }
5198 GREP
="$ac_cv_path_GREP"
5201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5202 $as_echo_n "checking for egrep... " >&6; }
5203 if test "${ac_cv_path_EGREP+set}" = set; then :
5204 $as_echo_n "(cached) " >&6
5206 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5207 then ac_cv_path_EGREP
="$GREP -E"
5209 if test -z "$EGREP"; then
5210 ac_path_EGREP_found
=false
5211 # Loop through the user's path and test for each of PROGNAME-LIST
5212 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5213 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5216 test -z "$as_dir" && as_dir
=.
5217 for ac_prog
in egrep; do
5218 for ac_exec_ext
in '' $ac_executable_extensions; do
5219 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5220 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
5221 # Check for GNU ac_path_EGREP and select it if it is found.
5222 # Check for GNU $ac_path_EGREP
5223 case `"$ac_path_EGREP" --version 2>&1` in
5225 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5228 $as_echo_n 0123456789 >"conftest.in"
5231 cat "conftest.in" "conftest.in" >"conftest.tmp"
5232 mv "conftest.tmp" "conftest.in"
5233 cp "conftest.in" "conftest.nl"
5234 $as_echo 'EGREP' >> "conftest.nl"
5235 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5236 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5237 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5238 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5239 # Best one so far, save it but keep looking for a better one
5240 ac_cv_path_EGREP
="$ac_path_EGREP"
5241 ac_path_EGREP_max
=$ac_count
5243 # 10*(2^10) chars as input seems more than enough
5244 test $ac_count -gt 10 && break
5246 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5249 $ac_path_EGREP_found && break 3
5254 if test -z "$ac_cv_path_EGREP"; then
5255 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5258 ac_cv_path_EGREP
=$EGREP
5263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5264 $as_echo "$ac_cv_path_EGREP" >&6; }
5265 EGREP
="$ac_cv_path_EGREP"
5268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5269 $as_echo_n "checking for ANSI C header files... " >&6; }
5270 if test "${ac_cv_header_stdc+set}" = set; then :
5271 $as_echo_n "(cached) " >&6
5273 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5274 /* end confdefs.h. */
5288 if ac_fn_c_try_compile
"$LINENO"; then :
5289 ac_cv_header_stdc
=yes
5291 ac_cv_header_stdc
=no
5293 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5295 if test $ac_cv_header_stdc = yes; then
5296 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5297 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5298 /* end confdefs.h. */
5302 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5303 $EGREP "memchr" >/dev
/null
2>&1; then :
5306 ac_cv_header_stdc
=no
5312 if test $ac_cv_header_stdc = yes; then
5313 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5314 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5315 /* end confdefs.h. */
5319 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5320 $EGREP "free" >/dev
/null
2>&1; then :
5323 ac_cv_header_stdc
=no
5329 if test $ac_cv_header_stdc = yes; then
5330 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5331 if test "$cross_compiling" = yes; then :
5334 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5335 /* end confdefs.h. */
5338 #if ((' ' & 0x0FF) == 0x020)
5339 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5340 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5342 # define ISLOWER(c) \
5343 (('a' <= (c) && (c) <= 'i') \
5344 || ('j' <= (c) && (c) <= 'r') \
5345 || ('s' <= (c) && (c) <= 'z'))
5346 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5349 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5354 for (i = 0; i < 256; i++)
5355 if (XOR (islower (i), ISLOWER (i))
5356 || toupper (i) != TOUPPER (i))
5361 if ac_fn_c_try_run
"$LINENO"; then :
5364 ac_cv_header_stdc
=no
5366 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5367 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5373 $as_echo "$ac_cv_header_stdc" >&6; }
5374 if test $ac_cv_header_stdc = yes; then
5376 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5380 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5381 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5382 inttypes.h stdint.h unistd.h
5384 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5385 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5387 eval as_val
=\$
$as_ac_Header
5388 if test "x$as_val" = x
""yes; then :
5389 cat >>confdefs.h
<<_ACEOF
5390 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5398 for ac_header
in stdlib.h string.h
strings.h sys
/stat.h sys
/types.h unistd.h
5400 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5401 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5402 eval as_val
=\$
$as_ac_Header
5403 if test "x$as_val" = x
""yes; then :
5404 cat >>confdefs.h
<<_ACEOF
5405 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5413 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
5414 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
5415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
5416 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
5417 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then :
5418 $as_echo_n "(cached) " >&6
5420 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5421 /* end confdefs.h. */
5422 #include <sys/types.h>
5434 if ac_fn_c_try_compile
"$LINENO"; then :
5435 eval "$as_ac_Header=yes"
5437 eval "$as_ac_Header=no"
5439 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5441 eval ac_res
=\$
$as_ac_Header
5442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5443 $as_echo "$ac_res" >&6; }
5444 eval as_val
=\$
$as_ac_Header
5445 if test "x$as_val" = x
""yes; then :
5446 cat >>confdefs.h
<<_ACEOF
5447 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
5450 ac_header_dirent
=$ac_hdr; break
5454 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
5455 if test $ac_header_dirent = dirent.h
; then
5456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
5457 $as_echo_n "checking for library containing opendir... " >&6; }
5458 if test "${ac_cv_search_opendir+set}" = set; then :
5459 $as_echo_n "(cached) " >&6
5461 ac_func_search_save_LIBS
=$LIBS
5462 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5463 /* end confdefs.h. */
5465 /* Override any GCC internal prototype to avoid an error.
5466 Use char because int might match the return type of a GCC
5467 builtin and then its argument prototype would still apply. */
5480 for ac_lib
in '' dir
; do
5481 if test -z "$ac_lib"; then
5482 ac_res
="none required"
5485 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5487 if ac_fn_c_try_link
"$LINENO"; then :
5488 ac_cv_search_opendir
=$ac_res
5490 rm -f core conftest.err conftest.
$ac_objext \
5492 if test "${ac_cv_search_opendir+set}" = set; then :
5496 if test "${ac_cv_search_opendir+set}" = set; then :
5499 ac_cv_search_opendir
=no
5502 LIBS
=$ac_func_search_save_LIBS
5504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
5505 $as_echo "$ac_cv_search_opendir" >&6; }
5506 ac_res
=$ac_cv_search_opendir
5507 if test "$ac_res" != no
; then :
5508 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
5513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
5514 $as_echo_n "checking for library containing opendir... " >&6; }
5515 if test "${ac_cv_search_opendir+set}" = set; then :
5516 $as_echo_n "(cached) " >&6
5518 ac_func_search_save_LIBS
=$LIBS
5519 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5520 /* end confdefs.h. */
5522 /* Override any GCC internal prototype to avoid an error.
5523 Use char because int might match the return type of a GCC
5524 builtin and then its argument prototype would still apply. */
5537 for ac_lib
in '' x
; do
5538 if test -z "$ac_lib"; then
5539 ac_res
="none required"
5542 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5544 if ac_fn_c_try_link
"$LINENO"; then :
5545 ac_cv_search_opendir
=$ac_res
5547 rm -f core conftest.err conftest.
$ac_objext \
5549 if test "${ac_cv_search_opendir+set}" = set; then :
5553 if test "${ac_cv_search_opendir+set}" = set; then :
5556 ac_cv_search_opendir
=no
5559 LIBS
=$ac_func_search_save_LIBS
5561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
5562 $as_echo "$ac_cv_search_opendir" >&6; }
5563 ac_res
=$ac_cv_search_opendir
5564 if test "$ac_res" != no
; then :
5565 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
5581 if test -n "$ac_tool_prefix"; then
5582 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5583 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5585 $as_echo_n "checking for $ac_word... " >&6; }
5586 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5587 $as_echo_n "(cached) " >&6
5589 if test -n "$RANLIB"; then
5590 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5592 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5596 test -z "$as_dir" && as_dir
=.
5597 for ac_exec_ext
in '' $ac_executable_extensions; do
5598 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5599 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5600 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5609 RANLIB
=$ac_cv_prog_RANLIB
5610 if test -n "$RANLIB"; then
5611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5612 $as_echo "$RANLIB" >&6; }
5614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5615 $as_echo "no" >&6; }
5620 if test -z "$ac_cv_prog_RANLIB"; then
5621 ac_ct_RANLIB
=$RANLIB
5622 # Extract the first word of "ranlib", so it can be a program name with args.
5623 set dummy ranlib
; ac_word
=$2
5624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5625 $as_echo_n "checking for $ac_word... " >&6; }
5626 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5627 $as_echo_n "(cached) " >&6
5629 if test -n "$ac_ct_RANLIB"; then
5630 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5632 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5636 test -z "$as_dir" && as_dir
=.
5637 for ac_exec_ext
in '' $ac_executable_extensions; do
5638 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5639 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5640 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5649 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5650 if test -n "$ac_ct_RANLIB"; then
5651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5652 $as_echo "$ac_ct_RANLIB" >&6; }
5654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5655 $as_echo "no" >&6; }
5658 if test "x$ac_ct_RANLIB" = x
; then
5661 case $cross_compiling:$ac_tool_warned in
5663 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5664 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5665 ac_tool_warned
=yes ;;
5667 RANLIB
=$ac_ct_RANLIB
5670 RANLIB
="$ac_cv_prog_RANLIB"
5674 ac_config_files
="$ac_config_files Makefile"
5676 ac_config_commands
="$ac_config_commands default"
5678 cat >confcache
<<\_ACEOF
5679 # This file is a shell script that caches the results of configure
5680 # tests run on this system so they can be shared between configure
5681 # scripts and configure runs, see configure's option --config-cache.
5682 # It is not useful on other systems. If it contains results you don't
5683 # want to keep, you may remove or edit it.
5685 # config.status only pays attention to the cache file if you give it
5686 # the --recheck option to rerun configure.
5688 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5689 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5694 # The following way of writing the cache mishandles newlines in values,
5695 # but we know of no workaround that is simple, portable, and efficient.
5696 # So, we kill variables containing newlines.
5697 # Ultrix sh set writes to stderr and can't be redirected directly,
5698 # and sets the high bit in the cache file unless we assign to the vars.
5700 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5701 eval ac_val
=\$
$ac_var
5705 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5706 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5709 _ | IFS | as_nl
) ;; #(
5710 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
5711 *) { eval $ac_var=; unset $ac_var;} ;;
5717 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5718 *${as_nl}ac_space
=\
*)
5719 # `set' does not quote correctly, so add quotes: double-quote
5720 # substitution turns \\\\ into \\, and sed turns \\ into \.
5723 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5726 # `set' quotes correctly as required by POSIX, so do not add quotes.
5727 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5736 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5738 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5740 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
5741 if test -w "$cache_file"; then
5742 test "x$cache_file" != "x/dev/null" &&
5743 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5744 $as_echo "$as_me: updating cache $cache_file" >&6;}
5745 cat confcache
>$cache_file
5747 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5748 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5753 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
5754 # Let make expand exec_prefix.
5755 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
5757 DEFS
=-DHAVE_CONFIG_H
5761 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
5762 # 1. Remove the extension, and $U if already installed.
5763 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
5764 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
5765 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5766 # will be set to the directory where LIBOBJS objects are built.
5767 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5768 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
5772 LTLIBOBJS
=$ac_ltlibobjs
5776 : ${CONFIG_STATUS=./config.status}
5778 ac_clean_files_save
=$ac_clean_files
5779 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
5780 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5781 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5783 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5785 # Generated by $as_me.
5786 # Run this file to recreate the current configuration.
5787 # Compiler output produced by configure, useful for debugging
5788 # configure, is in config.log if it exists.
5794 SHELL=\${CONFIG_SHELL-$SHELL}
5797 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
5798 ## -------------------- ##
5799 ## M4sh Initialization. ##
5800 ## -------------------- ##
5802 # Be more Bourne compatible
5803 DUALCASE
=1; export DUALCASE
# for MKS sh
5804 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
5807 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5808 # is contrary to our usage. Disable this feature.
5809 alias -g '${1+"$@"}'='"$@"'
5810 setopt NO_GLOB_SUBST
5812 case `(set -o) 2>/dev/null` in #(
5824 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5825 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5826 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5827 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5828 # Prefer a ksh shell builtin over an external printf program on Solaris,
5829 # but without wasting forks for bash or zsh.
5830 if test -z "$BASH_VERSION$ZSH_VERSION" \
5831 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5832 as_echo='print
-r --'
5833 as_echo_n='print
-rn --'
5834 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5835 as_echo='printf %s
\n'
5836 as_echo_n='printf %s
'
5838 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5839 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
5840 as_echo_n='/usr
/ucb
/echo -n'
5842 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5843 as_echo_n_body='eval
5847 expr "X$arg" : "X\\(.*\\)$as_nl";
5848 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5850 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
5852 export as_echo_n_body
5853 as_echo_n='sh
-c $as_echo_n_body as_echo
'
5856 as_echo='sh
-c $as_echo_body as_echo
'
5859 # The user is always right.
5860 if test "${PATH_SEPARATOR+set}" != set; then
5862 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5863 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5870 # We need space, tab and new line, in precisely that order. Quoting is
5871 # there to prevent editors from complaining about space-tab.
5872 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5873 # splitting by setting IFS to empty value.)
5876 # Find who we are. Look in the path if we contain no directory separator.
5878 *[\\/]* ) as_myself=$0 ;;
5879 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5883 test -z "$as_dir" && as_dir=.
5884 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5890 # We did not find ourselves, most probably we were run as `sh COMMAND'
5891 # in which case we are not to be found in the path.
5892 if test "x$as_myself" = x
; then
5895 if test ! -f "$as_myself"; then
5896 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5900 # Unset variables that we do not need and which cause bugs (e.g. in
5901 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5902 # suppresses any "Segmentation fault" message there. '((' could
5903 # trigger a bug in pdksh 5.2.14.
5904 for as_var
in BASH_ENV ENV MAIL MAILPATH
5905 do eval test x\
${$as_var+set} = xset \
5906 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
5919 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
5922 # as_fn_error ERROR [LINENO LOG_FD]
5923 # ---------------------------------
5924 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5925 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5926 # script with status $?, using 1 if that was 0.
5929 as_status
=$?
; test $as_status -eq 0 && as_status
=1
5931 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
5932 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
5934 $as_echo "$as_me: error: $1" >&2
5935 as_fn_exit
$as_status
5939 # as_fn_set_status STATUS
5940 # -----------------------
5941 # Set $? to STATUS, without forking.
5945 } # as_fn_set_status
5949 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5959 # Portably unset VAR.
5962 { eval $1=; unset $1;}
5964 as_unset
=as_fn_unset
5965 # as_fn_append VAR VALUE
5966 # ----------------------
5967 # Append the text in VALUE to the end of the definition contained in VAR. Take
5968 # advantage of any shell optimizations that allow amortized linear growth over
5969 # repeated appends, instead of the typical quadratic growth present in naive
5971 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
5972 eval 'as_fn_append ()
5983 # as_fn_arith ARG...
5984 # ------------------
5985 # Perform arithmetic evaluation on the ARGs, and store the result in the
5986 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5987 # must be portable across $(()) and expr.
5988 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
5989 eval 'as_fn_arith ()
5996 as_val
=`expr "$@" || test $? -eq 1`
6001 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
6002 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
6008 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
6009 as_basename
=basename
6014 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
6020 as_me
=`$as_basename -- "$0" ||
6021 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6022 X"$0" : 'X\(//\)$' \| \
6023 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6025 sed '/^.*\/\([^/][^/]*\)\/*$/{
6039 # Avoid depending upon Character Ranges.
6040 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
6041 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6042 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
6043 as_cr_digits
='0123456789'
6044 as_cr_alnum
=$as_cr_Letters$as_cr_digits
6046 ECHO_C
= ECHO_N
= ECHO_T
=
6047 case `echo -n x` in #(((((
6049 case `echo 'xy\c'` in
6050 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
6052 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
6059 rm -f conf$$ conf$$.exe conf$$.
file
6060 if test -d conf$$.dir
; then
6061 rm -f conf$$.dir
/conf$$.
file
6064 mkdir conf$$.dir
2>/dev
/null
6066 if (echo >conf$$.
file) 2>/dev
/null
; then
6067 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
6069 # ... but there are two gotchas:
6070 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6071 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6072 # In both cases, we have to default to `cp -p'.
6073 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
6075 elif ln conf$$.
file conf$$
2>/dev
/null
; then
6083 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
6084 rmdir conf$$.dir
2>/dev
/null
6089 # Create "$as_dir" as a directory, including parents if necessary.
6094 -*) as_dir
=.
/$as_dir;;
6096 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
6100 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6101 *) as_qdir
=$as_dir;;
6103 as_dirs
="'$as_qdir' $as_dirs"
6104 as_dir
=`$as_dirname -- "$as_dir" ||
6105 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6106 X"$as_dir" : 'X\(//\)[^/]' \| \
6107 X"$as_dir" : 'X\(//\)$' \| \
6108 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6109 $as_echo X"$as_dir" |
6110 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6127 test -d "$as_dir" && break
6129 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
6130 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
6134 if mkdir
-p .
2>/dev
/null
; then
6135 as_mkdir_p
='mkdir -p "$as_dir"'
6137 test -d .
/-p && rmdir .
/-p
6141 if test -x / >/dev
/null
2>&1; then
6144 if ls -dL / >/dev
/null
2>&1; then
6151 if test -d "$1"; then
6157 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
6158 ???[sx]*):;;*)false;;esac;fi
6162 as_executable_p
=$as_test_x
6164 # Sed expression to map a string onto a valid CPP name.
6165 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6167 # Sed expression to map a string onto a valid variable name.
6168 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6172 ## ----------------------------------- ##
6173 ## Main body of $CONFIG_STATUS script. ##
6174 ## ----------------------------------- ##
6176 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
6178 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6179 # Save the log message, to keep $0 and so on meaningful, and to
6180 # report actual input values of CONFIG_FILES etc. instead of their
6181 # values after options handling.
6183 This file was extended by $as_me, which was
6184 generated by GNU Autoconf 2.64. Invocation command line was
6186 CONFIG_FILES = $CONFIG_FILES
6187 CONFIG_HEADERS = $CONFIG_HEADERS
6188 CONFIG_LINKS = $CONFIG_LINKS
6189 CONFIG_COMMANDS = $CONFIG_COMMANDS
6192 on `(hostname || uname -n) 2>/dev/null | sed 1q`
6197 case $ac_config_files in *"
6198 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
6201 case $ac_config_headers in *"
6202 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
6206 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6207 # Files that config.status was made for.
6208 config_files="$ac_config_files"
6209 config_headers="$ac_config_headers"
6210 config_commands="$ac_config_commands"
6214 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6216 \`$as_me' instantiates files and other configuration actions
6217 from templates according to the current configuration. Unless the files
6218 and actions are specified as TAGs, all are instantiated by default.
6220 Usage: $0 [OPTION]... [TAG]...
6222 -h, --help print this help, then exit
6223 -V, --version print version number and configuration settings, then exit
6224 -q, --quiet, --silent
6225 do not print progress messages
6226 -d, --debug don't remove temporary files
6227 --recheck update $as_me by reconfiguring in the same conditions
6228 --file=FILE[:TEMPLATE]
6229 instantiate the configuration file FILE
6230 --header=FILE[:TEMPLATE]
6231 instantiate the configuration header FILE
6233 Configuration files:
6236 Configuration headers:
6239 Configuration commands:
6242 Report bugs to the package provider."
6245 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6248 configured by $0, generated by GNU Autoconf 2.64,
6249 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
6251 Copyright (C) 2009 Free Software Foundation, Inc.
6252 This config.status script is free software; the Free Software Foundation
6253 gives unlimited permission to copy, distribute and modify it."
6258 test -n "\$AWK" || AWK=awk
6261 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6262 # The default lists apply if the user does not specify any file.
6268 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
6269 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
6280 # Handling of the options.
6281 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
6283 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
6284 $as_echo "$ac_cs_version"; exit ;;
6285 --debug |
--debu |
--deb |
--de |
--d |
-d )
6287 --file |
--fil |
--fi |
--f )
6290 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6292 as_fn_append CONFIG_FILES
" '$ac_optarg'"
6293 ac_need_defaults
=false
;;
6294 --header |
--heade |
--head |
--hea )
6297 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6299 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
6300 ac_need_defaults
=false
;;
6302 # Conflict between --help and --header
6303 as_fn_error
"ambiguous option: \`$1'
6304 Try \`$0 --help' for more information.";;
6305 --help |
--hel |
-h )
6306 $as_echo "$ac_cs_usage"; exit ;;
6307 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
6308 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
6312 -*) as_fn_error
"unrecognized option: \`$1'
6313 Try \`$0 --help' for more information." ;;
6315 *) as_fn_append ac_config_targets
" $1"
6316 ac_need_defaults
=false
;;
6322 ac_configure_extra_args
=
6324 if $ac_cs_silent; then
6326 ac_configure_extra_args
="$ac_configure_extra_args --silent"
6330 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6331 if \$ac_cs_recheck; then
6332 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6334 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6335 CONFIG_SHELL='$SHELL'
6341 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6345 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6346 ## Running $as_me. ##
6352 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6355 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6357 # Handling of arguments.
6358 for ac_config_target
in $ac_config_targets
6360 case $ac_config_target in
6361 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
6362 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
6363 "default") CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
6365 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
6370 # If the user did not use the arguments to specify the items to instantiate,
6371 # then the envvar interface is used. Set only those that are not.
6372 # We use the long form for the default assignment because of an extremely
6373 # bizarre bug on SunOS 4.1.3.
6374 if $ac_need_defaults; then
6375 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
6376 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
6377 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
6380 # Have a temporary directory for convenience. Make it in the build tree
6381 # simply because there is no reason against having it here, and in addition,
6382 # creating and moving files from /tmp can sometimes cause problems.
6383 # Hook for its removal unless debugging.
6384 # Note that there is a small window in which the directory will not be cleaned:
6385 # after its creation but before its name has been assigned to `$tmp'.
6389 trap 'exit_status=$?
6390 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
6392 trap 'as_fn_exit 1' 1 2 13 15
6394 # Create a (secure) tmp directory for tmp files.
6397 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6398 test -n "$tmp" && test -d "$tmp"
6401 tmp
=.
/conf$$
-$RANDOM
6402 (umask 077 && mkdir
"$tmp")
6403 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
6405 # Set up the scripts for CONFIG_FILES section.
6406 # No need to generate them if there are no CONFIG_FILES.
6407 # This happens for instance with `./config.status config.h'.
6408 if test -n "$CONFIG_FILES"; then
6411 ac_cr
=`echo X | tr X '\015'`
6412 # On cygwin, bash can eat \r inside `` if the user requested igncr.
6413 # But we know of no other shell where ac_cr would be empty at this
6414 # point, so we can use a bashism as a fallback.
6415 if test "x$ac_cr" = x
; then
6416 eval ac_cr
=\$
\'\\r
\'
6418 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6419 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6425 echo 'BEGIN {' >"$tmp/subs1.awk" &&
6430 echo "cat >conf$$subs.awk <<_ACEOF" &&
6431 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6434 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
6435 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
6437 for ac_last_try in false false false false false :; do
6438 . ./conf$$subs.sh ||
6439 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
6441 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
6442 if test $ac_delim_n = $ac_delim_num; then
6444 elif $ac_last_try; then
6445 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
6447 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
6452 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6453 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
6457 s/^/S["/; s
/!.
*/"]=/
6467 s/\(.\{148\}\).*/\1/
6469 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
6474 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
6481 s/\(.\{148\}\).*/\1/
6483 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
6487 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
6492 ' <conf$$subs.awk | sed '
6497 ' >>$CONFIG_STATUS || ac_write_fail=1
6498 rm -f conf$$subs.awk
6499 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6501 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
6502 for (key in S) S_is_set[key] = 1
6508 nfields = split(line, field, "@
")
6510 len = length(field[1])
6511 for (i = 2; i < nfields; i++) {
6513 keylen = length(key)
6514 if (S_is_set[key]) {
6516 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6517 len += length(value) + length(field[++i])
6528 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6529 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6530 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
6533 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
6534 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
6537 # VPATH may cause trouble with some makes, so we remove $(srcdir),
6538 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
6539 # trailing colons and then remove the whole line if VPATH becomes empty
6540 # (actually we leave an empty line to preserve line numbers).
6541 if test "x
$srcdir" = x.; then
6542 ac_vpsub='/^[ ]*VPATH[ ]*=/{
6546 s/^\([^=]*=[ ]*\):*/\1/
6552 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6553 fi # test -n "$CONFIG_FILES"
6555 # Set up the scripts for CONFIG_HEADERS section.
6556 # No need to generate them if there are no CONFIG_HEADERS.
6557 # This happens for instance with `./config.status Makefile'.
6558 if test -n "$CONFIG_HEADERS"; then
6559 cat >"$tmp/defines.
awk" <<\_ACAWK ||
6563 # Transform confdefs.h into an awk script `defines.awk', embedded as
6564 # here-document in config.status, that substitutes the proper values into
6565 # config.h.in to produce config.h.
6567 # Create a delimiter string that does not exist in confdefs.h, to ease
6568 # handling of long lines.
6570 for ac_last_try in false false :; do
6571 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
6572 if test -z "$ac_t"; then
6574 elif $ac_last_try; then
6575 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
6577 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
6581 # For the awk script, D is an array of macro values keyed by name,
6582 # likewise P contains macro parameters if any. Preserve backslash
6583 # newline sequences.
6585 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6587 s/.\{148\}/&'"$ac_delim"'/g
6590 s/^[ ]*#[ ]*define[ ][ ]*/ /
6597 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
6599 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
6603 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
6604 D["\
1"]=" \
3\\\\\\n
"\\/p
6606 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
6611 s/.\{148\}/&'"$ac_delim"'/g
6616 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
6619 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
6621 ' <confdefs.h | sed '
6622 s/'"$ac_delim"'/"\\\
6623 "/g' >>$CONFIG_STATUS || ac_write_fail=1
6625 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6626 for (key in D) D_is_set[key] = 1
6629 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6631 split(line, arg, " ")
6632 if (arg[1] == "#") {
6636 defundef
= substr
(arg
[1], 2)
6639 split(mac1
, mac2
, "(") #)
6641 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
6642 if (D_is_set
[macro
]) {
6643 # Preserve the white space surrounding the "#".
6644 print prefix
"define", macro P
[macro
] D
[macro
]
6647 # Replace #undef with comments. This is necessary, for example,
6648 # in the case of _POSIX_SOURCE, which is predefined and required
6649 # on some systems where configure will not decide to define it.
6650 if (defundef
== "undef") {
6651 print
"/*", prefix defundef
, macro
, "*/"
6659 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6660 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
6661 fi # test -n "$CONFIG_HEADERS"
6664 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
6669 :[FHLC
]) ac_mode
=$ac_tag; continue;;
6671 case $ac_mode$ac_tag in
6673 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
6674 :[FH
]-) ac_tag
=-:-;;
6675 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
6692 -) ac_f
="$tmp/stdin";;
6693 *) # Look for the file first in the build tree, then in the source tree
6694 # (if the path is not absolute). The absolute path cannot be DOS-style,
6695 # because $ac_f cannot contain `:'.
6699 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
6701 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
6703 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6704 as_fn_append ac_file_inputs
" '$ac_f'"
6707 # Let's still pretend it is `configure' which instantiates (i.e., don't
6708 # use $as_me), people would be surprised to read:
6709 # /* config.h. Generated by config.status. */
6710 configure_input
='Generated from '`
6711 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6713 if test x
"$ac_file" != x-
; then
6714 configure_input
="$ac_file. $configure_input"
6715 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6716 $as_echo "$as_me: creating $ac_file" >&6;}
6718 # Neutralize special characters interpreted by sed in replacement strings.
6719 case $configure_input in #(
6720 *\
&* |
*\|
* |
*\\* )
6721 ac_sed_conf_input
=`$as_echo "$configure_input" |
6722 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6723 *) ac_sed_conf_input
=$configure_input;;
6727 *:-:* |
*:-) cat >"$tmp/stdin" \
6728 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
6733 ac_dir
=`$as_dirname -- "$ac_file" ||
6734 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6735 X"$ac_file" : 'X\(//\)[^/]' \| \
6736 X"$ac_file" : 'X\(//\)$' \| \
6737 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6738 $as_echo X"$ac_file" |
6739 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6756 as_dir
="$ac_dir"; as_fn_mkdir_p
6760 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
6762 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6763 # A ".." for each directory in $ac_dir_suffix.
6764 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6765 case $ac_top_builddir_sub in
6766 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
6767 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
6770 ac_abs_top_builddir
=$ac_pwd
6771 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
6772 # for backward compatibility:
6773 ac_top_builddir
=$ac_top_build_prefix
6776 .
) # We are building in place.
6778 ac_top_srcdir
=$ac_top_builddir_sub
6779 ac_abs_top_srcdir
=$ac_pwd ;;
6780 [\\/]* | ?
:[\\/]* ) # Absolute name.
6781 ac_srcdir
=$srcdir$ac_dir_suffix;
6782 ac_top_srcdir
=$srcdir
6783 ac_abs_top_srcdir
=$srcdir ;;
6785 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
6786 ac_top_srcdir
=$ac_top_build_prefix$srcdir
6787 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
6789 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
6799 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
6800 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
6804 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6805 # If the template does not know about datarootdir, expand it.
6806 # FIXME: This hack should be removed a few years after 2.60.
6807 ac_datarootdir_hack
=; ac_datarootdir_seen
=
6818 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6819 *datarootdir
*) ac_datarootdir_seen
=yes;;
6820 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
6821 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6822 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6824 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6825 ac_datarootdir_hack='
6826 s&@datadir@&$datadir&g
6827 s&@docdir@&$docdir&g
6828 s&@infodir@&$infodir&g
6829 s&@localedir@&$localedir&g
6830 s&@mandir@&$mandir&g
6831 s&\\\${datarootdir}&$datarootdir&g' ;;
6835 # Neutralize VPATH when `$srcdir' = `.'.
6836 # Shell code in configure.ac might set extrasub.
6837 # FIXME: do we really want to maintain this feature?
6838 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6839 ac_sed_extra="$ac_vpsub
6842 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6844 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
6845 s|@configure_input@|
$ac_sed_conf_input|
;t t
6846 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
6847 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
6848 s
&@srcdir@
&$ac_srcdir&;t t
6849 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
6850 s
&@top_srcdir@
&$ac_top_srcdir&;t t
6851 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
6852 s
&@builddir@
&$ac_builddir&;t t
6853 s
&@abs_builddir@
&$ac_abs_builddir&;t t
6854 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
6855 s
&@INSTALL@
&$ac_INSTALL&;t t
6856 $ac_datarootdir_hack
6858 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
6859 || as_fn_error "could not create
$ac_file" "$LINENO" 5
6861 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6862 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
6863 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
6864 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
6865 which seems to be undefined. Please make sure it is defined." >&5
6866 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
6867 which seems to be undefined. Please make sure it is defined." >&2;}
6871 -) cat "$tmp/out" && rm -f "$tmp/out";;
6872 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
6874 || as_fn_error "could not create $ac_file" "$LINENO" 5
6880 if test x"$ac_file" != x-; then
6882 $as_echo "/* $configure_input */" \
6883 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
6884 } >"$tmp/config.h" \
6885 || as_fn_error "could not create $ac_file" "$LINENO" 5
6886 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
6887 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6888 $as_echo "$as_me: $ac_file is unchanged" >&6;}
6891 mv "$tmp/config.h" "$ac_file" \
6892 || as_fn_error "could not create $ac_file" "$LINENO" 5
6895 $as_echo "/* $configure_input */" \
6896 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
6897 || as_fn_error "could not create -" "$LINENO" 5
6901 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6902 $as_echo "$as_me: executing $ac_file commands" >&6;}
6907 case $ac_file$ac_mode in
6908 "default":C) case x$CONFIG_HEADERS in xconfig.h:config.in) echo > stamp-h ;; esac ;;
6916 ac_clean_files=$ac_clean_files_save
6918 test $ac_write_fail = 0 ||
6919 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
6922 # configure is writing to config.log, and then calls config.status.
6923 # config.status does its own redirection, appending to config.log.
6924 # Unfortunately, on DOS this fails, as config.log is still kept open
6925 # by configure, so config.status won't be able to
write to it
; its
6926 # output is simply discarded. So we exec the FD to /dev/null,
6927 # effectively closing config.log, so it can be properly (re)opened and
6928 # appended to by config.status. When coming back to configure, we
6929 # need to make the FD available again.
6930 if test "$no_create" != yes; then
6932 ac_config_status_args
=
6933 test "$silent" = yes &&
6934 ac_config_status_args
="$ac_config_status_args --quiet"
6936 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
6938 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6939 # would make configure fail if this is the last instruction.
6940 $ac_cs_success || as_fn_exit $?
6942 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
6943 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6944 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}