2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x
; then
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var
in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\
${$as_var+set} = xset \
120 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
133 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
138 _as_can_reexec
=no
; export _as_can_reexec
;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
145 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
147 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec
=; unset _as_can_reexec
;}
160 if test "x$CONFIG_SHELL" = x
; then
161 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 case \`(set -o) 2>/dev/null\` in #(
177 as_required
="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
195 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
199 if (eval "$as_required") 2>/dev
/null
; then :
204 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
207 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
209 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
212 test -z "$as_dir" && as_dir
=.
216 for as_base
in sh bash ksh sh5
; do
217 # Try only shells that exist, to save several forks.
218 as_shell
=$as_dir/$as_base
219 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
220 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
221 CONFIG_SHELL
=$as_shell as_have_required
=yes
222 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
230 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
232 CONFIG_SHELL
=$SHELL as_have_required
=yes
237 if test "x$CONFIG_SHELL" != x
; then :
239 # We cannot yet assume a decent shell, so we have to provide a
240 # neutralization value for shells without unset; and this also
241 # works around shells that cannot unset nonexistent variables.
242 # Preserve -v and -x to the replacement shell.
245 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
247 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
252 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
253 # Admittedly, this is quite paranoid, since all the known shells bail
254 # out after a failed `exec'.
255 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
259 if test x
$as_have_required = xno
; then :
260 $as_echo "$0: This script requires a shell more modern than all"
261 $as_echo "$0: the shells that I found on your system."
262 if test x
${ZSH_VERSION+set} = xset
; then
263 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
264 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
266 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
267 $0: including any error possibly output before this
268 $0: message. Then install a modern shell, or manually run
269 $0: the script under such a shell if you do have one."
275 SHELL
=${CONFIG_SHELL-/bin/sh}
277 # Unset more variables known to interfere with behavior of common tools.
278 CLICOLOR_FORCE
= GREP_OPTIONS
=
279 unset CLICOLOR_FORCE GREP_OPTIONS
281 ## --------------------- ##
282 ## M4sh Shell Functions. ##
283 ## --------------------- ##
286 # Portably unset VAR.
289 { eval $1=; unset $1;}
293 # as_fn_set_status STATUS
294 # -----------------------
295 # Set $? to STATUS, without forking.
303 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
313 # Create "$as_dir" as a directory, including parents if necessary.
318 -*) as_dir
=.
/$as_dir;;
320 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
324 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
327 as_dirs
="'$as_qdir' $as_dirs"
328 as_dir
=`$as_dirname -- "$as_dir" ||
329 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
330 X"$as_dir" : 'X\(//\)[^/]' \| \
331 X"$as_dir" : 'X\(//\)$' \| \
332 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
333 $as_echo X"$as_dir" |
334 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
351 test -d "$as_dir" && break
353 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
354 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
359 # as_fn_executable_p FILE
360 # -----------------------
361 # Test if FILE is an executable regular file.
362 as_fn_executable_p
()
364 test -f "$1" && test -x "$1"
365 } # as_fn_executable_p
366 # as_fn_append VAR VALUE
367 # ----------------------
368 # Append the text in VALUE to the end of the definition contained in VAR. Take
369 # advantage of any shell optimizations that allow amortized linear growth over
370 # repeated appends, instead of the typical quadratic growth present in naive
372 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
373 eval 'as_fn_append ()
386 # Perform arithmetic evaluation on the ARGs, and store the result in the
387 # global $as_val. Take advantage of shells that can avoid forks. The arguments
388 # must be portable across $(()) and expr.
389 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
397 as_val
=`expr "$@" || test $? -eq 1`
402 # as_fn_error STATUS ERROR [LINENO LOG_FD]
403 # ----------------------------------------
404 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
405 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
406 # script with STATUS, using 1 if that was 0.
409 as_status
=$1; test $as_status -eq 0 && as_status
=1
411 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
412 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
414 $as_echo "$as_me: error: $2" >&2
415 as_fn_exit
$as_status
418 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
419 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
425 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
431 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
437 as_me
=`$as_basename -- "$0" ||
438 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
439 X"$0" : 'X\(//\)$' \| \
440 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
442 sed '/^.*\/\([^/][^/]*\)\/*$/{
456 # Avoid depending upon Character Ranges.
457 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
458 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
459 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
460 as_cr_digits
='0123456789'
461 as_cr_alnum
=$as_cr_Letters$as_cr_digits
464 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
465 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
466 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
467 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
468 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
480 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
484 chmod +x
"$as_me.lineno" ||
485 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
487 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
488 # already done that, so ensure we don't try to do so again and fall
489 # in an infinite loop. This has already happened in practice.
490 _as_can_reexec
=no
; export _as_can_reexec
491 # Don't try to exec as it changes $[0], causing all sort of problems
492 # (the dirname of $[0] is not the place where we might find the
493 # original and so on. Autoconf is especially sensitive to this).
495 # Exit status is that of the last command.
499 ECHO_C
= ECHO_N
= ECHO_T
=
500 case `echo -n x` in #(((((
502 case `echo 'xy\c'` in
503 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
505 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
512 rm -f conf$$ conf$$.exe conf$$.
file
513 if test -d conf$$.dir
; then
514 rm -f conf$$.dir
/conf$$.
file
517 mkdir conf$$.dir
2>/dev
/null
519 if (echo >conf$$.
file) 2>/dev
/null
; then
520 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
522 # ... but there are two gotchas:
523 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
524 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
525 # In both cases, we have to default to `cp -pR'.
526 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
528 elif ln conf$$.
file conf$$
2>/dev
/null
; then
536 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
537 rmdir conf$$.dir
2>/dev
/null
539 if mkdir
-p .
2>/dev
/null
; then
540 as_mkdir_p
='mkdir -p "$as_dir"'
542 test -d .
/-p && rmdir .
/-p
547 as_executable_p
=as_fn_executable_p
549 # Sed expression to map a string onto a valid CPP name.
550 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
552 # Sed expression to map a string onto a valid variable name.
553 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
556 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
560 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
561 # so uname gets run too.
562 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
567 ac_default_prefix
=/usr
/local
569 ac_config_libobj_dir
=.
576 # Identity of this package.
584 ac_unique_file
="Makefile.in"
585 ac_subst_vars
='LTLIBOBJS
597 MAINTAINER_MODE_FALSE
651 program_transform_name
670 enable_option_checking
671 enable_maintainer_mode
674 enable_sim_default_model
678 ac_precious_vars
='build_alias
688 # Initialize some variables set by options.
690 ac_init_version
=false
691 ac_unrecognized_opts
=
693 # The variables have the same names as the options, with
694 # dashes changed to underlines.
702 program_transform_name
=s
,x
,x
,
710 # Installation directory options.
711 # These are left unexpanded so users can "make install exec_prefix=/foo"
712 # and all the variables that are supposed to be based on exec_prefix
713 # by default will actually change.
714 # Use braces instead of parens because sh, perl, etc. also accept them.
715 # (The list follows the same order as the GNU Coding Standards.)
716 bindir
='${exec_prefix}/bin'
717 sbindir
='${exec_prefix}/sbin'
718 libexecdir
='${exec_prefix}/libexec'
719 datarootdir
='${prefix}/share'
720 datadir
='${datarootdir}'
721 sysconfdir
='${prefix}/etc'
722 sharedstatedir
='${prefix}/com'
723 localstatedir
='${prefix}/var'
724 includedir
='${prefix}/include'
725 oldincludedir
='/usr/include'
726 docdir
='${datarootdir}/doc/${PACKAGE}'
727 infodir
='${datarootdir}/info'
732 libdir
='${exec_prefix}/lib'
733 localedir
='${datarootdir}/locale'
734 mandir
='${datarootdir}/man'
740 # If the previous option needs an argument, assign it.
741 if test -n "$ac_prev"; then
742 eval $ac_prev=\
$ac_option
748 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
753 # Accept the important Cygnus configure options, so we can diagnose typos.
755 case $ac_dashdash$ac_option in
759 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
761 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
764 -build |
--build |
--buil |
--bui |
--bu)
765 ac_prev
=build_alias
;;
766 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
767 build_alias
=$ac_optarg ;;
769 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
770 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
771 ac_prev
=cache_file
;;
772 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
773 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
774 cache_file
=$ac_optarg ;;
777 cache_file
=config.cache
;;
779 -datadir |
--datadir |
--datadi |
--datad)
781 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
782 datadir
=$ac_optarg ;;
784 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
785 |
--dataroo |
--dataro |
--datar)
786 ac_prev
=datarootdir
;;
787 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
788 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
789 datarootdir
=$ac_optarg ;;
791 -disable-* |
--disable-*)
792 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
793 # Reject names that are not valid shell variable names.
794 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
795 as_fn_error $?
"invalid feature name: $ac_useropt"
796 ac_useropt_orig
=$ac_useropt
797 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
798 case $ac_user_opts in
802 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
803 ac_unrecognized_sep
=', ';;
805 eval enable_
$ac_useropt=no
;;
807 -docdir |
--docdir |
--docdi |
--doc |
--do)
809 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
812 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
814 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
817 -enable-* |
--enable-*)
818 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
819 # Reject names that are not valid shell variable names.
820 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
821 as_fn_error $?
"invalid feature name: $ac_useropt"
822 ac_useropt_orig
=$ac_useropt
823 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
824 case $ac_user_opts in
828 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
829 ac_unrecognized_sep
=', ';;
831 eval enable_
$ac_useropt=\
$ac_optarg ;;
833 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
834 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
835 |
--exec |
--exe |
--ex)
836 ac_prev
=exec_prefix
;;
837 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
838 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
839 |
--exec=* |
--exe=* |
--ex=*)
840 exec_prefix
=$ac_optarg ;;
842 -gas |
--gas |
--ga |
--g)
843 # Obsolete; use --with-gas.
846 -help |
--help |
--hel |
--he |
-h)
848 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
849 ac_init_help
=recursive
;;
850 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
851 ac_init_help
=short
;;
853 -host |
--host |
--hos |
--ho)
854 ac_prev
=host_alias
;;
855 -host=* |
--host=* |
--hos=* |
--ho=*)
856 host_alias
=$ac_optarg ;;
858 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
860 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
862 htmldir
=$ac_optarg ;;
864 -includedir |
--includedir |
--includedi |
--included |
--include \
865 |
--includ |
--inclu |
--incl |
--inc)
866 ac_prev
=includedir
;;
867 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
868 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
869 includedir
=$ac_optarg ;;
871 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
873 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
874 infodir
=$ac_optarg ;;
876 -libdir |
--libdir |
--libdi |
--libd)
878 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
881 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
882 |
--libexe |
--libex |
--libe)
883 ac_prev
=libexecdir
;;
884 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
885 |
--libexe=* |
--libex=* |
--libe=*)
886 libexecdir
=$ac_optarg ;;
888 -localedir |
--localedir |
--localedi |
--localed |
--locale)
890 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
891 localedir
=$ac_optarg ;;
893 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
894 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
895 ac_prev
=localstatedir
;;
896 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
897 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
898 localstatedir
=$ac_optarg ;;
900 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
902 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
906 # Obsolete; use --without-fp.
909 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
910 |
--no-cr |
--no-c |
-n)
913 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
914 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
917 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
918 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
919 |
--oldin |
--oldi |
--old |
--ol |
--o)
920 ac_prev
=oldincludedir
;;
921 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
922 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
923 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
924 oldincludedir
=$ac_optarg ;;
926 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
928 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
931 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
932 |
--program-pre |
--program-pr |
--program-p)
933 ac_prev
=program_prefix
;;
934 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
935 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
936 program_prefix
=$ac_optarg ;;
938 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
939 |
--program-suf |
--program-su |
--program-s)
940 ac_prev
=program_suffix
;;
941 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
942 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
943 program_suffix
=$ac_optarg ;;
945 -program-transform-name |
--program-transform-name \
946 |
--program-transform-nam |
--program-transform-na \
947 |
--program-transform-n |
--program-transform- \
948 |
--program-transform |
--program-transfor \
949 |
--program-transfo |
--program-transf \
950 |
--program-trans |
--program-tran \
951 |
--progr-tra |
--program-tr |
--program-t)
952 ac_prev
=program_transform_name
;;
953 -program-transform-name=* |
--program-transform-name=* \
954 |
--program-transform-nam=* |
--program-transform-na=* \
955 |
--program-transform-n=* |
--program-transform-=* \
956 |
--program-transform=* |
--program-transfor=* \
957 |
--program-transfo=* |
--program-transf=* \
958 |
--program-trans=* |
--program-tran=* \
959 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
960 program_transform_name
=$ac_optarg ;;
962 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
964 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
967 -psdir |
--psdir |
--psdi |
--psd |
--ps)
969 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
972 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
973 |
-silent |
--silent |
--silen |
--sile |
--sil)
976 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
978 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
980 sbindir
=$ac_optarg ;;
982 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
983 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
984 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
986 ac_prev
=sharedstatedir
;;
987 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
988 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
989 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
991 sharedstatedir
=$ac_optarg ;;
993 -site |
--site |
--sit)
995 -site=* |
--site=* |
--sit=*)
998 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1000 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1001 srcdir
=$ac_optarg ;;
1003 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1004 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1005 ac_prev
=sysconfdir
;;
1006 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1007 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1008 sysconfdir
=$ac_optarg ;;
1010 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1011 ac_prev
=target_alias
;;
1012 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1013 target_alias
=$ac_optarg ;;
1015 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1018 -version |
--version |
--versio |
--versi |
--vers |
-V)
1019 ac_init_version
=: ;;
1022 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1023 # Reject names that are not valid shell variable names.
1024 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1025 as_fn_error $?
"invalid package name: $ac_useropt"
1026 ac_useropt_orig
=$ac_useropt
1027 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1028 case $ac_user_opts in
1032 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1033 ac_unrecognized_sep
=', ';;
1035 eval with_
$ac_useropt=\
$ac_optarg ;;
1037 -without-* |
--without-*)
1038 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1039 # Reject names that are not valid shell variable names.
1040 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1041 as_fn_error $?
"invalid package name: $ac_useropt"
1042 ac_useropt_orig
=$ac_useropt
1043 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1044 case $ac_user_opts in
1048 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1049 ac_unrecognized_sep
=', ';;
1051 eval with_
$ac_useropt=no
;;
1054 # Obsolete; use --with-x.
1057 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1058 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1059 ac_prev
=x_includes
;;
1060 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1061 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1062 x_includes
=$ac_optarg ;;
1064 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1065 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1066 ac_prev
=x_libraries
;;
1067 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1068 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1069 x_libraries
=$ac_optarg ;;
1071 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1072 Try \`$0 --help' for more information"
1076 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1077 # Reject names that are not valid shell variable names.
1078 case $ac_envvar in #(
1079 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1080 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1082 eval $ac_envvar=\
$ac_optarg
1083 export $ac_envvar ;;
1086 # FIXME: should be removed in autoconf 3.0.
1087 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1088 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1089 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1090 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1096 if test -n "$ac_prev"; then
1097 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1098 as_fn_error $?
"missing argument to $ac_option"
1101 if test -n "$ac_unrecognized_opts"; then
1102 case $enable_option_checking in
1104 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1105 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1109 # Check all directory arguments for consistency.
1110 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1111 datadir sysconfdir sharedstatedir localstatedir includedir \
1112 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1113 libdir localedir mandir
1115 eval ac_val
=\$
$ac_var
1116 # Remove trailing slashes.
1119 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1120 eval $ac_var=\
$ac_val;;
1122 # Be sure to have absolute directory names.
1124 [\\/$
]* | ?
:[\\/]* ) continue;;
1125 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1127 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1130 # There might be people who depend on the old broken behavior: `$host'
1131 # used to hold the argument of --host etc.
1132 # FIXME: To remove some day.
1135 target
=$target_alias
1137 # FIXME: To remove some day.
1138 if test "x$host_alias" != x
; then
1139 if test "x$build_alias" = x
; then
1140 cross_compiling
=maybe
1141 elif test "x$build_alias" != "x$host_alias"; then
1147 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1149 test "$silent" = yes && exec 6>/dev
/null
1152 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1153 ac_ls_di
=`ls -di .` &&
1154 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1155 as_fn_error $?
"working directory cannot be determined"
1156 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1157 as_fn_error $?
"pwd does not report name of working directory"
1160 # Find the source files, if location was not specified.
1161 if test -z "$srcdir"; then
1162 ac_srcdir_defaulted
=yes
1163 # Try the directory containing this script, then the parent directory.
1164 ac_confdir
=`$as_dirname -- "$as_myself" ||
1165 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1166 X"$as_myself" : 'X\(//\)[^/]' \| \
1167 X"$as_myself" : 'X\(//\)$' \| \
1168 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1169 $as_echo X"$as_myself" |
1170 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1188 if test ! -r "$srcdir/$ac_unique_file"; then
1192 ac_srcdir_defaulted
=no
1194 if test ! -r "$srcdir/$ac_unique_file"; then
1195 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1196 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1198 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1200 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1202 # When building in place, set srcdir=.
1203 if test "$ac_abs_confdir" = "$ac_pwd"; then
1206 # Remove unnecessary trailing slashes from srcdir.
1207 # Double slashes in file names in object file debugging info
1208 # mess up M-x gdb in Emacs.
1210 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1212 for ac_var
in $ac_precious_vars; do
1213 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1214 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1215 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1216 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1220 # Report the --help message.
1222 if test "$ac_init_help" = "long"; then
1223 # Omit some internal or obsolete options to make the list less imposing.
1224 # This message is too long to be a string in the A/UX 3.1 sh.
1226 \`configure' configures this package to adapt to many kinds of systems.
1228 Usage: $0 [OPTION]... [VAR=VALUE]...
1230 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1231 VAR=VALUE. See below for descriptions of some of the useful variables.
1233 Defaults for the options are specified in brackets.
1236 -h, --help display this help and exit
1237 --help=short display options specific to this package
1238 --help=recursive display the short help of all the included packages
1239 -V, --version display version information and exit
1240 -q, --quiet, --silent do not print \`checking ...' messages
1241 --cache-file=FILE cache test results in FILE [disabled]
1242 -C, --config-cache alias for \`--cache-file=config.cache'
1243 -n, --no-create do not create output files
1244 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1246 Installation directories:
1247 --prefix=PREFIX install architecture-independent files in PREFIX
1248 [$ac_default_prefix]
1249 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1252 By default, \`make install' will install all the files in
1253 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1254 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1255 for instance \`--prefix=\$HOME'.
1257 For better control, use the options below.
1259 Fine tuning of the installation directories:
1260 --bindir=DIR user executables [EPREFIX/bin]
1261 --sbindir=DIR system admin executables [EPREFIX/sbin]
1262 --libexecdir=DIR program executables [EPREFIX/libexec]
1263 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1264 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1265 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1266 --libdir=DIR object code libraries [EPREFIX/lib]
1267 --includedir=DIR C header files [PREFIX/include]
1268 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1269 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1270 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1271 --infodir=DIR info documentation [DATAROOTDIR/info]
1272 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1273 --mandir=DIR man documentation [DATAROOTDIR/man]
1274 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1275 --htmldir=DIR html documentation [DOCDIR]
1276 --dvidir=DIR dvi documentation [DOCDIR]
1277 --pdfdir=DIR pdf documentation [DOCDIR]
1278 --psdir=DIR ps documentation [DOCDIR]
1285 if test -n "$ac_init_help"; then
1290 --disable-option-checking ignore unrecognized
--enable/--with options
1291 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1292 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1293 --enable-maintainer-mode
1294 enable make rules and dependencies not useful
(and
1295 sometimes confusing
) to the casual installer
1296 --enable-sim-inline=inlines
1297 Specify
which functions should be inlined
1298 --enable-sim-scache=size
1299 Specify simulator execution cache size
1300 --enable-sim-default-model=model
1301 Specify default model to simulate
1302 --enable-cgen-maint=DIR build cgen generated files
1303 --enable-sim-hardware=LIST
1304 Specify the hardware to be included
in the build.
1306 Some influential environment variables
:
1307 CC C compiler
command
1308 CFLAGS C compiler flags
1309 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1310 nonstandard directory
<lib dir
>
1311 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1312 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1313 you have headers
in a nonstandard directory
<include dir
>
1315 Use these variables to override the choices made by
`configure' or to help
1316 it to find libraries and programs with nonstandard names/locations.
1318 Report bugs to the package provider.
1323 if test "$ac_init_help" = "recursive"; then
1324 # If there are subdirs, report their specific --help.
1325 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1326 test -d "$ac_dir" ||
1327 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1332 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1334 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1335 # A ".." for each directory in $ac_dir_suffix.
1336 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1337 case $ac_top_builddir_sub in
1338 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1339 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1342 ac_abs_top_builddir=$ac_pwd
1343 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1344 # for backward compatibility:
1345 ac_top_builddir=$ac_top_build_prefix
1348 .) # We are building in place.
1350 ac_top_srcdir=$ac_top_builddir_sub
1351 ac_abs_top_srcdir=$ac_pwd ;;
1352 [\\/]* | ?:[\\/]* ) # Absolute name.
1353 ac_srcdir=$srcdir$ac_dir_suffix;
1354 ac_top_srcdir=$srcdir
1355 ac_abs_top_srcdir=$srcdir ;;
1357 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1358 ac_top_srcdir=$ac_top_build_prefix$srcdir
1359 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1361 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1363 cd "$ac_dir" || { ac_status=$?; continue; }
1364 # Check for guested configure.
1365 if test -f "$ac_srcdir/configure.gnu"; then
1367 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1368 elif test -f "$ac_srcdir/configure"; then
1370 $SHELL "$ac_srcdir/configure" --help=recursive
1372 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1374 cd "$ac_pwd" || { ac_status=$?; break; }
1378 test -n "$ac_init_help" && exit $ac_status
1379 if $ac_init_version; then
1382 generated by GNU Autoconf 2.69
1384 Copyright (C) 2012 Free Software Foundation, Inc.
1385 This configure script is free software; the Free Software Foundation
1386 gives unlimited permission to copy, distribute and modify it.
1391 ## ------------------------ ##
1392 ## Autoconf initialization. ##
1393 ## ------------------------ ##
1395 # ac_fn_c_try_compile LINENO
1396 # --------------------------
1397 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1398 ac_fn_c_try_compile ()
1400 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1401 rm -f conftest.$ac_objext
1402 if { { ac_try="$ac_compile"
1404 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1405 *) ac_try_echo
=$ac_try;;
1407 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1408 $as_echo "$ac_try_echo"; } >&5
1409 (eval "$ac_compile") 2>conftest.err
1411 if test -s conftest.err
; then
1412 grep -v '^ *+' conftest.err
>conftest.er1
1413 cat conftest.er1
>&5
1414 mv -f conftest.er1 conftest.err
1416 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1417 test $ac_status = 0; } && {
1418 test -z "$ac_c_werror_flag" ||
1419 test ! -s conftest.err
1420 } && test -s conftest.
$ac_objext; then :
1423 $as_echo "$as_me: failed program was:" >&5
1424 sed 's/^/| /' conftest.
$ac_ext >&5
1428 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1429 as_fn_set_status
$ac_retval
1431 } # ac_fn_c_try_compile
1432 cat >config.log
<<_ACEOF
1433 This file contains any messages produced by compilers while
1434 running configure, to aid debugging if configure makes a mistake.
1436 It was created by $as_me, which was
1437 generated by GNU Autoconf 2.69. Invocation command line was
1449 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1450 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1451 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1452 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1453 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1455 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1456 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1458 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1459 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1460 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1461 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1462 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1463 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1464 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1468 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1472 test -z "$as_dir" && as_dir
=.
1473 $as_echo "PATH: $as_dir"
1489 # Keep a trace of the command line.
1490 # Strip out --no-create and --no-recursion so they do not pile up.
1491 # Strip out --silent because we don't want to record it for future runs.
1492 # Also quote any args containing shell meta-characters.
1493 # Make two passes to allow for proper duplicate-argument suppression.
1497 ac_must_keep_next
=false
1503 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1504 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1505 |
-silent |
--silent |
--silen |
--sile |
--sil)
1508 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1511 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1513 as_fn_append ac_configure_args1
" '$ac_arg'"
1514 if test $ac_must_keep_next = true
; then
1515 ac_must_keep_next
=false
# Got value, back to normal.
1518 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1519 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1520 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1521 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1522 case "$ac_configure_args0 " in
1523 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1526 -* ) ac_must_keep_next
=true
;;
1529 as_fn_append ac_configure_args
" '$ac_arg'"
1534 { ac_configure_args0
=; unset ac_configure_args0
;}
1535 { ac_configure_args1
=; unset ac_configure_args1
;}
1537 # When interrupted or exit'd, cleanup temporary files, and complete
1538 # config.log. We remove comments because anyway the quotes in there
1539 # would cause problems or look ugly.
1540 # WARNING: Use '\'' to represent an apostrophe within the trap.
1541 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1542 trap 'exit_status=$?
1543 # Save into config.log some information that might help in debugging.
1547 $as_echo "## ---------------- ##
1548 ## Cache variables. ##
1549 ## ---------------- ##"
1551 # The following way of writing the cache mishandles newlines in values,
1553 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1554 eval ac_val=\$$ac_var
1558 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1559 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1562 _ | IFS | as_nl) ;; #(
1563 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1564 *) { eval $ac_var=; unset $ac_var;} ;;
1569 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1570 *${as_nl}ac_space=\ *)
1572 "s/'\''/'\''\\\\'\'''\''/g;
1573 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1576 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1583 $as_echo "## ----------------- ##
1584 ## Output variables. ##
1585 ## ----------------- ##"
1587 for ac_var in $ac_subst_vars
1589 eval ac_val=\$$ac_var
1591 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1593 $as_echo "$ac_var='\''$ac_val'\''"
1597 if test -n "$ac_subst_files"; then
1598 $as_echo "## ------------------- ##
1599 ## File substitutions. ##
1600 ## ------------------- ##"
1602 for ac_var
in $ac_subst_files
1604 eval ac_val
=\$
$ac_var
1606 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1608 $as_echo "$ac_var='\''$ac_val'\''"
1613 if test -s confdefs.h; then
1614 $as_echo "## ----------- ##
1621 test "$ac_signal" != 0 &&
1622 $as_echo "$as_me: caught signal $ac_signal"
1623 $as_echo "$as_me: exit $exit_status"
1625 rm -f core *.core core.conftest.* &&
1626 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1629 for ac_signal
in 1 2 13 15; do
1630 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1634 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1635 rm -f -r conftest
* confdefs.h
1637 $as_echo "/* confdefs.h */" > confdefs.h
1639 # Predefined preprocessor variables.
1641 cat >>confdefs.h
<<_ACEOF
1642 #define PACKAGE_NAME "$PACKAGE_NAME"
1645 cat >>confdefs.h
<<_ACEOF
1646 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1649 cat >>confdefs.h
<<_ACEOF
1650 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1653 cat >>confdefs.h
<<_ACEOF
1654 #define PACKAGE_STRING "$PACKAGE_STRING"
1657 cat >>confdefs.h
<<_ACEOF
1658 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1661 cat >>confdefs.h
<<_ACEOF
1662 #define PACKAGE_URL "$PACKAGE_URL"
1666 # Let the site file select an alternate cache file if it wants to.
1667 # Prefer an explicitly selected file to automatically selected ones.
1670 if test -n "$CONFIG_SITE"; then
1671 # We do not want a PATH search for config.site.
1672 case $CONFIG_SITE in #((
1673 -*) ac_site_file1
=.
/$CONFIG_SITE;;
1674 */*) ac_site_file1
=$CONFIG_SITE;;
1675 *) ac_site_file1
=.
/$CONFIG_SITE;;
1677 elif test "x$prefix" != xNONE
; then
1678 ac_site_file1
=$prefix/share
/config.site
1679 ac_site_file2
=$prefix/etc
/config.site
1681 ac_site_file1
=$ac_default_prefix/share
/config.site
1682 ac_site_file2
=$ac_default_prefix/etc
/config.site
1684 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
1686 test "x$ac_site_file" = xNONE
&& continue
1687 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
1688 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1689 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1690 sed 's/^/| /' "$ac_site_file" >&5
1692 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1693 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1694 as_fn_error $?
"failed to load site script $ac_site_file
1695 See \`config.log' for more details" "$LINENO" 5; }
1699 if test -r "$cache_file"; then
1700 # Some versions of bash will fail to source /dev/null (special files
1701 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1702 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
1703 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1704 $as_echo "$as_me: loading cache $cache_file" >&6;}
1706 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1707 *) .
"./$cache_file";;
1711 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1712 $as_echo "$as_me: creating cache $cache_file" >&6;}
1716 # Check that the precious variables saved in the cache have kept the same
1718 ac_cache_corrupted
=false
1719 for ac_var
in $ac_precious_vars; do
1720 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1721 eval ac_new_set
=\
$ac_env_${ac_var}_set
1722 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1723 eval ac_new_val
=\
$ac_env_${ac_var}_value
1724 case $ac_old_set,$ac_new_set in
1726 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1727 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1728 ac_cache_corrupted
=: ;;
1730 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1731 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1732 ac_cache_corrupted
=: ;;
1735 if test "x$ac_old_val" != "x$ac_new_val"; then
1736 # differences in whitespace do not lead to failure.
1737 ac_old_val_w
=`echo x $ac_old_val`
1738 ac_new_val_w
=`echo x $ac_new_val`
1739 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1740 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1741 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1742 ac_cache_corrupted
=:
1744 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1745 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1746 eval $ac_var=\
$ac_old_val
1748 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1749 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1750 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1751 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1754 # Pass precious variables to config.status.
1755 if test "$ac_new_set" = set; then
1757 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1758 *) ac_arg
=$ac_var=$ac_new_val ;;
1760 case " $ac_configure_args " in
1761 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1762 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
1766 if $ac_cache_corrupted; then
1767 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1768 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1769 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1770 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1771 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1773 ## -------------------- ##
1774 ## Main body of script. ##
1775 ## -------------------- ##
1778 ac_cpp
='$CPP $CPPFLAGS'
1779 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1780 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1781 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1790 ac_cpp
='$CPP $CPPFLAGS'
1791 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1792 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1793 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1794 if test -n "$ac_tool_prefix"; then
1795 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1796 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1798 $as_echo_n "checking for $ac_word... " >&6; }
1799 if ${ac_cv_prog_CC+:} false
; then :
1800 $as_echo_n "(cached) " >&6
1802 if test -n "$CC"; then
1803 ac_cv_prog_CC
="$CC" # Let the user override the test.
1805 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1809 test -z "$as_dir" && as_dir
=.
1810 for ac_exec_ext
in '' $ac_executable_extensions; do
1811 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
1812 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1813 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1823 if test -n "$CC"; then
1824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1825 $as_echo "$CC" >&6; }
1827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1828 $as_echo "no" >&6; }
1833 if test -z "$ac_cv_prog_CC"; then
1835 # Extract the first word of "gcc", so it can be a program name with args.
1836 set dummy gcc
; ac_word
=$2
1837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1838 $as_echo_n "checking for $ac_word... " >&6; }
1839 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
1840 $as_echo_n "(cached) " >&6
1842 if test -n "$ac_ct_CC"; then
1843 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1845 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1849 test -z "$as_dir" && as_dir
=.
1850 for ac_exec_ext
in '' $ac_executable_extensions; do
1851 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
1852 ac_cv_prog_ac_ct_CC
="gcc"
1853 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1862 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1863 if test -n "$ac_ct_CC"; then
1864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
1865 $as_echo "$ac_ct_CC" >&6; }
1867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1868 $as_echo "no" >&6; }
1871 if test "x$ac_ct_CC" = x
; then
1874 case $cross_compiling:$ac_tool_warned in
1876 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1877 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1878 ac_tool_warned
=yes ;;
1886 if test -z "$CC"; then
1887 if test -n "$ac_tool_prefix"; then
1888 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1889 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1891 $as_echo_n "checking for $ac_word... " >&6; }
1892 if ${ac_cv_prog_CC+:} false
; then :
1893 $as_echo_n "(cached) " >&6
1895 if test -n "$CC"; then
1896 ac_cv_prog_CC
="$CC" # Let the user override the test.
1898 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1902 test -z "$as_dir" && as_dir
=.
1903 for ac_exec_ext
in '' $ac_executable_extensions; do
1904 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
1905 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1906 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1916 if test -n "$CC"; then
1917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1918 $as_echo "$CC" >&6; }
1920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1921 $as_echo "no" >&6; }
1927 if test -z "$CC"; then
1928 # Extract the first word of "cc", so it can be a program name with args.
1929 set dummy cc
; ac_word
=$2
1930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1931 $as_echo_n "checking for $ac_word... " >&6; }
1932 if ${ac_cv_prog_CC+:} false
; then :
1933 $as_echo_n "(cached) " >&6
1935 if test -n "$CC"; then
1936 ac_cv_prog_CC
="$CC" # Let the user override the test.
1939 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1943 test -z "$as_dir" && as_dir
=.
1944 for ac_exec_ext
in '' $ac_executable_extensions; do
1945 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
1946 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1947 ac_prog_rejected
=yes
1951 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1958 if test $ac_prog_rejected = yes; then
1959 # We found a bogon in the path, so make sure we never use it.
1960 set dummy
$ac_cv_prog_CC
1962 if test $# != 0; then
1963 # We chose a different compiler from the bogus one.
1964 # However, it has the same basename, so the bogon will be chosen
1965 # first if we set CC to just the basename; use the full file name.
1967 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
1973 if test -n "$CC"; then
1974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1975 $as_echo "$CC" >&6; }
1977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1978 $as_echo "no" >&6; }
1983 if test -z "$CC"; then
1984 if test -n "$ac_tool_prefix"; then
1985 for ac_prog
in cl.exe
1987 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1988 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1990 $as_echo_n "checking for $ac_word... " >&6; }
1991 if ${ac_cv_prog_CC+:} false
; then :
1992 $as_echo_n "(cached) " >&6
1994 if test -n "$CC"; then
1995 ac_cv_prog_CC
="$CC" # Let the user override the test.
1997 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2001 test -z "$as_dir" && as_dir
=.
2002 for ac_exec_ext
in '' $ac_executable_extensions; do
2003 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2004 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2005 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2015 if test -n "$CC"; then
2016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2017 $as_echo "$CC" >&6; }
2019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2020 $as_echo "no" >&6; }
2024 test -n "$CC" && break
2027 if test -z "$CC"; then
2029 for ac_prog
in cl.exe
2031 # Extract the first word of "$ac_prog", so it can be a program name with args.
2032 set dummy
$ac_prog; ac_word
=$2
2033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2034 $as_echo_n "checking for $ac_word... " >&6; }
2035 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2036 $as_echo_n "(cached) " >&6
2038 if test -n "$ac_ct_CC"; then
2039 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2041 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2045 test -z "$as_dir" && as_dir
=.
2046 for ac_exec_ext
in '' $ac_executable_extensions; do
2047 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2048 ac_cv_prog_ac_ct_CC
="$ac_prog"
2049 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2058 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2059 if test -n "$ac_ct_CC"; then
2060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2061 $as_echo "$ac_ct_CC" >&6; }
2063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2064 $as_echo "no" >&6; }
2068 test -n "$ac_ct_CC" && break
2071 if test "x$ac_ct_CC" = x
; then
2074 case $cross_compiling:$ac_tool_warned in
2076 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2077 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2078 ac_tool_warned
=yes ;;
2087 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2088 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2089 as_fn_error $?
"no acceptable C compiler found in \$PATH
2090 See \`config.log' for more details" "$LINENO" 5; }
2092 # Provide some information about the compiler.
2093 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2096 for ac_option
in --version -v -V -qversion; do
2097 { { ac_try
="$ac_compiler $ac_option >&5"
2099 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2100 *) ac_try_echo=$ac_try;;
2102 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2103 $as_echo "$ac_try_echo"; } >&5
2104 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2106 if test -s conftest.err; then
2108 ... rest of stderr output deleted ...
2109 10q' conftest.err >conftest.er1
2110 cat conftest.er1 >&5
2112 rm -f conftest.er1 conftest.err
2113 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2114 test $ac_status = 0; }
2117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2118 /* end confdefs.h. */
2128 ac_clean_files_save=$ac_clean_files
2129 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2130 # Try to create an executable without -o first, disregard a.out.
2131 # It will help us diagnose broken compilers, and finding out an intuition
2133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2134 $as_echo_n "checking whether the C compiler works... " >&6; }
2135 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2137 # The possible output files:
2138 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2141 for ac_file in $ac_files
2144 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2145 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2150 if { { ac_try="$ac_link_default"
2152 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2153 *) ac_try_echo
=$ac_try;;
2155 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2156 $as_echo "$ac_try_echo"; } >&5
2157 (eval "$ac_link_default") 2>&5
2159 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2160 test $ac_status = 0; }; then :
2161 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2162 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2163 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2164 # so that the user can short-circuit this test for compilers unknown to
2166 for ac_file
in $ac_files ''
2168 test -f "$ac_file" ||
continue
2170 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
2173 # We found the default executable, but exeext='' is most
2177 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2179 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2181 # We set ac_cv_exeext here because the later test for it is not
2182 # safe: cross compilers may not add the suffix if given an `-o'
2183 # argument, so we may need to know it at that point already.
2184 # Even if this section looks crufty: it has the advantage of
2191 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2196 if test -z "$ac_file"; then :
2197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2198 $as_echo "no" >&6; }
2199 $as_echo "$as_me: failed program was:" >&5
2200 sed 's/^/| /' conftest.
$ac_ext >&5
2202 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2203 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2204 as_fn_error
77 "C compiler cannot create executables
2205 See \`config.log' for more details" "$LINENO" 5; }
2207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2208 $as_echo "yes" >&6; }
2210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2211 $as_echo_n "checking for C compiler default output file name... " >&6; }
2212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2213 $as_echo "$ac_file" >&6; }
2214 ac_exeext
=$ac_cv_exeext
2216 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
2217 ac_clean_files
=$ac_clean_files_save
2218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2219 $as_echo_n "checking for suffix of executables... " >&6; }
2220 if { { ac_try
="$ac_link"
2222 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2223 *) ac_try_echo=$ac_try;;
2225 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2226 $as_echo "$ac_try_echo"; } >&5
2227 (eval "$ac_link") 2>&5
2229 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2230 test $ac_status = 0; }; then :
2231 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
2232 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
2233 # work properly (i.e., refer to `conftest.exe'), while it won't with
2235 for ac_file
in conftest.exe conftest conftest.
*; do
2236 test -f "$ac_file" ||
continue
2238 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2239 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2245 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2246 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2247 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
2248 See \`config.log' for more details" "$LINENO" 5; }
2250 rm -f conftest conftest
$ac_cv_exeext
2251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2252 $as_echo "$ac_cv_exeext" >&6; }
2254 rm -f conftest.
$ac_ext
2255 EXEEXT
=$ac_cv_exeext
2257 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2258 /* end confdefs.h. */
2263 FILE *f = fopen ("conftest.out", "w");
2264 return ferror (f) || fclose (f) != 0;
2270 ac_clean_files
="$ac_clean_files conftest.out"
2271 # Check that the compiler produces executables we can run. If not, either
2272 # the compiler is broken, or we cross compile.
2273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2274 $as_echo_n "checking whether we are cross compiling... " >&6; }
2275 if test "$cross_compiling" != yes; then
2276 { { ac_try
="$ac_link"
2278 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2279 *) ac_try_echo=$ac_try;;
2281 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2282 $as_echo "$ac_try_echo"; } >&5
2283 (eval "$ac_link") 2>&5
2285 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2286 test $ac_status = 0; }
2287 if { ac_try='./conftest$ac_cv_exeext'
2288 { { case "(($ac_try" in
2289 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2290 *) ac_try_echo
=$ac_try;;
2292 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2293 $as_echo "$ac_try_echo"; } >&5
2294 (eval "$ac_try") 2>&5
2296 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2297 test $ac_status = 0; }; }; then
2300 if test "$cross_compiling" = maybe
; then
2303 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2304 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2305 as_fn_error $?
"cannot run C compiled programs.
2306 If you meant to cross compile, use \`--host'.
2307 See \`config.log' for more details" "$LINENO" 5; }
2311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2312 $as_echo "$cross_compiling" >&6; }
2314 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
2315 ac_clean_files
=$ac_clean_files_save
2316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2317 $as_echo_n "checking for suffix of object files... " >&6; }
2318 if ${ac_cv_objext+:} false
; then :
2319 $as_echo_n "(cached) " >&6
2321 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2322 /* end confdefs.h. */
2332 rm -f conftest.o conftest.obj
2333 if { { ac_try
="$ac_compile"
2335 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2336 *) ac_try_echo=$ac_try;;
2338 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2339 $as_echo "$ac_try_echo"; } >&5
2340 (eval "$ac_compile") 2>&5
2342 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2343 test $ac_status = 0; }; then :
2344 for ac_file in conftest.o conftest.obj conftest.*; do
2345 test -f "$ac_file" || continue;
2347 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2348 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2353 $as_echo "$as_me: failed program was:" >&5
2354 sed 's/^/| /' conftest.$ac_ext >&5
2356 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2357 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2358 as_fn_error $? "cannot compute suffix of object files
: cannot compile
2359 See \
`config.log' for more details" "$LINENO" 5; }
2361 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2364 $as_echo "$ac_cv_objext" >&6; }
2365 OBJEXT=$ac_cv_objext
2367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2368 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2369 if ${ac_cv_c_compiler_gnu+:} false; then :
2370 $as_echo_n "(cached) " >&6
2372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2373 /* end confdefs.h. */
2386 if ac_fn_c_try_compile "$LINENO"; then :
2391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2392 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2396 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2397 if test $ac_compiler_gnu = yes; then
2402 ac_test_CFLAGS=${CFLAGS+set}
2403 ac_save_CFLAGS=$CFLAGS
2404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2405 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2406 if ${ac_cv_prog_cc_g+:} false; then :
2407 $as_echo_n "(cached) " >&6
2409 ac_save_c_werror_flag=$ac_c_werror_flag
2410 ac_c_werror_flag=yes
2413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2414 /* end confdefs.h. */
2424 if ac_fn_c_try_compile "$LINENO"; then :
2428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2429 /* end confdefs.h. */
2439 if ac_fn_c_try_compile "$LINENO"; then :
2442 ac_c_werror_flag=$ac_save_c_werror_flag
2444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2445 /* end confdefs.h. */
2455 if ac_fn_c_try_compile "$LINENO"; then :
2458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2463 ac_c_werror_flag=$ac_save_c_werror_flag
2465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2466 $as_echo "$ac_cv_prog_cc_g" >&6; }
2467 if test "$ac_test_CFLAGS" = set; then
2468 CFLAGS=$ac_save_CFLAGS
2469 elif test $ac_cv_prog_cc_g = yes; then
2470 if test "$GCC" = yes; then
2476 if test "$GCC" = yes; then
2482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2483 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2484 if ${ac_cv_prog_cc_c89+:} false; then :
2485 $as_echo_n "(cached) " >&6
2487 ac_cv_prog_cc_c89=no
2489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2490 /* end confdefs.h. */
2494 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2495 struct buf { int x; };
2496 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2497 static char *e (p, i)
2503 static char *f (char * (*g) (char **, int), char **p, ...)
2508 s = g (p, va_arg (v,int));
2513 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2514 function prototypes and stuff, but not '\xHH' hex character constants.
2515 These don't provoke an error unfortunately, instead are silently treated
2516 as 'x'. The following induces an error, until -std is added to get
2517 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2518 array size at least. It's necessary to write '\x00'==0 to get something
2519 that's true only with -std. */
2520 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2522 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2523 inside strings and character constants. */
2525 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2527 int test (int i, double x);
2528 struct s1 {int (*f) (int a);};
2529 struct s2 {int (*f) (double a);};
2530 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2536 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2541 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2542 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2544 CC="$ac_save_CC $ac_arg"
2545 if ac_fn_c_try_compile "$LINENO"; then :
2546 ac_cv_prog_cc_c89=$ac_arg
2548 rm -f core conftest.err conftest.$ac_objext
2549 test "x$ac_cv_prog_cc_c89" != "xno" && break
2551 rm -f conftest.$ac_ext
2556 case "x$ac_cv_prog_cc_c89" in
2558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2559 $as_echo "none needed" >&6; } ;;
2561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2562 $as_echo "unsupported" >&6; } ;;
2564 CC="$CC $ac_cv_prog_cc_c89"
2565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2566 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2568 if test "x$ac_cv_prog_cc_c89" != xno; then :
2573 ac_cpp='$CPP $CPPFLAGS'
2574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2579 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2580 if test -f "$ac_dir/install-sh"; then
2582 ac_install_sh="$ac_aux_dir/install-sh -c"
2584 elif test -f "$ac_dir/install.sh"; then
2586 ac_install_sh="$ac_aux_dir/install.sh -c"
2588 elif test -f "$ac_dir/shtool"; then
2590 ac_install_sh="$ac_aux_dir/shtool install -c"
2594 if test -z "$ac_aux_dir"; then
2595 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2598 # These three variables are undocumented and unsupported,
2599 # and are intended to be withdrawn in a future Autoconf release.
2600 # They can cause serious problems if a builder's source tree is in a directory
2601 # whose full name contains unusual characters.
2602 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2603 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2604 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2607 # Find a good install program. We prefer a C program (faster),
2608 # so one script is as good as another. But avoid the broken or
2609 # incompatible versions:
2610 # SysV /etc/install, /usr/sbin/install
2611 # SunOS /usr/etc/install
2612 # IRIX /sbin/install
2614 # AmigaOS /C/install, which installs bootblocks on floppy discs
2615 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2616 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2617 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2618 # OS/2's system install, which has a completely different semantic
2619 # ./install, which can be erroneously created by make from ./install.sh.
2620 # Reject install programs that cannot install multiple files.
2621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2622 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2623 if test -z "$INSTALL"; then
2624 if ${ac_cv_path_install+:} false; then :
2625 $as_echo_n "(cached) " >&6
2627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2631 test -z "$as_dir" && as_dir=.
2632 # Account for people who put trailing slashes in PATH elements.
2633 case $as_dir/ in #((
2634 ./ | .// | /[cC]/* | \
2635 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2636 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2639 # OSF1 and SCO ODT 3.0 have their own names for install.
2640 # Don't use installbsd from OSF since it installs stuff as root
2642 for ac_prog in ginstall scoinst install; do
2643 for ac_exec_ext in '' $ac_executable_extensions; do
2644 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2645 if test $ac_prog = install &&
2646 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2647 # AIX install. It has an incompatible calling convention.
2649 elif test $ac_prog = install &&
2650 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2651 # program-specific install script used by HP pwplus--don't use.
2654 rm -rf conftest.one conftest.two conftest.dir
2655 echo one > conftest.one
2656 echo two > conftest.two
2658 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2659 test -s conftest.one && test -s conftest.two &&
2660 test -s conftest.dir/conftest.one &&
2661 test -s conftest.dir/conftest.two
2663 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2676 rm -rf conftest.one conftest.two conftest.dir
2679 if test "${ac_cv_path_install+set}" = set; then
2680 INSTALL=$ac_cv_path_install
2682 # As a last resort, use the slow shell script. Don't cache a
2683 # value for INSTALL within a source directory, because that will
2684 # break other packages using the cache if that directory is
2685 # removed, or if the value is a relative name.
2686 INSTALL=$ac_install_sh
2689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2690 $as_echo "$INSTALL" >&6; }
2692 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2693 # It thinks the first close brace ends the variable substitution.
2694 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2696 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2698 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2700 rm -rf .tst 2>/dev/null
2701 mkdir .tst 2>/dev/null
2702 if test -d .tst; then
2707 rmdir .tst 2>/dev/null
2709 DEPDIR="${am__leading_dot}deps"
2711 # Dependency checking.
2714 ac_config_commands="$ac_config_commands depdir"
2717 depcc="$CC" am_compiler_list=
2719 am_depcomp=$ac_aux_dir/depcomp
2720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
2721 $as_echo_n "checking dependency style of $depcc... " >&6; }
2722 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
2723 $as_echo_n "(cached) " >&6
2725 if test -f "$am_depcomp"; then
2726 # We make a subdir and do the tests there. Otherwise we can end up
2727 # making bogus files that we don't know about and never remove. For
2728 # instance it was reported that on HP-UX the gcc test will end up
2729 # making a dummy file named `D
' -- because `-MD' means
`put the output
2732 # Copy depcomp to subdir because otherwise we won't find it if we're
2733 # using a relative directory.
2734 cp "$am_depcomp" conftest.dir
2736 # We will build objects and dependencies in a subdirectory because
2737 # it helps to detect inapplicable dependency modes. For instance
2738 # both Tru64's cc and ICC support -MD to output dependencies as a
2739 # side effect of compilation, but ICC will put the dependencies in
2740 # the current directory while Tru64 will put them in the object
2744 am_cv_CC_dependencies_compiler_type=none
2745 if test "$am_compiler_list" = ""; then
2746 am_compiler_list=`sed -n 's/^\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
2748 for depmode in $am_compiler_list; do
2749 if test $depmode = none; then break; fi
2751 $as_echo "$as_me:$LINENO: trying $depmode" >&5
2752 # Setup a source with many dependencies, because some compilers
2753 # like to wrap large dependency lists on column 80 (with \), and
2754 # we should not choose a depcomp mode which is confused by this.
2756 # We need to recreate these files for each test, as the compiler may
2757 # overwrite some of them when testing with obscure command lines.
2758 # This happens at least with the AIX C compiler.
2760 for i in 1 2 3 4 5 6; do
2761 echo '#include "conftst'$i'.h"' >> sub/conftest.c
2762 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
2763 # Solaris 8's
{/usr
,}/bin
/sh.
2764 touch sub
/conftst
$i.h
2766 echo "include sub/conftest.Po" > confmf
2768 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2769 # mode. It turns out that the SunPro C++ compiler does not properly
2770 # handle `-M -o', and we need to detect this.
2771 depcmd
="depmode=$depmode \
2772 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2773 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2774 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c"
2775 echo "| $depcmd" |
sed -e 's/ */ /g' >&5
2776 if env
$depcmd > conftest.err
2>&1 &&
2777 grep sub
/conftst6.h sub
/conftest.Po
>>conftest.err
2>&1 &&
2778 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
>>conftest.err
2>&1 &&
2779 ${MAKE-make} -s -f confmf
>>conftest.err
2>&1; then
2780 # icc doesn't choke on unknown options, it will just issue warnings
2781 # or remarks (even with -Werror). So we grep stderr for any message
2782 # that says an option was ignored or not supported.
2783 # When given -MP, icc 7.0 and 7.1 complain thusly:
2784 # icc: Command line warning: ignoring option '-M'; no argument required
2785 # The diagnosis changed in icc 8.0:
2786 # icc: Command line remark: option '-MP' not supported
2787 if (grep 'ignoring option' conftest.err ||
2788 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
2789 am_cv_CC_dependencies_compiler_type
=$depmode
2790 $as_echo "$as_me:$LINENO: success" >&5
2794 $as_echo "$as_me:$LINENO: failure, diagnostics are:" >&5
2795 sed -e 's/^/| /' < conftest.err
>&5
2801 am_cv_CC_dependencies_compiler_type
=none
2805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
2806 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
2807 if test x
${am_cv_CC_dependencies_compiler_type-none} = xnone
2808 then as_fn_error $?
"no usable dependency style found" "$LINENO" 5
2809 else CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
2815 # If we haven't got the data from the intl directory,
2816 # assume NLS is disabled.
2825 if test -f ..
/..
/intl
/config.intl
; then
2826 . ..
/..
/intl
/config.intl
2828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
2829 $as_echo_n "checking whether NLS is requested... " >&6; }
2830 if test x
"$USE_NLS" != xyes
; then
2831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2832 $as_echo "no" >&6; }
2834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2835 $as_echo "yes" >&6; }
2837 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
2840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
2841 $as_echo_n "checking for catalogs to be installed... " >&6; }
2842 # Look for .po and .gmo files in the source directory.
2845 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
2846 # If there aren't any .gmo files the shell will give us the
2847 # literal string "../path/to/srcdir/po/*.gmo" which has to be
2849 case "$cat" in *\
**)
2852 # The quadruple backslash is collapsed to a double backslash
2853 # by the backticks, then collapsed again by the double quotes,
2854 # leaving us with one backslash in the sed expression (right
2855 # before the dot that mustn't act as a wildcard).
2856 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
2857 lang
=`echo $cat | sed -e "s!\\\\.gmo!!"`
2858 # The user is allowed to set LINGUAS to a list of languages to
2859 # install catalogs for. If it's empty that means "all of them."
2860 if test "x$LINGUAS" = x
; then
2861 CATALOGS
="$CATALOGS $cat"
2862 XLINGUAS
="$XLINGUAS $lang"
2864 case "$LINGUAS" in *$lang*)
2865 CATALOGS
="$CATALOGS $cat"
2866 XLINGUAS
="$XLINGUAS $lang"
2872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
2873 $as_echo "$LINGUAS" >&6; }
2887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2888 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2889 # Check whether --enable-maintainer-mode was given.
2890 if test "${enable_maintainer_mode+set}" = set; then :
2891 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
2893 USE_MAINTAINER_MODE
=no
2896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2897 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2898 if test $USE_MAINTAINER_MODE = yes; then
2899 MAINTAINER_MODE_TRUE
=
2900 MAINTAINER_MODE_FALSE
='#'
2902 MAINTAINER_MODE_TRUE
='#'
2903 MAINTAINER_MODE_FALSE
=
2906 MAINT
=$MAINTAINER_MODE_TRUE
2911 sim_inline
="-DDEFAULT_INLINE=0"
2912 # Check whether --enable-sim-inline was given.
2913 if test "${enable_sim_inline+set}" = set; then :
2914 enableval
=$enable_sim_inline; sim_inline
=""
2915 case "$enableval" in
2916 no
) sim_inline
="-DDEFAULT_INLINE=0";;
2917 0) sim_inline
="-DDEFAULT_INLINE=0";;
2918 yes |
2) sim_inline
="-DDEFAULT_INLINE=ALL_C_INLINE";;
2919 1) sim_inline
="-DDEFAULT_INLINE=INLINE_LOCALS";;
2920 *) for x
in `echo "$enableval" | sed -e "s/,/ /g"`; do
2923 *_INLINE
=*) new_flag
="-D$x";;
2924 *=*) new_flag
=`echo "$x" | sed -e "s/=/_INLINE=/" -e "s/^/-D/"`;;
2925 *_INLINE
) new_flag
="-D$x=ALL_C_INLINE";;
2926 *) new_flag
="-D$x""_INLINE=ALL_C_INLINE";;
2928 if test x
"$sim_inline" = x
""; then
2929 sim_inline
="$new_flag"
2931 sim_inline
="$sim_inline $new_flag"
2935 if test x
"$silent" != x
"yes" && test x
"$sim_inline" != x
""; then
2936 echo "Setting inline flags = $sim_inline" 6>&1
2943 default_sim_scache
="16384"
2944 # Check whether --enable-sim-scache was given.
2945 if test "${enable_sim_scache+set}" = set; then :
2946 enableval
=$enable_sim_scache; case "${enableval}" in
2947 yes) sim_scache
="-DWITH_SCACHE=${default_sim_scache}";;
2948 no
) sim_scache
="-DWITH_SCACHE=0" ;;
2949 [0-9]*) sim_scache
="-DWITH_SCACHE=${enableval}";;
2950 *) as_fn_error $?
"\"Bad value $enableval passed to --enable-sim-scache\"" "$LINENO" 5;
2953 if test x
"$silent" != x
"yes" && test x
"$sim_scache" != x
""; then
2954 echo "Setting scache size = $sim_scache" 6>&1
2957 sim_scache
="-DWITH_SCACHE=${default_sim_scache}"
2962 default_sim_default_model
="m32r/d"
2963 # Check whether --enable-sim-default-model was given.
2964 if test "${enable_sim_default_model+set}" = set; then :
2965 enableval
=$enable_sim_default_model; case "${enableval}" in
2966 yes|no
) as_fn_error $?
"\"Missing argument to --enable-sim-default-model\"" "$LINENO" 5;;
2967 *) sim_default_model
="-DWITH_DEFAULT_MODEL='\"${enableval}\"'";;
2969 if test x
"$silent" != x
"yes" && test x
"$sim_default_model" != x
""; then
2970 echo "Setting default model = $sim_default_model" 6>&1
2973 sim_default_model
="-DWITH_DEFAULT_MODEL='\"${default_sim_default_model}\"'"
2980 cgendir
='$(srcdir)/../../cgen'
2981 # Check whether --enable-cgen-maint was given.
2982 if test "${enable_cgen_maint+set}" = set; then :
2983 enableval
=$enable_cgen_maint; case "${enableval}" in
2984 yes) cgen_maint
=yes ;;
2985 no
) cgen_maint
=no
;;
2987 # Argument is a directory where cgen can be found. In some
2988 # future world cgen could be installable, but right now this
2989 # is not the case. Instead we assume the directory is a path
2990 # to the cgen source tree.
2992 if test -r ${enableval}/iformat.scm
; then
2993 # This looks like a cgen source tree.
2994 cgendir
=${enableval}
2996 as_fn_error $?
"${enableval} doesn't look like a cgen source tree" "$LINENO" 5
3001 if test x
${cgen_maint} != xno
; then
3011 case "${target_alias}" in
3013 traps_obj
=traps-linux.o
3014 sim_extra_cflags
="-DM32R_LINUX"
3018 sim_extra_cflags
="-DM32R_ELF"
3025 hardware
="cfi core pal glue m32r_cache m32r_uart"
3026 sim_hw_cflags
="-DWITH_HW=1"
3028 sim_hw_objs
="\$(SIM_COMMON_HW_OBJS) `echo $sim_hw | sed -e 's/\([^ ][^ ]*\)/dv-\1.o/g'`"
3030 # Check whether --enable-sim-hardware was given.
3031 if test "${enable_sim_hardware+set}" = set; then :
3032 enableval
=$enable_sim_hardware;
3034 enable_sim_hardware
="yes"
3037 case ${enable_sim_hardware} in
3039 ,*) hardware
="${hardware} `echo ${enableval} | sed -e 's/,/ /'`";;
3040 *,) hardware
="`echo ${enableval} | sed -e 's/,/ /'` ${hardware}";;
3041 *) hardware
="`echo ${enableval} | sed -e 's/,/ /'`"'';;
3044 if test "$enable_sim_hardware" = no
; then
3046 sim_hw_cflags
="-DWITH_HW=0"
3049 sim_hw_cflags
="-DWITH_HW=1"
3052 sim_hw_objs
="\$(SIM_COMMON_HW_OBJS)"
3053 for i
in $hardware ; do
3056 *) sim_hw
="$sim_hw $i" ; sim_hw_objs
="$sim_hw_objs dv-$i.o";;
3059 # mingw does not support sockser
3062 *) # TODO: We don't add dv-sockser to sim_hw as it is not a "real" device
3063 # that you instatiate. Instead, other code will call into it directly.
3064 # At some point, we should convert it over.
3065 sim_hw_objs
="$sim_hw_objs dv-sockser.o"
3066 sim_hw_cflags
="$sim_hw_cflags -DHAVE_DV_SOCKSER"
3069 if test x
"$silent" != x
"yes"; then
3070 echo "Setting hardware to $sim_hw_cflags, $sim_hw, $sim_hw_objs"
3077 if grep CGEN_MAINT
$srcdir/Makefile.
in >/dev
/null
; then
3078 cgen_breaks
="break cgen_rtx_error";
3081 ac_config_files
="$ac_config_files Makefile.sim:Makefile.in"
3083 ac_config_files
="$ac_config_files Make-common.sim:../common/Make-common.in"
3085 ac_config_files
="$ac_config_files .gdbinit:../common/gdbinit.in"
3087 ac_config_commands
="$ac_config_commands Makefile"
3089 ac_config_commands
="$ac_config_commands stamp-h"
3101 cat >confcache
<<\_ACEOF
3102 # This file is a shell script that caches the results of configure
3103 # tests run on this system so they can be shared between configure
3104 # scripts and configure runs, see configure's option --config-cache.
3105 # It is not useful on other systems. If it contains results you don't
3106 # want to keep, you may remove or edit it.
3108 # config.status only pays attention to the cache file if you give it
3109 # the --recheck option to rerun configure.
3111 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3112 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3117 # The following way of writing the cache mishandles newlines in values,
3118 # but we know of no workaround that is simple, portable, and efficient.
3119 # So, we kill variables containing newlines.
3120 # Ultrix sh set writes to stderr and can't be redirected directly,
3121 # and sets the high bit in the cache file unless we assign to the vars.
3123 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3124 eval ac_val
=\$
$ac_var
3128 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3129 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3132 _ | IFS | as_nl
) ;; #(
3133 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
3134 *) { eval $ac_var=; unset $ac_var;} ;;
3140 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3141 *${as_nl}ac_space
=\
*)
3142 # `set' does not quote correctly, so add quotes: double-quote
3143 # substitution turns \\\\ into \\, and sed turns \\ into \.
3146 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3149 # `set' quotes correctly as required by POSIX, so do not add quotes.
3150 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3159 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3161 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3163 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
3164 if test -w "$cache_file"; then
3165 if test "x$cache_file" != "x/dev/null"; then
3166 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3167 $as_echo "$as_me: updating cache $cache_file" >&6;}
3168 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
3169 cat confcache
>"$cache_file"
3171 case $cache_file in #(
3173 mv -f confcache
"$cache_file"$$
&&
3174 mv -f "$cache_file"$$
"$cache_file" ;; #(
3176 mv -f confcache
"$cache_file" ;;
3181 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3182 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3187 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
3188 # Let make expand exec_prefix.
3189 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
3191 # Transform confdefs.h into DEFS.
3192 # Protect against shell expansion while executing Makefile rules.
3193 # Protect against Makefile macro expansion.
3195 # If the first sed substitution is executed (which looks for macros that
3196 # take arguments), then branch to the quote section. Otherwise,
3197 # look for a macro that doesn't take arguments.
3207 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
3209 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
3213 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
3226 DEFS
=`sed -n "$ac_script" confdefs.h`
3232 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
3233 # 1. Remove the extension, and $U if already installed.
3234 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
3235 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
3236 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3237 # will be set to the directory where LIBOBJS objects are built.
3238 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3239 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
3243 LTLIBOBJS
=$ac_ltlibobjs
3246 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
3247 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
3248 Usually this means the macro was only invoked conditionally." "$LINENO" 5
3251 : "${CONFIG_STATUS=./config.status}"
3253 ac_clean_files_save
=$ac_clean_files
3254 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
3255 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3256 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3258 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3260 # Generated by $as_me.
3261 # Run this file to recreate the current configuration.
3262 # Compiler output produced by configure, useful for debugging
3263 # configure, is in config.log if it exists.
3269 SHELL=\${CONFIG_SHELL-$SHELL}
3272 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
3273 ## -------------------- ##
3274 ## M4sh Initialization. ##
3275 ## -------------------- ##
3277 # Be more Bourne compatible
3278 DUALCASE
=1; export DUALCASE
# for MKS sh
3279 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
3282 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3283 # is contrary to our usage. Disable this feature.
3284 alias -g '${1+"$@"}'='"$@"'
3285 setopt NO_GLOB_SUBST
3287 case `(set -o) 2>/dev/null` in #(
3299 # Printing a long string crashes Solaris 7 /usr/bin/printf.
3300 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3301 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3302 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3303 # Prefer a ksh shell builtin over an external printf program on Solaris,
3304 # but without wasting forks for bash or zsh.
3305 if test -z "$BASH_VERSION$ZSH_VERSION" \
3306 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
3307 as_echo='print
-r --'
3308 as_echo_n='print
-rn --'
3309 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3310 as_echo='printf %s
\n'
3311 as_echo_n='printf %s
'
3313 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3314 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
3315 as_echo_n='/usr
/ucb
/echo -n'
3317 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3318 as_echo_n_body='eval
3322 expr "X$arg" : "X\\(.*\\)$as_nl";
3323 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3325 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
3327 export as_echo_n_body
3328 as_echo_n='sh
-c $as_echo_n_body as_echo
'
3331 as_echo='sh
-c $as_echo_body as_echo
'
3334 # The user is always right.
3335 if test "${PATH_SEPARATOR+set}" != set; then
3337 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3338 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3345 # We need space, tab and new line, in precisely that order. Quoting is
3346 # there to prevent editors from complaining about space-tab.
3347 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3348 # splitting by setting IFS to empty value.)
3351 # Find who we are. Look in the path if we contain no directory separator.
3354 *[\\/]* ) as_myself=$0 ;;
3355 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3359 test -z "$as_dir" && as_dir=.
3360 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3366 # We did not find ourselves, most probably we were run as `sh COMMAND'
3367 # in which case we are not to be found in the path.
3368 if test "x$as_myself" = x
; then
3371 if test ! -f "$as_myself"; then
3372 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3376 # Unset variables that we do not need and which cause bugs (e.g. in
3377 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
3378 # suppresses any "Segmentation fault" message there. '((' could
3379 # trigger a bug in pdksh 5.2.14.
3380 for as_var
in BASH_ENV ENV MAIL MAILPATH
3381 do eval test x\
${$as_var+set} = xset \
3382 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
3395 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
3398 # as_fn_error STATUS ERROR [LINENO LOG_FD]
3399 # ----------------------------------------
3400 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3401 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3402 # script with STATUS, using 1 if that was 0.
3405 as_status
=$1; test $as_status -eq 0 && as_status
=1
3407 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
3408 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
3410 $as_echo "$as_me: error: $2" >&2
3411 as_fn_exit
$as_status
3415 # as_fn_set_status STATUS
3416 # -----------------------
3417 # Set $? to STATUS, without forking.
3421 } # as_fn_set_status
3425 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3435 # Portably unset VAR.
3438 { eval $1=; unset $1;}
3440 as_unset
=as_fn_unset
3441 # as_fn_append VAR VALUE
3442 # ----------------------
3443 # Append the text in VALUE to the end of the definition contained in VAR. Take
3444 # advantage of any shell optimizations that allow amortized linear growth over
3445 # repeated appends, instead of the typical quadratic growth present in naive
3447 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
3448 eval 'as_fn_append ()
3459 # as_fn_arith ARG...
3460 # ------------------
3461 # Perform arithmetic evaluation on the ARGs, and store the result in the
3462 # global $as_val. Take advantage of shells that can avoid forks. The arguments
3463 # must be portable across $(()) and expr.
3464 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
3465 eval 'as_fn_arith ()
3472 as_val
=`expr "$@" || test $? -eq 1`
3477 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
3478 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
3484 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3485 as_basename
=basename
3490 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
3496 as_me
=`$as_basename -- "$0" ||
3497 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3498 X"$0" : 'X\(//\)$' \| \
3499 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3501 sed '/^.*\/\([^/][^/]*\)\/*$/{
3515 # Avoid depending upon Character Ranges.
3516 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
3517 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3518 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
3519 as_cr_digits
='0123456789'
3520 as_cr_alnum
=$as_cr_Letters$as_cr_digits
3522 ECHO_C
= ECHO_N
= ECHO_T
=
3523 case `echo -n x` in #(((((
3525 case `echo 'xy\c'` in
3526 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
3528 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
3535 rm -f conf$$ conf$$.exe conf$$.
file
3536 if test -d conf$$.dir
; then
3537 rm -f conf$$.dir
/conf$$.
file
3540 mkdir conf$$.dir
2>/dev
/null
3542 if (echo >conf$$.
file) 2>/dev
/null
; then
3543 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
3545 # ... but there are two gotchas:
3546 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3547 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3548 # In both cases, we have to default to `cp -pR'.
3549 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
3551 elif ln conf$$.
file conf$$
2>/dev
/null
; then
3559 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
3560 rmdir conf$$.dir
2>/dev
/null
3565 # Create "$as_dir" as a directory, including parents if necessary.
3570 -*) as_dir
=.
/$as_dir;;
3572 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
3576 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3577 *) as_qdir
=$as_dir;;
3579 as_dirs
="'$as_qdir' $as_dirs"
3580 as_dir
=`$as_dirname -- "$as_dir" ||
3581 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3582 X"$as_dir" : 'X\(//\)[^/]' \| \
3583 X"$as_dir" : 'X\(//\)$' \| \
3584 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3585 $as_echo X"$as_dir" |
3586 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3603 test -d "$as_dir" && break
3605 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
3606 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
3610 if mkdir
-p .
2>/dev
/null
; then
3611 as_mkdir_p
='mkdir -p "$as_dir"'
3613 test -d .
/-p && rmdir .
/-p
3618 # as_fn_executable_p FILE
3619 # -----------------------
3620 # Test if FILE is an executable regular file.
3621 as_fn_executable_p
()
3623 test -f "$1" && test -x "$1"
3624 } # as_fn_executable_p
3626 as_executable_p
=as_fn_executable_p
3628 # Sed expression to map a string onto a valid CPP name.
3629 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3631 # Sed expression to map a string onto a valid variable name.
3632 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3636 ## ----------------------------------- ##
3637 ## Main body of $CONFIG_STATUS script. ##
3638 ## ----------------------------------- ##
3640 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
3642 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
3643 # Save the log message, to keep $0 and so on meaningful, and to
3644 # report actual input values of CONFIG_FILES etc. instead of their
3645 # values after options handling.
3647 This file was extended by $as_me, which was
3648 generated by GNU Autoconf 2.69. Invocation command line was
3650 CONFIG_FILES = $CONFIG_FILES
3651 CONFIG_HEADERS = $CONFIG_HEADERS
3652 CONFIG_LINKS = $CONFIG_LINKS
3653 CONFIG_COMMANDS = $CONFIG_COMMANDS
3656 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3661 case $ac_config_files in *"
3662 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
3667 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3668 # Files that config.status was made for.
3669 config_files="$ac_config_files"
3670 config_commands="$ac_config_commands"
3674 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
3676 \`$as_me' instantiates files and other configuration actions
3677 from templates according to the current configuration. Unless the files
3678 and actions are specified as TAGs, all are instantiated by default.
3680 Usage: $0 [OPTION]... [TAG]...
3682 -h, --help print this help, then exit
3683 -V, --version print version number and configuration settings, then exit
3684 --config print configuration, then exit
3685 -q, --quiet, --silent
3686 do not print progress messages
3687 -d, --debug don't remove temporary files
3688 --recheck update $as_me by reconfiguring in the same conditions
3689 --file=FILE[:TEMPLATE]
3690 instantiate the configuration file FILE
3692 Configuration files:
3695 Configuration commands:
3698 Report bugs to the package provider."
3701 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3702 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
3705 configured by $0, generated by GNU Autoconf 2.69,
3706 with options \\"\$ac_cs_config\\"
3708 Copyright (C) 2012 Free Software Foundation, Inc.
3709 This config.status script is free software; the Free Software Foundation
3710 gives unlimited permission to copy, distribute and modify it."
3715 test -n "\$AWK" || AWK=awk
3718 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
3719 # The default lists apply if the user does not specify any file.
3725 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
3726 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
3730 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
3742 # Handling of the options.
3743 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
3745 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
3746 $as_echo "$ac_cs_version"; exit ;;
3747 --config |
--confi |
--conf |
--con |
--co |
--c )
3748 $as_echo "$ac_cs_config"; exit ;;
3749 --debug |
--debu |
--deb |
--de |
--d |
-d )
3751 --file |
--fil |
--fi |
--f )
3754 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3755 '') as_fn_error $?
"missing file argument" ;;
3757 as_fn_append CONFIG_FILES
" '$ac_optarg'"
3758 ac_need_defaults
=false
;;
3759 --he |
--h |
--help |
--hel |
-h )
3760 $as_echo "$ac_cs_usage"; exit ;;
3761 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
3762 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
3766 -*) as_fn_error $?
"unrecognized option: \`$1'
3767 Try \`$0 --help' for more information." ;;
3769 *) as_fn_append ac_config_targets
" $1"
3770 ac_need_defaults
=false
;;
3776 ac_configure_extra_args
=
3778 if $ac_cs_silent; then
3780 ac_configure_extra_args
="$ac_configure_extra_args --silent"
3784 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3785 if \$ac_cs_recheck; then
3786 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3788 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3789 CONFIG_SHELL='$SHELL'
3795 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
3799 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3800 ## Running $as_me. ##
3806 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3810 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
3814 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
3816 # Handling of arguments.
3817 for ac_config_target
in $ac_config_targets
3819 case $ac_config_target in
3820 "depdir") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir" ;;
3821 "Makefile.sim") CONFIG_FILES
="$CONFIG_FILES Makefile.sim:Makefile.in" ;;
3822 "Make-common.sim") CONFIG_FILES
="$CONFIG_FILES Make-common.sim:../common/Make-common.in" ;;
3823 ".gdbinit") CONFIG_FILES
="$CONFIG_FILES .gdbinit:../common/gdbinit.in" ;;
3824 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
3825 "stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS stamp-h" ;;
3827 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
3832 # If the user did not use the arguments to specify the items to instantiate,
3833 # then the envvar interface is used. Set only those that are not.
3834 # We use the long form for the default assignment because of an extremely
3835 # bizarre bug on SunOS 4.1.3.
3836 if $ac_need_defaults; then
3837 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
3838 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
3841 # Have a temporary directory for convenience. Make it in the build tree
3842 # simply because there is no reason against having it here, and in addition,
3843 # creating and moving files from /tmp can sometimes cause problems.
3844 # Hook for its removal unless debugging.
3845 # Note that there is a small window in which the directory will not be cleaned:
3846 # after its creation but before its name has been assigned to `$tmp'.
3850 trap 'exit_status=$?
3852 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
3854 trap 'as_fn_exit 1' 1 2 13 15
3856 # Create a (secure) tmp directory for tmp files.
3859 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3863 tmp
=.
/conf$$
-$RANDOM
3864 (umask 077 && mkdir
"$tmp")
3865 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
3868 # Set up the scripts for CONFIG_FILES section.
3869 # No need to generate them if there are no CONFIG_FILES.
3870 # This happens for instance with `./config.status config.h'.
3871 if test -n "$CONFIG_FILES"; then
3874 ac_cr
=`echo X | tr X '\015'`
3875 # On cygwin, bash can eat \r inside `` if the user requested igncr.
3876 # But we know of no other shell where ac_cr would be empty at this
3877 # point, so we can use a bashism as a fallback.
3878 if test "x$ac_cr" = x
; then
3879 eval ac_cr
=\$
\'\\r
\'
3881 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3882 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3888 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
3893 echo "cat >conf$$subs.awk <<_ACEOF" &&
3894 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3897 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
3898 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
3900 for ac_last_try in false false false false false :; do
3901 . ./conf$$subs.sh ||
3902 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
3904 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
3905 if test $ac_delim_n = $ac_delim_num; then
3907 elif $ac_last_try; then
3908 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
3910 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
3915 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3916 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
3920 s/^/S["/; s
/!.
*/"]=/
3930 s/\(.\{148\}\)..*/\1/
3932 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
3937 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
3944 s/\(.\{148\}\)..*/\1/
3946 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
3950 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
3955 ' <conf$$subs.awk | sed '
3960 ' >>$CONFIG_STATUS || ac_write_fail=1
3961 rm -f conf$$subs.awk
3962 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3964 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
3965 for (key in S) S_is_set[key] = 1
3971 nfields = split(line, field, "@
")
3973 len = length(field[1])
3974 for (i = 2; i < nfields; i++) {
3976 keylen = length(key)
3977 if (S_is_set[key]) {
3979 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3980 len += length(value) + length(field[++i])
3991 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3992 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
3993 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
3996 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
3997 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
4000 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
4001 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
4002 # trailing colons and then remove the whole line if VPATH becomes empty
4003 # (actually we leave an empty line to preserve line numbers).
4004 if test "x
$srcdir" = x.; then
4005 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
4023 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4024 fi # test -n "$CONFIG_FILES"
4027 eval set X " :F
$CONFIG_FILES :C
$CONFIG_COMMANDS"
4032 :[FHLC]) ac_mode=$ac_tag; continue;;
4034 case $ac_mode$ac_tag in
4036 :L* | :C*:*) as_fn_error $? "invalid tag \
`$ac_tag'" "$LINENO" 5;;
4037 :[FH]-) ac_tag=-:-;;
4038 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4055 -) ac_f="$ac_tmp/stdin";;
4056 *) # Look for the file first in the build tree, then in the source tree
4057 # (if the path is not absolute). The absolute path cannot be DOS-style,
4058 # because $ac_f cannot contain `:'.
4062 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4064 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4066 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
4067 as_fn_append ac_file_inputs " '$ac_f'"
4070 # Let's still pretend it is `configure' which instantiates (i.e., don't
4071 # use $as_me), people would be surprised to read:
4072 # /* config.h. Generated by config.status. */
4073 configure_input='Generated from '`
4074 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4076 if test x"$ac_file" != x-; then
4077 configure_input="$ac_file.
$configure_input"
4078 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
4079 $as_echo "$as_me: creating
$ac_file" >&6;}
4081 # Neutralize special characters interpreted by sed in replacement strings.
4082 case $configure_input in #(
4083 *\&* | *\|* | *\\* )
4084 ac_sed_conf_input=`$as_echo "$configure_input" |
4085 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4086 *) ac_sed_conf_input=$configure_input;;
4090 *:-:* | *:-) cat >"$ac_tmp/stdin
" \
4091 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5 ;;
4096 ac_dir=`$as_dirname -- "$ac_file" ||
4097 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4098 X"$ac_file" : 'X\(//\)[^/]' \| \
4099 X"$ac_file" : 'X\(//\)$' \| \
4100 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4101 $as_echo X"$ac_file" |
4102 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4119 as_dir="$ac_dir"; as_fn_mkdir_p
4123 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4125 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4126 # A "..
" for each directory in $ac_dir_suffix.
4127 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4128 case $ac_top_builddir_sub in
4129 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4130 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4133 ac_abs_top_builddir=$ac_pwd
4134 ac_abs_builddir=$ac_pwd$ac_dir_suffix
4135 # for backward compatibility:
4136 ac_top_builddir=$ac_top_build_prefix
4139 .) # We are building in place.
4141 ac_top_srcdir=$ac_top_builddir_sub
4142 ac_abs_top_srcdir=$ac_pwd ;;
4143 [\\/]* | ?:[\\/]* ) # Absolute name.
4144 ac_srcdir=$srcdir$ac_dir_suffix;
4145 ac_top_srcdir=$srcdir
4146 ac_abs_top_srcdir=$srcdir ;;
4148 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4149 ac_top_srcdir=$ac_top_build_prefix$srcdir
4150 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4152 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4162 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4163 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
4167 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4168 # If the template does not know about datarootdir, expand it.
4169 # FIXME: This hack should be removed a few years after 2.60.
4170 ac_datarootdir_hack=; ac_datarootdir_seen=
4181 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
4182 *datarootdir*) ac_datarootdir_seen=yes;;
4183 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4184 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
4185 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
4187 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4188 ac_datarootdir_hack='
4189 s&@datadir@&$datadir&g
4190 s&@docdir@&$docdir&g
4191 s&@infodir@&$infodir&g
4192 s&@localedir@&$localedir&g
4193 s&@mandir@&$mandir&g
4194 s&\\\${datarootdir}&$datarootdir&g' ;;
4198 # Neutralize VPATH when `$srcdir' = `.'.
4199 # Shell code in configure.ac might set extrasub.
4200 # FIXME: do we really want to maintain this feature?
4201 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4202 ac_sed_extra="$ac_vpsub
4205 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4207 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
4208 s|@configure_input@|
$ac_sed_conf_input|
;t t
4209 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
4210 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
4211 s
&@srcdir@
&$ac_srcdir&;t t
4212 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
4213 s
&@top_srcdir@
&$ac_top_srcdir&;t t
4214 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
4215 s
&@builddir@
&$ac_builddir&;t t
4216 s
&@abs_builddir@
&$ac_abs_builddir&;t t
4217 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
4218 s
&@INSTALL@
&$ac_INSTALL&;t t
4219 $ac_datarootdir_hack
4221 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
4222 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
4224 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4225 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
4226 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
4227 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
4228 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
4229 which seems to be undefined. Please make sure it is defined" >&5
4230 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
4231 which seems to be undefined. Please make sure it is defined" >&2;}
4233 rm -f "$ac_tmp/stdin"
4235 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
4236 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
4238 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4242 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
4243 $as_echo "$as_me: executing $ac_file commands" >&6;}
4248 case $ac_file$ac_mode in
4249 "depdir":C) $SHELL $ac_aux_dir/mkinstalldirs $DEPDIR ;;
4250 "Makefile":C) echo "Merging Makefile.sim+Make-common.sim into Makefile ..."
4251 rm -f Makesim1.tmp Makesim2.tmp Makefile
4252 sed -n -e '/^
## COMMON_PRE_/,/^## End COMMON_PRE_/ p' <Make-common.sim >Makesim1.tmp
4253 sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim
>Makesim2.tmp
4254 sed -e '/^## COMMON_PRE_/ r Makesim1.tmp' \
4255 -e '/^## COMMON_POST_/ r Makesim2.tmp' \
4256 <Makefile.sim
>Makefile
4257 rm -f Makefile.sim Make-common.sim Makesim1.tmp Makesim2.tmp
4259 "stamp-h":C
) echo > stamp-h
;;
4267 ac_clean_files
=$ac_clean_files_save
4269 test $ac_write_fail = 0 ||
4270 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
4273 # configure is writing to config.log, and then calls config.status.
4274 # config.status does its own redirection, appending to config.log.
4275 # Unfortunately, on DOS this fails, as config.log is still kept open
4276 # by configure, so config.status won't be able to write to it; its
4277 # output is simply discarded. So we exec the FD to /dev/null,
4278 # effectively closing config.log, so it can be properly (re)opened and
4279 # appended to by config.status. When coming back to configure, we
4280 # need to make the FD available again.
4281 if test "$no_create" != yes; then
4283 ac_config_status_args
=
4284 test "$silent" = yes &&
4285 ac_config_status_args
="$ac_config_status_args --quiet"
4287 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
4289 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4290 # would make configure fail if this is the last instruction.
4291 $ac_cs_success || as_fn_exit
1
4293 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
4294 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4295 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}