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
706 program_transform_name
719 enable_option_checking
721 enable_maintainer_mode
732 enable_sim_hostendian
733 enable_sim_default_model
734 enable_sim_environment
737 enable_build_warnings
738 enable_sim_build_warnings
741 ac_precious_vars
='build_alias
757 # Initialize some variables set by options.
759 ac_init_version
=false
760 ac_unrecognized_opts
=
762 # The variables have the same names as the options, with
763 # dashes changed to underlines.
771 program_transform_name
=s
,x
,x
,
779 # Installation directory options.
780 # These are left unexpanded so users can "make install exec_prefix=/foo"
781 # and all the variables that are supposed to be based on exec_prefix
782 # by default will actually change.
783 # Use braces instead of parens because sh, perl, etc. also accept them.
784 # (The list follows the same order as the GNU Coding Standards.)
785 bindir
='${exec_prefix}/bin'
786 sbindir
='${exec_prefix}/sbin'
787 libexecdir
='${exec_prefix}/libexec'
788 datarootdir
='${prefix}/share'
789 datadir
='${datarootdir}'
790 sysconfdir
='${prefix}/etc'
791 sharedstatedir
='${prefix}/com'
792 localstatedir
='${prefix}/var'
793 includedir
='${prefix}/include'
794 oldincludedir
='/usr/include'
795 docdir
='${datarootdir}/doc/${PACKAGE}'
796 infodir
='${datarootdir}/info'
801 libdir
='${exec_prefix}/lib'
802 localedir
='${datarootdir}/locale'
803 mandir
='${datarootdir}/man'
809 # If the previous option needs an argument, assign it.
810 if test -n "$ac_prev"; then
811 eval $ac_prev=\
$ac_option
817 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
821 # Accept the important Cygnus configure options, so we can diagnose typos.
823 case $ac_dashdash$ac_option in
827 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
829 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
832 -build |
--build |
--buil |
--bui |
--bu)
833 ac_prev
=build_alias
;;
834 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
835 build_alias
=$ac_optarg ;;
837 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
838 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
839 ac_prev
=cache_file
;;
840 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
841 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
842 cache_file
=$ac_optarg ;;
845 cache_file
=config.cache
;;
847 -datadir |
--datadir |
--datadi |
--datad)
849 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
850 datadir
=$ac_optarg ;;
852 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
853 |
--dataroo |
--dataro |
--datar)
854 ac_prev
=datarootdir
;;
855 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
856 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
857 datarootdir
=$ac_optarg ;;
859 -disable-* |
--disable-*)
860 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
861 # Reject names that are not valid shell variable names.
862 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
863 as_fn_error
"invalid feature name: $ac_useropt"
864 ac_useropt_orig
=$ac_useropt
865 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
866 case $ac_user_opts in
870 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
871 ac_unrecognized_sep
=', ';;
873 eval enable_
$ac_useropt=no
;;
875 -docdir |
--docdir |
--docdi |
--doc |
--do)
877 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
880 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
882 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
885 -enable-* |
--enable-*)
886 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
887 # Reject names that are not valid shell variable names.
888 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
889 as_fn_error
"invalid feature name: $ac_useropt"
890 ac_useropt_orig
=$ac_useropt
891 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
892 case $ac_user_opts in
896 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
897 ac_unrecognized_sep
=', ';;
899 eval enable_
$ac_useropt=\
$ac_optarg ;;
901 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
902 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
903 |
--exec |
--exe |
--ex)
904 ac_prev
=exec_prefix
;;
905 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
906 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
907 |
--exec=* |
--exe=* |
--ex=*)
908 exec_prefix
=$ac_optarg ;;
910 -gas |
--gas |
--ga |
--g)
911 # Obsolete; use --with-gas.
914 -help |
--help |
--hel |
--he |
-h)
916 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
917 ac_init_help
=recursive
;;
918 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
919 ac_init_help
=short
;;
921 -host |
--host |
--hos |
--ho)
922 ac_prev
=host_alias
;;
923 -host=* |
--host=* |
--hos=* |
--ho=*)
924 host_alias
=$ac_optarg ;;
926 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
928 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
930 htmldir
=$ac_optarg ;;
932 -includedir |
--includedir |
--includedi |
--included |
--include \
933 |
--includ |
--inclu |
--incl |
--inc)
934 ac_prev
=includedir
;;
935 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
936 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
937 includedir
=$ac_optarg ;;
939 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
941 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
942 infodir
=$ac_optarg ;;
944 -libdir |
--libdir |
--libdi |
--libd)
946 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
949 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
950 |
--libexe |
--libex |
--libe)
951 ac_prev
=libexecdir
;;
952 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
953 |
--libexe=* |
--libex=* |
--libe=*)
954 libexecdir
=$ac_optarg ;;
956 -localedir |
--localedir |
--localedi |
--localed |
--locale)
958 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
959 localedir
=$ac_optarg ;;
961 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
962 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
963 ac_prev
=localstatedir
;;
964 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
965 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
966 localstatedir
=$ac_optarg ;;
968 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
970 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
974 # Obsolete; use --without-fp.
977 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
978 |
--no-cr |
--no-c |
-n)
981 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
982 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
985 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
986 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
987 |
--oldin |
--oldi |
--old |
--ol |
--o)
988 ac_prev
=oldincludedir
;;
989 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
990 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
991 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
992 oldincludedir
=$ac_optarg ;;
994 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
996 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
999 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1000 |
--program-pre |
--program-pr |
--program-p)
1001 ac_prev
=program_prefix
;;
1002 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1003 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1004 program_prefix
=$ac_optarg ;;
1006 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1007 |
--program-suf |
--program-su |
--program-s)
1008 ac_prev
=program_suffix
;;
1009 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1010 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1011 program_suffix
=$ac_optarg ;;
1013 -program-transform-name |
--program-transform-name \
1014 |
--program-transform-nam |
--program-transform-na \
1015 |
--program-transform-n |
--program-transform- \
1016 |
--program-transform |
--program-transfor \
1017 |
--program-transfo |
--program-transf \
1018 |
--program-trans |
--program-tran \
1019 |
--progr-tra |
--program-tr |
--program-t)
1020 ac_prev
=program_transform_name
;;
1021 -program-transform-name=* |
--program-transform-name=* \
1022 |
--program-transform-nam=* |
--program-transform-na=* \
1023 |
--program-transform-n=* |
--program-transform-=* \
1024 |
--program-transform=* |
--program-transfor=* \
1025 |
--program-transfo=* |
--program-transf=* \
1026 |
--program-trans=* |
--program-tran=* \
1027 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1028 program_transform_name
=$ac_optarg ;;
1030 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1032 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1033 pdfdir
=$ac_optarg ;;
1035 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1037 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1040 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1041 |
-silent |
--silent |
--silen |
--sile |
--sil)
1044 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1046 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1048 sbindir
=$ac_optarg ;;
1050 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1051 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1052 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1054 ac_prev
=sharedstatedir
;;
1055 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1056 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1057 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1059 sharedstatedir
=$ac_optarg ;;
1061 -site |
--site |
--sit)
1063 -site=* |
--site=* |
--sit=*)
1066 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1068 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1069 srcdir
=$ac_optarg ;;
1071 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1072 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1073 ac_prev
=sysconfdir
;;
1074 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1075 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1076 sysconfdir
=$ac_optarg ;;
1078 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1079 ac_prev
=target_alias
;;
1080 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1081 target_alias
=$ac_optarg ;;
1083 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1086 -version |
--version |
--versio |
--versi |
--vers |
-V)
1087 ac_init_version
=: ;;
1090 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1091 # Reject names that are not valid shell variable names.
1092 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1093 as_fn_error
"invalid package name: $ac_useropt"
1094 ac_useropt_orig
=$ac_useropt
1095 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1096 case $ac_user_opts in
1100 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1101 ac_unrecognized_sep
=', ';;
1103 eval with_
$ac_useropt=\
$ac_optarg ;;
1105 -without-* |
--without-*)
1106 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1107 # Reject names that are not valid shell variable names.
1108 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1109 as_fn_error
"invalid package name: $ac_useropt"
1110 ac_useropt_orig
=$ac_useropt
1111 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1112 case $ac_user_opts in
1116 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1117 ac_unrecognized_sep
=', ';;
1119 eval with_
$ac_useropt=no
;;
1122 # Obsolete; use --with-x.
1125 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1126 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1127 ac_prev
=x_includes
;;
1128 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1129 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1130 x_includes
=$ac_optarg ;;
1132 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1133 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1134 ac_prev
=x_libraries
;;
1135 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1136 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1137 x_libraries
=$ac_optarg ;;
1139 -*) as_fn_error
"unrecognized option: \`$ac_option'
1140 Try \`$0 --help' for more information."
1144 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1145 # Reject names that are not valid shell variable names.
1146 case $ac_envvar in #(
1147 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1148 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1150 eval $ac_envvar=\
$ac_optarg
1151 export $ac_envvar ;;
1154 # FIXME: should be removed in autoconf 3.0.
1155 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1156 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1157 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1158 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1164 if test -n "$ac_prev"; then
1165 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1166 as_fn_error
"missing argument to $ac_option"
1169 if test -n "$ac_unrecognized_opts"; then
1170 case $enable_option_checking in
1172 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1173 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1177 # Check all directory arguments for consistency.
1178 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1179 datadir sysconfdir sharedstatedir localstatedir includedir \
1180 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1181 libdir localedir mandir
1183 eval ac_val
=\$
$ac_var
1184 # Remove trailing slashes.
1187 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1188 eval $ac_var=\
$ac_val;;
1190 # Be sure to have absolute directory names.
1192 [\\/$
]* | ?
:[\\/]* ) continue;;
1193 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1195 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1198 # There might be people who depend on the old broken behavior: `$host'
1199 # used to hold the argument of --host etc.
1200 # FIXME: To remove some day.
1203 target
=$target_alias
1205 # FIXME: To remove some day.
1206 if test "x$host_alias" != x
; then
1207 if test "x$build_alias" = x
; then
1208 cross_compiling
=maybe
1209 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1210 If a cross compiler is detected then cross compile mode will be used." >&2
1211 elif test "x$build_alias" != "x$host_alias"; then
1217 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1219 test "$silent" = yes && exec 6>/dev
/null
1222 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1223 ac_ls_di
=`ls -di .` &&
1224 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1225 as_fn_error
"working directory cannot be determined"
1226 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1227 as_fn_error
"pwd does not report name of working directory"
1230 # Find the source files, if location was not specified.
1231 if test -z "$srcdir"; then
1232 ac_srcdir_defaulted
=yes
1233 # Try the directory containing this script, then the parent directory.
1234 ac_confdir
=`$as_dirname -- "$as_myself" ||
1235 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1236 X"$as_myself" : 'X\(//\)[^/]' \| \
1237 X"$as_myself" : 'X\(//\)$' \| \
1238 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1239 $as_echo X"$as_myself" |
1240 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1258 if test ! -r "$srcdir/$ac_unique_file"; then
1262 ac_srcdir_defaulted
=no
1264 if test ! -r "$srcdir/$ac_unique_file"; then
1265 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1266 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1268 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1270 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1272 # When building in place, set srcdir=.
1273 if test "$ac_abs_confdir" = "$ac_pwd"; then
1276 # Remove unnecessary trailing slashes from srcdir.
1277 # Double slashes in file names in object file debugging info
1278 # mess up M-x gdb in Emacs.
1280 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1282 for ac_var
in $ac_precious_vars; do
1283 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1284 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1285 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1286 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1290 # Report the --help message.
1292 if test "$ac_init_help" = "long"; then
1293 # Omit some internal or obsolete options to make the list less imposing.
1294 # This message is too long to be a string in the A/UX 3.1 sh.
1296 \`configure' configures this package to adapt to many kinds of systems.
1298 Usage: $0 [OPTION]... [VAR=VALUE]...
1300 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1301 VAR=VALUE. See below for descriptions of some of the useful variables.
1303 Defaults for the options are specified in brackets.
1306 -h, --help display this help and exit
1307 --help=short display options specific to this package
1308 --help=recursive display the short help of all the included packages
1309 -V, --version display version information and exit
1310 -q, --quiet, --silent do not print \`checking...' messages
1311 --cache-file=FILE cache test results in FILE [disabled]
1312 -C, --config-cache alias for \`--cache-file=config.cache'
1313 -n, --no-create do not create output files
1314 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1316 Installation directories:
1317 --prefix=PREFIX install architecture-independent files in PREFIX
1318 [$ac_default_prefix]
1319 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1322 By default, \`make install' will install all the files in
1323 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1324 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1325 for instance \`--prefix=\$HOME'.
1327 For better control, use the options below.
1329 Fine tuning of the installation directories:
1330 --bindir=DIR user executables [EPREFIX/bin]
1331 --sbindir=DIR system admin executables [EPREFIX/sbin]
1332 --libexecdir=DIR program executables [EPREFIX/libexec]
1333 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1334 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1335 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1336 --libdir=DIR object code libraries [EPREFIX/lib]
1337 --includedir=DIR C header files [PREFIX/include]
1338 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1339 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1340 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1341 --infodir=DIR info documentation [DATAROOTDIR/info]
1342 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1343 --mandir=DIR man documentation [DATAROOTDIR/man]
1344 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1345 --htmldir=DIR html documentation [DOCDIR]
1346 --dvidir=DIR dvi documentation [DOCDIR]
1347 --pdfdir=DIR pdf documentation [DOCDIR]
1348 --psdir=DIR ps documentation [DOCDIR]
1354 --program-prefix=PREFIX prepend PREFIX to installed program names
1355 --program-suffix=SUFFIX append SUFFIX to installed program names
1356 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1359 --build=BUILD configure
for building on BUILD
[guessed
]
1360 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1361 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1365 if test -n "$ac_init_help"; then
1370 --disable-option-checking ignore unrecognized
--enable/--with options
1371 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1372 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1373 --enable-maintainer-mode Enable developer functionality.
1374 --enable-sim-bswap Use Host specific BSWAP instruction.
1375 --enable-sim-cflags=opts Extra CFLAGS
for use
in building simulator
1376 --enable-sim-debug=opts Enable debugging flags
1377 --enable-sim-stdio Specify whether to use stdio
for console input
/output.
1378 --enable-sim-trace=opts Enable tracing flags
1379 --enable-sim-profile=opts Enable profiling flags
1380 --enable-sim-endian=endian Specify target byte endian orientation.
1381 --enable-sim-alignment=align Specify strict
, nonstrict or forced alignment of memory accesses.
1382 --enable-sim-hostendian=end Specify
host byte endian orientation.
1383 --enable-sim-default-model=model Specify default model to simulate.
1384 --enable-sim-environment=environment Specify mixed
, user
, virtual or operating environment.
1385 --enable-sim-inline=inlines Specify
which functions should be inlined.
1386 --enable-werror treat compile warnings as errors
1387 --enable-build-warnings enable build-time compiler warnings
if gcc is used
1388 --enable-sim-build-warnings
1389 enable SIM specific build-time compiler warnings
if
1391 --enable-sim-hardware=LIST Specify the hardware to be included
in the build.
1394 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1395 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1396 --with-zlib include zlib support
(auto
/yes
/no
) default
=auto
1397 --with-pkgversion=PKG Use PKG
in the version string
in place of
"GDB"
1398 --with-bugurl=URL Direct users to URL to report a bug
1400 Some influential environment variables
:
1401 CC C compiler
command
1402 CFLAGS C compiler flags
1403 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1404 nonstandard directory
<lib dir
>
1405 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1406 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1407 you have headers
in a nonstandard directory
<include dir
>
1409 PKG_CONFIG path to pkg-config utility
1411 directories to add to pkg-config
's search path
1413 path overriding pkg-config's built-in search path
1414 SDL_CFLAGS C compiler flags
for SDL
, overriding pkg-config
1415 SDL_LIBS linker flags
for SDL
, overriding pkg-config
1417 Use these variables to override the choices made by
`configure' or to help
1418 it to find libraries and programs with nonstandard names/locations.
1420 Report bugs to the package provider.
1425 if test "$ac_init_help" = "recursive"; then
1426 # If there are subdirs, report their specific --help.
1427 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1428 test -d "$ac_dir" ||
1429 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1434 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1436 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1437 # A ".." for each directory in $ac_dir_suffix.
1438 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1439 case $ac_top_builddir_sub in
1440 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1441 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1444 ac_abs_top_builddir=$ac_pwd
1445 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1446 # for backward compatibility:
1447 ac_top_builddir=$ac_top_build_prefix
1450 .) # We are building in place.
1452 ac_top_srcdir=$ac_top_builddir_sub
1453 ac_abs_top_srcdir=$ac_pwd ;;
1454 [\\/]* | ?:[\\/]* ) # Absolute name.
1455 ac_srcdir=$srcdir$ac_dir_suffix;
1456 ac_top_srcdir=$srcdir
1457 ac_abs_top_srcdir=$srcdir ;;
1459 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1460 ac_top_srcdir=$ac_top_build_prefix$srcdir
1461 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1463 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1465 cd "$ac_dir" || { ac_status=$?; continue; }
1466 # Check for guested configure.
1467 if test -f "$ac_srcdir/configure.gnu"; then
1469 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1470 elif test -f "$ac_srcdir/configure"; then
1472 $SHELL "$ac_srcdir/configure" --help=recursive
1474 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1476 cd "$ac_pwd" || { ac_status=$?; break; }
1480 test -n "$ac_init_help" && exit $ac_status
1481 if $ac_init_version; then
1484 generated by GNU Autoconf 2.64
1486 Copyright (C) 2009 Free Software Foundation, Inc.
1487 This configure script is free software; the Free Software Foundation
1488 gives unlimited permission to copy, distribute and modify it.
1493 ## ------------------------ ##
1494 ## Autoconf initialization. ##
1495 ## ------------------------ ##
1497 # ac_fn_c_try_compile LINENO
1498 # --------------------------
1499 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1500 ac_fn_c_try_compile ()
1502 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1503 rm -f conftest.$ac_objext
1504 if { { ac_try="$ac_compile"
1506 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1507 *) ac_try_echo
=$ac_try;;
1509 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1510 $as_echo "$ac_try_echo"; } >&5
1511 (eval "$ac_compile") 2>conftest.err
1513 if test -s conftest.err
; then
1514 grep -v '^ *+' conftest.err
>conftest.er1
1515 cat conftest.er1
>&5
1516 mv -f conftest.er1 conftest.err
1518 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1519 test $ac_status = 0; } && {
1520 test -z "$ac_c_werror_flag" ||
1521 test ! -s conftest.err
1522 } && test -s conftest.
$ac_objext; then :
1525 $as_echo "$as_me: failed program was:" >&5
1526 sed 's/^/| /' conftest.
$ac_ext >&5
1530 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1533 } # ac_fn_c_try_compile
1535 # ac_fn_c_try_cpp LINENO
1536 # ----------------------
1537 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1540 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1541 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1543 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1544 *) ac_try_echo=$ac_try;;
1546 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1547 $as_echo "$ac_try_echo"; } >&5
1548 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1550 if test -s conftest.err; then
1551 grep -v '^ *+' conftest.err >conftest.er1
1552 cat conftest.er1 >&5
1553 mv -f conftest.er1 conftest.err
1555 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1556 test $ac_status = 0; } >/dev/null && {
1557 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1558 test ! -s conftest.err
1562 $as_echo "$as_me: failed program was:" >&5
1563 sed 's/^/| /' conftest.$ac_ext >&5
1567 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1572 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1573 # -------------------------------------------------------
1574 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1575 # the include files in INCLUDES and setting the cache variable VAR
1577 ac_fn_c_check_header_mongrel ()
1579 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1580 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1582 $as_echo_n "checking for $2... " >&6; }
1583 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1584 $as_echo_n "(cached) " >&6
1587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1588 $as_echo "$ac_res" >&6; }
1590 # Is the header compilable?
1591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1592 $as_echo_n "checking $2 usability... " >&6; }
1593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1594 /* end confdefs.h. */
1598 if ac_fn_c_try_compile "$LINENO"; then :
1599 ac_header_compiler=yes
1601 ac_header_compiler=no
1603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1605 $as_echo "$ac_header_compiler" >&6; }
1607 # Is the header present?
1608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1609 $as_echo_n "checking $2 presence... " >&6; }
1610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1611 /* end confdefs.h. */
1614 if ac_fn_c_try_cpp "$LINENO"; then :
1615 ac_header_preproc=yes
1617 ac_header_preproc=no
1619 rm -f conftest.err conftest.$ac_ext
1620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1621 $as_echo "$ac_header_preproc" >&6; }
1623 # So? What about this header?
1624 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1626 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1627 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1628 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1629 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1632 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1633 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1634 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1635 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1636 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1637 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1638 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1639 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1640 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1641 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1645 $as_echo_n "checking for $2... " >&6; }
1646 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1647 $as_echo_n "(cached) " >&6
1649 eval "$3=\$ac_header_compiler"
1652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1653 $as_echo "$ac_res" >&6; }
1655 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1657 } # ac_fn_c_check_header_mongrel
1659 # ac_fn_c_try_run LINENO
1660 # ----------------------
1661 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1662 # that executables *can* be run.
1665 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1666 if { { ac_try="$ac_link"
1668 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1669 *) ac_try_echo
=$ac_try;;
1671 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1672 $as_echo "$ac_try_echo"; } >&5
1673 (eval "$ac_link") 2>&5
1675 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1676 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1677 { { case "(($ac_try" in
1678 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1679 *) ac_try_echo=$ac_try;;
1681 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1682 $as_echo "$ac_try_echo"; } >&5
1683 (eval "$ac_try") 2>&5
1685 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1686 test $ac_status = 0; }; }; then :
1689 $as_echo "$as_me: program exited with status $ac_status" >&5
1690 $as_echo "$as_me: failed program was:" >&5
1691 sed 's/^/| /' conftest.$ac_ext >&5
1693 ac_retval=$ac_status
1695 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1696 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1701 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1702 # -------------------------------------------------------
1703 # Tests whether HEADER exists and can be compiled using the include files in
1704 # INCLUDES, setting the cache variable VAR accordingly.
1705 ac_fn_c_check_header_compile ()
1707 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1709 $as_echo_n "checking for $2... " >&6; }
1710 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1711 $as_echo_n "(cached) " >&6
1713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1714 /* end confdefs.h. */
1718 if ac_fn_c_try_compile "$LINENO"; then :
1723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1727 $as_echo "$ac_res" >&6; }
1728 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1730 } # ac_fn_c_check_header_compile
1732 # ac_fn_c_try_link LINENO
1733 # -----------------------
1734 # Try to link conftest.$ac_ext, and return whether this succeeded.
1737 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1738 rm -f conftest.$ac_objext conftest$ac_exeext
1739 if { { ac_try="$ac_link"
1741 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1742 *) ac_try_echo
=$ac_try;;
1744 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1745 $as_echo "$ac_try_echo"; } >&5
1746 (eval "$ac_link") 2>conftest.err
1748 if test -s conftest.err
; then
1749 grep -v '^ *+' conftest.err
>conftest.er1
1750 cat conftest.er1
>&5
1751 mv -f conftest.er1 conftest.err
1753 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1754 test $ac_status = 0; } && {
1755 test -z "$ac_c_werror_flag" ||
1756 test ! -s conftest.err
1757 } && test -s conftest
$ac_exeext && {
1758 test "$cross_compiling" = yes ||
1759 $as_test_x conftest
$ac_exeext
1763 $as_echo "$as_me: failed program was:" >&5
1764 sed 's/^/| /' conftest.
$ac_ext >&5
1768 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1769 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1770 # interfere with the next link command; also delete a directory that is
1771 # left behind by Apple's compiler. We do this before executing the actions.
1772 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1773 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1776 } # ac_fn_c_try_link
1778 # ac_fn_c_check_func LINENO FUNC VAR
1779 # ----------------------------------
1780 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1781 ac_fn_c_check_func
()
1783 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1785 $as_echo_n "checking for $2... " >&6; }
1786 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1787 $as_echo_n "(cached) " >&6
1789 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1790 /* end confdefs.h. */
1791 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1792 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1793 #define $2 innocuous_$2
1795 /* System header to define __stub macros and hopefully few prototypes,
1796 which can conflict with char $2 (); below.
1797 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1798 <limits.h> exists even on freestanding compilers. */
1801 # include <limits.h>
1803 # include <assert.h>
1808 /* Override any GCC internal prototype to avoid an error.
1809 Use char because int might match the return type of a GCC
1810 builtin and then its argument prototype would still apply. */
1815 /* The GNU C library defines this for functions which it implements
1816 to always fail with ENOSYS. Some functions are actually named
1817 something starting with __ and the normal name is an alias. */
1818 #if defined __stub_$2 || defined __stub___$2
1830 if ac_fn_c_try_link
"$LINENO"; then :
1835 rm -f core conftest.err conftest.
$ac_objext \
1836 conftest
$ac_exeext conftest.
$ac_ext
1839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1840 $as_echo "$ac_res" >&6; }
1841 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1843 } # ac_fn_c_check_func
1844 cat >config.log
<<_ACEOF
1845 This file contains any messages produced by compilers while
1846 running configure, to aid debugging if configure makes a mistake.
1848 It was created by $as_me, which was
1849 generated by GNU Autoconf 2.64. Invocation command line was
1861 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1862 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1863 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1864 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1865 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1867 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1868 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1870 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1871 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1872 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1873 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1874 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1875 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1876 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1880 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1884 test -z "$as_dir" && as_dir
=.
1885 $as_echo "PATH: $as_dir"
1901 # Keep a trace of the command line.
1902 # Strip out --no-create and --no-recursion so they do not pile up.
1903 # Strip out --silent because we don't want to record it for future runs.
1904 # Also quote any args containing shell meta-characters.
1905 # Make two passes to allow for proper duplicate-argument suppression.
1909 ac_must_keep_next
=false
1915 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1916 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1917 |
-silent |
--silent |
--silen |
--sile |
--sil)
1920 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1923 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1925 as_fn_append ac_configure_args1
" '$ac_arg'"
1926 if test $ac_must_keep_next = true
; then
1927 ac_must_keep_next
=false
# Got value, back to normal.
1930 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1931 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1932 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1933 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1934 case "$ac_configure_args0 " in
1935 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1938 -* ) ac_must_keep_next
=true
;;
1941 as_fn_append ac_configure_args
" '$ac_arg'"
1946 { ac_configure_args0
=; unset ac_configure_args0
;}
1947 { ac_configure_args1
=; unset ac_configure_args1
;}
1949 # When interrupted or exit'd, cleanup temporary files, and complete
1950 # config.log. We remove comments because anyway the quotes in there
1951 # would cause problems or look ugly.
1952 # WARNING: Use '\'' to represent an apostrophe within the trap.
1953 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1954 trap 'exit_status=$?
1955 # Save into config.log some information that might help in debugging.
1960 ## ---------------- ##
1961 ## Cache variables. ##
1962 ## ---------------- ##
1965 # The following way of writing the cache mishandles newlines in values,
1967 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1968 eval ac_val=\$$ac_var
1972 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1973 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1976 _ | IFS | as_nl) ;; #(
1977 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1978 *) { eval $ac_var=; unset $ac_var;} ;;
1983 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1984 *${as_nl}ac_space=\ *)
1986 "s/'\''/'\''\\\\'\'''\''/g;
1987 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1990 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1998 ## ----------------- ##
1999 ## Output variables. ##
2000 ## ----------------- ##
2003 for ac_var in $ac_subst_vars
2005 eval ac_val=\$$ac_var
2007 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2009 $as_echo "$ac_var='\''$ac_val'\''"
2013 if test -n "$ac_subst_files"; then
2015 ## ------------------- ##
2016 ## File substitutions. ##
2017 ## ------------------- ##
2020 for ac_var
in $ac_subst_files
2022 eval ac_val
=\$
$ac_var
2024 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2026 $as_echo "$ac_var='\''$ac_val'\''"
2031 if test -s confdefs.h; then
2041 test "$ac_signal" != 0 &&
2042 $as_echo "$as_me: caught signal $ac_signal"
2043 $as_echo "$as_me: exit $exit_status"
2045 rm -f core *.core core.conftest.* &&
2046 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2049 for ac_signal
in 1 2 13 15; do
2050 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2054 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2055 rm -f -r conftest
* confdefs.h
2057 $as_echo "/* confdefs.h */" > confdefs.h
2059 # Predefined preprocessor variables.
2061 cat >>confdefs.h
<<_ACEOF
2062 #define PACKAGE_NAME "$PACKAGE_NAME"
2065 cat >>confdefs.h
<<_ACEOF
2066 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2069 cat >>confdefs.h
<<_ACEOF
2070 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2073 cat >>confdefs.h
<<_ACEOF
2074 #define PACKAGE_STRING "$PACKAGE_STRING"
2077 cat >>confdefs.h
<<_ACEOF
2078 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2081 cat >>confdefs.h
<<_ACEOF
2082 #define PACKAGE_URL "$PACKAGE_URL"
2086 # Let the site file select an alternate cache file if it wants to.
2087 # Prefer an explicitly selected file to automatically selected ones.
2090 if test -n "$CONFIG_SITE"; then
2091 ac_site_file1
=$CONFIG_SITE
2092 elif test "x$prefix" != xNONE
; then
2093 ac_site_file1
=$prefix/share
/config.site
2094 ac_site_file2
=$prefix/etc
/config.site
2096 ac_site_file1
=$ac_default_prefix/share
/config.site
2097 ac_site_file2
=$ac_default_prefix/etc
/config.site
2099 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2101 test "x$ac_site_file" = xNONE
&& continue
2102 if test -r "$ac_site_file"; then
2103 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2104 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2105 sed 's/^/| /' "$ac_site_file" >&5
2110 if test -r "$cache_file"; then
2111 # Some versions of bash will fail to source /dev/null (special
2112 # files actually), so we avoid doing that.
2113 if test -f "$cache_file"; then
2114 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2115 $as_echo "$as_me: loading cache $cache_file" >&6;}
2117 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2118 *) .
"./$cache_file";;
2122 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2123 $as_echo "$as_me: creating cache $cache_file" >&6;}
2127 # Check that the precious variables saved in the cache have kept the same
2129 ac_cache_corrupted
=false
2130 for ac_var
in $ac_precious_vars; do
2131 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2132 eval ac_new_set
=\
$ac_env_${ac_var}_set
2133 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2134 eval ac_new_val
=\
$ac_env_${ac_var}_value
2135 case $ac_old_set,$ac_new_set in
2137 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2138 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2139 ac_cache_corrupted
=: ;;
2141 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2142 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2143 ac_cache_corrupted
=: ;;
2146 if test "x$ac_old_val" != "x$ac_new_val"; then
2147 # differences in whitespace do not lead to failure.
2148 ac_old_val_w
=`echo x $ac_old_val`
2149 ac_new_val_w
=`echo x $ac_new_val`
2150 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2151 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2152 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2153 ac_cache_corrupted
=:
2155 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2156 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2157 eval $ac_var=\
$ac_old_val
2159 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2160 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2161 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2162 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2165 # Pass precious variables to config.status.
2166 if test "$ac_new_set" = set; then
2168 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2169 *) ac_arg
=$ac_var=$ac_new_val ;;
2171 case " $ac_configure_args " in
2172 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2173 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2177 if $ac_cache_corrupted; then
2178 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2179 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2180 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2181 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2182 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2184 ## -------------------- ##
2185 ## Main body of script. ##
2186 ## -------------------- ##
2189 ac_cpp
='$CPP $CPPFLAGS'
2190 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2191 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2192 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2195 # This file contains common code used by all simulators.
2197 # SIM_AC_COMMON invokes AC macros used by all simulators and by the common
2198 # directory. It is intended to be invoked before any target specific stuff.
2199 # SIM_AC_OUTPUT is a cover function to AC_OUTPUT to generate the Makefile.
2200 # It is intended to be invoked last.
2202 # The simulator's configure.in should look like:
2204 # dnl Process this file with autoconf to produce a configure script.
2205 # AC_PREREQ(2.64)dnl
2206 # AC_INIT(Makefile.in)
2207 # sinclude(../common/aclocal.m4)
2211 # ... target specific stuff ...
2215 # Include global overrides and fixes for Autoconf.
2242 # _AC_CHECK_DECL_BODY
2243 # -------------------
2244 # Shell function body for AC_CHECK_DECL.
2245 # _AC_CHECK_DECL_BODY
2247 # _AC_CHECK_DECLS(SYMBOL, ACTION-IF_FOUND, ACTION-IF-NOT-FOUND,
2249 # -------------------------------------------------------------
2250 # Helper to AC_CHECK_DECLS, which generates the check for a single
2251 # SYMBOL with INCLUDES, performs the AC_DEFINE, then expands
2252 # ACTION-IF-FOUND or ACTION-IF-NOT-FOUND.
2265 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2007
2266 # Free Software Foundation, Inc.
2268 # This file is free software; the Free Software Foundation
2269 # gives unlimited permission to copy and/or distribute it,
2270 # with or without modifications, as long as this notice is preserved.
2274 # Based on depend.m4 from automake 1.9, modified for standalone use in
2275 # an environment where GNU make is required.
2277 # ZW_PROG_COMPILER_DEPENDENCIES
2278 # -----------------------------
2279 # Variant of _AM_DEPENDENCIES which just does the dependency probe and
2280 # sets fooDEPMODE accordingly. Cache-variable compatible with
2281 # original; not side-effect compatible. As the users of this macro
2282 # may require accurate dependencies for correct builds, it does *not*
2283 # honor --disable-dependency-checking, and failure to detect a usable
2284 # method is an error. depcomp is assumed to be located in
2287 # FIXME: Should use the Autoconf 2.5x language-selection mechanism.
2293 # Choose a directory name for dependency files.
2298 # As AM_SET_DEPDIR, but also create the directory at config.status time.
2349 sim_inline
="-DDEFAULT_INLINE=0"
2386 # intl sister-directory configuration rules.
2389 # The idea behind this macro is that there's no need to repeat all the
2390 # autoconf probes done by the intl directory - it's already done them
2391 # for us. In fact, there's no need even to look at the cache for the
2392 # answers. All we need to do is nab a few pieces of information.
2393 # The intl directory is set up to make this easy, by generating a
2394 # small file which can be sourced as a shell script; then we produce
2395 # the necessary substitutions and definitions for this directory.
2399 # Autoconf M4 include file defining utility macros for complex Canadian
2411 # _NCN_TOOL_PREFIXES: Some stuff that oughtta be done in AC_CANONICAL_SYSTEM
2413 # These demand that AC_CANONICAL_SYSTEM be called beforehand.
2416 # NCN_STRICT_CHECK_TOOLS(variable, progs-to-check-for,[value-if-not-found],[path])
2417 # Like plain AC_CHECK_TOOLS, but require prefix if build!=host.
2421 # NCN_STRICT_CHECK_TARGET_TOOLS(variable, progs-to-check-for,[value-if-not-found],[path])
2422 # Like CVS Autoconf AC_CHECK_TARGET_TOOLS, but require prefix if build!=target.
2426 # Backported from Autoconf 2.5x; can go away when and if
2427 # we switch. Put the OS path separator in $PATH_SEPARATOR.
2432 # ACX_HAVE_GCC_FOR_TARGET
2433 # Check if the variable GCC_FOR_TARGET really points to a GCC binary.
2436 # ACX_CHECK_INSTALLED_TARGET_TOOL(VAR, PROG)
2437 # Searching for installed target binutils. We need to take extra care,
2438 # else we may find the wrong assembler, linker, etc., and lose.
2440 # First try --with-build-time-tools, if specified.
2442 # For build != host, we ask the installed GCC for the name of the tool it
2443 # uses, and accept it if it is an absolute path. This is because the
2444 # only good choice for a compiler is the same GCC version that is being
2445 # installed (or we couldn't make target libraries), and we assume that
2446 # on the host system we'll have not only the same GCC version, but also
2447 # the same binutils version.
2449 # For build == host, search the same directories that the installed
2450 # compiler will search. We used to do this for the assembler, linker,
2451 # and nm only; for simplicity of configuration, however, we extend this
2452 # criterion to tools (such as ar and ranlib) that are never invoked by
2453 # the compiler, to avoid mismatches.
2455 # Also note we have to check MD_EXEC_PREFIX before checking the user's path
2456 # if build == target. This makes the most sense only when bootstrapping,
2457 # but we also do so when build != host. In this case, we hope that the
2458 # build and host systems will have similar contents of MD_EXEC_PREFIX.
2460 # If we do not find a suitable binary, then try the user's path.
2464 # AC_PROG_CPP_WERROR
2465 # Used for autoconf 2.5x to force AC_PREPROC_IFELSE to reject code which
2466 # triggers warnings from the preprocessor. Will be in autoconf 2.58.
2467 # For now, using this also overrides header checks to use only the
2468 # preprocessor (matches 2.13 behavior; matching 2.58's behavior is a
2469 # bit harder from here).
2470 # Eventually autoconf will default to checking headers with the compiler
2471 # instead, and we'll have to do this differently.
2473 # AC_PROG_CPP_WERROR
2476 # We require the gnatbind & gnatmake programs, as well as a compiler driver
2477 # that understands Ada. We use the user's CC setting, already found, and
2478 # possibly add $1 to the command-line parameters.
2480 # Sets the shell variable have_gnat to yes or no as appropriate, and
2481 # substitutes GNATBIND and GNATMAKE.
2508 ac_cpp
='$CPP $CPPFLAGS'
2509 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2510 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2511 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2512 if test -n "$ac_tool_prefix"; then
2513 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2514 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2516 $as_echo_n "checking for $ac_word... " >&6; }
2517 if test "${ac_cv_prog_CC+set}" = set; then :
2518 $as_echo_n "(cached) " >&6
2520 if test -n "$CC"; then
2521 ac_cv_prog_CC
="$CC" # Let the user override the test.
2523 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2527 test -z "$as_dir" && as_dir
=.
2528 for ac_exec_ext
in '' $ac_executable_extensions; do
2529 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2530 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2531 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2541 if test -n "$CC"; then
2542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2543 $as_echo "$CC" >&6; }
2545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2546 $as_echo "no" >&6; }
2551 if test -z "$ac_cv_prog_CC"; then
2553 # Extract the first word of "gcc", so it can be a program name with args.
2554 set dummy gcc
; ac_word
=$2
2555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2556 $as_echo_n "checking for $ac_word... " >&6; }
2557 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2558 $as_echo_n "(cached) " >&6
2560 if test -n "$ac_ct_CC"; then
2561 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2563 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2567 test -z "$as_dir" && as_dir
=.
2568 for ac_exec_ext
in '' $ac_executable_extensions; do
2569 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2570 ac_cv_prog_ac_ct_CC
="gcc"
2571 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2580 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2581 if test -n "$ac_ct_CC"; then
2582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2583 $as_echo "$ac_ct_CC" >&6; }
2585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2586 $as_echo "no" >&6; }
2589 if test "x$ac_ct_CC" = x
; then
2592 case $cross_compiling:$ac_tool_warned in
2594 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2595 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2596 ac_tool_warned
=yes ;;
2604 if test -z "$CC"; then
2605 if test -n "$ac_tool_prefix"; then
2606 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2607 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2609 $as_echo_n "checking for $ac_word... " >&6; }
2610 if test "${ac_cv_prog_CC+set}" = set; then :
2611 $as_echo_n "(cached) " >&6
2613 if test -n "$CC"; then
2614 ac_cv_prog_CC
="$CC" # Let the user override the test.
2616 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2620 test -z "$as_dir" && as_dir
=.
2621 for ac_exec_ext
in '' $ac_executable_extensions; do
2622 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2623 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2624 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2634 if test -n "$CC"; then
2635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2636 $as_echo "$CC" >&6; }
2638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2639 $as_echo "no" >&6; }
2645 if test -z "$CC"; then
2646 # Extract the first word of "cc", so it can be a program name with args.
2647 set dummy cc
; ac_word
=$2
2648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2649 $as_echo_n "checking for $ac_word... " >&6; }
2650 if test "${ac_cv_prog_CC+set}" = set; then :
2651 $as_echo_n "(cached) " >&6
2653 if test -n "$CC"; then
2654 ac_cv_prog_CC
="$CC" # Let the user override the test.
2657 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2661 test -z "$as_dir" && as_dir
=.
2662 for ac_exec_ext
in '' $ac_executable_extensions; do
2663 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2664 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2665 ac_prog_rejected
=yes
2669 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2676 if test $ac_prog_rejected = yes; then
2677 # We found a bogon in the path, so make sure we never use it.
2678 set dummy
$ac_cv_prog_CC
2680 if test $# != 0; then
2681 # We chose a different compiler from the bogus one.
2682 # However, it has the same basename, so the bogon will be chosen
2683 # first if we set CC to just the basename; use the full file name.
2685 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2691 if test -n "$CC"; then
2692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2693 $as_echo "$CC" >&6; }
2695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2696 $as_echo "no" >&6; }
2701 if test -z "$CC"; then
2702 if test -n "$ac_tool_prefix"; then
2703 for ac_prog
in cl.exe
2705 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2706 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2708 $as_echo_n "checking for $ac_word... " >&6; }
2709 if test "${ac_cv_prog_CC+set}" = set; then :
2710 $as_echo_n "(cached) " >&6
2712 if test -n "$CC"; then
2713 ac_cv_prog_CC
="$CC" # Let the user override the test.
2715 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2719 test -z "$as_dir" && as_dir
=.
2720 for ac_exec_ext
in '' $ac_executable_extensions; do
2721 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2722 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2723 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2733 if test -n "$CC"; then
2734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2735 $as_echo "$CC" >&6; }
2737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2738 $as_echo "no" >&6; }
2742 test -n "$CC" && break
2745 if test -z "$CC"; then
2747 for ac_prog
in cl.exe
2749 # Extract the first word of "$ac_prog", so it can be a program name with args.
2750 set dummy
$ac_prog; ac_word
=$2
2751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2752 $as_echo_n "checking for $ac_word... " >&6; }
2753 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2754 $as_echo_n "(cached) " >&6
2756 if test -n "$ac_ct_CC"; then
2757 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2759 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2763 test -z "$as_dir" && as_dir
=.
2764 for ac_exec_ext
in '' $ac_executable_extensions; do
2765 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2766 ac_cv_prog_ac_ct_CC
="$ac_prog"
2767 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2776 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2777 if test -n "$ac_ct_CC"; then
2778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2779 $as_echo "$ac_ct_CC" >&6; }
2781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2782 $as_echo "no" >&6; }
2786 test -n "$ac_ct_CC" && break
2789 if test "x$ac_ct_CC" = x
; then
2792 case $cross_compiling:$ac_tool_warned in
2794 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2795 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2796 ac_tool_warned
=yes ;;
2805 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2806 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2807 as_fn_error
"no acceptable C compiler found in \$PATH
2808 See \`config.log' for more details." "$LINENO" 5; }
2810 # Provide some information about the compiler.
2811 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2814 for ac_option
in --version -v -V -qversion; do
2815 { { ac_try
="$ac_compiler $ac_option >&5"
2817 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2818 *) ac_try_echo=$ac_try;;
2820 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2821 $as_echo "$ac_try_echo"; } >&5
2822 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2824 if test -s conftest.err; then
2826 ... rest of stderr output deleted ...
2827 10q' conftest.err >conftest.er1
2828 cat conftest.er1 >&5
2829 rm -f conftest.er1 conftest.err
2831 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2832 test $ac_status = 0; }
2835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2836 /* end confdefs.h. */
2846 ac_clean_files_save=$ac_clean_files
2847 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
2848 # Try to create an executable without -o first, disregard a.out.
2849 # It will help us diagnose broken compilers, and finding out an intuition
2851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2852 $as_echo_n "checking for C compiler default output file name... " >&6; }
2853 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2855 # The possible output files:
2856 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2859 for ac_file in $ac_files
2862 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2863 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2868 if { { ac_try="$ac_link_default"
2870 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2871 *) ac_try_echo
=$ac_try;;
2873 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2874 $as_echo "$ac_try_echo"; } >&5
2875 (eval "$ac_link_default") 2>&5
2877 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2878 test $ac_status = 0; }; then :
2879 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2880 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2881 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2882 # so that the user can short-circuit this test for compilers unknown to
2884 for ac_file
in $ac_files ''
2886 test -f "$ac_file" ||
continue
2888 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
2891 # We found the default executable, but exeext='' is most
2895 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2897 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2899 # We set ac_cv_exeext here because the later test for it is not
2900 # safe: cross compilers may not add the suffix if given an `-o'
2901 # argument, so we may need to know it at that point already.
2902 # Even if this section looks crufty: it has the advantage of
2909 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2915 $as_echo "$ac_file" >&6; }
2916 if test -z "$ac_file"; then :
2917 $as_echo "$as_me: failed program was:" >&5
2918 sed 's/^/| /' conftest.
$ac_ext >&5
2920 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2921 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2922 { as_fn_set_status
77
2923 as_fn_error
"C compiler cannot create executables
2924 See \`config.log' for more details." "$LINENO" 5; }; }
2926 ac_exeext
=$ac_cv_exeext
2928 # Check that the compiler produces executables we can run. If not, either
2929 # the compiler is broken, or we cross compile.
2930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2931 $as_echo_n "checking whether the C compiler works... " >&6; }
2932 # If not cross compiling, check that we can run a simple program.
2933 if test "$cross_compiling" != yes; then
2934 if { ac_try
='./$ac_file'
2935 { { case "(($ac_try" in
2936 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2937 *) ac_try_echo=$ac_try;;
2939 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2940 $as_echo "$ac_try_echo"; } >&5
2941 (eval "$ac_try") 2>&5
2943 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2944 test $ac_status = 0; }; }; then
2947 if test "$cross_compiling" = maybe; then
2950 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2951 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2952 as_fn_error "cannot run C compiled programs.
2953 If you meant to cross compile
, use \
`--host'.
2954 See \`config.log
' for more details." "$LINENO" 5; }
2958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2959 $as_echo "yes" >&6; }
2961 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
2962 ac_clean_files=$ac_clean_files_save
2963 # Check that the compiler produces executables we can run. If not, either
2964 # the compiler is broken, or we cross compile.
2965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2966 $as_echo_n "checking whether we are cross compiling... " >&6; }
2967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2968 $as_echo "$cross_compiling" >&6; }
2970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2971 $as_echo_n "checking for suffix of executables... " >&6; }
2972 if { { ac_try="$ac_link"
2974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2975 *) ac_try_echo=$ac_try;;
2977 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2978 $as_echo "$ac_try_echo"; } >&5
2979 (eval "$ac_link") 2>&5
2981 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2982 test $ac_status = 0; }; then :
2983 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2984 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2985 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2987 for ac_file
in conftest.exe conftest conftest.
*; do
2988 test -f "$ac_file" ||
continue
2990 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2991 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2997 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2998 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2999 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3000 See \`config.log' for more details." "$LINENO" 5; }
3002 rm -f conftest
$ac_cv_exeext
3003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3004 $as_echo "$ac_cv_exeext" >&6; }
3006 rm -f conftest.
$ac_ext
3007 EXEEXT
=$ac_cv_exeext
3009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3010 $as_echo_n "checking for suffix of object files... " >&6; }
3011 if test "${ac_cv_objext+set}" = set; then :
3012 $as_echo_n "(cached) " >&6
3014 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3015 /* end confdefs.h. */
3025 rm -f conftest.o conftest.obj
3026 if { { ac_try
="$ac_compile"
3028 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3029 *) ac_try_echo=$ac_try;;
3031 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3032 $as_echo "$ac_try_echo"; } >&5
3033 (eval "$ac_compile") 2>&5
3035 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3036 test $ac_status = 0; }; then :
3037 for ac_file in conftest.o conftest.obj conftest.*; do
3038 test -f "$ac_file" || continue;
3040 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3041 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3046 $as_echo "$as_me: failed program was:" >&5
3047 sed 's/^/| /' conftest.$ac_ext >&5
3049 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3050 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3051 as_fn_error "cannot compute suffix of object files
: cannot compile
3052 See \
`config.log' for more details." "$LINENO" 5; }
3054 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3057 $as_echo "$ac_cv_objext" >&6; }
3058 OBJEXT=$ac_cv_objext
3060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3061 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3062 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3063 $as_echo_n "(cached) " >&6
3065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3066 /* end confdefs.h. */
3079 if ac_fn_c_try_compile "$LINENO"; then :
3084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3085 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3089 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3090 if test $ac_compiler_gnu = yes; then
3095 ac_test_CFLAGS=${CFLAGS+set}
3096 ac_save_CFLAGS=$CFLAGS
3097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3098 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3099 if test "${ac_cv_prog_cc_g+set}" = set; then :
3100 $as_echo_n "(cached) " >&6
3102 ac_save_c_werror_flag=$ac_c_werror_flag
3103 ac_c_werror_flag=yes
3106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3107 /* end confdefs.h. */
3117 if ac_fn_c_try_compile "$LINENO"; then :
3121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3122 /* end confdefs.h. */
3132 if ac_fn_c_try_compile "$LINENO"; then :
3135 ac_c_werror_flag=$ac_save_c_werror_flag
3137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3138 /* end confdefs.h. */
3148 if ac_fn_c_try_compile "$LINENO"; then :
3151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3156 ac_c_werror_flag=$ac_save_c_werror_flag
3158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3159 $as_echo "$ac_cv_prog_cc_g" >&6; }
3160 if test "$ac_test_CFLAGS" = set; then
3161 CFLAGS=$ac_save_CFLAGS
3162 elif test $ac_cv_prog_cc_g = yes; then
3163 if test "$GCC" = yes; then
3169 if test "$GCC" = yes; then
3175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3176 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3177 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3178 $as_echo_n "(cached) " >&6
3180 ac_cv_prog_cc_c89=no
3182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3183 /* end confdefs.h. */
3186 #include <sys/types.h>
3187 #include <sys/stat.h>
3188 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3189 struct buf { int x; };
3190 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3191 static char *e (p, i)
3197 static char *f (char * (*g) (char **, int), char **p, ...)
3202 s = g (p, va_arg (v,int));
3207 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3208 function prototypes and stuff, but not '\xHH' hex character constants.
3209 These don't provoke an error unfortunately, instead are silently treated
3210 as 'x'. The following induces an error, until -std is added to get
3211 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3212 array size at least. It's necessary to write '\x00'==0 to get something
3213 that's true only with -std. */
3214 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3216 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3217 inside strings and character constants. */
3219 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3221 int test (int i, double x);
3222 struct s1 {int (*f) (int a);};
3223 struct s2 {int (*f) (double a);};
3224 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3230 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3235 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3236 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3238 CC="$ac_save_CC $ac_arg"
3239 if ac_fn_c_try_compile "$LINENO"; then :
3240 ac_cv_prog_cc_c89=$ac_arg
3242 rm -f core conftest.err conftest.$ac_objext
3243 test "x$ac_cv_prog_cc_c89" != "xno" && break
3245 rm -f conftest.$ac_ext
3250 case "x$ac_cv_prog_cc_c89" in
3252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3253 $as_echo "none needed" >&6; } ;;
3255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3256 $as_echo "unsupported" >&6; } ;;
3258 CC="$CC $ac_cv_prog_cc_c89"
3259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3260 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3262 if test "x$ac_cv_prog_cc_c89" != xno; then :
3267 ac_cpp='$CPP $CPPFLAGS'
3268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3273 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3274 for ac_t in install-sh install.sh shtool; do
3275 if test -f "$ac_dir/$ac_t"; then
3277 ac_install_sh="$ac_aux_dir/$ac_t -c"
3282 if test -z "$ac_aux_dir"; then
3283 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3286 # These three variables are undocumented and unsupported,
3287 # and are intended to be withdrawn in a future Autoconf release.
3288 # They can cause serious problems if a builder's source tree is in a directory
3289 # whose full name contains unusual characters.
3290 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3291 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3292 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3295 # Make sure we can run config.sub.
3296 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3297 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3300 $as_echo_n "checking build system type... " >&6; }
3301 if test "${ac_cv_build+set}" = set; then :
3302 $as_echo_n "(cached) " >&6
3304 ac_build_alias=$build_alias
3305 test "x$ac_build_alias" = x &&
3306 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3307 test "x$ac_build_alias" = x &&
3308 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
3309 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3310 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3314 $as_echo "$ac_cv_build" >&6; }
3315 case $ac_cv_build in
3317 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
3320 ac_save_IFS=$IFS; IFS='-'
3326 # Remember, the first character of IFS is used to create $*,
3327 # except with old shells:
3330 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
3333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3334 $as_echo_n "checking host system type... " >&6; }
3335 if test "${ac_cv_host+set}" = set; then :
3336 $as_echo_n "(cached) " >&6
3338 if test "x$host_alias" = x; then
3339 ac_cv_host=$ac_cv_build
3341 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3342 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3347 $as_echo "$ac_cv_host" >&6; }
3350 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
3353 ac_save_IFS=$IFS; IFS='-'
3359 # Remember, the first character of IFS is used to create $*,
3360 # except with old shells:
3363 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
3366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3367 $as_echo_n "checking target system type... " >&6; }
3368 if test "${ac_cv_target+set}" = set; then :
3369 $as_echo_n "(cached) " >&6
3371 if test "x$target_alias" = x; then
3372 ac_cv_target=$ac_cv_host
3374 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3375 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3380 $as_echo "$ac_cv_target" >&6; }
3381 case $ac_cv_target in
3383 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
3385 target=$ac_cv_target
3386 ac_save_IFS=$IFS; IFS='-'
3392 # Remember, the first character of IFS is used to create $*,
3393 # except with old shells:
3396 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
3399 # The aliases save the names the user supplied, while $host etc.
3400 # will get canonicalized.
3401 test -n "$target_alias" &&
3402 test "$program_prefix$program_suffix$program_transform_name" = \
3404 program_prefix=${target_alias}-
3407 ac_cpp='$CPP $CPPFLAGS'
3408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3412 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3413 # On Suns, sometimes $CPP names a directory.
3414 if test -n "$CPP" && test -d "$CPP"; then
3417 if test -z "$CPP"; then
3418 if test "${ac_cv_prog_CPP+set}" = set; then :
3419 $as_echo_n "(cached) " >&6
3421 # Double quotes because CPP needs to be expanded
3422 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3425 for ac_c_preproc_warn_flag in '' yes
3427 # Use a header file that comes with gcc, so configuring glibc
3428 # with a fresh cross-compiler works.
3429 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3430 # <limits.h> exists even on freestanding compilers.
3431 # On the NeXT, cc -E runs the code through the compiler's parser,
3432 # not just through cpp. "Syntax error" is here to catch this case.
3433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3434 /* end confdefs.h. */
3436 # include <limits.h>
3438 # include <assert.h>
3442 if ac_fn_c_try_cpp "$LINENO"; then :
3445 # Broken: fails on valid input.
3448 rm -f conftest.err conftest.$ac_ext
3450 # OK, works on sane cases. Now check whether nonexistent headers
3451 # can be detected and how.
3452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3453 /* end confdefs.h. */
3454 #include <ac_nonexistent.h>
3456 if ac_fn_c_try_cpp "$LINENO"; then :
3457 # Broken: success on invalid input.
3460 # Passes both tests.
3464 rm -f conftest.err conftest.$ac_ext
3467 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3468 rm -f conftest.err conftest.
$ac_ext
3469 if $ac_preproc_ok; then :
3481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3482 $as_echo "$CPP" >&6; }
3484 for ac_c_preproc_warn_flag
in '' yes
3486 # Use a header file that comes with gcc, so configuring glibc
3487 # with a fresh cross-compiler works.
3488 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3489 # <limits.h> exists even on freestanding compilers.
3490 # On the NeXT, cc -E runs the code through the compiler's parser,
3491 # not just through cpp. "Syntax error" is here to catch this case.
3492 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3493 /* end confdefs.h. */
3495 # include <limits.h>
3497 # include <assert.h>
3501 if ac_fn_c_try_cpp
"$LINENO"; then :
3504 # Broken: fails on valid input.
3507 rm -f conftest.err conftest.
$ac_ext
3509 # OK, works on sane cases. Now check whether nonexistent headers
3510 # can be detected and how.
3511 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3512 /* end confdefs.h. */
3513 #include <ac_nonexistent.h>
3515 if ac_fn_c_try_cpp
"$LINENO"; then :
3516 # Broken: success on invalid input.
3519 # Passes both tests.
3523 rm -f conftest.err conftest.
$ac_ext
3526 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3527 rm -f conftest.err conftest.
$ac_ext
3528 if $ac_preproc_ok; then :
3531 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3532 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3533 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
3534 See \`config.log' for more details." "$LINENO" 5; }
3538 ac_cpp
='$CPP $CPPFLAGS'
3539 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3540 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3541 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3545 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3546 if test "${ac_cv_path_GREP+set}" = set; then :
3547 $as_echo_n "(cached) " >&6
3549 if test -z "$GREP"; then
3550 ac_path_GREP_found
=false
3551 # Loop through the user's path and test for each of PROGNAME-LIST
3552 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3553 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3556 test -z "$as_dir" && as_dir
=.
3557 for ac_prog
in grep ggrep
; do
3558 for ac_exec_ext
in '' $ac_executable_extensions; do
3559 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3560 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
3561 # Check for GNU ac_path_GREP and select it if it is found.
3562 # Check for GNU $ac_path_GREP
3563 case `"$ac_path_GREP" --version 2>&1` in
3565 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3568 $as_echo_n 0123456789 >"conftest.in"
3571 cat "conftest.in" "conftest.in" >"conftest.tmp"
3572 mv "conftest.tmp" "conftest.in"
3573 cp "conftest.in" "conftest.nl"
3574 $as_echo 'GREP' >> "conftest.nl"
3575 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3576 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3577 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3578 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3579 # Best one so far, save it but keep looking for a better one
3580 ac_cv_path_GREP
="$ac_path_GREP"
3581 ac_path_GREP_max
=$ac_count
3583 # 10*(2^10) chars as input seems more than enough
3584 test $ac_count -gt 10 && break
3586 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3589 $ac_path_GREP_found && break 3
3594 if test -z "$ac_cv_path_GREP"; then
3595 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3598 ac_cv_path_GREP
=$GREP
3602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3603 $as_echo "$ac_cv_path_GREP" >&6; }
3604 GREP
="$ac_cv_path_GREP"
3607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3608 $as_echo_n "checking for egrep... " >&6; }
3609 if test "${ac_cv_path_EGREP+set}" = set; then :
3610 $as_echo_n "(cached) " >&6
3612 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3613 then ac_cv_path_EGREP
="$GREP -E"
3615 if test -z "$EGREP"; then
3616 ac_path_EGREP_found
=false
3617 # Loop through the user's path and test for each of PROGNAME-LIST
3618 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3619 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3622 test -z "$as_dir" && as_dir
=.
3623 for ac_prog
in egrep; do
3624 for ac_exec_ext
in '' $ac_executable_extensions; do
3625 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3626 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
3627 # Check for GNU ac_path_EGREP and select it if it is found.
3628 # Check for GNU $ac_path_EGREP
3629 case `"$ac_path_EGREP" --version 2>&1` in
3631 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3634 $as_echo_n 0123456789 >"conftest.in"
3637 cat "conftest.in" "conftest.in" >"conftest.tmp"
3638 mv "conftest.tmp" "conftest.in"
3639 cp "conftest.in" "conftest.nl"
3640 $as_echo 'EGREP' >> "conftest.nl"
3641 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3642 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3643 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3644 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3645 # Best one so far, save it but keep looking for a better one
3646 ac_cv_path_EGREP
="$ac_path_EGREP"
3647 ac_path_EGREP_max
=$ac_count
3649 # 10*(2^10) chars as input seems more than enough
3650 test $ac_count -gt 10 && break
3652 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3655 $ac_path_EGREP_found && break 3
3660 if test -z "$ac_cv_path_EGREP"; then
3661 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3664 ac_cv_path_EGREP
=$EGREP
3669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3670 $as_echo "$ac_cv_path_EGREP" >&6; }
3671 EGREP
="$ac_cv_path_EGREP"
3674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3675 $as_echo_n "checking for ANSI C header files... " >&6; }
3676 if test "${ac_cv_header_stdc+set}" = set; then :
3677 $as_echo_n "(cached) " >&6
3679 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3680 /* end confdefs.h. */
3694 if ac_fn_c_try_compile
"$LINENO"; then :
3695 ac_cv_header_stdc
=yes
3697 ac_cv_header_stdc
=no
3699 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3701 if test $ac_cv_header_stdc = yes; then
3702 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3703 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3704 /* end confdefs.h. */
3708 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3709 $EGREP "memchr" >/dev
/null
2>&1; then :
3712 ac_cv_header_stdc
=no
3718 if test $ac_cv_header_stdc = yes; then
3719 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3720 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3721 /* end confdefs.h. */
3725 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3726 $EGREP "free" >/dev
/null
2>&1; then :
3729 ac_cv_header_stdc
=no
3735 if test $ac_cv_header_stdc = yes; then
3736 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3737 if test "$cross_compiling" = yes; then :
3740 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3741 /* end confdefs.h. */
3744 #if ((' ' & 0x0FF) == 0x020)
3745 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3746 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3748 # define ISLOWER(c) \
3749 (('a' <= (c) && (c) <= 'i') \
3750 || ('j' <= (c) && (c) <= 'r') \
3751 || ('s' <= (c) && (c) <= 'z'))
3752 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3755 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3760 for (i = 0; i < 256; i++)
3761 if (XOR (islower (i), ISLOWER (i))
3762 || toupper (i) != TOUPPER (i))
3767 if ac_fn_c_try_run
"$LINENO"; then :
3770 ac_cv_header_stdc
=no
3772 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
3773 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
3778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3779 $as_echo "$ac_cv_header_stdc" >&6; }
3780 if test $ac_cv_header_stdc = yes; then
3782 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3786 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3787 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3788 inttypes.h stdint.h unistd.h
3790 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3791 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3793 eval as_val
=\$
$as_ac_Header
3794 if test "x$as_val" = x
""yes; then :
3795 cat >>confdefs.h
<<_ACEOF
3796 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3805 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
3806 if test "x$ac_cv_header_minix_config_h" = x
""yes; then :
3813 if test "$MINIX" = yes; then
3815 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
3818 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
3821 $as_echo "#define _MINIX 1" >>confdefs.h
3826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
3827 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
3828 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
3829 $as_echo_n "(cached) " >&6
3831 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3832 /* end confdefs.h. */
3834 # define __EXTENSIONS__ 1
3835 $ac_includes_default
3844 if ac_fn_c_try_compile
"$LINENO"; then :
3845 ac_cv_safe_to_define___extensions__
=yes
3847 ac_cv_safe_to_define___extensions__
=no
3849 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
3852 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
3853 test $ac_cv_safe_to_define___extensions__ = yes &&
3854 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
3856 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
3858 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
3860 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
3862 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
3865 test "$program_prefix" != NONE
&&
3866 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
3867 # Use a double $ so make ignores it.
3868 test "$program_suffix" != NONE
&&
3869 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
3870 # Double any \ or $.
3871 # By default was `s,x,x', remove it if useless.
3872 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3873 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
3875 # Find a good install program. We prefer a C program (faster),
3876 # so one script is as good as another. But avoid the broken or
3877 # incompatible versions:
3878 # SysV /etc/install, /usr/sbin/install
3879 # SunOS /usr/etc/install
3880 # IRIX /sbin/install
3882 # AmigaOS /C/install, which installs bootblocks on floppy discs
3883 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3884 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3885 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3886 # OS/2's system install, which has a completely different semantic
3887 # ./install, which can be erroneously created by make from ./install.sh.
3888 # Reject install programs that cannot install multiple files.
3889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3890 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3891 if test -z "$INSTALL"; then
3892 if test "${ac_cv_path_install+set}" = set; then :
3893 $as_echo_n "(cached) " >&6
3895 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3899 test -z "$as_dir" && as_dir
=.
3900 # Account for people who put trailing slashes in PATH elements.
3901 case $as_dir/ in #((
3902 .
/ | .
// |
/[cC
]/* | \
3903 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3904 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
3907 # OSF1 and SCO ODT 3.0 have their own names for install.
3908 # Don't use installbsd from OSF since it installs stuff as root
3910 for ac_prog
in ginstall scoinst
install; do
3911 for ac_exec_ext
in '' $ac_executable_extensions; do
3912 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3913 if test $ac_prog = install &&
3914 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3915 # AIX install. It has an incompatible calling convention.
3917 elif test $ac_prog = install &&
3918 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3919 # program-specific install script used by HP pwplus--don't use.
3922 rm -rf conftest.one conftest.two conftest.dir
3923 echo one
> conftest.one
3924 echo two
> conftest.two
3926 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
3927 test -s conftest.one
&& test -s conftest.two
&&
3928 test -s conftest.dir
/conftest.one
&&
3929 test -s conftest.dir
/conftest.two
3931 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3944 rm -rf conftest.one conftest.two conftest.dir
3947 if test "${ac_cv_path_install+set}" = set; then
3948 INSTALL
=$ac_cv_path_install
3950 # As a last resort, use the slow shell script. Don't cache a
3951 # value for INSTALL within a source directory, because that will
3952 # break other packages using the cache if that directory is
3953 # removed, or if the value is a relative name.
3954 INSTALL
=$ac_install_sh
3957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3958 $as_echo "$INSTALL" >&6; }
3960 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3961 # It thinks the first close brace ends the variable substitution.
3962 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3964 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3966 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3968 rm -rf .tst
2>/dev
/null
3969 mkdir .tst
2>/dev
/null
3970 if test -d .tst
; then
3975 rmdir .tst
2>/dev
/null
3977 DEPDIR
="${am__leading_dot}deps"
3981 # autoconf.info says this should be called right after AC_INIT.
3982 ac_config_headers
="$ac_config_headers config.h:config.in"
3989 # Put a plausible default for CC_FOR_BUILD in Makefile.
3990 if test "x$cross_compiling" = "xno"; then
3991 CC_FOR_BUILD
='$(CC)'
4001 if test -n "$ac_tool_prefix"; then
4002 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4003 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4005 $as_echo_n "checking for $ac_word... " >&6; }
4006 if test "${ac_cv_prog_RANLIB+set}" = set; then :
4007 $as_echo_n "(cached) " >&6
4009 if test -n "$RANLIB"; then
4010 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4012 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4016 test -z "$as_dir" && as_dir
=.
4017 for ac_exec_ext
in '' $ac_executable_extensions; do
4018 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4019 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4020 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4029 RANLIB
=$ac_cv_prog_RANLIB
4030 if test -n "$RANLIB"; then
4031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4032 $as_echo "$RANLIB" >&6; }
4034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4035 $as_echo "no" >&6; }
4040 if test -z "$ac_cv_prog_RANLIB"; then
4041 ac_ct_RANLIB
=$RANLIB
4042 # Extract the first word of "ranlib", so it can be a program name with args.
4043 set dummy ranlib
; ac_word
=$2
4044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4045 $as_echo_n "checking for $ac_word... " >&6; }
4046 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
4047 $as_echo_n "(cached) " >&6
4049 if test -n "$ac_ct_RANLIB"; then
4050 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4052 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4056 test -z "$as_dir" && as_dir
=.
4057 for ac_exec_ext
in '' $ac_executable_extensions; do
4058 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4059 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4060 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4069 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4070 if test -n "$ac_ct_RANLIB"; then
4071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4072 $as_echo "$ac_ct_RANLIB" >&6; }
4074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4075 $as_echo "no" >&6; }
4078 if test "x$ac_ct_RANLIB" = x
; then
4081 case $cross_compiling:$ac_tool_warned in
4083 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4084 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4085 ac_tool_warned
=yes ;;
4087 RANLIB
=$ac_ct_RANLIB
4090 RANLIB
="$ac_cv_prog_RANLIB"
4094 # Some of the common include files depend on bfd.h, and bfd.h checks
4095 # that config.h is included first by testing that the PACKAGE macro
4099 cat >>confdefs.h
<<_ACEOF
4100 #define PACKAGE "$PACKAGE"
4105 # Dependency checking.
4106 ac_config_commands
="$ac_config_commands depdir"
4109 depcc
="$CC" am_compiler_list
=
4111 am_depcomp
=$ac_aux_dir/depcomp
4112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4113 $as_echo_n "checking dependency style of $depcc... " >&6; }
4114 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4115 $as_echo_n "(cached) " >&6
4117 if test -f "$am_depcomp"; then
4118 # We make a subdir and do the tests there. Otherwise we can end up
4119 # making bogus files that we don't know about and never remove. For
4120 # instance it was reported that on HP-UX the gcc test will end up
4121 # making a dummy file named `D' -- because `-MD' means `put the output
4124 # Copy depcomp to subdir because otherwise we won't find it if we're
4125 # using a relative directory.
4126 cp "$am_depcomp" conftest.dir
4128 # We will build objects and dependencies in a subdirectory because
4129 # it helps to detect inapplicable dependency modes. For instance
4130 # both Tru64's cc and ICC support -MD to output dependencies as a
4131 # side effect of compilation, but ICC will put the dependencies in
4132 # the current directory while Tru64 will put them in the object
4136 am_cv_CC_dependencies_compiler_type
=none
4137 if test "$am_compiler_list" = ""; then
4138 am_compiler_list
=`sed -n 's/^\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4140 for depmode
in $am_compiler_list; do
4141 if test $depmode = none
; then break; fi
4143 $as_echo "$as_me:$LINENO: trying $depmode" >&5
4144 # Setup a source with many dependencies, because some compilers
4145 # like to wrap large dependency lists on column 80 (with \), and
4146 # we should not choose a depcomp mode which is confused by this.
4148 # We need to recreate these files for each test, as the compiler may
4149 # overwrite some of them when testing with obscure command lines.
4150 # This happens at least with the AIX C compiler.
4152 for i
in 1 2 3 4 5 6; do
4153 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4154 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4155 # Solaris 8's {/usr,}/bin/sh.
4156 touch sub
/conftst
$i.h
4158 echo "include sub/conftest.Po" > confmf
4160 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4161 # mode. It turns out that the SunPro C++ compiler does not properly
4162 # handle `-M -o', and we need to detect this.
4163 depcmd
="depmode=$depmode \
4164 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4165 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4166 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c"
4167 echo "| $depcmd" |
sed -e 's/ */ /g' >&5
4168 if env
$depcmd > conftest.err
2>&1 &&
4169 grep sub
/conftst6.h sub
/conftest.Po
>>conftest.err
2>&1 &&
4170 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
>>conftest.err
2>&1 &&
4171 ${MAKE-make} -s -f confmf
>>conftest.err
2>&1; then
4172 # icc doesn't choke on unknown options, it will just issue warnings
4173 # or remarks (even with -Werror). So we grep stderr for any message
4174 # that says an option was ignored or not supported.
4175 # When given -MP, icc 7.0 and 7.1 complain thusly:
4176 # icc: Command line warning: ignoring option '-M'; no argument required
4177 # The diagnosis changed in icc 8.0:
4178 # icc: Command line remark: option '-MP' not supported
4179 if (grep 'ignoring option' conftest.err ||
4180 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4181 am_cv_CC_dependencies_compiler_type
=$depmode
4182 $as_echo "$as_me:$LINENO: success" >&5
4186 $as_echo "$as_me:$LINENO: failure, diagnostics are:" >&5
4187 sed -e 's/^/| /' < conftest.err
>&5
4193 am_cv_CC_dependencies_compiler_type
=none
4197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4198 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4199 if test x
${am_cv_CC_dependencies_compiler_type-none} = xnone
4200 then as_fn_error
"no usable dependency style found" "$LINENO" 5
4201 else CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4206 # Check for the 'make' the user wants to use.
4209 # Extract the first word of "$ac_prog", so it can be a program name with args.
4210 set dummy
$ac_prog; ac_word
=$2
4211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4212 $as_echo_n "checking for $ac_word... " >&6; }
4213 if test "${ac_cv_prog_MAKE+set}" = set; then :
4214 $as_echo_n "(cached) " >&6
4216 if test -n "$MAKE"; then
4217 ac_cv_prog_MAKE
="$MAKE" # Let the user override the test.
4219 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4223 test -z "$as_dir" && as_dir
=.
4224 for ac_exec_ext
in '' $ac_executable_extensions; do
4225 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4226 ac_cv_prog_MAKE
="$ac_prog"
4227 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4236 MAKE
=$ac_cv_prog_MAKE
4237 if test -n "$MAKE"; then
4238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKE" >&5
4239 $as_echo "$MAKE" >&6; }
4241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4242 $as_echo "no" >&6; }
4246 test -n "$MAKE" && break
4250 case "`$MAKE --version 2>&1 | sed 1q`" in
4255 if test "$MAKE_IS_GNU" = yes; then
4265 # If we haven't got the data from the intl directory,
4266 # assume NLS is disabled.
4275 if test -f ..
/..
/intl
/config.intl
; then
4276 . ..
/..
/intl
/config.intl
4278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
4279 $as_echo_n "checking whether NLS is requested... " >&6; }
4280 if test x
"$USE_NLS" != xyes
; then
4281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4282 $as_echo "no" >&6; }
4284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4285 $as_echo "yes" >&6; }
4287 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
4290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
4291 $as_echo_n "checking for catalogs to be installed... " >&6; }
4292 # Look for .po and .gmo files in the source directory.
4295 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
4296 # If there aren't any .gmo files the shell will give us the
4297 # literal string "../path/to/srcdir/po/*.gmo" which has to be
4299 case "$cat" in *\
**)
4302 # The quadruple backslash is collapsed to a double backslash
4303 # by the backticks, then collapsed again by the double quotes,
4304 # leaving us with one backslash in the sed expression (right
4305 # before the dot that mustn't act as a wildcard).
4306 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
4307 lang
=`echo $cat | sed -e "s!\\\\.gmo!!"`
4308 # The user is allowed to set LINGUAS to a list of languages to
4309 # install catalogs for. If it's empty that means "all of them."
4310 if test "x$LINGUAS" = x
; then
4311 CATALOGS
="$CATALOGS $cat"
4312 XLINGUAS
="$XLINGUAS $lang"
4314 case "$LINGUAS" in *$lang*)
4315 CATALOGS
="$CATALOGS $cat"
4316 XLINGUAS
="$XLINGUAS $lang"
4322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
4323 $as_echo "$LINGUAS" >&6; }
4336 # Check for common headers.
4337 # FIXME: Seems to me this can cause problems for i386-windows hosts.
4338 # At one point there were hardcoded AC_DEFINE's if ${host} = i386-*-windows*.
4339 for ac_header
in stdlib.h string.h
strings.h unistd.h
time.h
4341 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4342 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4343 eval as_val
=\$
$as_ac_Header
4344 if test "x$as_val" = x
""yes; then :
4345 cat >>confdefs.h
<<_ACEOF
4346 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4353 for ac_header
in sys
/time.h sys
/resource.h
4355 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4356 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4357 eval as_val
=\$
$as_ac_Header
4358 if test "x$as_val" = x
""yes; then :
4359 cat >>confdefs.h
<<_ACEOF
4360 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4367 for ac_header
in fcntl.h fpu_control.h
4369 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4370 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4371 eval as_val
=\$
$as_ac_Header
4372 if test "x$as_val" = x
""yes; then :
4373 cat >>confdefs.h
<<_ACEOF
4374 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4381 for ac_header
in dlfcn.h errno.h sys
/stat.h
4383 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4384 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4385 eval as_val
=\$
$as_ac_Header
4386 if test "x$as_val" = x
""yes; then :
4387 cat >>confdefs.h
<<_ACEOF
4388 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4395 for ac_func
in getrusage
time sigaction __setfpucw
4397 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4398 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
4399 eval as_val
=\$
$as_ac_var
4400 if test "x$as_val" = x
""yes; then :
4401 cat >>confdefs.h
<<_ACEOF
4402 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4409 # Check for socket libraries
4410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bind in -lsocket" >&5
4411 $as_echo_n "checking for bind in -lsocket... " >&6; }
4412 if test "${ac_cv_lib_socket_bind+set}" = set; then :
4413 $as_echo_n "(cached) " >&6
4415 ac_check_lib_save_LIBS
=$LIBS
4416 LIBS
="-lsocket $LIBS"
4417 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4418 /* end confdefs.h. */
4420 /* Override any GCC internal prototype to avoid an error.
4421 Use char because int might match the return type of a GCC
4422 builtin and then its argument prototype would still apply. */
4435 if ac_fn_c_try_link
"$LINENO"; then :
4436 ac_cv_lib_socket_bind
=yes
4438 ac_cv_lib_socket_bind
=no
4440 rm -f core conftest.err conftest.
$ac_objext \
4441 conftest
$ac_exeext conftest.
$ac_ext
4442 LIBS
=$ac_check_lib_save_LIBS
4444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_bind" >&5
4445 $as_echo "$ac_cv_lib_socket_bind" >&6; }
4446 if test "x$ac_cv_lib_socket_bind" = x
""yes; then :
4447 cat >>confdefs.h
<<_ACEOF
4448 #define HAVE_LIBSOCKET 1
4451 LIBS
="-lsocket $LIBS"
4455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
4456 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
4457 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then :
4458 $as_echo_n "(cached) " >&6
4460 ac_check_lib_save_LIBS
=$LIBS
4462 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4463 /* end confdefs.h. */
4465 /* Override any GCC internal prototype to avoid an error.
4466 Use char because int might match the return type of a GCC
4467 builtin and then its argument prototype would still apply. */
4471 char gethostbyname ();
4475 return gethostbyname ();
4480 if ac_fn_c_try_link
"$LINENO"; then :
4481 ac_cv_lib_nsl_gethostbyname
=yes
4483 ac_cv_lib_nsl_gethostbyname
=no
4485 rm -f core conftest.err conftest.
$ac_objext \
4486 conftest
$ac_exeext conftest.
$ac_ext
4487 LIBS
=$ac_check_lib_save_LIBS
4489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
4490 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
4491 if test "x$ac_cv_lib_nsl_gethostbyname" = x
""yes; then :
4492 cat >>confdefs.h
<<_ACEOF
4493 #define HAVE_LIBNSL 1
4501 # BFD conditionally uses zlib, so we must link it in if libbfd does, by
4502 # using the same condition.
4504 # See if the user specified whether he wants zlib support or not.
4506 # Check whether --with-zlib was given.
4507 if test "${with_zlib+set}" = set; then :
4514 if test "$with_zlib" != "no"; then
4515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing zlibVersion" >&5
4516 $as_echo_n "checking for library containing zlibVersion... " >&6; }
4517 if test "${ac_cv_search_zlibVersion+set}" = set; then :
4518 $as_echo_n "(cached) " >&6
4520 ac_func_search_save_LIBS
=$LIBS
4521 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4522 /* end confdefs.h. */
4524 /* Override any GCC internal prototype to avoid an error.
4525 Use char because int might match the return type of a GCC
4526 builtin and then its argument prototype would still apply. */
4530 char zlibVersion ();
4534 return zlibVersion ();
4539 for ac_lib
in '' z
; do
4540 if test -z "$ac_lib"; then
4541 ac_res
="none required"
4544 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
4546 if ac_fn_c_try_link
"$LINENO"; then :
4547 ac_cv_search_zlibVersion
=$ac_res
4549 rm -f core conftest.err conftest.
$ac_objext \
4551 if test "${ac_cv_search_zlibVersion+set}" = set; then :
4555 if test "${ac_cv_search_zlibVersion+set}" = set; then :
4558 ac_cv_search_zlibVersion
=no
4561 LIBS
=$ac_func_search_save_LIBS
4563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_zlibVersion" >&5
4564 $as_echo "$ac_cv_search_zlibVersion" >&6; }
4565 ac_res
=$ac_cv_search_zlibVersion
4566 if test "$ac_res" != no
; then :
4567 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
4568 for ac_header
in zlib.h
4570 ac_fn_c_check_header_mongrel
"$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
4571 if test "x$ac_cv_header_zlib_h" = x
""yes; then :
4572 cat >>confdefs.h
<<_ACEOF
4573 #define HAVE_ZLIB_H 1
4582 if test "$with_zlib" = "yes" -a "$ac_cv_header_zlib_h" != "yes"; then
4583 as_fn_error
"zlib (libz) library was explicitly requested but not found" "$LINENO" 5
4588 .
${srcdir}/..
/..
/bfd
/configure.
host
4592 USE_MAINTAINER_MODE
=no
4593 # Check whether --enable-maintainer-mode was given.
4594 if test "${enable_maintainer_mode+set}" = set; then :
4595 enableval
=$enable_maintainer_mode; case "${enableval}" in
4596 yes) MAINT
="" USE_MAINTAINER_MODE
=yes ;;
4598 *) as_fn_error
"\"--enable-maintainer-mode does not take a value\"" "$LINENO" 5; MAINT
="#" ;;
4600 if test x
"$silent" != x
"yes" && test x
"$MAINT" = x
""; then
4601 echo "Setting maintainer mode" 6>&1
4609 # Check whether --enable-sim-bswap was given.
4610 if test "${enable_sim_bswap+set}" = set; then :
4611 enableval
=$enable_sim_bswap; case "${enableval}" in
4612 yes) sim_bswap
="-DWITH_BSWAP=1 -DUSE_BSWAP=1";;
4613 no
) sim_bswap
="-DWITH_BSWAP=0";;
4614 *) as_fn_error
"\"--enable-sim-bswap does not take a value\"" "$LINENO" 5; sim_bswap
="";;
4616 if test x
"$silent" != x
"yes" && test x
"$sim_bswap" != x
""; then
4617 echo "Setting bswap flags = $sim_bswap" 6>&1
4625 # Check whether --enable-sim-cflags was given.
4626 if test "${enable_sim_cflags+set}" = set; then :
4627 enableval
=$enable_sim_cflags; case "${enableval}" in
4628 yes) sim_cflags
="-O2 -fomit-frame-pointer";;
4629 trace
) as_fn_error
"\"Please use --enable-sim-debug instead.\"" "$LINENO" 5; sim_cflags
="";;
4631 *) sim_cflags
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
4633 if test x
"$silent" != x
"yes" && test x
"$sim_cflags" != x
""; then
4634 echo "Setting sim cflags = $sim_cflags" 6>&1
4642 # Check whether --enable-sim-debug was given.
4643 if test "${enable_sim_debug+set}" = set; then :
4644 enableval
=$enable_sim_debug; case "${enableval}" in
4645 yes) sim_debug
="-DDEBUG=7 -DWITH_DEBUG=7";;
4646 no
) sim_debug
="-DDEBUG=0 -DWITH_DEBUG=0";;
4647 *) sim_debug
="-DDEBUG='(${enableval})' -DWITH_DEBUG='(${enableval})'";;
4649 if test x
"$silent" != x
"yes" && test x
"$sim_debug" != x
""; then
4650 echo "Setting sim debug = $sim_debug" 6>&1
4658 # Check whether --enable-sim-stdio was given.
4659 if test "${enable_sim_stdio+set}" = set; then :
4660 enableval
=$enable_sim_stdio; case "${enableval}" in
4661 yes) sim_stdio
="-DWITH_STDIO=DO_USE_STDIO";;
4662 no
) sim_stdio
="-DWITH_STDIO=DONT_USE_STDIO";;
4663 *) as_fn_error
"\"Unknown value $enableval passed to --enable-sim-stdio\"" "$LINENO" 5; sim_stdio
="";;
4665 if test x
"$silent" != x
"yes" && test x
"$sim_stdio" != x
""; then
4666 echo "Setting stdio flags = $sim_stdio" 6>&1
4674 # Check whether --enable-sim-trace was given.
4675 if test "${enable_sim_trace+set}" = set; then :
4676 enableval
=$enable_sim_trace; case "${enableval}" in
4677 yes) sim_trace
="-DTRACE=1 -DWITH_TRACE=-1";;
4678 no
) sim_trace
="-DTRACE=0 -DWITH_TRACE=0";;
4680 sim_trace
="-DTRACE='(${enableval})' -DWITH_TRACE='(${enableval})'";;
4683 for x
in `echo "$enableval" | sed -e "s/,/ /g"`; do
4684 if test x
"$sim_trace" = x
; then
4685 sim_trace
="-DWITH_TRACE='(TRACE_$x"
4687 sim_trace
="${sim_trace}|TRACE_$x"
4690 sim_trace
="$sim_trace)'" ;;
4692 if test x
"$silent" != x
"yes" && test x
"$sim_trace" != x
""; then
4693 echo "Setting sim trace = $sim_trace" 6>&1
4701 # Check whether --enable-sim-profile was given.
4702 if test "${enable_sim_profile+set}" = set; then :
4703 enableval
=$enable_sim_profile; case "${enableval}" in
4704 yes) sim_profile
="-DPROFILE=1 -DWITH_PROFILE=-1";;
4705 no
) sim_profile
="-DPROFILE=0 -DWITH_PROFILE=0";;
4707 sim_profile
="-DPROFILE='(${enableval})' -DWITH_PROFILE='(${enableval})'";;
4710 for x
in `echo "$enableval" | sed -e "s/,/ /g"`; do
4711 if test x
"$sim_profile" = x
; then
4712 sim_profile
="-DWITH_PROFILE='(PROFILE_$x"
4714 sim_profile
="${sim_profile}|PROFILE_$x"
4717 sim_profile
="$sim_profile)'" ;;
4719 if test x
"$silent" != x
"yes" && test x
"$sim_profile" != x
""; then
4720 echo "Setting sim profile = $sim_profile" 6>&1
4723 sim_profile
="-DPROFILE=1 -DWITH_PROFILE=-1"
4729 # Check whether --with-pkgversion was given.
4730 if test "${with_pkgversion+set}" = set; then :
4731 withval
=$with_pkgversion; case "$withval" in
4732 yes) as_fn_error
"package version not specified" "$LINENO" 5 ;;
4734 *) PKGVERSION
="($withval) " ;;
4745 # Check whether --with-bugurl was given.
4746 if test "${with_bugurl+set}" = set; then :
4747 withval
=$with_bugurl; case "$withval" in
4748 yes) as_fn_error
"bug URL not specified" "$LINENO" 5 ;;
4751 *) BUGURL
="$withval"
4755 BUGURL
="http://www.gnu.org/software/gdb/bugs/"
4765 REPORT_BUGS_TO
="<$BUGURL>"
4766 REPORT_BUGS_TEXI
=@uref
{`echo "$BUGURL" | sed 's/@/@@/g'`}
4773 cat >>confdefs.h
<<_ACEOF
4774 #define PKGVERSION "$PKGVERSION"
4778 cat >>confdefs.h
<<_ACEOF
4779 #define REPORT_BUGS_TO "$REPORT_BUGS_TO"
4783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
4784 $as_echo_n "checking return type of signal handlers... " >&6; }
4785 if test "${ac_cv_type_signal+set}" = set; then :
4786 $as_echo_n "(cached) " >&6
4788 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4789 /* end confdefs.h. */
4790 #include <sys/types.h>
4796 return *(signal (0, 0)) (0) == 1;
4801 if ac_fn_c_try_compile
"$LINENO"; then :
4802 ac_cv_type_signal
=int
4804 ac_cv_type_signal
=void
4806 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
4809 $as_echo "$ac_cv_type_signal" >&6; }
4811 cat >>confdefs.h
<<_ACEOF
4812 #define RETSIGTYPE $ac_cv_type_signal
4822 sim_link_links
=tconfig.h
4823 if test -f ${srcdir}/tconfig.
in
4825 sim_link_files
=tconfig.
in
4827 sim_link_files
=..
/common
/tconfig.
in
4830 # targ-vals.def points to the libc macro description file.
4832 *-*-*) TARG_VALS_DEF
=..
/common
/nltvals.def
;;
4834 sim_link_files
="${sim_link_files} ${TARG_VALS_DEF}"
4835 sim_link_links
="${sim_link_links} targ-vals.def"
4840 wire_endian
="LITTLE_ENDIAN"
4842 # Check whether --enable-sim-endian was given.
4843 if test "${enable_sim_endian+set}" = set; then :
4844 enableval
=$enable_sim_endian; case "${enableval}" in
4845 b
*|B
*) sim_endian
="-DWITH_TARGET_BYTE_ORDER=BIG_ENDIAN";;
4846 l
*|L
*) sim_endian
="-DWITH_TARGET_BYTE_ORDER=LITTLE_ENDIAN";;
4847 yes) if test x
"$wire_endian" != x
; then
4848 sim_endian
="-DWITH_TARGET_BYTE_ORDER=${wire_endian}"
4850 if test x
"$default_endian" != x
; then
4851 sim_endian
="-DWITH_TARGET_BYTE_ORDER=${default_endian}"
4853 echo "No hard-wired endian for target $target" 1>&6
4854 sim_endian
="-DWITH_TARGET_BYTE_ORDER=0"
4857 no
) if test x
"$default_endian" != x
; then
4858 sim_endian
="-DWITH_DEFAULT_TARGET_BYTE_ORDER=${default_endian}"
4860 if test x
"$wire_endian" != x
; then
4861 sim_endian
="-DWITH_DEFAULT_TARGET_BYTE_ORDER=${wire_endian}"
4863 echo "No default endian for target $target" 1>&6
4864 sim_endian
="-DWITH_DEFAULT_TARGET_BYTE_ORDER=0"
4867 *) as_fn_error
"\"Unknown value $enableval for --enable-sim-endian\"" "$LINENO" 5; sim_endian
="";;
4869 if test x
"$silent" != x
"yes" && test x
"$sim_endian" != x
""; then
4870 echo "Setting endian flags = $sim_endian" 6>&1
4873 if test x
"$default_endian" != x
; then
4874 sim_endian
="-DWITH_DEFAULT_TARGET_BYTE_ORDER=${default_endian}"
4876 if test x
"$wire_endian" != x
; then
4877 sim_endian
="-DWITH_TARGET_BYTE_ORDER=${wire_endian}"
4884 wire_alignment
="STRICT_ALIGNMENT"
4885 default_alignment
="STRICT_ALIGNMENT"
4887 # Check whether --enable-sim-alignment was given.
4888 if test "${enable_sim_alignment+set}" = set; then :
4889 enableval
=$enable_sim_alignment; case "${enableval}" in
4890 strict | STRICT
) sim_alignment
="-DWITH_ALIGNMENT=STRICT_ALIGNMENT";;
4891 nonstrict | NONSTRICT
) sim_alignment
="-DWITH_ALIGNMENT=NONSTRICT_ALIGNMENT";;
4892 forced | FORCED
) sim_alignment
="-DWITH_ALIGNMENT=FORCED_ALIGNMENT";;
4893 yes) if test x
"$wire_alignment" != x
; then
4894 sim_alignment
="-DWITH_ALIGNMENT=${wire_alignment}"
4896 if test x
"$default_alignment" != x
; then
4897 sim_alignment
="-DWITH_ALIGNMENT=${default_alignment}"
4899 echo "No hard-wired alignment for target $target" 1>&6
4900 sim_alignment
="-DWITH_ALIGNMENT=0"
4903 no
) if test x
"$default_alignment" != x
; then
4904 sim_alignment
="-DWITH_DEFAULT_ALIGNMENT=${default_alignment}"
4906 if test x
"$wire_alignment" != x
; then
4907 sim_alignment
="-DWITH_DEFAULT_ALIGNMENT=${wire_alignment}"
4909 echo "No default alignment for target $target" 1>&6
4910 sim_alignment
="-DWITH_DEFAULT_ALIGNMENT=0"
4913 *) as_fn_error
"\"Unknown value $enableval passed to --enable-sim-alignment\"" "$LINENO" 5; sim_alignment
="";;
4915 if test x
"$silent" != x
"yes" && test x
"$sim_alignment" != x
""; then
4916 echo "Setting alignment flags = $sim_alignment" 6>&1
4919 if test x
"$default_alignment" != x
; then
4920 sim_alignment
="-DWITH_DEFAULT_ALIGNMENT=${default_alignment}"
4922 if test x
"$wire_alignment" != x
; then
4923 sim_alignment
="-DWITH_ALIGNMENT=${wire_alignment}"
4931 # Check whether --enable-sim-hostendian was given.
4932 if test "${enable_sim_hostendian+set}" = set; then :
4933 enableval
=$enable_sim_hostendian; case "${enableval}" in
4934 no
) sim_hostendian
="-DWITH_HOST_BYTE_ORDER=0";;
4935 b
*|B
*) sim_hostendian
="-DWITH_HOST_BYTE_ORDER=BIG_ENDIAN";;
4936 l
*|L
*) sim_hostendian
="-DWITH_HOST_BYTE_ORDER=LITTLE_ENDIAN";;
4937 *) as_fn_error
"\"Unknown value $enableval for --enable-sim-hostendian\"" "$LINENO" 5; sim_hostendian
="";;
4939 if test x
"$silent" != x
"yes" && test x
"$sim_hostendian" != x
""; then
4940 echo "Setting hostendian flags = $sim_hostendian" 6>&1
4944 if test "x$cross_compiling" = "xno"; then
4945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
4946 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
4947 if test "${ac_cv_c_bigendian+set}" = set; then :
4948 $as_echo_n "(cached) " >&6
4950 ac_cv_c_bigendian
=unknown
4951 # See if we're dealing with a universal compiler.
4952 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4953 /* end confdefs.h. */
4954 #ifndef __APPLE_CC__
4955 not a universal capable compiler
4960 if ac_fn_c_try_compile
"$LINENO"; then :
4962 # Check for potential -arch flags. It is not universal unless
4963 # there are at least two -arch flags with different values.
4966 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
4967 if test -n "$ac_prev"; then
4969 i?
86 | x86_64 | ppc | ppc64
)
4970 if test -z "$ac_arch" ||
test "$ac_arch" = "$ac_word"; then
4973 ac_cv_c_bigendian
=universal
4979 elif test "x$ac_word" = "x-arch"; then
4984 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4985 if test $ac_cv_c_bigendian = unknown
; then
4986 # See if sys/param.h defines the BYTE_ORDER macro.
4987 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4988 /* end confdefs.h. */
4989 #include <sys/types.h>
4990 #include <sys/param.h>
4995 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
4996 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
5005 if ac_fn_c_try_compile
"$LINENO"; then :
5006 # It does; now see whether it defined to BIG_ENDIAN or not.
5007 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5008 /* end confdefs.h. */
5009 #include <sys/types.h>
5010 #include <sys/param.h>
5015 #if BYTE_ORDER != BIG_ENDIAN
5023 if ac_fn_c_try_compile
"$LINENO"; then :
5024 ac_cv_c_bigendian
=yes
5026 ac_cv_c_bigendian
=no
5028 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5030 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5032 if test $ac_cv_c_bigendian = unknown
; then
5033 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
5034 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5035 /* end confdefs.h. */
5041 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
5049 if ac_fn_c_try_compile
"$LINENO"; then :
5050 # It does; now see whether it defined to _BIG_ENDIAN or not.
5051 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5052 /* end confdefs.h. */
5066 if ac_fn_c_try_compile
"$LINENO"; then :
5067 ac_cv_c_bigendian
=yes
5069 ac_cv_c_bigendian
=no
5071 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5073 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5075 if test $ac_cv_c_bigendian = unknown
; then
5076 # Compile a test program.
5077 if test "$cross_compiling" = yes; then :
5078 # Try to guess by grepping values from an object file.
5079 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5080 /* end confdefs.h. */
5081 short int ascii_mm[] =
5082 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
5083 short int ascii_ii[] =
5084 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
5085 int use_ascii (int i) {
5086 return ascii_mm[i] + ascii_ii[i];
5088 short int ebcdic_ii[] =
5089 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
5090 short int ebcdic_mm[] =
5091 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
5092 int use_ebcdic (int i) {
5093 return ebcdic_mm[i] + ebcdic_ii[i];
5100 return use_ascii (foo) == use_ebcdic (foo);
5105 if ac_fn_c_try_compile
"$LINENO"; then :
5106 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
5107 ac_cv_c_bigendian
=yes
5109 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
5110 if test "$ac_cv_c_bigendian" = unknown
; then
5111 ac_cv_c_bigendian
=no
5113 # finding both strings is unlikely to happen, but who knows?
5114 ac_cv_c_bigendian
=unknown
5118 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5120 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5121 /* end confdefs.h. */
5122 $ac_includes_default
5127 /* Are we little or big endian? From Harbison&Steele. */
5131 char c[sizeof (long int)];
5134 return u.c[sizeof (long int) - 1] == 1;
5140 if ac_fn_c_try_run
"$LINENO"; then :
5141 ac_cv_c_bigendian
=no
5143 ac_cv_c_bigendian
=yes
5145 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5146 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
5152 $as_echo "$ac_cv_c_bigendian" >&6; }
5153 case $ac_cv_c_bigendian in #(
5155 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
5161 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
5165 as_fn_error
"unknown endianness
5166 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
5169 if test $ac_cv_c_bigendian = yes; then
5170 sim_hostendian
="-DWITH_HOST_BYTE_ORDER=BIG_ENDIAN"
5172 sim_hostendian
="-DWITH_HOST_BYTE_ORDER=LITTLE_ENDIAN"
5175 sim_hostendian
="-DWITH_HOST_BYTE_ORDER=0"
5180 default_sim_default_model
="bf537"
5181 # Check whether --enable-sim-default-model was given.
5182 if test "${enable_sim_default_model+set}" = set; then :
5183 enableval
=$enable_sim_default_model; case "${enableval}" in
5184 yes|no
) as_fn_error
"\"Missing argument to --enable-sim-default-model\"" "$LINENO" 5;;
5185 *) sim_default_model
="-DWITH_DEFAULT_MODEL='\"${enableval}\"'";;
5187 if test x
"$silent" != x
"yes" && test x
"$sim_default_model" != x
""; then
5188 echo "Setting default model = $sim_default_model" 6>&1
5191 sim_default_model
="-DWITH_DEFAULT_MODEL='\"${default_sim_default_model}\"'"
5196 # Check whether --enable-sim-environment was given.
5197 if test "${enable_sim_environment+set}" = set; then :
5198 enableval
=$enable_sim_environment; case "${enableval}" in
5199 all | ALL
) sim_environment
="-DWITH_ENVIRONMENT=ALL_ENVIRONMENT";;
5200 user | USER
) sim_environment
="-DWITH_ENVIRONMENT=USER_ENVIRONMENT";;
5201 virtual | VIRTUAL
) sim_environment
="-DWITH_ENVIRONMENT=VIRTUAL_ENVIRONMENT";;
5202 operating | OPERATING
) sim_environment
="-DWITH_ENVIRONMENT=OPERATING_ENVIRONMENT";;
5203 *) as_fn_error
"\"Unknown value $enableval passed to --enable-sim-environment\"" "$LINENO" 5;
5204 sim_environment
="";;
5206 if test x
"$silent" != x
"yes" && test x
"$sim_environment" != x
""; then
5207 echo "Setting sim environment = $sim_environment" 6>&1
5210 sim_environment
="-DWITH_ENVIRONMENT=ALL_ENVIRONMENT"
5214 default_sim_inline
=""
5215 # Check whether --enable-sim-inline was given.
5216 if test "${enable_sim_inline+set}" = set; then :
5217 enableval
=$enable_sim_inline; sim_inline
=""
5218 case "$enableval" in
5219 no
) sim_inline
="-DDEFAULT_INLINE=0";;
5220 0) sim_inline
="-DDEFAULT_INLINE=0";;
5221 yes |
2) sim_inline
="-DDEFAULT_INLINE=ALL_C_INLINE";;
5222 1) sim_inline
="-DDEFAULT_INLINE=INLINE_LOCALS";;
5223 *) for x
in `echo "$enableval" | sed -e "s/,/ /g"`; do
5226 *_INLINE
=*) new_flag
="-D$x";;
5227 *=*) new_flag
=`echo "$x" | sed -e "s/=/_INLINE=/" -e "s/^/-D/"`;;
5228 *_INLINE
) new_flag
="-D$x=ALL_C_INLINE";;
5229 *) new_flag
="-D$x""_INLINE=ALL_C_INLINE";;
5231 if test x
"$sim_inline" = x
""; then
5232 sim_inline
="$new_flag"
5234 sim_inline
="$sim_inline $new_flag"
5238 if test x
"$silent" != x
"yes" && test x
"$sim_inline" != x
""; then
5239 echo "Setting inline flags = $sim_inline" 6>&1
5243 if test "x$cross_compiling" = "xno"; then
5244 if test x
"$GCC" != "x" -a x
"${default_sim_inline}" != "x" ; then
5245 sim_inline
="${default_sim_inline}"
5246 if test x
"$silent" != x
"yes"; then
5247 echo "Setting inline flags = $sim_inline" 6>&1
5253 sim_inline
="-DDEFAULT_INLINE=0"
5258 # Check whether --enable-werror was given.
5259 if test "${enable_werror+set}" = set; then :
5260 enableval
=$enable_werror; case "${enableval}" in
5261 yes | y
) ERROR_ON_WARNING
="yes" ;;
5262 no | n
) ERROR_ON_WARNING
="no" ;;
5263 *) as_fn_error
"bad value ${enableval} for --enable-werror" "$LINENO" 5 ;;
5268 # Enable -Werror by default when using gcc
5269 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
5270 ERROR_ON_WARNING
=yes
5274 if test "${ERROR_ON_WARNING}" = yes ; then
5275 # NOTE: Disabled in the sim dir due to most sims generating warnings.
5276 # WERROR_CFLAGS="-Werror"
5280 # The entries after -Wno-pointer-sign are disabled warnings which may
5281 # be enabled in the future, which can not currently be used to build
5283 # NOTE: If you change this list, remember to update
5284 # gdb/doc/gdbint.texinfo.
5285 build_warnings
="-Wall -Wdeclaration-after-statement -Wpointer-arith \
5286 -Wformat-nonliteral -Wno-pointer-sign \
5287 -Wno-unused -Wunused-value -Wunused-function \
5288 -Wno-switch -Wno-char-subscripts -Wmissing-prototypes"
5290 # Enable -Wno-format by default when using gcc on mingw since many
5291 # GCC versions complain about %I64.
5293 *-*-mingw32*) build_warnings
="$build_warnings -Wno-format" ;;
5296 # Check whether --enable-build-warnings was given.
5297 if test "${enable_build_warnings+set}" = set; then :
5298 enableval
=$enable_build_warnings; case "${enableval}" in
5300 no
) build_warnings
="-w";;
5301 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
5302 build_warnings
="${build_warnings} ${t}";;
5303 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
5304 build_warnings
="${t} ${build_warnings}";;
5305 *) build_warnings
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
5307 if test x
"$silent" != x
"yes" && test x
"$build_warnings" != x
""; then
5308 echo "Setting compiler warning flags = $build_warnings" 6>&1
5311 # Check whether --enable-sim-build-warnings was given.
5312 if test "${enable_sim_build_warnings+set}" = set; then :
5313 enableval
=$enable_sim_build_warnings; case "${enableval}" in
5315 no
) build_warnings
="-w";;
5316 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
5317 build_warnings
="${build_warnings} ${t}";;
5318 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
5319 build_warnings
="${t} ${build_warnings}";;
5320 *) build_warnings
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
5322 if test x
"$silent" != x
"yes" && test x
"$build_warnings" != x
""; then
5323 echo "Setting GDB specific compiler warning flags = $build_warnings" 6>&1
5327 if test "x${build_warnings}" != x
-a "x$GCC" = xyes
5329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking compiler warning flags" >&5
5330 $as_echo_n "checking compiler warning flags... " >&6; }
5331 # Separate out the -Werror flag as some files just cannot be
5332 # compiled with it enabled.
5333 for w
in ${build_warnings}; do
5335 -Werr*) WERROR_CFLAGS
=-Werror ;;
5336 *) # Check that GCC accepts it
5337 saved_CFLAGS
="$CFLAGS"
5339 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5340 /* end confdefs.h. */
5350 if ac_fn_c_try_compile
"$LINENO"; then :
5351 WARN_CFLAGS
="${WARN_CFLAGS} $w"
5353 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5354 CFLAGS
="$saved_CFLAGS"
5357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${WARN_CFLAGS} ${WERROR_CFLAGS}" >&5
5358 $as_echo "${WARN_CFLAGS} ${WERROR_CFLAGS}" >&6; }
5362 if test x"yes" = x"yes"; then
5370 hardware="cfi core pal glue
"
5372 hardware="$hardware \
5405 sim_hw_cflags="-DWITH_HW=1"
5407 sim_hw_objs="\$
(SIM_COMMON_HW_OBJS
) `echo $sim_hw | sed -e 's/\([^ ][^ ]*\)/dv-\1.o/g'`"
5408 # Check whether --enable-sim-hardware was given.
5409 if test "${enable_sim_hardware+set}" = set; then :
5410 enableval=$enable_sim_hardware;
5411 case "${enableval}" in
5414 ,*) sim_hw_p=yes; hardware="${hardware} `echo ${enableval} | sed -e 's/,/ /'`";;
5415 *,) sim_hw_p=yes; hardware="`echo ${enableval} | sed -e 's/,/ /'` ${hardware}";;
5416 *) sim_hw_p=yes; hardware="`echo ${enableval} | sed -e 's/,/ /'`"'';;
5418 if test "$sim_hw_p" != yes; then
5420 sim_hw_cflags="-DWITH_HW=0"
5423 sim_hw_cflags="-DWITH_HW=1"
5426 sim_hw_objs="\$
(SIM_COMMON_HW_OBJS
)"
5427 for i in $hardware ; do
5430 *) sim_hw="$sim_hw $i" ; sim_hw_objs="$sim_hw_objs dv-
$i.o
";;
5434 if test x"$silent" != x"yes" && test "$sim_hw_p" = "yes"; then
5435 echo "Setting hardware to
$sim_hw_cflags, $sim_hw, $sim_hw_objs"
5439 if test "$sim_hw_p" != yes; then
5441 sim_hw_cflags="-DWITH_HW=0"
5444 if test x"$silent" != x"yes"; then
5445 echo "Setting hardware to
$sim_hw_cflags, $sim_hw, $sim_hw_objs"
5449 case " $hardware " in
5450 *" cfi
"*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for log2
in -lm" >&5
5451 $as_echo_n "checking
for log2
in -lm...
" >&6; }
5452 if test "${ac_cv_lib_m_log2+set}" = set; then :
5453 $as_echo_n "(cached
) " >&6
5455 ac_check_lib_save_LIBS=$LIBS
5457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5458 /* end confdefs.h. */
5460 /* Override any GCC internal prototype to avoid an error.
5461 Use char because int might match the return type of a GCC
5462 builtin and then its argument prototype would still apply. */
5475 if ac_fn_c_try_link "$LINENO"; then :
5476 ac_cv_lib_m_log2=yes
5480 rm -f core conftest.err conftest.$ac_objext \
5481 conftest$ac_exeext conftest.$ac_ext
5482 LIBS=$ac_check_lib_save_LIBS
5484 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_lib_m_log2" >&5
5485 $as_echo "$ac_cv_lib_m_log2" >&6; }
5486 if test "x
$ac_cv_lib_m_log2" = x""yes; then :
5487 cat >>confdefs.h <<_ACEOF
5498 for ac_func in getuid getgid geteuid getegid setuid setgid mmap munmap kill pread
5500 as_ac_var=`$as_echo "ac_cv_func_
$ac_func" | $as_tr_sh`
5501 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
5502 eval as_val=\$$as_ac_var
5503 if test "x
$as_val" = x""yes; then :
5504 cat >>confdefs.h <<_ACEOF
5505 #define `$as_echo "HAVE_
$ac_func" | $as_tr_cpp` 1
5520 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
5521 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5522 eval as_val=\$$as_ac_Header
5523 if test "x
$as_val" = x""yes; then :
5524 cat >>confdefs.h <<_ACEOF
5525 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
5533 BFIN_SIM_EXTRA_OBJS=
5539 cat >>confdefs.h <<_ACEOF
5540 #define HAVE_DV_SOCKSER 1
5543 BFIN_SIM_EXTRA_OBJS="${BFIN_SIM_EXTRA_OBJS} dv-sockser.o
"
5547 BFIN_SIM_EXTRA_OBJS=${BFIN_SIM_EXTRA_OBJS}
5557 if test "x
$ac_cv_env_PKG_CONFIG_set" != "xset
"; then
5558 if test -n "$ac_tool_prefix"; then
5559 # Extract the first word of "${ac_tool_prefix}pkg-config
", so it can be a program name with args.
5560 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5562 $as_echo_n "checking
for $ac_word...
" >&6; }
5563 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
5564 $as_echo_n "(cached
) " >&6
5568 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
5571 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5575 test -z "$as_dir" && as_dir=.
5576 for ac_exec_ext in '' $ac_executable_extensions; do
5577 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5578 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5579 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5589 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
5590 if test -n "$PKG_CONFIG"; then
5591 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $PKG_CONFIG" >&5
5592 $as_echo "$PKG_CONFIG" >&6; }
5594 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5595 $as_echo "no
" >&6; }
5600 if test -z "$ac_cv_path_PKG_CONFIG"; then
5601 ac_pt_PKG_CONFIG=$PKG_CONFIG
5602 # Extract the first word of "pkg-config
", so it can be a program name with args.
5603 set dummy pkg-config; ac_word=$2
5604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5605 $as_echo_n "checking
for $ac_word...
" >&6; }
5606 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
5607 $as_echo_n "(cached
) " >&6
5609 case $ac_pt_PKG_CONFIG in
5611 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
5614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5618 test -z "$as_dir" && as_dir=.
5619 for ac_exec_ext in '' $ac_executable_extensions; do
5620 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5621 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5622 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5632 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
5633 if test -n "$ac_pt_PKG_CONFIG"; then
5634 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_pt_PKG_CONFIG" >&5
5635 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
5637 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5638 $as_echo "no
" >&6; }
5641 if test "x
$ac_pt_PKG_CONFIG" = x; then
5644 case $cross_compiling:$ac_tool_warned in
5646 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5647 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5648 ac_tool_warned=yes ;;
5650 PKG_CONFIG=$ac_pt_PKG_CONFIG
5653 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
5657 if test -n "$PKG_CONFIG"; then
5658 _pkg_min_version=0.9.0
5659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is
at least version
$_pkg_min_version" >&5
5660 $as_echo_n "checking pkg-config is
at least version
$_pkg_min_version...
" >&6; }
5661 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
5662 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
5663 $as_echo "yes" >&6; }
5665 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5666 $as_echo "no
" >&6; }
5672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for SDL
" >&5
5673 $as_echo_n "checking
for SDL...
" >&6; }
5675 if test -n "$SDL_CFLAGS"; then
5676 pkg_cv_SDL_CFLAGS="$SDL_CFLAGS"
5677 elif test -n "$PKG_CONFIG"; then
5678 if test -n "$PKG_CONFIG" && \
5679 { { $as_echo "$as_me:${as_lineno-$LINENO}: \
$PKG_CONFIG --exists --print-errors \"sdl
\""; } >&5
5680 ($PKG_CONFIG --exists --print-errors "sdl
") 2>&5
5682 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5683 test $ac_status = 0; }; then
5684 pkg_cv_SDL_CFLAGS=`$PKG_CONFIG --cflags "sdl
" 2>/dev/null`
5685 test "x$?
" != "x0
" && pkg_failed=yes
5692 if test -n "$SDL_LIBS"; then
5693 pkg_cv_SDL_LIBS="$SDL_LIBS"
5694 elif test -n "$PKG_CONFIG"; then
5695 if test -n "$PKG_CONFIG" && \
5696 { { $as_echo "$as_me:${as_lineno-$LINENO}: \
$PKG_CONFIG --exists --print-errors \"sdl
\""; } >&5
5697 ($PKG_CONFIG --exists --print-errors "sdl
") 2>&5
5699 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5700 test $ac_status = 0; }; then
5701 pkg_cv_SDL_LIBS=`$PKG_CONFIG --libs "sdl
" 2>/dev/null`
5702 test "x$?
" != "x0
" && pkg_failed=yes
5712 if test $pkg_failed = yes; then
5713 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5714 $as_echo "no
" >&6; }
5716 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5717 _pkg_short_errors_supported=yes
5719 _pkg_short_errors_supported=no
5721 if test $_pkg_short_errors_supported = yes; then
5722 SDL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "sdl
" 2>&1`
5724 SDL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "sdl
" 2>&1`
5726 # Put the nasty error message in config.log where it belongs
5727 echo "$SDL_PKG_ERRORS" >&5
5730 elif test $pkg_failed = untried; then
5731 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5732 $as_echo "no
" >&6; }
5735 SDL_CFLAGS=$pkg_cv_SDL_CFLAGS
5736 SDL_LIBS=$pkg_cv_SDL_LIBS
5737 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
5738 $as_echo "yes" >&6; }
5740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for dlopen
in -ldl" >&5
5741 $as_echo_n "checking
for dlopen
in -ldl...
" >&6; }
5742 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
5743 $as_echo_n "(cached
) " >&6
5745 ac_check_lib_save_LIBS=$LIBS
5747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5748 /* end confdefs.h. */
5750 /* Override any GCC internal prototype to avoid an error.
5751 Use char because int might match the return type of a GCC
5752 builtin and then its argument prototype would still apply. */
5765 if ac_fn_c_try_link "$LINENO"; then :
5766 ac_cv_lib_dl_dlopen=yes
5768 ac_cv_lib_dl_dlopen=no
5770 rm -f core conftest.err conftest.$ac_objext \
5771 conftest$ac_exeext conftest.$ac_ext
5772 LIBS=$ac_check_lib_save_LIBS
5774 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_lib_dl_dlopen" >&5
5775 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
5776 if test "x
$ac_cv_lib_dl_dlopen" = x""yes; then :
5778 SDL_CFLAGS="${SDL_CFLAGS} -DHAVE_SDL"
5782 SDL_CFLAGS= SDL_LIBS=
5791 ac_sources="$sim_link_files"
5792 ac_dests="$sim_link_links"
5793 while test -n "$ac_sources"; do
5794 set $ac_dests; ac_dest=$1; shift; ac_dests=$*
5795 set $ac_sources; ac_source=$1; shift; ac_sources=$*
5796 ac_config_links_1="$ac_config_links_1 $ac_dest:$ac_source"
5798 ac_config_links="$ac_config_links $ac_config_links_1"
5801 if grep CGEN_MAINT $srcdir/Makefile.in >/dev/null; then
5802 cgen_breaks="break cgen_rtx_error
";
5805 ac_config_files="$ac_config_files Makefile.sim
:Makefile.
in"
5807 ac_config_files="$ac_config_files Make-common.sim
:..
/common
/Make-common.
in"
5809 ac_config_files="$ac_config_files .gdbinit
:..
/common
/gdbinit.
in"
5811 ac_config_commands="$ac_config_commands Makefile
"
5813 ac_config_commands="$ac_config_commands stamp-h
"
5815 cat >confcache <<\_ACEOF
5816 # This file is a shell script that caches the results of configure
5817 # tests run on this system so they can be shared between configure
5818 # scripts and configure runs, see configure's option --config-cache.
5819 # It is not useful on other systems. If it contains results you don't
5820 # want to keep, you may remove or edit it.
5822 # config.status only pays attention to the cache file if you give it
5823 # the --recheck option to rerun configure.
5825 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5826 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5831 # The following way of writing the cache mishandles newlines in values,
5832 # but we know of no workaround that is simple, portable, and efficient.
5833 # So, we kill variables containing newlines.
5834 # Ultrix sh set writes to stderr and can't be redirected directly,
5835 # and sets the high bit in the cache file unless we assign to the vars.
5837 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5838 eval ac_val=\$$ac_var
5842 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: cache variable
$ac_var contains a newline
" >&5
5843 $as_echo "$as_me: WARNING
: cache variable
$ac_var contains a newline
" >&2;} ;;
5846 _ | IFS | as_nl) ;; #(
5847 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5848 *) { eval $ac_var=; unset $ac_var;} ;;
5854 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5855 *${as_nl}ac_space=\ *)
5856 # `set' does not quote correctly, so add quotes: double-quote
5857 # substitution turns \\\\ into \\, and sed turns \\ into \.
5860 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
5863 # `set' quotes correctly as required by POSIX, so do not add quotes.
5864 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
5873 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5875 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5877 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5878 if test -w "$cache_file"; then
5879 test "x
$cache_file" != "x
/dev
/null
" &&
5880 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache
$cache_file" >&5
5881 $as_echo "$as_me: updating cache
$cache_file" >&6;}
5882 cat confcache >$cache_file
5884 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache
$cache_file" >&5
5885 $as_echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
5890 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
5891 # Let make expand exec_prefix.
5892 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
5894 DEFS=-DHAVE_CONFIG_H
5898 for ac_i in : $LIBOBJS; do test "x
$ac_i" = x: && continue
5899 # 1. Remove the extension, and $U if already installed.
5900 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5901 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5902 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5903 # will be set to the directory where LIBOBJS objects are built.
5904 as_fn_append ac_libobjs " \
${LIBOBJDIR}$ac_i\
$U.
$ac_objext"
5905 as_fn_append ac_ltlibobjs " \
${LIBOBJDIR}$ac_i"'$U.lo'
5909 LTLIBOBJS=$ac_ltlibobjs
5912 if test -z "${GMAKE_TRUE}" && test -z "${GMAKE_FALSE}"; then
5913 as_fn_error "conditional
\"GMAKE
\" was never defined.
5914 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
5918 : ${CONFIG_STATUS=./config.status}
5920 ac_clean_files_save=$ac_clean_files
5921 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5922 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$CONFIG_STATUS" >&5
5923 $as_echo "$as_me: creating
$CONFIG_STATUS" >&6;}
5925 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5927 # Generated by $as_me.
5928 # Run this file to recreate the current configuration.
5929 # Compiler output produced by configure, useful for debugging
5930 # configure, is in config.log if it exists.
5936 SHELL=\${CONFIG_SHELL-$SHELL}
5939 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5940 ## -------------------- ##
5941 ## M4sh Initialization. ##
5942 ## -------------------- ##
5944 # Be more Bourne compatible
5945 DUALCASE=1; export DUALCASE # for MKS sh
5946 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
5949 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5950 # is contrary to our usage. Disable this feature.
5951 alias -g '${1+"$@"}'='"$@
"'
5952 setopt NO_GLOB_SUBST
5954 case `(set -o) 2>/dev/null` in #(
5966 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5967 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5968 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5969 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5970 # Prefer a ksh shell builtin over an external printf program on Solaris,
5971 # but without wasting forks for bash or zsh.
5972 if test -z "$BASH_VERSION$ZSH_VERSION" \
5973 && (test "X
`print -r -- $as_echo`" = "X
$as_echo") 2>/dev/null; then
5974 as_echo='print -r --'
5975 as_echo_n='print -rn --'
5976 elif (test "X
`printf %s $as_echo`" = "X
$as_echo") 2>/dev/null; then
5977 as_echo='printf %s\n'
5978 as_echo_n='printf %s'
5980 if test "X
`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n
$as_echo"; then
5981 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5982 as_echo_n='/usr/ucb/echo -n'
5984 as_echo_body='eval expr "X
$1" : "X
\\(.
*\\)"'
5985 as_echo_n_body='eval
5989 expr "X
$arg" : "X
\\(.
*\\)$as_nl";
5990 arg=`expr "X
$arg" : ".
*$as_nl\\(.
*\\)"`;;
5992 expr "X
$arg" : "X
\\(.
*\\)" | tr -d "$as_nl"
5994 export as_echo_n_body
5995 as_echo_n='sh -c $as_echo_n_body as_echo'
5998 as_echo='sh -c $as_echo_body as_echo'
6001 # The user is always right.
6002 if test "${PATH_SEPARATOR+set}" != set; then
6004 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
6005 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
6012 # We need space, tab and new line, in precisely that order. Quoting is
6013 # there to prevent editors from complaining about space-tab.
6014 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
6015 # splitting by setting IFS to empty value.)
6018 # Find who we are. Look in the path if we contain no directory separator.
6020 *[\\/]* ) as_myself=$0 ;;
6021 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6025 test -z "$as_dir" && as_dir=.
6026 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6032 # We did not find ourselves, most probably we were run as `sh COMMAND'
6033 # in which case we are not to be found in the path.
6034 if test "x
$as_myself" = x; then
6037 if test ! -f "$as_myself"; then
6038 $as_echo "$as_myself: error
: cannot
find myself
; rerun with an absolute
file name
" >&2
6042 # Unset variables that we do not need and which cause bugs (e.g. in
6043 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "||
exit 1"
6044 # suppresses any "Segmentation fault
" message there. '((' could
6045 # trigger a bug in pdksh 5.2.14.
6046 for as_var in BASH_ENV ENV MAIL MAILPATH
6047 do eval test x\${$as_var+set} = xset \
6048 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
6061 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
6064 # as_fn_error ERROR [LINENO LOG_FD]
6065 # ---------------------------------
6066 # Output "`basename $0`: error
: ERROR
" to stderr. If LINENO and LOG_FD are
6067 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
6068 # script with status $?, using 1 if that was 0.
6071 as_status=$?; test $as_status -eq 0 && as_status=1
6073 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
6074 $as_echo "$as_me:${as_lineno-$LINENO}: error
: $1" >&$3
6076 $as_echo "$as_me: error
: $1" >&2
6077 as_fn_exit $as_status
6081 # as_fn_set_status STATUS
6082 # -----------------------
6083 # Set $? to STATUS, without forking.
6087 } # as_fn_set_status
6091 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
6101 # Portably unset VAR.
6104 { eval $1=; unset $1;}
6106 as_unset=as_fn_unset
6107 # as_fn_append VAR VALUE
6108 # ----------------------
6109 # Append the text in VALUE to the end of the definition contained in VAR. Take
6110 # advantage of any shell optimizations that allow amortized linear growth over
6111 # repeated appends, instead of the typical quadratic growth present in naive
6113 if (eval "as_var
=1; as_var
+=2; test x\
$as_var = x12
") 2>/dev/null; then :
6114 eval 'as_fn_append ()
6125 # as_fn_arith ARG...
6126 # ------------------
6127 # Perform arithmetic evaluation on the ARGs, and store the result in the
6128 # global $as_val. Take advantage of shells that can avoid forks. The arguments
6129 # must be portable across $(()) and expr.
6130 if (eval "test \$
(( 1 + 1 )) = 2") 2>/dev/null; then :
6131 eval 'as_fn_arith ()
6138 as_val=`expr "$@
" || test $? -eq 1`
6143 if expr a : '\(a\)' >/dev/null 2>&1 &&
6144 test "X
`expr 00001 : '.*\(...\)'`" = X001; then
6150 if (basename -- /) >/dev/null 2>&1 && test "X
`basename -- / 2>&1`" = "X
/"; then
6151 as_basename=basename
6156 if (as_dir=`dirname -- /` && test "X
$as_dir" = X/) >/dev/null 2>&1; then
6162 as_me=`$as_basename -- "$0" ||
6163 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6164 X"$0" : 'X\(//\)$' \| \
6165 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6167 sed '/^.*\/\([^/][^/]*\)\/*$/{
6181 # Avoid depending upon Character Ranges.
6182 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6183 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6184 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6185 as_cr_digits='0123456789'
6186 as_cr_alnum=$as_cr_Letters$as_cr_digits
6188 ECHO_C= ECHO_N= ECHO_T=
6189 case `echo -n x` in #(((((
6191 case `echo 'xy\c'` in
6192 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
6194 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
6201 rm -f conf$$ conf$$.exe conf$$.file
6202 if test -d conf$$.dir; then
6203 rm -f conf$$.dir/conf$$.file
6206 mkdir conf$$.dir 2>/dev/null
6208 if (echo >conf$$.file) 2>/dev/null; then
6209 if ln -s conf$$.file conf$$ 2>/dev/null; then
6211 # ... but there are two gotchas:
6212 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6213 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6214 # In both cases, we have to default to `cp -p'.
6215 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
6217 elif ln conf$$.file conf$$ 2>/dev/null; then
6225 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
6226 rmdir conf$$.dir 2>/dev/null
6231 # Create "$as_dir" as a directory, including parents if necessary.
6236 -*) as_dir=./$as_dir;;
6238 test -d "$as_dir" || eval $as_mkdir_p || {
6242 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s
/'/'\\\\\\\\''/g
"`;; #'(
6243 *) as_qdir=$as_dir;;
6245 as_dirs="'$as_qdir' $as_dirs"
6246 as_dir=`$as_dirname -- "$as_dir" ||
6247 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6248 X"$as_dir" : 'X\(//\)[^/]' \| \
6249 X"$as_dir" : 'X\(//\)$' \| \
6250 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6251 $as_echo X"$as_dir" |
6252 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6269 test -d "$as_dir" && break
6271 test -z "$as_dirs" || eval "mkdir
$as_dirs"
6272 } || test -d "$as_dir" || as_fn_error "cannot create directory
$as_dir"
6276 if mkdir -p . 2>/dev/null; then
6277 as_mkdir_p='mkdir -p "$as_dir"'
6279 test -d ./-p && rmdir ./-p
6283 if test -x / >/dev/null 2>&1; then
6286 if ls -dL / >/dev/null 2>&1; then
6293 if test -d "$1"; then
6299 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
6300 ???[sx]*):;;*)false;;esac;fi
6304 as_executable_p=$as_test_x
6306 # Sed expression to map a string onto a valid CPP name.
6307 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6309 # Sed expression to map a string onto a valid variable name.
6310 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6314 ## ----------------------------------- ##
6315 ## Main body of $CONFIG_STATUS script. ##
6316 ## ----------------------------------- ##
6318 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
6320 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6321 # Save the log message, to keep $0 and so on meaningful, and to
6322 # report actual input values of CONFIG_FILES etc. instead of their
6323 # values after options handling.
6325 This
file was extended by
$as_me, which was
6326 generated by GNU Autoconf
2.64. Invocation
command line was
6328 CONFIG_FILES
= $CONFIG_FILES
6329 CONFIG_HEADERS
= $CONFIG_HEADERS
6330 CONFIG_LINKS
= $CONFIG_LINKS
6331 CONFIG_COMMANDS
= $CONFIG_COMMANDS
6334 on
`(hostname || uname -n) 2>/dev/null | sed 1q`
6339 case $ac_config_files in *"
6340 "*) set x $ac_config_files; shift; ac_config_files=$*;;
6343 case $ac_config_headers in *"
6344 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
6348 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6349 # Files that config.status was made for.
6350 config_files="$ac_config_files"
6351 config_headers="$ac_config_headers"
6352 config_links="$ac_config_links"
6353 config_commands="$ac_config_commands"
6357 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6359 \
`$as_me' instantiates files and other configuration actions
6360 from templates according to the current configuration. Unless the files
6361 and actions are specified as TAGs, all are instantiated by default.
6363 Usage: $0 [OPTION]... [TAG]...
6365 -h, --help print this help, then exit
6366 -V, --version print version number and configuration settings, then exit
6367 -q, --quiet, --silent
6368 do not print progress messages
6369 -d, --debug don't remove temporary files
6370 --recheck update $as_me by reconfiguring in the same conditions
6371 --file=FILE[:TEMPLATE]
6372 instantiate the configuration file FILE
6373 --header=FILE[:TEMPLATE]
6374 instantiate the configuration header FILE
6376 Configuration files:
6379 Configuration headers:
6382 Configuration links:
6385 Configuration commands:
6388 Report bugs to the package provider."
6391 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6394 configured by $0, generated by GNU Autoconf 2.64,
6395 with options \\"`$as_echo "$ac_configure_args" |
sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
6397 Copyright (C) 2009 Free Software Foundation, Inc.
6398 This config.status script is free software; the Free Software Foundation
6399 gives unlimited permission to copy, distribute and modify it."
6404 test -n "\$AWK" || AWK=awk
6407 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6408 # The default lists apply if the user does not specify any file.
6414 ac_option=`expr "X$1" : 'X\([^=]*\)='`
6415 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
6426 # Handling of the options.
6427 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6429 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
6430 $as_echo "$ac_cs_version"; exit ;;
6431 --debug | --debu | --deb | --de | --d | -d )
6433 --file | --fil | --fi | --f )
6436 *\'*) ac_optarg=`$as_echo "$ac_optarg" |
sed "s/'/'\\\\\\\\''/g"` ;;
6438 as_fn_append CONFIG_FILES " '$ac_optarg'"
6439 ac_need_defaults=false;;
6440 --header | --heade | --head | --hea )
6443 *\'*) ac_optarg=`$as_echo "$ac_optarg" |
sed "s/'/'\\\\\\\\''/g"` ;;
6445 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
6446 ac_need_defaults=false;;
6448 # Conflict between --help and --header
6449 as_fn_error "ambiguous option: \`$1'
6450 Try \`$0 --help' for more information.
";;
6451 --help | --hel | -h )
6452 $as_echo "$ac_cs_usage"; exit ;;
6453 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6454 | -silent | --silent | --silen | --sile | --sil | --si | --s)
6458 -*) as_fn_error "unrecognized option
: \
`$1'
6459 Try \`$0 --help' for more information." ;;
6461 *) as_fn_append ac_config_targets " $1"
6462 ac_need_defaults=false ;;
6468 ac_configure_extra_args=
6470 if $ac_cs_silent; then
6472 ac_configure_extra_args="$ac_configure_extra_args --silent"
6476 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6477 if \$ac_cs_recheck; then
6478 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6480 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6481 CONFIG_SHELL='$SHELL'
6487 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6491 sed 'h
;s
/.
/-/g
;s
/^...
/## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6492 ## Running $as_me. ##
6498 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6502 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
6506 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6508 # Handling of arguments.
6509 for ac_config_target
in $ac_config_targets
6511 case $ac_config_target in
6512 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
6513 "depdir") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir" ;;
6514 "$ac_config_links_1") CONFIG_LINKS
="$CONFIG_LINKS $ac_config_links_1" ;;
6515 "Makefile.sim") CONFIG_FILES
="$CONFIG_FILES Makefile.sim:Makefile.in" ;;
6516 "Make-common.sim") CONFIG_FILES
="$CONFIG_FILES Make-common.sim:../common/Make-common.in" ;;
6517 ".gdbinit") CONFIG_FILES
="$CONFIG_FILES .gdbinit:../common/gdbinit.in" ;;
6518 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
6519 "stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS stamp-h" ;;
6521 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
6526 # If the user did not use the arguments to specify the items to instantiate,
6527 # then the envvar interface is used. Set only those that are not.
6528 # We use the long form for the default assignment because of an extremely
6529 # bizarre bug on SunOS 4.1.3.
6530 if $ac_need_defaults; then
6531 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
6532 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
6533 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
6534 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
6537 # Have a temporary directory for convenience. Make it in the build tree
6538 # simply because there is no reason against having it here, and in addition,
6539 # creating and moving files from /tmp can sometimes cause problems.
6540 # Hook for its removal unless debugging.
6541 # Note that there is a small window in which the directory will not be cleaned:
6542 # after its creation but before its name has been assigned to `$tmp'.
6546 trap 'exit_status=$?
6547 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
6549 trap 'as_fn_exit 1' 1 2 13 15
6551 # Create a (secure) tmp directory for tmp files.
6554 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6555 test -n "$tmp" && test -d "$tmp"
6558 tmp
=.
/conf$$
-$RANDOM
6559 (umask 077 && mkdir
"$tmp")
6560 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
6562 # Set up the scripts for CONFIG_FILES section.
6563 # No need to generate them if there are no CONFIG_FILES.
6564 # This happens for instance with `./config.status config.h'.
6565 if test -n "$CONFIG_FILES"; then
6568 ac_cr
=`echo X | tr X '\015'`
6569 # On cygwin, bash can eat \r inside `` if the user requested igncr.
6570 # But we know of no other shell where ac_cr would be empty at this
6571 # point, so we can use a bashism as a fallback.
6572 if test "x$ac_cr" = x
; then
6573 eval ac_cr
=\$
\'\\r
\'
6575 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6576 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6582 echo 'BEGIN {' >"$tmp/subs1.awk" &&
6587 echo "cat >conf$$subs.awk <<_ACEOF" &&
6588 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6591 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
6592 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
6594 for ac_last_try in false false false false false :; do
6595 . ./conf$$subs.sh ||
6596 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
6598 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
6599 if test $ac_delim_n = $ac_delim_num; then
6601 elif $ac_last_try; then
6602 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
6604 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
6609 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6610 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
6614 s/^/S["/; s
/!.
*/"]=/
6624 s/\(.\{148\}\).*/\1/
6626 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
6631 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
6638 s/\(.\{148\}\).*/\1/
6640 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
6644 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
6649 ' <conf$$subs.awk | sed '
6654 ' >>$CONFIG_STATUS || ac_write_fail=1
6655 rm -f conf$$subs.awk
6656 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6658 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
6659 for (key in S) S_is_set[key] = 1
6665 nfields = split(line, field, "@
")
6667 len = length(field[1])
6668 for (i = 2; i < nfields; i++) {
6670 keylen = length(key)
6671 if (S_is_set[key]) {
6673 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6674 len += length(value) + length(field[++i])
6685 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6686 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6687 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
6690 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
6691 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
6694 # VPATH may cause trouble with some makes, so we remove $(srcdir),
6695 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
6696 # trailing colons and then remove the whole line if VPATH becomes empty
6697 # (actually we leave an empty line to preserve line numbers).
6698 if test "x
$srcdir" = x.; then
6699 ac_vpsub='/^[ ]*VPATH[ ]*=/{
6703 s/^\([^=]*=[ ]*\):*/\1/
6709 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6710 fi # test -n "$CONFIG_FILES"
6712 # Set up the scripts for CONFIG_HEADERS section.
6713 # No need to generate them if there are no CONFIG_HEADERS.
6714 # This happens for instance with `./config.status Makefile'.
6715 if test -n "$CONFIG_HEADERS"; then
6716 cat >"$tmp/defines.
awk" <<\_ACAWK ||
6720 # Transform confdefs.h into an awk script `defines.awk', embedded as
6721 # here-document in config.status, that substitutes the proper values into
6722 # config.h.in to produce config.h.
6724 # Create a delimiter string that does not exist in confdefs.h, to ease
6725 # handling of long lines.
6727 for ac_last_try in false false :; do
6728 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
6729 if test -z "$ac_t"; then
6731 elif $ac_last_try; then
6732 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
6734 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
6738 # For the awk script, D is an array of macro values keyed by name,
6739 # likewise P contains macro parameters if any. Preserve backslash
6740 # newline sequences.
6742 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6744 s/.\{148\}/&'"$ac_delim"'/g
6747 s/^[ ]*#[ ]*define[ ][ ]*/ /
6754 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
6756 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
6760 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
6761 D["\
1"]=" \
3\\\\\\n
"\\/p
6763 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
6768 s/.\{148\}/&'"$ac_delim"'/g
6773 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
6776 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
6778 ' <confdefs.h | sed '
6779 s/'"$ac_delim"'/"\\\
6780 "/g' >>$CONFIG_STATUS || ac_write_fail=1
6782 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6783 for (key in D) D_is_set[key] = 1
6786 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6788 split(line, arg, " ")
6789 if (arg[1] == "#") {
6793 defundef
= substr
(arg
[1], 2)
6796 split(mac1
, mac2
, "(") #)
6798 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
6799 if (D_is_set
[macro
]) {
6800 # Preserve the white space surrounding the "#".
6801 print prefix
"define", macro P
[macro
] D
[macro
]
6804 # Replace #undef with comments. This is necessary, for example,
6805 # in the case of _POSIX_SOURCE, which is predefined and required
6806 # on some systems where configure will not decide to define it.
6807 if (defundef
== "undef") {
6808 print
"/*", prefix defundef
, macro
, "*/"
6816 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6817 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
6818 fi # test -n "$CONFIG_HEADERS"
6821 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
6826 :[FHLC
]) ac_mode
=$ac_tag; continue;;
6828 case $ac_mode$ac_tag in
6830 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
6831 :[FH
]-) ac_tag
=-:-;;
6832 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
6849 -) ac_f
="$tmp/stdin";;
6850 *) # Look for the file first in the build tree, then in the source tree
6851 # (if the path is not absolute). The absolute path cannot be DOS-style,
6852 # because $ac_f cannot contain `:'.
6856 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
6858 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
6860 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6861 as_fn_append ac_file_inputs
" '$ac_f'"
6864 # Let's still pretend it is `configure' which instantiates (i.e., don't
6865 # use $as_me), people would be surprised to read:
6866 # /* config.h. Generated by config.status. */
6867 configure_input
='Generated from '`
6868 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6870 if test x
"$ac_file" != x-
; then
6871 configure_input
="$ac_file. $configure_input"
6872 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6873 $as_echo "$as_me: creating $ac_file" >&6;}
6875 # Neutralize special characters interpreted by sed in replacement strings.
6876 case $configure_input in #(
6877 *\
&* |
*\|
* |
*\\* )
6878 ac_sed_conf_input
=`$as_echo "$configure_input" |
6879 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6880 *) ac_sed_conf_input
=$configure_input;;
6884 *:-:* |
*:-) cat >"$tmp/stdin" \
6885 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
6890 ac_dir
=`$as_dirname -- "$ac_file" ||
6891 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6892 X"$ac_file" : 'X\(//\)[^/]' \| \
6893 X"$ac_file" : 'X\(//\)$' \| \
6894 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6895 $as_echo X"$ac_file" |
6896 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6913 as_dir
="$ac_dir"; as_fn_mkdir_p
6917 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
6919 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6920 # A ".." for each directory in $ac_dir_suffix.
6921 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6922 case $ac_top_builddir_sub in
6923 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
6924 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
6927 ac_abs_top_builddir
=$ac_pwd
6928 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
6929 # for backward compatibility:
6930 ac_top_builddir
=$ac_top_build_prefix
6933 .
) # We are building in place.
6935 ac_top_srcdir
=$ac_top_builddir_sub
6936 ac_abs_top_srcdir
=$ac_pwd ;;
6937 [\\/]* | ?
:[\\/]* ) # Absolute name.
6938 ac_srcdir
=$srcdir$ac_dir_suffix;
6939 ac_top_srcdir
=$srcdir
6940 ac_abs_top_srcdir
=$srcdir ;;
6942 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
6943 ac_top_srcdir
=$ac_top_build_prefix$srcdir
6944 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
6946 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
6956 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
6957 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
6961 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6962 # If the template does not know about datarootdir, expand it.
6963 # FIXME: This hack should be removed a few years after 2.60.
6964 ac_datarootdir_hack
=; ac_datarootdir_seen
=
6975 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6976 *datarootdir
*) ac_datarootdir_seen
=yes;;
6977 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
6978 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6979 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6981 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6982 ac_datarootdir_hack='
6983 s&@datadir@&$datadir&g
6984 s&@docdir@&$docdir&g
6985 s&@infodir@&$infodir&g
6986 s&@localedir@&$localedir&g
6987 s&@mandir@&$mandir&g
6988 s&\\\${datarootdir}&$datarootdir&g' ;;
6992 # Neutralize VPATH when `$srcdir' = `.'.
6993 # Shell code in configure.ac might set extrasub.
6994 # FIXME: do we really want to maintain this feature?
6995 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6996 ac_sed_extra="$ac_vpsub
6999 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7001 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
7002 s|@configure_input@|
$ac_sed_conf_input|
;t t
7003 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
7004 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
7005 s
&@srcdir@
&$ac_srcdir&;t t
7006 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
7007 s
&@top_srcdir@
&$ac_top_srcdir&;t t
7008 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
7009 s
&@builddir@
&$ac_builddir&;t t
7010 s
&@abs_builddir@
&$ac_abs_builddir&;t t
7011 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
7012 s
&@INSTALL@
&$ac_INSTALL&;t t
7013 $ac_datarootdir_hack
7015 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
7016 || as_fn_error "could not create
$ac_file" "$LINENO" 5
7018 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7019 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
7020 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
7021 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
7022 which seems to be undefined. Please make sure it is defined." >&5
7023 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
7024 which seems to be undefined. Please make sure it is defined." >&2;}
7028 -) cat "$tmp/out" && rm -f "$tmp/out";;
7029 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
7031 || as_fn_error "could not create $ac_file" "$LINENO" 5
7037 if test x"$ac_file" != x-; then
7039 $as_echo "/* $configure_input */" \
7040 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
7041 } >"$tmp/config.h" \
7042 || as_fn_error "could not create $ac_file" "$LINENO" 5
7043 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
7044 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
7045 $as_echo "$as_me: $ac_file is unchanged" >&6;}
7048 mv "$tmp/config.h" "$ac_file" \
7049 || as_fn_error "could not create $ac_file" "$LINENO" 5
7052 $as_echo "/* $configure_input */" \
7053 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
7054 || as_fn_error "could not create -" "$LINENO" 5
7062 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
7065 # Prefer the file from the source tree if names are identical.
7066 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
7067 ac_source=$srcdir/$ac_source
7070 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
7071 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
7073 if test ! -r "$ac_source"; then
7074 as_fn_error "$ac_source: file not found" "$LINENO" 5
7078 # Try a relative symlink, then a hard link, then a copy.
7080 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
7081 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
7083 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
7084 ln "$ac_source" "$ac_file" 2>/dev/null ||
7085 cp -p "$ac_source" "$ac_file" ||
7086 as_fn_error "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
7089 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
7090 $as_echo "$as_me: executing $ac_file commands" >&6;}
7095 case $ac_file$ac_mode in
7096 "depdir":C) $SHELL $ac_aux_dir/mkinstalldirs $DEPDIR ;;
7097 "Makefile":C) echo "Merging Makefile.sim+Make-common.sim into Makefile ..."
7098 rm -f Makesim1.tmp Makesim2.tmp Makefile
7099 sed -n -e '/^
## COMMON_PRE_/,/^## End COMMON_PRE_/ p' <Make-common.sim >Makesim1.tmp
7100 sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim
>Makesim2.tmp
7101 sed -e '/^## COMMON_PRE_/ r Makesim1.tmp' \
7102 -e '/^## COMMON_POST_/ r Makesim2.tmp' \
7103 <Makefile.sim
>Makefile
7104 rm -f Makefile.sim Make-common.sim Makesim1.tmp Makesim2.tmp
7106 "stamp-h":C
) echo > stamp-h
;;
7114 ac_clean_files
=$ac_clean_files_save
7116 test $ac_write_fail = 0 ||
7117 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
7120 # configure is writing to config.log, and then calls config.status.
7121 # config.status does its own redirection, appending to config.log.
7122 # Unfortunately, on DOS this fails, as config.log is still kept open
7123 # by configure, so config.status won't be able to write to it; its
7124 # output is simply discarded. So we exec the FD to /dev/null,
7125 # effectively closing config.log, so it can be properly (re)opened and
7126 # appended to by config.status. When coming back to configure, we
7127 # need to make the FD available again.
7128 if test "$no_create" != yes; then
7130 ac_config_status_args
=
7131 test "$silent" = yes &&
7132 ac_config_status_args
="$ac_config_status_args --quiet"
7134 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
7136 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7137 # would make configure fail if this is the last instruction.
7138 $ac_cs_success || as_fn_exit $?
7140 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
7141 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
7142 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}