2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.63.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be more Bourne compatible
14 DUALCASE
=1; export DUALCASE
# for MKS sh
15 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
18 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
23 case `(set -o) 2>/dev/null` in
24 *posix
*) set -o posix
;;
33 # Avoid depending upon Character Ranges.
34 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
35 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
37 as_cr_digits
='0123456789'
38 as_cr_alnum
=$as_cr_Letters$as_cr_digits
43 # Printing a long string crashes Solaris 7 /usr/bin/printf.
44 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
45 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
46 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
47 if (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 ||
81 # Support unset when possible.
82 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
90 # We need space, tab and new line, in precisely that order. Quoting is
91 # there to prevent editors from complaining about space-tab.
92 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
93 # splitting by setting IFS to empty value.)
96 # Find who we are. Look in the path if we contain no directory separator.
98 *[\\/]* ) as_myself=$0 ;;
99 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
103 test -z "$as_dir" && as_dir=.
104 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
110 # We did not find ourselves, most probably we were run as `sh COMMAND'
111 # in which case we are not to be found in the path.
112 if test "x$as_myself" = x
; then
115 if test ! -f "$as_myself"; then
116 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 { (exit 1); exit 1; }
120 # Work around bugs in pre-3.0 UWIN ksh.
121 for as_var
in ENV MAIL MAILPATH
122 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
134 # Required to use basename.
135 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
136 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
142 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
149 # Name of the executable.
150 as_me
=`$as_basename -- "$0" ||
151 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
152 X"$0" : 'X\(//\)$' \| \
153 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
155 sed '/^.*\/\([^/][^/]*\)\/*$/{
173 if test "x$CONFIG_SHELL" = x
; then
174 if (eval ":") 2>/dev
/null
; then
180 if test $as_have_required = yes && (eval ":
190 as_func_ret_success () {
193 as_func_ret_failure () {
198 if as_func_success; then
202 echo as_func_success failed.
205 if as_func_failure; then
207 echo as_func_failure succeeded.
210 if as_func_ret_success; then
214 echo as_func_ret_success failed.
217 if as_func_ret_failure; then
219 echo as_func_ret_failure succeeded.
222 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
226 echo positional parameters were not saved.
229 test \$exitcode = 0) || { (exit 1); exit 1; }
234 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
235 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
236 ") 2> /dev
/null
; then
240 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
241 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
244 test -z "$as_dir" && as_dir
=.
247 for as_base
in sh bash ksh sh5
; do
248 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
255 for as_shell
in $as_candidate_shells $SHELL; do
256 # Try only shells that exist, to save several forks.
257 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
258 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
259 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
262 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
263 # is contrary to our usage. Disable this feature.
264 alias -g '${1+"$@"}'='"$@"'
267 case `(set -o) 2>/dev/null` in
268 *posix
*) set -o posix
;;
277 CONFIG_SHELL
=$as_shell
279 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
280 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
283 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
284 # is contrary to our usage. Disable this feature.
285 alias -g '${1+"$@"}'='"$@"'
288 case `(set -o) 2>/dev/null` in
289 *posix
*) set -o posix
;;
305 as_func_ret_success
() {
308 as_func_ret_failure
() {
313 if as_func_success
; then
317 echo as_func_success failed.
320 if as_func_failure
; then
322 echo as_func_failure succeeded.
325 if as_func_ret_success
; then
329 echo as_func_ret_success failed.
332 if as_func_ret_failure
; then
334 echo as_func_ret_failure succeeded.
337 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
341 echo positional parameters were not saved.
344 test $exitcode = 0) ||
{ (exit 1); exit 1; }
349 test "x$as_lineno_1" != "x$as_lineno_2" &&
350 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
361 if test "x$CONFIG_SHELL" != x
; then
362 for as_var
in BASH_ENV ENV
363 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
366 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
370 if test $as_have_required = no
; then
371 echo This
script requires a shell
more modern than all the
372 echo shells that I found on your system. Please
install a
373 echo modern shell
, or manually run the
script under such a
374 echo shell
if you
do have one.
375 { (exit 1); exit 1; }
385 (eval "as_func_return () {
394 as_func_ret_success () {
397 as_func_ret_failure () {
402 if as_func_success; then
406 echo as_func_success failed.
409 if as_func_failure; then
411 echo as_func_failure succeeded.
414 if as_func_ret_success; then
418 echo as_func_ret_success failed.
421 if as_func_ret_failure; then
423 echo as_func_ret_failure succeeded.
426 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
430 echo positional parameters were not saved.
433 test \$exitcode = 0") ||
{
434 echo No shell found that supports shell functions.
435 echo Please tell bug-autoconf@gnu.org about your system
,
436 echo including any error possibly output before this message.
437 echo This can
help us improve future autoconf versions.
438 echo Configuration will now proceed without shell functions.
445 test "x$as_lineno_1" != "x$as_lineno_2" &&
446 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
448 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
449 # uniformly replaced by the line number. The first 'sed' inserts a
450 # line-number line after each line using $LINENO; the second 'sed'
451 # does the real work. The second script uses 'N' to pair each
452 # line-number line with the line containing $LINENO, and appends
453 # trailing '-' during substitution so that $LINENO is not a special
455 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
456 # scripts with optimization help from Paolo Bonzini. Blame Lee
457 # E. McMahon (1931-1989) for sed's syntax. :-)
469 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
473 chmod +x
"$as_me.lineno" ||
474 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
475 { (exit 1); exit 1; }; }
477 # Don't try to exec as it changes $[0], causing all sort of problems
478 # (the dirname of $[0] is not the place where we might find the
479 # original and so on. Autoconf is especially sensitive to this).
481 # Exit status is that of the last command.
486 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
492 ECHO_C
= ECHO_N
= ECHO_T
=
496 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
502 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
503 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
509 rm -f conf$$ conf$$.exe conf$$.
file
510 if test -d conf$$.dir
; then
511 rm -f conf$$.dir
/conf$$.
file
514 mkdir conf$$.dir
2>/dev
/null
516 if (echo >conf$$.
file) 2>/dev
/null
; then
517 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
519 # ... but there are two gotchas:
520 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
521 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
522 # In both cases, we have to default to `cp -p'.
523 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
525 elif ln conf$$.
file conf$$
2>/dev
/null
; then
533 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
534 rmdir conf$$.dir
2>/dev
/null
536 if mkdir
-p .
2>/dev
/null
; then
539 test -d .
/-p && rmdir .
/-p
543 if test -x / >/dev
/null
2>&1; then
546 if ls -dL / >/dev
/null
2>&1; then
553 if test -d "$1"; then
559 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
560 ???[sx]*):;;*)false;;esac;fi
564 as_executable_p
=$as_test_x
566 # Sed expression to map a string onto a valid CPP name.
567 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
569 # Sed expression to map a string onto a valid variable name.
570 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
574 exec 7<&0 </dev
/null
6>&1
577 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
578 # so uname gets run too.
579 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
584 ac_default_prefix
=/usr
/local
586 ac_config_libobj_dir
=.
592 SHELL
=${CONFIG_SHELL-/bin/sh}
594 # Identity of this package.
601 ac_unique_file
="Makefile.in"
602 # Factoring default headers for most tests.
603 ac_includes_default
="\
605 #ifdef HAVE_SYS_TYPES_H
606 # include <sys/types.h>
608 #ifdef HAVE_SYS_STAT_H
609 # include <sys/stat.h>
615 # ifdef HAVE_STDLIB_H
620 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
625 #ifdef HAVE_STRINGS_H
626 # include <strings.h>
628 #ifdef HAVE_INTTYPES_H
629 # include <inttypes.h>
638 ac_subst_vars
='LTLIBOBJS
740 program_transform_name
752 enable_option_checking
753 enable_maintainer_mode
763 ac_precious_vars
='build_alias
774 # Initialize some variables set by options.
776 ac_init_version
=false
777 ac_unrecognized_opts
=
779 # The variables have the same names as the options, with
780 # dashes changed to underlines.
788 program_transform_name
=s
,x
,x
,
796 # Installation directory options.
797 # These are left unexpanded so users can "make install exec_prefix=/foo"
798 # and all the variables that are supposed to be based on exec_prefix
799 # by default will actually change.
800 # Use braces instead of parens because sh, perl, etc. also accept them.
801 # (The list follows the same order as the GNU Coding Standards.)
802 bindir
='${exec_prefix}/bin'
803 sbindir
='${exec_prefix}/sbin'
804 libexecdir
='${exec_prefix}/libexec'
805 datarootdir
='${prefix}/share'
806 datadir
='${datarootdir}'
807 sysconfdir
='${prefix}/etc'
808 sharedstatedir
='${prefix}/com'
809 localstatedir
='${prefix}/var'
810 includedir
='${prefix}/include'
811 oldincludedir
='/usr/include'
812 docdir
='${datarootdir}/doc/${PACKAGE}'
813 infodir
='${datarootdir}/info'
818 libdir
='${exec_prefix}/lib'
819 localedir
='${datarootdir}/locale'
820 mandir
='${datarootdir}/man'
826 # If the previous option needs an argument, assign it.
827 if test -n "$ac_prev"; then
828 eval $ac_prev=\
$ac_option
834 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
838 # Accept the important Cygnus configure options, so we can diagnose typos.
840 case $ac_dashdash$ac_option in
844 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
846 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
849 -build |
--build |
--buil |
--bui |
--bu)
850 ac_prev
=build_alias
;;
851 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
852 build_alias
=$ac_optarg ;;
854 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
855 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
856 ac_prev
=cache_file
;;
857 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
858 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
859 cache_file
=$ac_optarg ;;
862 cache_file
=config.cache
;;
864 -datadir |
--datadir |
--datadi |
--datad)
866 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
867 datadir
=$ac_optarg ;;
869 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
870 |
--dataroo |
--dataro |
--datar)
871 ac_prev
=datarootdir
;;
872 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
873 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
874 datarootdir
=$ac_optarg ;;
876 -disable-* |
--disable-*)
877 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
878 # Reject names that are not valid shell variable names.
879 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
880 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
881 { (exit 1); exit 1; }; }
882 ac_useropt_orig
=$ac_useropt
883 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
884 case $ac_user_opts in
888 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
889 ac_unrecognized_sep
=', ';;
891 eval enable_
$ac_useropt=no
;;
893 -docdir |
--docdir |
--docdi |
--doc |
--do)
895 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
898 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
900 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
903 -enable-* |
--enable-*)
904 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
905 # Reject names that are not valid shell variable names.
906 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
907 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
908 { (exit 1); exit 1; }; }
909 ac_useropt_orig
=$ac_useropt
910 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
911 case $ac_user_opts in
915 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
916 ac_unrecognized_sep
=', ';;
918 eval enable_
$ac_useropt=\
$ac_optarg ;;
920 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
921 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
922 |
--exec |
--exe |
--ex)
923 ac_prev
=exec_prefix
;;
924 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
925 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
926 |
--exec=* |
--exe=* |
--ex=*)
927 exec_prefix
=$ac_optarg ;;
929 -gas |
--gas |
--ga |
--g)
930 # Obsolete; use --with-gas.
933 -help |
--help |
--hel |
--he |
-h)
935 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
936 ac_init_help
=recursive
;;
937 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
938 ac_init_help
=short
;;
940 -host |
--host |
--hos |
--ho)
941 ac_prev
=host_alias
;;
942 -host=* |
--host=* |
--hos=* |
--ho=*)
943 host_alias
=$ac_optarg ;;
945 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
947 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
949 htmldir
=$ac_optarg ;;
951 -includedir |
--includedir |
--includedi |
--included |
--include \
952 |
--includ |
--inclu |
--incl |
--inc)
953 ac_prev
=includedir
;;
954 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
955 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
956 includedir
=$ac_optarg ;;
958 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
960 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
961 infodir
=$ac_optarg ;;
963 -libdir |
--libdir |
--libdi |
--libd)
965 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
968 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
969 |
--libexe |
--libex |
--libe)
970 ac_prev
=libexecdir
;;
971 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
972 |
--libexe=* |
--libex=* |
--libe=*)
973 libexecdir
=$ac_optarg ;;
975 -localedir |
--localedir |
--localedi |
--localed |
--locale)
977 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
978 localedir
=$ac_optarg ;;
980 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
981 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
982 ac_prev
=localstatedir
;;
983 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
984 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
985 localstatedir
=$ac_optarg ;;
987 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
989 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
993 # Obsolete; use --without-fp.
996 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
997 |
--no-cr |
--no-c |
-n)
1000 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1001 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1004 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1005 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1006 |
--oldin |
--oldi |
--old |
--ol |
--o)
1007 ac_prev
=oldincludedir
;;
1008 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1009 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1010 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1011 oldincludedir
=$ac_optarg ;;
1013 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1015 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1016 prefix
=$ac_optarg ;;
1018 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1019 |
--program-pre |
--program-pr |
--program-p)
1020 ac_prev
=program_prefix
;;
1021 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1022 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1023 program_prefix
=$ac_optarg ;;
1025 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1026 |
--program-suf |
--program-su |
--program-s)
1027 ac_prev
=program_suffix
;;
1028 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1029 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1030 program_suffix
=$ac_optarg ;;
1032 -program-transform-name |
--program-transform-name \
1033 |
--program-transform-nam |
--program-transform-na \
1034 |
--program-transform-n |
--program-transform- \
1035 |
--program-transform |
--program-transfor \
1036 |
--program-transfo |
--program-transf \
1037 |
--program-trans |
--program-tran \
1038 |
--progr-tra |
--program-tr |
--program-t)
1039 ac_prev
=program_transform_name
;;
1040 -program-transform-name=* |
--program-transform-name=* \
1041 |
--program-transform-nam=* |
--program-transform-na=* \
1042 |
--program-transform-n=* |
--program-transform-=* \
1043 |
--program-transform=* |
--program-transfor=* \
1044 |
--program-transfo=* |
--program-transf=* \
1045 |
--program-trans=* |
--program-tran=* \
1046 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1047 program_transform_name
=$ac_optarg ;;
1049 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1051 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1052 pdfdir
=$ac_optarg ;;
1054 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1056 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1059 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1060 |
-silent |
--silent |
--silen |
--sile |
--sil)
1063 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1065 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1067 sbindir
=$ac_optarg ;;
1069 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1070 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1071 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1073 ac_prev
=sharedstatedir
;;
1074 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1075 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1076 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1078 sharedstatedir
=$ac_optarg ;;
1080 -site |
--site |
--sit)
1082 -site=* |
--site=* |
--sit=*)
1085 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1087 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1088 srcdir
=$ac_optarg ;;
1090 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1091 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1092 ac_prev
=sysconfdir
;;
1093 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1094 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1095 sysconfdir
=$ac_optarg ;;
1097 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1098 ac_prev
=target_alias
;;
1099 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1100 target_alias
=$ac_optarg ;;
1102 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1105 -version |
--version |
--versio |
--versi |
--vers |
-V)
1106 ac_init_version
=: ;;
1109 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1110 # Reject names that are not valid shell variable names.
1111 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1112 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1113 { (exit 1); exit 1; }; }
1114 ac_useropt_orig
=$ac_useropt
1115 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1116 case $ac_user_opts in
1120 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1121 ac_unrecognized_sep
=', ';;
1123 eval with_
$ac_useropt=\
$ac_optarg ;;
1125 -without-* |
--without-*)
1126 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1127 # Reject names that are not valid shell variable names.
1128 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1129 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1130 { (exit 1); exit 1; }; }
1131 ac_useropt_orig
=$ac_useropt
1132 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1133 case $ac_user_opts in
1137 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1138 ac_unrecognized_sep
=', ';;
1140 eval with_
$ac_useropt=no
;;
1143 # Obsolete; use --with-x.
1146 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1147 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1148 ac_prev
=x_includes
;;
1149 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1150 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1151 x_includes
=$ac_optarg ;;
1153 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1154 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1155 ac_prev
=x_libraries
;;
1156 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1157 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1158 x_libraries
=$ac_optarg ;;
1160 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1161 Try \`$0 --help' for more information." >&2
1162 { (exit 1); exit 1; }; }
1166 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1167 # Reject names that are not valid shell variable names.
1168 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1169 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1170 { (exit 1); exit 1; }; }
1171 eval $ac_envvar=\
$ac_optarg
1172 export $ac_envvar ;;
1175 # FIXME: should be removed in autoconf 3.0.
1176 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1177 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1178 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1179 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1185 if test -n "$ac_prev"; then
1186 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1187 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1188 { (exit 1); exit 1; }; }
1191 if test -n "$ac_unrecognized_opts"; then
1192 case $enable_option_checking in
1194 fatal
) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1195 { (exit 1); exit 1; }; } ;;
1196 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1200 # Check all directory arguments for consistency.
1201 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1202 datadir sysconfdir sharedstatedir localstatedir includedir \
1203 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1204 libdir localedir mandir
1206 eval ac_val
=\$
$ac_var
1207 # Remove trailing slashes.
1210 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1211 eval $ac_var=\
$ac_val;;
1213 # Be sure to have absolute directory names.
1215 [\\/$
]* | ?
:[\\/]* ) continue;;
1216 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1218 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1219 { (exit 1); exit 1; }; }
1222 # There might be people who depend on the old broken behavior: `$host'
1223 # used to hold the argument of --host etc.
1224 # FIXME: To remove some day.
1227 target
=$target_alias
1229 # FIXME: To remove some day.
1230 if test "x$host_alias" != x
; then
1231 if test "x$build_alias" = x
; then
1232 cross_compiling
=maybe
1233 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1234 If a cross compiler is detected then cross compile mode will be used." >&2
1235 elif test "x$build_alias" != "x$host_alias"; then
1241 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1243 test "$silent" = yes && exec 6>/dev
/null
1246 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1247 ac_ls_di
=`ls -di .` &&
1248 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1249 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1250 { (exit 1); exit 1; }; }
1251 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1252 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1253 { (exit 1); exit 1; }; }
1256 # Find the source files, if location was not specified.
1257 if test -z "$srcdir"; then
1258 ac_srcdir_defaulted
=yes
1259 # Try the directory containing this script, then the parent directory.
1260 ac_confdir
=`$as_dirname -- "$as_myself" ||
1261 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1262 X"$as_myself" : 'X\(//\)[^/]' \| \
1263 X"$as_myself" : 'X\(//\)$' \| \
1264 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1265 $as_echo X"$as_myself" |
1266 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1284 if test ! -r "$srcdir/$ac_unique_file"; then
1288 ac_srcdir_defaulted
=no
1290 if test ! -r "$srcdir/$ac_unique_file"; then
1291 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1292 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1293 { (exit 1); exit 1; }; }
1295 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1297 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1298 { (exit 1); exit 1; }; }
1300 # When building in place, set srcdir=.
1301 if test "$ac_abs_confdir" = "$ac_pwd"; then
1304 # Remove unnecessary trailing slashes from srcdir.
1305 # Double slashes in file names in object file debugging info
1306 # mess up M-x gdb in Emacs.
1308 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1310 for ac_var
in $ac_precious_vars; do
1311 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1312 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1313 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1314 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1318 # Report the --help message.
1320 if test "$ac_init_help" = "long"; then
1321 # Omit some internal or obsolete options to make the list less imposing.
1322 # This message is too long to be a string in the A/UX 3.1 sh.
1324 \`configure' configures this package to adapt to many kinds of systems.
1326 Usage: $0 [OPTION]... [VAR=VALUE]...
1328 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1329 VAR=VALUE. See below for descriptions of some of the useful variables.
1331 Defaults for the options are specified in brackets.
1334 -h, --help display this help and exit
1335 --help=short display options specific to this package
1336 --help=recursive display the short help of all the included packages
1337 -V, --version display version information and exit
1338 -q, --quiet, --silent do not print \`checking...' messages
1339 --cache-file=FILE cache test results in FILE [disabled]
1340 -C, --config-cache alias for \`--cache-file=config.cache'
1341 -n, --no-create do not create output files
1342 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1344 Installation directories:
1345 --prefix=PREFIX install architecture-independent files in PREFIX
1346 [$ac_default_prefix]
1347 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1350 By default, \`make install' will install all the files in
1351 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1352 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1353 for instance \`--prefix=\$HOME'.
1355 For better control, use the options below.
1357 Fine tuning of the installation directories:
1358 --bindir=DIR user executables [EPREFIX/bin]
1359 --sbindir=DIR system admin executables [EPREFIX/sbin]
1360 --libexecdir=DIR program executables [EPREFIX/libexec]
1361 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1362 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1363 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1364 --libdir=DIR object code libraries [EPREFIX/lib]
1365 --includedir=DIR C header files [PREFIX/include]
1366 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1367 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1368 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1369 --infodir=DIR info documentation [DATAROOTDIR/info]
1370 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1371 --mandir=DIR man documentation [DATAROOTDIR/man]
1372 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1373 --htmldir=DIR html documentation [DOCDIR]
1374 --dvidir=DIR dvi documentation [DOCDIR]
1375 --pdfdir=DIR pdf documentation [DOCDIR]
1376 --psdir=DIR ps documentation [DOCDIR]
1382 --program-prefix=PREFIX prepend PREFIX to installed program names
1383 --program-suffix=SUFFIX append SUFFIX to installed program names
1384 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1387 --build=BUILD configure
for building on BUILD
[guessed
]
1388 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1389 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1393 if test -n "$ac_init_help"; then
1398 --disable-option-checking ignore unrecognized
--enable/--with options
1399 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1400 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1401 --enable-maintainer-mode Enable developer functionality.
1402 --enable-sim-bswap Use Host specific BSWAP instruction.
1403 --enable-sim-cflags=opts Extra CFLAGS
for use
in building simulator
1404 --enable-sim-debug=opts Enable debugging flags
1405 --enable-sim-stdio Specify whether to use stdio
for console input
/output.
1406 --enable-sim-trace=opts Enable tracing flags
1407 --enable-sim-profile=opts Enable profiling flags
1410 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1411 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1412 --with-pkgversion=PKG Use PKG
in the version string
in place of
"GDB"
1413 --with-bugurl=URL Direct users to URL to report a bug
1415 Some influential environment variables
:
1416 CC C compiler
command
1417 CFLAGS C compiler flags
1418 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1419 nonstandard directory
<lib dir
>
1420 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1421 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1422 you have headers
in a nonstandard directory
<include dir
>
1425 Use these variables to override the choices made by
`configure' or to help
1426 it to find libraries and programs with nonstandard names/locations.
1432 if test "$ac_init_help" = "recursive"; then
1433 # If there are subdirs, report their specific --help.
1434 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1435 test -d "$ac_dir" ||
1436 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1441 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1443 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1444 # A ".." for each directory in $ac_dir_suffix.
1445 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1446 case $ac_top_builddir_sub in
1447 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1448 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1451 ac_abs_top_builddir=$ac_pwd
1452 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1453 # for backward compatibility:
1454 ac_top_builddir=$ac_top_build_prefix
1457 .) # We are building in place.
1459 ac_top_srcdir=$ac_top_builddir_sub
1460 ac_abs_top_srcdir=$ac_pwd ;;
1461 [\\/]* | ?:[\\/]* ) # Absolute name.
1462 ac_srcdir=$srcdir$ac_dir_suffix;
1463 ac_top_srcdir=$srcdir
1464 ac_abs_top_srcdir=$srcdir ;;
1466 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1467 ac_top_srcdir=$ac_top_build_prefix$srcdir
1468 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1470 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1472 cd "$ac_dir" || { ac_status=$?; continue; }
1473 # Check for guested configure.
1474 if test -f "$ac_srcdir/configure.gnu"; then
1476 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1477 elif test -f "$ac_srcdir/configure"; then
1479 $SHELL "$ac_srcdir/configure" --help=recursive
1481 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1483 cd "$ac_pwd" || { ac_status=$?; break; }
1487 test -n "$ac_init_help" && exit $ac_status
1488 if $ac_init_version; then
1491 generated by GNU Autoconf 2.63
1493 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1494 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1495 This configure script is free software; the Free Software Foundation
1496 gives unlimited permission to copy, distribute and modify it.
1500 cat >config.log <<_ACEOF
1501 This file contains any messages produced by compilers while
1502 running configure, to aid debugging if configure makes a mistake.
1504 It was created by $as_me, which was
1505 generated by GNU Autoconf 2.63. Invocation command line was
1517 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1518 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1519 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1520 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1521 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1523 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1524 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1526 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1527 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1528 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1529 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1530 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1531 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1532 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1540 test -z "$as_dir" && as_dir=.
1541 $as_echo "PATH: $as_dir"
1557 # Keep a trace of the command line.
1558 # Strip out --no-create and --no-recursion so they do not pile up.
1559 # Strip out --silent because we don't want to record it for future runs.
1560 # Also quote any args containing shell meta-characters.
1561 # Make two passes to allow for proper duplicate-argument suppression.
1565 ac_must_keep_next=false
1571 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1572 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1573 | -silent | --silent | --silen | --sile | --sil)
1576 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1579 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1581 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1582 if test $ac_must_keep_next = true; then
1583 ac_must_keep_next=false # Got value, back to normal.
1586 *=* | --config-cache | -C | -disable-* | --disable-* \
1587 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1588 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1589 | -with-* | --with-* | -without-* | --without-* | --x)
1590 case "$ac_configure_args0 " in
1591 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1594 -* ) ac_must_keep_next=true ;;
1597 ac_configure_args="$ac_configure_args '$ac_arg'"
1602 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1603 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1605 # When interrupted or exit'd, cleanup temporary files, and complete
1606 # config.log. We remove comments because anyway the quotes in there
1607 # would cause problems or look ugly.
1608 # WARNING: Use '\'' to represent an apostrophe within the trap.
1609 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1610 trap 'exit_status=$?
1611 # Save into config.log some information that might help in debugging.
1616 ## ---------------- ##
1617 ## Cache variables. ##
1618 ## ---------------- ##
1621 # The following way of writing the cache mishandles newlines in values,
1623 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1624 eval ac_val=\$$ac_var
1628 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1629 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1632 _ | IFS | as_nl) ;; #(
1633 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1634 *) $as_unset $ac_var ;;
1639 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1640 *${as_nl}ac_space=\ *)
1642 "s/'\''/'\''\\\\'\'''\''/g;
1643 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1646 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1654 ## ----------------- ##
1655 ## Output variables. ##
1656 ## ----------------- ##
1659 for ac_var in $ac_subst_vars
1661 eval ac_val=\$$ac_var
1663 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1665 $as_echo "$ac_var='\''$ac_val'\''"
1669 if test -n "$ac_subst_files"; then
1671 ## ------------------- ##
1672 ## File substitutions. ##
1673 ## ------------------- ##
1676 for ac_var in $ac_subst_files
1678 eval ac_val=\$$ac_var
1680 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1682 $as_echo "$ac_var='\''$ac_val'\''"
1687 if test -s confdefs.h; then
1697 test "$ac_signal" != 0 &&
1698 $as_echo "$as_me: caught signal $ac_signal"
1699 $as_echo "$as_me: exit $exit_status"
1701 rm -f core *.core core.conftest.* &&
1702 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1705 for ac_signal in 1 2 13 15; do
1706 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1710 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1711 rm -f -r conftest* confdefs.h
1713 # Predefined preprocessor variables.
1715 cat >>confdefs.h <<_ACEOF
1716 #define PACKAGE_NAME "$PACKAGE_NAME"
1720 cat >>confdefs.h <<_ACEOF
1721 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1725 cat >>confdefs.h <<_ACEOF
1726 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1730 cat >>confdefs.h <<_ACEOF
1731 #define PACKAGE_STRING "$PACKAGE_STRING"
1735 cat >>confdefs.h <<_ACEOF
1736 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1740 # Let the site file select an alternate cache file if it wants to.
1741 # Prefer an explicitly selected file to automatically selected ones.
1744 if test -n "$CONFIG_SITE"; then
1745 ac_site_file1=$CONFIG_SITE
1746 elif test "x$prefix" != xNONE; then
1747 ac_site_file1=$prefix/share/config.site
1748 ac_site_file2=$prefix/etc/config.site
1750 ac_site_file1=$ac_default_prefix/share/config.site
1751 ac_site_file2=$ac_default_prefix/etc/config.site
1753 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1755 test "x$ac_site_file" = xNONE && continue
1756 if test -r "$ac_site_file"; then
1757 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1758 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1759 sed 's/^/| /' "$ac_site_file" >&5
1764 if test -r "$cache_file"; then
1765 # Some versions of bash will fail to source /dev/null (special
1766 # files actually), so we avoid doing that.
1767 if test -f "$cache_file"; then
1768 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1769 $as_echo "$as_me: loading cache $cache_file" >&6;}
1771 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1772 *) . "./$cache_file";;
1776 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1777 $as_echo "$as_me: creating cache $cache_file" >&6;}
1781 # Check that the precious variables saved in the cache have kept the same
1783 ac_cache_corrupted=false
1784 for ac_var in $ac_precious_vars; do
1785 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1786 eval ac_new_set=\$ac_env_${ac_var}_set
1787 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1788 eval ac_new_val=\$ac_env_${ac_var}_value
1789 case $ac_old_set,$ac_new_set in
1791 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1792 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1793 ac_cache_corrupted=: ;;
1795 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1796 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1797 ac_cache_corrupted=: ;;
1800 if test "x$ac_old_val" != "x$ac_new_val"; then
1801 # differences in whitespace do not lead to failure.
1802 ac_old_val_w=`echo x
$ac_old_val`
1803 ac_new_val_w=`echo x
$ac_new_val`
1804 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1805 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1806 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1807 ac_cache_corrupted=:
1809 { $as_echo "$as_me:$LINENO: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
1810 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1811 eval $ac_var=\$ac_old_val
1813 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1814 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
1815 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1816 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1819 # Pass precious variables to config.status.
1820 if test "$ac_new_set" = set; then
1822 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1823 *) ac_arg=$ac_var=$ac_new_val ;;
1825 case " $ac_configure_args " in
1826 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1827 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1831 if $ac_cache_corrupted; then
1832 { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
1833 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1834 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1835 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1836 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&5
1837 $as_echo "$as_me: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&2;}
1838 { (exit 1); exit 1; }; }
1858 ac_cpp='$CPP $CPPFLAGS'
1859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1864 ac_config_headers="$ac_config_headers config.h
:config.
in"
1867 # This file contains common code used by all simulators.
1869 # SIM_AC_COMMON invokes AC macros used by all simulators and by the common
1870 # directory. It is intended to be invoked before any target specific stuff.
1871 # SIM_AC_OUTPUT is a cover function to AC_OUTPUT to generate the Makefile.
1872 # It is intended to be invoked last.
1874 # The simulator's configure.in should look like:
1876 # dnl Process this file with autoconf to produce a configure script.
1877 # sinclude(../common/aclocal.m4)
1879 # AC_INIT(Makefile.in)
1883 # ... target specific stuff ...
1887 # Include global overrides and fixes for Autoconf.
1972 sim_inline="-DDEFAULT_INLINE=0"
2009 # intl sister-directory configuration rules.
2012 # The idea behind this macro is that there's no need to repeat all the
2013 # autoconf probes done by the intl directory - it's already done them
2014 # for us. In fact, there's no need even to look at the cache for the
2015 # answers. All we need to do is nab a few pieces of information.
2016 # The intl directory is set up to make this easy, by generating a
2017 # small file which can be sourced as a shell script; then we produce
2018 # the necessary substitutions and definitions for this directory.
2022 # Autoconf M4 include file defining utility macros for complex Canadian
2034 # _NCN_TOOL_PREFIXES: Some stuff that oughtta be done in AC_CANONICAL_SYSTEM
2036 # These demand that AC_CANONICAL_SYSTEM be called beforehand.
2039 # NCN_STRICT_CHECK_TOOLS(variable, progs-to-check-for,[value-if-not-found],[path])
2040 # Like plain AC_CHECK_TOOLS, but require prefix if build!=host.
2044 # NCN_STRICT_CHECK_TARGET_TOOLS(variable, progs-to-check-for,[value-if-not-found],[path])
2045 # Like CVS Autoconf AC_CHECK_TARGET_TOOLS, but require prefix if build!=target.
2049 # Backported from Autoconf 2.5x; can go away when and if
2050 # we switch. Put the OS path separator in $PATH_SEPARATOR.
2055 # ACX_HAVE_GCC_FOR_TARGET
2056 # Check if the variable GCC_FOR_TARGET really points to a GCC binary.
2059 # ACX_CHECK_INSTALLED_TARGET_TOOL(VAR, PROG)
2060 # Searching for installed target binutils. We need to take extra care,
2061 # else we may find the wrong assembler, linker, etc., and lose.
2063 # First try --with-build-time-tools, if specified.
2065 # For build != host, we ask the installed GCC for the name of the tool it
2066 # uses, and accept it if it is an absolute path. This is because the
2067 # only good choice for a compiler is the same GCC version that is being
2068 # installed (or we couldn't make target libraries), and we assume that
2069 # on the host system we'll have not only the same GCC version, but also
2070 # the same binutils version.
2072 # For build == host, search the same directories that the installed
2073 # compiler will search. We used to do this for the assembler, linker,
2074 # and nm only; for simplicity of configuration, however, we extend this
2075 # criterion to tools (such as ar and ranlib) that are never invoked by
2076 # the compiler, to avoid mismatches.
2078 # Also note we have to check MD_EXEC_PREFIX before checking the user's path
2079 # if build == target. This makes the most sense only when bootstrapping,
2080 # but we also do so when build != host. In this case, we hope that the
2081 # build and host systems will have similar contents of MD_EXEC_PREFIX.
2083 # If we do not find a suitable binary, then try the user's path.
2087 # AC_PROG_CPP_WERROR
2088 # Used for autoconf 2.5x to force AC_PREPROC_IFELSE to reject code which
2089 # triggers warnings from the preprocessor. Will be in autoconf 2.58.
2090 # For now, using this also overrides header checks to use only the
2091 # preprocessor (matches 2.13 behavior; matching 2.58's behavior is a
2092 # bit harder from here).
2093 # Eventually autoconf will default to checking headers with the compiler
2094 # instead, and we'll have to do this differently.
2096 # AC_PROG_CPP_WERROR
2099 # We require the gnatbind program, and a compiler driver that
2100 # understands Ada. We use the user's CC setting, already found,
2101 # and possibly add $1 to the command-line parameters.
2103 # Sets the shell variable have_gnat to yes or no as appropriate, and
2104 # substitutes GNATBIND and GNATMAKE.
2131 # Bugs in autoconf 2.59 break the call to SIM_AC_COMMON, hack around
2132 # it by inlining the macro's contents.
2133 # This file contains common code used by all simulators.
2135 # common.m4 invokes AC macros used by all simulators and by the common
2136 # directory. It is intended to be included before any target specific
2137 # stuff. SIM_AC_OUTPUT is a cover function to AC_OUTPUT to generate
2138 # the Makefile. It is intended to be invoked last.
2140 # The simulator's configure.in should look like:
2142 # dnl Process this file with autoconf to produce a configure script.
2144 # AC_INIT(Makefile.in)
2145 # AC_CONFIG_HEADER(config.h:config.in)
2147 # sinclude(../common/aclocal.m4)
2148 # sinclude(../common/common.m4)
2150 # ... target specific stuff ...
2153 for ac_dir in "$srcdir" "$srcdir/..
" "$srcdir/..
/..
"; do
2154 if test -f "$ac_dir/install-sh
"; then
2156 ac_install_sh="$ac_aux_dir/install-sh
-c"
2158 elif test -f "$ac_dir/install.sh
"; then
2160 ac_install_sh="$ac_aux_dir/install.sh
-c"
2162 elif test -f "$ac_dir/shtool
"; then
2164 ac_install_sh="$ac_aux_dir/shtool
install -c"
2168 if test -z "$ac_aux_dir"; then
2169 { { $as_echo "$as_me:$LINENO: error
: cannot
find install-sh or
install.sh
in \"$srcdir\" \"$srcdir/..
\" \"$srcdir/..
/..
\"" >&5
2170 $as_echo "$as_me: error
: cannot
find install-sh or
install.sh
in \"$srcdir\" \"$srcdir/..
\" \"$srcdir/..
/..
\"" >&2;}
2171 { (exit 1); exit 1; }; }
2174 # These three variables are undocumented and unsupported,
2175 # and are intended to be withdrawn in a future Autoconf release.
2176 # They can cause serious problems if a builder's source tree is in a directory
2177 # whose full name contains unusual characters.
2178 ac_config_guess="$SHELL $ac_aux_dir/config.guess
" # Please don't use this var.
2179 ac_config_sub="$SHELL $ac_aux_dir/config.sub
" # Please don't use this var.
2180 ac_configure="$SHELL $ac_aux_dir/configure
" # Please don't use this var.
2183 # Make sure we can run config.sub.
2184 $SHELL "$ac_aux_dir/config.sub
" sun4 >/dev/null 2>&1 ||
2185 { { $as_echo "$as_me:$LINENO: error
: cannot run
$SHELL $ac_aux_dir/config.sub
" >&5
2186 $as_echo "$as_me: error
: cannot run
$SHELL $ac_aux_dir/config.sub
" >&2;}
2187 { (exit 1); exit 1; }; }
2189 { $as_echo "$as_me:$LINENO: checking build system
type" >&5
2190 $as_echo_n "checking build system
type...
" >&6; }
2191 if test "${ac_cv_build+set}" = set; then
2192 $as_echo_n "(cached
) " >&6
2194 ac_build_alias=$build_alias
2195 test "x
$ac_build_alias" = x &&
2196 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess
"`
2197 test "x
$ac_build_alias" = x &&
2198 { { $as_echo "$as_me:$LINENO: error
: cannot guess build
type; you must specify one
" >&5
2199 $as_echo "$as_me: error
: cannot guess build
type; you must specify one
" >&2;}
2200 { (exit 1); exit 1; }; }
2201 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub
" $ac_build_alias` ||
2202 { { $as_echo "$as_me:$LINENO: error
: $SHELL $ac_aux_dir/config.sub
$ac_build_alias failed
" >&5
2203 $as_echo "$as_me: error
: $SHELL $ac_aux_dir/config.sub
$ac_build_alias failed
" >&2;}
2204 { (exit 1); exit 1; }; }
2207 { $as_echo "$as_me:$LINENO: result
: $ac_cv_build" >&5
2208 $as_echo "$ac_cv_build" >&6; }
2209 case $ac_cv_build in
2211 *) { { $as_echo "$as_me:$LINENO: error
: invalid value of canonical build
" >&5
2212 $as_echo "$as_me: error
: invalid value of canonical build
" >&2;}
2213 { (exit 1); exit 1; }; };;
2216 ac_save_IFS=$IFS; IFS='-'
2222 # Remember, the first character of IFS is used to create $*,
2223 # except with old shells:
2226 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2229 { $as_echo "$as_me:$LINENO: checking
host system
type" >&5
2230 $as_echo_n "checking
host system
type...
" >&6; }
2231 if test "${ac_cv_host+set}" = set; then
2232 $as_echo_n "(cached
) " >&6
2234 if test "x
$host_alias" = x; then
2235 ac_cv_host=$ac_cv_build
2237 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub
" $host_alias` ||
2238 { { $as_echo "$as_me:$LINENO: error
: $SHELL $ac_aux_dir/config.sub
$host_alias failed
" >&5
2239 $as_echo "$as_me: error
: $SHELL $ac_aux_dir/config.sub
$host_alias failed
" >&2;}
2240 { (exit 1); exit 1; }; }
2244 { $as_echo "$as_me:$LINENO: result
: $ac_cv_host" >&5
2245 $as_echo "$ac_cv_host" >&6; }
2248 *) { { $as_echo "$as_me:$LINENO: error
: invalid value of canonical
host" >&5
2249 $as_echo "$as_me: error
: invalid value of canonical
host" >&2;}
2250 { (exit 1); exit 1; }; };;
2253 ac_save_IFS=$IFS; IFS='-'
2259 # Remember, the first character of IFS is used to create $*,
2260 # except with old shells:
2263 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2266 { $as_echo "$as_me:$LINENO: checking target system
type" >&5
2267 $as_echo_n "checking target system
type...
" >&6; }
2268 if test "${ac_cv_target+set}" = set; then
2269 $as_echo_n "(cached
) " >&6
2271 if test "x
$target_alias" = x; then
2272 ac_cv_target=$ac_cv_host
2274 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub
" $target_alias` ||
2275 { { $as_echo "$as_me:$LINENO: error
: $SHELL $ac_aux_dir/config.sub
$target_alias failed
" >&5
2276 $as_echo "$as_me: error
: $SHELL $ac_aux_dir/config.sub
$target_alias failed
" >&2;}
2277 { (exit 1); exit 1; }; }
2281 { $as_echo "$as_me:$LINENO: result
: $ac_cv_target" >&5
2282 $as_echo "$ac_cv_target" >&6; }
2283 case $ac_cv_target in
2285 *) { { $as_echo "$as_me:$LINENO: error
: invalid value of canonical target
" >&5
2286 $as_echo "$as_me: error
: invalid value of canonical target
" >&2;}
2287 { (exit 1); exit 1; }; };;
2289 target=$ac_cv_target
2290 ac_save_IFS=$IFS; IFS='-'
2296 # Remember, the first character of IFS is used to create $*,
2297 # except with old shells:
2300 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2303 # The aliases save the names the user supplied, while $host etc.
2304 # will get canonicalized.
2305 test -n "$target_alias" &&
2306 test "$program_prefix$program_suffix$program_transform_name" = \
2308 program_prefix=${target_alias}-
2309 test "$program_prefix" != NONE &&
2310 program_transform_name="s
&^
&$program_prefix&;$program_transform_name"
2311 # Use a double $ so make ignores it.
2312 test "$program_suffix" != NONE &&
2313 program_transform_name="s
&\$
&$program_suffix&;$program_transform_name"
2314 # Double any \ or $.
2315 # By default was `s,x,x', remove it if useless.
2316 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2317 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2320 ac_cpp='$CPP $CPPFLAGS'
2321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2324 if test -n "$ac_tool_prefix"; then
2325 # Extract the first word of "${ac_tool_prefix}gcc
", so it can be a program name with args.
2326 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2327 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
2328 $as_echo_n "checking
for $ac_word...
" >&6; }
2329 if test "${ac_cv_prog_CC+set}" = set; then
2330 $as_echo_n "(cached
) " >&6
2332 if test -n "$CC"; then
2333 ac_cv_prog_CC="$CC" # Let the user override the test.
2335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2339 test -z "$as_dir" && as_dir=.
2340 for ac_exec_ext in '' $ac_executable_extensions; do
2341 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2342 ac_cv_prog_CC="${ac_tool_prefix}gcc
"
2343 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
2353 if test -n "$CC"; then
2354 { $as_echo "$as_me:$LINENO: result
: $CC" >&5
2355 $as_echo "$CC" >&6; }
2357 { $as_echo "$as_me:$LINENO: result
: no
" >&5
2358 $as_echo "no
" >&6; }
2363 if test -z "$ac_cv_prog_CC"; then
2365 # Extract the first word of "gcc
", so it can be a program name with args.
2366 set dummy gcc; ac_word=$2
2367 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
2368 $as_echo_n "checking
for $ac_word...
" >&6; }
2369 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2370 $as_echo_n "(cached
) " >&6
2372 if test -n "$ac_ct_CC"; then
2373 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2379 test -z "$as_dir" && as_dir=.
2380 for ac_exec_ext in '' $ac_executable_extensions; do
2381 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2382 ac_cv_prog_ac_ct_CC="gcc
"
2383 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
2392 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2393 if test -n "$ac_ct_CC"; then
2394 { $as_echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
2395 $as_echo "$ac_ct_CC" >&6; }
2397 { $as_echo "$as_me:$LINENO: result
: no
" >&5
2398 $as_echo "no
" >&6; }
2401 if test "x
$ac_ct_CC" = x; then
2404 case $cross_compiling:$ac_tool_warned in
2406 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
2407 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
2408 ac_tool_warned=yes ;;
2416 if test -z "$CC"; then
2417 if test -n "$ac_tool_prefix"; then
2418 # Extract the first word of "${ac_tool_prefix}cc
", so it can be a program name with args.
2419 set dummy ${ac_tool_prefix}cc; ac_word=$2
2420 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
2421 $as_echo_n "checking
for $ac_word...
" >&6; }
2422 if test "${ac_cv_prog_CC+set}" = set; then
2423 $as_echo_n "(cached
) " >&6
2425 if test -n "$CC"; then
2426 ac_cv_prog_CC="$CC" # Let the user override the test.
2428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2432 test -z "$as_dir" && as_dir=.
2433 for ac_exec_ext in '' $ac_executable_extensions; do
2434 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2435 ac_cv_prog_CC="${ac_tool_prefix}cc
"
2436 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
2446 if test -n "$CC"; then
2447 { $as_echo "$as_me:$LINENO: result
: $CC" >&5
2448 $as_echo "$CC" >&6; }
2450 { $as_echo "$as_me:$LINENO: result
: no
" >&5
2451 $as_echo "no
" >&6; }
2457 if test -z "$CC"; then
2458 # Extract the first word of "cc
", so it can be a program name with args.
2459 set dummy cc; ac_word=$2
2460 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
2461 $as_echo_n "checking
for $ac_word...
" >&6; }
2462 if test "${ac_cv_prog_CC+set}" = set; then
2463 $as_echo_n "(cached
) " >&6
2465 if test -n "$CC"; then
2466 ac_cv_prog_CC="$CC" # Let the user override the test.
2469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2473 test -z "$as_dir" && as_dir=.
2474 for ac_exec_ext in '' $ac_executable_extensions; do
2475 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2476 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr
/ucb
/cc
"; then
2477 ac_prog_rejected=yes
2481 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
2488 if test $ac_prog_rejected = yes; then
2489 # We found a bogon in the path, so make sure we never use it.
2490 set dummy $ac_cv_prog_CC
2492 if test $# != 0; then
2493 # We chose a different compiler from the bogus one.
2494 # However, it has the same basename, so the bogon will be chosen
2495 # first if we set CC to just the basename; use the full file name.
2497 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@
"
2503 if test -n "$CC"; then
2504 { $as_echo "$as_me:$LINENO: result
: $CC" >&5
2505 $as_echo "$CC" >&6; }
2507 { $as_echo "$as_me:$LINENO: result
: no
" >&5
2508 $as_echo "no
" >&6; }
2513 if test -z "$CC"; then
2514 if test -n "$ac_tool_prefix"; then
2515 for ac_prog in cl.exe
2517 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2518 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2519 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
2520 $as_echo_n "checking
for $ac_word...
" >&6; }
2521 if test "${ac_cv_prog_CC+set}" = set; then
2522 $as_echo_n "(cached
) " >&6
2524 if test -n "$CC"; then
2525 ac_cv_prog_CC="$CC" # Let the user override the test.
2527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2531 test -z "$as_dir" && as_dir=.
2532 for ac_exec_ext in '' $ac_executable_extensions; do
2533 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2534 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2535 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
2545 if test -n "$CC"; then
2546 { $as_echo "$as_me:$LINENO: result
: $CC" >&5
2547 $as_echo "$CC" >&6; }
2549 { $as_echo "$as_me:$LINENO: result
: no
" >&5
2550 $as_echo "no
" >&6; }
2554 test -n "$CC" && break
2557 if test -z "$CC"; then
2559 for ac_prog in cl.exe
2561 # Extract the first word of "$ac_prog", so it can be a program name with args.
2562 set dummy $ac_prog; ac_word=$2
2563 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
2564 $as_echo_n "checking
for $ac_word...
" >&6; }
2565 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2566 $as_echo_n "(cached
) " >&6
2568 if test -n "$ac_ct_CC"; then
2569 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2571 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2575 test -z "$as_dir" && as_dir=.
2576 for ac_exec_ext in '' $ac_executable_extensions; do
2577 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2578 ac_cv_prog_ac_ct_CC="$ac_prog"
2579 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
2588 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2589 if test -n "$ac_ct_CC"; then
2590 { $as_echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
2591 $as_echo "$ac_ct_CC" >&6; }
2593 { $as_echo "$as_me:$LINENO: result
: no
" >&5
2594 $as_echo "no
" >&6; }
2598 test -n "$ac_ct_CC" && break
2601 if test "x
$ac_ct_CC" = x; then
2604 case $cross_compiling:$ac_tool_warned in
2606 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
2607 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
2608 ac_tool_warned=yes ;;
2617 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
2618 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2619 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2620 See \`config.log' for more details.
" >&5
2621 $as_echo "$as_me: error
: no acceptable C compiler found
in \
$PATH
2622 See \
`config.log' for more details." >&2;}
2623 { (exit 1); exit 1; }; }; }
2625 # Provide some information about the compiler.
2626 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2629 { (ac_try="$ac_compiler --version >&5"
2631 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2632 *) ac_try_echo
=$ac_try;;
2634 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2635 $as_echo "$ac_try_echo") >&5
2636 (eval "$ac_compiler --version >&5") 2>&5
2638 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2639 (exit $ac_status); }
2640 { (ac_try
="$ac_compiler -v >&5"
2642 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2643 *) ac_try_echo=$ac_try;;
2645 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2646 $as_echo "$ac_try_echo") >&5
2647 (eval "$ac_compiler -v >&5") 2>&5
2649 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2650 (exit $ac_status); }
2651 { (ac_try="$ac_compiler -V >&5"
2653 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2654 *) ac_try_echo
=$ac_try;;
2656 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2657 $as_echo "$ac_try_echo") >&5
2658 (eval "$ac_compiler -V >&5") 2>&5
2660 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2661 (exit $ac_status); }
2663 cat >conftest.
$ac_ext <<_ACEOF
2666 cat confdefs.h
>>conftest.
$ac_ext
2667 cat >>conftest.
$ac_ext <<_ACEOF
2668 /* end confdefs.h. */
2678 ac_clean_files_save
=$ac_clean_files
2679 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2680 # Try to create an executable without -o first, disregard a.out.
2681 # It will help us diagnose broken compilers, and finding out an intuition
2683 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2684 $as_echo_n "checking for C compiler default output file name... " >&6; }
2685 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2687 # The possible output files:
2688 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2691 for ac_file
in $ac_files
2694 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2695 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
2700 if { (ac_try
="$ac_link_default"
2702 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2703 *) ac_try_echo=$ac_try;;
2705 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2706 $as_echo "$ac_try_echo") >&5
2707 (eval "$ac_link_default") 2>&5
2709 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2710 (exit $ac_status); }; then
2711 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
2712 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
2713 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2714 # so that the user can short-circuit this test for compilers unknown to
2716 for ac_file in $ac_files ''
2718 test -f "$ac_file" || continue
2720 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2723 # We found the default executable, but exeext='' is most
2727 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2729 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2731 # We set ac_cv_exeext here because the later test for it is not
2732 # safe: cross compilers may not add the suffix if given an `-o'
2733 # argument, so we may need to know it at that point already.
2734 # Even if this section looks crufty: it has the advantage of
2741 test "$ac_cv_exeext" = no && ac_cv_exeext=
2747 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2748 $as_echo "$ac_file" >&6; }
2749 if test -z "$ac_file"; then
2750 $as_echo "$as_me: failed program was:" >&5
2751 sed 's
/^
/|
/' conftest.$ac_ext >&5
2753 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2754 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
2755 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2756 See \`config.log
' for more details." >&5
2757 $as_echo "$as_me: error: C compiler cannot create executables
2758 See \`config.log' for more details.
" >&2;}
2759 { (exit 77); exit 77; }; }; }
2762 ac_exeext=$ac_cv_exeext
2764 # Check that the compiler produces executables we can run. If not, either
2765 # the compiler is broken, or we cross compile.
2766 { $as_echo "$as_me:$LINENO: checking whether the C compiler works
" >&5
2767 $as_echo_n "checking whether the C compiler works...
" >&6; }
2768 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2769 # If not cross compiling, check that we can run a simple program.
2770 if test "$cross_compiling" != yes; then
2771 if { ac_try='./$ac_file'
2772 { (case "(($ac_try" in
2773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2774 *) ac_try_echo=$ac_try;;
2776 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
2777 $as_echo "$ac_try_echo") >&5
2778 (eval "$ac_try") 2>&5
2780 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2781 (exit $ac_status); }; }; then
2784 if test "$cross_compiling" = maybe; then
2787 { { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
2788 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2789 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2790 If you meant to cross compile, use \`--host'.
2791 See \
`config.log' for more details." >&5
2792 $as_echo "$as_me: error: cannot run C compiled programs.
2793 If you meant to cross compile, use \`--host'.
2794 See \`config.log' for more details.
" >&2;}
2795 { (exit 1); exit 1; }; }; }
2799 { $as_echo "$as_me:$LINENO: result
: yes" >&5
2800 $as_echo "yes" >&6; }
2802 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2803 ac_clean_files=$ac_clean_files_save
2804 # Check that the compiler produces executables we can run. If not, either
2805 # the compiler is broken, or we cross compile.
2806 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling
" >&5
2807 $as_echo_n "checking whether we are cross compiling...
" >&6; }
2808 { $as_echo "$as_me:$LINENO: result
: $cross_compiling" >&5
2809 $as_echo "$cross_compiling" >&6; }
2811 { $as_echo "$as_me:$LINENO: checking
for suffix of executables
" >&5
2812 $as_echo_n "checking
for suffix of executables...
" >&6; }
2813 if { (ac_try="$ac_link"
2815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2816 *) ac_try_echo=$ac_try;;
2818 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
2819 $as_echo "$ac_try_echo") >&5
2820 (eval "$ac_link") 2>&5
2822 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2823 (exit $ac_status); }; then
2824 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2825 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2826 # work properly (i.e., refer to `conftest.exe'), while it won't with
2828 for ac_file in conftest.exe conftest conftest.*; do
2829 test -f "$ac_file" || continue
2831 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2832 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2838 { { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
2839 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2840 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2841 See \`config.log' for more details.
" >&5
2842 $as_echo "$as_me: error
: cannot compute suffix of executables
: cannot compile and link
2843 See \
`config.log' for more details." >&2;}
2844 { (exit 1); exit 1; }; }; }
2847 rm -f conftest$ac_cv_exeext
2848 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2849 $as_echo "$ac_cv_exeext" >&6; }
2851 rm -f conftest.$ac_ext
2852 EXEEXT=$ac_cv_exeext
2854 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2855 $as_echo_n "checking for suffix of object files... " >&6; }
2856 if test "${ac_cv_objext+set}" = set; then
2857 $as_echo_n "(cached) " >&6
2859 cat >conftest.$ac_ext <<_ACEOF
2862 cat confdefs.h >>conftest.$ac_ext
2863 cat >>conftest.$ac_ext <<_ACEOF
2864 /* end confdefs.h. */
2874 rm -f conftest.o conftest.obj
2875 if { (ac_try="$ac_compile"
2877 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2878 *) ac_try_echo
=$ac_try;;
2880 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2881 $as_echo "$ac_try_echo") >&5
2882 (eval "$ac_compile") 2>&5
2884 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2885 (exit $ac_status); }; then
2886 for ac_file
in conftest.o conftest.obj conftest.
*; do
2887 test -f "$ac_file" ||
continue;
2889 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM
) ;;
2890 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2895 $as_echo "$as_me: failed program was:" >&5
2896 sed 's/^/| /' conftest.
$ac_ext >&5
2898 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2899 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2900 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2901 See \`config.log' for more details." >&5
2902 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2903 See \`config.log' for more details." >&2;}
2904 { (exit 1); exit 1; }; }; }
2907 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2909 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2910 $as_echo "$ac_cv_objext" >&6; }
2911 OBJEXT
=$ac_cv_objext
2913 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2914 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2915 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2916 $as_echo_n "(cached) " >&6
2918 cat >conftest.
$ac_ext <<_ACEOF
2921 cat confdefs.h
>>conftest.
$ac_ext
2922 cat >>conftest.
$ac_ext <<_ACEOF
2923 /* end confdefs.h. */
2936 rm -f conftest.
$ac_objext
2937 if { (ac_try
="$ac_compile"
2939 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2940 *) ac_try_echo=$ac_try;;
2942 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2943 $as_echo "$ac_try_echo") >&5
2944 (eval "$ac_compile") 2>conftest.er1
2946 grep -v '^ *+' conftest.er1 >conftest.err
2948 cat conftest.err >&5
2949 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2950 (exit $ac_status); } && {
2951 test -z "$ac_c_werror_flag" ||
2952 test ! -s conftest.err
2953 } && test -s conftest.$ac_objext; then
2956 $as_echo "$as_me: failed program was:" >&5
2957 sed 's/^/| /' conftest.$ac_ext >&5
2962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2963 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2966 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2967 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2968 if test $ac_compiler_gnu = yes; then
2973 ac_test_CFLAGS=${CFLAGS+set}
2974 ac_save_CFLAGS=$CFLAGS
2975 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2976 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2977 if test "${ac_cv_prog_cc_g+set}" = set; then
2978 $as_echo_n "(cached) " >&6
2980 ac_save_c_werror_flag=$ac_c_werror_flag
2981 ac_c_werror_flag=yes
2984 cat >conftest.$ac_ext <<_ACEOF
2987 cat confdefs.h >>conftest.$ac_ext
2988 cat >>conftest.$ac_ext <<_ACEOF
2989 /* end confdefs.h. */
2999 rm -f conftest.$ac_objext
3000 if { (ac_try="$ac_compile"
3002 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3003 *) ac_try_echo
=$ac_try;;
3005 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3006 $as_echo "$ac_try_echo") >&5
3007 (eval "$ac_compile") 2>conftest.er1
3009 grep -v '^ *+' conftest.er1
>conftest.err
3011 cat conftest.err
>&5
3012 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3013 (exit $ac_status); } && {
3014 test -z "$ac_c_werror_flag" ||
3015 test ! -s conftest.err
3016 } && test -s conftest.
$ac_objext; then
3019 $as_echo "$as_me: failed program was:" >&5
3020 sed 's/^/| /' conftest.
$ac_ext >&5
3023 cat >conftest.
$ac_ext <<_ACEOF
3026 cat confdefs.h
>>conftest.
$ac_ext
3027 cat >>conftest.
$ac_ext <<_ACEOF
3028 /* end confdefs.h. */
3038 rm -f conftest.
$ac_objext
3039 if { (ac_try
="$ac_compile"
3041 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3042 *) ac_try_echo=$ac_try;;
3044 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3045 $as_echo "$ac_try_echo") >&5
3046 (eval "$ac_compile") 2>conftest.er1
3048 grep -v '^ *+' conftest.er1 >conftest.err
3050 cat conftest.err >&5
3051 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3052 (exit $ac_status); } && {
3053 test -z "$ac_c_werror_flag" ||
3054 test ! -s conftest.err
3055 } && test -s conftest.$ac_objext; then
3058 $as_echo "$as_me: failed program was:" >&5
3059 sed 's/^/| /' conftest.$ac_ext >&5
3061 ac_c_werror_flag=$ac_save_c_werror_flag
3063 cat >conftest.$ac_ext <<_ACEOF
3066 cat confdefs.h >>conftest.$ac_ext
3067 cat >>conftest.$ac_ext <<_ACEOF
3068 /* end confdefs.h. */
3078 rm -f conftest.$ac_objext
3079 if { (ac_try="$ac_compile"
3081 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3082 *) ac_try_echo
=$ac_try;;
3084 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3085 $as_echo "$ac_try_echo") >&5
3086 (eval "$ac_compile") 2>conftest.er1
3088 grep -v '^ *+' conftest.er1
>conftest.err
3090 cat conftest.err
>&5
3091 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3092 (exit $ac_status); } && {
3093 test -z "$ac_c_werror_flag" ||
3094 test ! -s conftest.err
3095 } && test -s conftest.
$ac_objext; then
3098 $as_echo "$as_me: failed program was:" >&5
3099 sed 's/^/| /' conftest.
$ac_ext >&5
3104 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3107 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3110 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3111 ac_c_werror_flag
=$ac_save_c_werror_flag
3113 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3114 $as_echo "$ac_cv_prog_cc_g" >&6; }
3115 if test "$ac_test_CFLAGS" = set; then
3116 CFLAGS
=$ac_save_CFLAGS
3117 elif test $ac_cv_prog_cc_g = yes; then
3118 if test "$GCC" = yes; then
3124 if test "$GCC" = yes; then
3130 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3131 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3132 if test "${ac_cv_prog_cc_c89+set}" = set; then
3133 $as_echo_n "(cached) " >&6
3135 ac_cv_prog_cc_c89
=no
3137 cat >conftest.
$ac_ext <<_ACEOF
3140 cat confdefs.h
>>conftest.
$ac_ext
3141 cat >>conftest.
$ac_ext <<_ACEOF
3142 /* end confdefs.h. */
3145 #include <sys/types.h>
3146 #include <sys/stat.h>
3147 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3148 struct buf { int x; };
3149 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3150 static char *e (p, i)
3156 static char *f (char * (*g) (char **, int), char **p, ...)
3161 s = g (p, va_arg (v,int));
3166 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3167 function prototypes and stuff, but not '\xHH' hex character constants.
3168 These don't provoke an error unfortunately, instead are silently treated
3169 as 'x'. The following induces an error, until -std is added to get
3170 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3171 array size at least. It's necessary to write '\x00'==0 to get something
3172 that's true only with -std. */
3173 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3175 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3176 inside strings and character constants. */
3178 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3180 int test (int i, double x);
3181 struct s1 {int (*f) (int a);};
3182 struct s2 {int (*f) (double a);};
3183 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3189 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3194 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
3195 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3197 CC
="$ac_save_CC $ac_arg"
3198 rm -f conftest.
$ac_objext
3199 if { (ac_try
="$ac_compile"
3201 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3202 *) ac_try_echo=$ac_try;;
3204 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3205 $as_echo "$ac_try_echo") >&5
3206 (eval "$ac_compile") 2>conftest.er1
3208 grep -v '^ *+' conftest.er1 >conftest.err
3210 cat conftest.err >&5
3211 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3212 (exit $ac_status); } && {
3213 test -z "$ac_c_werror_flag" ||
3214 test ! -s conftest.err
3215 } && test -s conftest.$ac_objext; then
3216 ac_cv_prog_cc_c89=$ac_arg
3218 $as_echo "$as_me: failed program was:" >&5
3219 sed 's/^/| /' conftest.$ac_ext >&5
3224 rm -f core conftest.err conftest.$ac_objext
3225 test "x$ac_cv_prog_cc_c89" != "xno" && break
3227 rm -f conftest.$ac_ext
3232 case "x$ac_cv_prog_cc_c89" in
3234 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3235 $as_echo "none needed" >&6; } ;;
3237 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3238 $as_echo "unsupported" >&6; } ;;
3240 CC="$CC $ac_cv_prog_cc_c89"
3241 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3242 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3247 ac_cpp='$CPP $CPPFLAGS'
3248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3252 # Find a good install program. We prefer a C program (faster),
3253 # so one script is as good as another. But avoid the broken or
3254 # incompatible versions:
3255 # SysV /etc/install, /usr/sbin/install
3256 # SunOS /usr/etc/install
3257 # IRIX /sbin/install
3259 # AmigaOS /C/install, which installs bootblocks on floppy discs
3260 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3261 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3262 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3263 # OS/2's system install, which has a completely different semantic
3264 # ./install, which can be erroneously created by make from ./install.sh.
3265 # Reject install programs that cannot install multiple files.
3266 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3267 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3268 if test -z "$INSTALL"; then
3269 if test "${ac_cv_path_install+set}" = set; then
3270 $as_echo_n "(cached) " >&6
3272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3276 test -z "$as_dir" && as_dir=.
3277 # Account for people who put trailing slashes in PATH elements.
3279 ./ | .// | /cC/* | \
3280 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3281 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3284 # OSF1 and SCO ODT 3.0 have their own names for install.
3285 # Don't use installbsd from OSF since it installs stuff as root
3287 for ac_prog in ginstall scoinst install; do
3288 for ac_exec_ext in '' $ac_executable_extensions; do
3289 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3290 if test $ac_prog = install &&
3291 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3292 # AIX install. It has an incompatible calling convention.
3294 elif test $ac_prog = install &&
3295 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3296 # program-specific install script used by HP pwplus--don't use.
3299 rm -rf conftest.one conftest.two conftest.dir
3300 echo one > conftest.one
3301 echo two > conftest.two
3303 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3304 test -s conftest.one && test -s conftest.two &&
3305 test -s conftest.dir/conftest.one &&
3306 test -s conftest.dir/conftest.two
3308 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3321 rm -rf conftest.one conftest.two conftest.dir
3324 if test "${ac_cv_path_install+set}" = set; then
3325 INSTALL=$ac_cv_path_install
3327 # As a last resort, use the slow shell script. Don't cache a
3328 # value for INSTALL within a source directory, because that will
3329 # break other packages using the cache if that directory is
3330 # removed, or if the value is a relative name.
3331 INSTALL=$ac_install_sh
3334 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
3335 $as_echo "$INSTALL" >&6; }
3337 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3338 # It thinks the first close brace ends the variable substitution.
3339 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3341 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3343 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3346 # Put a plausible default for CC_FOR_BUILD in Makefile.
3347 if test "x$cross_compiling" = "xno"; then
3348 CC_FOR_BUILD='$(CC)'
3358 if test -n "$ac_tool_prefix"; then
3359 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3360 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3361 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3362 $as_echo_n "checking for $ac_word... " >&6; }
3363 if test "${ac_cv_prog_RANLIB+set}" = set; then
3364 $as_echo_n "(cached) " >&6
3366 if test -n "$RANLIB"; then
3367 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3373 test -z "$as_dir" && as_dir=.
3374 for ac_exec_ext in '' $ac_executable_extensions; do
3375 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3376 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3377 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3386 RANLIB=$ac_cv_prog_RANLIB
3387 if test -n "$RANLIB"; then
3388 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
3389 $as_echo "$RANLIB" >&6; }
3391 { $as_echo "$as_me:$LINENO: result: no" >&5
3392 $as_echo "no" >&6; }
3397 if test -z "$ac_cv_prog_RANLIB"; then
3398 ac_ct_RANLIB=$RANLIB
3399 # Extract the first word of "ranlib", so it can be a program name with args.
3400 set dummy ranlib; ac_word=$2
3401 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3402 $as_echo_n "checking for $ac_word... " >&6; }
3403 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3404 $as_echo_n "(cached) " >&6
3406 if test -n "$ac_ct_RANLIB"; then
3407 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3413 test -z "$as_dir" && as_dir=.
3414 for ac_exec_ext in '' $ac_executable_extensions; do
3415 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3416 ac_cv_prog_ac_ct_RANLIB="ranlib"
3417 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3426 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3427 if test -n "$ac_ct_RANLIB"; then
3428 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3429 $as_echo "$ac_ct_RANLIB" >&6; }
3431 { $as_echo "$as_me:$LINENO: result: no" >&5
3432 $as_echo "no" >&6; }
3435 if test "x$ac_ct_RANLIB" = x; then
3438 case $cross_compiling:$ac_tool_warned in
3440 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3441 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3442 ac_tool_warned=yes ;;
3444 RANLIB=$ac_ct_RANLIB
3447 RANLIB="$ac_cv_prog_RANLIB"
3452 # If we haven't got the data from the intl directory,
3453 # assume NLS is disabled.
3462 if test -f ../../intl/config.intl; then
3463 . ../../intl/config.intl
3465 { $as_echo "$as_me:$LINENO: checking whether NLS is requested" >&5
3466 $as_echo_n "checking whether NLS is requested... " >&6; }
3467 if test x"$USE_NLS" != xyes; then
3468 { $as_echo "$as_me:$LINENO: result: no" >&5
3469 $as_echo "no" >&6; }
3471 { $as_echo "$as_me:$LINENO: result: yes" >&5
3472 $as_echo "yes" >&6; }
3474 cat >>confdefs.h <<\_ACEOF
3475 #define ENABLE_NLS 1
3479 { $as_echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
3480 $as_echo_n "checking for catalogs to be installed... " >&6; }
3481 # Look for .po and .gmo files in the source directory.
3484 for cat in $srcdir/po/*.gmo $srcdir/po/*.po; do
3485 # If there aren't any .gmo files the shell will give us the
3486 # literal string "../path/to/srcdir/po/*.gmo" which has to be
3488 case "$cat" in *\**)
3491 # The quadruple backslash is collapsed to a double backslash
3492 # by the backticks, then collapsed again by the double quotes,
3493 # leaving us with one backslash in the sed expression (right
3494 # before the dot that mustn't act as a wildcard).
3495 cat=`echo $cat |
sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
3496 lang=`echo $cat |
sed -e "s!\\\\.gmo!!"`
3497 # The user is allowed to set LINGUAS to a list of languages to
3498 # install catalogs for. If it's empty that means "all of them."
3499 if test "x$LINGUAS" = x; then
3500 CATALOGS="$CATALOGS $cat"
3501 XLINGUAS="$XLINGUAS $lang"
3503 case "$LINGUAS" in *$lang*)
3504 CATALOGS="$CATALOGS $cat"
3505 XLINGUAS="$XLINGUAS $lang"
3511 { $as_echo "$as_me:$LINENO: result: $LINGUAS" >&5
3512 $as_echo "$LINGUAS" >&6; }
3525 # Check for common headers.
3526 # FIXME: Seems to me this can cause problems for i386-windows hosts.
3527 # At one point there were hardcoded AC_DEFINE's if ${host} = i386-*-windows*.
3530 ac_cpp='$CPP $CPPFLAGS'
3531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3534 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3535 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3536 # On Suns, sometimes $CPP names a directory.
3537 if test -n "$CPP" && test -d "$CPP"; then
3540 if test -z "$CPP"; then
3541 if test "${ac_cv_prog_CPP+set}" = set; then
3542 $as_echo_n "(cached) " >&6
3544 # Double quotes because CPP needs to be expanded
3545 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3548 for ac_c_preproc_warn_flag in '' yes
3550 # Use a header file that comes with gcc, so configuring glibc
3551 # with a fresh cross-compiler works.
3552 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3553 # <limits.h> exists even on freestanding compilers.
3554 # On the NeXT, cc -E runs the code through the compiler's parser,
3555 # not just through cpp. "Syntax error" is here to catch this case.
3556 cat >conftest.$ac_ext <<_ACEOF
3559 cat confdefs.h >>conftest.$ac_ext
3560 cat >>conftest.$ac_ext <<_ACEOF
3561 /* end confdefs.h. */
3563 # include <limits.h>
3565 # include <assert.h>
3569 if { (ac_try="$ac_cpp conftest.$ac_ext"
3571 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3572 *) ac_try_echo
=$ac_try;;
3574 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3575 $as_echo "$ac_try_echo") >&5
3576 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3578 grep -v '^ *+' conftest.er1
>conftest.err
3580 cat conftest.err
>&5
3581 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3582 (exit $ac_status); } >/dev
/null
&& {
3583 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3584 test ! -s conftest.err
3588 $as_echo "$as_me: failed program was:" >&5
3589 sed 's/^/| /' conftest.
$ac_ext >&5
3591 # Broken: fails on valid input.
3595 rm -f conftest.err conftest.
$ac_ext
3597 # OK, works on sane cases. Now check whether nonexistent headers
3598 # can be detected and how.
3599 cat >conftest.
$ac_ext <<_ACEOF
3602 cat confdefs.h
>>conftest.
$ac_ext
3603 cat >>conftest.
$ac_ext <<_ACEOF
3604 /* end confdefs.h. */
3605 #include <ac_nonexistent.h>
3607 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3609 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3610 *) ac_try_echo=$ac_try;;
3612 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3613 $as_echo "$ac_try_echo") >&5
3614 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3616 grep -v '^ *+' conftest.er1 >conftest.err
3618 cat conftest.err >&5
3619 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3620 (exit $ac_status); } >/dev/null && {
3621 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3622 test ! -s conftest.err
3624 # Broken: success on invalid input.
3627 $as_echo "$as_me: failed program was:" >&5
3628 sed 's/^/| /' conftest.$ac_ext >&5
3630 # Passes both tests.
3635 rm -f conftest.err conftest.$ac_ext
3638 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3639 rm -f conftest.err conftest.
$ac_ext
3640 if $ac_preproc_ok; then
3652 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
3653 $as_echo "$CPP" >&6; }
3655 for ac_c_preproc_warn_flag
in '' yes
3657 # Use a header file that comes with gcc, so configuring glibc
3658 # with a fresh cross-compiler works.
3659 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3660 # <limits.h> exists even on freestanding compilers.
3661 # On the NeXT, cc -E runs the code through the compiler's parser,
3662 # not just through cpp. "Syntax error" is here to catch this case.
3663 cat >conftest.
$ac_ext <<_ACEOF
3666 cat confdefs.h
>>conftest.
$ac_ext
3667 cat >>conftest.
$ac_ext <<_ACEOF
3668 /* end confdefs.h. */
3670 # include <limits.h>
3672 # include <assert.h>
3676 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3678 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3679 *) ac_try_echo=$ac_try;;
3681 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3682 $as_echo "$ac_try_echo") >&5
3683 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3685 grep -v '^ *+' conftest.er1 >conftest.err
3687 cat conftest.err >&5
3688 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3689 (exit $ac_status); } >/dev/null && {
3690 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3691 test ! -s conftest.err
3695 $as_echo "$as_me: failed program was:" >&5
3696 sed 's/^/| /' conftest.$ac_ext >&5
3698 # Broken: fails on valid input.
3702 rm -f conftest.err conftest.$ac_ext
3704 # OK, works on sane cases. Now check whether nonexistent headers
3705 # can be detected and how.
3706 cat >conftest.$ac_ext <<_ACEOF
3709 cat confdefs.h >>conftest.$ac_ext
3710 cat >>conftest.$ac_ext <<_ACEOF
3711 /* end confdefs.h. */
3712 #include <ac_nonexistent.h>
3714 if { (ac_try="$ac_cpp conftest.$ac_ext"
3716 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3717 *) ac_try_echo
=$ac_try;;
3719 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3720 $as_echo "$ac_try_echo") >&5
3721 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3723 grep -v '^ *+' conftest.er1
>conftest.err
3725 cat conftest.err
>&5
3726 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3727 (exit $ac_status); } >/dev
/null
&& {
3728 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3729 test ! -s conftest.err
3731 # Broken: success on invalid input.
3734 $as_echo "$as_me: failed program was:" >&5
3735 sed 's/^/| /' conftest.
$ac_ext >&5
3737 # Passes both tests.
3742 rm -f conftest.err conftest.
$ac_ext
3745 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3746 rm -f conftest.err conftest.
$ac_ext
3747 if $ac_preproc_ok; then
3750 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3751 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3752 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3753 See \`config.log' for more details." >&5
3754 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3755 See \`config.log' for more details." >&2;}
3756 { (exit 1); exit 1; }; }; }
3760 ac_cpp
='$CPP $CPPFLAGS'
3761 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3762 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3763 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3766 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3767 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3768 if test "${ac_cv_path_GREP+set}" = set; then
3769 $as_echo_n "(cached) " >&6
3771 if test -z "$GREP"; then
3772 ac_path_GREP_found
=false
3773 # Loop through the user's path and test for each of PROGNAME-LIST
3774 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3775 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3778 test -z "$as_dir" && as_dir
=.
3779 for ac_prog
in grep ggrep
; do
3780 for ac_exec_ext
in '' $ac_executable_extensions; do
3781 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3782 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
3783 # Check for GNU ac_path_GREP and select it if it is found.
3784 # Check for GNU $ac_path_GREP
3785 case `"$ac_path_GREP" --version 2>&1` in
3787 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3790 $as_echo_n 0123456789 >"conftest.in"
3793 cat "conftest.in" "conftest.in" >"conftest.tmp"
3794 mv "conftest.tmp" "conftest.in"
3795 cp "conftest.in" "conftest.nl"
3796 $as_echo 'GREP' >> "conftest.nl"
3797 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3798 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3799 ac_count
=`expr $ac_count + 1`
3800 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3801 # Best one so far, save it but keep looking for a better one
3802 ac_cv_path_GREP
="$ac_path_GREP"
3803 ac_path_GREP_max
=$ac_count
3805 # 10*(2^10) chars as input seems more than enough
3806 test $ac_count -gt 10 && break
3808 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3811 $ac_path_GREP_found && break 3
3816 if test -z "$ac_cv_path_GREP"; then
3817 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3818 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3819 { (exit 1); exit 1; }; }
3822 ac_cv_path_GREP
=$GREP
3826 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3827 $as_echo "$ac_cv_path_GREP" >&6; }
3828 GREP
="$ac_cv_path_GREP"
3831 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
3832 $as_echo_n "checking for egrep... " >&6; }
3833 if test "${ac_cv_path_EGREP+set}" = set; then
3834 $as_echo_n "(cached) " >&6
3836 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3837 then ac_cv_path_EGREP
="$GREP -E"
3839 if test -z "$EGREP"; then
3840 ac_path_EGREP_found
=false
3841 # Loop through the user's path and test for each of PROGNAME-LIST
3842 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3843 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3846 test -z "$as_dir" && as_dir
=.
3847 for ac_prog
in egrep; do
3848 for ac_exec_ext
in '' $ac_executable_extensions; do
3849 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3850 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
3851 # Check for GNU ac_path_EGREP and select it if it is found.
3852 # Check for GNU $ac_path_EGREP
3853 case `"$ac_path_EGREP" --version 2>&1` in
3855 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3858 $as_echo_n 0123456789 >"conftest.in"
3861 cat "conftest.in" "conftest.in" >"conftest.tmp"
3862 mv "conftest.tmp" "conftest.in"
3863 cp "conftest.in" "conftest.nl"
3864 $as_echo 'EGREP' >> "conftest.nl"
3865 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3866 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3867 ac_count
=`expr $ac_count + 1`
3868 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3869 # Best one so far, save it but keep looking for a better one
3870 ac_cv_path_EGREP
="$ac_path_EGREP"
3871 ac_path_EGREP_max
=$ac_count
3873 # 10*(2^10) chars as input seems more than enough
3874 test $ac_count -gt 10 && break
3876 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3879 $ac_path_EGREP_found && break 3
3884 if test -z "$ac_cv_path_EGREP"; then
3885 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3886 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3887 { (exit 1); exit 1; }; }
3890 ac_cv_path_EGREP
=$EGREP
3895 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3896 $as_echo "$ac_cv_path_EGREP" >&6; }
3897 EGREP
="$ac_cv_path_EGREP"
3900 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3901 $as_echo_n "checking for ANSI C header files... " >&6; }
3902 if test "${ac_cv_header_stdc+set}" = set; then
3903 $as_echo_n "(cached) " >&6
3905 cat >conftest.
$ac_ext <<_ACEOF
3908 cat confdefs.h
>>conftest.
$ac_ext
3909 cat >>conftest.
$ac_ext <<_ACEOF
3910 /* end confdefs.h. */
3924 rm -f conftest.
$ac_objext
3925 if { (ac_try
="$ac_compile"
3927 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3928 *) ac_try_echo=$ac_try;;
3930 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3931 $as_echo "$ac_try_echo") >&5
3932 (eval "$ac_compile") 2>conftest.er1
3934 grep -v '^ *+' conftest.er1 >conftest.err
3936 cat conftest.err >&5
3937 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3938 (exit $ac_status); } && {
3939 test -z "$ac_c_werror_flag" ||
3940 test ! -s conftest.err
3941 } && test -s conftest.$ac_objext; then
3942 ac_cv_header_stdc=yes
3944 $as_echo "$as_me: failed program was:" >&5
3945 sed 's/^/| /' conftest.$ac_ext >&5
3947 ac_cv_header_stdc=no
3950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3952 if test $ac_cv_header_stdc = yes; then
3953 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3954 cat >conftest.$ac_ext <<_ACEOF
3957 cat confdefs.h >>conftest.$ac_ext
3958 cat >>conftest.$ac_ext <<_ACEOF
3959 /* end confdefs.h. */
3963 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3964 $EGREP "memchr" >/dev/null 2>&1; then
3967 ac_cv_header_stdc=no
3973 if test $ac_cv_header_stdc = yes; then
3974 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3975 cat >conftest.$ac_ext <<_ACEOF
3978 cat confdefs.h >>conftest.$ac_ext
3979 cat >>conftest.$ac_ext <<_ACEOF
3980 /* end confdefs.h. */
3984 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3985 $EGREP "free" >/dev/null 2>&1; then
3988 ac_cv_header_stdc=no
3994 if test $ac_cv_header_stdc = yes; then
3995 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3996 if test "$cross_compiling" = yes; then
3999 cat >conftest.$ac_ext <<_ACEOF
4002 cat confdefs.h >>conftest.$ac_ext
4003 cat >>conftest.$ac_ext <<_ACEOF
4004 /* end confdefs.h. */
4007 #if ((' ' & 0x0FF) == 0x020)
4008 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4009 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4011 # define ISLOWER(c) \
4012 (('a' <= (c) && (c) <= 'i') \
4013 || ('j' <= (c) && (c) <= 'r') \
4014 || ('s' <= (c) && (c) <= 'z'))
4015 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4018 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4023 for (i = 0; i < 256; i++)
4024 if (XOR (islower (i), ISLOWER (i))
4025 || toupper (i) != TOUPPER (i))
4030 rm -f conftest$ac_exeext
4031 if { (ac_try="$ac_link"
4033 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4034 *) ac_try_echo
=$ac_try;;
4036 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4037 $as_echo "$ac_try_echo") >&5
4038 (eval "$ac_link") 2>&5
4040 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4041 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4042 { (case "(($ac_try" in
4043 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4044 *) ac_try_echo=$ac_try;;
4046 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4047 $as_echo "$ac_try_echo") >&5
4048 (eval "$ac_try") 2>&5
4050 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4051 (exit $ac_status); }; }; then
4054 $as_echo "$as_me: program exited with status $ac_status" >&5
4055 $as_echo "$as_me: failed program was:" >&5
4056 sed 's/^/| /' conftest.$ac_ext >&5
4059 ac_cv_header_stdc=no
4061 rm -rf conftest.dSYM
4062 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4068 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4069 $as_echo "$ac_cv_header_stdc" >&6; }
4070 if test $ac_cv_header_stdc = yes; then
4072 cat >>confdefs.h <<\_ACEOF
4073 #define STDC_HEADERS 1
4078 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4088 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4089 inttypes.h stdint.h unistd.h
4091 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
4092 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4093 $as_echo_n "checking for $ac_header... " >&6; }
4094 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4095 $as_echo_n "(cached) " >&6
4097 cat >conftest.$ac_ext <<_ACEOF
4100 cat confdefs.h >>conftest.$ac_ext
4101 cat >>conftest.$ac_ext <<_ACEOF
4102 /* end confdefs.h. */
4103 $ac_includes_default
4105 #include <$ac_header>
4107 rm -f conftest.$ac_objext
4108 if { (ac_try="$ac_compile"
4110 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4111 *) ac_try_echo
=$ac_try;;
4113 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4114 $as_echo "$ac_try_echo") >&5
4115 (eval "$ac_compile") 2>conftest.er1
4117 grep -v '^ *+' conftest.er1
>conftest.err
4119 cat conftest.err
>&5
4120 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4121 (exit $ac_status); } && {
4122 test -z "$ac_c_werror_flag" ||
4123 test ! -s conftest.err
4124 } && test -s conftest.
$ac_objext; then
4125 eval "$as_ac_Header=yes"
4127 $as_echo "$as_me: failed program was:" >&5
4128 sed 's/^/| /' conftest.
$ac_ext >&5
4130 eval "$as_ac_Header=no"
4133 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4135 ac_res
=`eval 'as_val=${'$as_ac_Header'}
4136 $as_echo "$as_val"'`
4137 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4138 $as_echo "$ac_res" >&6; }
4139 as_val
=`eval 'as_val=${'$as_ac_Header'}
4140 $as_echo "$as_val"'`
4141 if test "x$as_val" = x
""yes; then
4142 cat >>confdefs.h
<<_ACEOF
4143 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4156 for ac_header
in stdlib.h string.h
strings.h unistd.h
time.h
4158 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4159 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4160 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4161 $as_echo_n "checking for $ac_header... " >&6; }
4162 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4163 $as_echo_n "(cached) " >&6
4165 ac_res
=`eval 'as_val=${'$as_ac_Header'}
4166 $as_echo "$as_val"'`
4167 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4168 $as_echo "$ac_res" >&6; }
4170 # Is the header compilable?
4171 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
4172 $as_echo_n "checking $ac_header usability... " >&6; }
4173 cat >conftest.
$ac_ext <<_ACEOF
4176 cat confdefs.h
>>conftest.
$ac_ext
4177 cat >>conftest.
$ac_ext <<_ACEOF
4178 /* end confdefs.h. */
4179 $ac_includes_default
4180 #include <$ac_header>
4182 rm -f conftest.
$ac_objext
4183 if { (ac_try
="$ac_compile"
4185 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4186 *) ac_try_echo=$ac_try;;
4188 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4189 $as_echo "$ac_try_echo") >&5
4190 (eval "$ac_compile") 2>conftest.er1
4192 grep -v '^ *+' conftest.er1 >conftest.err
4194 cat conftest.err >&5
4195 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4196 (exit $ac_status); } && {
4197 test -z "$ac_c_werror_flag" ||
4198 test ! -s conftest.err
4199 } && test -s conftest.$ac_objext; then
4200 ac_header_compiler=yes
4202 $as_echo "$as_me: failed program was:" >&5
4203 sed 's/^/| /' conftest.$ac_ext >&5
4205 ac_header_compiler=no
4208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4209 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4210 $as_echo "$ac_header_compiler" >&6; }
4212 # Is the header present?
4213 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
4214 $as_echo_n "checking $ac_header presence... " >&6; }
4215 cat >conftest.$ac_ext <<_ACEOF
4218 cat confdefs.h >>conftest.$ac_ext
4219 cat >>conftest.$ac_ext <<_ACEOF
4220 /* end confdefs.h. */
4221 #include <$ac_header>
4223 if { (ac_try="$ac_cpp conftest.$ac_ext"
4225 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4226 *) ac_try_echo
=$ac_try;;
4228 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4229 $as_echo "$ac_try_echo") >&5
4230 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4232 grep -v '^ *+' conftest.er1
>conftest.err
4234 cat conftest.err
>&5
4235 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4236 (exit $ac_status); } >/dev
/null
&& {
4237 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4238 test ! -s conftest.err
4240 ac_header_preproc
=yes
4242 $as_echo "$as_me: failed program was:" >&5
4243 sed 's/^/| /' conftest.
$ac_ext >&5
4245 ac_header_preproc
=no
4248 rm -f conftest.err conftest.
$ac_ext
4249 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4250 $as_echo "$ac_header_preproc" >&6; }
4252 # So? What about this header?
4253 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4255 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4256 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4257 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4258 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4259 ac_header_preproc
=yes
4262 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4263 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4264 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4265 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4266 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4267 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4268 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4269 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4270 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4271 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4272 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4273 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4277 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4278 $as_echo_n "checking for $ac_header... " >&6; }
4279 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4280 $as_echo_n "(cached) " >&6
4282 eval "$as_ac_Header=\$ac_header_preproc"
4284 ac_res
=`eval 'as_val=${'$as_ac_Header'}
4285 $as_echo "$as_val"'`
4286 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4287 $as_echo "$ac_res" >&6; }
4290 as_val
=`eval 'as_val=${'$as_ac_Header'}
4291 $as_echo "$as_val"'`
4292 if test "x$as_val" = x
""yes; then
4293 cat >>confdefs.h
<<_ACEOF
4294 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4303 for ac_header
in sys
/time.h sys
/resource.h
4305 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4306 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4307 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4308 $as_echo_n "checking for $ac_header... " >&6; }
4309 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4310 $as_echo_n "(cached) " >&6
4312 ac_res
=`eval 'as_val=${'$as_ac_Header'}
4313 $as_echo "$as_val"'`
4314 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4315 $as_echo "$ac_res" >&6; }
4317 # Is the header compilable?
4318 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
4319 $as_echo_n "checking $ac_header usability... " >&6; }
4320 cat >conftest.
$ac_ext <<_ACEOF
4323 cat confdefs.h
>>conftest.
$ac_ext
4324 cat >>conftest.
$ac_ext <<_ACEOF
4325 /* end confdefs.h. */
4326 $ac_includes_default
4327 #include <$ac_header>
4329 rm -f conftest.
$ac_objext
4330 if { (ac_try
="$ac_compile"
4332 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4333 *) ac_try_echo=$ac_try;;
4335 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4336 $as_echo "$ac_try_echo") >&5
4337 (eval "$ac_compile") 2>conftest.er1
4339 grep -v '^ *+' conftest.er1 >conftest.err
4341 cat conftest.err >&5
4342 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4343 (exit $ac_status); } && {
4344 test -z "$ac_c_werror_flag" ||
4345 test ! -s conftest.err
4346 } && test -s conftest.$ac_objext; then
4347 ac_header_compiler=yes
4349 $as_echo "$as_me: failed program was:" >&5
4350 sed 's/^/| /' conftest.$ac_ext >&5
4352 ac_header_compiler=no
4355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4356 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4357 $as_echo "$ac_header_compiler" >&6; }
4359 # Is the header present?
4360 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
4361 $as_echo_n "checking $ac_header presence... " >&6; }
4362 cat >conftest.$ac_ext <<_ACEOF
4365 cat confdefs.h >>conftest.$ac_ext
4366 cat >>conftest.$ac_ext <<_ACEOF
4367 /* end confdefs.h. */
4368 #include <$ac_header>
4370 if { (ac_try="$ac_cpp conftest.$ac_ext"
4372 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4373 *) ac_try_echo
=$ac_try;;
4375 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4376 $as_echo "$ac_try_echo") >&5
4377 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4379 grep -v '^ *+' conftest.er1
>conftest.err
4381 cat conftest.err
>&5
4382 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4383 (exit $ac_status); } >/dev
/null
&& {
4384 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4385 test ! -s conftest.err
4387 ac_header_preproc
=yes
4389 $as_echo "$as_me: failed program was:" >&5
4390 sed 's/^/| /' conftest.
$ac_ext >&5
4392 ac_header_preproc
=no
4395 rm -f conftest.err conftest.
$ac_ext
4396 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4397 $as_echo "$ac_header_preproc" >&6; }
4399 # So? What about this header?
4400 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4402 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4403 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4404 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4405 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4406 ac_header_preproc
=yes
4409 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4410 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4411 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4412 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4413 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4414 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4415 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4416 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4417 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4418 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4419 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4420 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4424 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4425 $as_echo_n "checking for $ac_header... " >&6; }
4426 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4427 $as_echo_n "(cached) " >&6
4429 eval "$as_ac_Header=\$ac_header_preproc"
4431 ac_res
=`eval 'as_val=${'$as_ac_Header'}
4432 $as_echo "$as_val"'`
4433 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4434 $as_echo "$ac_res" >&6; }
4437 as_val
=`eval 'as_val=${'$as_ac_Header'}
4438 $as_echo "$as_val"'`
4439 if test "x$as_val" = x
""yes; then
4440 cat >>confdefs.h
<<_ACEOF
4441 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4450 for ac_header
in fcntl.h fpu_control.h
4452 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4453 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4454 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4455 $as_echo_n "checking for $ac_header... " >&6; }
4456 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4457 $as_echo_n "(cached) " >&6
4459 ac_res
=`eval 'as_val=${'$as_ac_Header'}
4460 $as_echo "$as_val"'`
4461 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4462 $as_echo "$ac_res" >&6; }
4464 # Is the header compilable?
4465 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
4466 $as_echo_n "checking $ac_header usability... " >&6; }
4467 cat >conftest.
$ac_ext <<_ACEOF
4470 cat confdefs.h
>>conftest.
$ac_ext
4471 cat >>conftest.
$ac_ext <<_ACEOF
4472 /* end confdefs.h. */
4473 $ac_includes_default
4474 #include <$ac_header>
4476 rm -f conftest.
$ac_objext
4477 if { (ac_try
="$ac_compile"
4479 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4480 *) ac_try_echo=$ac_try;;
4482 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4483 $as_echo "$ac_try_echo") >&5
4484 (eval "$ac_compile") 2>conftest.er1
4486 grep -v '^ *+' conftest.er1 >conftest.err
4488 cat conftest.err >&5
4489 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4490 (exit $ac_status); } && {
4491 test -z "$ac_c_werror_flag" ||
4492 test ! -s conftest.err
4493 } && test -s conftest.$ac_objext; then
4494 ac_header_compiler=yes
4496 $as_echo "$as_me: failed program was:" >&5
4497 sed 's/^/| /' conftest.$ac_ext >&5
4499 ac_header_compiler=no
4502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4503 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4504 $as_echo "$ac_header_compiler" >&6; }
4506 # Is the header present?
4507 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
4508 $as_echo_n "checking $ac_header presence... " >&6; }
4509 cat >conftest.$ac_ext <<_ACEOF
4512 cat confdefs.h >>conftest.$ac_ext
4513 cat >>conftest.$ac_ext <<_ACEOF
4514 /* end confdefs.h. */
4515 #include <$ac_header>
4517 if { (ac_try="$ac_cpp conftest.$ac_ext"
4519 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4520 *) ac_try_echo
=$ac_try;;
4522 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4523 $as_echo "$ac_try_echo") >&5
4524 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4526 grep -v '^ *+' conftest.er1
>conftest.err
4528 cat conftest.err
>&5
4529 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4530 (exit $ac_status); } >/dev
/null
&& {
4531 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4532 test ! -s conftest.err
4534 ac_header_preproc
=yes
4536 $as_echo "$as_me: failed program was:" >&5
4537 sed 's/^/| /' conftest.
$ac_ext >&5
4539 ac_header_preproc
=no
4542 rm -f conftest.err conftest.
$ac_ext
4543 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4544 $as_echo "$ac_header_preproc" >&6; }
4546 # So? What about this header?
4547 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4549 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4550 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4551 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4552 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4553 ac_header_preproc
=yes
4556 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4557 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4558 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4559 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4560 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4561 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4562 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4563 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4564 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4565 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4566 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4567 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4571 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4572 $as_echo_n "checking for $ac_header... " >&6; }
4573 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4574 $as_echo_n "(cached) " >&6
4576 eval "$as_ac_Header=\$ac_header_preproc"
4578 ac_res
=`eval 'as_val=${'$as_ac_Header'}
4579 $as_echo "$as_val"'`
4580 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4581 $as_echo "$ac_res" >&6; }
4584 as_val
=`eval 'as_val=${'$as_ac_Header'}
4585 $as_echo "$as_val"'`
4586 if test "x$as_val" = x
""yes; then
4587 cat >>confdefs.h
<<_ACEOF
4588 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4598 for ac_header
in dlfcn.h errno.h sys
/stat.h
4600 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4601 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4602 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4603 $as_echo_n "checking for $ac_header... " >&6; }
4604 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4605 $as_echo_n "(cached) " >&6
4607 ac_res
=`eval 'as_val=${'$as_ac_Header'}
4608 $as_echo "$as_val"'`
4609 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4610 $as_echo "$ac_res" >&6; }
4612 # Is the header compilable?
4613 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
4614 $as_echo_n "checking $ac_header usability... " >&6; }
4615 cat >conftest.
$ac_ext <<_ACEOF
4618 cat confdefs.h
>>conftest.
$ac_ext
4619 cat >>conftest.
$ac_ext <<_ACEOF
4620 /* end confdefs.h. */
4621 $ac_includes_default
4622 #include <$ac_header>
4624 rm -f conftest.
$ac_objext
4625 if { (ac_try
="$ac_compile"
4627 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4628 *) ac_try_echo=$ac_try;;
4630 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4631 $as_echo "$ac_try_echo") >&5
4632 (eval "$ac_compile") 2>conftest.er1
4634 grep -v '^ *+' conftest.er1 >conftest.err
4636 cat conftest.err >&5
4637 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4638 (exit $ac_status); } && {
4639 test -z "$ac_c_werror_flag" ||
4640 test ! -s conftest.err
4641 } && test -s conftest.$ac_objext; then
4642 ac_header_compiler=yes
4644 $as_echo "$as_me: failed program was:" >&5
4645 sed 's/^/| /' conftest.$ac_ext >&5
4647 ac_header_compiler=no
4650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4651 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4652 $as_echo "$ac_header_compiler" >&6; }
4654 # Is the header present?
4655 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
4656 $as_echo_n "checking $ac_header presence... " >&6; }
4657 cat >conftest.$ac_ext <<_ACEOF
4660 cat confdefs.h >>conftest.$ac_ext
4661 cat >>conftest.$ac_ext <<_ACEOF
4662 /* end confdefs.h. */
4663 #include <$ac_header>
4665 if { (ac_try="$ac_cpp conftest.$ac_ext"
4667 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4668 *) ac_try_echo
=$ac_try;;
4670 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4671 $as_echo "$ac_try_echo") >&5
4672 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4674 grep -v '^ *+' conftest.er1
>conftest.err
4676 cat conftest.err
>&5
4677 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4678 (exit $ac_status); } >/dev
/null
&& {
4679 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4680 test ! -s conftest.err
4682 ac_header_preproc
=yes
4684 $as_echo "$as_me: failed program was:" >&5
4685 sed 's/^/| /' conftest.
$ac_ext >&5
4687 ac_header_preproc
=no
4690 rm -f conftest.err conftest.
$ac_ext
4691 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4692 $as_echo "$ac_header_preproc" >&6; }
4694 # So? What about this header?
4695 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4697 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4698 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4699 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4700 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4701 ac_header_preproc
=yes
4704 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4705 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4706 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4707 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4708 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4709 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4710 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4711 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4712 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4713 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4714 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4715 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4719 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4720 $as_echo_n "checking for $ac_header... " >&6; }
4721 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4722 $as_echo_n "(cached) " >&6
4724 eval "$as_ac_Header=\$ac_header_preproc"
4726 ac_res
=`eval 'as_val=${'$as_ac_Header'}
4727 $as_echo "$as_val"'`
4728 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4729 $as_echo "$ac_res" >&6; }
4732 as_val
=`eval 'as_val=${'$as_ac_Header'}
4733 $as_echo "$as_val"'`
4734 if test "x$as_val" = x
""yes; then
4735 cat >>confdefs.h
<<_ACEOF
4736 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4747 for ac_func
in getrusage
time sigaction __setfpucw
4749 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4750 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
4751 $as_echo_n "checking for $ac_func... " >&6; }
4752 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
4753 $as_echo_n "(cached) " >&6
4755 cat >conftest.
$ac_ext <<_ACEOF
4758 cat confdefs.h
>>conftest.
$ac_ext
4759 cat >>conftest.
$ac_ext <<_ACEOF
4760 /* end confdefs.h. */
4761 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4762 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4763 #define $ac_func innocuous_$ac_func
4765 /* System header to define __stub macros and hopefully few prototypes,
4766 which can conflict with char $ac_func (); below.
4767 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4768 <limits.h> exists even on freestanding compilers. */
4771 # include <limits.h>
4773 # include <assert.h>
4778 /* Override any GCC internal prototype to avoid an error.
4779 Use char because int might match the return type of a GCC
4780 builtin and then its argument prototype would still apply. */
4785 /* The GNU C library defines this for functions which it implements
4786 to always fail with ENOSYS. Some functions are actually named
4787 something starting with __ and the normal name is an alias. */
4788 #if defined __stub_$ac_func || defined __stub___$ac_func
4800 rm -f conftest.
$ac_objext conftest
$ac_exeext
4801 if { (ac_try
="$ac_link"
4803 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4804 *) ac_try_echo=$ac_try;;
4806 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4807 $as_echo "$ac_try_echo") >&5
4808 (eval "$ac_link") 2>conftest.er1
4810 grep -v '^ *+' conftest.er1 >conftest.err
4812 cat conftest.err >&5
4813 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4814 (exit $ac_status); } && {
4815 test -z "$ac_c_werror_flag" ||
4816 test ! -s conftest.err
4817 } && test -s conftest$ac_exeext && {
4818 test "$cross_compiling" = yes ||
4819 $as_test_x conftest$ac_exeext
4821 eval "$as_ac_var=yes"
4823 $as_echo "$as_me: failed program was:" >&5
4824 sed 's/^/| /' conftest.$ac_ext >&5
4826 eval "$as_ac_var=no"
4829 rm -rf conftest.dSYM
4830 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4831 conftest$ac_exeext conftest.$ac_ext
4833 ac_res=`eval 'as_val=${'$as_ac_var'}
4834 $as_echo "$as_val"'`
4835 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4836 $as_echo "$ac_res" >&6; }
4837 as_val=`eval 'as_val=${'$as_ac_var'}
4838 $as_echo "$as_val"'`
4839 if test "x$as_val" = x""yes; then
4840 cat >>confdefs.h <<_ACEOF
4841 #define `$as_echo "HAVE_$ac_func" |
$as_tr_cpp` 1
4848 # Check for socket libraries
4850 { $as_echo "$as_me:$LINENO: checking for bind in -lsocket" >&5
4851 $as_echo_n "checking for bind in -lsocket... " >&6; }
4852 if test "${ac_cv_lib_socket_bind+set}" = set; then
4853 $as_echo_n "(cached) " >&6
4855 ac_check_lib_save_LIBS=$LIBS
4856 LIBS="-lsocket $LIBS"
4857 cat >conftest.$ac_ext <<_ACEOF
4860 cat confdefs.h >>conftest.$ac_ext
4861 cat >>conftest.$ac_ext <<_ACEOF
4862 /* end confdefs.h. */
4864 /* Override any GCC internal prototype to avoid an error.
4865 Use char because int might match the return type of a GCC
4866 builtin and then its argument prototype would still apply. */
4879 rm -f conftest.$ac_objext conftest$ac_exeext
4880 if { (ac_try="$ac_link"
4882 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4883 *) ac_try_echo
=$ac_try;;
4885 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4886 $as_echo "$ac_try_echo") >&5
4887 (eval "$ac_link") 2>conftest.er1
4889 grep -v '^ *+' conftest.er1
>conftest.err
4891 cat conftest.err
>&5
4892 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4893 (exit $ac_status); } && {
4894 test -z "$ac_c_werror_flag" ||
4895 test ! -s conftest.err
4896 } && test -s conftest
$ac_exeext && {
4897 test "$cross_compiling" = yes ||
4898 $as_test_x conftest
$ac_exeext
4900 ac_cv_lib_socket_bind
=yes
4902 $as_echo "$as_me: failed program was:" >&5
4903 sed 's/^/| /' conftest.
$ac_ext >&5
4905 ac_cv_lib_socket_bind
=no
4908 rm -rf conftest.dSYM
4909 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4910 conftest
$ac_exeext conftest.
$ac_ext
4911 LIBS
=$ac_check_lib_save_LIBS
4913 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_socket_bind" >&5
4914 $as_echo "$ac_cv_lib_socket_bind" >&6; }
4915 if test "x$ac_cv_lib_socket_bind" = x
""yes; then
4916 cat >>confdefs.h
<<_ACEOF
4917 #define HAVE_LIBSOCKET 1
4920 LIBS
="-lsocket $LIBS"
4925 { $as_echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4926 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
4927 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4928 $as_echo_n "(cached) " >&6
4930 ac_check_lib_save_LIBS
=$LIBS
4932 cat >conftest.
$ac_ext <<_ACEOF
4935 cat confdefs.h
>>conftest.
$ac_ext
4936 cat >>conftest.
$ac_ext <<_ACEOF
4937 /* end confdefs.h. */
4939 /* Override any GCC internal prototype to avoid an error.
4940 Use char because int might match the return type of a GCC
4941 builtin and then its argument prototype would still apply. */
4945 char gethostbyname ();
4949 return gethostbyname ();
4954 rm -f conftest.
$ac_objext conftest
$ac_exeext
4955 if { (ac_try
="$ac_link"
4957 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4958 *) ac_try_echo=$ac_try;;
4960 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4961 $as_echo "$ac_try_echo") >&5
4962 (eval "$ac_link") 2>conftest.er1
4964 grep -v '^ *+' conftest.er1 >conftest.err
4966 cat conftest.err >&5
4967 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4968 (exit $ac_status); } && {
4969 test -z "$ac_c_werror_flag" ||
4970 test ! -s conftest.err
4971 } && test -s conftest$ac_exeext && {
4972 test "$cross_compiling" = yes ||
4973 $as_test_x conftest$ac_exeext
4975 ac_cv_lib_nsl_gethostbyname=yes
4977 $as_echo "$as_me: failed program was:" >&5
4978 sed 's/^/| /' conftest.$ac_ext >&5
4980 ac_cv_lib_nsl_gethostbyname=no
4983 rm -rf conftest.dSYM
4984 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4985 conftest$ac_exeext conftest.$ac_ext
4986 LIBS=$ac_check_lib_save_LIBS
4988 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4989 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
4990 if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then
4991 cat >>confdefs.h <<_ACEOF
4992 #define HAVE_LIBNSL 1
5000 # BFD conditionally uses zlib, so we must link it in if libbfd does, by
5001 # using the same condition.
5002 { $as_echo "$as_me:$LINENO: checking for library containing zlibVersion" >&5
5003 $as_echo_n "checking for library containing zlibVersion... " >&6; }
5004 if test "${ac_cv_search_zlibVersion+set}" = set; then
5005 $as_echo_n "(cached) " >&6
5007 ac_func_search_save_LIBS=$LIBS
5008 cat >conftest.$ac_ext <<_ACEOF
5011 cat confdefs.h >>conftest.$ac_ext
5012 cat >>conftest.$ac_ext <<_ACEOF
5013 /* end confdefs.h. */
5015 /* Override any GCC internal prototype to avoid an error.
5016 Use char because int might match the return type of a GCC
5017 builtin and then its argument prototype would still apply. */
5021 char zlibVersion ();
5025 return zlibVersion ();
5030 for ac_lib in '' z; do
5031 if test -z "$ac_lib"; then
5032 ac_res="none required"
5035 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
5037 rm -f conftest.$ac_objext conftest$ac_exeext
5038 if { (ac_try="$ac_link"
5040 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5041 *) ac_try_echo
=$ac_try;;
5043 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5044 $as_echo "$ac_try_echo") >&5
5045 (eval "$ac_link") 2>conftest.er1
5047 grep -v '^ *+' conftest.er1
>conftest.err
5049 cat conftest.err
>&5
5050 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5051 (exit $ac_status); } && {
5052 test -z "$ac_c_werror_flag" ||
5053 test ! -s conftest.err
5054 } && test -s conftest
$ac_exeext && {
5055 test "$cross_compiling" = yes ||
5056 $as_test_x conftest
$ac_exeext
5058 ac_cv_search_zlibVersion
=$ac_res
5060 $as_echo "$as_me: failed program was:" >&5
5061 sed 's/^/| /' conftest.
$ac_ext >&5
5066 rm -rf conftest.dSYM
5067 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5069 if test "${ac_cv_search_zlibVersion+set}" = set; then
5073 if test "${ac_cv_search_zlibVersion+set}" = set; then
5076 ac_cv_search_zlibVersion
=no
5079 LIBS
=$ac_func_search_save_LIBS
5081 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_zlibVersion" >&5
5082 $as_echo "$ac_cv_search_zlibVersion" >&6; }
5083 ac_res
=$ac_cv_search_zlibVersion
5084 if test "$ac_res" != no
; then
5085 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
5087 for ac_header
in zlib.h
5089 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5090 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5091 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5092 $as_echo_n "checking for $ac_header... " >&6; }
5093 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5094 $as_echo_n "(cached) " >&6
5096 ac_res
=`eval 'as_val=${'$as_ac_Header'}
5097 $as_echo "$as_val"'`
5098 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5099 $as_echo "$ac_res" >&6; }
5101 # Is the header compilable?
5102 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5103 $as_echo_n "checking $ac_header usability... " >&6; }
5104 cat >conftest.
$ac_ext <<_ACEOF
5107 cat confdefs.h
>>conftest.
$ac_ext
5108 cat >>conftest.
$ac_ext <<_ACEOF
5109 /* end confdefs.h. */
5110 $ac_includes_default
5111 #include <$ac_header>
5113 rm -f conftest.
$ac_objext
5114 if { (ac_try
="$ac_compile"
5116 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5117 *) ac_try_echo=$ac_try;;
5119 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5120 $as_echo "$ac_try_echo") >&5
5121 (eval "$ac_compile") 2>conftest.er1
5123 grep -v '^ *+' conftest.er1 >conftest.err
5125 cat conftest.err >&5
5126 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5127 (exit $ac_status); } && {
5128 test -z "$ac_c_werror_flag" ||
5129 test ! -s conftest.err
5130 } && test -s conftest.$ac_objext; then
5131 ac_header_compiler=yes
5133 $as_echo "$as_me: failed program was:" >&5
5134 sed 's/^/| /' conftest.$ac_ext >&5
5136 ac_header_compiler=no
5139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5140 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5141 $as_echo "$ac_header_compiler" >&6; }
5143 # Is the header present?
5144 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5145 $as_echo_n "checking $ac_header presence... " >&6; }
5146 cat >conftest.$ac_ext <<_ACEOF
5149 cat confdefs.h >>conftest.$ac_ext
5150 cat >>conftest.$ac_ext <<_ACEOF
5151 /* end confdefs.h. */
5152 #include <$ac_header>
5154 if { (ac_try="$ac_cpp conftest.$ac_ext"
5156 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5157 *) ac_try_echo
=$ac_try;;
5159 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5160 $as_echo "$ac_try_echo") >&5
5161 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5163 grep -v '^ *+' conftest.er1
>conftest.err
5165 cat conftest.err
>&5
5166 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5167 (exit $ac_status); } >/dev
/null
&& {
5168 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5169 test ! -s conftest.err
5171 ac_header_preproc
=yes
5173 $as_echo "$as_me: failed program was:" >&5
5174 sed 's/^/| /' conftest.
$ac_ext >&5
5176 ac_header_preproc
=no
5179 rm -f conftest.err conftest.
$ac_ext
5180 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5181 $as_echo "$ac_header_preproc" >&6; }
5183 # So? What about this header?
5184 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5186 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5187 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5188 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5189 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5190 ac_header_preproc
=yes
5193 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5194 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5195 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5196 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5197 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5198 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5199 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5200 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5201 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5202 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5203 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5204 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5208 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5209 $as_echo_n "checking for $ac_header... " >&6; }
5210 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5211 $as_echo_n "(cached) " >&6
5213 eval "$as_ac_Header=\$ac_header_preproc"
5215 ac_res
=`eval 'as_val=${'$as_ac_Header'}
5216 $as_echo "$as_val"'`
5217 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5218 $as_echo "$ac_res" >&6; }
5221 as_val
=`eval 'as_val=${'$as_ac_Header'}
5222 $as_echo "$as_val"'`
5223 if test "x$as_val" = x
""yes; then
5224 cat >>confdefs.h
<<_ACEOF
5225 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5235 .
${srcdir}/..
/..
/bfd
/configure.
host
5239 USE_MAINTAINER_MODE
=no
5240 # Check whether --enable-maintainer-mode was given.
5241 if test "${enable_maintainer_mode+set}" = set; then
5242 enableval
=$enable_maintainer_mode; case "${enableval}" in
5243 yes) MAINT
="" USE_MAINTAINER_MODE
=yes ;;
5245 *) { { $as_echo "$as_me:$LINENO: error: \"--enable-maintainer-mode does not take a value\"" >&5
5246 $as_echo "$as_me: error: \"--enable-maintainer-mode does not take a value\"" >&2;}
5247 { (exit 1); exit 1; }; }; MAINT
="#" ;;
5249 if test x
"$silent" != x
"yes" && test x
"$MAINT" = x
""; then
5250 echo "Setting maintainer mode" 6>&1
5258 # Check whether --enable-sim-bswap was given.
5259 if test "${enable_sim_bswap+set}" = set; then
5260 enableval
=$enable_sim_bswap; case "${enableval}" in
5261 yes) sim_bswap
="-DWITH_BSWAP=1 -DUSE_BSWAP=1";;
5262 no
) sim_bswap
="-DWITH_BSWAP=0";;
5263 *) { { $as_echo "$as_me:$LINENO: error: \"--enable-sim-bswap does not take a value\"" >&5
5264 $as_echo "$as_me: error: \"--enable-sim-bswap does not take a value\"" >&2;}
5265 { (exit 1); exit 1; }; }; sim_bswap
="";;
5267 if test x
"$silent" != x
"yes" && test x
"$sim_bswap" != x
""; then
5268 echo "Setting bswap flags = $sim_bswap" 6>&1
5276 # Check whether --enable-sim-cflags was given.
5277 if test "${enable_sim_cflags+set}" = set; then
5278 enableval
=$enable_sim_cflags; case "${enableval}" in
5279 yes) sim_cflags
="-O2 -fomit-frame-pointer";;
5280 trace
) { { $as_echo "$as_me:$LINENO: error: \"Please use --enable-sim-debug instead.\"" >&5
5281 $as_echo "$as_me: error: \"Please use --enable-sim-debug instead.\"" >&2;}
5282 { (exit 1); exit 1; }; }; sim_cflags
="";;
5284 *) sim_cflags
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
5286 if test x
"$silent" != x
"yes" && test x
"$sim_cflags" != x
""; then
5287 echo "Setting sim cflags = $sim_cflags" 6>&1
5295 # Check whether --enable-sim-debug was given.
5296 if test "${enable_sim_debug+set}" = set; then
5297 enableval
=$enable_sim_debug; case "${enableval}" in
5298 yes) sim_debug
="-DDEBUG=7 -DWITH_DEBUG=7";;
5299 no
) sim_debug
="-DDEBUG=0 -DWITH_DEBUG=0";;
5300 *) sim_debug
="-DDEBUG='(${enableval})' -DWITH_DEBUG='(${enableval})'";;
5302 if test x
"$silent" != x
"yes" && test x
"$sim_debug" != x
""; then
5303 echo "Setting sim debug = $sim_debug" 6>&1
5311 # Check whether --enable-sim-stdio was given.
5312 if test "${enable_sim_stdio+set}" = set; then
5313 enableval
=$enable_sim_stdio; case "${enableval}" in
5314 yes) sim_stdio
="-DWITH_STDIO=DO_USE_STDIO";;
5315 no
) sim_stdio
="-DWITH_STDIO=DONT_USE_STDIO";;
5316 *) { { $as_echo "$as_me:$LINENO: error: \"Unknown value $enableval passed to --enable-sim-stdio\"" >&5
5317 $as_echo "$as_me: error: \"Unknown value $enableval passed to --enable-sim-stdio\"" >&2;}
5318 { (exit 1); exit 1; }; }; sim_stdio
="";;
5320 if test x
"$silent" != x
"yes" && test x
"$sim_stdio" != x
""; then
5321 echo "Setting stdio flags = $sim_stdio" 6>&1
5329 # Check whether --enable-sim-trace was given.
5330 if test "${enable_sim_trace+set}" = set; then
5331 enableval
=$enable_sim_trace; case "${enableval}" in
5332 yes) sim_trace
="-DTRACE=1 -DWITH_TRACE=-1";;
5333 no
) sim_trace
="-DTRACE=0 -DWITH_TRACE=0";;
5335 sim_trace
="-DTRACE='(${enableval})' -DWITH_TRACE='(${enableval})'";;
5338 for x
in `echo "$enableval" | sed -e "s/,/ /g"`; do
5339 if test x
"$sim_trace" = x
; then
5340 sim_trace
="-DWITH_TRACE='(TRACE_$x"
5342 sim_trace
="${sim_trace}|TRACE_$x"
5345 sim_trace
="$sim_trace)'" ;;
5347 if test x
"$silent" != x
"yes" && test x
"$sim_trace" != x
""; then
5348 echo "Setting sim trace = $sim_trace" 6>&1
5356 # Check whether --enable-sim-profile was given.
5357 if test "${enable_sim_profile+set}" = set; then
5358 enableval
=$enable_sim_profile; case "${enableval}" in
5359 yes) sim_profile
="-DPROFILE=1 -DWITH_PROFILE=-1";;
5360 no
) sim_profile
="-DPROFILE=0 -DWITH_PROFILE=0";;
5362 sim_profile
="-DPROFILE='(${enableval})' -DWITH_PROFILE='(${enableval})'";;
5365 for x
in `echo "$enableval" | sed -e "s/,/ /g"`; do
5366 if test x
"$sim_profile" = x
; then
5367 sim_profile
="-DWITH_PROFILE='(PROFILE_$x"
5369 sim_profile
="${sim_profile}|PROFILE_$x"
5372 sim_profile
="$sim_profile)'" ;;
5374 if test x
"$silent" != x
"yes" && test x
"$sim_profile" != x
""; then
5375 echo "Setting sim profile = $sim_profile" 6>&1
5378 sim_profile
="-DPROFILE=1 -DWITH_PROFILE=-1"
5384 # Check whether --with-pkgversion was given.
5385 if test "${with_pkgversion+set}" = set; then
5386 withval
=$with_pkgversion; case "$withval" in
5387 yes) { { $as_echo "$as_me:$LINENO: error: package version not specified" >&5
5388 $as_echo "$as_me: error: package version not specified" >&2;}
5389 { (exit 1); exit 1; }; } ;;
5391 *) PKGVERSION
="($withval) " ;;
5402 # Check whether --with-bugurl was given.
5403 if test "${with_bugurl+set}" = set; then
5404 withval
=$with_bugurl; case "$withval" in
5405 yes) { { $as_echo "$as_me:$LINENO: error: bug URL not specified" >&5
5406 $as_echo "$as_me: error: bug URL not specified" >&2;}
5407 { (exit 1); exit 1; }; } ;;
5410 *) BUGURL
="$withval"
5414 BUGURL
="http://www.gnu.org/software/gdb/bugs/"
5424 REPORT_BUGS_TO
="<$BUGURL>"
5425 REPORT_BUGS_TEXI
=@uref
{`echo "$BUGURL" | sed 's/@/@@/g'`}
5432 cat >>confdefs.h
<<_ACEOF
5433 #define PKGVERSION "$PKGVERSION"
5437 cat >>confdefs.h
<<_ACEOF
5438 #define REPORT_BUGS_TO "$REPORT_BUGS_TO"
5442 { $as_echo "$as_me:$LINENO: checking return type of signal handlers" >&5
5443 $as_echo_n "checking return type of signal handlers... " >&6; }
5444 if test "${ac_cv_type_signal+set}" = set; then
5445 $as_echo_n "(cached) " >&6
5447 cat >conftest.
$ac_ext <<_ACEOF
5450 cat confdefs.h
>>conftest.
$ac_ext
5451 cat >>conftest.
$ac_ext <<_ACEOF
5452 /* end confdefs.h. */
5453 #include <sys/types.h>
5459 return *(signal (0, 0)) (0) == 1;
5464 rm -f conftest.
$ac_objext
5465 if { (ac_try
="$ac_compile"
5467 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5468 *) ac_try_echo=$ac_try;;
5470 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5471 $as_echo "$ac_try_echo") >&5
5472 (eval "$ac_compile") 2>conftest.er1
5474 grep -v '^ *+' conftest.er1 >conftest.err
5476 cat conftest.err >&5
5477 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5478 (exit $ac_status); } && {
5479 test -z "$ac_c_werror_flag" ||
5480 test ! -s conftest.err
5481 } && test -s conftest.$ac_objext; then
5482 ac_cv_type_signal=int
5484 $as_echo "$as_me: failed program was:" >&5
5485 sed 's/^/| /' conftest.$ac_ext >&5
5487 ac_cv_type_signal=void
5490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5492 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
5493 $as_echo "$ac_cv_type_signal" >&6; }
5495 cat >>confdefs.h <<_ACEOF
5496 #define RETSIGTYPE $ac_cv_type_signal
5506 sim_link_links=tconfig.h
5507 if test -f ${srcdir}/tconfig.in
5509 sim_link_files=tconfig.in
5511 sim_link_files=../common/tconfig.in
5514 # targ-vals.def points to the libc macro description file.
5516 *-*-*) TARG_VALS_DEF=../common/nltvals.def ;;
5518 sim_link_files="${sim_link_files} ${TARG_VALS_DEF}"
5519 sim_link_links="${sim_link_links} targ-vals.def"
5523 for ac_header in unistd.h
5525 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5526 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5527 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5528 $as_echo_n "checking for $ac_header... " >&6; }
5529 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5530 $as_echo_n "(cached) " >&6
5532 ac_res=`eval 'as_val=${'$as_ac_Header'}
5533 $as_echo "$as_val"'`
5534 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5535 $as_echo "$ac_res" >&6; }
5537 # Is the header compilable?
5538 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5539 $as_echo_n "checking $ac_header usability... " >&6; }
5540 cat >conftest.$ac_ext <<_ACEOF
5543 cat confdefs.h >>conftest.$ac_ext
5544 cat >>conftest.$ac_ext <<_ACEOF
5545 /* end confdefs.h. */
5546 $ac_includes_default
5547 #include <$ac_header>
5549 rm -f conftest.$ac_objext
5550 if { (ac_try="$ac_compile"
5552 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5553 *) ac_try_echo
=$ac_try;;
5555 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5556 $as_echo "$ac_try_echo") >&5
5557 (eval "$ac_compile") 2>conftest.er1
5559 grep -v '^ *+' conftest.er1
>conftest.err
5561 cat conftest.err
>&5
5562 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5563 (exit $ac_status); } && {
5564 test -z "$ac_c_werror_flag" ||
5565 test ! -s conftest.err
5566 } && test -s conftest.
$ac_objext; then
5567 ac_header_compiler
=yes
5569 $as_echo "$as_me: failed program was:" >&5
5570 sed 's/^/| /' conftest.
$ac_ext >&5
5572 ac_header_compiler
=no
5575 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5576 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5577 $as_echo "$ac_header_compiler" >&6; }
5579 # Is the header present?
5580 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5581 $as_echo_n "checking $ac_header presence... " >&6; }
5582 cat >conftest.
$ac_ext <<_ACEOF
5585 cat confdefs.h
>>conftest.
$ac_ext
5586 cat >>conftest.
$ac_ext <<_ACEOF
5587 /* end confdefs.h. */
5588 #include <$ac_header>
5590 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5592 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5593 *) ac_try_echo=$ac_try;;
5595 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5596 $as_echo "$ac_try_echo") >&5
5597 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5599 grep -v '^ *+' conftest.er1 >conftest.err
5601 cat conftest.err >&5
5602 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5603 (exit $ac_status); } >/dev/null && {
5604 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5605 test ! -s conftest.err
5607 ac_header_preproc=yes
5609 $as_echo "$as_me: failed program was:" >&5
5610 sed 's/^/| /' conftest.$ac_ext >&5
5612 ac_header_preproc=no
5615 rm -f conftest.err conftest.$ac_ext
5616 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5617 $as_echo "$ac_header_preproc" >&6; }
5619 # So? What about this header?
5620 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5622 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5623 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5624 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5625 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5626 ac_header_preproc=yes
5629 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5630 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5631 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5632 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5633 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5634 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5635 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5636 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5637 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5638 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5639 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5640 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5644 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5645 $as_echo_n "checking for $ac_header... " >&6; }
5646 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5647 $as_echo_n "(cached) " >&6
5649 eval "$as_ac_Header=\$ac_header_preproc"
5651 ac_res=`eval 'as_val=${'$as_ac_Header'}
5652 $as_echo "$as_val"'`
5653 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5654 $as_echo "$ac_res" >&6; }
5657 as_val=`eval 'as_val=${'$as_ac_Header'}
5658 $as_echo "$as_val"'`
5659 if test "x$as_val" = x""yes; then
5660 cat >>confdefs.h <<_ACEOF
5661 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5670 ac_sources="$sim_link_files"
5671 ac_dests="$sim_link_links"
5672 while test -n "$ac_sources"; do
5673 set $ac_dests; ac_dest=$1; shift; ac_dests=$*
5674 set $ac_sources; ac_source=$1; shift; ac_sources=$*
5675 ac_config_links_1="$ac_config_links_1 $ac_dest:$ac_source"
5677 ac_config_links="$ac_config_links $ac_config_links_1"
5680 if grep CGEN_MAINT $srcdir/Makefile.in >/dev/null; then
5681 cgen_breaks="break cgen_rtx_error";
5684 ac_config_files="$ac_config_files Makefile.sim:Makefile.in"
5686 ac_config_files="$ac_config_files Make-common.sim:../common/Make-common.in"
5688 ac_config_files="$ac_config_files .gdbinit:../common/gdbinit.in"
5690 ac_config_commands="$ac_config_commands Makefile"
5692 ac_config_commands="$ac_config_commands stamp-h"
5694 cat >confcache <<\_ACEOF
5695 # This file is a shell script that caches the results of configure
5696 # tests run on this system so they can be shared between configure
5697 # scripts and configure runs, see configure's option --config-cache.
5698 # It is not useful on other systems. If it contains results you don't
5699 # want to keep, you may remove or edit it.
5701 # config.status only pays attention to the cache file if you give it
5702 # the --recheck option to rerun configure.
5704 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
5705 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5710 # The following way of writing the cache mishandles newlines in values,
5711 # but we know of no workaround that is simple, portable, and efficient.
5712 # So, we kill variables containing newlines.
5713 # Ultrix sh set writes to stderr and can't be redirected directly,
5714 # and sets the high bit in the cache file unless we assign to the vars.
5716 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5717 eval ac_val
=\$
$ac_var
5721 *_cv_
*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
5722 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5725 _ | IFS | as_nl
) ;; #(
5726 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
5727 *) $as_unset $ac_var ;;
5733 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5734 *${as_nl}ac_space
=\
*)
5735 # `set' does not quote correctly, so add quotes (double-quote
5736 # substitution turns \\\\ into \\, and sed turns \\ into \).
5739 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5742 # `set' quotes correctly as required by POSIX, so do not add quotes.
5743 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5752 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5754 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5756 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
5757 if test -w "$cache_file"; then
5758 test "x$cache_file" != "x/dev/null" &&
5759 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
5760 $as_echo "$as_me: updating cache $cache_file" >&6;}
5761 cat confcache
>$cache_file
5763 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
5764 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5769 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
5770 # Let make expand exec_prefix.
5771 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
5773 DEFS
=-DHAVE_CONFIG_H
5777 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
5778 # 1. Remove the extension, and $U if already installed.
5779 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
5780 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
5781 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5782 # will be set to the directory where LIBOBJS objects are built.
5783 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5784 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
5788 LTLIBOBJS
=$ac_ltlibobjs
5792 : ${CONFIG_STATUS=./config.status}
5794 ac_clean_files_save
=$ac_clean_files
5795 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
5796 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5797 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5798 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5800 # Generated by $as_me.
5801 # Run this file to recreate the current configuration.
5802 # Compiler output produced by configure, useful for debugging
5803 # configure, is in config.log if it exists.
5808 SHELL=\${CONFIG_SHELL-$SHELL}
5811 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5812 ## --------------------- ##
5813 ## M4sh Initialization. ##
5814 ## --------------------- ##
5816 # Be more Bourne compatible
5817 DUALCASE
=1; export DUALCASE
# for MKS sh
5818 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
5821 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5822 # is contrary to our usage. Disable this feature.
5823 alias -g '${1+"$@"}'='"$@"'
5824 setopt NO_GLOB_SUBST
5826 case `(set -o) 2>/dev/null` in
5827 *posix
*) set -o posix
;;
5836 # Avoid depending upon Character Ranges.
5837 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
5838 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5839 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
5840 as_cr_digits
='0123456789'
5841 as_cr_alnum
=$as_cr_Letters$as_cr_digits
5846 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5847 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5848 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5849 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5850 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5851 as_echo='printf %s
\n'
5852 as_echo_n='printf %s
'
5854 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5855 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
5856 as_echo_n='/usr
/ucb
/echo -n'
5858 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5859 as_echo_n_body='eval
5863 expr "X$arg" : "X\\(.*\\)$as_nl";
5864 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5866 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
5868 export as_echo_n_body
5869 as_echo_n='sh
-c $as_echo_n_body as_echo
'
5872 as_echo='sh
-c $as_echo_body as_echo
'
5875 # The user is always right.
5876 if test "${PATH_SEPARATOR+set}" != set; then
5878 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5879 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5884 # Support unset when possible.
5885 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5893 # We need space, tab and new line, in precisely that order. Quoting is
5894 # there to prevent editors from complaining about space-tab.
5895 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5896 # splitting by setting IFS to empty value.)
5899 # Find who we are. Look in the path if we contain no directory separator.
5901 *[\\/]* ) as_myself=$0 ;;
5902 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5906 test -z "$as_dir" && as_dir=.
5907 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5913 # We did not find ourselves, most probably we were run as `sh COMMAND'
5914 # in which case we are not to be found in the path.
5915 if test "x$as_myself" = x
; then
5918 if test ! -f "$as_myself"; then
5919 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5920 { (exit 1); exit 1; }
5923 # Work around bugs in pre-3.0 UWIN ksh.
5924 for as_var
in ENV MAIL MAILPATH
5925 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
5937 # Required to use basename.
5938 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
5939 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
5945 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5946 as_basename
=basename
5952 # Name of the executable.
5953 as_me
=`$as_basename -- "$0" ||
5954 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5955 X"$0" : 'X\(//\)$' \| \
5956 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5958 sed '/^.*\/\([^/][^/]*\)\/*$/{
5979 test "x$as_lineno_1" != "x$as_lineno_2" &&
5980 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
5982 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5983 # uniformly replaced by the line number. The first 'sed' inserts a
5984 # line-number line after each line using $LINENO; the second 'sed'
5985 # does the real work. The second script uses 'N' to pair each
5986 # line-number line with the line containing $LINENO, and appends
5987 # trailing '-' during substitution so that $LINENO is not a special
5989 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5990 # scripts with optimization help from Paolo Bonzini. Blame Lee
5991 # E. McMahon (1931-1989) for sed's syntax. :-)
6003 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
6007 chmod +x
"$as_me.lineno" ||
6008 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
6009 { (exit 1); exit 1; }; }
6011 # Don't try to exec as it changes $[0], causing all sort of problems
6012 # (the dirname of $[0] is not the place where we might find the
6013 # original and so on. Autoconf is especially sensitive to this).
6015 # Exit status is that of the last command.
6020 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
6026 ECHO_C
= ECHO_N
= ECHO_T
=
6029 case `echo 'x\c'` in
6030 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
6036 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
6037 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
6043 rm -f conf$$ conf$$.exe conf$$.
file
6044 if test -d conf$$.dir
; then
6045 rm -f conf$$.dir
/conf$$.
file
6048 mkdir conf$$.dir
2>/dev
/null
6050 if (echo >conf$$.
file) 2>/dev
/null
; then
6051 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
6053 # ... but there are two gotchas:
6054 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6055 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6056 # In both cases, we have to default to `cp -p'.
6057 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
6059 elif ln conf$$.
file conf$$
2>/dev
/null
; then
6067 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
6068 rmdir conf$$.dir
2>/dev
/null
6070 if mkdir
-p .
2>/dev
/null
; then
6073 test -d .
/-p && rmdir .
/-p
6077 if test -x / >/dev
/null
2>&1; then
6080 if ls -dL / >/dev
/null
2>&1; then
6087 if test -d "$1"; then
6093 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
6094 ???[sx]*):;;*)false;;esac;fi
6098 as_executable_p
=$as_test_x
6100 # Sed expression to map a string onto a valid CPP name.
6101 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6103 # Sed expression to map a string onto a valid variable name.
6104 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6109 # Save the log message, to keep $[0] and so on meaningful, and to
6110 # report actual input values of CONFIG_FILES etc. instead of their
6111 # values after options handling.
6113 This file was extended by $as_me, which was
6114 generated by GNU Autoconf 2.63. Invocation command line was
6116 CONFIG_FILES = $CONFIG_FILES
6117 CONFIG_HEADERS = $CONFIG_HEADERS
6118 CONFIG_LINKS = $CONFIG_LINKS
6119 CONFIG_COMMANDS = $CONFIG_COMMANDS
6122 on `(hostname || uname -n) 2>/dev/null | sed 1q`
6127 case $ac_config_files in *"
6128 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
6131 case $ac_config_headers in *"
6132 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
6136 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6137 # Files that config.status was made for.
6138 config_files="$ac_config_files"
6139 config_headers="$ac_config_headers"
6140 config_links="$ac_config_links"
6141 config_commands="$ac_config_commands"
6145 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6147 \`$as_me' instantiates files from templates according to the
6148 current configuration.
6150 Usage: $0 [OPTION]... [FILE]...
6152 -h, --help print this help, then exit
6153 -V, --version print version number and configuration settings, then exit
6154 -q, --quiet, --silent
6155 do not print progress messages
6156 -d, --debug don't remove temporary files
6157 --recheck update $as_me by reconfiguring in the same conditions
6158 --file=FILE[:TEMPLATE]
6159 instantiate the configuration file FILE
6160 --header=FILE[:TEMPLATE]
6161 instantiate the configuration header FILE
6163 Configuration files:
6166 Configuration headers:
6169 Configuration links:
6172 Configuration commands:
6175 Report bugs to <bug-autoconf@gnu.org>."
6178 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6181 configured by $0, generated by GNU Autoconf 2.63,
6182 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
6184 Copyright (C) 2008 Free Software Foundation, Inc.
6185 This config.status script is free software; the Free Software Foundation
6186 gives unlimited permission to copy, distribute and modify it."
6191 test -n "\$AWK" || AWK=awk
6194 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6195 # The default lists apply if the user does not specify any file.
6201 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
6202 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
6213 # Handling of the options.
6214 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
6216 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
6217 $as_echo "$ac_cs_version"; exit ;;
6218 --debug |
--debu |
--deb |
--de |
--d |
-d )
6220 --file |
--fil |
--fi |
--f )
6223 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6225 CONFIG_FILES
="$CONFIG_FILES '$ac_optarg'"
6226 ac_need_defaults
=false
;;
6227 --header |
--heade |
--head |
--hea )
6230 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6232 CONFIG_HEADERS
="$CONFIG_HEADERS '$ac_optarg'"
6233 ac_need_defaults
=false
;;
6235 # Conflict between --help and --header
6236 { $as_echo "$as_me: error: ambiguous option: $1
6237 Try \`$0 --help' for more information." >&2
6238 { (exit 1); exit 1; }; };;
6239 --help |
--hel |
-h )
6240 $as_echo "$ac_cs_usage"; exit ;;
6241 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
6242 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
6246 -*) { $as_echo "$as_me: error: unrecognized option: $1
6247 Try \`$0 --help' for more information." >&2
6248 { (exit 1); exit 1; }; } ;;
6250 *) ac_config_targets
="$ac_config_targets $1"
6251 ac_need_defaults
=false
;;
6257 ac_configure_extra_args
=
6259 if $ac_cs_silent; then
6261 ac_configure_extra_args
="$ac_configure_extra_args --silent"
6265 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6266 if \$ac_cs_recheck; then
6267 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6269 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6270 CONFIG_SHELL='$SHELL'
6276 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6280 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6281 ## Running $as_me. ##
6287 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6290 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6292 # Handling of arguments.
6293 for ac_config_target
in $ac_config_targets
6295 case $ac_config_target in
6296 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
6297 "$ac_config_links_1") CONFIG_LINKS
="$CONFIG_LINKS $ac_config_links_1" ;;
6298 "Makefile.sim") CONFIG_FILES
="$CONFIG_FILES Makefile.sim:Makefile.in" ;;
6299 "Make-common.sim") CONFIG_FILES
="$CONFIG_FILES Make-common.sim:../common/Make-common.in" ;;
6300 ".gdbinit") CONFIG_FILES
="$CONFIG_FILES .gdbinit:../common/gdbinit.in" ;;
6301 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
6302 "stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS stamp-h" ;;
6304 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
6305 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
6306 { (exit 1); exit 1; }; };;
6311 # If the user did not use the arguments to specify the items to instantiate,
6312 # then the envvar interface is used. Set only those that are not.
6313 # We use the long form for the default assignment because of an extremely
6314 # bizarre bug on SunOS 4.1.3.
6315 if $ac_need_defaults; then
6316 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
6317 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
6318 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
6319 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
6322 # Have a temporary directory for convenience. Make it in the build tree
6323 # simply because there is no reason against having it here, and in addition,
6324 # creating and moving files from /tmp can sometimes cause problems.
6325 # Hook for its removal unless debugging.
6326 # Note that there is a small window in which the directory will not be cleaned:
6327 # after its creation but before its name has been assigned to `$tmp'.
6331 trap 'exit_status=$?
6332 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
6334 trap '{ (exit 1); exit 1; }' 1 2 13 15
6336 # Create a (secure) tmp directory for tmp files.
6339 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6340 test -n "$tmp" && test -d "$tmp"
6343 tmp
=.
/conf$$
-$RANDOM
6344 (umask 077 && mkdir
"$tmp")
6347 $as_echo "$as_me: cannot create a temporary directory in ." >&2
6348 { (exit 1); exit 1; }
6351 # Set up the scripts for CONFIG_FILES section.
6352 # No need to generate them if there are no CONFIG_FILES.
6353 # This happens for instance with `./config.status config.h'.
6354 if test -n "$CONFIG_FILES"; then
6358 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6359 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6365 echo 'BEGIN {' >"$tmp/subs1.awk" &&
6370 echo "cat >conf$$subs.awk <<_ACEOF" &&
6371 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6374 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
6375 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
6376 { (exit 1); exit 1; }; }
6377 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
6379 for ac_last_try in false false false false false :; do
6380 . ./conf$$subs.sh ||
6381 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
6382 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
6383 { (exit 1); exit 1; }; }
6385 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
6386 if test $ac_delim_n = $ac_delim_num; then
6388 elif $ac_last_try; then
6389 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
6390 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
6391 { (exit 1); exit 1; }; }
6393 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
6398 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6399 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
6403 s/^/S["/; s
/!.
*/"]=/
6413 s/\(.\{148\}\).*/\1/
6415 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
6420 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
6427 s/\(.\{148\}\).*/\1/
6429 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
6433 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
6438 ' <conf$$subs.awk | sed '
6443 ' >>$CONFIG_STATUS || ac_write_fail=1
6444 rm -f conf$$subs.awk
6445 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6447 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
6448 for (key in S) S_is_set[key] = 1
6454 nfields = split(line, field, "@
")
6456 len = length(field[1])
6457 for (i = 2; i < nfields; i++) {
6459 keylen = length(key)
6460 if (S_is_set[key]) {
6462 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6463 len += length(value) + length(field[++i])
6474 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6475 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6476 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
6479 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
6480 || { { $as_echo "$as_me:$LINENO: error
: could not setup config files machinery
" >&5
6481 $as_echo "$as_me: error
: could not setup config files machinery
" >&2;}
6482 { (exit 1); exit 1; }; }
6485 # VPATH may cause trouble with some makes, so we remove $(srcdir),
6486 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
6487 # trailing colons and then remove the whole line if VPATH becomes empty
6488 # (actually we leave an empty line to preserve line numbers).
6489 if test "x
$srcdir" = x.; then
6490 ac_vpsub='/^[ ]*VPATH[ ]*=/{
6494 s/^\([^=]*=[ ]*\):*/\1/
6500 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6501 fi # test -n "$CONFIG_FILES"
6503 # Set up the scripts for CONFIG_HEADERS section.
6504 # No need to generate them if there are no CONFIG_HEADERS.
6505 # This happens for instance with `./config.status Makefile'.
6506 if test -n "$CONFIG_HEADERS"; then
6507 cat >"$tmp/defines.
awk" <<\_ACAWK ||
6511 # Transform confdefs.h into an awk script `defines.awk', embedded as
6512 # here-document in config.status, that substitutes the proper values into
6513 # config.h.in to produce config.h.
6515 # Create a delimiter string that does not exist in confdefs.h, to ease
6516 # handling of long lines.
6518 for ac_last_try in false false :; do
6519 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
6520 if test -z "$ac_t"; then
6522 elif $ac_last_try; then
6523 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_HEADERS" >&5
6524 $as_echo "$as_me: error
: could not
make $CONFIG_HEADERS" >&2;}
6525 { (exit 1); exit 1; }; }
6527 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
6531 # For the awk script, D is an array of macro values keyed by name,
6532 # likewise P contains macro parameters if any. Preserve backslash
6533 # newline sequences.
6535 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6537 s/.\{148\}/&'"$ac_delim"'/g
6540 s/^[ ]*#[ ]*define[ ][ ]*/ /
6547 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
6549 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
6553 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
6554 D["\
1"]=" \
3\\\\\\n
"\\/p
6556 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
6561 s/.\{148\}/&'"$ac_delim"'/g
6566 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
6569 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
6571 ' <confdefs.h | sed '
6572 s/'"$ac_delim"'/"\\\
6573 "/g' >>$CONFIG_STATUS || ac_write_fail=1
6575 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6576 for (key in D) D_is_set[key] = 1
6579 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6581 split(line, arg, " ")
6582 if (arg[1] == "#") {
6586 defundef
= substr
(arg
[1], 2)
6589 split(mac1
, mac2
, "(") #)
6591 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
6592 if (D_is_set
[macro
]) {
6593 # Preserve the white space surrounding the "#".
6594 print prefix
"define", macro P
[macro
] D
[macro
]
6597 # Replace #undef with comments. This is necessary, for example,
6598 # in the case of _POSIX_SOURCE, which is predefined and required
6599 # on some systems where configure will not decide to define it.
6600 if (defundef
== "undef") {
6601 print
"/*", prefix defundef
, macro
, "*/"
6609 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6610 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
6611 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
6612 { (exit 1); exit 1; }; }
6613 fi # test -n "$CONFIG_HEADERS"
6616 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
6621 :[FHLC
]) ac_mode
=$ac_tag; continue;;
6623 case $ac_mode$ac_tag in
6625 :L
* |
:C
*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
6626 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
6627 { (exit 1); exit 1; }; };;
6628 :[FH
]-) ac_tag
=-:-;;
6629 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
6646 -) ac_f
="$tmp/stdin";;
6647 *) # Look for the file first in the build tree, then in the source tree
6648 # (if the path is not absolute). The absolute path cannot be DOS-style,
6649 # because $ac_f cannot contain `:'.
6653 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
6655 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
6656 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
6657 { (exit 1); exit 1; }; };;
6659 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6660 ac_file_inputs
="$ac_file_inputs '$ac_f'"
6663 # Let's still pretend it is `configure' which instantiates (i.e., don't
6664 # use $as_me), people would be surprised to read:
6665 # /* config.h. Generated by config.status. */
6666 configure_input
='Generated from '`
6667 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6669 if test x
"$ac_file" != x-
; then
6670 configure_input
="$ac_file. $configure_input"
6671 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
6672 $as_echo "$as_me: creating $ac_file" >&6;}
6674 # Neutralize special characters interpreted by sed in replacement strings.
6675 case $configure_input in #(
6676 *\
&* |
*\|
* |
*\\* )
6677 ac_sed_conf_input
=`$as_echo "$configure_input" |
6678 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6679 *) ac_sed_conf_input
=$configure_input;;
6683 *:-:* |
*:-) cat >"$tmp/stdin" \
6684 ||
{ { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6685 $as_echo "$as_me: error: could not create $ac_file" >&2;}
6686 { (exit 1); exit 1; }; } ;;
6691 ac_dir
=`$as_dirname -- "$ac_file" ||
6692 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6693 X"$ac_file" : 'X\(//\)[^/]' \| \
6694 X"$ac_file" : 'X\(//\)$' \| \
6695 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6696 $as_echo X"$ac_file" |
6697 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6716 -*) as_dir
=.
/$as_dir;;
6718 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
6722 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6723 *) as_qdir
=$as_dir;;
6725 as_dirs
="'$as_qdir' $as_dirs"
6726 as_dir
=`$as_dirname -- "$as_dir" ||
6727 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6728 X"$as_dir" : 'X\(//\)[^/]' \| \
6729 X"$as_dir" : 'X\(//\)$' \| \
6730 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6731 $as_echo X"$as_dir" |
6732 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6749 test -d "$as_dir" && break
6751 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
6752 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
6753 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
6754 { (exit 1); exit 1; }; }; }
6758 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
6760 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6761 # A ".." for each directory in $ac_dir_suffix.
6762 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6763 case $ac_top_builddir_sub in
6764 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
6765 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
6768 ac_abs_top_builddir
=$ac_pwd
6769 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
6770 # for backward compatibility:
6771 ac_top_builddir
=$ac_top_build_prefix
6774 .
) # We are building in place.
6776 ac_top_srcdir
=$ac_top_builddir_sub
6777 ac_abs_top_srcdir
=$ac_pwd ;;
6778 [\\/]* | ?
:[\\/]* ) # Absolute name.
6779 ac_srcdir
=$srcdir$ac_dir_suffix;
6780 ac_top_srcdir
=$srcdir
6781 ac_abs_top_srcdir
=$srcdir ;;
6783 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
6784 ac_top_srcdir
=$ac_top_build_prefix$srcdir
6785 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
6787 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
6797 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
6798 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
6802 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6803 # If the template does not know about datarootdir, expand it.
6804 # FIXME: This hack should be removed a few years after 2.60.
6805 ac_datarootdir_hack
=; ac_datarootdir_seen
=
6818 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6819 *datarootdir
*) ac_datarootdir_seen
=yes;;
6820 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
6821 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6822 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6824 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6825 ac_datarootdir_hack='
6826 s&@datadir@&$datadir&g
6827 s&@docdir@&$docdir&g
6828 s&@infodir@&$infodir&g
6829 s&@localedir@&$localedir&g
6830 s&@mandir@&$mandir&g
6831 s&\\\${datarootdir}&$datarootdir&g' ;;
6835 # Neutralize VPATH when `$srcdir' = `.'.
6836 # Shell code in configure.ac might set extrasub.
6837 # FIXME: do we really want to maintain this feature?
6838 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6839 ac_sed_extra="$ac_vpsub
6842 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6844 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
6845 s|@configure_input@|
$ac_sed_conf_input|
;t t
6846 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
6847 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
6848 s
&@srcdir@
&$ac_srcdir&;t t
6849 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
6850 s
&@top_srcdir@
&$ac_top_srcdir&;t t
6851 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
6852 s
&@builddir@
&$ac_builddir&;t t
6853 s
&@abs_builddir@
&$ac_abs_builddir&;t t
6854 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
6855 s
&@INSTALL@
&$ac_INSTALL&;t t
6856 $ac_datarootdir_hack
6858 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
6859 || { { $as_echo "$as_me:$LINENO: error
: could not create
$ac_file" >&5
6860 $as_echo "$as_me: error
: could not create
$ac_file" >&2;}
6861 { (exit 1); exit 1; }; }
6863 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6864 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
6865 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
6866 { $as_echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
6867 which seems to be undefined. Please make sure it is defined." >&5
6868 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
6869 which seems to be undefined. Please make sure it is defined." >&2;}
6873 -) cat "$tmp/out" && rm -f "$tmp/out";;
6874 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
6876 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6877 $as_echo "$as_me: error: could not create $ac_file" >&2;}
6878 { (exit 1); exit 1; }; }
6884 if test x"$ac_file" != x-; then
6886 $as_echo "/* $configure_input */" \
6887 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
6888 } >"$tmp/config.h" \
6889 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6890 $as_echo "$as_me: error: could not create $ac_file" >&2;}
6891 { (exit 1); exit 1; }; }
6892 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
6893 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6894 $as_echo "$as_me: $ac_file is unchanged" >&6;}
6897 mv "$tmp/config.h" "$ac_file" \
6898 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6899 $as_echo "$as_me: error: could not create $ac_file" >&2;}
6900 { (exit 1); exit 1; }; }
6903 $as_echo "/* $configure_input */" \
6904 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
6905 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
6906 $as_echo "$as_me: error: could not create -" >&2;}
6907 { (exit 1); exit 1; }; }
6915 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
6918 # Prefer the file from the source tree if names are identical.
6919 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
6920 ac_source=$srcdir/$ac_source
6923 { $as_echo "$as_me:$LINENO: linking $ac_source to $ac_file" >&5
6924 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
6926 if test ! -r "$ac_source"; then
6927 { { $as_echo "$as_me:$LINENO: error: $ac_source: file not found" >&5
6928 $as_echo "$as_me: error: $ac_source: file not found" >&2;}
6929 { (exit 1); exit 1; }; }
6933 # Try a relative symlink, then a hard link, then a copy.
6935 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
6936 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
6938 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
6939 ln "$ac_source" "$ac_file" 2>/dev/null ||
6940 cp -p "$ac_source" "$ac_file" ||
6941 { { $as_echo "$as_me:$LINENO: error: cannot link or copy $ac_source to $ac_file" >&5
6942 $as_echo "$as_me: error: cannot link or copy $ac_source to $ac_file" >&2;}
6943 { (exit 1); exit 1; }; }
6946 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
6947 $as_echo "$as_me: executing $ac_file commands" >&6;}
6952 case $ac_file$ac_mode in
6953 "Makefile":C) echo "Merging Makefile.sim+Make-common.sim into Makefile ..."
6954 rm -f Makesim1.tmp Makesim2.tmp Makefile
6955 sed -n -e '/^
## COMMON_PRE_/,/^## End COMMON_PRE_/ p' <Make-common.sim >Makesim1.tmp
6956 sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim
>Makesim2.tmp
6957 sed -e '/^## COMMON_PRE_/ r Makesim1.tmp' \
6958 -e '/^## COMMON_POST_/ r Makesim2.tmp' \
6959 <Makefile.sim
>Makefile
6960 rm -f Makefile.sim Make-common.sim Makesim1.tmp Makesim2.tmp
6962 "stamp-h":C
) echo > stamp-h
;;
6968 { (exit 0); exit 0; }
6970 chmod +x
$CONFIG_STATUS
6971 ac_clean_files
=$ac_clean_files_save
6973 test $ac_write_fail = 0 ||
6974 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
6975 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
6976 { (exit 1); exit 1; }; }
6979 # configure is writing to config.log, and then calls config.status.
6980 # config.status does its own redirection, appending to config.log.
6981 # Unfortunately, on DOS this fails, as config.log is still kept open
6982 # by configure, so config.status won't be able to write to it; its
6983 # output is simply discarded. So we exec the FD to /dev/null,
6984 # effectively closing config.log, so it can be properly (re)opened and
6985 # appended to by config.status. When coming back to configure, we
6986 # need to make the FD available again.
6987 if test "$no_create" != yes; then
6989 ac_config_status_args
=
6990 test "$silent" = yes &&
6991 ac_config_status_args
="$ac_config_status_args --quiet"
6993 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
6995 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6996 # would make configure fail if this is the last instruction.
6997 $ac_cs_success ||
{ (exit 1); exit 1; }
6999 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
7000 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
7001 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}