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
645 program_transform_name
658 enable_option_checking
661 ac_precious_vars
='build_alias
670 ac_subdirs_all
='aarch64
702 # Initialize some variables set by options.
704 ac_init_version
=false
705 ac_unrecognized_opts
=
707 # The variables have the same names as the options, with
708 # dashes changed to underlines.
716 program_transform_name
=s
,x
,x
,
724 # Installation directory options.
725 # These are left unexpanded so users can "make install exec_prefix=/foo"
726 # and all the variables that are supposed to be based on exec_prefix
727 # by default will actually change.
728 # Use braces instead of parens because sh, perl, etc. also accept them.
729 # (The list follows the same order as the GNU Coding Standards.)
730 bindir
='${exec_prefix}/bin'
731 sbindir
='${exec_prefix}/sbin'
732 libexecdir
='${exec_prefix}/libexec'
733 datarootdir
='${prefix}/share'
734 datadir
='${datarootdir}'
735 sysconfdir
='${prefix}/etc'
736 sharedstatedir
='${prefix}/com'
737 localstatedir
='${prefix}/var'
738 includedir
='${prefix}/include'
739 oldincludedir
='/usr/include'
740 docdir
='${datarootdir}/doc/${PACKAGE}'
741 infodir
='${datarootdir}/info'
746 libdir
='${exec_prefix}/lib'
747 localedir
='${datarootdir}/locale'
748 mandir
='${datarootdir}/man'
754 # If the previous option needs an argument, assign it.
755 if test -n "$ac_prev"; then
756 eval $ac_prev=\
$ac_option
762 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
767 # Accept the important Cygnus configure options, so we can diagnose typos.
769 case $ac_dashdash$ac_option in
773 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
775 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
778 -build |
--build |
--buil |
--bui |
--bu)
779 ac_prev
=build_alias
;;
780 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
781 build_alias
=$ac_optarg ;;
783 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
784 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
785 ac_prev
=cache_file
;;
786 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
787 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
788 cache_file
=$ac_optarg ;;
791 cache_file
=config.cache
;;
793 -datadir |
--datadir |
--datadi |
--datad)
795 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
796 datadir
=$ac_optarg ;;
798 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
799 |
--dataroo |
--dataro |
--datar)
800 ac_prev
=datarootdir
;;
801 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
802 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
803 datarootdir
=$ac_optarg ;;
805 -disable-* |
--disable-*)
806 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
807 # Reject names that are not valid shell variable names.
808 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
809 as_fn_error $?
"invalid feature name: $ac_useropt"
810 ac_useropt_orig
=$ac_useropt
811 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
812 case $ac_user_opts in
816 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
817 ac_unrecognized_sep
=', ';;
819 eval enable_
$ac_useropt=no
;;
821 -docdir |
--docdir |
--docdi |
--doc |
--do)
823 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
826 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
828 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
831 -enable-* |
--enable-*)
832 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
833 # Reject names that are not valid shell variable names.
834 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
835 as_fn_error $?
"invalid feature name: $ac_useropt"
836 ac_useropt_orig
=$ac_useropt
837 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
838 case $ac_user_opts in
842 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
843 ac_unrecognized_sep
=', ';;
845 eval enable_
$ac_useropt=\
$ac_optarg ;;
847 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
848 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
849 |
--exec |
--exe |
--ex)
850 ac_prev
=exec_prefix
;;
851 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
852 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
853 |
--exec=* |
--exe=* |
--ex=*)
854 exec_prefix
=$ac_optarg ;;
856 -gas |
--gas |
--ga |
--g)
857 # Obsolete; use --with-gas.
860 -help |
--help |
--hel |
--he |
-h)
862 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
863 ac_init_help
=recursive
;;
864 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
865 ac_init_help
=short
;;
867 -host |
--host |
--hos |
--ho)
868 ac_prev
=host_alias
;;
869 -host=* |
--host=* |
--hos=* |
--ho=*)
870 host_alias
=$ac_optarg ;;
872 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
874 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
876 htmldir
=$ac_optarg ;;
878 -includedir |
--includedir |
--includedi |
--included |
--include \
879 |
--includ |
--inclu |
--incl |
--inc)
880 ac_prev
=includedir
;;
881 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
882 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
883 includedir
=$ac_optarg ;;
885 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
887 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
888 infodir
=$ac_optarg ;;
890 -libdir |
--libdir |
--libdi |
--libd)
892 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
895 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
896 |
--libexe |
--libex |
--libe)
897 ac_prev
=libexecdir
;;
898 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
899 |
--libexe=* |
--libex=* |
--libe=*)
900 libexecdir
=$ac_optarg ;;
902 -localedir |
--localedir |
--localedi |
--localed |
--locale)
904 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
905 localedir
=$ac_optarg ;;
907 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
908 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
909 ac_prev
=localstatedir
;;
910 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
911 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
912 localstatedir
=$ac_optarg ;;
914 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
916 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
920 # Obsolete; use --without-fp.
923 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
924 |
--no-cr |
--no-c |
-n)
927 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
928 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
931 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
932 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
933 |
--oldin |
--oldi |
--old |
--ol |
--o)
934 ac_prev
=oldincludedir
;;
935 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
936 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
937 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
938 oldincludedir
=$ac_optarg ;;
940 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
942 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
945 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
946 |
--program-pre |
--program-pr |
--program-p)
947 ac_prev
=program_prefix
;;
948 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
949 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
950 program_prefix
=$ac_optarg ;;
952 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
953 |
--program-suf |
--program-su |
--program-s)
954 ac_prev
=program_suffix
;;
955 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
956 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
957 program_suffix
=$ac_optarg ;;
959 -program-transform-name |
--program-transform-name \
960 |
--program-transform-nam |
--program-transform-na \
961 |
--program-transform-n |
--program-transform- \
962 |
--program-transform |
--program-transfor \
963 |
--program-transfo |
--program-transf \
964 |
--program-trans |
--program-tran \
965 |
--progr-tra |
--program-tr |
--program-t)
966 ac_prev
=program_transform_name
;;
967 -program-transform-name=* |
--program-transform-name=* \
968 |
--program-transform-nam=* |
--program-transform-na=* \
969 |
--program-transform-n=* |
--program-transform-=* \
970 |
--program-transform=* |
--program-transfor=* \
971 |
--program-transfo=* |
--program-transf=* \
972 |
--program-trans=* |
--program-tran=* \
973 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
974 program_transform_name
=$ac_optarg ;;
976 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
978 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
981 -psdir |
--psdir |
--psdi |
--psd |
--ps)
983 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
986 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
987 |
-silent |
--silent |
--silen |
--sile |
--sil)
990 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
992 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
994 sbindir
=$ac_optarg ;;
996 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
997 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
998 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1000 ac_prev
=sharedstatedir
;;
1001 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1002 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1003 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1005 sharedstatedir
=$ac_optarg ;;
1007 -site |
--site |
--sit)
1009 -site=* |
--site=* |
--sit=*)
1012 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1014 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1015 srcdir
=$ac_optarg ;;
1017 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1018 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1019 ac_prev
=sysconfdir
;;
1020 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1021 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1022 sysconfdir
=$ac_optarg ;;
1024 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1025 ac_prev
=target_alias
;;
1026 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1027 target_alias
=$ac_optarg ;;
1029 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1032 -version |
--version |
--versio |
--versi |
--vers |
-V)
1033 ac_init_version
=: ;;
1036 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1037 # Reject names that are not valid shell variable names.
1038 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1039 as_fn_error $?
"invalid package name: $ac_useropt"
1040 ac_useropt_orig
=$ac_useropt
1041 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1042 case $ac_user_opts in
1046 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1047 ac_unrecognized_sep
=', ';;
1049 eval with_
$ac_useropt=\
$ac_optarg ;;
1051 -without-* |
--without-*)
1052 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1053 # Reject names that are not valid shell variable names.
1054 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1055 as_fn_error $?
"invalid package name: $ac_useropt"
1056 ac_useropt_orig
=$ac_useropt
1057 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1058 case $ac_user_opts in
1062 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1063 ac_unrecognized_sep
=', ';;
1065 eval with_
$ac_useropt=no
;;
1068 # Obsolete; use --with-x.
1071 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1072 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1073 ac_prev
=x_includes
;;
1074 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1075 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1076 x_includes
=$ac_optarg ;;
1078 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1079 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1080 ac_prev
=x_libraries
;;
1081 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1082 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1083 x_libraries
=$ac_optarg ;;
1085 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1086 Try \`$0 --help' for more information"
1090 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1091 # Reject names that are not valid shell variable names.
1092 case $ac_envvar in #(
1093 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1094 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1096 eval $ac_envvar=\
$ac_optarg
1097 export $ac_envvar ;;
1100 # FIXME: should be removed in autoconf 3.0.
1101 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1102 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1103 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1104 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1110 if test -n "$ac_prev"; then
1111 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1112 as_fn_error $?
"missing argument to $ac_option"
1115 if test -n "$ac_unrecognized_opts"; then
1116 case $enable_option_checking in
1118 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1119 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1123 # Check all directory arguments for consistency.
1124 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1125 datadir sysconfdir sharedstatedir localstatedir includedir \
1126 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1127 libdir localedir mandir
1129 eval ac_val
=\$
$ac_var
1130 # Remove trailing slashes.
1133 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1134 eval $ac_var=\
$ac_val;;
1136 # Be sure to have absolute directory names.
1138 [\\/$
]* | ?
:[\\/]* ) continue;;
1139 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1141 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1144 # There might be people who depend on the old broken behavior: `$host'
1145 # used to hold the argument of --host etc.
1146 # FIXME: To remove some day.
1149 target
=$target_alias
1151 # FIXME: To remove some day.
1152 if test "x$host_alias" != x
; then
1153 if test "x$build_alias" = x
; then
1154 cross_compiling
=maybe
1155 elif test "x$build_alias" != "x$host_alias"; then
1161 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1163 test "$silent" = yes && exec 6>/dev
/null
1166 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1167 ac_ls_di
=`ls -di .` &&
1168 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1169 as_fn_error $?
"working directory cannot be determined"
1170 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1171 as_fn_error $?
"pwd does not report name of working directory"
1174 # Find the source files, if location was not specified.
1175 if test -z "$srcdir"; then
1176 ac_srcdir_defaulted
=yes
1177 # Try the directory containing this script, then the parent directory.
1178 ac_confdir
=`$as_dirname -- "$as_myself" ||
1179 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1180 X"$as_myself" : 'X\(//\)[^/]' \| \
1181 X"$as_myself" : 'X\(//\)$' \| \
1182 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1183 $as_echo X"$as_myself" |
1184 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1202 if test ! -r "$srcdir/$ac_unique_file"; then
1206 ac_srcdir_defaulted
=no
1208 if test ! -r "$srcdir/$ac_unique_file"; then
1209 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1210 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1212 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1214 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1216 # When building in place, set srcdir=.
1217 if test "$ac_abs_confdir" = "$ac_pwd"; then
1220 # Remove unnecessary trailing slashes from srcdir.
1221 # Double slashes in file names in object file debugging info
1222 # mess up M-x gdb in Emacs.
1224 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1226 for ac_var
in $ac_precious_vars; do
1227 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1228 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1229 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1230 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1234 # Report the --help message.
1236 if test "$ac_init_help" = "long"; then
1237 # Omit some internal or obsolete options to make the list less imposing.
1238 # This message is too long to be a string in the A/UX 3.1 sh.
1240 \`configure' configures this package to adapt to many kinds of systems.
1242 Usage: $0 [OPTION]... [VAR=VALUE]...
1244 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1245 VAR=VALUE. See below for descriptions of some of the useful variables.
1247 Defaults for the options are specified in brackets.
1250 -h, --help display this help and exit
1251 --help=short display options specific to this package
1252 --help=recursive display the short help of all the included packages
1253 -V, --version display version information and exit
1254 -q, --quiet, --silent do not print \`checking ...' messages
1255 --cache-file=FILE cache test results in FILE [disabled]
1256 -C, --config-cache alias for \`--cache-file=config.cache'
1257 -n, --no-create do not create output files
1258 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1260 Installation directories:
1261 --prefix=PREFIX install architecture-independent files in PREFIX
1262 [$ac_default_prefix]
1263 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1266 By default, \`make install' will install all the files in
1267 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1268 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1269 for instance \`--prefix=\$HOME'.
1271 For better control, use the options below.
1273 Fine tuning of the installation directories:
1274 --bindir=DIR user executables [EPREFIX/bin]
1275 --sbindir=DIR system admin executables [EPREFIX/sbin]
1276 --libexecdir=DIR program executables [EPREFIX/libexec]
1277 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1278 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1279 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1280 --libdir=DIR object code libraries [EPREFIX/lib]
1281 --includedir=DIR C header files [PREFIX/include]
1282 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1283 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1284 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1285 --infodir=DIR info documentation [DATAROOTDIR/info]
1286 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1287 --mandir=DIR man documentation [DATAROOTDIR/man]
1288 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1289 --htmldir=DIR html documentation [DOCDIR]
1290 --dvidir=DIR dvi documentation [DOCDIR]
1291 --pdfdir=DIR pdf documentation [DOCDIR]
1292 --psdir=DIR ps documentation [DOCDIR]
1298 --program-prefix=PREFIX prepend PREFIX to installed program names
1299 --program-suffix=SUFFIX append SUFFIX to installed program names
1300 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1303 --build=BUILD configure
for building on BUILD
[guessed
]
1304 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1305 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1309 if test -n "$ac_init_help"; then
1314 --disable-option-checking ignore unrecognized
--enable/--with options
1315 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1316 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1317 --enable-sim Enable the GNU simulator
1319 Some influential environment variables
:
1320 CC C compiler
command
1321 CFLAGS C compiler flags
1322 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1323 nonstandard directory
<lib dir
>
1324 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1325 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1326 you have headers
in a nonstandard directory
<include dir
>
1329 Use these variables to override the choices made by
`configure' or to help
1330 it to find libraries and programs with nonstandard names/locations.
1332 Report bugs to the package provider.
1337 if test "$ac_init_help" = "recursive"; then
1338 # If there are subdirs, report their specific --help.
1339 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1340 test -d "$ac_dir" ||
1341 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1346 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1348 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1349 # A ".." for each directory in $ac_dir_suffix.
1350 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1351 case $ac_top_builddir_sub in
1352 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1353 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1356 ac_abs_top_builddir=$ac_pwd
1357 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1358 # for backward compatibility:
1359 ac_top_builddir=$ac_top_build_prefix
1362 .) # We are building in place.
1364 ac_top_srcdir=$ac_top_builddir_sub
1365 ac_abs_top_srcdir=$ac_pwd ;;
1366 [\\/]* | ?:[\\/]* ) # Absolute name.
1367 ac_srcdir=$srcdir$ac_dir_suffix;
1368 ac_top_srcdir=$srcdir
1369 ac_abs_top_srcdir=$srcdir ;;
1371 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1372 ac_top_srcdir=$ac_top_build_prefix$srcdir
1373 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1375 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1377 cd "$ac_dir" || { ac_status=$?; continue; }
1378 # Check for guested configure.
1379 if test -f "$ac_srcdir/configure.gnu"; then
1381 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1382 elif test -f "$ac_srcdir/configure"; then
1384 $SHELL "$ac_srcdir/configure" --help=recursive
1386 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1388 cd "$ac_pwd" || { ac_status=$?; break; }
1392 test -n "$ac_init_help" && exit $ac_status
1393 if $ac_init_version; then
1396 generated by GNU Autoconf 2.69
1398 Copyright (C) 2012 Free Software Foundation, Inc.
1399 This configure script is free software; the Free Software Foundation
1400 gives unlimited permission to copy, distribute and modify it.
1405 ## ------------------------ ##
1406 ## Autoconf initialization. ##
1407 ## ------------------------ ##
1409 # ac_fn_c_try_compile LINENO
1410 # --------------------------
1411 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1412 ac_fn_c_try_compile ()
1414 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1415 rm -f conftest.$ac_objext
1416 if { { ac_try="$ac_compile"
1418 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1419 *) ac_try_echo
=$ac_try;;
1421 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1422 $as_echo "$ac_try_echo"; } >&5
1423 (eval "$ac_compile") 2>conftest.err
1425 if test -s conftest.err
; then
1426 grep -v '^ *+' conftest.err
>conftest.er1
1427 cat conftest.er1
>&5
1428 mv -f conftest.er1 conftest.err
1430 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1431 test $ac_status = 0; } && {
1432 test -z "$ac_c_werror_flag" ||
1433 test ! -s conftest.err
1434 } && test -s conftest.
$ac_objext; then :
1437 $as_echo "$as_me: failed program was:" >&5
1438 sed 's/^/| /' conftest.
$ac_ext >&5
1442 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1443 as_fn_set_status
$ac_retval
1445 } # ac_fn_c_try_compile
1447 # ac_fn_c_try_cpp LINENO
1448 # ----------------------
1449 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1452 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1453 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1455 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1456 *) ac_try_echo=$ac_try;;
1458 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1459 $as_echo "$ac_try_echo"; } >&5
1460 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1462 if test -s conftest.err; then
1463 grep -v '^ *+' conftest.err >conftest.er1
1464 cat conftest.er1 >&5
1465 mv -f conftest.er1 conftest.err
1467 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1468 test $ac_status = 0; } > conftest.i && {
1469 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1470 test ! -s conftest.err
1474 $as_echo "$as_me: failed program was:" >&5
1475 sed 's/^/| /' conftest.$ac_ext >&5
1479 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1480 as_fn_set_status $ac_retval
1483 cat >config.log <<_ACEOF
1484 This file contains any messages produced by compilers while
1485 running configure, to aid debugging if configure makes a mistake.
1487 It was created by $as_me, which was
1488 generated by GNU Autoconf 2.69. Invocation command line was
1500 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1501 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1502 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1503 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1504 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1506 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1507 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1509 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1510 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1511 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1512 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1513 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1514 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1515 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1519 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1523 test -z "$as_dir" && as_dir=.
1524 $as_echo "PATH: $as_dir"
1540 # Keep a trace of the command line.
1541 # Strip out --no-create and --no-recursion so they do not pile up.
1542 # Strip out --silent because we don't want to record it for future runs.
1543 # Also quote any args containing shell meta-characters.
1544 # Make two passes to allow for proper duplicate-argument suppression.
1548 ac_must_keep_next=false
1554 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1555 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1556 | -silent | --silent | --silen | --sile | --sil)
1559 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1562 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1564 as_fn_append ac_configure_args1 " '$ac_arg'"
1565 if test $ac_must_keep_next = true; then
1566 ac_must_keep_next=false # Got value, back to normal.
1569 *=* | --config-cache | -C | -disable-* | --disable-* \
1570 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1571 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1572 | -with-* | --with-* | -without-* | --without-* | --x)
1573 case "$ac_configure_args0 " in
1574 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1577 -* ) ac_must_keep_next=true ;;
1580 as_fn_append ac_configure_args " '$ac_arg'"
1585 { ac_configure_args0=; unset ac_configure_args0;}
1586 { ac_configure_args1=; unset ac_configure_args1;}
1588 # When interrupted or exit'd, cleanup temporary files, and complete
1589 # config.log. We remove comments because anyway the quotes in there
1590 # would cause problems or look ugly.
1591 # WARNING: Use '\'' to represent an apostrophe within the trap.
1592 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1593 trap 'exit_status=$?
1594 # Save into config.log some information that might help in debugging.
1598 $as_echo "## ---------------- ##
1599 ## Cache variables. ##
1600 ## ---------------- ##"
1602 # The following way of writing the cache mishandles newlines in values,
1604 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1605 eval ac_val=\$$ac_var
1609 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1610 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1613 _ | IFS | as_nl) ;; #(
1614 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1615 *) { eval $ac_var=; unset $ac_var;} ;;
1620 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1621 *${as_nl}ac_space=\ *)
1623 "s/'\''/'\''\\\\'\'''\''/g;
1624 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1627 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1634 $as_echo "## ----------------- ##
1635 ## Output variables. ##
1636 ## ----------------- ##"
1638 for ac_var in $ac_subst_vars
1640 eval ac_val=\$$ac_var
1642 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1644 $as_echo "$ac_var='\''$ac_val'\''"
1648 if test -n "$ac_subst_files"; then
1649 $as_echo "## ------------------- ##
1650 ## File substitutions. ##
1651 ## ------------------- ##"
1653 for ac_var in $ac_subst_files
1655 eval ac_val=\$$ac_var
1657 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1659 $as_echo "$ac_var='\''$ac_val'\''"
1664 if test -s confdefs.h; then
1665 $as_echo "## ----------- ##
1672 test "$ac_signal" != 0 &&
1673 $as_echo "$as_me: caught signal $ac_signal"
1674 $as_echo "$as_me: exit $exit_status"
1676 rm -f core *.core core.conftest.* &&
1677 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1680 for ac_signal in 1 2 13 15; do
1681 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1685 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1686 rm -f -r conftest* confdefs.h
1688 $as_echo "/* confdefs.h */" > confdefs.h
1690 # Predefined preprocessor variables.
1692 cat >>confdefs.h <<_ACEOF
1693 #define PACKAGE_NAME "$PACKAGE_NAME"
1696 cat >>confdefs.h <<_ACEOF
1697 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1700 cat >>confdefs.h <<_ACEOF
1701 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1704 cat >>confdefs.h <<_ACEOF
1705 #define PACKAGE_STRING "$PACKAGE_STRING"
1708 cat >>confdefs.h <<_ACEOF
1709 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1712 cat >>confdefs.h <<_ACEOF
1713 #define PACKAGE_URL "$PACKAGE_URL"
1717 # Let the site file select an alternate cache file if it wants to.
1718 # Prefer an explicitly selected file to automatically selected ones.
1721 if test -n "$CONFIG_SITE"; then
1722 # We do not want a PATH search for config.site.
1723 case $CONFIG_SITE in #((
1724 -*) ac_site_file1=./$CONFIG_SITE;;
1725 */*) ac_site_file1=$CONFIG_SITE;;
1726 *) ac_site_file1=./$CONFIG_SITE;;
1728 elif test "x$prefix" != xNONE; then
1729 ac_site_file1=$prefix/share/config.site
1730 ac_site_file2=$prefix/etc/config.site
1732 ac_site_file1=$ac_default_prefix/share/config.site
1733 ac_site_file2=$ac_default_prefix/etc/config.site
1735 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1737 test "x$ac_site_file" = xNONE && continue
1738 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1739 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1740 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1741 sed 's/^/| /' "$ac_site_file" >&5
1743 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1744 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1745 as_fn_error $? "failed to load site
script $ac_site_file
1746 See \
`config.log' for more details" "$LINENO" 5; }
1750 if test -r "$cache_file"; then
1751 # Some versions of bash will fail to source /dev/null (special files
1752 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1753 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1754 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1755 $as_echo "$as_me: loading cache $cache_file" >&6;}
1757 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1758 *) . "./$cache_file";;
1762 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1763 $as_echo "$as_me: creating cache $cache_file" >&6;}
1767 # Check that the precious variables saved in the cache have kept the same
1769 ac_cache_corrupted=false
1770 for ac_var in $ac_precious_vars; do
1771 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1772 eval ac_new_set=\$ac_env_${ac_var}_set
1773 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1774 eval ac_new_val=\$ac_env_${ac_var}_value
1775 case $ac_old_set,$ac_new_set in
1777 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1778 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1779 ac_cache_corrupted=: ;;
1781 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
1782 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1783 ac_cache_corrupted=: ;;
1786 if test "x$ac_old_val" != "x$ac_new_val"; then
1787 # differences in whitespace do not lead to failure.
1788 ac_old_val_w=`echo x
$ac_old_val`
1789 ac_new_val_w=`echo x
$ac_new_val`
1790 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1791 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1792 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1793 ac_cache_corrupted=:
1795 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
1796 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1797 eval $ac_var=\$ac_old_val
1799 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1800 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
1801 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1802 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1805 # Pass precious variables to config.status.
1806 if test "$ac_new_set" = set; then
1808 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1809 *) ac_arg=$ac_var=$ac_new_val ;;
1811 case " $ac_configure_args " in
1812 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1813 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1817 if $ac_cache_corrupted; then
1818 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
1819 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1820 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1821 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1822 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
1824 ## -------------------- ##
1825 ## Main body of script. ##
1826 ## -------------------- ##
1829 ac_cpp='$CPP $CPPFLAGS'
1830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1840 ac_cpp='$CPP $CPPFLAGS'
1841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1844 if test -n "$ac_tool_prefix"; then
1845 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1846 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1848 $as_echo_n "checking for $ac_word... " >&6; }
1849 if ${ac_cv_prog_CC+:} false; then :
1850 $as_echo_n "(cached) " >&6
1852 if test -n "$CC"; then
1853 ac_cv_prog_CC="$CC" # Let the user override the test.
1855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1859 test -z "$as_dir" && as_dir=.
1860 for ac_exec_ext in '' $ac_executable_extensions; do
1861 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1862 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1863 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1873 if test -n "$CC"; then
1874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1875 $as_echo "$CC" >&6; }
1877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1878 $as_echo "no" >&6; }
1883 if test -z "$ac_cv_prog_CC"; then
1885 # Extract the first word of "gcc", so it can be a program name with args.
1886 set dummy gcc; ac_word=$2
1887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1888 $as_echo_n "checking for $ac_word... " >&6; }
1889 if ${ac_cv_prog_ac_ct_CC+:} false; then :
1890 $as_echo_n "(cached) " >&6
1892 if test -n "$ac_ct_CC"; then
1893 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1899 test -z "$as_dir" && as_dir=.
1900 for ac_exec_ext in '' $ac_executable_extensions; do
1901 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1902 ac_cv_prog_ac_ct_CC="gcc"
1903 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1912 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1913 if test -n "$ac_ct_CC"; then
1914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
1915 $as_echo "$ac_ct_CC" >&6; }
1917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1918 $as_echo "no" >&6; }
1921 if test "x$ac_ct_CC" = x; then
1924 case $cross_compiling:$ac_tool_warned in
1926 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1927 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1928 ac_tool_warned=yes ;;
1936 if test -z "$CC"; then
1937 if test -n "$ac_tool_prefix"; then
1938 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1939 set dummy ${ac_tool_prefix}cc; ac_word=$2
1940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1941 $as_echo_n "checking for $ac_word... " >&6; }
1942 if ${ac_cv_prog_CC+:} false; then :
1943 $as_echo_n "(cached) " >&6
1945 if test -n "$CC"; then
1946 ac_cv_prog_CC="$CC" # Let the user override the test.
1948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1952 test -z "$as_dir" && as_dir=.
1953 for ac_exec_ext in '' $ac_executable_extensions; do
1954 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1955 ac_cv_prog_CC="${ac_tool_prefix}cc"
1956 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1966 if test -n "$CC"; then
1967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1968 $as_echo "$CC" >&6; }
1970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1971 $as_echo "no" >&6; }
1977 if test -z "$CC"; then
1978 # Extract the first word of "cc", so it can be a program name with args.
1979 set dummy cc; ac_word=$2
1980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1981 $as_echo_n "checking for $ac_word... " >&6; }
1982 if ${ac_cv_prog_CC+:} false; then :
1983 $as_echo_n "(cached) " >&6
1985 if test -n "$CC"; then
1986 ac_cv_prog_CC="$CC" # Let the user override the test.
1989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1993 test -z "$as_dir" && as_dir=.
1994 for ac_exec_ext in '' $ac_executable_extensions; do
1995 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1996 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1997 ac_prog_rejected=yes
2001 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2008 if test $ac_prog_rejected = yes; then
2009 # We found a bogon in the path, so make sure we never use it.
2010 set dummy $ac_cv_prog_CC
2012 if test $# != 0; then
2013 # We chose a different compiler from the bogus one.
2014 # However, it has the same basename, so the bogon will be chosen
2015 # first if we set CC to just the basename; use the full file name.
2017 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2023 if test -n "$CC"; then
2024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2025 $as_echo "$CC" >&6; }
2027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2028 $as_echo "no" >&6; }
2033 if test -z "$CC"; then
2034 if test -n "$ac_tool_prefix"; then
2035 for ac_prog in cl.exe
2037 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2038 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2040 $as_echo_n "checking for $ac_word... " >&6; }
2041 if ${ac_cv_prog_CC+:} false; then :
2042 $as_echo_n "(cached) " >&6
2044 if test -n "$CC"; then
2045 ac_cv_prog_CC="$CC" # Let the user override the test.
2047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2051 test -z "$as_dir" && as_dir=.
2052 for ac_exec_ext in '' $ac_executable_extensions; do
2053 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2054 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2055 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2065 if test -n "$CC"; then
2066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2067 $as_echo "$CC" >&6; }
2069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2070 $as_echo "no" >&6; }
2074 test -n "$CC" && break
2077 if test -z "$CC"; then
2079 for ac_prog in cl.exe
2081 # Extract the first word of "$ac_prog", so it can be a program name with args.
2082 set dummy $ac_prog; ac_word=$2
2083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2084 $as_echo_n "checking for $ac_word... " >&6; }
2085 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2086 $as_echo_n "(cached) " >&6
2088 if test -n "$ac_ct_CC"; then
2089 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2095 test -z "$as_dir" && as_dir=.
2096 for ac_exec_ext in '' $ac_executable_extensions; do
2097 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2098 ac_cv_prog_ac_ct_CC="$ac_prog"
2099 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2108 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2109 if test -n "$ac_ct_CC"; then
2110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2111 $as_echo "$ac_ct_CC" >&6; }
2113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2114 $as_echo "no" >&6; }
2118 test -n "$ac_ct_CC" && break
2121 if test "x$ac_ct_CC" = x; then
2124 case $cross_compiling:$ac_tool_warned in
2126 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2127 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2128 ac_tool_warned=yes ;;
2137 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2138 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2139 as_fn_error $? "no acceptable C compiler found
in \
$PATH
2140 See \
`config.log' for more details" "$LINENO" 5; }
2142 # Provide some information about the compiler.
2143 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2146 for ac_option in --version -v -V -qversion; do
2147 { { ac_try="$ac_compiler $ac_option >&5"
2149 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2150 *) ac_try_echo
=$ac_try;;
2152 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2153 $as_echo "$ac_try_echo"; } >&5
2154 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2156 if test -s conftest.err
; then
2158 ... rest of stderr output deleted ...
2159 10q' conftest.err
>conftest.er1
2160 cat conftest.er1
>&5
2162 rm -f conftest.er1 conftest.err
2163 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2164 test $ac_status = 0; }
2167 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2168 /* end confdefs.h. */
2178 ac_clean_files_save
=$ac_clean_files
2179 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2180 # Try to create an executable without -o first, disregard a.out.
2181 # It will help us diagnose broken compilers, and finding out an intuition
2183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2184 $as_echo_n "checking whether the C compiler works... " >&6; }
2185 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2187 # The possible output files:
2188 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2191 for ac_file
in $ac_files
2194 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2195 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
2200 if { { ac_try
="$ac_link_default"
2202 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2203 *) ac_try_echo=$ac_try;;
2205 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2206 $as_echo "$ac_try_echo"; } >&5
2207 (eval "$ac_link_default") 2>&5
2209 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2210 test $ac_status = 0; }; then :
2211 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
2212 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
2213 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2214 # so that the user can short-circuit this test for compilers unknown to
2216 for ac_file in $ac_files ''
2218 test -f "$ac_file" || continue
2220 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2223 # We found the default executable, but exeext='' is most
2227 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2229 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2231 # We set ac_cv_exeext here because the later test for it is not
2232 # safe: cross compilers may not add the suffix if given an `-o'
2233 # argument, so we may need to know it at that point already.
2234 # Even if this section looks crufty: it has the advantage of
2241 test "$ac_cv_exeext" = no && ac_cv_exeext=
2246 if test -z "$ac_file"; then :
2247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2248 $as_echo "no" >&6; }
2249 $as_echo "$as_me: failed program was:" >&5
2250 sed 's
/^
/|
/' conftest.$ac_ext >&5
2252 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2253 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
2254 as_fn_error 77 "C compiler cannot create executables
2255 See \`config.log
' for more details" "$LINENO" 5; }
2257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2258 $as_echo "yes" >&6; }
2260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2261 $as_echo_n "checking for C compiler default output file name... " >&6; }
2262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2263 $as_echo "$ac_file" >&6; }
2264 ac_exeext=$ac_cv_exeext
2266 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2267 ac_clean_files=$ac_clean_files_save
2268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2269 $as_echo_n "checking for suffix of executables... " >&6; }
2270 if { { ac_try="$ac_link"
2272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2273 *) ac_try_echo=$ac_try;;
2275 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2276 $as_echo "$ac_try_echo"; } >&5
2277 (eval "$ac_link") 2>&5
2279 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2280 test $ac_status = 0; }; then :
2281 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2282 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2283 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2285 for ac_file
in conftest.exe conftest conftest.
*; do
2286 test -f "$ac_file" ||
continue
2288 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2289 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2295 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2296 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2297 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
2298 See \`config.log' for more details" "$LINENO" 5; }
2300 rm -f conftest conftest
$ac_cv_exeext
2301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2302 $as_echo "$ac_cv_exeext" >&6; }
2304 rm -f conftest.
$ac_ext
2305 EXEEXT
=$ac_cv_exeext
2307 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2308 /* end confdefs.h. */
2313 FILE *f = fopen ("conftest.out", "w");
2314 return ferror (f) || fclose (f) != 0;
2320 ac_clean_files
="$ac_clean_files conftest.out"
2321 # Check that the compiler produces executables we can run. If not, either
2322 # the compiler is broken, or we cross compile.
2323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2324 $as_echo_n "checking whether we are cross compiling... " >&6; }
2325 if test "$cross_compiling" != yes; then
2326 { { ac_try
="$ac_link"
2328 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2329 *) ac_try_echo=$ac_try;;
2331 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2332 $as_echo "$ac_try_echo"; } >&5
2333 (eval "$ac_link") 2>&5
2335 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2336 test $ac_status = 0; }
2337 if { ac_try='./conftest$ac_cv_exeext'
2338 { { case "(($ac_try" in
2339 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2340 *) ac_try_echo
=$ac_try;;
2342 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2343 $as_echo "$ac_try_echo"; } >&5
2344 (eval "$ac_try") 2>&5
2346 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2347 test $ac_status = 0; }; }; then
2350 if test "$cross_compiling" = maybe
; then
2353 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2354 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2355 as_fn_error $?
"cannot run C compiled programs.
2356 If you meant to cross compile, use \`--host'.
2357 See \`config.log' for more details" "$LINENO" 5; }
2361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2362 $as_echo "$cross_compiling" >&6; }
2364 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
2365 ac_clean_files
=$ac_clean_files_save
2366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2367 $as_echo_n "checking for suffix of object files... " >&6; }
2368 if ${ac_cv_objext+:} false
; then :
2369 $as_echo_n "(cached) " >&6
2371 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2372 /* end confdefs.h. */
2382 rm -f conftest.o conftest.obj
2383 if { { ac_try
="$ac_compile"
2385 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2386 *) ac_try_echo=$ac_try;;
2388 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2389 $as_echo "$ac_try_echo"; } >&5
2390 (eval "$ac_compile") 2>&5
2392 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2393 test $ac_status = 0; }; then :
2394 for ac_file in conftest.o conftest.obj conftest.*; do
2395 test -f "$ac_file" || continue;
2397 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2398 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2403 $as_echo "$as_me: failed program was:" >&5
2404 sed 's/^/| /' conftest.$ac_ext >&5
2406 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2407 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2408 as_fn_error $? "cannot compute suffix of object files
: cannot compile
2409 See \
`config.log' for more details" "$LINENO" 5; }
2411 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2414 $as_echo "$ac_cv_objext" >&6; }
2415 OBJEXT=$ac_cv_objext
2417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2418 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2419 if ${ac_cv_c_compiler_gnu+:} false; then :
2420 $as_echo_n "(cached) " >&6
2422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2423 /* end confdefs.h. */
2436 if ac_fn_c_try_compile "$LINENO"; then :
2441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2442 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2446 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2447 if test $ac_compiler_gnu = yes; then
2452 ac_test_CFLAGS=${CFLAGS+set}
2453 ac_save_CFLAGS=$CFLAGS
2454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2455 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2456 if ${ac_cv_prog_cc_g+:} false; then :
2457 $as_echo_n "(cached) " >&6
2459 ac_save_c_werror_flag=$ac_c_werror_flag
2460 ac_c_werror_flag=yes
2463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2464 /* end confdefs.h. */
2474 if ac_fn_c_try_compile "$LINENO"; then :
2478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2479 /* end confdefs.h. */
2489 if ac_fn_c_try_compile "$LINENO"; then :
2492 ac_c_werror_flag=$ac_save_c_werror_flag
2494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2495 /* end confdefs.h. */
2505 if ac_fn_c_try_compile "$LINENO"; then :
2508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2513 ac_c_werror_flag=$ac_save_c_werror_flag
2515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2516 $as_echo "$ac_cv_prog_cc_g" >&6; }
2517 if test "$ac_test_CFLAGS" = set; then
2518 CFLAGS=$ac_save_CFLAGS
2519 elif test $ac_cv_prog_cc_g = yes; then
2520 if test "$GCC" = yes; then
2526 if test "$GCC" = yes; then
2532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2533 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2534 if ${ac_cv_prog_cc_c89+:} false; then :
2535 $as_echo_n "(cached) " >&6
2537 ac_cv_prog_cc_c89=no
2539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2540 /* end confdefs.h. */
2544 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2545 struct buf { int x; };
2546 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2547 static char *e (p, i)
2553 static char *f (char * (*g) (char **, int), char **p, ...)
2558 s = g (p, va_arg (v,int));
2563 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2564 function prototypes and stuff, but not '\xHH' hex character constants.
2565 These don't provoke an error unfortunately, instead are silently treated
2566 as 'x'. The following induces an error, until -std is added to get
2567 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2568 array size at least. It's necessary to write '\x00'==0 to get something
2569 that's true only with -std. */
2570 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2572 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2573 inside strings and character constants. */
2575 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2577 int test (int i, double x);
2578 struct s1 {int (*f) (int a);};
2579 struct s2 {int (*f) (double a);};
2580 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2586 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2591 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2592 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2594 CC="$ac_save_CC $ac_arg"
2595 if ac_fn_c_try_compile "$LINENO"; then :
2596 ac_cv_prog_cc_c89=$ac_arg
2598 rm -f core conftest.err conftest.$ac_objext
2599 test "x$ac_cv_prog_cc_c89" != "xno" && break
2601 rm -f conftest.$ac_ext
2606 case "x$ac_cv_prog_cc_c89" in
2608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2609 $as_echo "none needed" >&6; } ;;
2611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2612 $as_echo "unsupported" >&6; } ;;
2614 CC="$CC $ac_cv_prog_cc_c89"
2615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2616 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2618 if test "x$ac_cv_prog_cc_c89" != xno; then :
2623 ac_cpp='$CPP $CPPFLAGS'
2624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2629 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2630 if test -f "$ac_dir/install-sh"; then
2632 ac_install_sh="$ac_aux_dir/install-sh -c"
2634 elif test -f "$ac_dir/install.sh"; then
2636 ac_install_sh="$ac_aux_dir/install.sh -c"
2638 elif test -f "$ac_dir/shtool"; then
2640 ac_install_sh="$ac_aux_dir/shtool install -c"
2644 if test -z "$ac_aux_dir"; then
2645 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2648 # These three variables are undocumented and unsupported,
2649 # and are intended to be withdrawn in a future Autoconf release.
2650 # They can cause serious problems if a builder's source tree is in a directory
2651 # whose full name contains unusual characters.
2652 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2653 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2654 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2657 # Find a good install program. We prefer a C program (faster),
2658 # so one script is as good as another. But avoid the broken or
2659 # incompatible versions:
2660 # SysV /etc/install, /usr/sbin/install
2661 # SunOS /usr/etc/install
2662 # IRIX /sbin/install
2664 # AmigaOS /C/install, which installs bootblocks on floppy discs
2665 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2666 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2667 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2668 # OS/2's system install, which has a completely different semantic
2669 # ./install, which can be erroneously created by make from ./install.sh.
2670 # Reject install programs that cannot install multiple files.
2671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2672 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2673 if test -z "$INSTALL"; then
2674 if ${ac_cv_path_install+:} false; then :
2675 $as_echo_n "(cached) " >&6
2677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2681 test -z "$as_dir" && as_dir=.
2682 # Account for people who put trailing slashes in PATH elements.
2683 case $as_dir/ in #((
2684 ./ | .// | /[cC]/* | \
2685 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2686 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2689 # OSF1 and SCO ODT 3.0 have their own names for install.
2690 # Don't use installbsd from OSF since it installs stuff as root
2692 for ac_prog in ginstall scoinst install; do
2693 for ac_exec_ext in '' $ac_executable_extensions; do
2694 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2695 if test $ac_prog = install &&
2696 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2697 # AIX install. It has an incompatible calling convention.
2699 elif test $ac_prog = install &&
2700 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2701 # program-specific install script used by HP pwplus--don't use.
2704 rm -rf conftest.one conftest.two conftest.dir
2705 echo one > conftest.one
2706 echo two > conftest.two
2708 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2709 test -s conftest.one && test -s conftest.two &&
2710 test -s conftest.dir/conftest.one &&
2711 test -s conftest.dir/conftest.two
2713 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2726 rm -rf conftest.one conftest.two conftest.dir
2729 if test "${ac_cv_path_install+set}" = set; then
2730 INSTALL=$ac_cv_path_install
2732 # As a last resort, use the slow shell script. Don't cache a
2733 # value for INSTALL within a source directory, because that will
2734 # break other packages using the cache if that directory is
2735 # removed, or if the value is a relative name.
2736 INSTALL=$ac_install_sh
2739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2740 $as_echo "$INSTALL" >&6; }
2742 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2743 # It thinks the first close brace ends the variable substitution.
2744 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2746 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2748 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2750 if test -n "$ac_tool_prefix"; then
2751 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
2752 set dummy ${ac_tool_prefix}ar; ac_word=$2
2753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2754 $as_echo_n "checking for $ac_word... " >&6; }
2755 if ${ac_cv_prog_AR+:} false; then :
2756 $as_echo_n "(cached) " >&6
2758 if test -n "$AR"; then
2759 ac_cv_prog_AR="$AR" # Let the user override the test.
2761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2765 test -z "$as_dir" && as_dir=.
2766 for ac_exec_ext in '' $ac_executable_extensions; do
2767 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2768 ac_cv_prog_AR="${ac_tool_prefix}ar"
2769 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2779 if test -n "$AR"; then
2780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
2781 $as_echo "$AR" >&6; }
2783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2784 $as_echo "no" >&6; }
2789 if test -z "$ac_cv_prog_AR"; then
2791 # Extract the first word of "ar", so it can be a program name with args.
2792 set dummy ar; ac_word=$2
2793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2794 $as_echo_n "checking for $ac_word... " >&6; }
2795 if ${ac_cv_prog_ac_ct_AR+:} false; then :
2796 $as_echo_n "(cached) " >&6
2798 if test -n "$ac_ct_AR"; then
2799 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
2801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2805 test -z "$as_dir" && as_dir=.
2806 for ac_exec_ext in '' $ac_executable_extensions; do
2807 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2808 ac_cv_prog_ac_ct_AR="ar"
2809 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2818 ac_ct_AR=$ac_cv_prog_ac_ct_AR
2819 if test -n "$ac_ct_AR"; then
2820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
2821 $as_echo "$ac_ct_AR" >&6; }
2823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2824 $as_echo "no" >&6; }
2827 if test "x$ac_ct_AR" = x; then
2830 case $cross_compiling:$ac_tool_warned in
2832 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2833 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2834 ac_tool_warned=yes ;;
2842 if test -n "$ac_tool_prefix"; then
2843 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2844 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2846 $as_echo_n "checking for $ac_word... " >&6; }
2847 if ${ac_cv_prog_RANLIB+:} false; then :
2848 $as_echo_n "(cached) " >&6
2850 if test -n "$RANLIB"; then
2851 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2857 test -z "$as_dir" && as_dir=.
2858 for ac_exec_ext in '' $ac_executable_extensions; do
2859 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2860 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2861 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2870 RANLIB=$ac_cv_prog_RANLIB
2871 if test -n "$RANLIB"; then
2872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
2873 $as_echo "$RANLIB" >&6; }
2875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2876 $as_echo "no" >&6; }
2881 if test -z "$ac_cv_prog_RANLIB"; then
2882 ac_ct_RANLIB=$RANLIB
2883 # Extract the first word of "ranlib", so it can be a program name with args.
2884 set dummy ranlib; ac_word=$2
2885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2886 $as_echo_n "checking for $ac_word... " >&6; }
2887 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
2888 $as_echo_n "(cached) " >&6
2890 if test -n "$ac_ct_RANLIB"; then
2891 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2897 test -z "$as_dir" && as_dir=.
2898 for ac_exec_ext in '' $ac_executable_extensions; do
2899 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2900 ac_cv_prog_ac_ct_RANLIB="ranlib"
2901 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2910 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2911 if test -n "$ac_ct_RANLIB"; then
2912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
2913 $as_echo "$ac_ct_RANLIB" >&6; }
2915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2916 $as_echo "no" >&6; }
2919 if test "x$ac_ct_RANLIB" = x; then
2922 case $cross_compiling:$ac_tool_warned in
2924 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2925 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2926 ac_tool_warned=yes ;;
2928 RANLIB=$ac_ct_RANLIB
2931 RANLIB="$ac_cv_prog_RANLIB"
2935 # Make sure we can run config.sub.
2936 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2937 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2940 $as_echo_n "checking build system type... " >&6; }
2941 if ${ac_cv_build+:} false; then :
2942 $as_echo_n "(cached) " >&6
2944 ac_build_alias=$build_alias
2945 test "x$ac_build_alias" = x &&
2946 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2947 test "x$ac_build_alias" = x &&
2948 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2949 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2950 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2954 $as_echo "$ac_cv_build" >&6; }
2955 case $ac_cv_build in
2957 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2960 ac_save_IFS=$IFS; IFS='-'
2966 # Remember, the first character of IFS is used to create $*,
2967 # except with old shells:
2970 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2974 $as_echo_n "checking host system type... " >&6; }
2975 if ${ac_cv_host+:} false; then :
2976 $as_echo_n "(cached) " >&6
2978 if test "x$host_alias" = x; then
2979 ac_cv_host=$ac_cv_build
2981 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2982 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2987 $as_echo "$ac_cv_host" >&6; }
2990 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2993 ac_save_IFS=$IFS; IFS='-'
2999 # Remember, the first character of IFS is used to create $*,
3000 # except with old shells:
3003 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
3006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3007 $as_echo_n "checking target system type... " >&6; }
3008 if ${ac_cv_target+:} false; then :
3009 $as_echo_n "(cached) " >&6
3011 if test "x$target_alias" = x; then
3012 ac_cv_target=$ac_cv_host
3014 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3015 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3020 $as_echo "$ac_cv_target" >&6; }
3021 case $ac_cv_target in
3023 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
3025 target=$ac_cv_target
3026 ac_save_IFS=$IFS; IFS='-'
3032 # Remember, the first character of IFS is used to create $*,
3033 # except with old shells:
3036 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
3039 # The aliases save the names the user supplied, while $host etc.
3040 # will get canonicalized.
3041 test -n "$target_alias" &&
3042 test "$program_prefix$program_suffix$program_transform_name" = \
3044 program_prefix=${target_alias}-
3046 test "$program_prefix" != NONE &&
3047 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3048 # Use a double $ so make ignores it.
3049 test "$program_suffix" != NONE &&
3050 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3051 # Double any \ or $.
3052 # By default was `s
,x
,x
', remove it if useless.
3053 ac_script='s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//'
3054 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3057 ac_cpp='$CPP $CPPFLAGS'
3058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3059 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3061 if test -n "$ac_tool_prefix"; then
3062 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3063 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3065 $as_echo_n "checking for $ac_word... " >&6; }
3066 if ${ac_cv_prog_CC+:} false; then :
3067 $as_echo_n "(cached) " >&6
3069 if test -n "$CC"; then
3070 ac_cv_prog_CC="$CC" # Let the user override the test.
3072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3076 test -z "$as_dir" && as_dir=.
3077 for ac_exec_ext in '' $ac_executable_extensions; do
3078 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3079 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3080 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3090 if test -n "$CC"; then
3091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3092 $as_echo "$CC" >&6; }
3094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3095 $as_echo "no" >&6; }
3100 if test -z "$ac_cv_prog_CC"; then
3102 # Extract the first word of "gcc", so it can be a program name with args.
3103 set dummy gcc; ac_word=$2
3104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3105 $as_echo_n "checking for $ac_word... " >&6; }
3106 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3107 $as_echo_n "(cached) " >&6
3109 if test -n "$ac_ct_CC"; then
3110 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3112 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3116 test -z "$as_dir" && as_dir=.
3117 for ac_exec_ext in '' $ac_executable_extensions; do
3118 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3119 ac_cv_prog_ac_ct_CC="gcc"
3120 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3129 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3130 if test -n "$ac_ct_CC"; then
3131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3132 $as_echo "$ac_ct_CC" >&6; }
3134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3135 $as_echo "no" >&6; }
3138 if test "x$ac_ct_CC" = x; then
3141 case $cross_compiling:$ac_tool_warned in
3143 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3144 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3145 ac_tool_warned=yes ;;
3153 if test -z "$CC"; then
3154 if test -n "$ac_tool_prefix"; then
3155 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3156 set dummy ${ac_tool_prefix}cc; ac_word=$2
3157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3158 $as_echo_n "checking for $ac_word... " >&6; }
3159 if ${ac_cv_prog_CC+:} false; then :
3160 $as_echo_n "(cached) " >&6
3162 if test -n "$CC"; then
3163 ac_cv_prog_CC="$CC" # Let the user override the test.
3165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3169 test -z "$as_dir" && as_dir=.
3170 for ac_exec_ext in '' $ac_executable_extensions; do
3171 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3172 ac_cv_prog_CC="${ac_tool_prefix}cc"
3173 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3183 if test -n "$CC"; then
3184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3185 $as_echo "$CC" >&6; }
3187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3188 $as_echo "no" >&6; }
3194 if test -z "$CC"; then
3195 # Extract the first word of "cc", so it can be a program name with args.
3196 set dummy cc; ac_word=$2
3197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3198 $as_echo_n "checking for $ac_word... " >&6; }
3199 if ${ac_cv_prog_CC+:} false; then :
3200 $as_echo_n "(cached) " >&6
3202 if test -n "$CC"; then
3203 ac_cv_prog_CC="$CC" # Let the user override the test.
3206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3210 test -z "$as_dir" && as_dir=.
3211 for ac_exec_ext in '' $ac_executable_extensions; do
3212 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3213 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3214 ac_prog_rejected=yes
3218 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3225 if test $ac_prog_rejected = yes; then
3226 # We found a bogon in the path, so make sure we never use it.
3227 set dummy $ac_cv_prog_CC
3229 if test $# != 0; then
3230 # We chose a different compiler from the bogus one.
3231 # However, it has the same basename, so the bogon will be chosen
3232 # first if we set CC to just the basename; use the full file name.
3234 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3240 if test -n "$CC"; then
3241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3242 $as_echo "$CC" >&6; }
3244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3245 $as_echo "no" >&6; }
3250 if test -z "$CC"; then
3251 if test -n "$ac_tool_prefix"; then
3252 for ac_prog in cl.exe
3254 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3255 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3257 $as_echo_n "checking for $ac_word... " >&6; }
3258 if ${ac_cv_prog_CC+:} false; then :
3259 $as_echo_n "(cached) " >&6
3261 if test -n "$CC"; then
3262 ac_cv_prog_CC="$CC" # Let the user override the test.
3264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3268 test -z "$as_dir" && as_dir=.
3269 for ac_exec_ext in '' $ac_executable_extensions; do
3270 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3271 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3272 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3282 if test -n "$CC"; then
3283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3284 $as_echo "$CC" >&6; }
3286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3287 $as_echo "no" >&6; }
3291 test -n "$CC" && break
3294 if test -z "$CC"; then
3296 for ac_prog in cl.exe
3298 # Extract the first word of "$ac_prog", so it can be a program name with args.
3299 set dummy $ac_prog; ac_word=$2
3300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3301 $as_echo_n "checking for $ac_word... " >&6; }
3302 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3303 $as_echo_n "(cached) " >&6
3305 if test -n "$ac_ct_CC"; then
3306 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3312 test -z "$as_dir" && as_dir=.
3313 for ac_exec_ext in '' $ac_executable_extensions; do
3314 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3315 ac_cv_prog_ac_ct_CC="$ac_prog"
3316 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3325 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3326 if test -n "$ac_ct_CC"; then
3327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3328 $as_echo "$ac_ct_CC" >&6; }
3330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3331 $as_echo "no" >&6; }
3335 test -n "$ac_ct_CC" && break
3338 if test "x$ac_ct_CC" = x; then
3341 case $cross_compiling:$ac_tool_warned in
3343 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3344 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3345 ac_tool_warned=yes ;;
3354 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3355 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
3356 as_fn_error $? "no acceptable C compiler found in \$PATH
3357 See \`config.log
' for more details" "$LINENO" 5; }
3359 # Provide some information about the compiler.
3360 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3363 for ac_option in --version -v -V -qversion; do
3364 { { ac_try="$ac_compiler $ac_option >&5"
3366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3367 *) ac_try_echo=$ac_try;;
3369 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3370 $as_echo "$ac_try_echo"; } >&5
3371 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3373 if test -s conftest.err; then
3375 ... rest of stderr output deleted ...
3376 10q
' conftest.err >conftest.er1
3377 cat conftest.er1 >&5
3379 rm -f conftest.er1 conftest.err
3380 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3381 test $ac_status = 0; }
3384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3385 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3386 if ${ac_cv_c_compiler_gnu+:} false; then :
3387 $as_echo_n "(cached) " >&6
3389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3390 /* end confdefs.h. */
3403 if ac_fn_c_try_compile "$LINENO"; then :
3408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3409 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3413 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3414 if test $ac_compiler_gnu = yes; then
3419 ac_test_CFLAGS=${CFLAGS+set}
3420 ac_save_CFLAGS=$CFLAGS
3421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3422 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3423 if ${ac_cv_prog_cc_g+:} false; then :
3424 $as_echo_n "(cached) " >&6
3426 ac_save_c_werror_flag=$ac_c_werror_flag
3427 ac_c_werror_flag=yes
3430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3431 /* end confdefs.h. */
3441 if ac_fn_c_try_compile "$LINENO"; then :
3445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3446 /* end confdefs.h. */
3456 if ac_fn_c_try_compile "$LINENO"; then :
3459 ac_c_werror_flag=$ac_save_c_werror_flag
3461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3462 /* end confdefs.h. */
3472 if ac_fn_c_try_compile "$LINENO"; then :
3475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3480 ac_c_werror_flag=$ac_save_c_werror_flag
3482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3483 $as_echo "$ac_cv_prog_cc_g" >&6; }
3484 if test "$ac_test_CFLAGS" = set; then
3485 CFLAGS=$ac_save_CFLAGS
3486 elif test $ac_cv_prog_cc_g = yes; then
3487 if test "$GCC" = yes; then
3493 if test "$GCC" = yes; then
3499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3500 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3501 if ${ac_cv_prog_cc_c89+:} false; then :
3502 $as_echo_n "(cached) " >&6
3504 ac_cv_prog_cc_c89=no
3506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3507 /* end confdefs.h. */
3511 /* Most of the following tests are stolen from RCS 5.7's src
/conf.sh.
*/
3512 struct buf
{ int x
; };
3513 FILE
* (*rcsopen
) (struct buf
*, struct stat
*, int
);
3514 static char
*e
(p
, i
)
3520 static char
*f
(char
* (*g
) (char
**, int
), char
**p
, ...
)
3525 s
= g
(p
, va_arg
(v
,int
));
3530 /* OSF
4.0 Compaq cc is some
sort of almost-ANSI by default. It has
3531 function prototypes and stuff
, but not
'\xHH' hex character constants.
3532 These don
't provoke an error unfortunately, instead are silently treated
3533 as 'x
'. The following induces an error, until -std is added to get
3534 proper ANSI mode. Curiously '\x00'!='x
' always comes out true, for an
3535 array size at least. It's necessary to
write '\x00'==0 to get something
3536 that
's true only with -std. */
3537 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3539 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3540 inside strings and character constants. */
3542 int xlc6_cc_array[FOO(a) == 'x
' ? 1 : -1];
3544 int test (int i, double x);
3545 struct s1 {int (*f) (int a);};
3546 struct s2 {int (*f) (double a);};
3547 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3553 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3558 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3559 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3561 CC="$ac_save_CC $ac_arg"
3562 if ac_fn_c_try_compile "$LINENO"; then :
3563 ac_cv_prog_cc_c89=$ac_arg
3565 rm -f core conftest.err conftest.$ac_objext
3566 test "x$ac_cv_prog_cc_c89" != "xno" && break
3568 rm -f conftest.$ac_ext
3573 case "x$ac_cv_prog_cc_c89" in
3575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3576 $as_echo "none needed" >&6; } ;;
3578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3579 $as_echo "unsupported" >&6; } ;;
3581 CC="$CC $ac_cv_prog_cc_c89"
3582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3583 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3585 if test "x$ac_cv_prog_cc_c89" != xno; then :
3590 ac_cpp='$CPP $CPPFLAGS'
3591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3592 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3596 ac_cpp='$CPP $CPPFLAGS'
3597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3598 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3601 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3602 # On Suns, sometimes $CPP names a directory.
3603 if test -n "$CPP" && test -d "$CPP"; then
3606 if test -z "$CPP"; then
3607 if ${ac_cv_prog_CPP+:} false; then :
3608 $as_echo_n "(cached) " >&6
3610 # Double quotes because CPP needs to be expanded
3611 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3614 for ac_c_preproc_warn_flag in '' yes
3616 # Use a header file that comes with gcc, so configuring glibc
3617 # with a fresh cross-compiler works.
3618 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3619 # <limits.h> exists even on freestanding compilers.
3620 # On the NeXT, cc -E runs the code through the compiler's parser
,
3621 # not just through cpp. "Syntax error" is here to catch this case.
3622 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3623 /* end confdefs.h. */
3625 # include <limits.h>
3627 # include <assert.h>
3631 if ac_fn_c_try_cpp
"$LINENO"; then :
3634 # Broken: fails on valid input.
3637 rm -f conftest.err conftest.i conftest.
$ac_ext
3639 # OK, works on sane cases. Now check whether nonexistent headers
3640 # can be detected and how.
3641 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3642 /* end confdefs.h. */
3643 #include <ac_nonexistent.h>
3645 if ac_fn_c_try_cpp
"$LINENO"; then :
3646 # Broken: success on invalid input.
3649 # Passes both tests.
3653 rm -f conftest.err conftest.i conftest.
$ac_ext
3656 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3657 rm -f conftest.i conftest.err conftest.
$ac_ext
3658 if $ac_preproc_ok; then :
3670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3671 $as_echo "$CPP" >&6; }
3673 for ac_c_preproc_warn_flag
in '' yes
3675 # Use a header file that comes with gcc, so configuring glibc
3676 # with a fresh cross-compiler works.
3677 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3678 # <limits.h> exists even on freestanding compilers.
3679 # On the NeXT, cc -E runs the code through the compiler's parser,
3680 # not just through cpp. "Syntax error" is here to catch this case.
3681 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3682 /* end confdefs.h. */
3684 # include <limits.h>
3686 # include <assert.h>
3690 if ac_fn_c_try_cpp
"$LINENO"; then :
3693 # Broken: fails on valid input.
3696 rm -f conftest.err conftest.i conftest.
$ac_ext
3698 # OK, works on sane cases. Now check whether nonexistent headers
3699 # can be detected and how.
3700 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3701 /* end confdefs.h. */
3702 #include <ac_nonexistent.h>
3704 if ac_fn_c_try_cpp
"$LINENO"; then :
3705 # Broken: success on invalid input.
3708 # Passes both tests.
3712 rm -f conftest.err conftest.i conftest.
$ac_ext
3715 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3716 rm -f conftest.i conftest.err conftest.
$ac_ext
3717 if $ac_preproc_ok; then :
3720 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3721 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3722 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
3723 See \`config.log' for more details" "$LINENO" 5; }
3727 ac_cpp
='$CPP $CPPFLAGS'
3728 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3729 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3730 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3736 if test -n "$ac_tool_prefix"; then
3737 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3738 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3740 $as_echo_n "checking for $ac_word... " >&6; }
3741 if ${ac_cv_prog_RANLIB+:} false
; then :
3742 $as_echo_n "(cached) " >&6
3744 if test -n "$RANLIB"; then
3745 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3747 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3751 test -z "$as_dir" && as_dir
=.
3752 for ac_exec_ext
in '' $ac_executable_extensions; do
3753 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3754 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3755 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3764 RANLIB
=$ac_cv_prog_RANLIB
3765 if test -n "$RANLIB"; then
3766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
3767 $as_echo "$RANLIB" >&6; }
3769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3770 $as_echo "no" >&6; }
3775 if test -z "$ac_cv_prog_RANLIB"; then
3776 ac_ct_RANLIB
=$RANLIB
3777 # Extract the first word of "ranlib", so it can be a program name with args.
3778 set dummy ranlib
; ac_word
=$2
3779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3780 $as_echo_n "checking for $ac_word... " >&6; }
3781 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
3782 $as_echo_n "(cached) " >&6
3784 if test -n "$ac_ct_RANLIB"; then
3785 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3787 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3791 test -z "$as_dir" && as_dir
=.
3792 for ac_exec_ext
in '' $ac_executable_extensions; do
3793 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3794 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3795 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3804 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3805 if test -n "$ac_ct_RANLIB"; then
3806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
3807 $as_echo "$ac_ct_RANLIB" >&6; }
3809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3810 $as_echo "no" >&6; }
3813 if test "x$ac_ct_RANLIB" = x
; then
3816 case $cross_compiling:$ac_tool_warned in
3818 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3819 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3820 ac_tool_warned
=yes ;;
3822 RANLIB
=$ac_ct_RANLIB
3825 RANLIB
="$ac_cv_prog_RANLIB"
3829 # Put a plausible default for CC_FOR_BUILD in Makefile.
3830 if test -z "$CC_FOR_BUILD"; then
3831 if test "x$cross_compiling" = "xno"; then
3832 CC_FOR_BUILD
='$(CC)'
3838 CFLAGS_FOR_BUILD
=${CFLAGS_FOR_BUILD-${CFLAGS}}
3841 # If a cpu ever has more than one simulator to choose from, use
3842 # --enable-sim=... to choose.
3843 # Check whether --enable-sim was given.
3844 if test "${enable_sim+set}" = set; then :
3845 enableval
=$enable_sim; case "${enableval}" in
3847 *) as_fn_error $?
"bad value ${enableval} given for --enable-sim option" "$LINENO" 5 ;;
3853 if test "${enable_sim}" != no
; then
3855 # WHEN ADDING ENTRIES TO THIS MATRIX:
3857 # Make sure that the left side always has two dashes. Otherwise you
3858 # can get spurious matches. Even for unambiguous cases, do this as a
3859 # convention, else the table becomes a real mess to understand and
3872 subdirs
="$subdirs aarch64"
3879 subdirs
="$subdirs arm"
3886 subdirs
="$subdirs avr"
3893 subdirs
="$subdirs bfin"
3900 subdirs
="$subdirs bpf"
3907 subdirs
="$subdirs cr16"
3911 cris-
*-* | crisv32-
*-*)
3914 subdirs
="$subdirs cris"
3921 subdirs
="$subdirs d10v"
3928 subdirs
="$subdirs frv"
3935 subdirs
="$subdirs h8300"
3942 subdirs
="$subdirs iq2000"
3949 subdirs
="$subdirs lm32"
3956 subdirs
="$subdirs m32c"
3963 subdirs
="$subdirs m32r"
3967 m68hc11-
*-*|m6811-
*-*)
3970 subdirs
="$subdirs m68hc11"
3977 subdirs
="$subdirs mcore"
3984 subdirs
="$subdirs microblaze"
3991 subdirs
="$subdirs mips"
3999 subdirs
="$subdirs mn10300"
4007 subdirs
="$subdirs moxie"
4014 subdirs
="$subdirs msp430"
4018 or1k-
*-* | or1knd-
*-*)
4021 subdirs
="$subdirs or1k"
4028 subdirs
="$subdirs pru"
4035 subdirs
="$subdirs rl78"
4042 subdirs
="$subdirs rx"
4049 subdirs
="$subdirs sh"
4053 sparc-
*-rtems*|sparc-
*-elf*)
4056 subdirs
="$subdirs erc32"
4063 subdirs
="$subdirs ppc"
4070 subdirs
="$subdirs ft32"
4077 subdirs
="$subdirs v850"
4085 if test "$sim_igen" = yes; then
4086 subdirs
="$subdirs igen"
4091 ac_config_files
="$ac_config_files Makefile testsuite/Makefile"
4093 cat >confcache
<<\_ACEOF
4094 # This file is a shell script that caches the results of configure
4095 # tests run on this system so they can be shared between configure
4096 # scripts and configure runs, see configure's option --config-cache.
4097 # It is not useful on other systems. If it contains results you don't
4098 # want to keep, you may remove or edit it.
4100 # config.status only pays attention to the cache file if you give it
4101 # the --recheck option to rerun configure.
4103 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4104 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4109 # The following way of writing the cache mishandles newlines in values,
4110 # but we know of no workaround that is simple, portable, and efficient.
4111 # So, we kill variables containing newlines.
4112 # Ultrix sh set writes to stderr and can't be redirected directly,
4113 # and sets the high bit in the cache file unless we assign to the vars.
4115 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4116 eval ac_val
=\$
$ac_var
4120 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4121 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4124 _ | IFS | as_nl
) ;; #(
4125 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
4126 *) { eval $ac_var=; unset $ac_var;} ;;
4132 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4133 *${as_nl}ac_space
=\
*)
4134 # `set' does not quote correctly, so add quotes: double-quote
4135 # substitution turns \\\\ into \\, and sed turns \\ into \.
4138 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4141 # `set' quotes correctly as required by POSIX, so do not add quotes.
4142 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4151 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4153 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4155 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
4156 if test -w "$cache_file"; then
4157 if test "x$cache_file" != "x/dev/null"; then
4158 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4159 $as_echo "$as_me: updating cache $cache_file" >&6;}
4160 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
4161 cat confcache
>"$cache_file"
4163 case $cache_file in #(
4165 mv -f confcache
"$cache_file"$$
&&
4166 mv -f "$cache_file"$$
"$cache_file" ;; #(
4168 mv -f confcache
"$cache_file" ;;
4173 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4174 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4179 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
4180 # Let make expand exec_prefix.
4181 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
4183 # Transform confdefs.h into DEFS.
4184 # Protect against shell expansion while executing Makefile rules.
4185 # Protect against Makefile macro expansion.
4187 # If the first sed substitution is executed (which looks for macros that
4188 # take arguments), then branch to the quote section. Otherwise,
4189 # look for a macro that doesn't take arguments.
4199 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
4201 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
4205 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
4218 DEFS
=`sed -n "$ac_script" confdefs.h`
4224 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
4225 # 1. Remove the extension, and $U if already installed.
4226 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
4227 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
4228 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4229 # will be set to the directory where LIBOBJS objects are built.
4230 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4231 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
4235 LTLIBOBJS
=$ac_ltlibobjs
4239 : "${CONFIG_STATUS=./config.status}"
4241 ac_clean_files_save
=$ac_clean_files
4242 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
4243 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4244 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4246 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4248 # Generated by $as_me.
4249 # Run this file to recreate the current configuration.
4250 # Compiler output produced by configure, useful for debugging
4251 # configure, is in config.log if it exists.
4257 SHELL=\${CONFIG_SHELL-$SHELL}
4260 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
4261 ## -------------------- ##
4262 ## M4sh Initialization. ##
4263 ## -------------------- ##
4265 # Be more Bourne compatible
4266 DUALCASE
=1; export DUALCASE
# for MKS sh
4267 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
4270 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4271 # is contrary to our usage. Disable this feature.
4272 alias -g '${1+"$@"}'='"$@"'
4273 setopt NO_GLOB_SUBST
4275 case `(set -o) 2>/dev/null` in #(
4287 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4288 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4289 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4290 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4291 # Prefer a ksh shell builtin over an external printf program on Solaris,
4292 # but without wasting forks for bash or zsh.
4293 if test -z "$BASH_VERSION$ZSH_VERSION" \
4294 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4295 as_echo='print
-r --'
4296 as_echo_n='print
-rn --'
4297 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4298 as_echo='printf %s
\n'
4299 as_echo_n='printf %s
'
4301 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4302 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
4303 as_echo_n='/usr
/ucb
/echo -n'
4305 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4306 as_echo_n_body='eval
4310 expr "X$arg" : "X\\(.*\\)$as_nl";
4311 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4313 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
4315 export as_echo_n_body
4316 as_echo_n='sh
-c $as_echo_n_body as_echo
'
4319 as_echo='sh
-c $as_echo_body as_echo
'
4322 # The user is always right.
4323 if test "${PATH_SEPARATOR+set}" != set; then
4325 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4326 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4333 # We need space, tab and new line, in precisely that order. Quoting is
4334 # there to prevent editors from complaining about space-tab.
4335 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4336 # splitting by setting IFS to empty value.)
4339 # Find who we are. Look in the path if we contain no directory separator.
4342 *[\\/]* ) as_myself=$0 ;;
4343 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4347 test -z "$as_dir" && as_dir=.
4348 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4354 # We did not find ourselves, most probably we were run as `sh COMMAND'
4355 # in which case we are not to be found in the path.
4356 if test "x$as_myself" = x
; then
4359 if test ! -f "$as_myself"; then
4360 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4364 # Unset variables that we do not need and which cause bugs (e.g. in
4365 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4366 # suppresses any "Segmentation fault" message there. '((' could
4367 # trigger a bug in pdksh 5.2.14.
4368 for as_var
in BASH_ENV ENV MAIL MAILPATH
4369 do eval test x\
${$as_var+set} = xset \
4370 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
4383 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
4386 # as_fn_error STATUS ERROR [LINENO LOG_FD]
4387 # ----------------------------------------
4388 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4389 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4390 # script with STATUS, using 1 if that was 0.
4393 as_status
=$1; test $as_status -eq 0 && as_status
=1
4395 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
4396 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4398 $as_echo "$as_me: error: $2" >&2
4399 as_fn_exit
$as_status
4403 # as_fn_set_status STATUS
4404 # -----------------------
4405 # Set $? to STATUS, without forking.
4409 } # as_fn_set_status
4413 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4423 # Portably unset VAR.
4426 { eval $1=; unset $1;}
4428 as_unset
=as_fn_unset
4429 # as_fn_append VAR VALUE
4430 # ----------------------
4431 # Append the text in VALUE to the end of the definition contained in VAR. Take
4432 # advantage of any shell optimizations that allow amortized linear growth over
4433 # repeated appends, instead of the typical quadratic growth present in naive
4435 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
4436 eval 'as_fn_append ()
4447 # as_fn_arith ARG...
4448 # ------------------
4449 # Perform arithmetic evaluation on the ARGs, and store the result in the
4450 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4451 # must be portable across $(()) and expr.
4452 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
4453 eval 'as_fn_arith ()
4460 as_val
=`expr "$@" || test $? -eq 1`
4465 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
4466 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
4472 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4473 as_basename
=basename
4478 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
4484 as_me
=`$as_basename -- "$0" ||
4485 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4486 X"$0" : 'X\(//\)$' \| \
4487 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4489 sed '/^.*\/\([^/][^/]*\)\/*$/{
4503 # Avoid depending upon Character Ranges.
4504 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
4505 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4506 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
4507 as_cr_digits
='0123456789'
4508 as_cr_alnum
=$as_cr_Letters$as_cr_digits
4510 ECHO_C
= ECHO_N
= ECHO_T
=
4511 case `echo -n x` in #(((((
4513 case `echo 'xy\c'` in
4514 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
4516 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
4523 rm -f conf$$ conf$$.exe conf$$.
file
4524 if test -d conf$$.dir
; then
4525 rm -f conf$$.dir
/conf$$.
file
4528 mkdir conf$$.dir
2>/dev
/null
4530 if (echo >conf$$.
file) 2>/dev
/null
; then
4531 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
4533 # ... but there are two gotchas:
4534 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4535 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4536 # In both cases, we have to default to `cp -pR'.
4537 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
4539 elif ln conf$$.
file conf$$
2>/dev
/null
; then
4547 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
4548 rmdir conf$$.dir
2>/dev
/null
4553 # Create "$as_dir" as a directory, including parents if necessary.
4558 -*) as_dir
=.
/$as_dir;;
4560 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
4564 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4565 *) as_qdir
=$as_dir;;
4567 as_dirs
="'$as_qdir' $as_dirs"
4568 as_dir
=`$as_dirname -- "$as_dir" ||
4569 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4570 X"$as_dir" : 'X\(//\)[^/]' \| \
4571 X"$as_dir" : 'X\(//\)$' \| \
4572 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4573 $as_echo X"$as_dir" |
4574 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4591 test -d "$as_dir" && break
4593 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
4594 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
4598 if mkdir
-p .
2>/dev
/null
; then
4599 as_mkdir_p
='mkdir -p "$as_dir"'
4601 test -d .
/-p && rmdir .
/-p
4606 # as_fn_executable_p FILE
4607 # -----------------------
4608 # Test if FILE is an executable regular file.
4609 as_fn_executable_p
()
4611 test -f "$1" && test -x "$1"
4612 } # as_fn_executable_p
4614 as_executable_p
=as_fn_executable_p
4616 # Sed expression to map a string onto a valid CPP name.
4617 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4619 # Sed expression to map a string onto a valid variable name.
4620 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4624 ## ----------------------------------- ##
4625 ## Main body of $CONFIG_STATUS script. ##
4626 ## ----------------------------------- ##
4628 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
4630 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4631 # Save the log message, to keep $0 and so on meaningful, and to
4632 # report actual input values of CONFIG_FILES etc. instead of their
4633 # values after options handling.
4635 This file was extended by $as_me, which was
4636 generated by GNU Autoconf 2.69. Invocation command line was
4638 CONFIG_FILES = $CONFIG_FILES
4639 CONFIG_HEADERS = $CONFIG_HEADERS
4640 CONFIG_LINKS = $CONFIG_LINKS
4641 CONFIG_COMMANDS = $CONFIG_COMMANDS
4644 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4649 case $ac_config_files in *"
4650 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
4655 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4656 # Files that config.status was made for.
4657 config_files="$ac_config_files"
4661 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4663 \`$as_me' instantiates files and other configuration actions
4664 from templates according to the current configuration. Unless the files
4665 and actions are specified as TAGs, all are instantiated by default.
4667 Usage: $0 [OPTION]... [TAG]...
4669 -h, --help print this help, then exit
4670 -V, --version print version number and configuration settings, then exit
4671 --config print configuration, then exit
4672 -q, --quiet, --silent
4673 do not print progress messages
4674 -d, --debug don't remove temporary files
4675 --recheck update $as_me by reconfiguring in the same conditions
4676 --file=FILE[:TEMPLATE]
4677 instantiate the configuration file FILE
4679 Configuration files:
4682 Report bugs to the package provider."
4685 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4686 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4689 configured by $0, generated by GNU Autoconf 2.69,
4690 with options \\"\$ac_cs_config\\"
4692 Copyright (C) 2012 Free Software Foundation, Inc.
4693 This config.status script is free software; the Free Software Foundation
4694 gives unlimited permission to copy, distribute and modify it."
4699 test -n "\$AWK" || AWK=awk
4702 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4703 # The default lists apply if the user does not specify any file.
4709 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
4710 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
4714 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
4726 # Handling of the options.
4727 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
4729 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
4730 $as_echo "$ac_cs_version"; exit ;;
4731 --config |
--confi |
--conf |
--con |
--co |
--c )
4732 $as_echo "$ac_cs_config"; exit ;;
4733 --debug |
--debu |
--deb |
--de |
--d |
-d )
4735 --file |
--fil |
--fi |
--f )
4738 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4739 '') as_fn_error $?
"missing file argument" ;;
4741 as_fn_append CONFIG_FILES
" '$ac_optarg'"
4742 ac_need_defaults
=false
;;
4743 --he |
--h |
--help |
--hel |
-h )
4744 $as_echo "$ac_cs_usage"; exit ;;
4745 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
4746 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
4750 -*) as_fn_error $?
"unrecognized option: \`$1'
4751 Try \`$0 --help' for more information." ;;
4753 *) as_fn_append ac_config_targets
" $1"
4754 ac_need_defaults
=false
;;
4760 ac_configure_extra_args
=
4762 if $ac_cs_silent; then
4764 ac_configure_extra_args
="$ac_configure_extra_args --silent"
4768 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4769 if \$ac_cs_recheck; then
4770 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4772 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4773 CONFIG_SHELL='$SHELL'
4779 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4783 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4784 ## Running $as_me. ##
4790 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4793 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4795 # Handling of arguments.
4796 for ac_config_target
in $ac_config_targets
4798 case $ac_config_target in
4799 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
4800 "testsuite/Makefile") CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
4802 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4807 # If the user did not use the arguments to specify the items to instantiate,
4808 # then the envvar interface is used. Set only those that are not.
4809 # We use the long form for the default assignment because of an extremely
4810 # bizarre bug on SunOS 4.1.3.
4811 if $ac_need_defaults; then
4812 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
4815 # Have a temporary directory for convenience. Make it in the build tree
4816 # simply because there is no reason against having it here, and in addition,
4817 # creating and moving files from /tmp can sometimes cause problems.
4818 # Hook for its removal unless debugging.
4819 # Note that there is a small window in which the directory will not be cleaned:
4820 # after its creation but before its name has been assigned to `$tmp'.
4824 trap 'exit_status=$?
4826 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
4828 trap 'as_fn_exit 1' 1 2 13 15
4830 # Create a (secure) tmp directory for tmp files.
4833 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4837 tmp
=.
/conf$$
-$RANDOM
4838 (umask 077 && mkdir
"$tmp")
4839 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
4842 # Set up the scripts for CONFIG_FILES section.
4843 # No need to generate them if there are no CONFIG_FILES.
4844 # This happens for instance with `./config.status config.h'.
4845 if test -n "$CONFIG_FILES"; then
4848 ac_cr
=`echo X | tr X '\015'`
4849 # On cygwin, bash can eat \r inside `` if the user requested igncr.
4850 # But we know of no other shell where ac_cr would be empty at this
4851 # point, so we can use a bashism as a fallback.
4852 if test "x$ac_cr" = x
; then
4853 eval ac_cr
=\$
\'\\r
\'
4855 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4856 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4862 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
4867 echo "cat >conf$$subs.awk <<_ACEOF" &&
4868 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4871 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
4872 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
4874 for ac_last_try in false false false false false :; do
4875 . ./conf$$subs.sh ||
4876 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
4878 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
4879 if test $ac_delim_n = $ac_delim_num; then
4881 elif $ac_last_try; then
4882 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
4884 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
4889 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4890 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
4894 s/^/S["/; s
/!.
*/"]=/
4904 s/\(.\{148\}\)..*/\1/
4906 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
4911 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
4918 s/\(.\{148\}\)..*/\1/
4920 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
4924 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
4929 ' <conf$$subs.awk | sed '
4934 ' >>$CONFIG_STATUS || ac_write_fail=1
4935 rm -f conf$$subs.awk
4936 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4938 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
4939 for (key in S) S_is_set[key] = 1
4945 nfields = split(line, field, "@
")
4947 len = length(field[1])
4948 for (i = 2; i < nfields; i++) {
4950 keylen = length(key)
4951 if (S_is_set[key]) {
4953 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4954 len += length(value) + length(field[++i])
4965 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4966 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4967 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
4970 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
4971 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
4974 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
4975 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
4976 # trailing colons and then remove the whole line if VPATH becomes empty
4977 # (actually we leave an empty line to preserve line numbers).
4978 if test "x
$srcdir" = x.; then
4979 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
4997 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4998 fi # test -n "$CONFIG_FILES"
5001 eval set X " :F
$CONFIG_FILES "
5006 :[FHLC]) ac_mode=$ac_tag; continue;;
5008 case $ac_mode$ac_tag in
5010 :L* | :C*:*) as_fn_error $? "invalid tag \
`$ac_tag'" "$LINENO" 5;;
5011 :[FH]-) ac_tag=-:-;;
5012 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5029 -) ac_f="$ac_tmp/stdin";;
5030 *) # Look for the file first in the build tree, then in the source tree
5031 # (if the path is not absolute). The absolute path cannot be DOS-style,
5032 # because $ac_f cannot contain `:'.
5036 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5038 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5040 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
5041 as_fn_append ac_file_inputs " '$ac_f'"
5044 # Let's still pretend it is `configure' which instantiates (i.e., don't
5045 # use $as_me), people would be surprised to read:
5046 # /* config.h. Generated by config.status. */
5047 configure_input='Generated from '`
5048 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5050 if test x"$ac_file" != x-; then
5051 configure_input="$ac_file.
$configure_input"
5052 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
5053 $as_echo "$as_me: creating
$ac_file" >&6;}
5055 # Neutralize special characters interpreted by sed in replacement strings.
5056 case $configure_input in #(
5057 *\&* | *\|* | *\\* )
5058 ac_sed_conf_input=`$as_echo "$configure_input" |
5059 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5060 *) ac_sed_conf_input=$configure_input;;
5064 *:-:* | *:-) cat >"$ac_tmp/stdin
" \
5065 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5 ;;
5070 ac_dir=`$as_dirname -- "$ac_file" ||
5071 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5072 X"$ac_file" : 'X\(//\)[^/]' \| \
5073 X"$ac_file" : 'X\(//\)$' \| \
5074 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5075 $as_echo X"$ac_file" |
5076 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5093 as_dir="$ac_dir"; as_fn_mkdir_p
5097 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5099 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5100 # A "..
" for each directory in $ac_dir_suffix.
5101 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5102 case $ac_top_builddir_sub in
5103 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5104 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5107 ac_abs_top_builddir=$ac_pwd
5108 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5109 # for backward compatibility:
5110 ac_top_builddir=$ac_top_build_prefix
5113 .) # We are building in place.
5115 ac_top_srcdir=$ac_top_builddir_sub
5116 ac_abs_top_srcdir=$ac_pwd ;;
5117 [\\/]* | ?:[\\/]* ) # Absolute name.
5118 ac_srcdir=$srcdir$ac_dir_suffix;
5119 ac_top_srcdir=$srcdir
5120 ac_abs_top_srcdir=$srcdir ;;
5122 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5123 ac_top_srcdir=$ac_top_build_prefix$srcdir
5124 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5126 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5136 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5137 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5141 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5142 # If the template does not know about datarootdir, expand it.
5143 # FIXME: This hack should be removed a few years after 2.60.
5144 ac_datarootdir_hack=; ac_datarootdir_seen=
5155 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
5156 *datarootdir*) ac_datarootdir_seen=yes;;
5157 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
5159 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
5161 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5162 ac_datarootdir_hack='
5163 s&@datadir@&$datadir&g
5164 s&@docdir@&$docdir&g
5165 s&@infodir@&$infodir&g
5166 s&@localedir@&$localedir&g
5167 s&@mandir@&$mandir&g
5168 s&\\\${datarootdir}&$datarootdir&g' ;;
5172 # Neutralize VPATH when `$srcdir' = `.'.
5173 # Shell code in configure.ac might set extrasub.
5174 # FIXME: do we really want to maintain this feature?
5175 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5176 ac_sed_extra="$ac_vpsub
5179 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5181 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
5182 s|@configure_input@|
$ac_sed_conf_input|
;t t
5183 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
5184 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
5185 s
&@srcdir@
&$ac_srcdir&;t t
5186 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
5187 s
&@top_srcdir@
&$ac_top_srcdir&;t t
5188 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
5189 s
&@builddir@
&$ac_builddir&;t t
5190 s
&@abs_builddir@
&$ac_abs_builddir&;t t
5191 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
5192 s
&@INSTALL@
&$ac_INSTALL&;t t
5193 $ac_datarootdir_hack
5195 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
5196 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
5198 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5199 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
5200 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
5201 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
5202 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
5203 which seems to be undefined. Please make sure it is defined" >&5
5204 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
5205 which seems to be undefined. Please make sure it is defined" >&2;}
5207 rm -f "$ac_tmp/stdin"
5209 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5210 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5212 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5224 ac_clean_files=$ac_clean_files_save
5226 test $ac_write_fail = 0 ||
5227 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5230 # configure is writing to config.log, and then calls config.status.
5231 # config.status does its own redirection, appending to config.log.
5232 # Unfortunately, on DOS this fails, as config.log is still kept open
5233 # by configure, so config.status won't be able to
write to it
; its
5234 # output is simply discarded. So we exec the FD to /dev/null,
5235 # effectively closing config.log, so it can be properly (re)opened and
5236 # appended to by config.status. When coming back to configure, we
5237 # need to make the FD available again.
5238 if test "$no_create" != yes; then
5240 ac_config_status_args
=
5241 test "$silent" = yes &&
5242 ac_config_status_args
="$ac_config_status_args --quiet"
5244 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
5246 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5247 # would make configure fail if this is the last instruction.
5248 $ac_cs_success || as_fn_exit
1
5252 # CONFIG_SUBDIRS section.
5254 if test "$no_recursion" != yes; then
5256 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
5257 # so they do not pile up.
5258 ac_sub_configure_args
=
5260 eval "set x $ac_configure_args"
5264 if test -n "$ac_prev"; then
5269 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
5270 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
5271 ac_prev
=cache_file
;;
5272 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
5273 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
5276 --config-cache |
-C)
5278 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
5280 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
5282 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
5284 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
5286 --disable-option-checking)
5290 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
5292 as_fn_append ac_sub_configure_args
" '$ac_arg'" ;;
5296 # Always prepend --prefix to ensure using the same prefix
5297 # in subdir configurations.
5298 ac_arg
="--prefix=$prefix"
5300 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
5302 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
5305 if test "$silent" = yes; then
5306 ac_sub_configure_args
="--silent $ac_sub_configure_args"
5309 # Always prepend --disable-option-checking to silence warnings, since
5310 # different subdirs can have different --enable and --with options.
5311 ac_sub_configure_args
="--disable-option-checking $ac_sub_configure_args"
5314 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
5316 # Do not complain, so a configure script can configure whichever
5317 # parts of a large source tree are present.
5318 test -d "$srcdir/$ac_dir" ||
continue
5320 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
5321 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
5322 $as_echo "$ac_msg" >&6
5323 as_dir
="$ac_dir"; as_fn_mkdir_p
5327 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
5329 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5330 # A ".." for each directory in $ac_dir_suffix.
5331 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5332 case $ac_top_builddir_sub in
5333 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
5334 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
5337 ac_abs_top_builddir
=$ac_pwd
5338 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
5339 # for backward compatibility:
5340 ac_top_builddir
=$ac_top_build_prefix
5343 .
) # We are building in place.
5345 ac_top_srcdir
=$ac_top_builddir_sub
5346 ac_abs_top_srcdir
=$ac_pwd ;;
5347 [\\/]* | ?
:[\\/]* ) # Absolute name.
5348 ac_srcdir
=$srcdir$ac_dir_suffix;
5349 ac_top_srcdir
=$srcdir
5350 ac_abs_top_srcdir
=$srcdir ;;
5352 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
5353 ac_top_srcdir
=$ac_top_build_prefix$srcdir
5354 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
5356 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
5361 # Check for guested configure; otherwise get Cygnus style configure.
5362 if test -f "$ac_srcdir/configure.gnu"; then
5363 ac_sub_configure
=$ac_srcdir/configure.gnu
5364 elif test -f "$ac_srcdir/configure"; then
5365 ac_sub_configure
=$ac_srcdir/configure
5366 elif test -f "$ac_srcdir/configure.in"; then
5367 # This should be Cygnus configure.
5368 ac_sub_configure
=$ac_aux_dir/configure
5370 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
5371 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
5375 # The recursion is here.
5376 if test -n "$ac_sub_configure"; then
5377 # Make the cache file name correct relative to the subdirectory.
5379 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
5381 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
5384 { $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
5385 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
5386 # The eval makes quoting arguments work.
5387 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
5388 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
5389 as_fn_error $?
"$ac_sub_configure failed for $ac_dir" "$LINENO" 5
5395 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
5396 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5397 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}