2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x
; then
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var
in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\
${$as_var+set} = xset \
120 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
133 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
138 _as_can_reexec
=no
; export _as_can_reexec
;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
145 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
147 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec
=; unset _as_can_reexec
;}
160 if test "x$CONFIG_SHELL" = x
; then
161 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 case \`(set -o) 2>/dev/null\` in #(
177 as_required
="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
195 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
199 if (eval "$as_required") 2>/dev
/null
; then :
204 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
207 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
209 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
212 test -z "$as_dir" && as_dir
=.
216 for as_base
in sh bash ksh sh5
; do
217 # Try only shells that exist, to save several forks.
218 as_shell
=$as_dir/$as_base
219 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
220 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
221 CONFIG_SHELL
=$as_shell as_have_required
=yes
222 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
230 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
232 CONFIG_SHELL
=$SHELL as_have_required
=yes
237 if test "x$CONFIG_SHELL" != x
; then :
239 # We cannot yet assume a decent shell, so we have to provide a
240 # neutralization value for shells without unset; and this also
241 # works around shells that cannot unset nonexistent variables.
242 # Preserve -v and -x to the replacement shell.
245 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
247 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
252 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
253 # Admittedly, this is quite paranoid, since all the known shells bail
254 # out after a failed `exec'.
255 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
259 if test x
$as_have_required = xno
; then :
260 $as_echo "$0: This script requires a shell more modern than all"
261 $as_echo "$0: the shells that I found on your system."
262 if test x
${ZSH_VERSION+set} = xset
; then
263 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
264 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
266 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
267 $0: including any error possibly output before this
268 $0: message. Then install a modern shell, or manually run
269 $0: the script under such a shell if you do have one."
275 SHELL
=${CONFIG_SHELL-/bin/sh}
277 # Unset more variables known to interfere with behavior of common tools.
278 CLICOLOR_FORCE
= GREP_OPTIONS
=
279 unset CLICOLOR_FORCE GREP_OPTIONS
281 ## --------------------- ##
282 ## M4sh Shell Functions. ##
283 ## --------------------- ##
286 # Portably unset VAR.
289 { eval $1=; unset $1;}
293 # as_fn_set_status STATUS
294 # -----------------------
295 # Set $? to STATUS, without forking.
303 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
313 # Create "$as_dir" as a directory, including parents if necessary.
318 -*) as_dir
=.
/$as_dir;;
320 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
324 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
327 as_dirs
="'$as_qdir' $as_dirs"
328 as_dir
=`$as_dirname -- "$as_dir" ||
329 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
330 X"$as_dir" : 'X\(//\)[^/]' \| \
331 X"$as_dir" : 'X\(//\)$' \| \
332 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
333 $as_echo X"$as_dir" |
334 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
351 test -d "$as_dir" && break
353 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
354 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
359 # as_fn_executable_p FILE
360 # -----------------------
361 # Test if FILE is an executable regular file.
362 as_fn_executable_p
()
364 test -f "$1" && test -x "$1"
365 } # as_fn_executable_p
366 # as_fn_append VAR VALUE
367 # ----------------------
368 # Append the text in VALUE to the end of the definition contained in VAR. Take
369 # advantage of any shell optimizations that allow amortized linear growth over
370 # repeated appends, instead of the typical quadratic growth present in naive
372 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
373 eval 'as_fn_append ()
386 # Perform arithmetic evaluation on the ARGs, and store the result in the
387 # global $as_val. Take advantage of shells that can avoid forks. The arguments
388 # must be portable across $(()) and expr.
389 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
397 as_val
=`expr "$@" || test $? -eq 1`
402 # as_fn_error STATUS ERROR [LINENO LOG_FD]
403 # ----------------------------------------
404 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
405 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
406 # script with STATUS, using 1 if that was 0.
409 as_status
=$1; test $as_status -eq 0 && as_status
=1
411 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
412 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
414 $as_echo "$as_me: error: $2" >&2
415 as_fn_exit
$as_status
418 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
419 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
425 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
431 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
437 as_me
=`$as_basename -- "$0" ||
438 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
439 X"$0" : 'X\(//\)$' \| \
440 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
442 sed '/^.*\/\([^/][^/]*\)\/*$/{
456 # Avoid depending upon Character Ranges.
457 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
458 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
459 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
460 as_cr_digits
='0123456789'
461 as_cr_alnum
=$as_cr_Letters$as_cr_digits
464 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
465 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
466 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
467 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
468 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
480 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
484 chmod +x
"$as_me.lineno" ||
485 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
487 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
488 # already done that, so ensure we don't try to do so again and fall
489 # in an infinite loop. This has already happened in practice.
490 _as_can_reexec
=no
; export _as_can_reexec
491 # Don't try to exec as it changes $[0], causing all sort of problems
492 # (the dirname of $[0] is not the place where we might find the
493 # original and so on. Autoconf is especially sensitive to this).
495 # Exit status is that of the last command.
499 ECHO_C
= ECHO_N
= ECHO_T
=
500 case `echo -n x` in #(((((
502 case `echo 'xy\c'` in
503 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
505 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
512 rm -f conf$$ conf$$.exe conf$$.
file
513 if test -d conf$$.dir
; then
514 rm -f conf$$.dir
/conf$$.
file
517 mkdir conf$$.dir
2>/dev
/null
519 if (echo >conf$$.
file) 2>/dev
/null
; then
520 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
522 # ... but there are two gotchas:
523 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
524 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
525 # In both cases, we have to default to `cp -pR'.
526 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
528 elif ln conf$$.
file conf$$
2>/dev
/null
; then
536 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
537 rmdir conf$$.dir
2>/dev
/null
539 if mkdir
-p .
2>/dev
/null
; then
540 as_mkdir_p
='mkdir -p "$as_dir"'
542 test -d .
/-p && rmdir .
/-p
547 as_executable_p
=as_fn_executable_p
549 # Sed expression to map a string onto a valid CPP name.
550 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
552 # Sed expression to map a string onto a valid variable name.
553 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
556 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
560 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
561 # so uname gets run too.
562 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
567 ac_default_prefix
=/usr
/local
569 ac_config_libobj_dir
=.
576 # Identity of this package.
584 ac_unique_file
="Makefile.in"
585 enable_option_checking
=no
586 ac_subst_vars
='LTLIBOBJS
643 program_transform_name
656 enable_option_checking
659 ac_precious_vars
='build_alias
668 ac_subdirs_all
='aarch64
701 # Initialize some variables set by options.
703 ac_init_version
=false
704 ac_unrecognized_opts
=
706 # The variables have the same names as the options, with
707 # dashes changed to underlines.
715 program_transform_name
=s
,x
,x
,
723 # Installation directory options.
724 # These are left unexpanded so users can "make install exec_prefix=/foo"
725 # and all the variables that are supposed to be based on exec_prefix
726 # by default will actually change.
727 # Use braces instead of parens because sh, perl, etc. also accept them.
728 # (The list follows the same order as the GNU Coding Standards.)
729 bindir
='${exec_prefix}/bin'
730 sbindir
='${exec_prefix}/sbin'
731 libexecdir
='${exec_prefix}/libexec'
732 datarootdir
='${prefix}/share'
733 datadir
='${datarootdir}'
734 sysconfdir
='${prefix}/etc'
735 sharedstatedir
='${prefix}/com'
736 localstatedir
='${prefix}/var'
737 includedir
='${prefix}/include'
738 oldincludedir
='/usr/include'
739 docdir
='${datarootdir}/doc/${PACKAGE}'
740 infodir
='${datarootdir}/info'
745 libdir
='${exec_prefix}/lib'
746 localedir
='${datarootdir}/locale'
747 mandir
='${datarootdir}/man'
753 # If the previous option needs an argument, assign it.
754 if test -n "$ac_prev"; then
755 eval $ac_prev=\
$ac_option
761 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
766 # Accept the important Cygnus configure options, so we can diagnose typos.
768 case $ac_dashdash$ac_option in
772 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
774 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
777 -build |
--build |
--buil |
--bui |
--bu)
778 ac_prev
=build_alias
;;
779 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
780 build_alias
=$ac_optarg ;;
782 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
783 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
784 ac_prev
=cache_file
;;
785 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
786 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
787 cache_file
=$ac_optarg ;;
790 cache_file
=config.cache
;;
792 -datadir |
--datadir |
--datadi |
--datad)
794 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
795 datadir
=$ac_optarg ;;
797 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
798 |
--dataroo |
--dataro |
--datar)
799 ac_prev
=datarootdir
;;
800 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
801 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
802 datarootdir
=$ac_optarg ;;
804 -disable-* |
--disable-*)
805 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
806 # Reject names that are not valid shell variable names.
807 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
808 as_fn_error $?
"invalid feature name: $ac_useropt"
809 ac_useropt_orig
=$ac_useropt
810 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
811 case $ac_user_opts in
815 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
816 ac_unrecognized_sep
=', ';;
818 eval enable_
$ac_useropt=no
;;
820 -docdir |
--docdir |
--docdi |
--doc |
--do)
822 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
825 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
827 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
830 -enable-* |
--enable-*)
831 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
832 # Reject names that are not valid shell variable names.
833 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
834 as_fn_error $?
"invalid feature name: $ac_useropt"
835 ac_useropt_orig
=$ac_useropt
836 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
837 case $ac_user_opts in
841 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
842 ac_unrecognized_sep
=', ';;
844 eval enable_
$ac_useropt=\
$ac_optarg ;;
846 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
847 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
848 |
--exec |
--exe |
--ex)
849 ac_prev
=exec_prefix
;;
850 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
851 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
852 |
--exec=* |
--exe=* |
--ex=*)
853 exec_prefix
=$ac_optarg ;;
855 -gas |
--gas |
--ga |
--g)
856 # Obsolete; use --with-gas.
859 -help |
--help |
--hel |
--he |
-h)
861 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
862 ac_init_help
=recursive
;;
863 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
864 ac_init_help
=short
;;
866 -host |
--host |
--hos |
--ho)
867 ac_prev
=host_alias
;;
868 -host=* |
--host=* |
--hos=* |
--ho=*)
869 host_alias
=$ac_optarg ;;
871 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
873 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
875 htmldir
=$ac_optarg ;;
877 -includedir |
--includedir |
--includedi |
--included |
--include \
878 |
--includ |
--inclu |
--incl |
--inc)
879 ac_prev
=includedir
;;
880 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
881 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
882 includedir
=$ac_optarg ;;
884 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
886 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
887 infodir
=$ac_optarg ;;
889 -libdir |
--libdir |
--libdi |
--libd)
891 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
894 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
895 |
--libexe |
--libex |
--libe)
896 ac_prev
=libexecdir
;;
897 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
898 |
--libexe=* |
--libex=* |
--libe=*)
899 libexecdir
=$ac_optarg ;;
901 -localedir |
--localedir |
--localedi |
--localed |
--locale)
903 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
904 localedir
=$ac_optarg ;;
906 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
907 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
908 ac_prev
=localstatedir
;;
909 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
910 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
911 localstatedir
=$ac_optarg ;;
913 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
915 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
919 # Obsolete; use --without-fp.
922 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
923 |
--no-cr |
--no-c |
-n)
926 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
927 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
930 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
931 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
932 |
--oldin |
--oldi |
--old |
--ol |
--o)
933 ac_prev
=oldincludedir
;;
934 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
935 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
936 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
937 oldincludedir
=$ac_optarg ;;
939 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
941 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
944 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
945 |
--program-pre |
--program-pr |
--program-p)
946 ac_prev
=program_prefix
;;
947 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
948 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
949 program_prefix
=$ac_optarg ;;
951 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
952 |
--program-suf |
--program-su |
--program-s)
953 ac_prev
=program_suffix
;;
954 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
955 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
956 program_suffix
=$ac_optarg ;;
958 -program-transform-name |
--program-transform-name \
959 |
--program-transform-nam |
--program-transform-na \
960 |
--program-transform-n |
--program-transform- \
961 |
--program-transform |
--program-transfor \
962 |
--program-transfo |
--program-transf \
963 |
--program-trans |
--program-tran \
964 |
--progr-tra |
--program-tr |
--program-t)
965 ac_prev
=program_transform_name
;;
966 -program-transform-name=* |
--program-transform-name=* \
967 |
--program-transform-nam=* |
--program-transform-na=* \
968 |
--program-transform-n=* |
--program-transform-=* \
969 |
--program-transform=* |
--program-transfor=* \
970 |
--program-transfo=* |
--program-transf=* \
971 |
--program-trans=* |
--program-tran=* \
972 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
973 program_transform_name
=$ac_optarg ;;
975 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
977 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
980 -psdir |
--psdir |
--psdi |
--psd |
--ps)
982 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
985 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
986 |
-silent |
--silent |
--silen |
--sile |
--sil)
989 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
991 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
993 sbindir
=$ac_optarg ;;
995 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
996 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
997 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
999 ac_prev
=sharedstatedir
;;
1000 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1001 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1002 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1004 sharedstatedir
=$ac_optarg ;;
1006 -site |
--site |
--sit)
1008 -site=* |
--site=* |
--sit=*)
1011 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1013 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1014 srcdir
=$ac_optarg ;;
1016 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1017 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1018 ac_prev
=sysconfdir
;;
1019 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1020 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1021 sysconfdir
=$ac_optarg ;;
1023 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1024 ac_prev
=target_alias
;;
1025 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1026 target_alias
=$ac_optarg ;;
1028 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1031 -version |
--version |
--versio |
--versi |
--vers |
-V)
1032 ac_init_version
=: ;;
1035 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1036 # Reject names that are not valid shell variable names.
1037 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1038 as_fn_error $?
"invalid package name: $ac_useropt"
1039 ac_useropt_orig
=$ac_useropt
1040 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1041 case $ac_user_opts in
1045 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1046 ac_unrecognized_sep
=', ';;
1048 eval with_
$ac_useropt=\
$ac_optarg ;;
1050 -without-* |
--without-*)
1051 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1052 # Reject names that are not valid shell variable names.
1053 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1054 as_fn_error $?
"invalid package name: $ac_useropt"
1055 ac_useropt_orig
=$ac_useropt
1056 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1057 case $ac_user_opts in
1061 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1062 ac_unrecognized_sep
=', ';;
1064 eval with_
$ac_useropt=no
;;
1067 # Obsolete; use --with-x.
1070 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1071 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1072 ac_prev
=x_includes
;;
1073 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1074 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1075 x_includes
=$ac_optarg ;;
1077 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1078 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1079 ac_prev
=x_libraries
;;
1080 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1081 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1082 x_libraries
=$ac_optarg ;;
1084 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1085 Try \`$0 --help' for more information"
1089 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1090 # Reject names that are not valid shell variable names.
1091 case $ac_envvar in #(
1092 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1093 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1095 eval $ac_envvar=\
$ac_optarg
1096 export $ac_envvar ;;
1099 # FIXME: should be removed in autoconf 3.0.
1100 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1101 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1102 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1103 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1109 if test -n "$ac_prev"; then
1110 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1111 as_fn_error $?
"missing argument to $ac_option"
1114 if test -n "$ac_unrecognized_opts"; then
1115 case $enable_option_checking in
1117 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1118 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1122 # Check all directory arguments for consistency.
1123 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1124 datadir sysconfdir sharedstatedir localstatedir includedir \
1125 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1126 libdir localedir mandir
1128 eval ac_val
=\$
$ac_var
1129 # Remove trailing slashes.
1132 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1133 eval $ac_var=\
$ac_val;;
1135 # Be sure to have absolute directory names.
1137 [\\/$
]* | ?
:[\\/]* ) continue;;
1138 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1140 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1143 # There might be people who depend on the old broken behavior: `$host'
1144 # used to hold the argument of --host etc.
1145 # FIXME: To remove some day.
1148 target
=$target_alias
1150 # FIXME: To remove some day.
1151 if test "x$host_alias" != x
; then
1152 if test "x$build_alias" = x
; then
1153 cross_compiling
=maybe
1154 elif test "x$build_alias" != "x$host_alias"; then
1160 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1162 test "$silent" = yes && exec 6>/dev
/null
1165 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1166 ac_ls_di
=`ls -di .` &&
1167 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1168 as_fn_error $?
"working directory cannot be determined"
1169 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1170 as_fn_error $?
"pwd does not report name of working directory"
1173 # Find the source files, if location was not specified.
1174 if test -z "$srcdir"; then
1175 ac_srcdir_defaulted
=yes
1176 # Try the directory containing this script, then the parent directory.
1177 ac_confdir
=`$as_dirname -- "$as_myself" ||
1178 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1179 X"$as_myself" : 'X\(//\)[^/]' \| \
1180 X"$as_myself" : 'X\(//\)$' \| \
1181 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1182 $as_echo X"$as_myself" |
1183 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1201 if test ! -r "$srcdir/$ac_unique_file"; then
1205 ac_srcdir_defaulted
=no
1207 if test ! -r "$srcdir/$ac_unique_file"; then
1208 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1209 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1211 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1213 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1215 # When building in place, set srcdir=.
1216 if test "$ac_abs_confdir" = "$ac_pwd"; then
1219 # Remove unnecessary trailing slashes from srcdir.
1220 # Double slashes in file names in object file debugging info
1221 # mess up M-x gdb in Emacs.
1223 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1225 for ac_var
in $ac_precious_vars; do
1226 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1227 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1228 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1229 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1233 # Report the --help message.
1235 if test "$ac_init_help" = "long"; then
1236 # Omit some internal or obsolete options to make the list less imposing.
1237 # This message is too long to be a string in the A/UX 3.1 sh.
1239 \`configure' configures this package to adapt to many kinds of systems.
1241 Usage: $0 [OPTION]... [VAR=VALUE]...
1243 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1244 VAR=VALUE. See below for descriptions of some of the useful variables.
1246 Defaults for the options are specified in brackets.
1249 -h, --help display this help and exit
1250 --help=short display options specific to this package
1251 --help=recursive display the short help of all the included packages
1252 -V, --version display version information and exit
1253 -q, --quiet, --silent do not print \`checking ...' messages
1254 --cache-file=FILE cache test results in FILE [disabled]
1255 -C, --config-cache alias for \`--cache-file=config.cache'
1256 -n, --no-create do not create output files
1257 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1259 Installation directories:
1260 --prefix=PREFIX install architecture-independent files in PREFIX
1261 [$ac_default_prefix]
1262 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1265 By default, \`make install' will install all the files in
1266 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1267 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1268 for instance \`--prefix=\$HOME'.
1270 For better control, use the options below.
1272 Fine tuning of the installation directories:
1273 --bindir=DIR user executables [EPREFIX/bin]
1274 --sbindir=DIR system admin executables [EPREFIX/sbin]
1275 --libexecdir=DIR program executables [EPREFIX/libexec]
1276 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1277 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1278 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1279 --libdir=DIR object code libraries [EPREFIX/lib]
1280 --includedir=DIR C header files [PREFIX/include]
1281 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1282 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1283 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1284 --infodir=DIR info documentation [DATAROOTDIR/info]
1285 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1286 --mandir=DIR man documentation [DATAROOTDIR/man]
1287 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1288 --htmldir=DIR html documentation [DOCDIR]
1289 --dvidir=DIR dvi documentation [DOCDIR]
1290 --pdfdir=DIR pdf documentation [DOCDIR]
1291 --psdir=DIR ps documentation [DOCDIR]
1297 --program-prefix=PREFIX prepend PREFIX to installed program names
1298 --program-suffix=SUFFIX append SUFFIX to installed program names
1299 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1302 --build=BUILD configure
for building on BUILD
[guessed
]
1303 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1304 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1308 if test -n "$ac_init_help"; then
1313 --disable-option-checking ignore unrecognized
--enable/--with options
1314 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1315 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1316 --enable-sim Enable the GNU simulator
1318 Some influential environment variables
:
1319 CC C compiler
command
1320 CFLAGS C compiler flags
1321 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1322 nonstandard directory
<lib dir
>
1323 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1324 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1325 you have headers
in a nonstandard directory
<include dir
>
1328 Use these variables to override the choices made by
`configure' or to help
1329 it to find libraries and programs with nonstandard names/locations.
1331 Report bugs to the package provider.
1336 if test "$ac_init_help" = "recursive"; then
1337 # If there are subdirs, report their specific --help.
1338 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1339 test -d "$ac_dir" ||
1340 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1345 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1347 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1348 # A ".." for each directory in $ac_dir_suffix.
1349 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1350 case $ac_top_builddir_sub in
1351 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1352 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1355 ac_abs_top_builddir=$ac_pwd
1356 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1357 # for backward compatibility:
1358 ac_top_builddir=$ac_top_build_prefix
1361 .) # We are building in place.
1363 ac_top_srcdir=$ac_top_builddir_sub
1364 ac_abs_top_srcdir=$ac_pwd ;;
1365 [\\/]* | ?:[\\/]* ) # Absolute name.
1366 ac_srcdir=$srcdir$ac_dir_suffix;
1367 ac_top_srcdir=$srcdir
1368 ac_abs_top_srcdir=$srcdir ;;
1370 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1371 ac_top_srcdir=$ac_top_build_prefix$srcdir
1372 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1374 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1376 cd "$ac_dir" || { ac_status=$?; continue; }
1377 # Check for guested configure.
1378 if test -f "$ac_srcdir/configure.gnu"; then
1380 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1381 elif test -f "$ac_srcdir/configure"; then
1383 $SHELL "$ac_srcdir/configure" --help=recursive
1385 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1387 cd "$ac_pwd" || { ac_status=$?; break; }
1391 test -n "$ac_init_help" && exit $ac_status
1392 if $ac_init_version; then
1395 generated by GNU Autoconf 2.69
1397 Copyright (C) 2012 Free Software Foundation, Inc.
1398 This configure script is free software; the Free Software Foundation
1399 gives unlimited permission to copy, distribute and modify it.
1404 ## ------------------------ ##
1405 ## Autoconf initialization. ##
1406 ## ------------------------ ##
1408 # ac_fn_c_try_compile LINENO
1409 # --------------------------
1410 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1411 ac_fn_c_try_compile ()
1413 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1414 rm -f conftest.$ac_objext
1415 if { { ac_try="$ac_compile"
1417 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1418 *) ac_try_echo
=$ac_try;;
1420 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1421 $as_echo "$ac_try_echo"; } >&5
1422 (eval "$ac_compile") 2>conftest.err
1424 if test -s conftest.err
; then
1425 grep -v '^ *+' conftest.err
>conftest.er1
1426 cat conftest.er1
>&5
1427 mv -f conftest.er1 conftest.err
1429 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1430 test $ac_status = 0; } && {
1431 test -z "$ac_c_werror_flag" ||
1432 test ! -s conftest.err
1433 } && test -s conftest.
$ac_objext; then :
1436 $as_echo "$as_me: failed program was:" >&5
1437 sed 's/^/| /' conftest.
$ac_ext >&5
1441 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1442 as_fn_set_status
$ac_retval
1444 } # ac_fn_c_try_compile
1446 # ac_fn_c_try_cpp LINENO
1447 # ----------------------
1448 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1451 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1452 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1454 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1455 *) ac_try_echo=$ac_try;;
1457 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1458 $as_echo "$ac_try_echo"; } >&5
1459 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1461 if test -s conftest.err; then
1462 grep -v '^ *+' conftest.err >conftest.er1
1463 cat conftest.er1 >&5
1464 mv -f conftest.er1 conftest.err
1466 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1467 test $ac_status = 0; } > conftest.i && {
1468 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1469 test ! -s conftest.err
1473 $as_echo "$as_me: failed program was:" >&5
1474 sed 's/^/| /' conftest.$ac_ext >&5
1478 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1479 as_fn_set_status $ac_retval
1482 cat >config.log <<_ACEOF
1483 This file contains any messages produced by compilers while
1484 running configure, to aid debugging if configure makes a mistake.
1486 It was created by $as_me, which was
1487 generated by GNU Autoconf 2.69. Invocation command line was
1499 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1500 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1501 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1502 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1503 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1505 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1506 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1508 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1509 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1510 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1511 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1512 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1513 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1514 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1522 test -z "$as_dir" && as_dir=.
1523 $as_echo "PATH: $as_dir"
1539 # Keep a trace of the command line.
1540 # Strip out --no-create and --no-recursion so they do not pile up.
1541 # Strip out --silent because we don't want to record it for future runs.
1542 # Also quote any args containing shell meta-characters.
1543 # Make two passes to allow for proper duplicate-argument suppression.
1547 ac_must_keep_next=false
1553 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1554 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1555 | -silent | --silent | --silen | --sile | --sil)
1558 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1561 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1563 as_fn_append ac_configure_args1 " '$ac_arg'"
1564 if test $ac_must_keep_next = true; then
1565 ac_must_keep_next=false # Got value, back to normal.
1568 *=* | --config-cache | -C | -disable-* | --disable-* \
1569 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1570 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1571 | -with-* | --with-* | -without-* | --without-* | --x)
1572 case "$ac_configure_args0 " in
1573 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1576 -* ) ac_must_keep_next=true ;;
1579 as_fn_append ac_configure_args " '$ac_arg'"
1584 { ac_configure_args0=; unset ac_configure_args0;}
1585 { ac_configure_args1=; unset ac_configure_args1;}
1587 # When interrupted or exit'd, cleanup temporary files, and complete
1588 # config.log. We remove comments because anyway the quotes in there
1589 # would cause problems or look ugly.
1590 # WARNING: Use '\'' to represent an apostrophe within the trap.
1591 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1592 trap 'exit_status=$?
1593 # Save into config.log some information that might help in debugging.
1597 $as_echo "## ---------------- ##
1598 ## Cache variables. ##
1599 ## ---------------- ##"
1601 # The following way of writing the cache mishandles newlines in values,
1603 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1604 eval ac_val=\$$ac_var
1608 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1609 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1612 _ | IFS | as_nl) ;; #(
1613 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1614 *) { eval $ac_var=; unset $ac_var;} ;;
1619 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1620 *${as_nl}ac_space=\ *)
1622 "s/'\''/'\''\\\\'\'''\''/g;
1623 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1626 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1633 $as_echo "## ----------------- ##
1634 ## Output variables. ##
1635 ## ----------------- ##"
1637 for ac_var in $ac_subst_vars
1639 eval ac_val=\$$ac_var
1641 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1643 $as_echo "$ac_var='\''$ac_val'\''"
1647 if test -n "$ac_subst_files"; then
1648 $as_echo "## ------------------- ##
1649 ## File substitutions. ##
1650 ## ------------------- ##"
1652 for ac_var in $ac_subst_files
1654 eval ac_val=\$$ac_var
1656 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1658 $as_echo "$ac_var='\''$ac_val'\''"
1663 if test -s confdefs.h; then
1664 $as_echo "## ----------- ##
1671 test "$ac_signal" != 0 &&
1672 $as_echo "$as_me: caught signal $ac_signal"
1673 $as_echo "$as_me: exit $exit_status"
1675 rm -f core *.core core.conftest.* &&
1676 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1679 for ac_signal in 1 2 13 15; do
1680 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1684 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1685 rm -f -r conftest* confdefs.h
1687 $as_echo "/* confdefs.h */" > confdefs.h
1689 # Predefined preprocessor variables.
1691 cat >>confdefs.h <<_ACEOF
1692 #define PACKAGE_NAME "$PACKAGE_NAME"
1695 cat >>confdefs.h <<_ACEOF
1696 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1699 cat >>confdefs.h <<_ACEOF
1700 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1703 cat >>confdefs.h <<_ACEOF
1704 #define PACKAGE_STRING "$PACKAGE_STRING"
1707 cat >>confdefs.h <<_ACEOF
1708 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1711 cat >>confdefs.h <<_ACEOF
1712 #define PACKAGE_URL "$PACKAGE_URL"
1716 # Let the site file select an alternate cache file if it wants to.
1717 # Prefer an explicitly selected file to automatically selected ones.
1720 if test -n "$CONFIG_SITE"; then
1721 # We do not want a PATH search for config.site.
1722 case $CONFIG_SITE in #((
1723 -*) ac_site_file1=./$CONFIG_SITE;;
1724 */*) ac_site_file1=$CONFIG_SITE;;
1725 *) ac_site_file1=./$CONFIG_SITE;;
1727 elif test "x$prefix" != xNONE; then
1728 ac_site_file1=$prefix/share/config.site
1729 ac_site_file2=$prefix/etc/config.site
1731 ac_site_file1=$ac_default_prefix/share/config.site
1732 ac_site_file2=$ac_default_prefix/etc/config.site
1734 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1736 test "x$ac_site_file" = xNONE && continue
1737 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1738 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1739 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1740 sed 's/^/| /' "$ac_site_file" >&5
1742 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1743 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1744 as_fn_error $? "failed to load site
script $ac_site_file
1745 See \
`config.log' for more details" "$LINENO" 5; }
1749 if test -r "$cache_file"; then
1750 # Some versions of bash will fail to source /dev/null (special files
1751 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1752 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1753 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1754 $as_echo "$as_me: loading cache $cache_file" >&6;}
1756 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1757 *) . "./$cache_file";;
1761 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1762 $as_echo "$as_me: creating cache $cache_file" >&6;}
1766 # Check that the precious variables saved in the cache have kept the same
1768 ac_cache_corrupted=false
1769 for ac_var in $ac_precious_vars; do
1770 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1771 eval ac_new_set=\$ac_env_${ac_var}_set
1772 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1773 eval ac_new_val=\$ac_env_${ac_var}_value
1774 case $ac_old_set,$ac_new_set in
1776 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1777 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1778 ac_cache_corrupted=: ;;
1780 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
1781 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1782 ac_cache_corrupted=: ;;
1785 if test "x$ac_old_val" != "x$ac_new_val"; then
1786 # differences in whitespace do not lead to failure.
1787 ac_old_val_w=`echo x
$ac_old_val`
1788 ac_new_val_w=`echo x
$ac_new_val`
1789 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1790 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1791 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1792 ac_cache_corrupted=:
1794 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
1795 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1796 eval $ac_var=\$ac_old_val
1798 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1799 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
1800 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1801 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1804 # Pass precious variables to config.status.
1805 if test "$ac_new_set" = set; then
1807 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1808 *) ac_arg=$ac_var=$ac_new_val ;;
1810 case " $ac_configure_args " in
1811 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1812 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1816 if $ac_cache_corrupted; then
1817 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
1818 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1819 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1820 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1821 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
1823 ## -------------------- ##
1824 ## Main body of script. ##
1825 ## -------------------- ##
1828 ac_cpp='$CPP $CPPFLAGS'
1829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1837 ac_cpp='$CPP $CPPFLAGS'
1838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1841 if test -n "$ac_tool_prefix"; then
1842 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1843 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1845 $as_echo_n "checking for $ac_word... " >&6; }
1846 if ${ac_cv_prog_CC+:} false; then :
1847 $as_echo_n "(cached) " >&6
1849 if test -n "$CC"; then
1850 ac_cv_prog_CC="$CC" # Let the user override the test.
1852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1856 test -z "$as_dir" && as_dir=.
1857 for ac_exec_ext in '' $ac_executable_extensions; do
1858 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1859 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1860 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1870 if test -n "$CC"; then
1871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1872 $as_echo "$CC" >&6; }
1874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1875 $as_echo "no" >&6; }
1880 if test -z "$ac_cv_prog_CC"; then
1882 # Extract the first word of "gcc", so it can be a program name with args.
1883 set dummy gcc; ac_word=$2
1884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1885 $as_echo_n "checking for $ac_word... " >&6; }
1886 if ${ac_cv_prog_ac_ct_CC+:} false; then :
1887 $as_echo_n "(cached) " >&6
1889 if test -n "$ac_ct_CC"; then
1890 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1896 test -z "$as_dir" && as_dir=.
1897 for ac_exec_ext in '' $ac_executable_extensions; do
1898 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1899 ac_cv_prog_ac_ct_CC="gcc"
1900 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1909 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1910 if test -n "$ac_ct_CC"; then
1911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
1912 $as_echo "$ac_ct_CC" >&6; }
1914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1915 $as_echo "no" >&6; }
1918 if test "x$ac_ct_CC" = x; then
1921 case $cross_compiling:$ac_tool_warned in
1923 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1924 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1925 ac_tool_warned=yes ;;
1933 if test -z "$CC"; then
1934 if test -n "$ac_tool_prefix"; then
1935 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1936 set dummy ${ac_tool_prefix}cc; ac_word=$2
1937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1938 $as_echo_n "checking for $ac_word... " >&6; }
1939 if ${ac_cv_prog_CC+:} false; then :
1940 $as_echo_n "(cached) " >&6
1942 if test -n "$CC"; then
1943 ac_cv_prog_CC="$CC" # Let the user override the test.
1945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1949 test -z "$as_dir" && as_dir=.
1950 for ac_exec_ext in '' $ac_executable_extensions; do
1951 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1952 ac_cv_prog_CC="${ac_tool_prefix}cc"
1953 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1963 if test -n "$CC"; then
1964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1965 $as_echo "$CC" >&6; }
1967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1968 $as_echo "no" >&6; }
1974 if test -z "$CC"; then
1975 # Extract the first word of "cc", so it can be a program name with args.
1976 set dummy cc; ac_word=$2
1977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1978 $as_echo_n "checking for $ac_word... " >&6; }
1979 if ${ac_cv_prog_CC+:} false; then :
1980 $as_echo_n "(cached) " >&6
1982 if test -n "$CC"; then
1983 ac_cv_prog_CC="$CC" # Let the user override the test.
1986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1990 test -z "$as_dir" && as_dir=.
1991 for ac_exec_ext in '' $ac_executable_extensions; do
1992 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1993 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1994 ac_prog_rejected=yes
1998 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2005 if test $ac_prog_rejected = yes; then
2006 # We found a bogon in the path, so make sure we never use it.
2007 set dummy $ac_cv_prog_CC
2009 if test $# != 0; then
2010 # We chose a different compiler from the bogus one.
2011 # However, it has the same basename, so the bogon will be chosen
2012 # first if we set CC to just the basename; use the full file name.
2014 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2020 if test -n "$CC"; then
2021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2022 $as_echo "$CC" >&6; }
2024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2025 $as_echo "no" >&6; }
2030 if test -z "$CC"; then
2031 if test -n "$ac_tool_prefix"; then
2032 for ac_prog in cl.exe
2034 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2035 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2037 $as_echo_n "checking for $ac_word... " >&6; }
2038 if ${ac_cv_prog_CC+:} false; then :
2039 $as_echo_n "(cached) " >&6
2041 if test -n "$CC"; then
2042 ac_cv_prog_CC="$CC" # Let the user override the test.
2044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2048 test -z "$as_dir" && as_dir=.
2049 for ac_exec_ext in '' $ac_executable_extensions; do
2050 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2051 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2052 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2062 if test -n "$CC"; then
2063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2064 $as_echo "$CC" >&6; }
2066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2067 $as_echo "no" >&6; }
2071 test -n "$CC" && break
2074 if test -z "$CC"; then
2076 for ac_prog in cl.exe
2078 # Extract the first word of "$ac_prog", so it can be a program name with args.
2079 set dummy $ac_prog; ac_word=$2
2080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2081 $as_echo_n "checking for $ac_word... " >&6; }
2082 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2083 $as_echo_n "(cached) " >&6
2085 if test -n "$ac_ct_CC"; then
2086 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2092 test -z "$as_dir" && as_dir=.
2093 for ac_exec_ext in '' $ac_executable_extensions; do
2094 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2095 ac_cv_prog_ac_ct_CC="$ac_prog"
2096 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2105 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2106 if test -n "$ac_ct_CC"; then
2107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2108 $as_echo "$ac_ct_CC" >&6; }
2110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2111 $as_echo "no" >&6; }
2115 test -n "$ac_ct_CC" && break
2118 if test "x$ac_ct_CC" = x; then
2121 case $cross_compiling:$ac_tool_warned in
2123 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2124 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2125 ac_tool_warned=yes ;;
2134 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2135 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2136 as_fn_error $? "no acceptable C compiler found
in \
$PATH
2137 See \
`config.log' for more details" "$LINENO" 5; }
2139 # Provide some information about the compiler.
2140 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2143 for ac_option in --version -v -V -qversion; do
2144 { { ac_try="$ac_compiler $ac_option >&5"
2146 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2147 *) ac_try_echo
=$ac_try;;
2149 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2150 $as_echo "$ac_try_echo"; } >&5
2151 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2153 if test -s conftest.err
; then
2155 ... rest of stderr output deleted ...
2156 10q' conftest.err
>conftest.er1
2157 cat conftest.er1
>&5
2159 rm -f conftest.er1 conftest.err
2160 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2161 test $ac_status = 0; }
2164 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2165 /* end confdefs.h. */
2175 ac_clean_files_save
=$ac_clean_files
2176 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2177 # Try to create an executable without -o first, disregard a.out.
2178 # It will help us diagnose broken compilers, and finding out an intuition
2180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2181 $as_echo_n "checking whether the C compiler works... " >&6; }
2182 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2184 # The possible output files:
2185 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2188 for ac_file
in $ac_files
2191 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2192 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
2197 if { { ac_try
="$ac_link_default"
2199 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2200 *) ac_try_echo=$ac_try;;
2202 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2203 $as_echo "$ac_try_echo"; } >&5
2204 (eval "$ac_link_default") 2>&5
2206 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2207 test $ac_status = 0; }; then :
2208 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
2209 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
2210 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2211 # so that the user can short-circuit this test for compilers unknown to
2213 for ac_file in $ac_files ''
2215 test -f "$ac_file" || continue
2217 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2220 # We found the default executable, but exeext='' is most
2224 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2226 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2228 # We set ac_cv_exeext here because the later test for it is not
2229 # safe: cross compilers may not add the suffix if given an `-o'
2230 # argument, so we may need to know it at that point already.
2231 # Even if this section looks crufty: it has the advantage of
2238 test "$ac_cv_exeext" = no && ac_cv_exeext=
2243 if test -z "$ac_file"; then :
2244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2245 $as_echo "no" >&6; }
2246 $as_echo "$as_me: failed program was:" >&5
2247 sed 's
/^
/|
/' conftest.$ac_ext >&5
2249 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2250 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
2251 as_fn_error 77 "C compiler cannot create executables
2252 See \`config.log
' for more details" "$LINENO" 5; }
2254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2255 $as_echo "yes" >&6; }
2257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2258 $as_echo_n "checking for C compiler default output file name... " >&6; }
2259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2260 $as_echo "$ac_file" >&6; }
2261 ac_exeext=$ac_cv_exeext
2263 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2264 ac_clean_files=$ac_clean_files_save
2265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2266 $as_echo_n "checking for suffix of executables... " >&6; }
2267 if { { ac_try="$ac_link"
2269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2270 *) ac_try_echo=$ac_try;;
2272 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2273 $as_echo "$ac_try_echo"; } >&5
2274 (eval "$ac_link") 2>&5
2276 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2277 test $ac_status = 0; }; then :
2278 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2279 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2280 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2282 for ac_file
in conftest.exe conftest conftest.
*; do
2283 test -f "$ac_file" ||
continue
2285 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2286 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2292 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2293 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2294 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
2295 See \`config.log' for more details" "$LINENO" 5; }
2297 rm -f conftest conftest
$ac_cv_exeext
2298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2299 $as_echo "$ac_cv_exeext" >&6; }
2301 rm -f conftest.
$ac_ext
2302 EXEEXT
=$ac_cv_exeext
2304 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2305 /* end confdefs.h. */
2310 FILE *f = fopen ("conftest.out", "w");
2311 return ferror (f) || fclose (f) != 0;
2317 ac_clean_files
="$ac_clean_files conftest.out"
2318 # Check that the compiler produces executables we can run. If not, either
2319 # the compiler is broken, or we cross compile.
2320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2321 $as_echo_n "checking whether we are cross compiling... " >&6; }
2322 if test "$cross_compiling" != yes; then
2323 { { ac_try
="$ac_link"
2325 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2326 *) ac_try_echo=$ac_try;;
2328 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2329 $as_echo "$ac_try_echo"; } >&5
2330 (eval "$ac_link") 2>&5
2332 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2333 test $ac_status = 0; }
2334 if { ac_try='./conftest$ac_cv_exeext'
2335 { { case "(($ac_try" in
2336 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2337 *) ac_try_echo
=$ac_try;;
2339 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2340 $as_echo "$ac_try_echo"; } >&5
2341 (eval "$ac_try") 2>&5
2343 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2344 test $ac_status = 0; }; }; then
2347 if test "$cross_compiling" = maybe
; then
2350 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2351 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2352 as_fn_error $?
"cannot run C compiled programs.
2353 If you meant to cross compile, use \`--host'.
2354 See \`config.log' for more details" "$LINENO" 5; }
2358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2359 $as_echo "$cross_compiling" >&6; }
2361 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
2362 ac_clean_files
=$ac_clean_files_save
2363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2364 $as_echo_n "checking for suffix of object files... " >&6; }
2365 if ${ac_cv_objext+:} false
; then :
2366 $as_echo_n "(cached) " >&6
2368 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2369 /* end confdefs.h. */
2379 rm -f conftest.o conftest.obj
2380 if { { ac_try
="$ac_compile"
2382 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2383 *) ac_try_echo=$ac_try;;
2385 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2386 $as_echo "$ac_try_echo"; } >&5
2387 (eval "$ac_compile") 2>&5
2389 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2390 test $ac_status = 0; }; then :
2391 for ac_file in conftest.o conftest.obj conftest.*; do
2392 test -f "$ac_file" || continue;
2394 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2395 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2400 $as_echo "$as_me: failed program was:" >&5
2401 sed 's/^/| /' conftest.$ac_ext >&5
2403 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2404 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2405 as_fn_error $? "cannot compute suffix of object files
: cannot compile
2406 See \
`config.log' for more details" "$LINENO" 5; }
2408 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2411 $as_echo "$ac_cv_objext" >&6; }
2412 OBJEXT=$ac_cv_objext
2414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2415 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2416 if ${ac_cv_c_compiler_gnu+:} false; then :
2417 $as_echo_n "(cached) " >&6
2419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2420 /* end confdefs.h. */
2433 if ac_fn_c_try_compile "$LINENO"; then :
2438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2439 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2443 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2444 if test $ac_compiler_gnu = yes; then
2449 ac_test_CFLAGS=${CFLAGS+set}
2450 ac_save_CFLAGS=$CFLAGS
2451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2452 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2453 if ${ac_cv_prog_cc_g+:} false; then :
2454 $as_echo_n "(cached) " >&6
2456 ac_save_c_werror_flag=$ac_c_werror_flag
2457 ac_c_werror_flag=yes
2460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2461 /* end confdefs.h. */
2471 if ac_fn_c_try_compile "$LINENO"; then :
2475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2476 /* end confdefs.h. */
2486 if ac_fn_c_try_compile "$LINENO"; then :
2489 ac_c_werror_flag=$ac_save_c_werror_flag
2491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2492 /* end confdefs.h. */
2502 if ac_fn_c_try_compile "$LINENO"; then :
2505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2510 ac_c_werror_flag=$ac_save_c_werror_flag
2512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2513 $as_echo "$ac_cv_prog_cc_g" >&6; }
2514 if test "$ac_test_CFLAGS" = set; then
2515 CFLAGS=$ac_save_CFLAGS
2516 elif test $ac_cv_prog_cc_g = yes; then
2517 if test "$GCC" = yes; then
2523 if test "$GCC" = yes; then
2529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2530 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2531 if ${ac_cv_prog_cc_c89+:} false; then :
2532 $as_echo_n "(cached) " >&6
2534 ac_cv_prog_cc_c89=no
2536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2537 /* end confdefs.h. */
2541 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2542 struct buf { int x; };
2543 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2544 static char *e (p, i)
2550 static char *f (char * (*g) (char **, int), char **p, ...)
2555 s = g (p, va_arg (v,int));
2560 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2561 function prototypes and stuff, but not '\xHH' hex character constants.
2562 These don't provoke an error unfortunately, instead are silently treated
2563 as 'x'. The following induces an error, until -std is added to get
2564 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2565 array size at least. It's necessary to write '\x00'==0 to get something
2566 that's true only with -std. */
2567 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2569 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2570 inside strings and character constants. */
2572 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2574 int test (int i, double x);
2575 struct s1 {int (*f) (int a);};
2576 struct s2 {int (*f) (double a);};
2577 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2583 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2588 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2589 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2591 CC="$ac_save_CC $ac_arg"
2592 if ac_fn_c_try_compile "$LINENO"; then :
2593 ac_cv_prog_cc_c89=$ac_arg
2595 rm -f core conftest.err conftest.$ac_objext
2596 test "x$ac_cv_prog_cc_c89" != "xno" && break
2598 rm -f conftest.$ac_ext
2603 case "x$ac_cv_prog_cc_c89" in
2605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2606 $as_echo "none needed" >&6; } ;;
2608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2609 $as_echo "unsupported" >&6; } ;;
2611 CC="$CC $ac_cv_prog_cc_c89"
2612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2613 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2615 if test "x$ac_cv_prog_cc_c89" != xno; then :
2620 ac_cpp='$CPP $CPPFLAGS'
2621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2626 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2627 if test -f "$ac_dir/install-sh"; then
2629 ac_install_sh="$ac_aux_dir/install-sh -c"
2631 elif test -f "$ac_dir/install.sh"; then
2633 ac_install_sh="$ac_aux_dir/install.sh -c"
2635 elif test -f "$ac_dir/shtool"; then
2637 ac_install_sh="$ac_aux_dir/shtool install -c"
2641 if test -z "$ac_aux_dir"; then
2642 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2645 # These three variables are undocumented and unsupported,
2646 # and are intended to be withdrawn in a future Autoconf release.
2647 # They can cause serious problems if a builder's source tree is in a directory
2648 # whose full name contains unusual characters.
2649 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2650 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2651 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2654 # Find a good install program. We prefer a C program (faster),
2655 # so one script is as good as another. But avoid the broken or
2656 # incompatible versions:
2657 # SysV /etc/install, /usr/sbin/install
2658 # SunOS /usr/etc/install
2659 # IRIX /sbin/install
2661 # AmigaOS /C/install, which installs bootblocks on floppy discs
2662 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2663 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2664 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2665 # OS/2's system install, which has a completely different semantic
2666 # ./install, which can be erroneously created by make from ./install.sh.
2667 # Reject install programs that cannot install multiple files.
2668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2669 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2670 if test -z "$INSTALL"; then
2671 if ${ac_cv_path_install+:} false; then :
2672 $as_echo_n "(cached) " >&6
2674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2678 test -z "$as_dir" && as_dir=.
2679 # Account for people who put trailing slashes in PATH elements.
2680 case $as_dir/ in #((
2681 ./ | .// | /[cC]/* | \
2682 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2683 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2686 # OSF1 and SCO ODT 3.0 have their own names for install.
2687 # Don't use installbsd from OSF since it installs stuff as root
2689 for ac_prog in ginstall scoinst install; do
2690 for ac_exec_ext in '' $ac_executable_extensions; do
2691 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2692 if test $ac_prog = install &&
2693 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2694 # AIX install. It has an incompatible calling convention.
2696 elif test $ac_prog = install &&
2697 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2698 # program-specific install script used by HP pwplus--don't use.
2701 rm -rf conftest.one conftest.two conftest.dir
2702 echo one > conftest.one
2703 echo two > conftest.two
2705 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2706 test -s conftest.one && test -s conftest.two &&
2707 test -s conftest.dir/conftest.one &&
2708 test -s conftest.dir/conftest.two
2710 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2723 rm -rf conftest.one conftest.two conftest.dir
2726 if test "${ac_cv_path_install+set}" = set; then
2727 INSTALL=$ac_cv_path_install
2729 # As a last resort, use the slow shell script. Don't cache a
2730 # value for INSTALL within a source directory, because that will
2731 # break other packages using the cache if that directory is
2732 # removed, or if the value is a relative name.
2733 INSTALL=$ac_install_sh
2736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2737 $as_echo "$INSTALL" >&6; }
2739 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2740 # It thinks the first close brace ends the variable substitution.
2741 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2743 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2745 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2747 if test -n "$ac_tool_prefix"; then
2748 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
2749 set dummy ${ac_tool_prefix}ar; ac_word=$2
2750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2751 $as_echo_n "checking for $ac_word... " >&6; }
2752 if ${ac_cv_prog_AR+:} false; then :
2753 $as_echo_n "(cached) " >&6
2755 if test -n "$AR"; then
2756 ac_cv_prog_AR="$AR" # Let the user override the test.
2758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2762 test -z "$as_dir" && as_dir=.
2763 for ac_exec_ext in '' $ac_executable_extensions; do
2764 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2765 ac_cv_prog_AR="${ac_tool_prefix}ar"
2766 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2776 if test -n "$AR"; then
2777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
2778 $as_echo "$AR" >&6; }
2780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2781 $as_echo "no" >&6; }
2786 if test -z "$ac_cv_prog_AR"; then
2788 # Extract the first word of "ar", so it can be a program name with args.
2789 set dummy ar; ac_word=$2
2790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2791 $as_echo_n "checking for $ac_word... " >&6; }
2792 if ${ac_cv_prog_ac_ct_AR+:} false; then :
2793 $as_echo_n "(cached) " >&6
2795 if test -n "$ac_ct_AR"; then
2796 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
2798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2802 test -z "$as_dir" && as_dir=.
2803 for ac_exec_ext in '' $ac_executable_extensions; do
2804 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2805 ac_cv_prog_ac_ct_AR="ar"
2806 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2815 ac_ct_AR=$ac_cv_prog_ac_ct_AR
2816 if test -n "$ac_ct_AR"; then
2817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
2818 $as_echo "$ac_ct_AR" >&6; }
2820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2821 $as_echo "no" >&6; }
2824 if test "x$ac_ct_AR" = x; then
2827 case $cross_compiling:$ac_tool_warned in
2829 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2830 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2831 ac_tool_warned=yes ;;
2839 if test -n "$ac_tool_prefix"; then
2840 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2841 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2843 $as_echo_n "checking for $ac_word... " >&6; }
2844 if ${ac_cv_prog_RANLIB+:} false; then :
2845 $as_echo_n "(cached) " >&6
2847 if test -n "$RANLIB"; then
2848 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2854 test -z "$as_dir" && as_dir=.
2855 for ac_exec_ext in '' $ac_executable_extensions; do
2856 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2857 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2858 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2867 RANLIB=$ac_cv_prog_RANLIB
2868 if test -n "$RANLIB"; then
2869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
2870 $as_echo "$RANLIB" >&6; }
2872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2873 $as_echo "no" >&6; }
2878 if test -z "$ac_cv_prog_RANLIB"; then
2879 ac_ct_RANLIB=$RANLIB
2880 # Extract the first word of "ranlib", so it can be a program name with args.
2881 set dummy ranlib; ac_word=$2
2882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2883 $as_echo_n "checking for $ac_word... " >&6; }
2884 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
2885 $as_echo_n "(cached) " >&6
2887 if test -n "$ac_ct_RANLIB"; then
2888 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2894 test -z "$as_dir" && as_dir=.
2895 for ac_exec_ext in '' $ac_executable_extensions; do
2896 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2897 ac_cv_prog_ac_ct_RANLIB="ranlib"
2898 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2907 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2908 if test -n "$ac_ct_RANLIB"; then
2909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
2910 $as_echo "$ac_ct_RANLIB" >&6; }
2912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2913 $as_echo "no" >&6; }
2916 if test "x$ac_ct_RANLIB" = x; then
2919 case $cross_compiling:$ac_tool_warned in
2921 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2922 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2923 ac_tool_warned=yes ;;
2925 RANLIB=$ac_ct_RANLIB
2928 RANLIB="$ac_cv_prog_RANLIB"
2932 # Make sure we can run config.sub.
2933 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2934 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2937 $as_echo_n "checking build system type... " >&6; }
2938 if ${ac_cv_build+:} false; then :
2939 $as_echo_n "(cached) " >&6
2941 ac_build_alias=$build_alias
2942 test "x$ac_build_alias" = x &&
2943 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2944 test "x$ac_build_alias" = x &&
2945 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2946 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2947 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2951 $as_echo "$ac_cv_build" >&6; }
2952 case $ac_cv_build in
2954 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2957 ac_save_IFS=$IFS; IFS='-'
2963 # Remember, the first character of IFS is used to create $*,
2964 # except with old shells:
2967 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2971 $as_echo_n "checking host system type... " >&6; }
2972 if ${ac_cv_host+:} false; then :
2973 $as_echo_n "(cached) " >&6
2975 if test "x$host_alias" = x; then
2976 ac_cv_host=$ac_cv_build
2978 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2979 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2984 $as_echo "$ac_cv_host" >&6; }
2987 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2990 ac_save_IFS=$IFS; IFS='-'
2996 # Remember, the first character of IFS is used to create $*,
2997 # except with old shells:
3000 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
3003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3004 $as_echo_n "checking target system type... " >&6; }
3005 if ${ac_cv_target+:} false; then :
3006 $as_echo_n "(cached) " >&6
3008 if test "x$target_alias" = x; then
3009 ac_cv_target=$ac_cv_host
3011 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3012 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3017 $as_echo "$ac_cv_target" >&6; }
3018 case $ac_cv_target in
3020 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
3022 target=$ac_cv_target
3023 ac_save_IFS=$IFS; IFS='-'
3029 # Remember, the first character of IFS is used to create $*,
3030 # except with old shells:
3033 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
3036 # The aliases save the names the user supplied, while $host etc.
3037 # will get canonicalized.
3038 test -n "$target_alias" &&
3039 test "$program_prefix$program_suffix$program_transform_name" = \
3041 program_prefix=${target_alias}-
3043 test "$program_prefix" != NONE &&
3044 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3045 # Use a double $ so make ignores it.
3046 test "$program_suffix" != NONE &&
3047 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3048 # Double any \ or $.
3049 # By default was `s
,x
,x
', remove it if useless.
3050 ac_script='s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//'
3051 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3054 ac_cpp='$CPP $CPPFLAGS'
3055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3056 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3058 if test -n "$ac_tool_prefix"; then
3059 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3060 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3062 $as_echo_n "checking for $ac_word... " >&6; }
3063 if ${ac_cv_prog_CC+:} false; then :
3064 $as_echo_n "(cached) " >&6
3066 if test -n "$CC"; then
3067 ac_cv_prog_CC="$CC" # Let the user override the test.
3069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3073 test -z "$as_dir" && as_dir=.
3074 for ac_exec_ext in '' $ac_executable_extensions; do
3075 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3076 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3077 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3087 if test -n "$CC"; then
3088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3089 $as_echo "$CC" >&6; }
3091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3092 $as_echo "no" >&6; }
3097 if test -z "$ac_cv_prog_CC"; then
3099 # Extract the first word of "gcc", so it can be a program name with args.
3100 set dummy gcc; ac_word=$2
3101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3102 $as_echo_n "checking for $ac_word... " >&6; }
3103 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3104 $as_echo_n "(cached) " >&6
3106 if test -n "$ac_ct_CC"; then
3107 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3113 test -z "$as_dir" && as_dir=.
3114 for ac_exec_ext in '' $ac_executable_extensions; do
3115 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3116 ac_cv_prog_ac_ct_CC="gcc"
3117 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3126 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3127 if test -n "$ac_ct_CC"; then
3128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3129 $as_echo "$ac_ct_CC" >&6; }
3131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3132 $as_echo "no" >&6; }
3135 if test "x$ac_ct_CC" = x; then
3138 case $cross_compiling:$ac_tool_warned in
3140 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3141 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3142 ac_tool_warned=yes ;;
3150 if test -z "$CC"; then
3151 if test -n "$ac_tool_prefix"; then
3152 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3153 set dummy ${ac_tool_prefix}cc; ac_word=$2
3154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3155 $as_echo_n "checking for $ac_word... " >&6; }
3156 if ${ac_cv_prog_CC+:} false; then :
3157 $as_echo_n "(cached) " >&6
3159 if test -n "$CC"; then
3160 ac_cv_prog_CC="$CC" # Let the user override the test.
3162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3166 test -z "$as_dir" && as_dir=.
3167 for ac_exec_ext in '' $ac_executable_extensions; do
3168 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3169 ac_cv_prog_CC="${ac_tool_prefix}cc"
3170 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3180 if test -n "$CC"; then
3181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3182 $as_echo "$CC" >&6; }
3184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3185 $as_echo "no" >&6; }
3191 if test -z "$CC"; then
3192 # Extract the first word of "cc", so it can be a program name with args.
3193 set dummy cc; ac_word=$2
3194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3195 $as_echo_n "checking for $ac_word... " >&6; }
3196 if ${ac_cv_prog_CC+:} false; then :
3197 $as_echo_n "(cached) " >&6
3199 if test -n "$CC"; then
3200 ac_cv_prog_CC="$CC" # Let the user override the test.
3203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3207 test -z "$as_dir" && as_dir=.
3208 for ac_exec_ext in '' $ac_executable_extensions; do
3209 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3210 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3211 ac_prog_rejected=yes
3215 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3222 if test $ac_prog_rejected = yes; then
3223 # We found a bogon in the path, so make sure we never use it.
3224 set dummy $ac_cv_prog_CC
3226 if test $# != 0; then
3227 # We chose a different compiler from the bogus one.
3228 # However, it has the same basename, so the bogon will be chosen
3229 # first if we set CC to just the basename; use the full file name.
3231 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3237 if test -n "$CC"; then
3238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3239 $as_echo "$CC" >&6; }
3241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3242 $as_echo "no" >&6; }
3247 if test -z "$CC"; then
3248 if test -n "$ac_tool_prefix"; then
3249 for ac_prog in cl.exe
3251 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3252 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3254 $as_echo_n "checking for $ac_word... " >&6; }
3255 if ${ac_cv_prog_CC+:} false; then :
3256 $as_echo_n "(cached) " >&6
3258 if test -n "$CC"; then
3259 ac_cv_prog_CC="$CC" # Let the user override the test.
3261 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3265 test -z "$as_dir" && as_dir=.
3266 for ac_exec_ext in '' $ac_executable_extensions; do
3267 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3268 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3269 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3279 if test -n "$CC"; then
3280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3281 $as_echo "$CC" >&6; }
3283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3284 $as_echo "no" >&6; }
3288 test -n "$CC" && break
3291 if test -z "$CC"; then
3293 for ac_prog in cl.exe
3295 # Extract the first word of "$ac_prog", so it can be a program name with args.
3296 set dummy $ac_prog; ac_word=$2
3297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3298 $as_echo_n "checking for $ac_word... " >&6; }
3299 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3300 $as_echo_n "(cached) " >&6
3302 if test -n "$ac_ct_CC"; then
3303 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3309 test -z "$as_dir" && as_dir=.
3310 for ac_exec_ext in '' $ac_executable_extensions; do
3311 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3312 ac_cv_prog_ac_ct_CC="$ac_prog"
3313 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3322 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3323 if test -n "$ac_ct_CC"; then
3324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3325 $as_echo "$ac_ct_CC" >&6; }
3327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3328 $as_echo "no" >&6; }
3332 test -n "$ac_ct_CC" && break
3335 if test "x$ac_ct_CC" = x; then
3338 case $cross_compiling:$ac_tool_warned in
3340 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3341 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3342 ac_tool_warned=yes ;;
3351 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3352 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
3353 as_fn_error $? "no acceptable C compiler found in \$PATH
3354 See \`config.log
' for more details" "$LINENO" 5; }
3356 # Provide some information about the compiler.
3357 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3360 for ac_option in --version -v -V -qversion; do
3361 { { ac_try="$ac_compiler $ac_option >&5"
3363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3364 *) ac_try_echo=$ac_try;;
3366 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3367 $as_echo "$ac_try_echo"; } >&5
3368 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3370 if test -s conftest.err; then
3372 ... rest of stderr output deleted ...
3373 10q
' conftest.err >conftest.er1
3374 cat conftest.er1 >&5
3376 rm -f conftest.er1 conftest.err
3377 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3378 test $ac_status = 0; }
3381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3382 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3383 if ${ac_cv_c_compiler_gnu+:} false; then :
3384 $as_echo_n "(cached) " >&6
3386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3387 /* end confdefs.h. */
3400 if ac_fn_c_try_compile "$LINENO"; then :
3405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3406 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3410 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3411 if test $ac_compiler_gnu = yes; then
3416 ac_test_CFLAGS=${CFLAGS+set}
3417 ac_save_CFLAGS=$CFLAGS
3418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3419 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3420 if ${ac_cv_prog_cc_g+:} false; then :
3421 $as_echo_n "(cached) " >&6
3423 ac_save_c_werror_flag=$ac_c_werror_flag
3424 ac_c_werror_flag=yes
3427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3428 /* end confdefs.h. */
3438 if ac_fn_c_try_compile "$LINENO"; then :
3442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3443 /* end confdefs.h. */
3453 if ac_fn_c_try_compile "$LINENO"; then :
3456 ac_c_werror_flag=$ac_save_c_werror_flag
3458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3459 /* end confdefs.h. */
3469 if ac_fn_c_try_compile "$LINENO"; then :
3472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3477 ac_c_werror_flag=$ac_save_c_werror_flag
3479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3480 $as_echo "$ac_cv_prog_cc_g" >&6; }
3481 if test "$ac_test_CFLAGS" = set; then
3482 CFLAGS=$ac_save_CFLAGS
3483 elif test $ac_cv_prog_cc_g = yes; then
3484 if test "$GCC" = yes; then
3490 if test "$GCC" = yes; then
3496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3497 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3498 if ${ac_cv_prog_cc_c89+:} false; then :
3499 $as_echo_n "(cached) " >&6
3501 ac_cv_prog_cc_c89=no
3503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3504 /* end confdefs.h. */
3508 /* Most of the following tests are stolen from RCS 5.7's src
/conf.sh.
*/
3509 struct buf
{ int x
; };
3510 FILE
* (*rcsopen
) (struct buf
*, struct stat
*, int
);
3511 static char
*e
(p
, i
)
3517 static char
*f
(char
* (*g
) (char
**, int
), char
**p
, ...
)
3522 s
= g
(p
, va_arg
(v
,int
));
3527 /* OSF
4.0 Compaq cc is some
sort of almost-ANSI by default. It has
3528 function prototypes and stuff
, but not
'\xHH' hex character constants.
3529 These don
't provoke an error unfortunately, instead are silently treated
3530 as 'x
'. The following induces an error, until -std is added to get
3531 proper ANSI mode. Curiously '\x00'!='x
' always comes out true, for an
3532 array size at least. It's necessary to
write '\x00'==0 to get something
3533 that
's true only with -std. */
3534 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3536 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3537 inside strings and character constants. */
3539 int xlc6_cc_array[FOO(a) == 'x
' ? 1 : -1];
3541 int test (int i, double x);
3542 struct s1 {int (*f) (int a);};
3543 struct s2 {int (*f) (double a);};
3544 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3550 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3555 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3556 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3558 CC="$ac_save_CC $ac_arg"
3559 if ac_fn_c_try_compile "$LINENO"; then :
3560 ac_cv_prog_cc_c89=$ac_arg
3562 rm -f core conftest.err conftest.$ac_objext
3563 test "x$ac_cv_prog_cc_c89" != "xno" && break
3565 rm -f conftest.$ac_ext
3570 case "x$ac_cv_prog_cc_c89" in
3572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3573 $as_echo "none needed" >&6; } ;;
3575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3576 $as_echo "unsupported" >&6; } ;;
3578 CC="$CC $ac_cv_prog_cc_c89"
3579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3580 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3582 if test "x$ac_cv_prog_cc_c89" != xno; then :
3587 ac_cpp='$CPP $CPPFLAGS'
3588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3589 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3593 ac_cpp='$CPP $CPPFLAGS'
3594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3595 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3598 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3599 # On Suns, sometimes $CPP names a directory.
3600 if test -n "$CPP" && test -d "$CPP"; then
3603 if test -z "$CPP"; then
3604 if ${ac_cv_prog_CPP+:} false; then :
3605 $as_echo_n "(cached) " >&6
3607 # Double quotes because CPP needs to be expanded
3608 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3611 for ac_c_preproc_warn_flag in '' yes
3613 # Use a header file that comes with gcc, so configuring glibc
3614 # with a fresh cross-compiler works.
3615 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3616 # <limits.h> exists even on freestanding compilers.
3617 # On the NeXT, cc -E runs the code through the compiler's parser
,
3618 # not just through cpp. "Syntax error" is here to catch this case.
3619 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3620 /* end confdefs.h. */
3622 # include <limits.h>
3624 # include <assert.h>
3628 if ac_fn_c_try_cpp
"$LINENO"; then :
3631 # Broken: fails on valid input.
3634 rm -f conftest.err conftest.i conftest.
$ac_ext
3636 # OK, works on sane cases. Now check whether nonexistent headers
3637 # can be detected and how.
3638 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3639 /* end confdefs.h. */
3640 #include <ac_nonexistent.h>
3642 if ac_fn_c_try_cpp
"$LINENO"; then :
3643 # Broken: success on invalid input.
3646 # Passes both tests.
3650 rm -f conftest.err conftest.i conftest.
$ac_ext
3653 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3654 rm -f conftest.i conftest.err conftest.
$ac_ext
3655 if $ac_preproc_ok; then :
3667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3668 $as_echo "$CPP" >&6; }
3670 for ac_c_preproc_warn_flag
in '' yes
3672 # Use a header file that comes with gcc, so configuring glibc
3673 # with a fresh cross-compiler works.
3674 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3675 # <limits.h> exists even on freestanding compilers.
3676 # On the NeXT, cc -E runs the code through the compiler's parser,
3677 # not just through cpp. "Syntax error" is here to catch this case.
3678 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3679 /* end confdefs.h. */
3681 # include <limits.h>
3683 # include <assert.h>
3687 if ac_fn_c_try_cpp
"$LINENO"; then :
3690 # Broken: fails on valid input.
3693 rm -f conftest.err conftest.i conftest.
$ac_ext
3695 # OK, works on sane cases. Now check whether nonexistent headers
3696 # can be detected and how.
3697 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3698 /* end confdefs.h. */
3699 #include <ac_nonexistent.h>
3701 if ac_fn_c_try_cpp
"$LINENO"; then :
3702 # Broken: success on invalid input.
3705 # Passes both tests.
3709 rm -f conftest.err conftest.i conftest.
$ac_ext
3712 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3713 rm -f conftest.i conftest.err conftest.
$ac_ext
3714 if $ac_preproc_ok; then :
3717 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3718 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3719 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
3720 See \`config.log' for more details" "$LINENO" 5; }
3724 ac_cpp
='$CPP $CPPFLAGS'
3725 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3726 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3727 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3732 if test -n "$ac_tool_prefix"; then
3733 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3734 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3736 $as_echo_n "checking for $ac_word... " >&6; }
3737 if ${ac_cv_prog_RANLIB+:} false
; then :
3738 $as_echo_n "(cached) " >&6
3740 if test -n "$RANLIB"; then
3741 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3743 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3747 test -z "$as_dir" && as_dir
=.
3748 for ac_exec_ext
in '' $ac_executable_extensions; do
3749 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3750 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3751 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3760 RANLIB
=$ac_cv_prog_RANLIB
3761 if test -n "$RANLIB"; then
3762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
3763 $as_echo "$RANLIB" >&6; }
3765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3766 $as_echo "no" >&6; }
3771 if test -z "$ac_cv_prog_RANLIB"; then
3772 ac_ct_RANLIB
=$RANLIB
3773 # Extract the first word of "ranlib", so it can be a program name with args.
3774 set dummy ranlib
; ac_word
=$2
3775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3776 $as_echo_n "checking for $ac_word... " >&6; }
3777 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
3778 $as_echo_n "(cached) " >&6
3780 if test -n "$ac_ct_RANLIB"; then
3781 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3783 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3787 test -z "$as_dir" && as_dir
=.
3788 for ac_exec_ext
in '' $ac_executable_extensions; do
3789 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3790 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3791 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3800 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3801 if test -n "$ac_ct_RANLIB"; then
3802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
3803 $as_echo "$ac_ct_RANLIB" >&6; }
3805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3806 $as_echo "no" >&6; }
3809 if test "x$ac_ct_RANLIB" = x
; then
3812 case $cross_compiling:$ac_tool_warned in
3814 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3815 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3816 ac_tool_warned
=yes ;;
3818 RANLIB
=$ac_ct_RANLIB
3821 RANLIB
="$ac_cv_prog_RANLIB"
3825 # Put a plausible default for CC_FOR_BUILD in Makefile.
3826 if test -z "$CC_FOR_BUILD"; then
3827 if test "x$cross_compiling" = "xno"; then
3828 CC_FOR_BUILD
='$(CC)'
3834 CFLAGS_FOR_BUILD
=${CFLAGS_FOR_BUILD-${CFLAGS}}
3837 # If a cpu ever has more than one simulator to choose from, use
3838 # --enable-sim=... to choose.
3839 # Check whether --enable-sim was given.
3840 if test "${enable_sim+set}" = set; then :
3841 enableval
=$enable_sim; case "${enableval}" in
3843 *) as_fn_error $?
"bad value ${enableval} given for --enable-sim option" "$LINENO" 5 ;;
3848 if test "${enable_sim}" != no
; then
3854 subdirs
="$subdirs aarch64"
3858 subdirs
="$subdirs arm"
3862 subdirs
="$subdirs avr"
3866 subdirs
="$subdirs bfin"
3870 subdirs
="$subdirs bpf"
3874 subdirs
="$subdirs cr16"
3877 cris-
*-* | crisv32-
*-*)
3878 subdirs
="$subdirs cris"
3882 subdirs
="$subdirs d10v"
3886 subdirs
="$subdirs frv"
3890 subdirs
="$subdirs h8300"
3894 subdirs
="$subdirs iq2000"
3898 subdirs
="$subdirs lm32"
3902 subdirs
="$subdirs m32c"
3906 subdirs
="$subdirs m32r"
3909 m68hc11-
*-*|m6811-
*-*)
3910 subdirs
="$subdirs m68hc11"
3914 subdirs
="$subdirs mcore"
3918 subdirs
="$subdirs microblaze"
3922 subdirs
="$subdirs mips"
3927 subdirs
="$subdirs mn10300"
3932 subdirs
="$subdirs moxie"
3936 subdirs
="$subdirs msp430"
3939 or1k-
*-* | or1knd-
*-*)
3940 subdirs
="$subdirs or1k"
3944 subdirs
="$subdirs pru"
3948 subdirs
="$subdirs riscv"
3952 subdirs
="$subdirs rl78"
3956 subdirs
="$subdirs rx"
3960 subdirs
="$subdirs sh"
3963 sparc-
*-rtems*|sparc-
*-elf*)
3964 subdirs
="$subdirs erc32"
3968 subdirs
="$subdirs ppc"
3972 subdirs
="$subdirs ft32"
3976 subdirs
="$subdirs v850"
3981 if test "$sim_igen" = yes; then
3982 subdirs
="$subdirs igen"
3987 ac_config_files
="$ac_config_files Makefile testsuite/Makefile"
3989 cat >confcache
<<\_ACEOF
3990 # This file is a shell script that caches the results of configure
3991 # tests run on this system so they can be shared between configure
3992 # scripts and configure runs, see configure's option --config-cache.
3993 # It is not useful on other systems. If it contains results you don't
3994 # want to keep, you may remove or edit it.
3996 # config.status only pays attention to the cache file if you give it
3997 # the --recheck option to rerun configure.
3999 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4000 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4005 # The following way of writing the cache mishandles newlines in values,
4006 # but we know of no workaround that is simple, portable, and efficient.
4007 # So, we kill variables containing newlines.
4008 # Ultrix sh set writes to stderr and can't be redirected directly,
4009 # and sets the high bit in the cache file unless we assign to the vars.
4011 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4012 eval ac_val
=\$
$ac_var
4016 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4017 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4020 _ | IFS | as_nl
) ;; #(
4021 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
4022 *) { eval $ac_var=; unset $ac_var;} ;;
4028 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4029 *${as_nl}ac_space
=\
*)
4030 # `set' does not quote correctly, so add quotes: double-quote
4031 # substitution turns \\\\ into \\, and sed turns \\ into \.
4034 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4037 # `set' quotes correctly as required by POSIX, so do not add quotes.
4038 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4047 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4049 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4051 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
4052 if test -w "$cache_file"; then
4053 if test "x$cache_file" != "x/dev/null"; then
4054 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4055 $as_echo "$as_me: updating cache $cache_file" >&6;}
4056 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
4057 cat confcache
>"$cache_file"
4059 case $cache_file in #(
4061 mv -f confcache
"$cache_file"$$
&&
4062 mv -f "$cache_file"$$
"$cache_file" ;; #(
4064 mv -f confcache
"$cache_file" ;;
4069 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4070 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4075 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
4076 # Let make expand exec_prefix.
4077 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
4079 # Transform confdefs.h into DEFS.
4080 # Protect against shell expansion while executing Makefile rules.
4081 # Protect against Makefile macro expansion.
4083 # If the first sed substitution is executed (which looks for macros that
4084 # take arguments), then branch to the quote section. Otherwise,
4085 # look for a macro that doesn't take arguments.
4095 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
4097 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
4101 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
4114 DEFS
=`sed -n "$ac_script" confdefs.h`
4120 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
4121 # 1. Remove the extension, and $U if already installed.
4122 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
4123 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
4124 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4125 # will be set to the directory where LIBOBJS objects are built.
4126 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4127 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
4131 LTLIBOBJS
=$ac_ltlibobjs
4135 : "${CONFIG_STATUS=./config.status}"
4137 ac_clean_files_save
=$ac_clean_files
4138 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
4139 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4140 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4142 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4144 # Generated by $as_me.
4145 # Run this file to recreate the current configuration.
4146 # Compiler output produced by configure, useful for debugging
4147 # configure, is in config.log if it exists.
4153 SHELL=\${CONFIG_SHELL-$SHELL}
4156 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
4157 ## -------------------- ##
4158 ## M4sh Initialization. ##
4159 ## -------------------- ##
4161 # Be more Bourne compatible
4162 DUALCASE
=1; export DUALCASE
# for MKS sh
4163 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
4166 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4167 # is contrary to our usage. Disable this feature.
4168 alias -g '${1+"$@"}'='"$@"'
4169 setopt NO_GLOB_SUBST
4171 case `(set -o) 2>/dev/null` in #(
4183 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4184 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4185 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4186 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4187 # Prefer a ksh shell builtin over an external printf program on Solaris,
4188 # but without wasting forks for bash or zsh.
4189 if test -z "$BASH_VERSION$ZSH_VERSION" \
4190 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4191 as_echo='print
-r --'
4192 as_echo_n='print
-rn --'
4193 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4194 as_echo='printf %s
\n'
4195 as_echo_n='printf %s
'
4197 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4198 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
4199 as_echo_n='/usr
/ucb
/echo -n'
4201 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4202 as_echo_n_body='eval
4206 expr "X$arg" : "X\\(.*\\)$as_nl";
4207 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4209 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
4211 export as_echo_n_body
4212 as_echo_n='sh
-c $as_echo_n_body as_echo
'
4215 as_echo='sh
-c $as_echo_body as_echo
'
4218 # The user is always right.
4219 if test "${PATH_SEPARATOR+set}" != set; then
4221 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4222 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4229 # We need space, tab and new line, in precisely that order. Quoting is
4230 # there to prevent editors from complaining about space-tab.
4231 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4232 # splitting by setting IFS to empty value.)
4235 # Find who we are. Look in the path if we contain no directory separator.
4238 *[\\/]* ) as_myself=$0 ;;
4239 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4243 test -z "$as_dir" && as_dir=.
4244 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4250 # We did not find ourselves, most probably we were run as `sh COMMAND'
4251 # in which case we are not to be found in the path.
4252 if test "x$as_myself" = x
; then
4255 if test ! -f "$as_myself"; then
4256 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4260 # Unset variables that we do not need and which cause bugs (e.g. in
4261 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4262 # suppresses any "Segmentation fault" message there. '((' could
4263 # trigger a bug in pdksh 5.2.14.
4264 for as_var
in BASH_ENV ENV MAIL MAILPATH
4265 do eval test x\
${$as_var+set} = xset \
4266 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
4279 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
4282 # as_fn_error STATUS ERROR [LINENO LOG_FD]
4283 # ----------------------------------------
4284 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4285 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4286 # script with STATUS, using 1 if that was 0.
4289 as_status
=$1; test $as_status -eq 0 && as_status
=1
4291 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
4292 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4294 $as_echo "$as_me: error: $2" >&2
4295 as_fn_exit
$as_status
4299 # as_fn_set_status STATUS
4300 # -----------------------
4301 # Set $? to STATUS, without forking.
4305 } # as_fn_set_status
4309 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4319 # Portably unset VAR.
4322 { eval $1=; unset $1;}
4324 as_unset
=as_fn_unset
4325 # as_fn_append VAR VALUE
4326 # ----------------------
4327 # Append the text in VALUE to the end of the definition contained in VAR. Take
4328 # advantage of any shell optimizations that allow amortized linear growth over
4329 # repeated appends, instead of the typical quadratic growth present in naive
4331 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
4332 eval 'as_fn_append ()
4343 # as_fn_arith ARG...
4344 # ------------------
4345 # Perform arithmetic evaluation on the ARGs, and store the result in the
4346 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4347 # must be portable across $(()) and expr.
4348 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
4349 eval 'as_fn_arith ()
4356 as_val
=`expr "$@" || test $? -eq 1`
4361 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
4362 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
4368 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4369 as_basename
=basename
4374 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
4380 as_me
=`$as_basename -- "$0" ||
4381 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4382 X"$0" : 'X\(//\)$' \| \
4383 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4385 sed '/^.*\/\([^/][^/]*\)\/*$/{
4399 # Avoid depending upon Character Ranges.
4400 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
4401 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4402 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
4403 as_cr_digits
='0123456789'
4404 as_cr_alnum
=$as_cr_Letters$as_cr_digits
4406 ECHO_C
= ECHO_N
= ECHO_T
=
4407 case `echo -n x` in #(((((
4409 case `echo 'xy\c'` in
4410 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
4412 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
4419 rm -f conf$$ conf$$.exe conf$$.
file
4420 if test -d conf$$.dir
; then
4421 rm -f conf$$.dir
/conf$$.
file
4424 mkdir conf$$.dir
2>/dev
/null
4426 if (echo >conf$$.
file) 2>/dev
/null
; then
4427 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
4429 # ... but there are two gotchas:
4430 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4431 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4432 # In both cases, we have to default to `cp -pR'.
4433 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
4435 elif ln conf$$.
file conf$$
2>/dev
/null
; then
4443 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
4444 rmdir conf$$.dir
2>/dev
/null
4449 # Create "$as_dir" as a directory, including parents if necessary.
4454 -*) as_dir
=.
/$as_dir;;
4456 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
4460 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4461 *) as_qdir
=$as_dir;;
4463 as_dirs
="'$as_qdir' $as_dirs"
4464 as_dir
=`$as_dirname -- "$as_dir" ||
4465 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4466 X"$as_dir" : 'X\(//\)[^/]' \| \
4467 X"$as_dir" : 'X\(//\)$' \| \
4468 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4469 $as_echo X"$as_dir" |
4470 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4487 test -d "$as_dir" && break
4489 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
4490 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
4494 if mkdir
-p .
2>/dev
/null
; then
4495 as_mkdir_p
='mkdir -p "$as_dir"'
4497 test -d .
/-p && rmdir .
/-p
4502 # as_fn_executable_p FILE
4503 # -----------------------
4504 # Test if FILE is an executable regular file.
4505 as_fn_executable_p
()
4507 test -f "$1" && test -x "$1"
4508 } # as_fn_executable_p
4510 as_executable_p
=as_fn_executable_p
4512 # Sed expression to map a string onto a valid CPP name.
4513 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4515 # Sed expression to map a string onto a valid variable name.
4516 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4520 ## ----------------------------------- ##
4521 ## Main body of $CONFIG_STATUS script. ##
4522 ## ----------------------------------- ##
4524 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
4526 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4527 # Save the log message, to keep $0 and so on meaningful, and to
4528 # report actual input values of CONFIG_FILES etc. instead of their
4529 # values after options handling.
4531 This file was extended by $as_me, which was
4532 generated by GNU Autoconf 2.69. Invocation command line was
4534 CONFIG_FILES = $CONFIG_FILES
4535 CONFIG_HEADERS = $CONFIG_HEADERS
4536 CONFIG_LINKS = $CONFIG_LINKS
4537 CONFIG_COMMANDS = $CONFIG_COMMANDS
4540 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4545 case $ac_config_files in *"
4546 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
4551 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4552 # Files that config.status was made for.
4553 config_files="$ac_config_files"
4557 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4559 \`$as_me' instantiates files and other configuration actions
4560 from templates according to the current configuration. Unless the files
4561 and actions are specified as TAGs, all are instantiated by default.
4563 Usage: $0 [OPTION]... [TAG]...
4565 -h, --help print this help, then exit
4566 -V, --version print version number and configuration settings, then exit
4567 --config print configuration, then exit
4568 -q, --quiet, --silent
4569 do not print progress messages
4570 -d, --debug don't remove temporary files
4571 --recheck update $as_me by reconfiguring in the same conditions
4572 --file=FILE[:TEMPLATE]
4573 instantiate the configuration file FILE
4575 Configuration files:
4578 Report bugs to the package provider."
4581 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4582 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4585 configured by $0, generated by GNU Autoconf 2.69,
4586 with options \\"\$ac_cs_config\\"
4588 Copyright (C) 2012 Free Software Foundation, Inc.
4589 This config.status script is free software; the Free Software Foundation
4590 gives unlimited permission to copy, distribute and modify it."
4595 test -n "\$AWK" || AWK=awk
4598 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4599 # The default lists apply if the user does not specify any file.
4605 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
4606 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
4610 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
4622 # Handling of the options.
4623 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
4625 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
4626 $as_echo "$ac_cs_version"; exit ;;
4627 --config |
--confi |
--conf |
--con |
--co |
--c )
4628 $as_echo "$ac_cs_config"; exit ;;
4629 --debug |
--debu |
--deb |
--de |
--d |
-d )
4631 --file |
--fil |
--fi |
--f )
4634 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4635 '') as_fn_error $?
"missing file argument" ;;
4637 as_fn_append CONFIG_FILES
" '$ac_optarg'"
4638 ac_need_defaults
=false
;;
4639 --he |
--h |
--help |
--hel |
-h )
4640 $as_echo "$ac_cs_usage"; exit ;;
4641 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
4642 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
4646 -*) as_fn_error $?
"unrecognized option: \`$1'
4647 Try \`$0 --help' for more information." ;;
4649 *) as_fn_append ac_config_targets
" $1"
4650 ac_need_defaults
=false
;;
4656 ac_configure_extra_args
=
4658 if $ac_cs_silent; then
4660 ac_configure_extra_args
="$ac_configure_extra_args --silent"
4664 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4665 if \$ac_cs_recheck; then
4666 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4668 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4669 CONFIG_SHELL='$SHELL'
4675 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4679 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4680 ## Running $as_me. ##
4686 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4689 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4691 # Handling of arguments.
4692 for ac_config_target
in $ac_config_targets
4694 case $ac_config_target in
4695 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
4696 "testsuite/Makefile") CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
4698 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4703 # If the user did not use the arguments to specify the items to instantiate,
4704 # then the envvar interface is used. Set only those that are not.
4705 # We use the long form for the default assignment because of an extremely
4706 # bizarre bug on SunOS 4.1.3.
4707 if $ac_need_defaults; then
4708 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
4711 # Have a temporary directory for convenience. Make it in the build tree
4712 # simply because there is no reason against having it here, and in addition,
4713 # creating and moving files from /tmp can sometimes cause problems.
4714 # Hook for its removal unless debugging.
4715 # Note that there is a small window in which the directory will not be cleaned:
4716 # after its creation but before its name has been assigned to `$tmp'.
4720 trap 'exit_status=$?
4722 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
4724 trap 'as_fn_exit 1' 1 2 13 15
4726 # Create a (secure) tmp directory for tmp files.
4729 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4733 tmp
=.
/conf$$
-$RANDOM
4734 (umask 077 && mkdir
"$tmp")
4735 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
4738 # Set up the scripts for CONFIG_FILES section.
4739 # No need to generate them if there are no CONFIG_FILES.
4740 # This happens for instance with `./config.status config.h'.
4741 if test -n "$CONFIG_FILES"; then
4744 ac_cr
=`echo X | tr X '\015'`
4745 # On cygwin, bash can eat \r inside `` if the user requested igncr.
4746 # But we know of no other shell where ac_cr would be empty at this
4747 # point, so we can use a bashism as a fallback.
4748 if test "x$ac_cr" = x
; then
4749 eval ac_cr
=\$
\'\\r
\'
4751 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4752 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4758 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
4763 echo "cat >conf$$subs.awk <<_ACEOF" &&
4764 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4767 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
4768 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
4770 for ac_last_try in false false false false false :; do
4771 . ./conf$$subs.sh ||
4772 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
4774 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
4775 if test $ac_delim_n = $ac_delim_num; then
4777 elif $ac_last_try; then
4778 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
4780 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
4785 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4786 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
4790 s/^/S["/; s
/!.
*/"]=/
4800 s/\(.\{148\}\)..*/\1/
4802 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
4807 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
4814 s/\(.\{148\}\)..*/\1/
4816 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
4820 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
4825 ' <conf$$subs.awk | sed '
4830 ' >>$CONFIG_STATUS || ac_write_fail=1
4831 rm -f conf$$subs.awk
4832 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4834 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
4835 for (key in S) S_is_set[key] = 1
4841 nfields = split(line, field, "@
")
4843 len = length(field[1])
4844 for (i = 2; i < nfields; i++) {
4846 keylen = length(key)
4847 if (S_is_set[key]) {
4849 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4850 len += length(value) + length(field[++i])
4861 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4862 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4863 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
4866 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
4867 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
4870 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
4871 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
4872 # trailing colons and then remove the whole line if VPATH becomes empty
4873 # (actually we leave an empty line to preserve line numbers).
4874 if test "x
$srcdir" = x.; then
4875 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
4893 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4894 fi # test -n "$CONFIG_FILES"
4897 eval set X " :F
$CONFIG_FILES "
4902 :[FHLC]) ac_mode=$ac_tag; continue;;
4904 case $ac_mode$ac_tag in
4906 :L* | :C*:*) as_fn_error $? "invalid tag \
`$ac_tag'" "$LINENO" 5;;
4907 :[FH]-) ac_tag=-:-;;
4908 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4925 -) ac_f="$ac_tmp/stdin";;
4926 *) # Look for the file first in the build tree, then in the source tree
4927 # (if the path is not absolute). The absolute path cannot be DOS-style,
4928 # because $ac_f cannot contain `:'.
4932 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4934 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4936 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
4937 as_fn_append ac_file_inputs " '$ac_f'"
4940 # Let's still pretend it is `configure' which instantiates (i.e., don't
4941 # use $as_me), people would be surprised to read:
4942 # /* config.h. Generated by config.status. */
4943 configure_input='Generated from '`
4944 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4946 if test x"$ac_file" != x-; then
4947 configure_input="$ac_file.
$configure_input"
4948 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
4949 $as_echo "$as_me: creating
$ac_file" >&6;}
4951 # Neutralize special characters interpreted by sed in replacement strings.
4952 case $configure_input in #(
4953 *\&* | *\|* | *\\* )
4954 ac_sed_conf_input=`$as_echo "$configure_input" |
4955 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4956 *) ac_sed_conf_input=$configure_input;;
4960 *:-:* | *:-) cat >"$ac_tmp/stdin
" \
4961 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5 ;;
4966 ac_dir=`$as_dirname -- "$ac_file" ||
4967 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4968 X"$ac_file" : 'X\(//\)[^/]' \| \
4969 X"$ac_file" : 'X\(//\)$' \| \
4970 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4971 $as_echo X"$ac_file" |
4972 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4989 as_dir="$ac_dir"; as_fn_mkdir_p
4993 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4995 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4996 # A "..
" for each directory in $ac_dir_suffix.
4997 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4998 case $ac_top_builddir_sub in
4999 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5000 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5003 ac_abs_top_builddir=$ac_pwd
5004 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5005 # for backward compatibility:
5006 ac_top_builddir=$ac_top_build_prefix
5009 .) # We are building in place.
5011 ac_top_srcdir=$ac_top_builddir_sub
5012 ac_abs_top_srcdir=$ac_pwd ;;
5013 [\\/]* | ?:[\\/]* ) # Absolute name.
5014 ac_srcdir=$srcdir$ac_dir_suffix;
5015 ac_top_srcdir=$srcdir
5016 ac_abs_top_srcdir=$srcdir ;;
5018 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5019 ac_top_srcdir=$ac_top_build_prefix$srcdir
5020 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5022 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5032 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5033 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5037 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5038 # If the template does not know about datarootdir, expand it.
5039 # FIXME: This hack should be removed a few years after 2.60.
5040 ac_datarootdir_hack=; ac_datarootdir_seen=
5051 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
5052 *datarootdir*) ac_datarootdir_seen=yes;;
5053 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5054 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
5055 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
5057 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5058 ac_datarootdir_hack='
5059 s&@datadir@&$datadir&g
5060 s&@docdir@&$docdir&g
5061 s&@infodir@&$infodir&g
5062 s&@localedir@&$localedir&g
5063 s&@mandir@&$mandir&g
5064 s&\\\${datarootdir}&$datarootdir&g' ;;
5068 # Neutralize VPATH when `$srcdir' = `.'.
5069 # Shell code in configure.ac might set extrasub.
5070 # FIXME: do we really want to maintain this feature?
5071 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5072 ac_sed_extra="$ac_vpsub
5075 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5077 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
5078 s|@configure_input@|
$ac_sed_conf_input|
;t t
5079 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
5080 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
5081 s
&@srcdir@
&$ac_srcdir&;t t
5082 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
5083 s
&@top_srcdir@
&$ac_top_srcdir&;t t
5084 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
5085 s
&@builddir@
&$ac_builddir&;t t
5086 s
&@abs_builddir@
&$ac_abs_builddir&;t t
5087 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
5088 s
&@INSTALL@
&$ac_INSTALL&;t t
5089 $ac_datarootdir_hack
5091 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
5092 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
5094 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5095 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
5096 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
5097 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
5098 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
5099 which seems to be undefined. Please make sure it is defined" >&5
5100 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
5101 which seems to be undefined. Please make sure it is defined" >&2;}
5103 rm -f "$ac_tmp/stdin"
5105 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5106 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5108 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5120 ac_clean_files=$ac_clean_files_save
5122 test $ac_write_fail = 0 ||
5123 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5126 # configure is writing to config.log, and then calls config.status.
5127 # config.status does its own redirection, appending to config.log.
5128 # Unfortunately, on DOS this fails, as config.log is still kept open
5129 # by configure, so config.status won't be able to
write to it
; its
5130 # output is simply discarded. So we exec the FD to /dev/null,
5131 # effectively closing config.log, so it can be properly (re)opened and
5132 # appended to by config.status. When coming back to configure, we
5133 # need to make the FD available again.
5134 if test "$no_create" != yes; then
5136 ac_config_status_args
=
5137 test "$silent" = yes &&
5138 ac_config_status_args
="$ac_config_status_args --quiet"
5140 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
5142 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5143 # would make configure fail if this is the last instruction.
5144 $ac_cs_success || as_fn_exit
1
5148 # CONFIG_SUBDIRS section.
5150 if test "$no_recursion" != yes; then
5152 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
5153 # so they do not pile up.
5154 ac_sub_configure_args
=
5156 eval "set x $ac_configure_args"
5160 if test -n "$ac_prev"; then
5165 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
5166 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
5167 ac_prev
=cache_file
;;
5168 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
5169 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
5172 --config-cache |
-C)
5174 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
5176 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
5178 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
5180 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
5182 --disable-option-checking)
5186 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
5188 as_fn_append ac_sub_configure_args
" '$ac_arg'" ;;
5192 # Always prepend --prefix to ensure using the same prefix
5193 # in subdir configurations.
5194 ac_arg
="--prefix=$prefix"
5196 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
5198 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
5201 if test "$silent" = yes; then
5202 ac_sub_configure_args
="--silent $ac_sub_configure_args"
5205 # Always prepend --disable-option-checking to silence warnings, since
5206 # different subdirs can have different --enable and --with options.
5207 ac_sub_configure_args
="--disable-option-checking $ac_sub_configure_args"
5210 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
5212 # Do not complain, so a configure script can configure whichever
5213 # parts of a large source tree are present.
5214 test -d "$srcdir/$ac_dir" ||
continue
5216 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
5217 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
5218 $as_echo "$ac_msg" >&6
5219 as_dir
="$ac_dir"; as_fn_mkdir_p
5223 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
5225 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5226 # A ".." for each directory in $ac_dir_suffix.
5227 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5228 case $ac_top_builddir_sub in
5229 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
5230 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
5233 ac_abs_top_builddir
=$ac_pwd
5234 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
5235 # for backward compatibility:
5236 ac_top_builddir
=$ac_top_build_prefix
5239 .
) # We are building in place.
5241 ac_top_srcdir
=$ac_top_builddir_sub
5242 ac_abs_top_srcdir
=$ac_pwd ;;
5243 [\\/]* | ?
:[\\/]* ) # Absolute name.
5244 ac_srcdir
=$srcdir$ac_dir_suffix;
5245 ac_top_srcdir
=$srcdir
5246 ac_abs_top_srcdir
=$srcdir ;;
5248 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
5249 ac_top_srcdir
=$ac_top_build_prefix$srcdir
5250 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
5252 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
5257 # Check for guested configure; otherwise get Cygnus style configure.
5258 if test -f "$ac_srcdir/configure.gnu"; then
5259 ac_sub_configure
=$ac_srcdir/configure.gnu
5260 elif test -f "$ac_srcdir/configure"; then
5261 ac_sub_configure
=$ac_srcdir/configure
5262 elif test -f "$ac_srcdir/configure.in"; then
5263 # This should be Cygnus configure.
5264 ac_sub_configure
=$ac_aux_dir/configure
5266 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
5267 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
5271 # The recursion is here.
5272 if test -n "$ac_sub_configure"; then
5273 # Make the cache file name correct relative to the subdirectory.
5275 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
5277 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
5280 { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
5281 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
5282 # The eval makes quoting arguments work.
5283 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
5284 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
5285 as_fn_error $?
"$ac_sub_configure failed for $ac_dir" "$LINENO" 5
5291 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
5292 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5293 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}