2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x
; then
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var
in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\
${$as_var+set} = xset \
119 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
132 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x
; then
135 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
143 case \`(set -o) 2>/dev/null\` in #(
151 as_required
="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1"
173 if (eval "$as_required") 2>/dev
/null
; then :
178 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
181 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
183 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
186 test -z "$as_dir" && as_dir
=.
190 for as_base
in sh bash ksh sh5
; do
191 # Try only shells that exist, to save several forks.
192 as_shell
=$as_dir/$as_base
193 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
194 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
195 CONFIG_SHELL
=$as_shell as_have_required
=yes
196 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
204 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
205 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
206 CONFIG_SHELL
=$SHELL as_have_required
=yes
211 if test "x$CONFIG_SHELL" != x
; then :
212 # We cannot yet assume a decent shell, so we have to provide a
213 # neutralization value for shells without unset; and this also
214 # works around shells that cannot unset nonexistent variables.
217 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
219 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
222 if test x
$as_have_required = xno
; then :
223 $as_echo "$0: This script requires a shell more modern than all"
224 $as_echo "$0: the shells that I found on your system."
225 if test x
${ZSH_VERSION+set} = xset
; then
226 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
227 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
229 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
230 $0: including any error possibly output before this
231 $0: message. Then install a modern shell, or manually run
232 $0: the script under such a shell if you do have one."
238 SHELL
=${CONFIG_SHELL-/bin/sh}
240 # Unset more variables known to interfere with behavior of common tools.
241 CLICOLOR_FORCE
= GREP_OPTIONS
=
242 unset CLICOLOR_FORCE GREP_OPTIONS
244 ## --------------------- ##
245 ## M4sh Shell Functions. ##
246 ## --------------------- ##
249 # Portably unset VAR.
252 { eval $1=; unset $1;}
256 # as_fn_set_status STATUS
257 # -----------------------
258 # Set $? to STATUS, without forking.
266 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
276 # Create "$as_dir" as a directory, including parents if necessary.
281 -*) as_dir
=.
/$as_dir;;
283 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
287 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
290 as_dirs
="'$as_qdir' $as_dirs"
291 as_dir
=`$as_dirname -- "$as_dir" ||
292 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
293 X"$as_dir" : 'X\(//\)[^/]' \| \
294 X"$as_dir" : 'X\(//\)$' \| \
295 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
296 $as_echo X"$as_dir" |
297 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
314 test -d "$as_dir" && break
316 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
317 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
321 # as_fn_append VAR VALUE
322 # ----------------------
323 # Append the text in VALUE to the end of the definition contained in VAR. Take
324 # advantage of any shell optimizations that allow amortized linear growth over
325 # repeated appends, instead of the typical quadratic growth present in naive
327 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
328 eval 'as_fn_append ()
341 # Perform arithmetic evaluation on the ARGs, and store the result in the
342 # global $as_val. Take advantage of shells that can avoid forks. The arguments
343 # must be portable across $(()) and expr.
344 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
352 as_val
=`expr "$@" || test $? -eq 1`
357 # as_fn_error ERROR [LINENO LOG_FD]
358 # ---------------------------------
359 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
360 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
361 # script with status $?, using 1 if that was 0.
364 as_status
=$?
; test $as_status -eq 0 && as_status
=1
366 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
367 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
369 $as_echo "$as_me: error: $1" >&2
370 as_fn_exit
$as_status
373 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
374 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
380 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
386 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
392 as_me
=`$as_basename -- "$0" ||
393 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
394 X"$0" : 'X\(//\)$' \| \
395 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
397 sed '/^.*\/\([^/][^/]*\)\/*$/{
411 # Avoid depending upon Character Ranges.
412 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
413 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
414 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
415 as_cr_digits
='0123456789'
416 as_cr_alnum
=$as_cr_Letters$as_cr_digits
419 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
420 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
421 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
422 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
423 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
435 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
439 chmod +x
"$as_me.lineno" ||
440 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
442 # Don't try to exec as it changes $[0], causing all sort of problems
443 # (the dirname of $[0] is not the place where we might find the
444 # original and so on. Autoconf is especially sensitive to this).
446 # Exit status is that of the last command.
450 ECHO_C
= ECHO_N
= ECHO_T
=
451 case `echo -n x` in #(((((
453 case `echo 'xy\c'` in
454 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
456 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
463 rm -f conf$$ conf$$.exe conf$$.
file
464 if test -d conf$$.dir
; then
465 rm -f conf$$.dir
/conf$$.
file
468 mkdir conf$$.dir
2>/dev
/null
470 if (echo >conf$$.
file) 2>/dev
/null
; then
471 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
473 # ... but there are two gotchas:
474 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
475 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
476 # In both cases, we have to default to `cp -p'.
477 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
479 elif ln conf$$.
file conf$$
2>/dev
/null
; then
487 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
488 rmdir conf$$.dir
2>/dev
/null
490 if mkdir
-p .
2>/dev
/null
; then
491 as_mkdir_p
='mkdir -p "$as_dir"'
493 test -d .
/-p && rmdir .
/-p
497 if test -x / >/dev
/null
2>&1; then
500 if ls -dL / >/dev
/null
2>&1; then
507 if test -d "$1"; then
513 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
514 ???[sx]*):;;*)false;;esac;fi
518 as_executable_p
=$as_test_x
520 # Sed expression to map a string onto a valid CPP name.
521 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
523 # Sed expression to map a string onto a valid variable name.
524 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
527 exec 7<&0 </dev
/null
6>&1
530 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
531 # so uname gets run too.
532 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
537 ac_default_prefix
=/usr
/local
539 ac_config_libobj_dir
=.
546 # Identity of this package.
554 ac_unique_file
="Makefile.in"
555 # Factoring default headers for most tests.
556 ac_includes_default
="\
558 #ifdef HAVE_SYS_TYPES_H
559 # include <sys/types.h>
561 #ifdef HAVE_SYS_STAT_H
562 # include <sys/stat.h>
568 # ifdef HAVE_STDLIB_H
573 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
578 #ifdef HAVE_STRINGS_H
579 # include <strings.h>
581 #ifdef HAVE_INTTYPES_H
582 # include <inttypes.h>
591 ac_subst_vars
='LTLIBOBJS
705 program_transform_name
718 enable_option_checking
720 enable_maintainer_mode
731 enable_sim_hostendian
732 enable_sim_default_model
733 enable_sim_environment
736 enable_build_warnings
737 enable_sim_build_warnings
740 ac_precious_vars
='build_alias
756 # Initialize some variables set by options.
758 ac_init_version
=false
759 ac_unrecognized_opts
=
761 # The variables have the same names as the options, with
762 # dashes changed to underlines.
770 program_transform_name
=s
,x
,x
,
778 # Installation directory options.
779 # These are left unexpanded so users can "make install exec_prefix=/foo"
780 # and all the variables that are supposed to be based on exec_prefix
781 # by default will actually change.
782 # Use braces instead of parens because sh, perl, etc. also accept them.
783 # (The list follows the same order as the GNU Coding Standards.)
784 bindir
='${exec_prefix}/bin'
785 sbindir
='${exec_prefix}/sbin'
786 libexecdir
='${exec_prefix}/libexec'
787 datarootdir
='${prefix}/share'
788 datadir
='${datarootdir}'
789 sysconfdir
='${prefix}/etc'
790 sharedstatedir
='${prefix}/com'
791 localstatedir
='${prefix}/var'
792 includedir
='${prefix}/include'
793 oldincludedir
='/usr/include'
794 docdir
='${datarootdir}/doc/${PACKAGE}'
795 infodir
='${datarootdir}/info'
800 libdir
='${exec_prefix}/lib'
801 localedir
='${datarootdir}/locale'
802 mandir
='${datarootdir}/man'
808 # If the previous option needs an argument, assign it.
809 if test -n "$ac_prev"; then
810 eval $ac_prev=\
$ac_option
816 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
820 # Accept the important Cygnus configure options, so we can diagnose typos.
822 case $ac_dashdash$ac_option in
826 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
828 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
831 -build |
--build |
--buil |
--bui |
--bu)
832 ac_prev
=build_alias
;;
833 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
834 build_alias
=$ac_optarg ;;
836 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
837 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
838 ac_prev
=cache_file
;;
839 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
840 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
841 cache_file
=$ac_optarg ;;
844 cache_file
=config.cache
;;
846 -datadir |
--datadir |
--datadi |
--datad)
848 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
849 datadir
=$ac_optarg ;;
851 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
852 |
--dataroo |
--dataro |
--datar)
853 ac_prev
=datarootdir
;;
854 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
855 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
856 datarootdir
=$ac_optarg ;;
858 -disable-* |
--disable-*)
859 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
860 # Reject names that are not valid shell variable names.
861 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
862 as_fn_error
"invalid feature name: $ac_useropt"
863 ac_useropt_orig
=$ac_useropt
864 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
865 case $ac_user_opts in
869 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
870 ac_unrecognized_sep
=', ';;
872 eval enable_
$ac_useropt=no
;;
874 -docdir |
--docdir |
--docdi |
--doc |
--do)
876 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
879 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
881 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
884 -enable-* |
--enable-*)
885 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
886 # Reject names that are not valid shell variable names.
887 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
888 as_fn_error
"invalid feature name: $ac_useropt"
889 ac_useropt_orig
=$ac_useropt
890 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
891 case $ac_user_opts in
895 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
896 ac_unrecognized_sep
=', ';;
898 eval enable_
$ac_useropt=\
$ac_optarg ;;
900 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
901 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
902 |
--exec |
--exe |
--ex)
903 ac_prev
=exec_prefix
;;
904 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
905 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
906 |
--exec=* |
--exe=* |
--ex=*)
907 exec_prefix
=$ac_optarg ;;
909 -gas |
--gas |
--ga |
--g)
910 # Obsolete; use --with-gas.
913 -help |
--help |
--hel |
--he |
-h)
915 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
916 ac_init_help
=recursive
;;
917 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
918 ac_init_help
=short
;;
920 -host |
--host |
--hos |
--ho)
921 ac_prev
=host_alias
;;
922 -host=* |
--host=* |
--hos=* |
--ho=*)
923 host_alias
=$ac_optarg ;;
925 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
927 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
929 htmldir
=$ac_optarg ;;
931 -includedir |
--includedir |
--includedi |
--included |
--include \
932 |
--includ |
--inclu |
--incl |
--inc)
933 ac_prev
=includedir
;;
934 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
935 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
936 includedir
=$ac_optarg ;;
938 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
940 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
941 infodir
=$ac_optarg ;;
943 -libdir |
--libdir |
--libdi |
--libd)
945 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
948 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
949 |
--libexe |
--libex |
--libe)
950 ac_prev
=libexecdir
;;
951 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
952 |
--libexe=* |
--libex=* |
--libe=*)
953 libexecdir
=$ac_optarg ;;
955 -localedir |
--localedir |
--localedi |
--localed |
--locale)
957 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
958 localedir
=$ac_optarg ;;
960 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
961 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
962 ac_prev
=localstatedir
;;
963 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
964 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
965 localstatedir
=$ac_optarg ;;
967 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
969 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
973 # Obsolete; use --without-fp.
976 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
977 |
--no-cr |
--no-c |
-n)
980 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
981 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
984 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
985 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
986 |
--oldin |
--oldi |
--old |
--ol |
--o)
987 ac_prev
=oldincludedir
;;
988 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
989 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
990 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
991 oldincludedir
=$ac_optarg ;;
993 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
995 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
998 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
999 |
--program-pre |
--program-pr |
--program-p)
1000 ac_prev
=program_prefix
;;
1001 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1002 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1003 program_prefix
=$ac_optarg ;;
1005 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1006 |
--program-suf |
--program-su |
--program-s)
1007 ac_prev
=program_suffix
;;
1008 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1009 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1010 program_suffix
=$ac_optarg ;;
1012 -program-transform-name |
--program-transform-name \
1013 |
--program-transform-nam |
--program-transform-na \
1014 |
--program-transform-n |
--program-transform- \
1015 |
--program-transform |
--program-transfor \
1016 |
--program-transfo |
--program-transf \
1017 |
--program-trans |
--program-tran \
1018 |
--progr-tra |
--program-tr |
--program-t)
1019 ac_prev
=program_transform_name
;;
1020 -program-transform-name=* |
--program-transform-name=* \
1021 |
--program-transform-nam=* |
--program-transform-na=* \
1022 |
--program-transform-n=* |
--program-transform-=* \
1023 |
--program-transform=* |
--program-transfor=* \
1024 |
--program-transfo=* |
--program-transf=* \
1025 |
--program-trans=* |
--program-tran=* \
1026 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1027 program_transform_name
=$ac_optarg ;;
1029 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1031 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1032 pdfdir
=$ac_optarg ;;
1034 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1036 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1039 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1040 |
-silent |
--silent |
--silen |
--sile |
--sil)
1043 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1045 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1047 sbindir
=$ac_optarg ;;
1049 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1050 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1051 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1053 ac_prev
=sharedstatedir
;;
1054 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1055 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1056 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1058 sharedstatedir
=$ac_optarg ;;
1060 -site |
--site |
--sit)
1062 -site=* |
--site=* |
--sit=*)
1065 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1067 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1068 srcdir
=$ac_optarg ;;
1070 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1071 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1072 ac_prev
=sysconfdir
;;
1073 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1074 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1075 sysconfdir
=$ac_optarg ;;
1077 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1078 ac_prev
=target_alias
;;
1079 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1080 target_alias
=$ac_optarg ;;
1082 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1085 -version |
--version |
--versio |
--versi |
--vers |
-V)
1086 ac_init_version
=: ;;
1089 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1090 # Reject names that are not valid shell variable names.
1091 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1092 as_fn_error
"invalid package name: $ac_useropt"
1093 ac_useropt_orig
=$ac_useropt
1094 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1095 case $ac_user_opts in
1099 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1100 ac_unrecognized_sep
=', ';;
1102 eval with_
$ac_useropt=\
$ac_optarg ;;
1104 -without-* |
--without-*)
1105 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1106 # Reject names that are not valid shell variable names.
1107 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1108 as_fn_error
"invalid package name: $ac_useropt"
1109 ac_useropt_orig
=$ac_useropt
1110 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1111 case $ac_user_opts in
1115 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1116 ac_unrecognized_sep
=', ';;
1118 eval with_
$ac_useropt=no
;;
1121 # Obsolete; use --with-x.
1124 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1125 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1126 ac_prev
=x_includes
;;
1127 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1128 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1129 x_includes
=$ac_optarg ;;
1131 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1132 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1133 ac_prev
=x_libraries
;;
1134 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1135 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1136 x_libraries
=$ac_optarg ;;
1138 -*) as_fn_error
"unrecognized option: \`$ac_option'
1139 Try \`$0 --help' for more information."
1143 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1144 # Reject names that are not valid shell variable names.
1145 case $ac_envvar in #(
1146 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1147 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1149 eval $ac_envvar=\
$ac_optarg
1150 export $ac_envvar ;;
1153 # FIXME: should be removed in autoconf 3.0.
1154 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1155 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1156 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1157 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1163 if test -n "$ac_prev"; then
1164 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1165 as_fn_error
"missing argument to $ac_option"
1168 if test -n "$ac_unrecognized_opts"; then
1169 case $enable_option_checking in
1171 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1172 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1176 # Check all directory arguments for consistency.
1177 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1178 datadir sysconfdir sharedstatedir localstatedir includedir \
1179 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1180 libdir localedir mandir
1182 eval ac_val
=\$
$ac_var
1183 # Remove trailing slashes.
1186 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1187 eval $ac_var=\
$ac_val;;
1189 # Be sure to have absolute directory names.
1191 [\\/$
]* | ?
:[\\/]* ) continue;;
1192 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1194 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1197 # There might be people who depend on the old broken behavior: `$host'
1198 # used to hold the argument of --host etc.
1199 # FIXME: To remove some day.
1202 target
=$target_alias
1204 # FIXME: To remove some day.
1205 if test "x$host_alias" != x
; then
1206 if test "x$build_alias" = x
; then
1207 cross_compiling
=maybe
1208 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1209 If a cross compiler is detected then cross compile mode will be used." >&2
1210 elif test "x$build_alias" != "x$host_alias"; then
1216 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1218 test "$silent" = yes && exec 6>/dev
/null
1221 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1222 ac_ls_di
=`ls -di .` &&
1223 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1224 as_fn_error
"working directory cannot be determined"
1225 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1226 as_fn_error
"pwd does not report name of working directory"
1229 # Find the source files, if location was not specified.
1230 if test -z "$srcdir"; then
1231 ac_srcdir_defaulted
=yes
1232 # Try the directory containing this script, then the parent directory.
1233 ac_confdir
=`$as_dirname -- "$as_myself" ||
1234 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1235 X"$as_myself" : 'X\(//\)[^/]' \| \
1236 X"$as_myself" : 'X\(//\)$' \| \
1237 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1238 $as_echo X"$as_myself" |
1239 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1257 if test ! -r "$srcdir/$ac_unique_file"; then
1261 ac_srcdir_defaulted
=no
1263 if test ! -r "$srcdir/$ac_unique_file"; then
1264 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1265 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1267 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1269 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1271 # When building in place, set srcdir=.
1272 if test "$ac_abs_confdir" = "$ac_pwd"; then
1275 # Remove unnecessary trailing slashes from srcdir.
1276 # Double slashes in file names in object file debugging info
1277 # mess up M-x gdb in Emacs.
1279 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1281 for ac_var
in $ac_precious_vars; do
1282 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1283 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1284 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1285 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1289 # Report the --help message.
1291 if test "$ac_init_help" = "long"; then
1292 # Omit some internal or obsolete options to make the list less imposing.
1293 # This message is too long to be a string in the A/UX 3.1 sh.
1295 \`configure' configures this package to adapt to many kinds of systems.
1297 Usage: $0 [OPTION]... [VAR=VALUE]...
1299 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1300 VAR=VALUE. See below for descriptions of some of the useful variables.
1302 Defaults for the options are specified in brackets.
1305 -h, --help display this help and exit
1306 --help=short display options specific to this package
1307 --help=recursive display the short help of all the included packages
1308 -V, --version display version information and exit
1309 -q, --quiet, --silent do not print \`checking...' messages
1310 --cache-file=FILE cache test results in FILE [disabled]
1311 -C, --config-cache alias for \`--cache-file=config.cache'
1312 -n, --no-create do not create output files
1313 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1315 Installation directories:
1316 --prefix=PREFIX install architecture-independent files in PREFIX
1317 [$ac_default_prefix]
1318 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1321 By default, \`make install' will install all the files in
1322 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1323 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1324 for instance \`--prefix=\$HOME'.
1326 For better control, use the options below.
1328 Fine tuning of the installation directories:
1329 --bindir=DIR user executables [EPREFIX/bin]
1330 --sbindir=DIR system admin executables [EPREFIX/sbin]
1331 --libexecdir=DIR program executables [EPREFIX/libexec]
1332 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1333 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1334 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1335 --libdir=DIR object code libraries [EPREFIX/lib]
1336 --includedir=DIR C header files [PREFIX/include]
1337 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1338 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1339 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1340 --infodir=DIR info documentation [DATAROOTDIR/info]
1341 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1342 --mandir=DIR man documentation [DATAROOTDIR/man]
1343 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1344 --htmldir=DIR html documentation [DOCDIR]
1345 --dvidir=DIR dvi documentation [DOCDIR]
1346 --pdfdir=DIR pdf documentation [DOCDIR]
1347 --psdir=DIR ps documentation [DOCDIR]
1353 --program-prefix=PREFIX prepend PREFIX to installed program names
1354 --program-suffix=SUFFIX append SUFFIX to installed program names
1355 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1358 --build=BUILD configure
for building on BUILD
[guessed
]
1359 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1360 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1364 if test -n "$ac_init_help"; then
1369 --disable-option-checking ignore unrecognized
--enable/--with options
1370 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1371 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1372 --enable-maintainer-mode Enable developer functionality.
1373 --enable-sim-bswap Use Host specific BSWAP instruction.
1374 --enable-sim-cflags=opts Extra CFLAGS
for use
in building simulator
1375 --enable-sim-debug=opts Enable debugging flags
1376 --enable-sim-stdio Specify whether to use stdio
for console input
/output.
1377 --enable-sim-trace=opts Enable tracing flags
1378 --enable-sim-profile=opts Enable profiling flags
1379 --enable-sim-endian=endian Specify target byte endian orientation.
1380 --enable-sim-alignment=align Specify strict
, nonstrict or forced alignment of memory accesses.
1381 --enable-sim-hostendian=end Specify
host byte endian orientation.
1382 --enable-sim-default-model=model Specify default model to simulate.
1383 --enable-sim-environment=environment Specify mixed
, user
, virtual or operating environment.
1384 --enable-sim-inline=inlines Specify
which functions should be inlined.
1385 --enable-werror treat compile warnings as errors
1386 --enable-build-warnings enable build-time compiler warnings
if gcc is used
1387 --enable-sim-build-warnings
1388 enable SIM specific build-time compiler warnings
if
1390 --enable-sim-hardware=LIST Specify the hardware to be included
in the build.
1393 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1394 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1395 --with-zlib include zlib support
(auto
/yes
/no
) default
=auto
1396 --with-pkgversion=PKG Use PKG
in the version string
in place of
"GDB"
1397 --with-bugurl=URL Direct users to URL to report a bug
1399 Some influential environment variables
:
1400 CC C compiler
command
1401 CFLAGS C compiler flags
1402 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1403 nonstandard directory
<lib dir
>
1404 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1405 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1406 you have headers
in a nonstandard directory
<include dir
>
1408 PKG_CONFIG path to pkg-config utility
1410 directories to add to pkg-config
's search path
1412 path overriding pkg-config's built-in search path
1413 SDL_CFLAGS C compiler flags
for SDL
, overriding pkg-config
1414 SDL_LIBS linker flags
for SDL
, overriding pkg-config
1416 Use these variables to override the choices made by
`configure' or to help
1417 it to find libraries and programs with nonstandard names/locations.
1419 Report bugs to the package provider.
1424 if test "$ac_init_help" = "recursive"; then
1425 # If there are subdirs, report their specific --help.
1426 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1427 test -d "$ac_dir" ||
1428 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1433 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1435 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1436 # A ".." for each directory in $ac_dir_suffix.
1437 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1438 case $ac_top_builddir_sub in
1439 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1440 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1443 ac_abs_top_builddir=$ac_pwd
1444 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1445 # for backward compatibility:
1446 ac_top_builddir=$ac_top_build_prefix
1449 .) # We are building in place.
1451 ac_top_srcdir=$ac_top_builddir_sub
1452 ac_abs_top_srcdir=$ac_pwd ;;
1453 [\\/]* | ?:[\\/]* ) # Absolute name.
1454 ac_srcdir=$srcdir$ac_dir_suffix;
1455 ac_top_srcdir=$srcdir
1456 ac_abs_top_srcdir=$srcdir ;;
1458 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1459 ac_top_srcdir=$ac_top_build_prefix$srcdir
1460 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1462 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1464 cd "$ac_dir" || { ac_status=$?; continue; }
1465 # Check for guested configure.
1466 if test -f "$ac_srcdir/configure.gnu"; then
1468 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1469 elif test -f "$ac_srcdir/configure"; then
1471 $SHELL "$ac_srcdir/configure" --help=recursive
1473 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1475 cd "$ac_pwd" || { ac_status=$?; break; }
1479 test -n "$ac_init_help" && exit $ac_status
1480 if $ac_init_version; then
1483 generated by GNU Autoconf 2.64
1485 Copyright (C) 2009 Free Software Foundation, Inc.
1486 This configure script is free software; the Free Software Foundation
1487 gives unlimited permission to copy, distribute and modify it.
1492 ## ------------------------ ##
1493 ## Autoconf initialization. ##
1494 ## ------------------------ ##
1496 # ac_fn_c_try_compile LINENO
1497 # --------------------------
1498 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1499 ac_fn_c_try_compile ()
1501 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1502 rm -f conftest.$ac_objext
1503 if { { ac_try="$ac_compile"
1505 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1506 *) ac_try_echo
=$ac_try;;
1508 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1509 $as_echo "$ac_try_echo"; } >&5
1510 (eval "$ac_compile") 2>conftest.err
1512 if test -s conftest.err
; then
1513 grep -v '^ *+' conftest.err
>conftest.er1
1514 cat conftest.er1
>&5
1515 mv -f conftest.er1 conftest.err
1517 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1518 test $ac_status = 0; } && {
1519 test -z "$ac_c_werror_flag" ||
1520 test ! -s conftest.err
1521 } && test -s conftest.
$ac_objext; then :
1524 $as_echo "$as_me: failed program was:" >&5
1525 sed 's/^/| /' conftest.
$ac_ext >&5
1529 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1532 } # ac_fn_c_try_compile
1534 # ac_fn_c_try_cpp LINENO
1535 # ----------------------
1536 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1539 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1540 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1542 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1543 *) ac_try_echo=$ac_try;;
1545 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1546 $as_echo "$ac_try_echo"; } >&5
1547 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1549 if test -s conftest.err; then
1550 grep -v '^ *+' conftest.err >conftest.er1
1551 cat conftest.er1 >&5
1552 mv -f conftest.er1 conftest.err
1554 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1555 test $ac_status = 0; } >/dev/null && {
1556 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1557 test ! -s conftest.err
1561 $as_echo "$as_me: failed program was:" >&5
1562 sed 's/^/| /' conftest.$ac_ext >&5
1566 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1571 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1572 # -------------------------------------------------------
1573 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1574 # the include files in INCLUDES and setting the cache variable VAR
1576 ac_fn_c_check_header_mongrel ()
1578 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1579 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1581 $as_echo_n "checking for $2... " >&6; }
1582 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1583 $as_echo_n "(cached) " >&6
1586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1587 $as_echo "$ac_res" >&6; }
1589 # Is the header compilable?
1590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1591 $as_echo_n "checking $2 usability... " >&6; }
1592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1593 /* end confdefs.h. */
1597 if ac_fn_c_try_compile "$LINENO"; then :
1598 ac_header_compiler=yes
1600 ac_header_compiler=no
1602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1604 $as_echo "$ac_header_compiler" >&6; }
1606 # Is the header present?
1607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1608 $as_echo_n "checking $2 presence... " >&6; }
1609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1610 /* end confdefs.h. */
1613 if ac_fn_c_try_cpp "$LINENO"; then :
1614 ac_header_preproc=yes
1616 ac_header_preproc=no
1618 rm -f conftest.err conftest.$ac_ext
1619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1620 $as_echo "$ac_header_preproc" >&6; }
1622 # So? What about this header?
1623 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1625 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1626 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1627 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1628 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1631 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1632 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1633 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1634 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1635 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1636 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1637 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1638 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1639 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1640 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1644 $as_echo_n "checking for $2... " >&6; }
1645 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1646 $as_echo_n "(cached) " >&6
1648 eval "$3=\$ac_header_compiler"
1651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1652 $as_echo "$ac_res" >&6; }
1654 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1656 } # ac_fn_c_check_header_mongrel
1658 # ac_fn_c_try_run LINENO
1659 # ----------------------
1660 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1661 # that executables *can* be run.
1664 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1665 if { { ac_try="$ac_link"
1667 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1668 *) ac_try_echo
=$ac_try;;
1670 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1671 $as_echo "$ac_try_echo"; } >&5
1672 (eval "$ac_link") 2>&5
1674 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1675 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1676 { { case "(($ac_try" in
1677 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1678 *) ac_try_echo=$ac_try;;
1680 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1681 $as_echo "$ac_try_echo"; } >&5
1682 (eval "$ac_try") 2>&5
1684 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1685 test $ac_status = 0; }; }; then :
1688 $as_echo "$as_me: program exited with status $ac_status" >&5
1689 $as_echo "$as_me: failed program was:" >&5
1690 sed 's/^/| /' conftest.$ac_ext >&5
1692 ac_retval=$ac_status
1694 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1695 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1700 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1701 # -------------------------------------------------------
1702 # Tests whether HEADER exists and can be compiled using the include files in
1703 # INCLUDES, setting the cache variable VAR accordingly.
1704 ac_fn_c_check_header_compile ()
1706 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1708 $as_echo_n "checking for $2... " >&6; }
1709 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1710 $as_echo_n "(cached) " >&6
1712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1713 /* end confdefs.h. */
1717 if ac_fn_c_try_compile "$LINENO"; then :
1722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1726 $as_echo "$ac_res" >&6; }
1727 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1729 } # ac_fn_c_check_header_compile
1731 # ac_fn_c_try_link LINENO
1732 # -----------------------
1733 # Try to link conftest.$ac_ext, and return whether this succeeded.
1736 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1737 rm -f conftest.$ac_objext conftest$ac_exeext
1738 if { { ac_try="$ac_link"
1740 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1741 *) ac_try_echo
=$ac_try;;
1743 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1744 $as_echo "$ac_try_echo"; } >&5
1745 (eval "$ac_link") 2>conftest.err
1747 if test -s conftest.err
; then
1748 grep -v '^ *+' conftest.err
>conftest.er1
1749 cat conftest.er1
>&5
1750 mv -f conftest.er1 conftest.err
1752 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1753 test $ac_status = 0; } && {
1754 test -z "$ac_c_werror_flag" ||
1755 test ! -s conftest.err
1756 } && test -s conftest
$ac_exeext && {
1757 test "$cross_compiling" = yes ||
1758 $as_test_x conftest
$ac_exeext
1762 $as_echo "$as_me: failed program was:" >&5
1763 sed 's/^/| /' conftest.
$ac_ext >&5
1767 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1768 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1769 # interfere with the next link command; also delete a directory that is
1770 # left behind by Apple's compiler. We do this before executing the actions.
1771 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1772 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1775 } # ac_fn_c_try_link
1777 # ac_fn_c_check_func LINENO FUNC VAR
1778 # ----------------------------------
1779 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1780 ac_fn_c_check_func
()
1782 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1784 $as_echo_n "checking for $2... " >&6; }
1785 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1786 $as_echo_n "(cached) " >&6
1788 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1789 /* end confdefs.h. */
1790 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1791 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1792 #define $2 innocuous_$2
1794 /* System header to define __stub macros and hopefully few prototypes,
1795 which can conflict with char $2 (); below.
1796 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1797 <limits.h> exists even on freestanding compilers. */
1800 # include <limits.h>
1802 # include <assert.h>
1807 /* Override any GCC internal prototype to avoid an error.
1808 Use char because int might match the return type of a GCC
1809 builtin and then its argument prototype would still apply. */
1814 /* The GNU C library defines this for functions which it implements
1815 to always fail with ENOSYS. Some functions are actually named
1816 something starting with __ and the normal name is an alias. */
1817 #if defined __stub_$2 || defined __stub___$2
1829 if ac_fn_c_try_link
"$LINENO"; then :
1834 rm -f core conftest.err conftest.
$ac_objext \
1835 conftest
$ac_exeext conftest.
$ac_ext
1838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1839 $as_echo "$ac_res" >&6; }
1840 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1842 } # ac_fn_c_check_func
1843 cat >config.log
<<_ACEOF
1844 This file contains any messages produced by compilers while
1845 running configure, to aid debugging if configure makes a mistake.
1847 It was created by $as_me, which was
1848 generated by GNU Autoconf 2.64. Invocation command line was
1860 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1861 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1862 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1863 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1864 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1866 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1867 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1869 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1870 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1871 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1872 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1873 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1874 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1875 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1879 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1883 test -z "$as_dir" && as_dir
=.
1884 $as_echo "PATH: $as_dir"
1900 # Keep a trace of the command line.
1901 # Strip out --no-create and --no-recursion so they do not pile up.
1902 # Strip out --silent because we don't want to record it for future runs.
1903 # Also quote any args containing shell meta-characters.
1904 # Make two passes to allow for proper duplicate-argument suppression.
1908 ac_must_keep_next
=false
1914 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1915 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1916 |
-silent |
--silent |
--silen |
--sile |
--sil)
1919 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1922 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1924 as_fn_append ac_configure_args1
" '$ac_arg'"
1925 if test $ac_must_keep_next = true
; then
1926 ac_must_keep_next
=false
# Got value, back to normal.
1929 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1930 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1931 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1932 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1933 case "$ac_configure_args0 " in
1934 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1937 -* ) ac_must_keep_next
=true
;;
1940 as_fn_append ac_configure_args
" '$ac_arg'"
1945 { ac_configure_args0
=; unset ac_configure_args0
;}
1946 { ac_configure_args1
=; unset ac_configure_args1
;}
1948 # When interrupted or exit'd, cleanup temporary files, and complete
1949 # config.log. We remove comments because anyway the quotes in there
1950 # would cause problems or look ugly.
1951 # WARNING: Use '\'' to represent an apostrophe within the trap.
1952 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1953 trap 'exit_status=$?
1954 # Save into config.log some information that might help in debugging.
1959 ## ---------------- ##
1960 ## Cache variables. ##
1961 ## ---------------- ##
1964 # The following way of writing the cache mishandles newlines in values,
1966 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1967 eval ac_val=\$$ac_var
1971 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1972 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1975 _ | IFS | as_nl) ;; #(
1976 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1977 *) { eval $ac_var=; unset $ac_var;} ;;
1982 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1983 *${as_nl}ac_space=\ *)
1985 "s/'\''/'\''\\\\'\'''\''/g;
1986 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1989 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1997 ## ----------------- ##
1998 ## Output variables. ##
1999 ## ----------------- ##
2002 for ac_var in $ac_subst_vars
2004 eval ac_val=\$$ac_var
2006 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2008 $as_echo "$ac_var='\''$ac_val'\''"
2012 if test -n "$ac_subst_files"; then
2014 ## ------------------- ##
2015 ## File substitutions. ##
2016 ## ------------------- ##
2019 for ac_var
in $ac_subst_files
2021 eval ac_val
=\$
$ac_var
2023 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2025 $as_echo "$ac_var='\''$ac_val'\''"
2030 if test -s confdefs.h; then
2040 test "$ac_signal" != 0 &&
2041 $as_echo "$as_me: caught signal $ac_signal"
2042 $as_echo "$as_me: exit $exit_status"
2044 rm -f core *.core core.conftest.* &&
2045 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2048 for ac_signal
in 1 2 13 15; do
2049 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2053 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2054 rm -f -r conftest
* confdefs.h
2056 $as_echo "/* confdefs.h */" > confdefs.h
2058 # Predefined preprocessor variables.
2060 cat >>confdefs.h
<<_ACEOF
2061 #define PACKAGE_NAME "$PACKAGE_NAME"
2064 cat >>confdefs.h
<<_ACEOF
2065 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2068 cat >>confdefs.h
<<_ACEOF
2069 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2072 cat >>confdefs.h
<<_ACEOF
2073 #define PACKAGE_STRING "$PACKAGE_STRING"
2076 cat >>confdefs.h
<<_ACEOF
2077 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2080 cat >>confdefs.h
<<_ACEOF
2081 #define PACKAGE_URL "$PACKAGE_URL"
2085 # Let the site file select an alternate cache file if it wants to.
2086 # Prefer an explicitly selected file to automatically selected ones.
2089 if test -n "$CONFIG_SITE"; then
2090 ac_site_file1
=$CONFIG_SITE
2091 elif test "x$prefix" != xNONE
; then
2092 ac_site_file1
=$prefix/share
/config.site
2093 ac_site_file2
=$prefix/etc
/config.site
2095 ac_site_file1
=$ac_default_prefix/share
/config.site
2096 ac_site_file2
=$ac_default_prefix/etc
/config.site
2098 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2100 test "x$ac_site_file" = xNONE
&& continue
2101 if test -r "$ac_site_file"; then
2102 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2103 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2104 sed 's/^/| /' "$ac_site_file" >&5
2109 if test -r "$cache_file"; then
2110 # Some versions of bash will fail to source /dev/null (special
2111 # files actually), so we avoid doing that.
2112 if test -f "$cache_file"; then
2113 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2114 $as_echo "$as_me: loading cache $cache_file" >&6;}
2116 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2117 *) .
"./$cache_file";;
2121 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2122 $as_echo "$as_me: creating cache $cache_file" >&6;}
2126 # Check that the precious variables saved in the cache have kept the same
2128 ac_cache_corrupted
=false
2129 for ac_var
in $ac_precious_vars; do
2130 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2131 eval ac_new_set
=\
$ac_env_${ac_var}_set
2132 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2133 eval ac_new_val
=\
$ac_env_${ac_var}_value
2134 case $ac_old_set,$ac_new_set in
2136 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2137 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2138 ac_cache_corrupted
=: ;;
2140 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2141 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2142 ac_cache_corrupted
=: ;;
2145 if test "x$ac_old_val" != "x$ac_new_val"; then
2146 # differences in whitespace do not lead to failure.
2147 ac_old_val_w
=`echo x $ac_old_val`
2148 ac_new_val_w
=`echo x $ac_new_val`
2149 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2150 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2151 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2152 ac_cache_corrupted
=:
2154 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2155 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2156 eval $ac_var=\
$ac_old_val
2158 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2159 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2160 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2161 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2164 # Pass precious variables to config.status.
2165 if test "$ac_new_set" = set; then
2167 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2168 *) ac_arg
=$ac_var=$ac_new_val ;;
2170 case " $ac_configure_args " in
2171 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2172 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2176 if $ac_cache_corrupted; then
2177 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2178 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2179 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2180 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2181 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2183 ## -------------------- ##
2184 ## Main body of script. ##
2185 ## -------------------- ##
2188 ac_cpp
='$CPP $CPPFLAGS'
2189 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2190 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2191 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2194 # This file contains common code used by all simulators.
2196 # SIM_AC_COMMON invokes AC macros used by all simulators and by the common
2197 # directory. It is intended to be invoked before any target specific stuff.
2198 # SIM_AC_OUTPUT is a cover function to AC_OUTPUT to generate the Makefile.
2199 # It is intended to be invoked last.
2201 # The simulator's configure.in should look like:
2203 # dnl Process this file with autoconf to produce a configure script.
2204 # AC_PREREQ(2.64)dnl
2205 # AC_INIT(Makefile.in)
2206 # sinclude(../common/aclocal.m4)
2210 # ... target specific stuff ...
2214 # Include global overrides and fixes for Autoconf.
2241 # _AC_CHECK_DECL_BODY
2242 # -------------------
2243 # Shell function body for AC_CHECK_DECL.
2244 # _AC_CHECK_DECL_BODY
2246 # _AC_CHECK_DECLS(SYMBOL, ACTION-IF_FOUND, ACTION-IF-NOT-FOUND,
2248 # -------------------------------------------------------------
2249 # Helper to AC_CHECK_DECLS, which generates the check for a single
2250 # SYMBOL with INCLUDES, performs the AC_DEFINE, then expands
2251 # ACTION-IF-FOUND or ACTION-IF-NOT-FOUND.
2264 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2007
2265 # Free Software Foundation, Inc.
2267 # This file is free software; the Free Software Foundation
2268 # gives unlimited permission to copy and/or distribute it,
2269 # with or without modifications, as long as this notice is preserved.
2273 # Based on depend.m4 from automake 1.9, modified for standalone use in
2274 # an environment where GNU make is required.
2276 # ZW_PROG_COMPILER_DEPENDENCIES
2277 # -----------------------------
2278 # Variant of _AM_DEPENDENCIES which just does the dependency probe and
2279 # sets fooDEPMODE accordingly. Cache-variable compatible with
2280 # original; not side-effect compatible. As the users of this macro
2281 # may require accurate dependencies for correct builds, it does *not*
2282 # honor --disable-dependency-checking, and failure to detect a usable
2283 # method is an error. depcomp is assumed to be located in
2286 # FIXME: Should use the Autoconf 2.5x language-selection mechanism.
2292 # Choose a directory name for dependency files.
2297 # As AM_SET_DEPDIR, but also create the directory at config.status time.
2348 sim_inline
="-DDEFAULT_INLINE=0"
2385 # intl sister-directory configuration rules.
2388 # The idea behind this macro is that there's no need to repeat all the
2389 # autoconf probes done by the intl directory - it's already done them
2390 # for us. In fact, there's no need even to look at the cache for the
2391 # answers. All we need to do is nab a few pieces of information.
2392 # The intl directory is set up to make this easy, by generating a
2393 # small file which can be sourced as a shell script; then we produce
2394 # the necessary substitutions and definitions for this directory.
2398 # Autoconf M4 include file defining utility macros for complex Canadian
2410 # _NCN_TOOL_PREFIXES: Some stuff that oughtta be done in AC_CANONICAL_SYSTEM
2412 # These demand that AC_CANONICAL_SYSTEM be called beforehand.
2415 # NCN_STRICT_CHECK_TOOLS(variable, progs-to-check-for,[value-if-not-found],[path])
2416 # Like plain AC_CHECK_TOOLS, but require prefix if build!=host.
2420 # NCN_STRICT_CHECK_TARGET_TOOLS(variable, progs-to-check-for,[value-if-not-found],[path])
2421 # Like CVS Autoconf AC_CHECK_TARGET_TOOLS, but require prefix if build!=target.
2425 # Backported from Autoconf 2.5x; can go away when and if
2426 # we switch. Put the OS path separator in $PATH_SEPARATOR.
2431 # ACX_HAVE_GCC_FOR_TARGET
2432 # Check if the variable GCC_FOR_TARGET really points to a GCC binary.
2435 # ACX_CHECK_INSTALLED_TARGET_TOOL(VAR, PROG)
2436 # Searching for installed target binutils. We need to take extra care,
2437 # else we may find the wrong assembler, linker, etc., and lose.
2439 # First try --with-build-time-tools, if specified.
2441 # For build != host, we ask the installed GCC for the name of the tool it
2442 # uses, and accept it if it is an absolute path. This is because the
2443 # only good choice for a compiler is the same GCC version that is being
2444 # installed (or we couldn't make target libraries), and we assume that
2445 # on the host system we'll have not only the same GCC version, but also
2446 # the same binutils version.
2448 # For build == host, search the same directories that the installed
2449 # compiler will search. We used to do this for the assembler, linker,
2450 # and nm only; for simplicity of configuration, however, we extend this
2451 # criterion to tools (such as ar and ranlib) that are never invoked by
2452 # the compiler, to avoid mismatches.
2454 # Also note we have to check MD_EXEC_PREFIX before checking the user's path
2455 # if build == target. This makes the most sense only when bootstrapping,
2456 # but we also do so when build != host. In this case, we hope that the
2457 # build and host systems will have similar contents of MD_EXEC_PREFIX.
2459 # If we do not find a suitable binary, then try the user's path.
2463 # AC_PROG_CPP_WERROR
2464 # Used for autoconf 2.5x to force AC_PREPROC_IFELSE to reject code which
2465 # triggers warnings from the preprocessor. Will be in autoconf 2.58.
2466 # For now, using this also overrides header checks to use only the
2467 # preprocessor (matches 2.13 behavior; matching 2.58's behavior is a
2468 # bit harder from here).
2469 # Eventually autoconf will default to checking headers with the compiler
2470 # instead, and we'll have to do this differently.
2472 # AC_PROG_CPP_WERROR
2475 # We require the gnatbind & gnatmake programs, as well as a compiler driver
2476 # that understands Ada. We use the user's CC setting, already found, and
2477 # possibly add $1 to the command-line parameters.
2479 # Sets the shell variable have_gnat to yes or no as appropriate, and
2480 # substitutes GNATBIND and GNATMAKE.
2507 ac_cpp
='$CPP $CPPFLAGS'
2508 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2509 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2510 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2511 if test -n "$ac_tool_prefix"; then
2512 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2513 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2515 $as_echo_n "checking for $ac_word... " >&6; }
2516 if test "${ac_cv_prog_CC+set}" = set; then :
2517 $as_echo_n "(cached) " >&6
2519 if test -n "$CC"; then
2520 ac_cv_prog_CC
="$CC" # Let the user override the test.
2522 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2526 test -z "$as_dir" && as_dir
=.
2527 for ac_exec_ext
in '' $ac_executable_extensions; do
2528 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2529 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2530 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2540 if test -n "$CC"; then
2541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2542 $as_echo "$CC" >&6; }
2544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2545 $as_echo "no" >&6; }
2550 if test -z "$ac_cv_prog_CC"; then
2552 # Extract the first word of "gcc", so it can be a program name with args.
2553 set dummy gcc
; ac_word
=$2
2554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2555 $as_echo_n "checking for $ac_word... " >&6; }
2556 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2557 $as_echo_n "(cached) " >&6
2559 if test -n "$ac_ct_CC"; then
2560 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2562 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2566 test -z "$as_dir" && as_dir
=.
2567 for ac_exec_ext
in '' $ac_executable_extensions; do
2568 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2569 ac_cv_prog_ac_ct_CC
="gcc"
2570 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2579 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2580 if test -n "$ac_ct_CC"; then
2581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2582 $as_echo "$ac_ct_CC" >&6; }
2584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2585 $as_echo "no" >&6; }
2588 if test "x$ac_ct_CC" = x
; then
2591 case $cross_compiling:$ac_tool_warned in
2593 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2594 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2595 ac_tool_warned
=yes ;;
2603 if test -z "$CC"; then
2604 if test -n "$ac_tool_prefix"; then
2605 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2606 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2608 $as_echo_n "checking for $ac_word... " >&6; }
2609 if test "${ac_cv_prog_CC+set}" = set; then :
2610 $as_echo_n "(cached) " >&6
2612 if test -n "$CC"; then
2613 ac_cv_prog_CC
="$CC" # Let the user override the test.
2615 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2619 test -z "$as_dir" && as_dir
=.
2620 for ac_exec_ext
in '' $ac_executable_extensions; do
2621 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2622 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2623 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2633 if test -n "$CC"; then
2634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2635 $as_echo "$CC" >&6; }
2637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2638 $as_echo "no" >&6; }
2644 if test -z "$CC"; then
2645 # Extract the first word of "cc", so it can be a program name with args.
2646 set dummy cc
; ac_word
=$2
2647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2648 $as_echo_n "checking for $ac_word... " >&6; }
2649 if test "${ac_cv_prog_CC+set}" = set; then :
2650 $as_echo_n "(cached) " >&6
2652 if test -n "$CC"; then
2653 ac_cv_prog_CC
="$CC" # Let the user override the test.
2656 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2660 test -z "$as_dir" && as_dir
=.
2661 for ac_exec_ext
in '' $ac_executable_extensions; do
2662 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2663 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2664 ac_prog_rejected
=yes
2668 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2675 if test $ac_prog_rejected = yes; then
2676 # We found a bogon in the path, so make sure we never use it.
2677 set dummy
$ac_cv_prog_CC
2679 if test $# != 0; then
2680 # We chose a different compiler from the bogus one.
2681 # However, it has the same basename, so the bogon will be chosen
2682 # first if we set CC to just the basename; use the full file name.
2684 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2690 if test -n "$CC"; then
2691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2692 $as_echo "$CC" >&6; }
2694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2695 $as_echo "no" >&6; }
2700 if test -z "$CC"; then
2701 if test -n "$ac_tool_prefix"; then
2702 for ac_prog
in cl.exe
2704 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2705 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2707 $as_echo_n "checking for $ac_word... " >&6; }
2708 if test "${ac_cv_prog_CC+set}" = set; then :
2709 $as_echo_n "(cached) " >&6
2711 if test -n "$CC"; then
2712 ac_cv_prog_CC
="$CC" # Let the user override the test.
2714 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2718 test -z "$as_dir" && as_dir
=.
2719 for ac_exec_ext
in '' $ac_executable_extensions; do
2720 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2721 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2722 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2732 if test -n "$CC"; then
2733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2734 $as_echo "$CC" >&6; }
2736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2737 $as_echo "no" >&6; }
2741 test -n "$CC" && break
2744 if test -z "$CC"; then
2746 for ac_prog
in cl.exe
2748 # Extract the first word of "$ac_prog", so it can be a program name with args.
2749 set dummy
$ac_prog; ac_word
=$2
2750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2751 $as_echo_n "checking for $ac_word... " >&6; }
2752 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2753 $as_echo_n "(cached) " >&6
2755 if test -n "$ac_ct_CC"; then
2756 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2758 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2762 test -z "$as_dir" && as_dir
=.
2763 for ac_exec_ext
in '' $ac_executable_extensions; do
2764 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2765 ac_cv_prog_ac_ct_CC
="$ac_prog"
2766 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2775 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2776 if test -n "$ac_ct_CC"; then
2777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2778 $as_echo "$ac_ct_CC" >&6; }
2780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2781 $as_echo "no" >&6; }
2785 test -n "$ac_ct_CC" && break
2788 if test "x$ac_ct_CC" = x
; then
2791 case $cross_compiling:$ac_tool_warned in
2793 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2794 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2795 ac_tool_warned
=yes ;;
2804 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2805 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2806 as_fn_error
"no acceptable C compiler found in \$PATH
2807 See \`config.log' for more details." "$LINENO" 5; }
2809 # Provide some information about the compiler.
2810 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2813 for ac_option
in --version -v -V -qversion; do
2814 { { ac_try
="$ac_compiler $ac_option >&5"
2816 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2817 *) ac_try_echo=$ac_try;;
2819 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2820 $as_echo "$ac_try_echo"; } >&5
2821 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2823 if test -s conftest.err; then
2825 ... rest of stderr output deleted ...
2826 10q' conftest.err >conftest.er1
2827 cat conftest.er1 >&5
2828 rm -f conftest.er1 conftest.err
2830 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2831 test $ac_status = 0; }
2834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2835 /* end confdefs.h. */
2845 ac_clean_files_save=$ac_clean_files
2846 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
2847 # Try to create an executable without -o first, disregard a.out.
2848 # It will help us diagnose broken compilers, and finding out an intuition
2850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2851 $as_echo_n "checking for C compiler default output file name... " >&6; }
2852 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2854 # The possible output files:
2855 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2858 for ac_file in $ac_files
2861 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2862 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2867 if { { ac_try="$ac_link_default"
2869 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2870 *) ac_try_echo
=$ac_try;;
2872 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2873 $as_echo "$ac_try_echo"; } >&5
2874 (eval "$ac_link_default") 2>&5
2876 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2877 test $ac_status = 0; }; then :
2878 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2879 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2880 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2881 # so that the user can short-circuit this test for compilers unknown to
2883 for ac_file
in $ac_files ''
2885 test -f "$ac_file" ||
continue
2887 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
2890 # We found the default executable, but exeext='' is most
2894 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2896 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2898 # We set ac_cv_exeext here because the later test for it is not
2899 # safe: cross compilers may not add the suffix if given an `-o'
2900 # argument, so we may need to know it at that point already.
2901 # Even if this section looks crufty: it has the advantage of
2908 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2914 $as_echo "$ac_file" >&6; }
2915 if test -z "$ac_file"; then :
2916 $as_echo "$as_me: failed program was:" >&5
2917 sed 's/^/| /' conftest.
$ac_ext >&5
2919 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2920 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2921 { as_fn_set_status
77
2922 as_fn_error
"C compiler cannot create executables
2923 See \`config.log' for more details." "$LINENO" 5; }; }
2925 ac_exeext
=$ac_cv_exeext
2927 # Check that the compiler produces executables we can run. If not, either
2928 # the compiler is broken, or we cross compile.
2929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2930 $as_echo_n "checking whether the C compiler works... " >&6; }
2931 # If not cross compiling, check that we can run a simple program.
2932 if test "$cross_compiling" != yes; then
2933 if { ac_try
='./$ac_file'
2934 { { case "(($ac_try" in
2935 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2936 *) ac_try_echo=$ac_try;;
2938 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2939 $as_echo "$ac_try_echo"; } >&5
2940 (eval "$ac_try") 2>&5
2942 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2943 test $ac_status = 0; }; }; then
2946 if test "$cross_compiling" = maybe; then
2949 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2950 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2951 as_fn_error "cannot run C compiled programs.
2952 If you meant to cross compile
, use \
`--host'.
2953 See \`config.log
' for more details." "$LINENO" 5; }
2957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2958 $as_echo "yes" >&6; }
2960 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
2961 ac_clean_files=$ac_clean_files_save
2962 # Check that the compiler produces executables we can run. If not, either
2963 # the compiler is broken, or we cross compile.
2964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2965 $as_echo_n "checking whether we are cross compiling... " >&6; }
2966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2967 $as_echo "$cross_compiling" >&6; }
2969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2970 $as_echo_n "checking for suffix of executables... " >&6; }
2971 if { { ac_try="$ac_link"
2973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2974 *) ac_try_echo=$ac_try;;
2976 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2977 $as_echo "$ac_try_echo"; } >&5
2978 (eval "$ac_link") 2>&5
2980 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2981 test $ac_status = 0; }; then :
2982 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2983 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2984 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2986 for ac_file
in conftest.exe conftest conftest.
*; do
2987 test -f "$ac_file" ||
continue
2989 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2990 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2996 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2997 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2998 as_fn_error
"cannot compute suffix of executables: cannot compile and link
2999 See \`config.log' for more details." "$LINENO" 5; }
3001 rm -f conftest
$ac_cv_exeext
3002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3003 $as_echo "$ac_cv_exeext" >&6; }
3005 rm -f conftest.
$ac_ext
3006 EXEEXT
=$ac_cv_exeext
3008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3009 $as_echo_n "checking for suffix of object files... " >&6; }
3010 if test "${ac_cv_objext+set}" = set; then :
3011 $as_echo_n "(cached) " >&6
3013 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3014 /* end confdefs.h. */
3024 rm -f conftest.o conftest.obj
3025 if { { ac_try
="$ac_compile"
3027 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3028 *) ac_try_echo=$ac_try;;
3030 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3031 $as_echo "$ac_try_echo"; } >&5
3032 (eval "$ac_compile") 2>&5
3034 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3035 test $ac_status = 0; }; then :
3036 for ac_file in conftest.o conftest.obj conftest.*; do
3037 test -f "$ac_file" || continue;
3039 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3040 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3045 $as_echo "$as_me: failed program was:" >&5
3046 sed 's/^/| /' conftest.$ac_ext >&5
3048 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3049 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3050 as_fn_error "cannot compute suffix of object files
: cannot compile
3051 See \
`config.log' for more details." "$LINENO" 5; }
3053 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3056 $as_echo "$ac_cv_objext" >&6; }
3057 OBJEXT=$ac_cv_objext
3059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3060 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3061 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3062 $as_echo_n "(cached) " >&6
3064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3065 /* end confdefs.h. */
3078 if ac_fn_c_try_compile "$LINENO"; then :
3083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3084 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3088 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3089 if test $ac_compiler_gnu = yes; then
3094 ac_test_CFLAGS=${CFLAGS+set}
3095 ac_save_CFLAGS=$CFLAGS
3096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3097 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3098 if test "${ac_cv_prog_cc_g+set}" = set; then :
3099 $as_echo_n "(cached) " >&6
3101 ac_save_c_werror_flag=$ac_c_werror_flag
3102 ac_c_werror_flag=yes
3105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3106 /* end confdefs.h. */
3116 if ac_fn_c_try_compile "$LINENO"; then :
3120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3121 /* end confdefs.h. */
3131 if ac_fn_c_try_compile "$LINENO"; then :
3134 ac_c_werror_flag=$ac_save_c_werror_flag
3136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3137 /* end confdefs.h. */
3147 if ac_fn_c_try_compile "$LINENO"; then :
3150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3155 ac_c_werror_flag=$ac_save_c_werror_flag
3157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3158 $as_echo "$ac_cv_prog_cc_g" >&6; }
3159 if test "$ac_test_CFLAGS" = set; then
3160 CFLAGS=$ac_save_CFLAGS
3161 elif test $ac_cv_prog_cc_g = yes; then
3162 if test "$GCC" = yes; then
3168 if test "$GCC" = yes; then
3174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3175 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3176 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3177 $as_echo_n "(cached) " >&6
3179 ac_cv_prog_cc_c89=no
3181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3182 /* end confdefs.h. */
3185 #include <sys/types.h>
3186 #include <sys/stat.h>
3187 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3188 struct buf { int x; };
3189 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3190 static char *e (p, i)
3196 static char *f (char * (*g) (char **, int), char **p, ...)
3201 s = g (p, va_arg (v,int));
3206 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3207 function prototypes and stuff, but not '\xHH' hex character constants.
3208 These don't provoke an error unfortunately, instead are silently treated
3209 as 'x'. The following induces an error, until -std is added to get
3210 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3211 array size at least. It's necessary to write '\x00'==0 to get something
3212 that's true only with -std. */
3213 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3215 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3216 inside strings and character constants. */
3218 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3220 int test (int i, double x);
3221 struct s1 {int (*f) (int a);};
3222 struct s2 {int (*f) (double a);};
3223 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3229 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3234 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3235 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3237 CC="$ac_save_CC $ac_arg"
3238 if ac_fn_c_try_compile "$LINENO"; then :
3239 ac_cv_prog_cc_c89=$ac_arg
3241 rm -f core conftest.err conftest.$ac_objext
3242 test "x$ac_cv_prog_cc_c89" != "xno" && break
3244 rm -f conftest.$ac_ext
3249 case "x$ac_cv_prog_cc_c89" in
3251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3252 $as_echo "none needed" >&6; } ;;
3254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3255 $as_echo "unsupported" >&6; } ;;
3257 CC="$CC $ac_cv_prog_cc_c89"
3258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3259 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3261 if test "x$ac_cv_prog_cc_c89" != xno; then :
3266 ac_cpp='$CPP $CPPFLAGS'
3267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3272 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3273 for ac_t in install-sh install.sh shtool; do
3274 if test -f "$ac_dir/$ac_t"; then
3276 ac_install_sh="$ac_aux_dir/$ac_t -c"
3281 if test -z "$ac_aux_dir"; then
3282 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3285 # These three variables are undocumented and unsupported,
3286 # and are intended to be withdrawn in a future Autoconf release.
3287 # They can cause serious problems if a builder's source tree is in a directory
3288 # whose full name contains unusual characters.
3289 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3290 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3291 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3294 # Make sure we can run config.sub.
3295 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3296 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3299 $as_echo_n "checking build system type... " >&6; }
3300 if test "${ac_cv_build+set}" = set; then :
3301 $as_echo_n "(cached) " >&6
3303 ac_build_alias=$build_alias
3304 test "x$ac_build_alias" = x &&
3305 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3306 test "x$ac_build_alias" = x &&
3307 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
3308 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3309 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3313 $as_echo "$ac_cv_build" >&6; }
3314 case $ac_cv_build in
3316 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
3319 ac_save_IFS=$IFS; IFS='-'
3325 # Remember, the first character of IFS is used to create $*,
3326 # except with old shells:
3329 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
3332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3333 $as_echo_n "checking host system type... " >&6; }
3334 if test "${ac_cv_host+set}" = set; then :
3335 $as_echo_n "(cached) " >&6
3337 if test "x$host_alias" = x; then
3338 ac_cv_host=$ac_cv_build
3340 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3341 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3346 $as_echo "$ac_cv_host" >&6; }
3349 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
3352 ac_save_IFS=$IFS; IFS='-'
3358 # Remember, the first character of IFS is used to create $*,
3359 # except with old shells:
3362 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
3365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3366 $as_echo_n "checking target system type... " >&6; }
3367 if test "${ac_cv_target+set}" = set; then :
3368 $as_echo_n "(cached) " >&6
3370 if test "x$target_alias" = x; then
3371 ac_cv_target=$ac_cv_host
3373 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3374 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3379 $as_echo "$ac_cv_target" >&6; }
3380 case $ac_cv_target in
3382 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
3384 target=$ac_cv_target
3385 ac_save_IFS=$IFS; IFS='-'
3391 # Remember, the first character of IFS is used to create $*,
3392 # except with old shells:
3395 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
3398 # The aliases save the names the user supplied, while $host etc.
3399 # will get canonicalized.
3400 test -n "$target_alias" &&
3401 test "$program_prefix$program_suffix$program_transform_name" = \
3403 program_prefix=${target_alias}-
3406 ac_cpp='$CPP $CPPFLAGS'
3407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3411 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3412 # On Suns, sometimes $CPP names a directory.
3413 if test -n "$CPP" && test -d "$CPP"; then
3416 if test -z "$CPP"; then
3417 if test "${ac_cv_prog_CPP+set}" = set; then :
3418 $as_echo_n "(cached) " >&6
3420 # Double quotes because CPP needs to be expanded
3421 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3424 for ac_c_preproc_warn_flag in '' yes
3426 # Use a header file that comes with gcc, so configuring glibc
3427 # with a fresh cross-compiler works.
3428 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3429 # <limits.h> exists even on freestanding compilers.
3430 # On the NeXT, cc -E runs the code through the compiler's parser,
3431 # not just through cpp. "Syntax error" is here to catch this case.
3432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3433 /* end confdefs.h. */
3435 # include <limits.h>
3437 # include <assert.h>
3441 if ac_fn_c_try_cpp "$LINENO"; then :
3444 # Broken: fails on valid input.
3447 rm -f conftest.err conftest.$ac_ext
3449 # OK, works on sane cases. Now check whether nonexistent headers
3450 # can be detected and how.
3451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3452 /* end confdefs.h. */
3453 #include <ac_nonexistent.h>
3455 if ac_fn_c_try_cpp "$LINENO"; then :
3456 # Broken: success on invalid input.
3459 # Passes both tests.
3463 rm -f conftest.err conftest.$ac_ext
3466 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3467 rm -f conftest.err conftest.
$ac_ext
3468 if $ac_preproc_ok; then :
3480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3481 $as_echo "$CPP" >&6; }
3483 for ac_c_preproc_warn_flag
in '' yes
3485 # Use a header file that comes with gcc, so configuring glibc
3486 # with a fresh cross-compiler works.
3487 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3488 # <limits.h> exists even on freestanding compilers.
3489 # On the NeXT, cc -E runs the code through the compiler's parser,
3490 # not just through cpp. "Syntax error" is here to catch this case.
3491 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3492 /* end confdefs.h. */
3494 # include <limits.h>
3496 # include <assert.h>
3500 if ac_fn_c_try_cpp
"$LINENO"; then :
3503 # Broken: fails on valid input.
3506 rm -f conftest.err conftest.
$ac_ext
3508 # OK, works on sane cases. Now check whether nonexistent headers
3509 # can be detected and how.
3510 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3511 /* end confdefs.h. */
3512 #include <ac_nonexistent.h>
3514 if ac_fn_c_try_cpp
"$LINENO"; then :
3515 # Broken: success on invalid input.
3518 # Passes both tests.
3522 rm -f conftest.err conftest.
$ac_ext
3525 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3526 rm -f conftest.err conftest.
$ac_ext
3527 if $ac_preproc_ok; then :
3530 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3531 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3532 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
3533 See \`config.log' for more details." "$LINENO" 5; }
3537 ac_cpp
='$CPP $CPPFLAGS'
3538 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3539 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3540 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3544 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3545 if test "${ac_cv_path_GREP+set}" = set; then :
3546 $as_echo_n "(cached) " >&6
3548 if test -z "$GREP"; then
3549 ac_path_GREP_found
=false
3550 # Loop through the user's path and test for each of PROGNAME-LIST
3551 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3552 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3555 test -z "$as_dir" && as_dir
=.
3556 for ac_prog
in grep ggrep
; do
3557 for ac_exec_ext
in '' $ac_executable_extensions; do
3558 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3559 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
3560 # Check for GNU ac_path_GREP and select it if it is found.
3561 # Check for GNU $ac_path_GREP
3562 case `"$ac_path_GREP" --version 2>&1` in
3564 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3567 $as_echo_n 0123456789 >"conftest.in"
3570 cat "conftest.in" "conftest.in" >"conftest.tmp"
3571 mv "conftest.tmp" "conftest.in"
3572 cp "conftest.in" "conftest.nl"
3573 $as_echo 'GREP' >> "conftest.nl"
3574 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3575 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3576 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3577 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3578 # Best one so far, save it but keep looking for a better one
3579 ac_cv_path_GREP
="$ac_path_GREP"
3580 ac_path_GREP_max
=$ac_count
3582 # 10*(2^10) chars as input seems more than enough
3583 test $ac_count -gt 10 && break
3585 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3588 $ac_path_GREP_found && break 3
3593 if test -z "$ac_cv_path_GREP"; then
3594 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3597 ac_cv_path_GREP
=$GREP
3601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3602 $as_echo "$ac_cv_path_GREP" >&6; }
3603 GREP
="$ac_cv_path_GREP"
3606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3607 $as_echo_n "checking for egrep... " >&6; }
3608 if test "${ac_cv_path_EGREP+set}" = set; then :
3609 $as_echo_n "(cached) " >&6
3611 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3612 then ac_cv_path_EGREP
="$GREP -E"
3614 if test -z "$EGREP"; then
3615 ac_path_EGREP_found
=false
3616 # Loop through the user's path and test for each of PROGNAME-LIST
3617 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3618 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3621 test -z "$as_dir" && as_dir
=.
3622 for ac_prog
in egrep; do
3623 for ac_exec_ext
in '' $ac_executable_extensions; do
3624 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3625 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
3626 # Check for GNU ac_path_EGREP and select it if it is found.
3627 # Check for GNU $ac_path_EGREP
3628 case `"$ac_path_EGREP" --version 2>&1` in
3630 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3633 $as_echo_n 0123456789 >"conftest.in"
3636 cat "conftest.in" "conftest.in" >"conftest.tmp"
3637 mv "conftest.tmp" "conftest.in"
3638 cp "conftest.in" "conftest.nl"
3639 $as_echo 'EGREP' >> "conftest.nl"
3640 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3641 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3642 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3643 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3644 # Best one so far, save it but keep looking for a better one
3645 ac_cv_path_EGREP
="$ac_path_EGREP"
3646 ac_path_EGREP_max
=$ac_count
3648 # 10*(2^10) chars as input seems more than enough
3649 test $ac_count -gt 10 && break
3651 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3654 $ac_path_EGREP_found && break 3
3659 if test -z "$ac_cv_path_EGREP"; then
3660 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3663 ac_cv_path_EGREP
=$EGREP
3668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3669 $as_echo "$ac_cv_path_EGREP" >&6; }
3670 EGREP
="$ac_cv_path_EGREP"
3673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3674 $as_echo_n "checking for ANSI C header files... " >&6; }
3675 if test "${ac_cv_header_stdc+set}" = set; then :
3676 $as_echo_n "(cached) " >&6
3678 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3679 /* end confdefs.h. */
3693 if ac_fn_c_try_compile
"$LINENO"; then :
3694 ac_cv_header_stdc
=yes
3696 ac_cv_header_stdc
=no
3698 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3700 if test $ac_cv_header_stdc = yes; then
3701 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3702 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3703 /* end confdefs.h. */
3707 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3708 $EGREP "memchr" >/dev
/null
2>&1; then :
3711 ac_cv_header_stdc
=no
3717 if test $ac_cv_header_stdc = yes; then
3718 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3719 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3720 /* end confdefs.h. */
3724 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3725 $EGREP "free" >/dev
/null
2>&1; then :
3728 ac_cv_header_stdc
=no
3734 if test $ac_cv_header_stdc = yes; then
3735 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3736 if test "$cross_compiling" = yes; then :
3739 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3740 /* end confdefs.h. */
3743 #if ((' ' & 0x0FF) == 0x020)
3744 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3745 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3747 # define ISLOWER(c) \
3748 (('a' <= (c) && (c) <= 'i') \
3749 || ('j' <= (c) && (c) <= 'r') \
3750 || ('s' <= (c) && (c) <= 'z'))
3751 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3754 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3759 for (i = 0; i < 256; i++)
3760 if (XOR (islower (i), ISLOWER (i))
3761 || toupper (i) != TOUPPER (i))
3766 if ac_fn_c_try_run
"$LINENO"; then :
3769 ac_cv_header_stdc
=no
3771 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
3772 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
3777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3778 $as_echo "$ac_cv_header_stdc" >&6; }
3779 if test $ac_cv_header_stdc = yes; then
3781 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3785 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3786 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3787 inttypes.h stdint.h unistd.h
3789 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3790 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3792 eval as_val
=\$
$as_ac_Header
3793 if test "x$as_val" = x
""yes; then :
3794 cat >>confdefs.h
<<_ACEOF
3795 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3804 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
3805 if test "x$ac_cv_header_minix_config_h" = x
""yes; then :
3812 if test "$MINIX" = yes; then
3814 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
3817 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
3820 $as_echo "#define _MINIX 1" >>confdefs.h
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
3826 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
3827 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
3828 $as_echo_n "(cached) " >&6
3830 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3831 /* end confdefs.h. */
3833 # define __EXTENSIONS__ 1
3834 $ac_includes_default
3843 if ac_fn_c_try_compile
"$LINENO"; then :
3844 ac_cv_safe_to_define___extensions__
=yes
3846 ac_cv_safe_to_define___extensions__
=no
3848 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
3851 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
3852 test $ac_cv_safe_to_define___extensions__ = yes &&
3853 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
3855 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
3857 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
3859 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
3861 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
3864 test "$program_prefix" != NONE
&&
3865 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
3866 # Use a double $ so make ignores it.
3867 test "$program_suffix" != NONE
&&
3868 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
3869 # Double any \ or $.
3870 # By default was `s,x,x', remove it if useless.
3871 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3872 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
3874 # Find a good install program. We prefer a C program (faster),
3875 # so one script is as good as another. But avoid the broken or
3876 # incompatible versions:
3877 # SysV /etc/install, /usr/sbin/install
3878 # SunOS /usr/etc/install
3879 # IRIX /sbin/install
3881 # AmigaOS /C/install, which installs bootblocks on floppy discs
3882 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3883 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3884 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3885 # OS/2's system install, which has a completely different semantic
3886 # ./install, which can be erroneously created by make from ./install.sh.
3887 # Reject install programs that cannot install multiple files.
3888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3889 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3890 if test -z "$INSTALL"; then
3891 if test "${ac_cv_path_install+set}" = set; then :
3892 $as_echo_n "(cached) " >&6
3894 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3898 test -z "$as_dir" && as_dir
=.
3899 # Account for people who put trailing slashes in PATH elements.
3900 case $as_dir/ in #((
3901 .
/ | .
// |
/[cC
]/* | \
3902 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3903 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
3906 # OSF1 and SCO ODT 3.0 have their own names for install.
3907 # Don't use installbsd from OSF since it installs stuff as root
3909 for ac_prog
in ginstall scoinst
install; do
3910 for ac_exec_ext
in '' $ac_executable_extensions; do
3911 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3912 if test $ac_prog = install &&
3913 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3914 # AIX install. It has an incompatible calling convention.
3916 elif test $ac_prog = install &&
3917 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3918 # program-specific install script used by HP pwplus--don't use.
3921 rm -rf conftest.one conftest.two conftest.dir
3922 echo one
> conftest.one
3923 echo two
> conftest.two
3925 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
3926 test -s conftest.one
&& test -s conftest.two
&&
3927 test -s conftest.dir
/conftest.one
&&
3928 test -s conftest.dir
/conftest.two
3930 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3943 rm -rf conftest.one conftest.two conftest.dir
3946 if test "${ac_cv_path_install+set}" = set; then
3947 INSTALL
=$ac_cv_path_install
3949 # As a last resort, use the slow shell script. Don't cache a
3950 # value for INSTALL within a source directory, because that will
3951 # break other packages using the cache if that directory is
3952 # removed, or if the value is a relative name.
3953 INSTALL
=$ac_install_sh
3956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3957 $as_echo "$INSTALL" >&6; }
3959 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3960 # It thinks the first close brace ends the variable substitution.
3961 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3963 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3965 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3967 rm -rf .tst
2>/dev
/null
3968 mkdir .tst
2>/dev
/null
3969 if test -d .tst
; then
3974 rmdir .tst
2>/dev
/null
3976 DEPDIR
="${am__leading_dot}deps"
3980 # autoconf.info says this should be called right after AC_INIT.
3981 ac_config_headers
="$ac_config_headers config.h:config.in"
3988 # Put a plausible default for CC_FOR_BUILD in Makefile.
3989 if test "x$cross_compiling" = "xno"; then
3990 CC_FOR_BUILD
='$(CC)'
4000 if test -n "$ac_tool_prefix"; then
4001 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4002 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4004 $as_echo_n "checking for $ac_word... " >&6; }
4005 if test "${ac_cv_prog_RANLIB+set}" = set; then :
4006 $as_echo_n "(cached) " >&6
4008 if test -n "$RANLIB"; then
4009 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4011 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4015 test -z "$as_dir" && as_dir
=.
4016 for ac_exec_ext
in '' $ac_executable_extensions; do
4017 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4018 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4019 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4028 RANLIB
=$ac_cv_prog_RANLIB
4029 if test -n "$RANLIB"; then
4030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4031 $as_echo "$RANLIB" >&6; }
4033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4034 $as_echo "no" >&6; }
4039 if test -z "$ac_cv_prog_RANLIB"; then
4040 ac_ct_RANLIB
=$RANLIB
4041 # Extract the first word of "ranlib", so it can be a program name with args.
4042 set dummy ranlib
; ac_word
=$2
4043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4044 $as_echo_n "checking for $ac_word... " >&6; }
4045 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
4046 $as_echo_n "(cached) " >&6
4048 if test -n "$ac_ct_RANLIB"; then
4049 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4051 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4055 test -z "$as_dir" && as_dir
=.
4056 for ac_exec_ext
in '' $ac_executable_extensions; do
4057 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4058 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4059 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4068 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4069 if test -n "$ac_ct_RANLIB"; then
4070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4071 $as_echo "$ac_ct_RANLIB" >&6; }
4073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4074 $as_echo "no" >&6; }
4077 if test "x$ac_ct_RANLIB" = x
; then
4080 case $cross_compiling:$ac_tool_warned in
4082 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4083 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4084 ac_tool_warned
=yes ;;
4086 RANLIB
=$ac_ct_RANLIB
4089 RANLIB
="$ac_cv_prog_RANLIB"
4093 # Dependency checking.
4094 ac_config_commands
="$ac_config_commands depdir"
4097 depcc
="$CC" am_compiler_list
=
4099 am_depcomp
=$ac_aux_dir/depcomp
4100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4101 $as_echo_n "checking dependency style of $depcc... " >&6; }
4102 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4103 $as_echo_n "(cached) " >&6
4105 if test -f "$am_depcomp"; then
4106 # We make a subdir and do the tests there. Otherwise we can end up
4107 # making bogus files that we don't know about and never remove. For
4108 # instance it was reported that on HP-UX the gcc test will end up
4109 # making a dummy file named `D' -- because `-MD' means `put the output
4112 # Copy depcomp to subdir because otherwise we won't find it if we're
4113 # using a relative directory.
4114 cp "$am_depcomp" conftest.dir
4116 # We will build objects and dependencies in a subdirectory because
4117 # it helps to detect inapplicable dependency modes. For instance
4118 # both Tru64's cc and ICC support -MD to output dependencies as a
4119 # side effect of compilation, but ICC will put the dependencies in
4120 # the current directory while Tru64 will put them in the object
4124 am_cv_CC_dependencies_compiler_type
=none
4125 if test "$am_compiler_list" = ""; then
4126 am_compiler_list
=`sed -n 's/^\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4128 for depmode
in $am_compiler_list; do
4129 if test $depmode = none
; then break; fi
4131 $as_echo "$as_me:$LINENO: trying $depmode" >&5
4132 # Setup a source with many dependencies, because some compilers
4133 # like to wrap large dependency lists on column 80 (with \), and
4134 # we should not choose a depcomp mode which is confused by this.
4136 # We need to recreate these files for each test, as the compiler may
4137 # overwrite some of them when testing with obscure command lines.
4138 # This happens at least with the AIX C compiler.
4140 for i
in 1 2 3 4 5 6; do
4141 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4142 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4143 # Solaris 8's {/usr,}/bin/sh.
4144 touch sub
/conftst
$i.h
4146 echo "include sub/conftest.Po" > confmf
4148 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4149 # mode. It turns out that the SunPro C++ compiler does not properly
4150 # handle `-M -o', and we need to detect this.
4151 depcmd
="depmode=$depmode \
4152 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4153 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4154 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c"
4155 echo "| $depcmd" |
sed -e 's/ */ /g' >&5
4156 if env
$depcmd > conftest.err
2>&1 &&
4157 grep sub
/conftst6.h sub
/conftest.Po
>>conftest.err
2>&1 &&
4158 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
>>conftest.err
2>&1 &&
4159 ${MAKE-make} -s -f confmf
>>conftest.err
2>&1; then
4160 # icc doesn't choke on unknown options, it will just issue warnings
4161 # or remarks (even with -Werror). So we grep stderr for any message
4162 # that says an option was ignored or not supported.
4163 # When given -MP, icc 7.0 and 7.1 complain thusly:
4164 # icc: Command line warning: ignoring option '-M'; no argument required
4165 # The diagnosis changed in icc 8.0:
4166 # icc: Command line remark: option '-MP' not supported
4167 if (grep 'ignoring option' conftest.err ||
4168 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4169 am_cv_CC_dependencies_compiler_type
=$depmode
4170 $as_echo "$as_me:$LINENO: success" >&5
4174 $as_echo "$as_me:$LINENO: failure, diagnostics are:" >&5
4175 sed -e 's/^/| /' < conftest.err
>&5
4181 am_cv_CC_dependencies_compiler_type
=none
4185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4186 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4187 if test x
${am_cv_CC_dependencies_compiler_type-none} = xnone
4188 then as_fn_error
"no usable dependency style found" "$LINENO" 5
4189 else CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4194 # Check for the 'make' the user wants to use.
4197 # Extract the first word of "$ac_prog", so it can be a program name with args.
4198 set dummy
$ac_prog; ac_word
=$2
4199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4200 $as_echo_n "checking for $ac_word... " >&6; }
4201 if test "${ac_cv_prog_MAKE+set}" = set; then :
4202 $as_echo_n "(cached) " >&6
4204 if test -n "$MAKE"; then
4205 ac_cv_prog_MAKE
="$MAKE" # Let the user override the test.
4207 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4211 test -z "$as_dir" && as_dir
=.
4212 for ac_exec_ext
in '' $ac_executable_extensions; do
4213 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4214 ac_cv_prog_MAKE
="$ac_prog"
4215 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4224 MAKE
=$ac_cv_prog_MAKE
4225 if test -n "$MAKE"; then
4226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKE" >&5
4227 $as_echo "$MAKE" >&6; }
4229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4230 $as_echo "no" >&6; }
4234 test -n "$MAKE" && break
4238 case "`$MAKE --version 2>&1 | sed 1q`" in
4243 if test "$MAKE_IS_GNU" = yes; then
4253 # If we haven't got the data from the intl directory,
4254 # assume NLS is disabled.
4263 if test -f ..
/..
/intl
/config.intl
; then
4264 . ..
/..
/intl
/config.intl
4266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
4267 $as_echo_n "checking whether NLS is requested... " >&6; }
4268 if test x
"$USE_NLS" != xyes
; then
4269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4270 $as_echo "no" >&6; }
4272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4273 $as_echo "yes" >&6; }
4275 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
4278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
4279 $as_echo_n "checking for catalogs to be installed... " >&6; }
4280 # Look for .po and .gmo files in the source directory.
4283 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
4284 # If there aren't any .gmo files the shell will give us the
4285 # literal string "../path/to/srcdir/po/*.gmo" which has to be
4287 case "$cat" in *\
**)
4290 # The quadruple backslash is collapsed to a double backslash
4291 # by the backticks, then collapsed again by the double quotes,
4292 # leaving us with one backslash in the sed expression (right
4293 # before the dot that mustn't act as a wildcard).
4294 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
4295 lang
=`echo $cat | sed -e "s!\\\\.gmo!!"`
4296 # The user is allowed to set LINGUAS to a list of languages to
4297 # install catalogs for. If it's empty that means "all of them."
4298 if test "x$LINGUAS" = x
; then
4299 CATALOGS
="$CATALOGS $cat"
4300 XLINGUAS
="$XLINGUAS $lang"
4302 case "$LINGUAS" in *$lang*)
4303 CATALOGS
="$CATALOGS $cat"
4304 XLINGUAS
="$XLINGUAS $lang"
4310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
4311 $as_echo "$LINGUAS" >&6; }
4324 # Check for common headers.
4325 # FIXME: Seems to me this can cause problems for i386-windows hosts.
4326 # At one point there were hardcoded AC_DEFINE's if ${host} = i386-*-windows*.
4327 for ac_header
in stdlib.h string.h
strings.h unistd.h
time.h
4329 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4330 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4331 eval as_val
=\$
$as_ac_Header
4332 if test "x$as_val" = x
""yes; then :
4333 cat >>confdefs.h
<<_ACEOF
4334 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4341 for ac_header
in sys
/time.h sys
/resource.h
4343 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4344 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4345 eval as_val
=\$
$as_ac_Header
4346 if test "x$as_val" = x
""yes; then :
4347 cat >>confdefs.h
<<_ACEOF
4348 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4355 for ac_header
in fcntl.h fpu_control.h
4357 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4358 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4359 eval as_val
=\$
$as_ac_Header
4360 if test "x$as_val" = x
""yes; then :
4361 cat >>confdefs.h
<<_ACEOF
4362 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4369 for ac_header
in dlfcn.h errno.h sys
/stat.h
4371 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4372 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4373 eval as_val
=\$
$as_ac_Header
4374 if test "x$as_val" = x
""yes; then :
4375 cat >>confdefs.h
<<_ACEOF
4376 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4383 for ac_func
in getrusage
time sigaction __setfpucw
4385 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4386 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
4387 eval as_val
=\$
$as_ac_var
4388 if test "x$as_val" = x
""yes; then :
4389 cat >>confdefs.h
<<_ACEOF
4390 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4397 # Check for socket libraries
4398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bind in -lsocket" >&5
4399 $as_echo_n "checking for bind in -lsocket... " >&6; }
4400 if test "${ac_cv_lib_socket_bind+set}" = set; then :
4401 $as_echo_n "(cached) " >&6
4403 ac_check_lib_save_LIBS
=$LIBS
4404 LIBS
="-lsocket $LIBS"
4405 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4406 /* end confdefs.h. */
4408 /* Override any GCC internal prototype to avoid an error.
4409 Use char because int might match the return type of a GCC
4410 builtin and then its argument prototype would still apply. */
4423 if ac_fn_c_try_link
"$LINENO"; then :
4424 ac_cv_lib_socket_bind
=yes
4426 ac_cv_lib_socket_bind
=no
4428 rm -f core conftest.err conftest.
$ac_objext \
4429 conftest
$ac_exeext conftest.
$ac_ext
4430 LIBS
=$ac_check_lib_save_LIBS
4432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_bind" >&5
4433 $as_echo "$ac_cv_lib_socket_bind" >&6; }
4434 if test "x$ac_cv_lib_socket_bind" = x
""yes; then :
4435 cat >>confdefs.h
<<_ACEOF
4436 #define HAVE_LIBSOCKET 1
4439 LIBS
="-lsocket $LIBS"
4443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
4444 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
4445 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then :
4446 $as_echo_n "(cached) " >&6
4448 ac_check_lib_save_LIBS
=$LIBS
4450 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4451 /* end confdefs.h. */
4453 /* Override any GCC internal prototype to avoid an error.
4454 Use char because int might match the return type of a GCC
4455 builtin and then its argument prototype would still apply. */
4459 char gethostbyname ();
4463 return gethostbyname ();
4468 if ac_fn_c_try_link
"$LINENO"; then :
4469 ac_cv_lib_nsl_gethostbyname
=yes
4471 ac_cv_lib_nsl_gethostbyname
=no
4473 rm -f core conftest.err conftest.
$ac_objext \
4474 conftest
$ac_exeext conftest.
$ac_ext
4475 LIBS
=$ac_check_lib_save_LIBS
4477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
4478 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
4479 if test "x$ac_cv_lib_nsl_gethostbyname" = x
""yes; then :
4480 cat >>confdefs.h
<<_ACEOF
4481 #define HAVE_LIBNSL 1
4489 # BFD conditionally uses zlib, so we must link it in if libbfd does, by
4490 # using the same condition.
4492 # See if the user specified whether he wants zlib support or not.
4494 # Check whether --with-zlib was given.
4495 if test "${with_zlib+set}" = set; then :
4502 if test "$with_zlib" != "no"; then
4503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing zlibVersion" >&5
4504 $as_echo_n "checking for library containing zlibVersion... " >&6; }
4505 if test "${ac_cv_search_zlibVersion+set}" = set; then :
4506 $as_echo_n "(cached) " >&6
4508 ac_func_search_save_LIBS
=$LIBS
4509 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4510 /* end confdefs.h. */
4512 /* Override any GCC internal prototype to avoid an error.
4513 Use char because int might match the return type of a GCC
4514 builtin and then its argument prototype would still apply. */
4518 char zlibVersion ();
4522 return zlibVersion ();
4527 for ac_lib
in '' z
; do
4528 if test -z "$ac_lib"; then
4529 ac_res
="none required"
4532 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
4534 if ac_fn_c_try_link
"$LINENO"; then :
4535 ac_cv_search_zlibVersion
=$ac_res
4537 rm -f core conftest.err conftest.
$ac_objext \
4539 if test "${ac_cv_search_zlibVersion+set}" = set; then :
4543 if test "${ac_cv_search_zlibVersion+set}" = set; then :
4546 ac_cv_search_zlibVersion
=no
4549 LIBS
=$ac_func_search_save_LIBS
4551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_zlibVersion" >&5
4552 $as_echo "$ac_cv_search_zlibVersion" >&6; }
4553 ac_res
=$ac_cv_search_zlibVersion
4554 if test "$ac_res" != no
; then :
4555 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
4556 for ac_header
in zlib.h
4558 ac_fn_c_check_header_mongrel
"$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
4559 if test "x$ac_cv_header_zlib_h" = x
""yes; then :
4560 cat >>confdefs.h
<<_ACEOF
4561 #define HAVE_ZLIB_H 1
4570 if test "$with_zlib" = "yes" -a "$ac_cv_header_zlib_h" != "yes"; then
4571 as_fn_error
"zlib (libz) library was explicitly requested but not found" "$LINENO" 5
4576 .
${srcdir}/..
/..
/bfd
/configure.
host
4580 USE_MAINTAINER_MODE
=no
4581 # Check whether --enable-maintainer-mode was given.
4582 if test "${enable_maintainer_mode+set}" = set; then :
4583 enableval
=$enable_maintainer_mode; case "${enableval}" in
4584 yes) MAINT
="" USE_MAINTAINER_MODE
=yes ;;
4586 *) as_fn_error
"\"--enable-maintainer-mode does not take a value\"" "$LINENO" 5; MAINT
="#" ;;
4588 if test x
"$silent" != x
"yes" && test x
"$MAINT" = x
""; then
4589 echo "Setting maintainer mode" 6>&1
4597 # Check whether --enable-sim-bswap was given.
4598 if test "${enable_sim_bswap+set}" = set; then :
4599 enableval
=$enable_sim_bswap; case "${enableval}" in
4600 yes) sim_bswap
="-DWITH_BSWAP=1 -DUSE_BSWAP=1";;
4601 no
) sim_bswap
="-DWITH_BSWAP=0";;
4602 *) as_fn_error
"\"--enable-sim-bswap does not take a value\"" "$LINENO" 5; sim_bswap
="";;
4604 if test x
"$silent" != x
"yes" && test x
"$sim_bswap" != x
""; then
4605 echo "Setting bswap flags = $sim_bswap" 6>&1
4613 # Check whether --enable-sim-cflags was given.
4614 if test "${enable_sim_cflags+set}" = set; then :
4615 enableval
=$enable_sim_cflags; case "${enableval}" in
4616 yes) sim_cflags
="-O2 -fomit-frame-pointer";;
4617 trace
) as_fn_error
"\"Please use --enable-sim-debug instead.\"" "$LINENO" 5; sim_cflags
="";;
4619 *) sim_cflags
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
4621 if test x
"$silent" != x
"yes" && test x
"$sim_cflags" != x
""; then
4622 echo "Setting sim cflags = $sim_cflags" 6>&1
4630 # Check whether --enable-sim-debug was given.
4631 if test "${enable_sim_debug+set}" = set; then :
4632 enableval
=$enable_sim_debug; case "${enableval}" in
4633 yes) sim_debug
="-DDEBUG=7 -DWITH_DEBUG=7";;
4634 no
) sim_debug
="-DDEBUG=0 -DWITH_DEBUG=0";;
4635 *) sim_debug
="-DDEBUG='(${enableval})' -DWITH_DEBUG='(${enableval})'";;
4637 if test x
"$silent" != x
"yes" && test x
"$sim_debug" != x
""; then
4638 echo "Setting sim debug = $sim_debug" 6>&1
4646 # Check whether --enable-sim-stdio was given.
4647 if test "${enable_sim_stdio+set}" = set; then :
4648 enableval
=$enable_sim_stdio; case "${enableval}" in
4649 yes) sim_stdio
="-DWITH_STDIO=DO_USE_STDIO";;
4650 no
) sim_stdio
="-DWITH_STDIO=DONT_USE_STDIO";;
4651 *) as_fn_error
"\"Unknown value $enableval passed to --enable-sim-stdio\"" "$LINENO" 5; sim_stdio
="";;
4653 if test x
"$silent" != x
"yes" && test x
"$sim_stdio" != x
""; then
4654 echo "Setting stdio flags = $sim_stdio" 6>&1
4662 # Check whether --enable-sim-trace was given.
4663 if test "${enable_sim_trace+set}" = set; then :
4664 enableval
=$enable_sim_trace; case "${enableval}" in
4665 yes) sim_trace
="-DTRACE=1 -DWITH_TRACE=-1";;
4666 no
) sim_trace
="-DTRACE=0 -DWITH_TRACE=0";;
4668 sim_trace
="-DTRACE='(${enableval})' -DWITH_TRACE='(${enableval})'";;
4671 for x
in `echo "$enableval" | sed -e "s/,/ /g"`; do
4672 if test x
"$sim_trace" = x
; then
4673 sim_trace
="-DWITH_TRACE='(TRACE_$x"
4675 sim_trace
="${sim_trace}|TRACE_$x"
4678 sim_trace
="$sim_trace)'" ;;
4680 if test x
"$silent" != x
"yes" && test x
"$sim_trace" != x
""; then
4681 echo "Setting sim trace = $sim_trace" 6>&1
4689 # Check whether --enable-sim-profile was given.
4690 if test "${enable_sim_profile+set}" = set; then :
4691 enableval
=$enable_sim_profile; case "${enableval}" in
4692 yes) sim_profile
="-DPROFILE=1 -DWITH_PROFILE=-1";;
4693 no
) sim_profile
="-DPROFILE=0 -DWITH_PROFILE=0";;
4695 sim_profile
="-DPROFILE='(${enableval})' -DWITH_PROFILE='(${enableval})'";;
4698 for x
in `echo "$enableval" | sed -e "s/,/ /g"`; do
4699 if test x
"$sim_profile" = x
; then
4700 sim_profile
="-DWITH_PROFILE='(PROFILE_$x"
4702 sim_profile
="${sim_profile}|PROFILE_$x"
4705 sim_profile
="$sim_profile)'" ;;
4707 if test x
"$silent" != x
"yes" && test x
"$sim_profile" != x
""; then
4708 echo "Setting sim profile = $sim_profile" 6>&1
4711 sim_profile
="-DPROFILE=1 -DWITH_PROFILE=-1"
4717 # Check whether --with-pkgversion was given.
4718 if test "${with_pkgversion+set}" = set; then :
4719 withval
=$with_pkgversion; case "$withval" in
4720 yes) as_fn_error
"package version not specified" "$LINENO" 5 ;;
4722 *) PKGVERSION
="($withval) " ;;
4733 # Check whether --with-bugurl was given.
4734 if test "${with_bugurl+set}" = set; then :
4735 withval
=$with_bugurl; case "$withval" in
4736 yes) as_fn_error
"bug URL not specified" "$LINENO" 5 ;;
4739 *) BUGURL
="$withval"
4743 BUGURL
="http://www.gnu.org/software/gdb/bugs/"
4753 REPORT_BUGS_TO
="<$BUGURL>"
4754 REPORT_BUGS_TEXI
=@uref
{`echo "$BUGURL" | sed 's/@/@@/g'`}
4761 cat >>confdefs.h
<<_ACEOF
4762 #define PKGVERSION "$PKGVERSION"
4766 cat >>confdefs.h
<<_ACEOF
4767 #define REPORT_BUGS_TO "$REPORT_BUGS_TO"
4771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
4772 $as_echo_n "checking return type of signal handlers... " >&6; }
4773 if test "${ac_cv_type_signal+set}" = set; then :
4774 $as_echo_n "(cached) " >&6
4776 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4777 /* end confdefs.h. */
4778 #include <sys/types.h>
4784 return *(signal (0, 0)) (0) == 1;
4789 if ac_fn_c_try_compile
"$LINENO"; then :
4790 ac_cv_type_signal
=int
4792 ac_cv_type_signal
=void
4794 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
4797 $as_echo "$ac_cv_type_signal" >&6; }
4799 cat >>confdefs.h
<<_ACEOF
4800 #define RETSIGTYPE $ac_cv_type_signal
4810 sim_link_links
=tconfig.h
4811 if test -f ${srcdir}/tconfig.
in
4813 sim_link_files
=tconfig.
in
4815 sim_link_files
=..
/common
/tconfig.
in
4818 # targ-vals.def points to the libc macro description file.
4820 *-*-*) TARG_VALS_DEF
=..
/common
/nltvals.def
;;
4822 sim_link_files
="${sim_link_files} ${TARG_VALS_DEF}"
4823 sim_link_links
="${sim_link_links} targ-vals.def"
4828 wire_endian
="LITTLE_ENDIAN"
4830 # Check whether --enable-sim-endian was given.
4831 if test "${enable_sim_endian+set}" = set; then :
4832 enableval
=$enable_sim_endian; case "${enableval}" in
4833 b
*|B
*) sim_endian
="-DWITH_TARGET_BYTE_ORDER=BIG_ENDIAN";;
4834 l
*|L
*) sim_endian
="-DWITH_TARGET_BYTE_ORDER=LITTLE_ENDIAN";;
4835 yes) if test x
"$wire_endian" != x
; then
4836 sim_endian
="-DWITH_TARGET_BYTE_ORDER=${wire_endian}"
4838 if test x
"$default_endian" != x
; then
4839 sim_endian
="-DWITH_TARGET_BYTE_ORDER=${default_endian}"
4841 echo "No hard-wired endian for target $target" 1>&6
4842 sim_endian
="-DWITH_TARGET_BYTE_ORDER=0"
4845 no
) if test x
"$default_endian" != x
; then
4846 sim_endian
="-DWITH_DEFAULT_TARGET_BYTE_ORDER=${default_endian}"
4848 if test x
"$wire_endian" != x
; then
4849 sim_endian
="-DWITH_DEFAULT_TARGET_BYTE_ORDER=${wire_endian}"
4851 echo "No default endian for target $target" 1>&6
4852 sim_endian
="-DWITH_DEFAULT_TARGET_BYTE_ORDER=0"
4855 *) as_fn_error
"\"Unknown value $enableval for --enable-sim-endian\"" "$LINENO" 5; sim_endian
="";;
4857 if test x
"$silent" != x
"yes" && test x
"$sim_endian" != x
""; then
4858 echo "Setting endian flags = $sim_endian" 6>&1
4861 if test x
"$default_endian" != x
; then
4862 sim_endian
="-DWITH_DEFAULT_TARGET_BYTE_ORDER=${default_endian}"
4864 if test x
"$wire_endian" != x
; then
4865 sim_endian
="-DWITH_TARGET_BYTE_ORDER=${wire_endian}"
4872 wire_alignment
="STRICT_ALIGNMENT"
4873 default_alignment
="STRICT_ALIGNMENT"
4875 # Check whether --enable-sim-alignment was given.
4876 if test "${enable_sim_alignment+set}" = set; then :
4877 enableval
=$enable_sim_alignment; case "${enableval}" in
4878 strict | STRICT
) sim_alignment
="-DWITH_ALIGNMENT=STRICT_ALIGNMENT";;
4879 nonstrict | NONSTRICT
) sim_alignment
="-DWITH_ALIGNMENT=NONSTRICT_ALIGNMENT";;
4880 forced | FORCED
) sim_alignment
="-DWITH_ALIGNMENT=FORCED_ALIGNMENT";;
4881 yes) if test x
"$wire_alignment" != x
; then
4882 sim_alignment
="-DWITH_ALIGNMENT=${wire_alignment}"
4884 if test x
"$default_alignment" != x
; then
4885 sim_alignment
="-DWITH_ALIGNMENT=${default_alignment}"
4887 echo "No hard-wired alignment for target $target" 1>&6
4888 sim_alignment
="-DWITH_ALIGNMENT=0"
4891 no
) if test x
"$default_alignment" != x
; then
4892 sim_alignment
="-DWITH_DEFAULT_ALIGNMENT=${default_alignment}"
4894 if test x
"$wire_alignment" != x
; then
4895 sim_alignment
="-DWITH_DEFAULT_ALIGNMENT=${wire_alignment}"
4897 echo "No default alignment for target $target" 1>&6
4898 sim_alignment
="-DWITH_DEFAULT_ALIGNMENT=0"
4901 *) as_fn_error
"\"Unknown value $enableval passed to --enable-sim-alignment\"" "$LINENO" 5; sim_alignment
="";;
4903 if test x
"$silent" != x
"yes" && test x
"$sim_alignment" != x
""; then
4904 echo "Setting alignment flags = $sim_alignment" 6>&1
4907 if test x
"$default_alignment" != x
; then
4908 sim_alignment
="-DWITH_DEFAULT_ALIGNMENT=${default_alignment}"
4910 if test x
"$wire_alignment" != x
; then
4911 sim_alignment
="-DWITH_ALIGNMENT=${wire_alignment}"
4919 # Check whether --enable-sim-hostendian was given.
4920 if test "${enable_sim_hostendian+set}" = set; then :
4921 enableval
=$enable_sim_hostendian; case "${enableval}" in
4922 no
) sim_hostendian
="-DWITH_HOST_BYTE_ORDER=0";;
4923 b
*|B
*) sim_hostendian
="-DWITH_HOST_BYTE_ORDER=BIG_ENDIAN";;
4924 l
*|L
*) sim_hostendian
="-DWITH_HOST_BYTE_ORDER=LITTLE_ENDIAN";;
4925 *) as_fn_error
"\"Unknown value $enableval for --enable-sim-hostendian\"" "$LINENO" 5; sim_hostendian
="";;
4927 if test x
"$silent" != x
"yes" && test x
"$sim_hostendian" != x
""; then
4928 echo "Setting hostendian flags = $sim_hostendian" 6>&1
4932 if test "x$cross_compiling" = "xno"; then
4933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
4934 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
4935 if test "${ac_cv_c_bigendian+set}" = set; then :
4936 $as_echo_n "(cached) " >&6
4938 ac_cv_c_bigendian
=unknown
4939 # See if we're dealing with a universal compiler.
4940 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4941 /* end confdefs.h. */
4942 #ifndef __APPLE_CC__
4943 not a universal capable compiler
4948 if ac_fn_c_try_compile
"$LINENO"; then :
4950 # Check for potential -arch flags. It is not universal unless
4951 # there are at least two -arch flags with different values.
4954 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
4955 if test -n "$ac_prev"; then
4957 i?
86 | x86_64 | ppc | ppc64
)
4958 if test -z "$ac_arch" ||
test "$ac_arch" = "$ac_word"; then
4961 ac_cv_c_bigendian
=universal
4967 elif test "x$ac_word" = "x-arch"; then
4972 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4973 if test $ac_cv_c_bigendian = unknown
; then
4974 # See if sys/param.h defines the BYTE_ORDER macro.
4975 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4976 /* end confdefs.h. */
4977 #include <sys/types.h>
4978 #include <sys/param.h>
4983 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
4984 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
4993 if ac_fn_c_try_compile
"$LINENO"; then :
4994 # It does; now see whether it defined to BIG_ENDIAN or not.
4995 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4996 /* end confdefs.h. */
4997 #include <sys/types.h>
4998 #include <sys/param.h>
5003 #if BYTE_ORDER != BIG_ENDIAN
5011 if ac_fn_c_try_compile
"$LINENO"; then :
5012 ac_cv_c_bigendian
=yes
5014 ac_cv_c_bigendian
=no
5016 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5018 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5020 if test $ac_cv_c_bigendian = unknown
; then
5021 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
5022 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5023 /* end confdefs.h. */
5029 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
5037 if ac_fn_c_try_compile
"$LINENO"; then :
5038 # It does; now see whether it defined to _BIG_ENDIAN or not.
5039 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5040 /* end confdefs.h. */
5054 if ac_fn_c_try_compile
"$LINENO"; then :
5055 ac_cv_c_bigendian
=yes
5057 ac_cv_c_bigendian
=no
5059 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5061 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5063 if test $ac_cv_c_bigendian = unknown
; then
5064 # Compile a test program.
5065 if test "$cross_compiling" = yes; then :
5066 # Try to guess by grepping values from an object file.
5067 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5068 /* end confdefs.h. */
5069 short int ascii_mm[] =
5070 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
5071 short int ascii_ii[] =
5072 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
5073 int use_ascii (int i) {
5074 return ascii_mm[i] + ascii_ii[i];
5076 short int ebcdic_ii[] =
5077 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
5078 short int ebcdic_mm[] =
5079 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
5080 int use_ebcdic (int i) {
5081 return ebcdic_mm[i] + ebcdic_ii[i];
5088 return use_ascii (foo) == use_ebcdic (foo);
5093 if ac_fn_c_try_compile
"$LINENO"; then :
5094 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
5095 ac_cv_c_bigendian
=yes
5097 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
5098 if test "$ac_cv_c_bigendian" = unknown
; then
5099 ac_cv_c_bigendian
=no
5101 # finding both strings is unlikely to happen, but who knows?
5102 ac_cv_c_bigendian
=unknown
5106 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5108 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5109 /* end confdefs.h. */
5110 $ac_includes_default
5115 /* Are we little or big endian? From Harbison&Steele. */
5119 char c[sizeof (long int)];
5122 return u.c[sizeof (long int) - 1] == 1;
5128 if ac_fn_c_try_run
"$LINENO"; then :
5129 ac_cv_c_bigendian
=no
5131 ac_cv_c_bigendian
=yes
5133 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5134 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
5140 $as_echo "$ac_cv_c_bigendian" >&6; }
5141 case $ac_cv_c_bigendian in #(
5143 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
5149 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
5153 as_fn_error
"unknown endianness
5154 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
5157 if test $ac_cv_c_bigendian = yes; then
5158 sim_hostendian
="-DWITH_HOST_BYTE_ORDER=BIG_ENDIAN"
5160 sim_hostendian
="-DWITH_HOST_BYTE_ORDER=LITTLE_ENDIAN"
5163 sim_hostendian
="-DWITH_HOST_BYTE_ORDER=0"
5168 default_sim_default_model
="bf537"
5169 # Check whether --enable-sim-default-model was given.
5170 if test "${enable_sim_default_model+set}" = set; then :
5171 enableval
=$enable_sim_default_model; case "${enableval}" in
5172 yes|no
) as_fn_error
"\"Missing argument to --enable-sim-default-model\"" "$LINENO" 5;;
5173 *) sim_default_model
="-DWITH_DEFAULT_MODEL='\"${enableval}\"'";;
5175 if test x
"$silent" != x
"yes" && test x
"$sim_default_model" != x
""; then
5176 echo "Setting default model = $sim_default_model" 6>&1
5179 sim_default_model
="-DWITH_DEFAULT_MODEL='\"${default_sim_default_model}\"'"
5184 # Check whether --enable-sim-environment was given.
5185 if test "${enable_sim_environment+set}" = set; then :
5186 enableval
=$enable_sim_environment; case "${enableval}" in
5187 all | ALL
) sim_environment
="-DWITH_ENVIRONMENT=ALL_ENVIRONMENT";;
5188 user | USER
) sim_environment
="-DWITH_ENVIRONMENT=USER_ENVIRONMENT";;
5189 virtual | VIRTUAL
) sim_environment
="-DWITH_ENVIRONMENT=VIRTUAL_ENVIRONMENT";;
5190 operating | OPERATING
) sim_environment
="-DWITH_ENVIRONMENT=OPERATING_ENVIRONMENT";;
5191 *) as_fn_error
"\"Unknown value $enableval passed to --enable-sim-environment\"" "$LINENO" 5;
5192 sim_environment
="";;
5194 if test x
"$silent" != x
"yes" && test x
"$sim_environment" != x
""; then
5195 echo "Setting sim environment = $sim_environment" 6>&1
5198 sim_environment
="-DWITH_ENVIRONMENT=ALL_ENVIRONMENT"
5202 default_sim_inline
=""
5203 # Check whether --enable-sim-inline was given.
5204 if test "${enable_sim_inline+set}" = set; then :
5205 enableval
=$enable_sim_inline; sim_inline
=""
5206 case "$enableval" in
5207 no
) sim_inline
="-DDEFAULT_INLINE=0";;
5208 0) sim_inline
="-DDEFAULT_INLINE=0";;
5209 yes |
2) sim_inline
="-DDEFAULT_INLINE=ALL_C_INLINE";;
5210 1) sim_inline
="-DDEFAULT_INLINE=INLINE_LOCALS";;
5211 *) for x
in `echo "$enableval" | sed -e "s/,/ /g"`; do
5214 *_INLINE
=*) new_flag
="-D$x";;
5215 *=*) new_flag
=`echo "$x" | sed -e "s/=/_INLINE=/" -e "s/^/-D/"`;;
5216 *_INLINE
) new_flag
="-D$x=ALL_C_INLINE";;
5217 *) new_flag
="-D$x""_INLINE=ALL_C_INLINE";;
5219 if test x
"$sim_inline" = x
""; then
5220 sim_inline
="$new_flag"
5222 sim_inline
="$sim_inline $new_flag"
5226 if test x
"$silent" != x
"yes" && test x
"$sim_inline" != x
""; then
5227 echo "Setting inline flags = $sim_inline" 6>&1
5231 if test "x$cross_compiling" = "xno"; then
5232 if test x
"$GCC" != "x" -a x
"${default_sim_inline}" != "x" ; then
5233 sim_inline
="${default_sim_inline}"
5234 if test x
"$silent" != x
"yes"; then
5235 echo "Setting inline flags = $sim_inline" 6>&1
5241 sim_inline
="-DDEFAULT_INLINE=0"
5246 # Check whether --enable-werror was given.
5247 if test "${enable_werror+set}" = set; then :
5248 enableval
=$enable_werror; case "${enableval}" in
5249 yes | y
) ERROR_ON_WARNING
="yes" ;;
5250 no | n
) ERROR_ON_WARNING
="no" ;;
5251 *) as_fn_error
"bad value ${enableval} for --enable-werror" "$LINENO" 5 ;;
5256 # Enable -Werror by default when using gcc
5257 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
5258 ERROR_ON_WARNING
=yes
5262 if test "${ERROR_ON_WARNING}" = yes ; then
5263 # NOTE: Disabled in the sim dir due to most sims generating warnings.
5264 # WERROR_CFLAGS="-Werror"
5268 # The entries after -Wno-pointer-sign are disabled warnings which may
5269 # be enabled in the future, which can not currently be used to build
5271 # NOTE: If you change this list, remember to update
5272 # gdb/doc/gdbint.texinfo.
5273 build_warnings
="-Wall -Wdeclaration-after-statement -Wpointer-arith \
5274 -Wformat-nonliteral -Wno-pointer-sign \
5275 -Wno-unused -Wunused-value -Wunused-function \
5276 -Wno-switch -Wno-char-subscripts -Wmissing-prototypes"
5278 # Enable -Wno-format by default when using gcc on mingw since many
5279 # GCC versions complain about %I64.
5281 *-*-mingw32*) build_warnings
="$build_warnings -Wno-format" ;;
5284 # Check whether --enable-build-warnings was given.
5285 if test "${enable_build_warnings+set}" = set; then :
5286 enableval
=$enable_build_warnings; case "${enableval}" in
5288 no
) build_warnings
="-w";;
5289 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
5290 build_warnings
="${build_warnings} ${t}";;
5291 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
5292 build_warnings
="${t} ${build_warnings}";;
5293 *) build_warnings
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
5295 if test x
"$silent" != x
"yes" && test x
"$build_warnings" != x
""; then
5296 echo "Setting compiler warning flags = $build_warnings" 6>&1
5299 # Check whether --enable-sim-build-warnings was given.
5300 if test "${enable_sim_build_warnings+set}" = set; then :
5301 enableval
=$enable_sim_build_warnings; case "${enableval}" in
5303 no
) build_warnings
="-w";;
5304 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
5305 build_warnings
="${build_warnings} ${t}";;
5306 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
5307 build_warnings
="${t} ${build_warnings}";;
5308 *) build_warnings
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
5310 if test x
"$silent" != x
"yes" && test x
"$build_warnings" != x
""; then
5311 echo "Setting GDB specific compiler warning flags = $build_warnings" 6>&1
5315 if test "x${build_warnings}" != x
-a "x$GCC" = xyes
5317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking compiler warning flags" >&5
5318 $as_echo_n "checking compiler warning flags... " >&6; }
5319 # Separate out the -Werror flag as some files just cannot be
5320 # compiled with it enabled.
5321 for w
in ${build_warnings}; do
5323 -Werr*) WERROR_CFLAGS
=-Werror ;;
5324 *) # Check that GCC accepts it
5325 saved_CFLAGS
="$CFLAGS"
5327 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5328 /* end confdefs.h. */
5338 if ac_fn_c_try_compile
"$LINENO"; then :
5339 WARN_CFLAGS
="${WARN_CFLAGS} $w"
5341 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5342 CFLAGS
="$saved_CFLAGS"
5345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${WARN_CFLAGS} ${WERROR_CFLAGS}" >&5
5346 $as_echo "${WARN_CFLAGS} ${WERROR_CFLAGS}" >&6; }
5350 if test x"yes" = x"yes"; then
5358 hardware="cfi core pal glue
"
5360 hardware="$hardware \
5391 sim_hw_cflags="-DWITH_HW=1"
5393 sim_hw_objs="\$
(SIM_COMMON_HW_OBJS
) `echo $sim_hw | sed -e 's/\([^ ][^ ]*\)/dv-\1.o/g'`"
5394 # Check whether --enable-sim-hardware was given.
5395 if test "${enable_sim_hardware+set}" = set; then :
5396 enableval=$enable_sim_hardware;
5397 case "${enableval}" in
5400 ,*) sim_hw_p=yes; hardware="${hardware} `echo ${enableval} | sed -e 's/,/ /'`";;
5401 *,) sim_hw_p=yes; hardware="`echo ${enableval} | sed -e 's/,/ /'` ${hardware}";;
5402 *) sim_hw_p=yes; hardware="`echo ${enableval} | sed -e 's/,/ /'`"'';;
5404 if test "$sim_hw_p" != yes; then
5406 sim_hw_cflags="-DWITH_HW=0"
5409 sim_hw_cflags="-DWITH_HW=1"
5412 sim_hw_objs="\$
(SIM_COMMON_HW_OBJS
)"
5413 for i in $hardware ; do
5416 *) sim_hw="$sim_hw $i" ; sim_hw_objs="$sim_hw_objs dv-
$i.o
";;
5420 if test x"$silent" != x"yes" && test "$sim_hw_p" = "yes"; then
5421 echo "Setting hardware to
$sim_hw_cflags, $sim_hw, $sim_hw_objs"
5425 if test "$sim_hw_p" != yes; then
5427 sim_hw_cflags="-DWITH_HW=0"
5430 if test x"$silent" != x"yes"; then
5431 echo "Setting hardware to
$sim_hw_cflags, $sim_hw, $sim_hw_objs"
5435 case " $hardware " in
5436 *" cfi
"*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for log2
in -lm" >&5
5437 $as_echo_n "checking
for log2
in -lm...
" >&6; }
5438 if test "${ac_cv_lib_m_log2+set}" = set; then :
5439 $as_echo_n "(cached
) " >&6
5441 ac_check_lib_save_LIBS=$LIBS
5443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5444 /* end confdefs.h. */
5446 /* Override any GCC internal prototype to avoid an error.
5447 Use char because int might match the return type of a GCC
5448 builtin and then its argument prototype would still apply. */
5461 if ac_fn_c_try_link "$LINENO"; then :
5462 ac_cv_lib_m_log2=yes
5466 rm -f core conftest.err conftest.$ac_objext \
5467 conftest$ac_exeext conftest.$ac_ext
5468 LIBS=$ac_check_lib_save_LIBS
5470 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_lib_m_log2" >&5
5471 $as_echo "$ac_cv_lib_m_log2" >&6; }
5472 if test "x
$ac_cv_lib_m_log2" = x""yes; then :
5473 cat >>confdefs.h <<_ACEOF
5484 for ac_func in getuid getgid geteuid getegid setuid setgid mmap munmap kill pread
5486 as_ac_var=`$as_echo "ac_cv_func_
$ac_func" | $as_tr_sh`
5487 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
5488 eval as_val=\$$as_ac_var
5489 if test "x
$as_val" = x""yes; then :
5490 cat >>confdefs.h <<_ACEOF
5491 #define `$as_echo "HAVE_
$ac_func" | $as_tr_cpp` 1
5506 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
5507 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5508 eval as_val=\$$as_ac_Header
5509 if test "x
$as_val" = x""yes; then :
5510 cat >>confdefs.h <<_ACEOF
5511 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
5519 BFIN_SIM_EXTRA_OBJS=
5525 cat >>confdefs.h <<_ACEOF
5526 #define HAVE_DV_SOCKSER 1
5529 BFIN_SIM_EXTRA_OBJS="${BFIN_SIM_EXTRA_OBJS} dv-sockser.o
"
5533 BFIN_SIM_EXTRA_OBJS=${BFIN_SIM_EXTRA_OBJS}
5543 if test "x
$ac_cv_env_PKG_CONFIG_set" != "xset
"; then
5544 if test -n "$ac_tool_prefix"; then
5545 # Extract the first word of "${ac_tool_prefix}pkg-config
", so it can be a program name with args.
5546 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5548 $as_echo_n "checking
for $ac_word...
" >&6; }
5549 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
5550 $as_echo_n "(cached
) " >&6
5554 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
5557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5561 test -z "$as_dir" && as_dir=.
5562 for ac_exec_ext in '' $ac_executable_extensions; do
5563 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5564 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5565 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5575 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
5576 if test -n "$PKG_CONFIG"; then
5577 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $PKG_CONFIG" >&5
5578 $as_echo "$PKG_CONFIG" >&6; }
5580 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5581 $as_echo "no
" >&6; }
5586 if test -z "$ac_cv_path_PKG_CONFIG"; then
5587 ac_pt_PKG_CONFIG=$PKG_CONFIG
5588 # Extract the first word of "pkg-config
", so it can be a program name with args.
5589 set dummy pkg-config; ac_word=$2
5590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5591 $as_echo_n "checking
for $ac_word...
" >&6; }
5592 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
5593 $as_echo_n "(cached
) " >&6
5595 case $ac_pt_PKG_CONFIG in
5597 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
5600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5604 test -z "$as_dir" && as_dir=.
5605 for ac_exec_ext in '' $ac_executable_extensions; do
5606 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5607 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5608 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5618 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
5619 if test -n "$ac_pt_PKG_CONFIG"; then
5620 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_pt_PKG_CONFIG" >&5
5621 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
5623 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5624 $as_echo "no
" >&6; }
5627 if test "x
$ac_pt_PKG_CONFIG" = x; then
5630 case $cross_compiling:$ac_tool_warned in
5632 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5633 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5634 ac_tool_warned=yes ;;
5636 PKG_CONFIG=$ac_pt_PKG_CONFIG
5639 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
5643 if test -n "$PKG_CONFIG"; then
5644 _pkg_min_version=0.9.0
5645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is
at least version
$_pkg_min_version" >&5
5646 $as_echo_n "checking pkg-config is
at least version
$_pkg_min_version...
" >&6; }
5647 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
5648 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
5649 $as_echo "yes" >&6; }
5651 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5652 $as_echo "no
" >&6; }
5658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for SDL
" >&5
5659 $as_echo_n "checking
for SDL...
" >&6; }
5661 if test -n "$SDL_CFLAGS"; then
5662 pkg_cv_SDL_CFLAGS="$SDL_CFLAGS"
5663 elif test -n "$PKG_CONFIG"; then
5664 if test -n "$PKG_CONFIG" && \
5665 { { $as_echo "$as_me:${as_lineno-$LINENO}: \
$PKG_CONFIG --exists --print-errors \"sdl
\""; } >&5
5666 ($PKG_CONFIG --exists --print-errors "sdl
") 2>&5
5668 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5669 test $ac_status = 0; }; then
5670 pkg_cv_SDL_CFLAGS=`$PKG_CONFIG --cflags "sdl
" 2>/dev/null`
5671 test "x$?
" != "x0
" && pkg_failed=yes
5678 if test -n "$SDL_LIBS"; then
5679 pkg_cv_SDL_LIBS="$SDL_LIBS"
5680 elif test -n "$PKG_CONFIG"; then
5681 if test -n "$PKG_CONFIG" && \
5682 { { $as_echo "$as_me:${as_lineno-$LINENO}: \
$PKG_CONFIG --exists --print-errors \"sdl
\""; } >&5
5683 ($PKG_CONFIG --exists --print-errors "sdl
") 2>&5
5685 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5686 test $ac_status = 0; }; then
5687 pkg_cv_SDL_LIBS=`$PKG_CONFIG --libs "sdl
" 2>/dev/null`
5688 test "x$?
" != "x0
" && pkg_failed=yes
5698 if test $pkg_failed = yes; then
5699 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5700 $as_echo "no
" >&6; }
5702 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5703 _pkg_short_errors_supported=yes
5705 _pkg_short_errors_supported=no
5707 if test $_pkg_short_errors_supported = yes; then
5708 SDL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "sdl
" 2>&1`
5710 SDL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "sdl
" 2>&1`
5712 # Put the nasty error message in config.log where it belongs
5713 echo "$SDL_PKG_ERRORS" >&5
5716 elif test $pkg_failed = untried; then
5717 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5718 $as_echo "no
" >&6; }
5721 SDL_CFLAGS=$pkg_cv_SDL_CFLAGS
5722 SDL_LIBS=$pkg_cv_SDL_LIBS
5723 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
5724 $as_echo "yes" >&6; }
5726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for dlopen
in -ldl" >&5
5727 $as_echo_n "checking
for dlopen
in -ldl...
" >&6; }
5728 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
5729 $as_echo_n "(cached
) " >&6
5731 ac_check_lib_save_LIBS=$LIBS
5733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5734 /* end confdefs.h. */
5736 /* Override any GCC internal prototype to avoid an error.
5737 Use char because int might match the return type of a GCC
5738 builtin and then its argument prototype would still apply. */
5751 if ac_fn_c_try_link "$LINENO"; then :
5752 ac_cv_lib_dl_dlopen=yes
5754 ac_cv_lib_dl_dlopen=no
5756 rm -f core conftest.err conftest.$ac_objext \
5757 conftest$ac_exeext conftest.$ac_ext
5758 LIBS=$ac_check_lib_save_LIBS
5760 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_lib_dl_dlopen" >&5
5761 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
5762 if test "x
$ac_cv_lib_dl_dlopen" = x""yes; then :
5764 SDL_CFLAGS="${SDL_CFLAGS} -DHAVE_SDL"
5768 SDL_CFLAGS= SDL_LIBS=
5777 ac_sources="$sim_link_files"
5778 ac_dests="$sim_link_links"
5779 while test -n "$ac_sources"; do
5780 set $ac_dests; ac_dest=$1; shift; ac_dests=$*
5781 set $ac_sources; ac_source=$1; shift; ac_sources=$*
5782 ac_config_links_1="$ac_config_links_1 $ac_dest:$ac_source"
5784 ac_config_links="$ac_config_links $ac_config_links_1"
5787 if grep CGEN_MAINT $srcdir/Makefile.in >/dev/null; then
5788 cgen_breaks="break cgen_rtx_error
";
5791 ac_config_files="$ac_config_files Makefile.sim
:Makefile.
in"
5793 ac_config_files="$ac_config_files Make-common.sim
:..
/common
/Make-common.
in"
5795 ac_config_files="$ac_config_files .gdbinit
:..
/common
/gdbinit.
in"
5797 ac_config_commands="$ac_config_commands Makefile
"
5799 ac_config_commands="$ac_config_commands stamp-h
"
5801 cat >confcache <<\_ACEOF
5802 # This file is a shell script that caches the results of configure
5803 # tests run on this system so they can be shared between configure
5804 # scripts and configure runs, see configure's option --config-cache.
5805 # It is not useful on other systems. If it contains results you don't
5806 # want to keep, you may remove or edit it.
5808 # config.status only pays attention to the cache file if you give it
5809 # the --recheck option to rerun configure.
5811 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5812 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5817 # The following way of writing the cache mishandles newlines in values,
5818 # but we know of no workaround that is simple, portable, and efficient.
5819 # So, we kill variables containing newlines.
5820 # Ultrix sh set writes to stderr and can't be redirected directly,
5821 # and sets the high bit in the cache file unless we assign to the vars.
5823 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5824 eval ac_val=\$$ac_var
5828 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: cache variable
$ac_var contains a newline
" >&5
5829 $as_echo "$as_me: WARNING
: cache variable
$ac_var contains a newline
" >&2;} ;;
5832 _ | IFS | as_nl) ;; #(
5833 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5834 *) { eval $ac_var=; unset $ac_var;} ;;
5840 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5841 *${as_nl}ac_space=\ *)
5842 # `set' does not quote correctly, so add quotes: double-quote
5843 # substitution turns \\\\ into \\, and sed turns \\ into \.
5846 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
5849 # `set' quotes correctly as required by POSIX, so do not add quotes.
5850 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
5859 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5861 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5863 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5864 if test -w "$cache_file"; then
5865 test "x
$cache_file" != "x
/dev
/null
" &&
5866 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache
$cache_file" >&5
5867 $as_echo "$as_me: updating cache
$cache_file" >&6;}
5868 cat confcache >$cache_file
5870 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache
$cache_file" >&5
5871 $as_echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
5876 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
5877 # Let make expand exec_prefix.
5878 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
5880 DEFS=-DHAVE_CONFIG_H
5884 for ac_i in : $LIBOBJS; do test "x
$ac_i" = x: && continue
5885 # 1. Remove the extension, and $U if already installed.
5886 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5887 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5888 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5889 # will be set to the directory where LIBOBJS objects are built.
5890 as_fn_append ac_libobjs " \
${LIBOBJDIR}$ac_i\
$U.
$ac_objext"
5891 as_fn_append ac_ltlibobjs " \
${LIBOBJDIR}$ac_i"'$U.lo'
5895 LTLIBOBJS=$ac_ltlibobjs
5898 if test -z "${GMAKE_TRUE}" && test -z "${GMAKE_FALSE}"; then
5899 as_fn_error "conditional
\"GMAKE
\" was never defined.
5900 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
5904 : ${CONFIG_STATUS=./config.status}
5906 ac_clean_files_save=$ac_clean_files
5907 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5908 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$CONFIG_STATUS" >&5
5909 $as_echo "$as_me: creating
$CONFIG_STATUS" >&6;}
5911 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5913 # Generated by $as_me.
5914 # Run this file to recreate the current configuration.
5915 # Compiler output produced by configure, useful for debugging
5916 # configure, is in config.log if it exists.
5922 SHELL=\${CONFIG_SHELL-$SHELL}
5925 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5926 ## -------------------- ##
5927 ## M4sh Initialization. ##
5928 ## -------------------- ##
5930 # Be more Bourne compatible
5931 DUALCASE=1; export DUALCASE # for MKS sh
5932 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
5935 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5936 # is contrary to our usage. Disable this feature.
5937 alias -g '${1+"$@"}'='"$@
"'
5938 setopt NO_GLOB_SUBST
5940 case `(set -o) 2>/dev/null` in #(
5952 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5953 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5954 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5955 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5956 # Prefer a ksh shell builtin over an external printf program on Solaris,
5957 # but without wasting forks for bash or zsh.
5958 if test -z "$BASH_VERSION$ZSH_VERSION" \
5959 && (test "X
`print -r -- $as_echo`" = "X
$as_echo") 2>/dev/null; then
5960 as_echo='print -r --'
5961 as_echo_n='print -rn --'
5962 elif (test "X
`printf %s $as_echo`" = "X
$as_echo") 2>/dev/null; then
5963 as_echo='printf %s\n'
5964 as_echo_n='printf %s'
5966 if test "X
`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n
$as_echo"; then
5967 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5968 as_echo_n='/usr/ucb/echo -n'
5970 as_echo_body='eval expr "X
$1" : "X
\\(.
*\\)"'
5971 as_echo_n_body='eval
5975 expr "X
$arg" : "X
\\(.
*\\)$as_nl";
5976 arg=`expr "X
$arg" : ".
*$as_nl\\(.
*\\)"`;;
5978 expr "X
$arg" : "X
\\(.
*\\)" | tr -d "$as_nl"
5980 export as_echo_n_body
5981 as_echo_n='sh -c $as_echo_n_body as_echo'
5984 as_echo='sh -c $as_echo_body as_echo'
5987 # The user is always right.
5988 if test "${PATH_SEPARATOR+set}" != set; then
5990 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5991 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5998 # We need space, tab and new line, in precisely that order. Quoting is
5999 # there to prevent editors from complaining about space-tab.
6000 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
6001 # splitting by setting IFS to empty value.)
6004 # Find who we are. Look in the path if we contain no directory separator.
6006 *[\\/]* ) as_myself=$0 ;;
6007 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6011 test -z "$as_dir" && as_dir=.
6012 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6018 # We did not find ourselves, most probably we were run as `sh COMMAND'
6019 # in which case we are not to be found in the path.
6020 if test "x
$as_myself" = x; then
6023 if test ! -f "$as_myself"; then
6024 $as_echo "$as_myself: error
: cannot
find myself
; rerun with an absolute
file name
" >&2
6028 # Unset variables that we do not need and which cause bugs (e.g. in
6029 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "||
exit 1"
6030 # suppresses any "Segmentation fault
" message there. '((' could
6031 # trigger a bug in pdksh 5.2.14.
6032 for as_var in BASH_ENV ENV MAIL MAILPATH
6033 do eval test x\${$as_var+set} = xset \
6034 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
6047 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
6050 # as_fn_error ERROR [LINENO LOG_FD]
6051 # ---------------------------------
6052 # Output "`basename $0`: error
: ERROR
" to stderr. If LINENO and LOG_FD are
6053 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
6054 # script with status $?, using 1 if that was 0.
6057 as_status=$?; test $as_status -eq 0 && as_status=1
6059 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
6060 $as_echo "$as_me:${as_lineno-$LINENO}: error
: $1" >&$3
6062 $as_echo "$as_me: error
: $1" >&2
6063 as_fn_exit $as_status
6067 # as_fn_set_status STATUS
6068 # -----------------------
6069 # Set $? to STATUS, without forking.
6073 } # as_fn_set_status
6077 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
6087 # Portably unset VAR.
6090 { eval $1=; unset $1;}
6092 as_unset=as_fn_unset
6093 # as_fn_append VAR VALUE
6094 # ----------------------
6095 # Append the text in VALUE to the end of the definition contained in VAR. Take
6096 # advantage of any shell optimizations that allow amortized linear growth over
6097 # repeated appends, instead of the typical quadratic growth present in naive
6099 if (eval "as_var
=1; as_var
+=2; test x\
$as_var = x12
") 2>/dev/null; then :
6100 eval 'as_fn_append ()
6111 # as_fn_arith ARG...
6112 # ------------------
6113 # Perform arithmetic evaluation on the ARGs, and store the result in the
6114 # global $as_val. Take advantage of shells that can avoid forks. The arguments
6115 # must be portable across $(()) and expr.
6116 if (eval "test \$
(( 1 + 1 )) = 2") 2>/dev/null; then :
6117 eval 'as_fn_arith ()
6124 as_val=`expr "$@
" || test $? -eq 1`
6129 if expr a : '\(a\)' >/dev/null 2>&1 &&
6130 test "X
`expr 00001 : '.*\(...\)'`" = X001; then
6136 if (basename -- /) >/dev/null 2>&1 && test "X
`basename -- / 2>&1`" = "X
/"; then
6137 as_basename=basename
6142 if (as_dir=`dirname -- /` && test "X
$as_dir" = X/) >/dev/null 2>&1; then
6148 as_me=`$as_basename -- "$0" ||
6149 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6150 X"$0" : 'X\(//\)$' \| \
6151 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6153 sed '/^.*\/\([^/][^/]*\)\/*$/{
6167 # Avoid depending upon Character Ranges.
6168 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6169 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6170 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6171 as_cr_digits='0123456789'
6172 as_cr_alnum=$as_cr_Letters$as_cr_digits
6174 ECHO_C= ECHO_N= ECHO_T=
6175 case `echo -n x` in #(((((
6177 case `echo 'xy\c'` in
6178 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
6180 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
6187 rm -f conf$$ conf$$.exe conf$$.file
6188 if test -d conf$$.dir; then
6189 rm -f conf$$.dir/conf$$.file
6192 mkdir conf$$.dir 2>/dev/null
6194 if (echo >conf$$.file) 2>/dev/null; then
6195 if ln -s conf$$.file conf$$ 2>/dev/null; then
6197 # ... but there are two gotchas:
6198 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6199 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6200 # In both cases, we have to default to `cp -p'.
6201 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
6203 elif ln conf$$.file conf$$ 2>/dev/null; then
6211 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
6212 rmdir conf$$.dir 2>/dev/null
6217 # Create "$as_dir" as a directory, including parents if necessary.
6222 -*) as_dir=./$as_dir;;
6224 test -d "$as_dir" || eval $as_mkdir_p || {
6228 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s
/'/'\\\\\\\\''/g
"`;; #'(
6229 *) as_qdir=$as_dir;;
6231 as_dirs="'$as_qdir' $as_dirs"
6232 as_dir=`$as_dirname -- "$as_dir" ||
6233 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6234 X"$as_dir" : 'X\(//\)[^/]' \| \
6235 X"$as_dir" : 'X\(//\)$' \| \
6236 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6237 $as_echo X"$as_dir" |
6238 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6255 test -d "$as_dir" && break
6257 test -z "$as_dirs" || eval "mkdir
$as_dirs"
6258 } || test -d "$as_dir" || as_fn_error "cannot create directory
$as_dir"
6262 if mkdir -p . 2>/dev/null; then
6263 as_mkdir_p='mkdir -p "$as_dir"'
6265 test -d ./-p && rmdir ./-p
6269 if test -x / >/dev/null 2>&1; then
6272 if ls -dL / >/dev/null 2>&1; then
6279 if test -d "$1"; then
6285 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
6286 ???[sx]*):;;*)false;;esac;fi
6290 as_executable_p=$as_test_x
6292 # Sed expression to map a string onto a valid CPP name.
6293 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6295 # Sed expression to map a string onto a valid variable name.
6296 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6300 ## ----------------------------------- ##
6301 ## Main body of $CONFIG_STATUS script. ##
6302 ## ----------------------------------- ##
6304 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
6306 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6307 # Save the log message, to keep $0 and so on meaningful, and to
6308 # report actual input values of CONFIG_FILES etc. instead of their
6309 # values after options handling.
6311 This
file was extended by
$as_me, which was
6312 generated by GNU Autoconf
2.64. Invocation
command line was
6314 CONFIG_FILES
= $CONFIG_FILES
6315 CONFIG_HEADERS
= $CONFIG_HEADERS
6316 CONFIG_LINKS
= $CONFIG_LINKS
6317 CONFIG_COMMANDS
= $CONFIG_COMMANDS
6320 on
`(hostname || uname -n) 2>/dev/null | sed 1q`
6325 case $ac_config_files in *"
6326 "*) set x $ac_config_files; shift; ac_config_files=$*;;
6329 case $ac_config_headers in *"
6330 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
6334 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6335 # Files that config.status was made for.
6336 config_files="$ac_config_files"
6337 config_headers="$ac_config_headers"
6338 config_links="$ac_config_links"
6339 config_commands="$ac_config_commands"
6343 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6345 \
`$as_me' instantiates files and other configuration actions
6346 from templates according to the current configuration. Unless the files
6347 and actions are specified as TAGs, all are instantiated by default.
6349 Usage: $0 [OPTION]... [TAG]...
6351 -h, --help print this help, then exit
6352 -V, --version print version number and configuration settings, then exit
6353 -q, --quiet, --silent
6354 do not print progress messages
6355 -d, --debug don't remove temporary files
6356 --recheck update $as_me by reconfiguring in the same conditions
6357 --file=FILE[:TEMPLATE]
6358 instantiate the configuration file FILE
6359 --header=FILE[:TEMPLATE]
6360 instantiate the configuration header FILE
6362 Configuration files:
6365 Configuration headers:
6368 Configuration links:
6371 Configuration commands:
6374 Report bugs to the package provider."
6377 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6380 configured by $0, generated by GNU Autoconf 2.64,
6381 with options \\"`$as_echo "$ac_configure_args" |
sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
6383 Copyright (C) 2009 Free Software Foundation, Inc.
6384 This config.status script is free software; the Free Software Foundation
6385 gives unlimited permission to copy, distribute and modify it."
6390 test -n "\$AWK" || AWK=awk
6393 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6394 # The default lists apply if the user does not specify any file.
6400 ac_option=`expr "X$1" : 'X\([^=]*\)='`
6401 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
6412 # Handling of the options.
6413 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6415 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
6416 $as_echo "$ac_cs_version"; exit ;;
6417 --debug | --debu | --deb | --de | --d | -d )
6419 --file | --fil | --fi | --f )
6422 *\'*) ac_optarg=`$as_echo "$ac_optarg" |
sed "s/'/'\\\\\\\\''/g"` ;;
6424 as_fn_append CONFIG_FILES " '$ac_optarg'"
6425 ac_need_defaults=false;;
6426 --header | --heade | --head | --hea )
6429 *\'*) ac_optarg=`$as_echo "$ac_optarg" |
sed "s/'/'\\\\\\\\''/g"` ;;
6431 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
6432 ac_need_defaults=false;;
6434 # Conflict between --help and --header
6435 as_fn_error "ambiguous option: \`$1'
6436 Try \`$0 --help' for more information.
";;
6437 --help | --hel | -h )
6438 $as_echo "$ac_cs_usage"; exit ;;
6439 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6440 | -silent | --silent | --silen | --sile | --sil | --si | --s)
6444 -*) as_fn_error "unrecognized option
: \
`$1'
6445 Try \`$0 --help' for more information." ;;
6447 *) as_fn_append ac_config_targets " $1"
6448 ac_need_defaults=false ;;
6454 ac_configure_extra_args=
6456 if $ac_cs_silent; then
6458 ac_configure_extra_args="$ac_configure_extra_args --silent"
6462 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6463 if \$ac_cs_recheck; then
6464 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6466 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6467 CONFIG_SHELL='$SHELL'
6473 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6477 sed 'h
;s
/.
/-/g
;s
/^...
/## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6478 ## Running $as_me. ##
6484 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6488 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
6492 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6494 # Handling of arguments.
6495 for ac_config_target
in $ac_config_targets
6497 case $ac_config_target in
6498 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
6499 "depdir") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir" ;;
6500 "$ac_config_links_1") CONFIG_LINKS
="$CONFIG_LINKS $ac_config_links_1" ;;
6501 "Makefile.sim") CONFIG_FILES
="$CONFIG_FILES Makefile.sim:Makefile.in" ;;
6502 "Make-common.sim") CONFIG_FILES
="$CONFIG_FILES Make-common.sim:../common/Make-common.in" ;;
6503 ".gdbinit") CONFIG_FILES
="$CONFIG_FILES .gdbinit:../common/gdbinit.in" ;;
6504 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
6505 "stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS stamp-h" ;;
6507 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
6512 # If the user did not use the arguments to specify the items to instantiate,
6513 # then the envvar interface is used. Set only those that are not.
6514 # We use the long form for the default assignment because of an extremely
6515 # bizarre bug on SunOS 4.1.3.
6516 if $ac_need_defaults; then
6517 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
6518 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
6519 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
6520 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
6523 # Have a temporary directory for convenience. Make it in the build tree
6524 # simply because there is no reason against having it here, and in addition,
6525 # creating and moving files from /tmp can sometimes cause problems.
6526 # Hook for its removal unless debugging.
6527 # Note that there is a small window in which the directory will not be cleaned:
6528 # after its creation but before its name has been assigned to `$tmp'.
6532 trap 'exit_status=$?
6533 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
6535 trap 'as_fn_exit 1' 1 2 13 15
6537 # Create a (secure) tmp directory for tmp files.
6540 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6541 test -n "$tmp" && test -d "$tmp"
6544 tmp
=.
/conf$$
-$RANDOM
6545 (umask 077 && mkdir
"$tmp")
6546 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
6548 # Set up the scripts for CONFIG_FILES section.
6549 # No need to generate them if there are no CONFIG_FILES.
6550 # This happens for instance with `./config.status config.h'.
6551 if test -n "$CONFIG_FILES"; then
6554 ac_cr
=`echo X | tr X '\015'`
6555 # On cygwin, bash can eat \r inside `` if the user requested igncr.
6556 # But we know of no other shell where ac_cr would be empty at this
6557 # point, so we can use a bashism as a fallback.
6558 if test "x$ac_cr" = x
; then
6559 eval ac_cr
=\$
\'\\r
\'
6561 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6562 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6568 echo 'BEGIN {' >"$tmp/subs1.awk" &&
6573 echo "cat >conf$$subs.awk <<_ACEOF" &&
6574 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6577 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
6578 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
6580 for ac_last_try in false false false false false :; do
6581 . ./conf$$subs.sh ||
6582 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
6584 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
6585 if test $ac_delim_n = $ac_delim_num; then
6587 elif $ac_last_try; then
6588 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
6590 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
6595 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6596 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
6600 s/^/S["/; s
/!.
*/"]=/
6610 s/\(.\{148\}\).*/\1/
6612 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
6617 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
6624 s/\(.\{148\}\).*/\1/
6626 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
6630 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
6635 ' <conf$$subs.awk | sed '
6640 ' >>$CONFIG_STATUS || ac_write_fail=1
6641 rm -f conf$$subs.awk
6642 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6644 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
6645 for (key in S) S_is_set[key] = 1
6651 nfields = split(line, field, "@
")
6653 len = length(field[1])
6654 for (i = 2; i < nfields; i++) {
6656 keylen = length(key)
6657 if (S_is_set[key]) {
6659 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6660 len += length(value) + length(field[++i])
6671 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6672 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6673 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
6676 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
6677 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
6680 # VPATH may cause trouble with some makes, so we remove $(srcdir),
6681 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
6682 # trailing colons and then remove the whole line if VPATH becomes empty
6683 # (actually we leave an empty line to preserve line numbers).
6684 if test "x
$srcdir" = x.; then
6685 ac_vpsub='/^[ ]*VPATH[ ]*=/{
6689 s/^\([^=]*=[ ]*\):*/\1/
6695 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6696 fi # test -n "$CONFIG_FILES"
6698 # Set up the scripts for CONFIG_HEADERS section.
6699 # No need to generate them if there are no CONFIG_HEADERS.
6700 # This happens for instance with `./config.status Makefile'.
6701 if test -n "$CONFIG_HEADERS"; then
6702 cat >"$tmp/defines.
awk" <<\_ACAWK ||
6706 # Transform confdefs.h into an awk script `defines.awk', embedded as
6707 # here-document in config.status, that substitutes the proper values into
6708 # config.h.in to produce config.h.
6710 # Create a delimiter string that does not exist in confdefs.h, to ease
6711 # handling of long lines.
6713 for ac_last_try in false false :; do
6714 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
6715 if test -z "$ac_t"; then
6717 elif $ac_last_try; then
6718 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
6720 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
6724 # For the awk script, D is an array of macro values keyed by name,
6725 # likewise P contains macro parameters if any. Preserve backslash
6726 # newline sequences.
6728 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6730 s/.\{148\}/&'"$ac_delim"'/g
6733 s/^[ ]*#[ ]*define[ ][ ]*/ /
6740 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
6742 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
6746 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
6747 D["\
1"]=" \
3\\\\\\n
"\\/p
6749 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
6754 s/.\{148\}/&'"$ac_delim"'/g
6759 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
6762 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
6764 ' <confdefs.h | sed '
6765 s/'"$ac_delim"'/"\\\
6766 "/g' >>$CONFIG_STATUS || ac_write_fail=1
6768 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6769 for (key in D) D_is_set[key] = 1
6772 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6774 split(line, arg, " ")
6775 if (arg[1] == "#") {
6779 defundef
= substr
(arg
[1], 2)
6782 split(mac1
, mac2
, "(") #)
6784 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
6785 if (D_is_set
[macro
]) {
6786 # Preserve the white space surrounding the "#".
6787 print prefix
"define", macro P
[macro
] D
[macro
]
6790 # Replace #undef with comments. This is necessary, for example,
6791 # in the case of _POSIX_SOURCE, which is predefined and required
6792 # on some systems where configure will not decide to define it.
6793 if (defundef
== "undef") {
6794 print
"/*", prefix defundef
, macro
, "*/"
6802 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6803 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
6804 fi # test -n "$CONFIG_HEADERS"
6807 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
6812 :[FHLC
]) ac_mode
=$ac_tag; continue;;
6814 case $ac_mode$ac_tag in
6816 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
6817 :[FH
]-) ac_tag
=-:-;;
6818 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
6835 -) ac_f
="$tmp/stdin";;
6836 *) # Look for the file first in the build tree, then in the source tree
6837 # (if the path is not absolute). The absolute path cannot be DOS-style,
6838 # because $ac_f cannot contain `:'.
6842 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
6844 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
6846 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6847 as_fn_append ac_file_inputs
" '$ac_f'"
6850 # Let's still pretend it is `configure' which instantiates (i.e., don't
6851 # use $as_me), people would be surprised to read:
6852 # /* config.h. Generated by config.status. */
6853 configure_input
='Generated from '`
6854 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6856 if test x
"$ac_file" != x-
; then
6857 configure_input
="$ac_file. $configure_input"
6858 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6859 $as_echo "$as_me: creating $ac_file" >&6;}
6861 # Neutralize special characters interpreted by sed in replacement strings.
6862 case $configure_input in #(
6863 *\
&* |
*\|
* |
*\\* )
6864 ac_sed_conf_input
=`$as_echo "$configure_input" |
6865 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6866 *) ac_sed_conf_input
=$configure_input;;
6870 *:-:* |
*:-) cat >"$tmp/stdin" \
6871 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
6876 ac_dir
=`$as_dirname -- "$ac_file" ||
6877 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6878 X"$ac_file" : 'X\(//\)[^/]' \| \
6879 X"$ac_file" : 'X\(//\)$' \| \
6880 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6881 $as_echo X"$ac_file" |
6882 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6899 as_dir
="$ac_dir"; as_fn_mkdir_p
6903 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
6905 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6906 # A ".." for each directory in $ac_dir_suffix.
6907 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6908 case $ac_top_builddir_sub in
6909 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
6910 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
6913 ac_abs_top_builddir
=$ac_pwd
6914 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
6915 # for backward compatibility:
6916 ac_top_builddir
=$ac_top_build_prefix
6919 .
) # We are building in place.
6921 ac_top_srcdir
=$ac_top_builddir_sub
6922 ac_abs_top_srcdir
=$ac_pwd ;;
6923 [\\/]* | ?
:[\\/]* ) # Absolute name.
6924 ac_srcdir
=$srcdir$ac_dir_suffix;
6925 ac_top_srcdir
=$srcdir
6926 ac_abs_top_srcdir
=$srcdir ;;
6928 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
6929 ac_top_srcdir
=$ac_top_build_prefix$srcdir
6930 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
6932 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
6942 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
6943 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
6947 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6948 # If the template does not know about datarootdir, expand it.
6949 # FIXME: This hack should be removed a few years after 2.60.
6950 ac_datarootdir_hack
=; ac_datarootdir_seen
=
6961 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6962 *datarootdir
*) ac_datarootdir_seen
=yes;;
6963 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
6964 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6965 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6967 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6968 ac_datarootdir_hack='
6969 s&@datadir@&$datadir&g
6970 s&@docdir@&$docdir&g
6971 s&@infodir@&$infodir&g
6972 s&@localedir@&$localedir&g
6973 s&@mandir@&$mandir&g
6974 s&\\\${datarootdir}&$datarootdir&g' ;;
6978 # Neutralize VPATH when `$srcdir' = `.'.
6979 # Shell code in configure.ac might set extrasub.
6980 # FIXME: do we really want to maintain this feature?
6981 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6982 ac_sed_extra="$ac_vpsub
6985 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6987 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
6988 s|@configure_input@|
$ac_sed_conf_input|
;t t
6989 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
6990 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
6991 s
&@srcdir@
&$ac_srcdir&;t t
6992 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
6993 s
&@top_srcdir@
&$ac_top_srcdir&;t t
6994 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
6995 s
&@builddir@
&$ac_builddir&;t t
6996 s
&@abs_builddir@
&$ac_abs_builddir&;t t
6997 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
6998 s
&@INSTALL@
&$ac_INSTALL&;t t
6999 $ac_datarootdir_hack
7001 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
7002 || as_fn_error "could not create
$ac_file" "$LINENO" 5
7004 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7005 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
7006 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
7007 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
7008 which seems to be undefined. Please make sure it is defined." >&5
7009 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
7010 which seems to be undefined. Please make sure it is defined." >&2;}
7014 -) cat "$tmp/out" && rm -f "$tmp/out";;
7015 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
7017 || as_fn_error "could not create $ac_file" "$LINENO" 5
7023 if test x"$ac_file" != x-; then
7025 $as_echo "/* $configure_input */" \
7026 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
7027 } >"$tmp/config.h" \
7028 || as_fn_error "could not create $ac_file" "$LINENO" 5
7029 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
7030 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
7031 $as_echo "$as_me: $ac_file is unchanged" >&6;}
7034 mv "$tmp/config.h" "$ac_file" \
7035 || as_fn_error "could not create $ac_file" "$LINENO" 5
7038 $as_echo "/* $configure_input */" \
7039 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
7040 || as_fn_error "could not create -" "$LINENO" 5
7048 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
7051 # Prefer the file from the source tree if names are identical.
7052 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
7053 ac_source=$srcdir/$ac_source
7056 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
7057 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
7059 if test ! -r "$ac_source"; then
7060 as_fn_error "$ac_source: file not found" "$LINENO" 5
7064 # Try a relative symlink, then a hard link, then a copy.
7066 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
7067 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
7069 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
7070 ln "$ac_source" "$ac_file" 2>/dev/null ||
7071 cp -p "$ac_source" "$ac_file" ||
7072 as_fn_error "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
7075 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
7076 $as_echo "$as_me: executing $ac_file commands" >&6;}
7081 case $ac_file$ac_mode in
7082 "depdir":C) $SHELL $ac_aux_dir/mkinstalldirs $DEPDIR ;;
7083 "Makefile":C) echo "Merging Makefile.sim+Make-common.sim into Makefile ..."
7084 rm -f Makesim1.tmp Makesim2.tmp Makefile
7085 sed -n -e '/^
## COMMON_PRE_/,/^## End COMMON_PRE_/ p' <Make-common.sim >Makesim1.tmp
7086 sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim
>Makesim2.tmp
7087 sed -e '/^## COMMON_PRE_/ r Makesim1.tmp' \
7088 -e '/^## COMMON_POST_/ r Makesim2.tmp' \
7089 <Makefile.sim
>Makefile
7090 rm -f Makefile.sim Make-common.sim Makesim1.tmp Makesim2.tmp
7092 "stamp-h":C
) echo > stamp-h
;;
7100 ac_clean_files
=$ac_clean_files_save
7102 test $ac_write_fail = 0 ||
7103 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
7106 # configure is writing to config.log, and then calls config.status.
7107 # config.status does its own redirection, appending to config.log.
7108 # Unfortunately, on DOS this fails, as config.log is still kept open
7109 # by configure, so config.status won't be able to write to it; its
7110 # output is simply discarded. So we exec the FD to /dev/null,
7111 # effectively closing config.log, so it can be properly (re)opened and
7112 # appended to by config.status. When coming back to configure, we
7113 # need to make the FD available again.
7114 if test "$no_create" != yes; then
7116 ac_config_status_args
=
7117 test "$silent" = yes &&
7118 ac_config_status_args
="$ac_config_status_args --quiet"
7120 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
7122 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7123 # would make configure fail if this is the last instruction.
7124 $ac_cs_success || as_fn_exit $?
7126 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
7127 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
7128 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}