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 test \$(( 1 + 1 )) = 2 || exit 1"
200 if (eval "$as_required") 2>/dev
/null
; then :
205 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
208 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
210 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
213 test -z "$as_dir" && as_dir
=.
217 for as_base
in sh bash ksh sh5
; do
218 # Try only shells that exist, to save several forks.
219 as_shell
=$as_dir/$as_base
220 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
221 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
222 CONFIG_SHELL
=$as_shell as_have_required
=yes
223 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
231 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
232 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
233 CONFIG_SHELL
=$SHELL as_have_required
=yes
238 if test "x$CONFIG_SHELL" != x
; then :
240 # We cannot yet assume a decent shell, so we have to provide a
241 # neutralization value for shells without unset; and this also
242 # works around shells that cannot unset nonexistent variables.
243 # Preserve -v and -x to the replacement shell.
246 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
248 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
253 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
254 # Admittedly, this is quite paranoid, since all the known shells bail
255 # out after a failed `exec'.
256 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
260 if test x
$as_have_required = xno
; then :
261 $as_echo "$0: This script requires a shell more modern than all"
262 $as_echo "$0: the shells that I found on your system."
263 if test x
${ZSH_VERSION+set} = xset
; then
264 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
265 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
267 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
268 $0: including any error possibly output before this
269 $0: message. Then install a modern shell, or manually run
270 $0: the script under such a shell if you do have one."
276 SHELL
=${CONFIG_SHELL-/bin/sh}
278 # Unset more variables known to interfere with behavior of common tools.
279 CLICOLOR_FORCE
= GREP_OPTIONS
=
280 unset CLICOLOR_FORCE GREP_OPTIONS
282 ## --------------------- ##
283 ## M4sh Shell Functions. ##
284 ## --------------------- ##
287 # Portably unset VAR.
290 { eval $1=; unset $1;}
294 # as_fn_set_status STATUS
295 # -----------------------
296 # Set $? to STATUS, without forking.
304 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
314 # Create "$as_dir" as a directory, including parents if necessary.
319 -*) as_dir
=.
/$as_dir;;
321 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
325 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
328 as_dirs
="'$as_qdir' $as_dirs"
329 as_dir
=`$as_dirname -- "$as_dir" ||
330 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
331 X"$as_dir" : 'X\(//\)[^/]' \| \
332 X"$as_dir" : 'X\(//\)$' \| \
333 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
334 $as_echo X"$as_dir" |
335 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
352 test -d "$as_dir" && break
354 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
355 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
360 # as_fn_executable_p FILE
361 # -----------------------
362 # Test if FILE is an executable regular file.
363 as_fn_executable_p
()
365 test -f "$1" && test -x "$1"
366 } # as_fn_executable_p
367 # as_fn_append VAR VALUE
368 # ----------------------
369 # Append the text in VALUE to the end of the definition contained in VAR. Take
370 # advantage of any shell optimizations that allow amortized linear growth over
371 # repeated appends, instead of the typical quadratic growth present in naive
373 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
374 eval 'as_fn_append ()
387 # Perform arithmetic evaluation on the ARGs, and store the result in the
388 # global $as_val. Take advantage of shells that can avoid forks. The arguments
389 # must be portable across $(()) and expr.
390 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
398 as_val
=`expr "$@" || test $? -eq 1`
403 # as_fn_error STATUS ERROR [LINENO LOG_FD]
404 # ----------------------------------------
405 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
406 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
407 # script with STATUS, using 1 if that was 0.
410 as_status
=$1; test $as_status -eq 0 && as_status
=1
412 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
413 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
415 $as_echo "$as_me: error: $2" >&2
416 as_fn_exit
$as_status
419 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
420 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
426 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
432 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
438 as_me
=`$as_basename -- "$0" ||
439 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
440 X"$0" : 'X\(//\)$' \| \
441 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
443 sed '/^.*\/\([^/][^/]*\)\/*$/{
457 # Avoid depending upon Character Ranges.
458 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
459 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
460 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
461 as_cr_digits
='0123456789'
462 as_cr_alnum
=$as_cr_Letters$as_cr_digits
465 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
466 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
467 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
468 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
469 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
481 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 chmod +x
"$as_me.lineno" ||
486 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
488 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
489 # already done that, so ensure we don't try to do so again and fall
490 # in an infinite loop. This has already happened in practice.
491 _as_can_reexec
=no
; export _as_can_reexec
492 # Don't try to exec as it changes $[0], causing all sort of problems
493 # (the dirname of $[0] is not the place where we might find the
494 # original and so on. Autoconf is especially sensitive to this).
496 # Exit status is that of the last command.
500 ECHO_C
= ECHO_N
= ECHO_T
=
501 case `echo -n x` in #(((((
503 case `echo 'xy\c'` in
504 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
506 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
513 rm -f conf$$ conf$$.exe conf$$.
file
514 if test -d conf$$.dir
; then
515 rm -f conf$$.dir
/conf$$.
file
518 mkdir conf$$.dir
2>/dev
/null
520 if (echo >conf$$.
file) 2>/dev
/null
; then
521 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
523 # ... but there are two gotchas:
524 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
525 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
526 # In both cases, we have to default to `cp -pR'.
527 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
529 elif ln conf$$.
file conf$$
2>/dev
/null
; then
537 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
538 rmdir conf$$.dir
2>/dev
/null
540 if mkdir
-p .
2>/dev
/null
; then
541 as_mkdir_p
='mkdir -p "$as_dir"'
543 test -d .
/-p && rmdir .
/-p
548 as_executable_p
=as_fn_executable_p
550 # Sed expression to map a string onto a valid CPP name.
551 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
553 # Sed expression to map a string onto a valid variable name.
554 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
557 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
561 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
562 # so uname gets run too.
563 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
568 ac_default_prefix
=/usr
/local
570 ac_config_libobj_dir
=.
577 # Identity of this package.
585 ac_unique_file
="Makefile.in"
586 ac_subst_vars
='LTLIBOBJS
601 MAINTAINER_MODE_FALSE
655 program_transform_name
672 enable_option_checking
673 enable_maintainer_mode
677 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-hardware=LIST
1299 Specify the hardware to be included
in the build.
1301 Some influential environment variables
:
1302 CC C compiler
command
1303 CFLAGS C compiler flags
1304 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1305 nonstandard directory
<lib dir
>
1306 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1307 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1308 you have headers
in a nonstandard directory
<include dir
>
1311 Use these variables to override the choices made by
`configure' or to help
1312 it to find libraries and programs with nonstandard names/locations.
1314 Report bugs to the package provider.
1319 if test "$ac_init_help" = "recursive"; then
1320 # If there are subdirs, report their specific --help.
1321 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1322 test -d "$ac_dir" ||
1323 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1328 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1330 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1331 # A ".." for each directory in $ac_dir_suffix.
1332 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1333 case $ac_top_builddir_sub in
1334 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1335 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1338 ac_abs_top_builddir=$ac_pwd
1339 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1340 # for backward compatibility:
1341 ac_top_builddir=$ac_top_build_prefix
1344 .) # We are building in place.
1346 ac_top_srcdir=$ac_top_builddir_sub
1347 ac_abs_top_srcdir=$ac_pwd ;;
1348 [\\/]* | ?:[\\/]* ) # Absolute name.
1349 ac_srcdir=$srcdir$ac_dir_suffix;
1350 ac_top_srcdir=$srcdir
1351 ac_abs_top_srcdir=$srcdir ;;
1353 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1354 ac_top_srcdir=$ac_top_build_prefix$srcdir
1355 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1357 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1359 cd "$ac_dir" || { ac_status=$?; continue; }
1360 # Check for guested configure.
1361 if test -f "$ac_srcdir/configure.gnu"; then
1363 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1364 elif test -f "$ac_srcdir/configure"; then
1366 $SHELL "$ac_srcdir/configure" --help=recursive
1368 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1370 cd "$ac_pwd" || { ac_status=$?; break; }
1374 test -n "$ac_init_help" && exit $ac_status
1375 if $ac_init_version; then
1378 generated by GNU Autoconf 2.69
1380 Copyright (C) 2012 Free Software Foundation, Inc.
1381 This configure script is free software; the Free Software Foundation
1382 gives unlimited permission to copy, distribute and modify it.
1387 ## ------------------------ ##
1388 ## Autoconf initialization. ##
1389 ## ------------------------ ##
1391 # ac_fn_c_try_compile LINENO
1392 # --------------------------
1393 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1394 ac_fn_c_try_compile ()
1396 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1397 rm -f conftest.$ac_objext
1398 if { { ac_try="$ac_compile"
1400 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1401 *) ac_try_echo
=$ac_try;;
1403 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1404 $as_echo "$ac_try_echo"; } >&5
1405 (eval "$ac_compile") 2>conftest.err
1407 if test -s conftest.err
; then
1408 grep -v '^ *+' conftest.err
>conftest.er1
1409 cat conftest.er1
>&5
1410 mv -f conftest.er1 conftest.err
1412 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1413 test $ac_status = 0; } && {
1414 test -z "$ac_c_werror_flag" ||
1415 test ! -s conftest.err
1416 } && test -s conftest.
$ac_objext; then :
1419 $as_echo "$as_me: failed program was:" >&5
1420 sed 's/^/| /' conftest.
$ac_ext >&5
1424 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1425 as_fn_set_status
$ac_retval
1427 } # ac_fn_c_try_compile
1429 # ac_fn_c_try_cpp LINENO
1430 # ----------------------
1431 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1434 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1435 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1437 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1438 *) ac_try_echo=$ac_try;;
1440 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1441 $as_echo "$ac_try_echo"; } >&5
1442 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1444 if test -s conftest.err; then
1445 grep -v '^ *+' conftest.err >conftest.er1
1446 cat conftest.er1 >&5
1447 mv -f conftest.er1 conftest.err
1449 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1450 test $ac_status = 0; } > conftest.i && {
1451 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1452 test ! -s conftest.err
1456 $as_echo "$as_me: failed program was:" >&5
1457 sed 's/^/| /' conftest.$ac_ext >&5
1461 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1462 as_fn_set_status $ac_retval
1466 # ac_fn_c_try_link LINENO
1467 # -----------------------
1468 # Try to link conftest.$ac_ext, and return whether this succeeded.
1471 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1472 rm -f conftest.$ac_objext conftest$ac_exeext
1473 if { { ac_try="$ac_link"
1475 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1476 *) ac_try_echo
=$ac_try;;
1478 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1479 $as_echo "$ac_try_echo"; } >&5
1480 (eval "$ac_link") 2>conftest.err
1482 if test -s conftest.err
; then
1483 grep -v '^ *+' conftest.err
>conftest.er1
1484 cat conftest.er1
>&5
1485 mv -f conftest.er1 conftest.err
1487 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1488 test $ac_status = 0; } && {
1489 test -z "$ac_c_werror_flag" ||
1490 test ! -s conftest.err
1491 } && test -s conftest
$ac_exeext && {
1492 test "$cross_compiling" = yes ||
1493 test -x conftest
$ac_exeext
1497 $as_echo "$as_me: failed program was:" >&5
1498 sed 's/^/| /' conftest.
$ac_ext >&5
1502 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1503 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1504 # interfere with the next link command; also delete a directory that is
1505 # left behind by Apple's compiler. We do this before executing the actions.
1506 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1507 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1508 as_fn_set_status
$ac_retval
1510 } # ac_fn_c_try_link
1511 cat >config.log
<<_ACEOF
1512 This file contains any messages produced by compilers while
1513 running configure, to aid debugging if configure makes a mistake.
1515 It was created by $as_me, which was
1516 generated by GNU Autoconf 2.69. Invocation command line was
1528 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1529 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1530 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1531 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1532 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1534 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1535 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1537 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1538 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1539 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1540 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1541 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1542 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1543 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1547 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1551 test -z "$as_dir" && as_dir
=.
1552 $as_echo "PATH: $as_dir"
1568 # Keep a trace of the command line.
1569 # Strip out --no-create and --no-recursion so they do not pile up.
1570 # Strip out --silent because we don't want to record it for future runs.
1571 # Also quote any args containing shell meta-characters.
1572 # Make two passes to allow for proper duplicate-argument suppression.
1576 ac_must_keep_next
=false
1582 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1583 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1584 |
-silent |
--silent |
--silen |
--sile |
--sil)
1587 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1590 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1592 as_fn_append ac_configure_args1
" '$ac_arg'"
1593 if test $ac_must_keep_next = true
; then
1594 ac_must_keep_next
=false
# Got value, back to normal.
1597 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1598 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1599 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1600 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1601 case "$ac_configure_args0 " in
1602 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1605 -* ) ac_must_keep_next
=true
;;
1608 as_fn_append ac_configure_args
" '$ac_arg'"
1613 { ac_configure_args0
=; unset ac_configure_args0
;}
1614 { ac_configure_args1
=; unset ac_configure_args1
;}
1616 # When interrupted or exit'd, cleanup temporary files, and complete
1617 # config.log. We remove comments because anyway the quotes in there
1618 # would cause problems or look ugly.
1619 # WARNING: Use '\'' to represent an apostrophe within the trap.
1620 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1621 trap 'exit_status=$?
1622 # Save into config.log some information that might help in debugging.
1626 $as_echo "## ---------------- ##
1627 ## Cache variables. ##
1628 ## ---------------- ##"
1630 # The following way of writing the cache mishandles newlines in values,
1632 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1633 eval ac_val=\$$ac_var
1637 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1638 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1641 _ | IFS | as_nl) ;; #(
1642 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1643 *) { eval $ac_var=; unset $ac_var;} ;;
1648 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1649 *${as_nl}ac_space=\ *)
1651 "s/'\''/'\''\\\\'\'''\''/g;
1652 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1655 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1662 $as_echo "## ----------------- ##
1663 ## Output variables. ##
1664 ## ----------------- ##"
1666 for ac_var in $ac_subst_vars
1668 eval ac_val=\$$ac_var
1670 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1672 $as_echo "$ac_var='\''$ac_val'\''"
1676 if test -n "$ac_subst_files"; then
1677 $as_echo "## ------------------- ##
1678 ## File substitutions. ##
1679 ## ------------------- ##"
1681 for ac_var
in $ac_subst_files
1683 eval ac_val
=\$
$ac_var
1685 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1687 $as_echo "$ac_var='\''$ac_val'\''"
1692 if test -s confdefs.h; then
1693 $as_echo "## ----------- ##
1700 test "$ac_signal" != 0 &&
1701 $as_echo "$as_me: caught signal $ac_signal"
1702 $as_echo "$as_me: exit $exit_status"
1704 rm -f core *.core core.conftest.* &&
1705 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1708 for ac_signal
in 1 2 13 15; do
1709 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1713 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1714 rm -f -r conftest
* confdefs.h
1716 $as_echo "/* confdefs.h */" > confdefs.h
1718 # Predefined preprocessor variables.
1720 cat >>confdefs.h
<<_ACEOF
1721 #define PACKAGE_NAME "$PACKAGE_NAME"
1724 cat >>confdefs.h
<<_ACEOF
1725 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1728 cat >>confdefs.h
<<_ACEOF
1729 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1732 cat >>confdefs.h
<<_ACEOF
1733 #define PACKAGE_STRING "$PACKAGE_STRING"
1736 cat >>confdefs.h
<<_ACEOF
1737 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1740 cat >>confdefs.h
<<_ACEOF
1741 #define PACKAGE_URL "$PACKAGE_URL"
1745 # Let the site file select an alternate cache file if it wants to.
1746 # Prefer an explicitly selected file to automatically selected ones.
1749 if test -n "$CONFIG_SITE"; then
1750 # We do not want a PATH search for config.site.
1751 case $CONFIG_SITE in #((
1752 -*) ac_site_file1
=.
/$CONFIG_SITE;;
1753 */*) ac_site_file1
=$CONFIG_SITE;;
1754 *) ac_site_file1
=.
/$CONFIG_SITE;;
1756 elif test "x$prefix" != xNONE
; then
1757 ac_site_file1
=$prefix/share
/config.site
1758 ac_site_file2
=$prefix/etc
/config.site
1760 ac_site_file1
=$ac_default_prefix/share
/config.site
1761 ac_site_file2
=$ac_default_prefix/etc
/config.site
1763 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
1765 test "x$ac_site_file" = xNONE
&& continue
1766 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
1767 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1768 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1769 sed 's/^/| /' "$ac_site_file" >&5
1771 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1772 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1773 as_fn_error $?
"failed to load site script $ac_site_file
1774 See \`config.log' for more details" "$LINENO" 5; }
1778 if test -r "$cache_file"; then
1779 # Some versions of bash will fail to source /dev/null (special files
1780 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1781 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
1782 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1783 $as_echo "$as_me: loading cache $cache_file" >&6;}
1785 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1786 *) .
"./$cache_file";;
1790 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1791 $as_echo "$as_me: creating cache $cache_file" >&6;}
1795 # Check that the precious variables saved in the cache have kept the same
1797 ac_cache_corrupted
=false
1798 for ac_var
in $ac_precious_vars; do
1799 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1800 eval ac_new_set
=\
$ac_env_${ac_var}_set
1801 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1802 eval ac_new_val
=\
$ac_env_${ac_var}_value
1803 case $ac_old_set,$ac_new_set in
1805 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1806 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1807 ac_cache_corrupted
=: ;;
1809 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1810 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1811 ac_cache_corrupted
=: ;;
1814 if test "x$ac_old_val" != "x$ac_new_val"; then
1815 # differences in whitespace do not lead to failure.
1816 ac_old_val_w
=`echo x $ac_old_val`
1817 ac_new_val_w
=`echo x $ac_new_val`
1818 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1819 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1820 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1821 ac_cache_corrupted
=:
1823 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1824 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1825 eval $ac_var=\
$ac_old_val
1827 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1828 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1829 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1830 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1833 # Pass precious variables to config.status.
1834 if test "$ac_new_set" = set; then
1836 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1837 *) ac_arg
=$ac_var=$ac_new_val ;;
1839 case " $ac_configure_args " in
1840 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1841 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
1845 if $ac_cache_corrupted; then
1846 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1847 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1848 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1849 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1850 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1852 ## -------------------- ##
1853 ## Main body of script. ##
1854 ## -------------------- ##
1857 ac_cpp
='$CPP $CPPFLAGS'
1858 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1859 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1860 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1869 ac_cpp
='$CPP $CPPFLAGS'
1870 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1871 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1872 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1873 if test -n "$ac_tool_prefix"; then
1874 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1875 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1877 $as_echo_n "checking for $ac_word... " >&6; }
1878 if ${ac_cv_prog_CC+:} false
; then :
1879 $as_echo_n "(cached) " >&6
1881 if test -n "$CC"; then
1882 ac_cv_prog_CC
="$CC" # Let the user override the test.
1884 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1888 test -z "$as_dir" && as_dir
=.
1889 for ac_exec_ext
in '' $ac_executable_extensions; do
1890 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
1891 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1892 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1902 if test -n "$CC"; then
1903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1904 $as_echo "$CC" >&6; }
1906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1907 $as_echo "no" >&6; }
1912 if test -z "$ac_cv_prog_CC"; then
1914 # Extract the first word of "gcc", so it can be a program name with args.
1915 set dummy gcc
; ac_word
=$2
1916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1917 $as_echo_n "checking for $ac_word... " >&6; }
1918 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
1919 $as_echo_n "(cached) " >&6
1921 if test -n "$ac_ct_CC"; then
1922 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1924 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1928 test -z "$as_dir" && as_dir
=.
1929 for ac_exec_ext
in '' $ac_executable_extensions; do
1930 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
1931 ac_cv_prog_ac_ct_CC
="gcc"
1932 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1941 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1942 if test -n "$ac_ct_CC"; then
1943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
1944 $as_echo "$ac_ct_CC" >&6; }
1946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1947 $as_echo "no" >&6; }
1950 if test "x$ac_ct_CC" = x
; then
1953 case $cross_compiling:$ac_tool_warned in
1955 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1956 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1957 ac_tool_warned
=yes ;;
1965 if test -z "$CC"; then
1966 if test -n "$ac_tool_prefix"; then
1967 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1968 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1970 $as_echo_n "checking for $ac_word... " >&6; }
1971 if ${ac_cv_prog_CC+:} false
; then :
1972 $as_echo_n "(cached) " >&6
1974 if test -n "$CC"; then
1975 ac_cv_prog_CC
="$CC" # Let the user override the test.
1977 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1981 test -z "$as_dir" && as_dir
=.
1982 for ac_exec_ext
in '' $ac_executable_extensions; do
1983 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
1984 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1985 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1995 if test -n "$CC"; then
1996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1997 $as_echo "$CC" >&6; }
1999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2000 $as_echo "no" >&6; }
2006 if test -z "$CC"; then
2007 # Extract the first word of "cc", so it can be a program name with args.
2008 set dummy cc
; ac_word
=$2
2009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2010 $as_echo_n "checking for $ac_word... " >&6; }
2011 if ${ac_cv_prog_CC+:} false
; then :
2012 $as_echo_n "(cached) " >&6
2014 if test -n "$CC"; then
2015 ac_cv_prog_CC
="$CC" # Let the user override the test.
2018 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2022 test -z "$as_dir" && as_dir
=.
2023 for ac_exec_ext
in '' $ac_executable_extensions; do
2024 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2025 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2026 ac_prog_rejected
=yes
2030 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2037 if test $ac_prog_rejected = yes; then
2038 # We found a bogon in the path, so make sure we never use it.
2039 set dummy
$ac_cv_prog_CC
2041 if test $# != 0; then
2042 # We chose a different compiler from the bogus one.
2043 # However, it has the same basename, so the bogon will be chosen
2044 # first if we set CC to just the basename; use the full file name.
2046 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2052 if test -n "$CC"; then
2053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2054 $as_echo "$CC" >&6; }
2056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2057 $as_echo "no" >&6; }
2062 if test -z "$CC"; then
2063 if test -n "$ac_tool_prefix"; then
2064 for ac_prog
in cl.exe
2066 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2067 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2069 $as_echo_n "checking for $ac_word... " >&6; }
2070 if ${ac_cv_prog_CC+:} false
; then :
2071 $as_echo_n "(cached) " >&6
2073 if test -n "$CC"; then
2074 ac_cv_prog_CC
="$CC" # Let the user override the test.
2076 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2080 test -z "$as_dir" && as_dir
=.
2081 for ac_exec_ext
in '' $ac_executable_extensions; do
2082 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2083 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2084 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2094 if test -n "$CC"; then
2095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2096 $as_echo "$CC" >&6; }
2098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2099 $as_echo "no" >&6; }
2103 test -n "$CC" && break
2106 if test -z "$CC"; then
2108 for ac_prog
in cl.exe
2110 # Extract the first word of "$ac_prog", so it can be a program name with args.
2111 set dummy
$ac_prog; ac_word
=$2
2112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2113 $as_echo_n "checking for $ac_word... " >&6; }
2114 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2115 $as_echo_n "(cached) " >&6
2117 if test -n "$ac_ct_CC"; then
2118 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2120 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2124 test -z "$as_dir" && as_dir
=.
2125 for ac_exec_ext
in '' $ac_executable_extensions; do
2126 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2127 ac_cv_prog_ac_ct_CC
="$ac_prog"
2128 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2137 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2138 if test -n "$ac_ct_CC"; then
2139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2140 $as_echo "$ac_ct_CC" >&6; }
2142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2143 $as_echo "no" >&6; }
2147 test -n "$ac_ct_CC" && break
2150 if test "x$ac_ct_CC" = x
; then
2153 case $cross_compiling:$ac_tool_warned in
2155 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2156 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2157 ac_tool_warned
=yes ;;
2166 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2167 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2168 as_fn_error $?
"no acceptable C compiler found in \$PATH
2169 See \`config.log' for more details" "$LINENO" 5; }
2171 # Provide some information about the compiler.
2172 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2175 for ac_option
in --version -v -V -qversion; do
2176 { { ac_try
="$ac_compiler $ac_option >&5"
2178 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2179 *) ac_try_echo=$ac_try;;
2181 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2182 $as_echo "$ac_try_echo"; } >&5
2183 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2185 if test -s conftest.err; then
2187 ... rest of stderr output deleted ...
2188 10q' conftest.err >conftest.er1
2189 cat conftest.er1 >&5
2191 rm -f conftest.er1 conftest.err
2192 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2193 test $ac_status = 0; }
2196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2197 /* end confdefs.h. */
2207 ac_clean_files_save=$ac_clean_files
2208 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2209 # Try to create an executable without -o first, disregard a.out.
2210 # It will help us diagnose broken compilers, and finding out an intuition
2212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2213 $as_echo_n "checking whether the C compiler works... " >&6; }
2214 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2216 # The possible output files:
2217 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2220 for ac_file in $ac_files
2223 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2224 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2229 if { { ac_try="$ac_link_default"
2231 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2232 *) ac_try_echo
=$ac_try;;
2234 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2235 $as_echo "$ac_try_echo"; } >&5
2236 (eval "$ac_link_default") 2>&5
2238 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2239 test $ac_status = 0; }; then :
2240 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2241 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2242 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2243 # so that the user can short-circuit this test for compilers unknown to
2245 for ac_file
in $ac_files ''
2247 test -f "$ac_file" ||
continue
2249 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
2252 # We found the default executable, but exeext='' is most
2256 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2258 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2260 # We set ac_cv_exeext here because the later test for it is not
2261 # safe: cross compilers may not add the suffix if given an `-o'
2262 # argument, so we may need to know it at that point already.
2263 # Even if this section looks crufty: it has the advantage of
2270 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2275 if test -z "$ac_file"; then :
2276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2277 $as_echo "no" >&6; }
2278 $as_echo "$as_me: failed program was:" >&5
2279 sed 's/^/| /' conftest.
$ac_ext >&5
2281 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2282 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2283 as_fn_error
77 "C compiler cannot create executables
2284 See \`config.log' for more details" "$LINENO" 5; }
2286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2287 $as_echo "yes" >&6; }
2289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2290 $as_echo_n "checking for C compiler default output file name... " >&6; }
2291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2292 $as_echo "$ac_file" >&6; }
2293 ac_exeext
=$ac_cv_exeext
2295 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
2296 ac_clean_files
=$ac_clean_files_save
2297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2298 $as_echo_n "checking for suffix of executables... " >&6; }
2299 if { { ac_try
="$ac_link"
2301 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2302 *) ac_try_echo=$ac_try;;
2304 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2305 $as_echo "$ac_try_echo"; } >&5
2306 (eval "$ac_link") 2>&5
2308 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2309 test $ac_status = 0; }; then :
2310 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
2311 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
2312 # work properly (i.e., refer to `conftest.exe'), while it won't with
2314 for ac_file
in conftest.exe conftest conftest.
*; do
2315 test -f "$ac_file" ||
continue
2317 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2318 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2324 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2325 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2326 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
2327 See \`config.log' for more details" "$LINENO" 5; }
2329 rm -f conftest conftest
$ac_cv_exeext
2330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2331 $as_echo "$ac_cv_exeext" >&6; }
2333 rm -f conftest.
$ac_ext
2334 EXEEXT
=$ac_cv_exeext
2336 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2337 /* end confdefs.h. */
2342 FILE *f = fopen ("conftest.out", "w");
2343 return ferror (f) || fclose (f) != 0;
2349 ac_clean_files
="$ac_clean_files conftest.out"
2350 # Check that the compiler produces executables we can run. If not, either
2351 # the compiler is broken, or we cross compile.
2352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2353 $as_echo_n "checking whether we are cross compiling... " >&6; }
2354 if test "$cross_compiling" != yes; then
2355 { { ac_try
="$ac_link"
2357 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2358 *) ac_try_echo=$ac_try;;
2360 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2361 $as_echo "$ac_try_echo"; } >&5
2362 (eval "$ac_link") 2>&5
2364 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2365 test $ac_status = 0; }
2366 if { ac_try='./conftest$ac_cv_exeext'
2367 { { case "(($ac_try" in
2368 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2369 *) ac_try_echo
=$ac_try;;
2371 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2372 $as_echo "$ac_try_echo"; } >&5
2373 (eval "$ac_try") 2>&5
2375 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2376 test $ac_status = 0; }; }; then
2379 if test "$cross_compiling" = maybe
; then
2382 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2383 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2384 as_fn_error $?
"cannot run C compiled programs.
2385 If you meant to cross compile, use \`--host'.
2386 See \`config.log' for more details" "$LINENO" 5; }
2390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2391 $as_echo "$cross_compiling" >&6; }
2393 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
2394 ac_clean_files
=$ac_clean_files_save
2395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2396 $as_echo_n "checking for suffix of object files... " >&6; }
2397 if ${ac_cv_objext+:} false
; then :
2398 $as_echo_n "(cached) " >&6
2400 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2401 /* end confdefs.h. */
2411 rm -f conftest.o conftest.obj
2412 if { { ac_try
="$ac_compile"
2414 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2415 *) ac_try_echo=$ac_try;;
2417 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2418 $as_echo "$ac_try_echo"; } >&5
2419 (eval "$ac_compile") 2>&5
2421 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2422 test $ac_status = 0; }; then :
2423 for ac_file in conftest.o conftest.obj conftest.*; do
2424 test -f "$ac_file" || continue;
2426 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2427 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2432 $as_echo "$as_me: failed program was:" >&5
2433 sed 's/^/| /' conftest.$ac_ext >&5
2435 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2436 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2437 as_fn_error $? "cannot compute suffix of object files
: cannot compile
2438 See \
`config.log' for more details" "$LINENO" 5; }
2440 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2443 $as_echo "$ac_cv_objext" >&6; }
2444 OBJEXT=$ac_cv_objext
2446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2447 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2448 if ${ac_cv_c_compiler_gnu+:} false; then :
2449 $as_echo_n "(cached) " >&6
2451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2452 /* end confdefs.h. */
2465 if ac_fn_c_try_compile "$LINENO"; then :
2470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2471 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2475 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2476 if test $ac_compiler_gnu = yes; then
2481 ac_test_CFLAGS=${CFLAGS+set}
2482 ac_save_CFLAGS=$CFLAGS
2483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2484 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2485 if ${ac_cv_prog_cc_g+:} false; then :
2486 $as_echo_n "(cached) " >&6
2488 ac_save_c_werror_flag=$ac_c_werror_flag
2489 ac_c_werror_flag=yes
2492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2493 /* end confdefs.h. */
2503 if ac_fn_c_try_compile "$LINENO"; then :
2507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2508 /* end confdefs.h. */
2518 if ac_fn_c_try_compile "$LINENO"; then :
2521 ac_c_werror_flag=$ac_save_c_werror_flag
2523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2524 /* end confdefs.h. */
2534 if ac_fn_c_try_compile "$LINENO"; then :
2537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2542 ac_c_werror_flag=$ac_save_c_werror_flag
2544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2545 $as_echo "$ac_cv_prog_cc_g" >&6; }
2546 if test "$ac_test_CFLAGS" = set; then
2547 CFLAGS=$ac_save_CFLAGS
2548 elif test $ac_cv_prog_cc_g = yes; then
2549 if test "$GCC" = yes; then
2555 if test "$GCC" = yes; then
2561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2562 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2563 if ${ac_cv_prog_cc_c89+:} false; then :
2564 $as_echo_n "(cached) " >&6
2566 ac_cv_prog_cc_c89=no
2568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2569 /* end confdefs.h. */
2573 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2574 struct buf { int x; };
2575 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2576 static char *e (p, i)
2582 static char *f (char * (*g) (char **, int), char **p, ...)
2587 s = g (p, va_arg (v,int));
2592 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2593 function prototypes and stuff, but not '\xHH' hex character constants.
2594 These don't provoke an error unfortunately, instead are silently treated
2595 as 'x'. The following induces an error, until -std is added to get
2596 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2597 array size at least. It's necessary to write '\x00'==0 to get something
2598 that's true only with -std. */
2599 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2601 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2602 inside strings and character constants. */
2604 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2606 int test (int i, double x);
2607 struct s1 {int (*f) (int a);};
2608 struct s2 {int (*f) (double a);};
2609 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2615 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2620 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2621 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2623 CC="$ac_save_CC $ac_arg"
2624 if ac_fn_c_try_compile "$LINENO"; then :
2625 ac_cv_prog_cc_c89=$ac_arg
2627 rm -f core conftest.err conftest.$ac_objext
2628 test "x$ac_cv_prog_cc_c89" != "xno" && break
2630 rm -f conftest.$ac_ext
2635 case "x$ac_cv_prog_cc_c89" in
2637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2638 $as_echo "none needed" >&6; } ;;
2640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2641 $as_echo "unsupported" >&6; } ;;
2643 CC="$CC $ac_cv_prog_cc_c89"
2644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2645 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2647 if test "x$ac_cv_prog_cc_c89" != xno; then :
2652 ac_cpp='$CPP $CPPFLAGS'
2653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2658 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2659 if test -f "$ac_dir/install-sh"; then
2661 ac_install_sh="$ac_aux_dir/install-sh -c"
2663 elif test -f "$ac_dir/install.sh"; then
2665 ac_install_sh="$ac_aux_dir/install.sh -c"
2667 elif test -f "$ac_dir/shtool"; then
2669 ac_install_sh="$ac_aux_dir/shtool install -c"
2673 if test -z "$ac_aux_dir"; then
2674 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2677 # These three variables are undocumented and unsupported,
2678 # and are intended to be withdrawn in a future Autoconf release.
2679 # They can cause serious problems if a builder's source tree is in a directory
2680 # whose full name contains unusual characters.
2681 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2682 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2683 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2686 # Find a good install program. We prefer a C program (faster),
2687 # so one script is as good as another. But avoid the broken or
2688 # incompatible versions:
2689 # SysV /etc/install, /usr/sbin/install
2690 # SunOS /usr/etc/install
2691 # IRIX /sbin/install
2693 # AmigaOS /C/install, which installs bootblocks on floppy discs
2694 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2695 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2696 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2697 # OS/2's system install, which has a completely different semantic
2698 # ./install, which can be erroneously created by make from ./install.sh.
2699 # Reject install programs that cannot install multiple files.
2700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2701 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2702 if test -z "$INSTALL"; then
2703 if ${ac_cv_path_install+:} false; then :
2704 $as_echo_n "(cached) " >&6
2706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2710 test -z "$as_dir" && as_dir=.
2711 # Account for people who put trailing slashes in PATH elements.
2712 case $as_dir/ in #((
2713 ./ | .// | /[cC]/* | \
2714 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2715 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2718 # OSF1 and SCO ODT 3.0 have their own names for install.
2719 # Don't use installbsd from OSF since it installs stuff as root
2721 for ac_prog in ginstall scoinst install; do
2722 for ac_exec_ext in '' $ac_executable_extensions; do
2723 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2724 if test $ac_prog = install &&
2725 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2726 # AIX install. It has an incompatible calling convention.
2728 elif test $ac_prog = install &&
2729 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2730 # program-specific install script used by HP pwplus--don't use.
2733 rm -rf conftest.one conftest.two conftest.dir
2734 echo one > conftest.one
2735 echo two > conftest.two
2737 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2738 test -s conftest.one && test -s conftest.two &&
2739 test -s conftest.dir/conftest.one &&
2740 test -s conftest.dir/conftest.two
2742 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2755 rm -rf conftest.one conftest.two conftest.dir
2758 if test "${ac_cv_path_install+set}" = set; then
2759 INSTALL=$ac_cv_path_install
2761 # As a last resort, use the slow shell script. Don't cache a
2762 # value for INSTALL within a source directory, because that will
2763 # break other packages using the cache if that directory is
2764 # removed, or if the value is a relative name.
2765 INSTALL=$ac_install_sh
2768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2769 $as_echo "$INSTALL" >&6; }
2771 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2772 # It thinks the first close brace ends the variable substitution.
2773 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2775 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2777 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2779 rm -rf .tst 2>/dev/null
2780 mkdir .tst 2>/dev/null
2781 if test -d .tst; then
2786 rmdir .tst 2>/dev/null
2788 DEPDIR="${am__leading_dot}deps"
2790 # Dependency checking.
2793 ac_config_commands="$ac_config_commands depdir"
2796 depcc="$CC" am_compiler_list=
2798 am_depcomp=$ac_aux_dir/depcomp
2799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
2800 $as_echo_n "checking dependency style of $depcc... " >&6; }
2801 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
2802 $as_echo_n "(cached) " >&6
2804 if test -f "$am_depcomp"; then
2805 # We make a subdir and do the tests there. Otherwise we can end up
2806 # making bogus files that we don't know about and never remove. For
2807 # instance it was reported that on HP-UX the gcc test will end up
2808 # making a dummy file named `D
' -- because `-MD' means
`put the output
2811 # Copy depcomp to subdir because otherwise we won't find it if we're
2812 # using a relative directory.
2813 cp "$am_depcomp" conftest.dir
2815 # We will build objects and dependencies in a subdirectory because
2816 # it helps to detect inapplicable dependency modes. For instance
2817 # both Tru64's cc and ICC support -MD to output dependencies as a
2818 # side effect of compilation, but ICC will put the dependencies in
2819 # the current directory while Tru64 will put them in the object
2823 am_cv_CC_dependencies_compiler_type=none
2824 if test "$am_compiler_list" = ""; then
2825 am_compiler_list=`sed -n 's/^\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
2827 for depmode in $am_compiler_list; do
2828 if test $depmode = none; then break; fi
2830 $as_echo "$as_me:$LINENO: trying $depmode" >&5
2831 # Setup a source with many dependencies, because some compilers
2832 # like to wrap large dependency lists on column 80 (with \), and
2833 # we should not choose a depcomp mode which is confused by this.
2835 # We need to recreate these files for each test, as the compiler may
2836 # overwrite some of them when testing with obscure command lines.
2837 # This happens at least with the AIX C compiler.
2839 for i in 1 2 3 4 5 6; do
2840 echo '#include "conftst'$i'.h"' >> sub/conftest.c
2841 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
2842 # Solaris 8's
{/usr
,}/bin
/sh.
2843 touch sub
/conftst
$i.h
2845 echo "include sub/conftest.Po" > confmf
2847 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2848 # mode. It turns out that the SunPro C++ compiler does not properly
2849 # handle `-M -o', and we need to detect this.
2850 depcmd
="depmode=$depmode \
2851 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2852 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2853 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c"
2854 echo "| $depcmd" |
sed -e 's/ */ /g' >&5
2855 if env
$depcmd > conftest.err
2>&1 &&
2856 grep sub
/conftst6.h sub
/conftest.Po
>>conftest.err
2>&1 &&
2857 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
>>conftest.err
2>&1 &&
2858 ${MAKE-make} -s -f confmf
>>conftest.err
2>&1; then
2859 # icc doesn't choke on unknown options, it will just issue warnings
2860 # or remarks (even with -Werror). So we grep stderr for any message
2861 # that says an option was ignored or not supported.
2862 # When given -MP, icc 7.0 and 7.1 complain thusly:
2863 # icc: Command line warning: ignoring option '-M'; no argument required
2864 # The diagnosis changed in icc 8.0:
2865 # icc: Command line remark: option '-MP' not supported
2866 if (grep 'ignoring option' conftest.err ||
2867 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
2868 am_cv_CC_dependencies_compiler_type
=$depmode
2869 $as_echo "$as_me:$LINENO: success" >&5
2873 $as_echo "$as_me:$LINENO: failure, diagnostics are:" >&5
2874 sed -e 's/^/| /' < conftest.err
>&5
2880 am_cv_CC_dependencies_compiler_type
=none
2884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
2885 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
2886 if test x
${am_cv_CC_dependencies_compiler_type-none} = xnone
2887 then as_fn_error $?
"no usable dependency style found" "$LINENO" 5
2888 else CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
2894 # If we haven't got the data from the intl directory,
2895 # assume NLS is disabled.
2904 if test -f ..
/..
/intl
/config.intl
; then
2905 . ..
/..
/intl
/config.intl
2907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
2908 $as_echo_n "checking whether NLS is requested... " >&6; }
2909 if test x
"$USE_NLS" != xyes
; then
2910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2911 $as_echo "no" >&6; }
2913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2914 $as_echo "yes" >&6; }
2916 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
2919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
2920 $as_echo_n "checking for catalogs to be installed... " >&6; }
2921 # Look for .po and .gmo files in the source directory.
2924 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
2925 # If there aren't any .gmo files the shell will give us the
2926 # literal string "../path/to/srcdir/po/*.gmo" which has to be
2928 case "$cat" in *\
**)
2931 # The quadruple backslash is collapsed to a double backslash
2932 # by the backticks, then collapsed again by the double quotes,
2933 # leaving us with one backslash in the sed expression (right
2934 # before the dot that mustn't act as a wildcard).
2935 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
2936 lang
=`echo $cat | sed -e "s!\\\\.gmo!!"`
2937 # The user is allowed to set LINGUAS to a list of languages to
2938 # install catalogs for. If it's empty that means "all of them."
2939 if test "x$LINGUAS" = x
; then
2940 CATALOGS
="$CATALOGS $cat"
2941 XLINGUAS
="$XLINGUAS $lang"
2943 case "$LINGUAS" in *$lang*)
2944 CATALOGS
="$CATALOGS $cat"
2945 XLINGUAS
="$XLINGUAS $lang"
2951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
2952 $as_echo "$LINGUAS" >&6; }
2966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2967 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2968 # Check whether --enable-maintainer-mode was given.
2969 if test "${enable_maintainer_mode+set}" = set; then :
2970 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
2972 USE_MAINTAINER_MODE
=no
2975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2976 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2977 if test $USE_MAINTAINER_MODE = yes; then
2978 MAINTAINER_MODE_TRUE
=
2979 MAINTAINER_MODE_FALSE
='#'
2981 MAINTAINER_MODE_TRUE
='#'
2982 MAINTAINER_MODE_FALSE
=
2985 MAINT
=$MAINTAINER_MODE_TRUE
2990 sim_inline
="-DDEFAULT_INLINE=0"
2991 # Check whether --enable-sim-inline was given.
2992 if test "${enable_sim_inline+set}" = set; then :
2993 enableval
=$enable_sim_inline; sim_inline
=""
2994 case "$enableval" in
2995 no
) sim_inline
="-DDEFAULT_INLINE=0";;
2996 0) sim_inline
="-DDEFAULT_INLINE=0";;
2997 yes |
2) sim_inline
="-DDEFAULT_INLINE=ALL_C_INLINE";;
2998 1) sim_inline
="-DDEFAULT_INLINE=INLINE_LOCALS";;
2999 *) for x
in `echo "$enableval" | sed -e "s/,/ /g"`; do
3002 *_INLINE
=*) new_flag
="-D$x";;
3003 *=*) new_flag
=`echo "$x" | sed -e "s/=/_INLINE=/" -e "s/^/-D/"`;;
3004 *_INLINE
) new_flag
="-D$x=ALL_C_INLINE";;
3005 *) new_flag
="-D$x""_INLINE=ALL_C_INLINE";;
3007 if test x
"$sim_inline" = x
""; then
3008 sim_inline
="$new_flag"
3010 sim_inline
="$sim_inline $new_flag"
3014 if test x
"$silent" != x
"yes" && test x
"$sim_inline" != x
""; then
3015 echo "Setting inline flags = $sim_inline" 6>&1
3021 # In the Cygwin environment, we need some additional flags.
3024 ac_cpp
='$CPP $CPPFLAGS'
3025 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3026 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3027 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3029 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3030 # On Suns, sometimes $CPP names a directory.
3031 if test -n "$CPP" && test -d "$CPP"; then
3034 if test -z "$CPP"; then
3035 if ${ac_cv_prog_CPP+:} false
; then :
3036 $as_echo_n "(cached) " >&6
3038 # Double quotes because CPP needs to be expanded
3039 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3042 for ac_c_preproc_warn_flag
in '' yes
3044 # Use a header file that comes with gcc, so configuring glibc
3045 # with a fresh cross-compiler works.
3046 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3047 # <limits.h> exists even on freestanding compilers.
3048 # On the NeXT, cc -E runs the code through the compiler's parser,
3049 # not just through cpp. "Syntax error" is here to catch this case.
3050 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3051 /* end confdefs.h. */
3053 # include <limits.h>
3055 # include <assert.h>
3059 if ac_fn_c_try_cpp
"$LINENO"; then :
3062 # Broken: fails on valid input.
3065 rm -f conftest.err conftest.i conftest.
$ac_ext
3067 # OK, works on sane cases. Now check whether nonexistent headers
3068 # can be detected and how.
3069 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3070 /* end confdefs.h. */
3071 #include <ac_nonexistent.h>
3073 if ac_fn_c_try_cpp
"$LINENO"; then :
3074 # Broken: success on invalid input.
3077 # Passes both tests.
3081 rm -f conftest.err conftest.i conftest.
$ac_ext
3084 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3085 rm -f conftest.i conftest.err conftest.
$ac_ext
3086 if $ac_preproc_ok; then :
3098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3099 $as_echo "$CPP" >&6; }
3101 for ac_c_preproc_warn_flag
in '' yes
3103 # Use a header file that comes with gcc, so configuring glibc
3104 # with a fresh cross-compiler works.
3105 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3106 # <limits.h> exists even on freestanding compilers.
3107 # On the NeXT, cc -E runs the code through the compiler's parser,
3108 # not just through cpp. "Syntax error" is here to catch this case.
3109 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3110 /* end confdefs.h. */
3112 # include <limits.h>
3114 # include <assert.h>
3118 if ac_fn_c_try_cpp
"$LINENO"; then :
3121 # Broken: fails on valid input.
3124 rm -f conftest.err conftest.i conftest.
$ac_ext
3126 # OK, works on sane cases. Now check whether nonexistent headers
3127 # can be detected and how.
3128 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3129 /* end confdefs.h. */
3130 #include <ac_nonexistent.h>
3132 if ac_fn_c_try_cpp
"$LINENO"; then :
3133 # Broken: success on invalid input.
3136 # Passes both tests.
3140 rm -f conftest.err conftest.i conftest.
$ac_ext
3143 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3144 rm -f conftest.i conftest.err conftest.
$ac_ext
3145 if $ac_preproc_ok; then :
3148 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3149 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3150 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
3151 See \`config.log' for more details" "$LINENO" 5; }
3155 ac_cpp
='$CPP $CPPFLAGS'
3156 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3157 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3158 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3162 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3163 if ${ac_cv_path_GREP+:} false
; then :
3164 $as_echo_n "(cached) " >&6
3166 if test -z "$GREP"; then
3167 ac_path_GREP_found
=false
3168 # Loop through the user's path and test for each of PROGNAME-LIST
3169 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3170 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3173 test -z "$as_dir" && as_dir
=.
3174 for ac_prog
in grep ggrep
; do
3175 for ac_exec_ext
in '' $ac_executable_extensions; do
3176 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3177 as_fn_executable_p
"$ac_path_GREP" ||
continue
3178 # Check for GNU ac_path_GREP and select it if it is found.
3179 # Check for GNU $ac_path_GREP
3180 case `"$ac_path_GREP" --version 2>&1` in
3182 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3185 $as_echo_n 0123456789 >"conftest.in"
3188 cat "conftest.in" "conftest.in" >"conftest.tmp"
3189 mv "conftest.tmp" "conftest.in"
3190 cp "conftest.in" "conftest.nl"
3191 $as_echo 'GREP' >> "conftest.nl"
3192 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3193 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3194 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3195 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3196 # Best one so far, save it but keep looking for a better one
3197 ac_cv_path_GREP
="$ac_path_GREP"
3198 ac_path_GREP_max
=$ac_count
3200 # 10*(2^10) chars as input seems more than enough
3201 test $ac_count -gt 10 && break
3203 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3206 $ac_path_GREP_found && break 3
3211 if test -z "$ac_cv_path_GREP"; then
3212 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3215 ac_cv_path_GREP
=$GREP
3219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3220 $as_echo "$ac_cv_path_GREP" >&6; }
3221 GREP
="$ac_cv_path_GREP"
3224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3225 $as_echo_n "checking for egrep... " >&6; }
3226 if ${ac_cv_path_EGREP+:} false
; then :
3227 $as_echo_n "(cached) " >&6
3229 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3230 then ac_cv_path_EGREP
="$GREP -E"
3232 if test -z "$EGREP"; then
3233 ac_path_EGREP_found
=false
3234 # Loop through the user's path and test for each of PROGNAME-LIST
3235 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3236 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3239 test -z "$as_dir" && as_dir
=.
3240 for ac_prog
in egrep; do
3241 for ac_exec_ext
in '' $ac_executable_extensions; do
3242 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3243 as_fn_executable_p
"$ac_path_EGREP" ||
continue
3244 # Check for GNU ac_path_EGREP and select it if it is found.
3245 # Check for GNU $ac_path_EGREP
3246 case `"$ac_path_EGREP" --version 2>&1` in
3248 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3251 $as_echo_n 0123456789 >"conftest.in"
3254 cat "conftest.in" "conftest.in" >"conftest.tmp"
3255 mv "conftest.tmp" "conftest.in"
3256 cp "conftest.in" "conftest.nl"
3257 $as_echo 'EGREP' >> "conftest.nl"
3258 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3259 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3260 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3261 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3262 # Best one so far, save it but keep looking for a better one
3263 ac_cv_path_EGREP
="$ac_path_EGREP"
3264 ac_path_EGREP_max
=$ac_count
3266 # 10*(2^10) chars as input seems more than enough
3267 test $ac_count -gt 10 && break
3269 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3272 $ac_path_EGREP_found && break 3
3277 if test -z "$ac_cv_path_EGREP"; then
3278 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3281 ac_cv_path_EGREP
=$EGREP
3286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3287 $as_echo "$ac_cv_path_EGREP" >&6; }
3288 EGREP
="$ac_cv_path_EGREP"
3291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cygwin" >&5
3292 $as_echo_n "checking for cygwin... " >&6; }
3293 if ${sim_cv_os_cygwin+:} false
; then :
3294 $as_echo_n "(cached) " >&6
3296 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3297 /* end confdefs.h. */
3303 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3304 $EGREP "lose" >/dev
/null
2>&1; then :
3305 sim_cv_os_cygwin
=yes
3312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_cv_os_cygwin" >&5
3313 $as_echo "$sim_cv_os_cygwin" >&6; }
3315 # Keep in sync with gdb's configure.ac list.
3316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing tgetent" >&5
3317 $as_echo_n "checking for library containing tgetent... " >&6; }
3318 if ${ac_cv_search_tgetent+:} false
; then :
3319 $as_echo_n "(cached) " >&6
3321 ac_func_search_save_LIBS
=$LIBS
3322 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3323 /* end confdefs.h. */
3325 /* Override any GCC internal prototype to avoid an error.
3326 Use char because int might match the return type of a GCC
3327 builtin and then its argument prototype would still apply. */
3340 for ac_lib
in '' termcap tinfo curses ncurses
; do
3341 if test -z "$ac_lib"; then
3342 ac_res
="none required"
3345 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
3347 if ac_fn_c_try_link
"$LINENO"; then :
3348 ac_cv_search_tgetent
=$ac_res
3350 rm -f core conftest.err conftest.
$ac_objext \
3352 if ${ac_cv_search_tgetent+:} false
; then :
3356 if ${ac_cv_search_tgetent+:} false
; then :
3359 ac_cv_search_tgetent
=no
3362 LIBS
=$ac_func_search_save_LIBS
3364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_tgetent" >&5
3365 $as_echo "$ac_cv_search_tgetent" >&6; }
3366 ac_res
=$ac_cv_search_tgetent
3367 if test "$ac_res" != no
; then :
3368 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
3369 TERMCAP
=$ac_cv_search_tgetent
3374 if test x
$sim_cv_os_cygwin = xyes
; then
3375 TERMCAP
="${TERMCAP} -luser32"
3379 # We prefer the in-tree readline. Top-level dependencies make sure
3380 # src/readline (if it's there) is configured before src/sim.
3381 if test -r ..
/..
/readline
/Makefile
; then
3382 READLINE
=..
/..
/readline
/readline
/libreadline.a
3383 READLINE_CFLAGS
='-I$(READLINE_SRC)/..'
3385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5
3386 $as_echo_n "checking for readline in -lreadline... " >&6; }
3387 if ${ac_cv_lib_readline_readline+:} false
; then :
3388 $as_echo_n "(cached) " >&6
3390 ac_check_lib_save_LIBS
=$LIBS
3391 LIBS
="-lreadline $TERMCAP $LIBS"
3392 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3393 /* end confdefs.h. */
3395 /* Override any GCC internal prototype to avoid an error.
3396 Use char because int might match the return type of a GCC
3397 builtin and then its argument prototype would still apply. */
3410 if ac_fn_c_try_link
"$LINENO"; then :
3411 ac_cv_lib_readline_readline
=yes
3413 ac_cv_lib_readline_readline
=no
3415 rm -f core conftest.err conftest.
$ac_objext \
3416 conftest
$ac_exeext conftest.
$ac_ext
3417 LIBS
=$ac_check_lib_save_LIBS
3419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&5
3420 $as_echo "$ac_cv_lib_readline_readline" >&6; }
3421 if test "x$ac_cv_lib_readline_readline" = xyes
; then :
3424 as_fn_error $?
"the required \"readline\" library is missing" "$LINENO" 5
3432 hardware
="cfi core pal glue "
3433 sim_hw_cflags
="-DWITH_HW=1"
3435 sim_hw_objs
="\$(SIM_COMMON_HW_OBJS) `echo $sim_hw | sed -e 's/\([^ ][^ ]*\)/dv-\1.o/g'`"
3437 # Check whether --enable-sim-hardware was given.
3438 if test "${enable_sim_hardware+set}" = set; then :
3439 enableval
=$enable_sim_hardware;
3441 enable_sim_hardware
="yes"
3444 case ${enable_sim_hardware} in
3446 ,*) hardware
="${hardware} `echo ${enableval} | sed -e 's/,/ /'`";;
3447 *,) hardware
="`echo ${enableval} | sed -e 's/,/ /'` ${hardware}";;
3448 *) hardware
="`echo ${enableval} | sed -e 's/,/ /'`"'';;
3451 if test "$enable_sim_hardware" = no
; then
3453 sim_hw_cflags
="-DWITH_HW=0"
3456 sim_hw_cflags
="-DWITH_HW=1"
3459 sim_hw_objs
="\$(SIM_COMMON_HW_OBJS)"
3460 for i
in $hardware ; do
3463 *) sim_hw
="$sim_hw $i" ; sim_hw_objs
="$sim_hw_objs dv-$i.o";;
3466 # mingw does not support sockser
3469 *) # TODO: We don't add dv-sockser to sim_hw as it is not a "real" device
3470 # that you instatiate. Instead, other code will call into it directly.
3471 # At some point, we should convert it over.
3472 sim_hw_objs
="$sim_hw_objs dv-sockser.o"
3473 sim_hw_cflags
="$sim_hw_cflags -DHAVE_DV_SOCKSER"
3476 if test x
"$silent" != x
"yes"; then
3477 echo "Setting hardware to $sim_hw_cflags, $sim_hw, $sim_hw_objs"
3483 if grep CGEN_MAINT
$srcdir/Makefile.
in >/dev
/null
; then
3484 cgen_breaks
="break cgen_rtx_error";
3487 ac_config_files
="$ac_config_files Makefile.sim:Makefile.in"
3489 ac_config_files
="$ac_config_files Make-common.sim:../common/Make-common.in"
3491 ac_config_files
="$ac_config_files .gdbinit:../common/gdbinit.in"
3493 ac_config_commands
="$ac_config_commands Makefile"
3495 ac_config_commands
="$ac_config_commands stamp-h"
3507 cat >confcache
<<\_ACEOF
3508 # This file is a shell script that caches the results of configure
3509 # tests run on this system so they can be shared between configure
3510 # scripts and configure runs, see configure's option --config-cache.
3511 # It is not useful on other systems. If it contains results you don't
3512 # want to keep, you may remove or edit it.
3514 # config.status only pays attention to the cache file if you give it
3515 # the --recheck option to rerun configure.
3517 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3518 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3523 # The following way of writing the cache mishandles newlines in values,
3524 # but we know of no workaround that is simple, portable, and efficient.
3525 # So, we kill variables containing newlines.
3526 # Ultrix sh set writes to stderr and can't be redirected directly,
3527 # and sets the high bit in the cache file unless we assign to the vars.
3529 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3530 eval ac_val
=\$
$ac_var
3534 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3535 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3538 _ | IFS | as_nl
) ;; #(
3539 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
3540 *) { eval $ac_var=; unset $ac_var;} ;;
3546 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3547 *${as_nl}ac_space
=\
*)
3548 # `set' does not quote correctly, so add quotes: double-quote
3549 # substitution turns \\\\ into \\, and sed turns \\ into \.
3552 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3555 # `set' quotes correctly as required by POSIX, so do not add quotes.
3556 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3565 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3567 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3569 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
3570 if test -w "$cache_file"; then
3571 if test "x$cache_file" != "x/dev/null"; then
3572 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3573 $as_echo "$as_me: updating cache $cache_file" >&6;}
3574 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
3575 cat confcache
>"$cache_file"
3577 case $cache_file in #(
3579 mv -f confcache
"$cache_file"$$
&&
3580 mv -f "$cache_file"$$
"$cache_file" ;; #(
3582 mv -f confcache
"$cache_file" ;;
3587 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3588 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3593 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
3594 # Let make expand exec_prefix.
3595 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
3597 # Transform confdefs.h into DEFS.
3598 # Protect against shell expansion while executing Makefile rules.
3599 # Protect against Makefile macro expansion.
3601 # If the first sed substitution is executed (which looks for macros that
3602 # take arguments), then branch to the quote section. Otherwise,
3603 # look for a macro that doesn't take arguments.
3613 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
3615 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
3619 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
3632 DEFS
=`sed -n "$ac_script" confdefs.h`
3638 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
3639 # 1. Remove the extension, and $U if already installed.
3640 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
3641 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
3642 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3643 # will be set to the directory where LIBOBJS objects are built.
3644 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3645 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
3649 LTLIBOBJS
=$ac_ltlibobjs
3652 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
3653 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
3654 Usually this means the macro was only invoked conditionally." "$LINENO" 5
3657 : "${CONFIG_STATUS=./config.status}"
3659 ac_clean_files_save
=$ac_clean_files
3660 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
3661 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3662 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3664 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3666 # Generated by $as_me.
3667 # Run this file to recreate the current configuration.
3668 # Compiler output produced by configure, useful for debugging
3669 # configure, is in config.log if it exists.
3675 SHELL=\${CONFIG_SHELL-$SHELL}
3678 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
3679 ## -------------------- ##
3680 ## M4sh Initialization. ##
3681 ## -------------------- ##
3683 # Be more Bourne compatible
3684 DUALCASE
=1; export DUALCASE
# for MKS sh
3685 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
3688 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3689 # is contrary to our usage. Disable this feature.
3690 alias -g '${1+"$@"}'='"$@"'
3691 setopt NO_GLOB_SUBST
3693 case `(set -o) 2>/dev/null` in #(
3705 # Printing a long string crashes Solaris 7 /usr/bin/printf.
3706 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3707 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3708 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3709 # Prefer a ksh shell builtin over an external printf program on Solaris,
3710 # but without wasting forks for bash or zsh.
3711 if test -z "$BASH_VERSION$ZSH_VERSION" \
3712 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
3713 as_echo='print
-r --'
3714 as_echo_n='print
-rn --'
3715 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3716 as_echo='printf %s
\n'
3717 as_echo_n='printf %s
'
3719 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3720 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
3721 as_echo_n='/usr
/ucb
/echo -n'
3723 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3724 as_echo_n_body='eval
3728 expr "X$arg" : "X\\(.*\\)$as_nl";
3729 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3731 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
3733 export as_echo_n_body
3734 as_echo_n='sh
-c $as_echo_n_body as_echo
'
3737 as_echo='sh
-c $as_echo_body as_echo
'
3740 # The user is always right.
3741 if test "${PATH_SEPARATOR+set}" != set; then
3743 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3744 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3751 # We need space, tab and new line, in precisely that order. Quoting is
3752 # there to prevent editors from complaining about space-tab.
3753 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3754 # splitting by setting IFS to empty value.)
3757 # Find who we are. Look in the path if we contain no directory separator.
3760 *[\\/]* ) as_myself=$0 ;;
3761 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3765 test -z "$as_dir" && as_dir=.
3766 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3772 # We did not find ourselves, most probably we were run as `sh COMMAND'
3773 # in which case we are not to be found in the path.
3774 if test "x$as_myself" = x
; then
3777 if test ! -f "$as_myself"; then
3778 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3782 # Unset variables that we do not need and which cause bugs (e.g. in
3783 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
3784 # suppresses any "Segmentation fault" message there. '((' could
3785 # trigger a bug in pdksh 5.2.14.
3786 for as_var
in BASH_ENV ENV MAIL MAILPATH
3787 do eval test x\
${$as_var+set} = xset \
3788 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
3801 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
3804 # as_fn_error STATUS ERROR [LINENO LOG_FD]
3805 # ----------------------------------------
3806 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3807 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3808 # script with STATUS, using 1 if that was 0.
3811 as_status
=$1; test $as_status -eq 0 && as_status
=1
3813 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
3814 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
3816 $as_echo "$as_me: error: $2" >&2
3817 as_fn_exit
$as_status
3821 # as_fn_set_status STATUS
3822 # -----------------------
3823 # Set $? to STATUS, without forking.
3827 } # as_fn_set_status
3831 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3841 # Portably unset VAR.
3844 { eval $1=; unset $1;}
3846 as_unset
=as_fn_unset
3847 # as_fn_append VAR VALUE
3848 # ----------------------
3849 # Append the text in VALUE to the end of the definition contained in VAR. Take
3850 # advantage of any shell optimizations that allow amortized linear growth over
3851 # repeated appends, instead of the typical quadratic growth present in naive
3853 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
3854 eval 'as_fn_append ()
3865 # as_fn_arith ARG...
3866 # ------------------
3867 # Perform arithmetic evaluation on the ARGs, and store the result in the
3868 # global $as_val. Take advantage of shells that can avoid forks. The arguments
3869 # must be portable across $(()) and expr.
3870 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
3871 eval 'as_fn_arith ()
3878 as_val
=`expr "$@" || test $? -eq 1`
3883 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
3884 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
3890 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3891 as_basename
=basename
3896 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
3902 as_me
=`$as_basename -- "$0" ||
3903 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3904 X"$0" : 'X\(//\)$' \| \
3905 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3907 sed '/^.*\/\([^/][^/]*\)\/*$/{
3921 # Avoid depending upon Character Ranges.
3922 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
3923 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3924 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
3925 as_cr_digits
='0123456789'
3926 as_cr_alnum
=$as_cr_Letters$as_cr_digits
3928 ECHO_C
= ECHO_N
= ECHO_T
=
3929 case `echo -n x` in #(((((
3931 case `echo 'xy\c'` in
3932 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
3934 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
3941 rm -f conf$$ conf$$.exe conf$$.
file
3942 if test -d conf$$.dir
; then
3943 rm -f conf$$.dir
/conf$$.
file
3946 mkdir conf$$.dir
2>/dev
/null
3948 if (echo >conf$$.
file) 2>/dev
/null
; then
3949 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
3951 # ... but there are two gotchas:
3952 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3953 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3954 # In both cases, we have to default to `cp -pR'.
3955 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
3957 elif ln conf$$.
file conf$$
2>/dev
/null
; then
3965 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
3966 rmdir conf$$.dir
2>/dev
/null
3971 # Create "$as_dir" as a directory, including parents if necessary.
3976 -*) as_dir
=.
/$as_dir;;
3978 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
3982 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3983 *) as_qdir
=$as_dir;;
3985 as_dirs
="'$as_qdir' $as_dirs"
3986 as_dir
=`$as_dirname -- "$as_dir" ||
3987 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3988 X"$as_dir" : 'X\(//\)[^/]' \| \
3989 X"$as_dir" : 'X\(//\)$' \| \
3990 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3991 $as_echo X"$as_dir" |
3992 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4009 test -d "$as_dir" && break
4011 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
4012 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
4016 if mkdir
-p .
2>/dev
/null
; then
4017 as_mkdir_p
='mkdir -p "$as_dir"'
4019 test -d .
/-p && rmdir .
/-p
4024 # as_fn_executable_p FILE
4025 # -----------------------
4026 # Test if FILE is an executable regular file.
4027 as_fn_executable_p
()
4029 test -f "$1" && test -x "$1"
4030 } # as_fn_executable_p
4032 as_executable_p
=as_fn_executable_p
4034 # Sed expression to map a string onto a valid CPP name.
4035 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4037 # Sed expression to map a string onto a valid variable name.
4038 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4042 ## ----------------------------------- ##
4043 ## Main body of $CONFIG_STATUS script. ##
4044 ## ----------------------------------- ##
4046 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
4048 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4049 # Save the log message, to keep $0 and so on meaningful, and to
4050 # report actual input values of CONFIG_FILES etc. instead of their
4051 # values after options handling.
4053 This file was extended by $as_me, which was
4054 generated by GNU Autoconf 2.69. Invocation command line was
4056 CONFIG_FILES = $CONFIG_FILES
4057 CONFIG_HEADERS = $CONFIG_HEADERS
4058 CONFIG_LINKS = $CONFIG_LINKS
4059 CONFIG_COMMANDS = $CONFIG_COMMANDS
4062 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4067 case $ac_config_files in *"
4068 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
4073 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4074 # Files that config.status was made for.
4075 config_files="$ac_config_files"
4076 config_commands="$ac_config_commands"
4080 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4082 \`$as_me' instantiates files and other configuration actions
4083 from templates according to the current configuration. Unless the files
4084 and actions are specified as TAGs, all are instantiated by default.
4086 Usage: $0 [OPTION]... [TAG]...
4088 -h, --help print this help, then exit
4089 -V, --version print version number and configuration settings, then exit
4090 --config print configuration, then exit
4091 -q, --quiet, --silent
4092 do not print progress messages
4093 -d, --debug don't remove temporary files
4094 --recheck update $as_me by reconfiguring in the same conditions
4095 --file=FILE[:TEMPLATE]
4096 instantiate the configuration file FILE
4098 Configuration files:
4101 Configuration commands:
4104 Report bugs to the package provider."
4107 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4108 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4111 configured by $0, generated by GNU Autoconf 2.69,
4112 with options \\"\$ac_cs_config\\"
4114 Copyright (C) 2012 Free Software Foundation, Inc.
4115 This config.status script is free software; the Free Software Foundation
4116 gives unlimited permission to copy, distribute and modify it."
4121 test -n "\$AWK" || AWK=awk
4124 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4125 # The default lists apply if the user does not specify any file.
4131 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
4132 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
4136 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
4148 # Handling of the options.
4149 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
4151 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
4152 $as_echo "$ac_cs_version"; exit ;;
4153 --config |
--confi |
--conf |
--con |
--co |
--c )
4154 $as_echo "$ac_cs_config"; exit ;;
4155 --debug |
--debu |
--deb |
--de |
--d |
-d )
4157 --file |
--fil |
--fi |
--f )
4160 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4161 '') as_fn_error $?
"missing file argument" ;;
4163 as_fn_append CONFIG_FILES
" '$ac_optarg'"
4164 ac_need_defaults
=false
;;
4165 --he |
--h |
--help |
--hel |
-h )
4166 $as_echo "$ac_cs_usage"; exit ;;
4167 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
4168 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
4172 -*) as_fn_error $?
"unrecognized option: \`$1'
4173 Try \`$0 --help' for more information." ;;
4175 *) as_fn_append ac_config_targets
" $1"
4176 ac_need_defaults
=false
;;
4182 ac_configure_extra_args
=
4184 if $ac_cs_silent; then
4186 ac_configure_extra_args
="$ac_configure_extra_args --silent"
4190 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4191 if \$ac_cs_recheck; then
4192 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4194 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4195 CONFIG_SHELL='$SHELL'
4201 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4205 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4206 ## Running $as_me. ##
4212 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4216 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
4220 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4222 # Handling of arguments.
4223 for ac_config_target
in $ac_config_targets
4225 case $ac_config_target in
4226 "depdir") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir" ;;
4227 "Makefile.sim") CONFIG_FILES
="$CONFIG_FILES Makefile.sim:Makefile.in" ;;
4228 "Make-common.sim") CONFIG_FILES
="$CONFIG_FILES Make-common.sim:../common/Make-common.in" ;;
4229 ".gdbinit") CONFIG_FILES
="$CONFIG_FILES .gdbinit:../common/gdbinit.in" ;;
4230 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
4231 "stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS stamp-h" ;;
4233 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4238 # If the user did not use the arguments to specify the items to instantiate,
4239 # then the envvar interface is used. Set only those that are not.
4240 # We use the long form for the default assignment because of an extremely
4241 # bizarre bug on SunOS 4.1.3.
4242 if $ac_need_defaults; then
4243 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
4244 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
4247 # Have a temporary directory for convenience. Make it in the build tree
4248 # simply because there is no reason against having it here, and in addition,
4249 # creating and moving files from /tmp can sometimes cause problems.
4250 # Hook for its removal unless debugging.
4251 # Note that there is a small window in which the directory will not be cleaned:
4252 # after its creation but before its name has been assigned to `$tmp'.
4256 trap 'exit_status=$?
4258 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
4260 trap 'as_fn_exit 1' 1 2 13 15
4262 # Create a (secure) tmp directory for tmp files.
4265 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4269 tmp
=.
/conf$$
-$RANDOM
4270 (umask 077 && mkdir
"$tmp")
4271 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
4274 # Set up the scripts for CONFIG_FILES section.
4275 # No need to generate them if there are no CONFIG_FILES.
4276 # This happens for instance with `./config.status config.h'.
4277 if test -n "$CONFIG_FILES"; then
4280 ac_cr
=`echo X | tr X '\015'`
4281 # On cygwin, bash can eat \r inside `` if the user requested igncr.
4282 # But we know of no other shell where ac_cr would be empty at this
4283 # point, so we can use a bashism as a fallback.
4284 if test "x$ac_cr" = x
; then
4285 eval ac_cr
=\$
\'\\r
\'
4287 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4288 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4294 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
4299 echo "cat >conf$$subs.awk <<_ACEOF" &&
4300 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4303 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
4304 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
4306 for ac_last_try in false false false false false :; do
4307 . ./conf$$subs.sh ||
4308 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
4310 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
4311 if test $ac_delim_n = $ac_delim_num; then
4313 elif $ac_last_try; then
4314 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
4316 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
4321 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4322 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
4326 s/^/S["/; s
/!.
*/"]=/
4336 s/\(.\{148\}\)..*/\1/
4338 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
4343 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
4350 s/\(.\{148\}\)..*/\1/
4352 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
4356 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
4361 ' <conf$$subs.awk | sed '
4366 ' >>$CONFIG_STATUS || ac_write_fail=1
4367 rm -f conf$$subs.awk
4368 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4370 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
4371 for (key in S) S_is_set[key] = 1
4377 nfields = split(line, field, "@
")
4379 len = length(field[1])
4380 for (i = 2; i < nfields; i++) {
4382 keylen = length(key)
4383 if (S_is_set[key]) {
4385 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4386 len += length(value) + length(field[++i])
4397 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4398 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4399 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
4402 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
4403 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
4406 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
4407 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
4408 # trailing colons and then remove the whole line if VPATH becomes empty
4409 # (actually we leave an empty line to preserve line numbers).
4410 if test "x
$srcdir" = x.; then
4411 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
4429 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4430 fi # test -n "$CONFIG_FILES"
4433 eval set X " :F
$CONFIG_FILES :C
$CONFIG_COMMANDS"
4438 :[FHLC]) ac_mode=$ac_tag; continue;;
4440 case $ac_mode$ac_tag in
4442 :L* | :C*:*) as_fn_error $? "invalid tag \
`$ac_tag'" "$LINENO" 5;;
4443 :[FH]-) ac_tag=-:-;;
4444 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4461 -) ac_f="$ac_tmp/stdin";;
4462 *) # Look for the file first in the build tree, then in the source tree
4463 # (if the path is not absolute). The absolute path cannot be DOS-style,
4464 # because $ac_f cannot contain `:'.
4468 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4470 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4472 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
4473 as_fn_append ac_file_inputs " '$ac_f'"
4476 # Let's still pretend it is `configure' which instantiates (i.e., don't
4477 # use $as_me), people would be surprised to read:
4478 # /* config.h. Generated by config.status. */
4479 configure_input='Generated from '`
4480 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4482 if test x"$ac_file" != x-; then
4483 configure_input="$ac_file.
$configure_input"
4484 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
4485 $as_echo "$as_me: creating
$ac_file" >&6;}
4487 # Neutralize special characters interpreted by sed in replacement strings.
4488 case $configure_input in #(
4489 *\&* | *\|* | *\\* )
4490 ac_sed_conf_input=`$as_echo "$configure_input" |
4491 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4492 *) ac_sed_conf_input=$configure_input;;
4496 *:-:* | *:-) cat >"$ac_tmp/stdin
" \
4497 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5 ;;
4502 ac_dir=`$as_dirname -- "$ac_file" ||
4503 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4504 X"$ac_file" : 'X\(//\)[^/]' \| \
4505 X"$ac_file" : 'X\(//\)$' \| \
4506 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4507 $as_echo X"$ac_file" |
4508 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4525 as_dir="$ac_dir"; as_fn_mkdir_p
4529 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4531 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4532 # A "..
" for each directory in $ac_dir_suffix.
4533 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4534 case $ac_top_builddir_sub in
4535 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4536 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4539 ac_abs_top_builddir=$ac_pwd
4540 ac_abs_builddir=$ac_pwd$ac_dir_suffix
4541 # for backward compatibility:
4542 ac_top_builddir=$ac_top_build_prefix
4545 .) # We are building in place.
4547 ac_top_srcdir=$ac_top_builddir_sub
4548 ac_abs_top_srcdir=$ac_pwd ;;
4549 [\\/]* | ?:[\\/]* ) # Absolute name.
4550 ac_srcdir=$srcdir$ac_dir_suffix;
4551 ac_top_srcdir=$srcdir
4552 ac_abs_top_srcdir=$srcdir ;;
4554 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4555 ac_top_srcdir=$ac_top_build_prefix$srcdir
4556 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4558 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4568 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4569 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
4573 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4574 # If the template does not know about datarootdir, expand it.
4575 # FIXME: This hack should be removed a few years after 2.60.
4576 ac_datarootdir_hack=; ac_datarootdir_seen=
4587 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
4588 *datarootdir*) ac_datarootdir_seen=yes;;
4589 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4590 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
4591 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
4593 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4594 ac_datarootdir_hack='
4595 s&@datadir@&$datadir&g
4596 s&@docdir@&$docdir&g
4597 s&@infodir@&$infodir&g
4598 s&@localedir@&$localedir&g
4599 s&@mandir@&$mandir&g
4600 s&\\\${datarootdir}&$datarootdir&g' ;;
4604 # Neutralize VPATH when `$srcdir' = `.'.
4605 # Shell code in configure.ac might set extrasub.
4606 # FIXME: do we really want to maintain this feature?
4607 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4608 ac_sed_extra="$ac_vpsub
4611 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4613 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
4614 s|@configure_input@|
$ac_sed_conf_input|
;t t
4615 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
4616 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
4617 s
&@srcdir@
&$ac_srcdir&;t t
4618 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
4619 s
&@top_srcdir@
&$ac_top_srcdir&;t t
4620 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
4621 s
&@builddir@
&$ac_builddir&;t t
4622 s
&@abs_builddir@
&$ac_abs_builddir&;t t
4623 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
4624 s
&@INSTALL@
&$ac_INSTALL&;t t
4625 $ac_datarootdir_hack
4627 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
4628 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
4630 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4631 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
4632 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
4633 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
4634 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
4635 which seems to be undefined. Please make sure it is defined" >&5
4636 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
4637 which seems to be undefined. Please make sure it is defined" >&2;}
4639 rm -f "$ac_tmp/stdin"
4641 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
4642 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
4644 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4648 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
4649 $as_echo "$as_me: executing $ac_file commands" >&6;}
4654 case $ac_file$ac_mode in
4655 "depdir":C) $SHELL $ac_aux_dir/mkinstalldirs $DEPDIR ;;
4656 "Makefile":C) echo "Merging Makefile.sim+Make-common.sim into Makefile ..."
4657 rm -f Makesim1.tmp Makesim2.tmp Makefile
4658 sed -n -e '/^
## COMMON_PRE_/,/^## End COMMON_PRE_/ p' <Make-common.sim >Makesim1.tmp
4659 sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim
>Makesim2.tmp
4660 sed -e '/^## COMMON_PRE_/ r Makesim1.tmp' \
4661 -e '/^## COMMON_POST_/ r Makesim2.tmp' \
4662 <Makefile.sim
>Makefile
4663 rm -f Makefile.sim Make-common.sim Makesim1.tmp Makesim2.tmp
4665 "stamp-h":C
) echo > stamp-h
;;
4673 ac_clean_files
=$ac_clean_files_save
4675 test $ac_write_fail = 0 ||
4676 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
4679 # configure is writing to config.log, and then calls config.status.
4680 # config.status does its own redirection, appending to config.log.
4681 # Unfortunately, on DOS this fails, as config.log is still kept open
4682 # by configure, so config.status won't be able to write to it; its
4683 # output is simply discarded. So we exec the FD to /dev/null,
4684 # effectively closing config.log, so it can be properly (re)opened and
4685 # appended to by config.status. When coming back to configure, we
4686 # need to make the FD available again.
4687 if test "$no_create" != yes; then
4689 ac_config_status_args
=
4690 test "$silent" = yes &&
4691 ac_config_status_args
="$ac_config_status_args --quiet"
4693 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
4695 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4696 # would make configure fail if this is the last instruction.
4697 $ac_cs_success || as_fn_exit
1
4699 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
4700 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4701 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}