2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x
; then
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var
in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\
${$as_var+set} = xset \
119 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
132 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x
; then
135 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
143 case \`(set -o) 2>/dev/null\` in #(
151 as_required
="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
172 if (eval "$as_required") 2>/dev
/null
; then :
177 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
180 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
182 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
185 test -z "$as_dir" && as_dir
=.
189 for as_base
in sh bash ksh sh5
; do
190 # Try only shells that exist, to save several forks.
191 as_shell
=$as_dir/$as_base
192 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
193 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
194 CONFIG_SHELL
=$as_shell as_have_required
=yes
195 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
203 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
204 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
205 CONFIG_SHELL
=$SHELL as_have_required
=yes
210 if test "x$CONFIG_SHELL" != x
; then :
211 # We cannot yet assume a decent shell, so we have to provide a
212 # neutralization value for shells without unset; and this also
213 # works around shells that cannot unset nonexistent variables.
216 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
218 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
221 if test x
$as_have_required = xno
; then :
222 $as_echo "$0: This script requires a shell more modern than all"
223 $as_echo "$0: the shells that I found on your system."
224 if test x
${ZSH_VERSION+set} = xset
; then
225 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
226 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
228 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
229 $0: including any error possibly output before this
230 $0: message. Then install a modern shell, or manually run
231 $0: the script under such a shell if you do have one."
237 SHELL
=${CONFIG_SHELL-/bin/sh}
239 # Unset more variables known to interfere with behavior of common tools.
240 CLICOLOR_FORCE
= GREP_OPTIONS
=
241 unset CLICOLOR_FORCE GREP_OPTIONS
243 ## --------------------- ##
244 ## M4sh Shell Functions. ##
245 ## --------------------- ##
248 # Portably unset VAR.
251 { eval $1=; unset $1;}
255 # as_fn_set_status STATUS
256 # -----------------------
257 # Set $? to STATUS, without forking.
265 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
275 # Create "$as_dir" as a directory, including parents if necessary.
280 -*) as_dir
=.
/$as_dir;;
282 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
286 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
289 as_dirs
="'$as_qdir' $as_dirs"
290 as_dir
=`$as_dirname -- "$as_dir" ||
291 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
292 X"$as_dir" : 'X\(//\)[^/]' \| \
293 X"$as_dir" : 'X\(//\)$' \| \
294 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
295 $as_echo X"$as_dir" |
296 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
313 test -d "$as_dir" && break
315 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
316 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
320 # as_fn_append VAR VALUE
321 # ----------------------
322 # Append the text in VALUE to the end of the definition contained in VAR. Take
323 # advantage of any shell optimizations that allow amortized linear growth over
324 # repeated appends, instead of the typical quadratic growth present in naive
326 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
327 eval 'as_fn_append ()
340 # Perform arithmetic evaluation on the ARGs, and store the result in the
341 # global $as_val. Take advantage of shells that can avoid forks. The arguments
342 # must be portable across $(()) and expr.
343 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
351 as_val
=`expr "$@" || test $? -eq 1`
356 # as_fn_error ERROR [LINENO LOG_FD]
357 # ---------------------------------
358 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
359 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
360 # script with status $?, using 1 if that was 0.
363 as_status
=$?
; test $as_status -eq 0 && as_status
=1
365 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
366 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
368 $as_echo "$as_me: error: $1" >&2
369 as_fn_exit
$as_status
372 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
373 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
379 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
385 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
391 as_me
=`$as_basename -- "$0" ||
392 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
393 X"$0" : 'X\(//\)$' \| \
394 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
396 sed '/^.*\/\([^/][^/]*\)\/*$/{
410 # Avoid depending upon Character Ranges.
411 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
412 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
413 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
414 as_cr_digits
='0123456789'
415 as_cr_alnum
=$as_cr_Letters$as_cr_digits
418 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
419 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
420 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
421 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
422 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
434 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
438 chmod +x
"$as_me.lineno" ||
439 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
441 # Don't try to exec as it changes $[0], causing all sort of problems
442 # (the dirname of $[0] is not the place where we might find the
443 # original and so on. Autoconf is especially sensitive to this).
445 # Exit status is that of the last command.
449 ECHO_C
= ECHO_N
= ECHO_T
=
450 case `echo -n x` in #(((((
452 case `echo 'xy\c'` in
453 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
455 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
462 rm -f conf$$ conf$$.exe conf$$.
file
463 if test -d conf$$.dir
; then
464 rm -f conf$$.dir
/conf$$.
file
467 mkdir conf$$.dir
2>/dev
/null
469 if (echo >conf$$.
file) 2>/dev
/null
; then
470 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
472 # ... but there are two gotchas:
473 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
474 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
475 # In both cases, we have to default to `cp -p'.
476 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
478 elif ln conf$$.
file conf$$
2>/dev
/null
; then
486 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
487 rmdir conf$$.dir
2>/dev
/null
489 if mkdir
-p .
2>/dev
/null
; then
490 as_mkdir_p
='mkdir -p "$as_dir"'
492 test -d .
/-p && rmdir .
/-p
496 if test -x / >/dev
/null
2>&1; then
499 if ls -dL / >/dev
/null
2>&1; then
506 if test -d "$1"; then
512 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
513 ???[sx]*):;;*)false;;esac;fi
517 as_executable_p
=$as_test_x
519 # Sed expression to map a string onto a valid CPP name.
520 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
522 # Sed expression to map a string onto a valid variable name.
523 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
526 exec 7<&0 </dev
/null
6>&1
529 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
530 # so uname gets run too.
531 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
536 ac_default_prefix
=/usr
/local
538 ac_config_libobj_dir
=.
545 # Identity of this package.
553 ac_unique_file
="Makefile.in"
554 ac_subst_vars
='LTLIBOBJS
567 default_gnattools_target
613 program_transform_name
626 enable_option_checking
627 enable_maintainer_mode
629 ac_precious_vars
='build_alias
639 # Initialize some variables set by options.
641 ac_init_version
=false
642 ac_unrecognized_opts
=
644 # The variables have the same names as the options, with
645 # dashes changed to underlines.
653 program_transform_name
=s
,x
,x
,
661 # Installation directory options.
662 # These are left unexpanded so users can "make install exec_prefix=/foo"
663 # and all the variables that are supposed to be based on exec_prefix
664 # by default will actually change.
665 # Use braces instead of parens because sh, perl, etc. also accept them.
666 # (The list follows the same order as the GNU Coding Standards.)
667 bindir
='${exec_prefix}/bin'
668 sbindir
='${exec_prefix}/sbin'
669 libexecdir
='${exec_prefix}/libexec'
670 datarootdir
='${prefix}/share'
671 datadir
='${datarootdir}'
672 sysconfdir
='${prefix}/etc'
673 sharedstatedir
='${prefix}/com'
674 localstatedir
='${prefix}/var'
675 includedir
='${prefix}/include'
676 oldincludedir
='/usr/include'
677 docdir
='${datarootdir}/doc/${PACKAGE}'
678 infodir
='${datarootdir}/info'
683 libdir
='${exec_prefix}/lib'
684 localedir
='${datarootdir}/locale'
685 mandir
='${datarootdir}/man'
691 # If the previous option needs an argument, assign it.
692 if test -n "$ac_prev"; then
693 eval $ac_prev=\
$ac_option
699 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
703 # Accept the important Cygnus configure options, so we can diagnose typos.
705 case $ac_dashdash$ac_option in
709 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
711 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
714 -build |
--build |
--buil |
--bui |
--bu)
715 ac_prev
=build_alias
;;
716 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
717 build_alias
=$ac_optarg ;;
719 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
720 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
721 ac_prev
=cache_file
;;
722 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
723 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
724 cache_file
=$ac_optarg ;;
727 cache_file
=config.cache
;;
729 -datadir |
--datadir |
--datadi |
--datad)
731 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
732 datadir
=$ac_optarg ;;
734 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
735 |
--dataroo |
--dataro |
--datar)
736 ac_prev
=datarootdir
;;
737 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
738 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
739 datarootdir
=$ac_optarg ;;
741 -disable-* |
--disable-*)
742 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
743 # Reject names that are not valid shell variable names.
744 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
745 as_fn_error
"invalid feature name: $ac_useropt"
746 ac_useropt_orig
=$ac_useropt
747 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
748 case $ac_user_opts in
752 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
753 ac_unrecognized_sep
=', ';;
755 eval enable_
$ac_useropt=no
;;
757 -docdir |
--docdir |
--docdi |
--doc |
--do)
759 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
762 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
764 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
767 -enable-* |
--enable-*)
768 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
769 # Reject names that are not valid shell variable names.
770 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
771 as_fn_error
"invalid feature name: $ac_useropt"
772 ac_useropt_orig
=$ac_useropt
773 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
774 case $ac_user_opts in
778 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
779 ac_unrecognized_sep
=', ';;
781 eval enable_
$ac_useropt=\
$ac_optarg ;;
783 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
784 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
785 |
--exec |
--exe |
--ex)
786 ac_prev
=exec_prefix
;;
787 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
788 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
789 |
--exec=* |
--exe=* |
--ex=*)
790 exec_prefix
=$ac_optarg ;;
792 -gas |
--gas |
--ga |
--g)
793 # Obsolete; use --with-gas.
796 -help |
--help |
--hel |
--he |
-h)
798 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
799 ac_init_help
=recursive
;;
800 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
801 ac_init_help
=short
;;
803 -host |
--host |
--hos |
--ho)
804 ac_prev
=host_alias
;;
805 -host=* |
--host=* |
--hos=* |
--ho=*)
806 host_alias
=$ac_optarg ;;
808 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
810 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
812 htmldir
=$ac_optarg ;;
814 -includedir |
--includedir |
--includedi |
--included |
--include \
815 |
--includ |
--inclu |
--incl |
--inc)
816 ac_prev
=includedir
;;
817 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
818 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
819 includedir
=$ac_optarg ;;
821 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
823 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
824 infodir
=$ac_optarg ;;
826 -libdir |
--libdir |
--libdi |
--libd)
828 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
831 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
832 |
--libexe |
--libex |
--libe)
833 ac_prev
=libexecdir
;;
834 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
835 |
--libexe=* |
--libex=* |
--libe=*)
836 libexecdir
=$ac_optarg ;;
838 -localedir |
--localedir |
--localedi |
--localed |
--locale)
840 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
841 localedir
=$ac_optarg ;;
843 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
844 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
845 ac_prev
=localstatedir
;;
846 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
847 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
848 localstatedir
=$ac_optarg ;;
850 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
852 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
856 # Obsolete; use --without-fp.
859 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
860 |
--no-cr |
--no-c |
-n)
863 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
864 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
867 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
868 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
869 |
--oldin |
--oldi |
--old |
--ol |
--o)
870 ac_prev
=oldincludedir
;;
871 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
872 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
873 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
874 oldincludedir
=$ac_optarg ;;
876 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
878 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
881 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
882 |
--program-pre |
--program-pr |
--program-p)
883 ac_prev
=program_prefix
;;
884 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
885 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
886 program_prefix
=$ac_optarg ;;
888 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
889 |
--program-suf |
--program-su |
--program-s)
890 ac_prev
=program_suffix
;;
891 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
892 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
893 program_suffix
=$ac_optarg ;;
895 -program-transform-name |
--program-transform-name \
896 |
--program-transform-nam |
--program-transform-na \
897 |
--program-transform-n |
--program-transform- \
898 |
--program-transform |
--program-transfor \
899 |
--program-transfo |
--program-transf \
900 |
--program-trans |
--program-tran \
901 |
--progr-tra |
--program-tr |
--program-t)
902 ac_prev
=program_transform_name
;;
903 -program-transform-name=* |
--program-transform-name=* \
904 |
--program-transform-nam=* |
--program-transform-na=* \
905 |
--program-transform-n=* |
--program-transform-=* \
906 |
--program-transform=* |
--program-transfor=* \
907 |
--program-transfo=* |
--program-transf=* \
908 |
--program-trans=* |
--program-tran=* \
909 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
910 program_transform_name
=$ac_optarg ;;
912 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
914 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
917 -psdir |
--psdir |
--psdi |
--psd |
--ps)
919 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
922 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
923 |
-silent |
--silent |
--silen |
--sile |
--sil)
926 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
928 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
930 sbindir
=$ac_optarg ;;
932 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
933 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
934 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
936 ac_prev
=sharedstatedir
;;
937 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
938 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
939 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
941 sharedstatedir
=$ac_optarg ;;
943 -site |
--site |
--sit)
945 -site=* |
--site=* |
--sit=*)
948 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
950 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
953 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
954 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
955 ac_prev
=sysconfdir
;;
956 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
957 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
958 sysconfdir
=$ac_optarg ;;
960 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
961 ac_prev
=target_alias
;;
962 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
963 target_alias
=$ac_optarg ;;
965 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
968 -version |
--version |
--versio |
--versi |
--vers |
-V)
972 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
973 # Reject names that are not valid shell variable names.
974 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
975 as_fn_error
"invalid package name: $ac_useropt"
976 ac_useropt_orig
=$ac_useropt
977 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
978 case $ac_user_opts in
982 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
983 ac_unrecognized_sep
=', ';;
985 eval with_
$ac_useropt=\
$ac_optarg ;;
987 -without-* |
--without-*)
988 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
989 # Reject names that are not valid shell variable names.
990 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
991 as_fn_error
"invalid package name: $ac_useropt"
992 ac_useropt_orig
=$ac_useropt
993 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
994 case $ac_user_opts in
998 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
999 ac_unrecognized_sep
=', ';;
1001 eval with_
$ac_useropt=no
;;
1004 # Obsolete; use --with-x.
1007 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1008 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1009 ac_prev
=x_includes
;;
1010 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1011 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1012 x_includes
=$ac_optarg ;;
1014 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1015 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1016 ac_prev
=x_libraries
;;
1017 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1018 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1019 x_libraries
=$ac_optarg ;;
1021 -*) as_fn_error
"unrecognized option: \`$ac_option'
1022 Try \`$0 --help' for more information."
1026 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1027 # Reject names that are not valid shell variable names.
1028 case $ac_envvar in #(
1029 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1030 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1032 eval $ac_envvar=\
$ac_optarg
1033 export $ac_envvar ;;
1036 # FIXME: should be removed in autoconf 3.0.
1037 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1038 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1039 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1040 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1046 if test -n "$ac_prev"; then
1047 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1048 as_fn_error
"missing argument to $ac_option"
1051 if test -n "$ac_unrecognized_opts"; then
1052 case $enable_option_checking in
1054 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1055 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1059 # Check all directory arguments for consistency.
1060 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1061 datadir sysconfdir sharedstatedir localstatedir includedir \
1062 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1063 libdir localedir mandir
1065 eval ac_val
=\$
$ac_var
1066 # Remove trailing slashes.
1069 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1070 eval $ac_var=\
$ac_val;;
1072 # Be sure to have absolute directory names.
1074 [\\/$
]* | ?
:[\\/]* ) continue;;
1075 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1077 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1080 # There might be people who depend on the old broken behavior: `$host'
1081 # used to hold the argument of --host etc.
1082 # FIXME: To remove some day.
1085 target
=$target_alias
1087 # FIXME: To remove some day.
1088 if test "x$host_alias" != x
; then
1089 if test "x$build_alias" = x
; then
1090 cross_compiling
=maybe
1091 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1092 If a cross compiler is detected then cross compile mode will be used." >&2
1093 elif test "x$build_alias" != "x$host_alias"; then
1099 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1101 test "$silent" = yes && exec 6>/dev
/null
1104 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1105 ac_ls_di
=`ls -di .` &&
1106 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1107 as_fn_error
"working directory cannot be determined"
1108 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1109 as_fn_error
"pwd does not report name of working directory"
1112 # Find the source files, if location was not specified.
1113 if test -z "$srcdir"; then
1114 ac_srcdir_defaulted
=yes
1115 # Try the directory containing this script, then the parent directory.
1116 ac_confdir
=`$as_dirname -- "$as_myself" ||
1117 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1118 X"$as_myself" : 'X\(//\)[^/]' \| \
1119 X"$as_myself" : 'X\(//\)$' \| \
1120 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1121 $as_echo X"$as_myself" |
1122 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1140 if test ! -r "$srcdir/$ac_unique_file"; then
1144 ac_srcdir_defaulted
=no
1146 if test ! -r "$srcdir/$ac_unique_file"; then
1147 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1148 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1150 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1152 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1154 # When building in place, set srcdir=.
1155 if test "$ac_abs_confdir" = "$ac_pwd"; then
1158 # Remove unnecessary trailing slashes from srcdir.
1159 # Double slashes in file names in object file debugging info
1160 # mess up M-x gdb in Emacs.
1162 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1164 for ac_var
in $ac_precious_vars; do
1165 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1166 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1167 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1168 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1172 # Report the --help message.
1174 if test "$ac_init_help" = "long"; then
1175 # Omit some internal or obsolete options to make the list less imposing.
1176 # This message is too long to be a string in the A/UX 3.1 sh.
1178 \`configure' configures this package to adapt to many kinds of systems.
1180 Usage: $0 [OPTION]... [VAR=VALUE]...
1182 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1183 VAR=VALUE. See below for descriptions of some of the useful variables.
1185 Defaults for the options are specified in brackets.
1188 -h, --help display this help and exit
1189 --help=short display options specific to this package
1190 --help=recursive display the short help of all the included packages
1191 -V, --version display version information and exit
1192 -q, --quiet, --silent do not print \`checking...' messages
1193 --cache-file=FILE cache test results in FILE [disabled]
1194 -C, --config-cache alias for \`--cache-file=config.cache'
1195 -n, --no-create do not create output files
1196 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1198 Installation directories:
1199 --prefix=PREFIX install architecture-independent files in PREFIX
1200 [$ac_default_prefix]
1201 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1204 By default, \`make install' will install all the files in
1205 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1206 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1207 for instance \`--prefix=\$HOME'.
1209 For better control, use the options below.
1211 Fine tuning of the installation directories:
1212 --bindir=DIR user executables [EPREFIX/bin]
1213 --sbindir=DIR system admin executables [EPREFIX/sbin]
1214 --libexecdir=DIR program executables [EPREFIX/libexec]
1215 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1216 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1217 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1218 --libdir=DIR object code libraries [EPREFIX/lib]
1219 --includedir=DIR C header files [PREFIX/include]
1220 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1221 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1222 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1223 --infodir=DIR info documentation [DATAROOTDIR/info]
1224 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1225 --mandir=DIR man documentation [DATAROOTDIR/man]
1226 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1227 --htmldir=DIR html documentation [DOCDIR]
1228 --dvidir=DIR dvi documentation [DOCDIR]
1229 --pdfdir=DIR pdf documentation [DOCDIR]
1230 --psdir=DIR ps documentation [DOCDIR]
1236 --build=BUILD configure
for building on BUILD
[guessed
]
1237 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1238 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1242 if test -n "$ac_init_help"; then
1247 --disable-option-checking ignore unrecognized
--enable/--with options
1248 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1249 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1250 --enable-maintainer-mode
1251 enable make rules and dependencies not useful
(and
1252 sometimes confusing
) to the casual installer
1254 Some influential environment variables
:
1255 CC C compiler
command
1256 CFLAGS C compiler flags
1257 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1258 nonstandard directory
<lib dir
>
1259 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1260 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1261 you have headers
in a nonstandard directory
<include dir
>
1263 Use these variables to override the choices made by
`configure' or to help
1264 it to find libraries and programs with nonstandard names/locations.
1266 Report bugs to the package provider.
1271 if test "$ac_init_help" = "recursive"; then
1272 # If there are subdirs, report their specific --help.
1273 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1274 test -d "$ac_dir" ||
1275 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1280 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1282 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1283 # A ".." for each directory in $ac_dir_suffix.
1284 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1285 case $ac_top_builddir_sub in
1286 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1287 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1290 ac_abs_top_builddir=$ac_pwd
1291 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1292 # for backward compatibility:
1293 ac_top_builddir=$ac_top_build_prefix
1296 .) # We are building in place.
1298 ac_top_srcdir=$ac_top_builddir_sub
1299 ac_abs_top_srcdir=$ac_pwd ;;
1300 [\\/]* | ?:[\\/]* ) # Absolute name.
1301 ac_srcdir=$srcdir$ac_dir_suffix;
1302 ac_top_srcdir=$srcdir
1303 ac_abs_top_srcdir=$srcdir ;;
1305 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1306 ac_top_srcdir=$ac_top_build_prefix$srcdir
1307 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1309 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1311 cd "$ac_dir" || { ac_status=$?; continue; }
1312 # Check for guested configure.
1313 if test -f "$ac_srcdir/configure.gnu"; then
1315 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1316 elif test -f "$ac_srcdir/configure"; then
1318 $SHELL "$ac_srcdir/configure" --help=recursive
1320 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1322 cd "$ac_pwd" || { ac_status=$?; break; }
1326 test -n "$ac_init_help" && exit $ac_status
1327 if $ac_init_version; then
1330 generated by GNU Autoconf 2.64
1332 Copyright (C) 2009 Free Software Foundation, Inc.
1333 This configure script is free software; the Free Software Foundation
1334 gives unlimited permission to copy, distribute and modify it.
1339 ## ------------------------ ##
1340 ## Autoconf initialization. ##
1341 ## ------------------------ ##
1343 # ac_fn_c_try_compile LINENO
1344 # --------------------------
1345 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1346 ac_fn_c_try_compile ()
1348 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1349 rm -f conftest.$ac_objext
1350 if { { ac_try="$ac_compile"
1352 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1353 *) ac_try_echo
=$ac_try;;
1355 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1356 $as_echo "$ac_try_echo"; } >&5
1357 (eval "$ac_compile") 2>conftest.err
1359 if test -s conftest.err
; then
1360 grep -v '^ *+' conftest.err
>conftest.er1
1361 cat conftest.er1
>&5
1362 mv -f conftest.er1 conftest.err
1364 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1365 test $ac_status = 0; } && {
1366 test -z "$ac_c_werror_flag" ||
1367 test ! -s conftest.err
1368 } && test -s conftest.
$ac_objext; then :
1371 $as_echo "$as_me: failed program was:" >&5
1372 sed 's/^/| /' conftest.
$ac_ext >&5
1376 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1379 } # ac_fn_c_try_compile
1380 cat >config.log
<<_ACEOF
1381 This file contains any messages produced by compilers while
1382 running configure, to aid debugging if configure makes a mistake.
1384 It was created by $as_me, which was
1385 generated by GNU Autoconf 2.64. Invocation command line was
1397 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1398 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1399 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1400 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1401 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1403 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1404 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1406 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1407 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1408 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1409 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1410 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1411 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1412 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1416 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1420 test -z "$as_dir" && as_dir
=.
1421 $as_echo "PATH: $as_dir"
1437 # Keep a trace of the command line.
1438 # Strip out --no-create and --no-recursion so they do not pile up.
1439 # Strip out --silent because we don't want to record it for future runs.
1440 # Also quote any args containing shell meta-characters.
1441 # Make two passes to allow for proper duplicate-argument suppression.
1445 ac_must_keep_next
=false
1451 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1452 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1453 |
-silent |
--silent |
--silen |
--sile |
--sil)
1456 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1459 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1461 as_fn_append ac_configure_args1
" '$ac_arg'"
1462 if test $ac_must_keep_next = true
; then
1463 ac_must_keep_next
=false
# Got value, back to normal.
1466 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1467 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1468 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1469 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1470 case "$ac_configure_args0 " in
1471 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1474 -* ) ac_must_keep_next
=true
;;
1477 as_fn_append ac_configure_args
" '$ac_arg'"
1482 { ac_configure_args0
=; unset ac_configure_args0
;}
1483 { ac_configure_args1
=; unset ac_configure_args1
;}
1485 # When interrupted or exit'd, cleanup temporary files, and complete
1486 # config.log. We remove comments because anyway the quotes in there
1487 # would cause problems or look ugly.
1488 # WARNING: Use '\'' to represent an apostrophe within the trap.
1489 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1490 trap 'exit_status=$?
1491 # Save into config.log some information that might help in debugging.
1496 ## ---------------- ##
1497 ## Cache variables. ##
1498 ## ---------------- ##
1501 # The following way of writing the cache mishandles newlines in values,
1503 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1504 eval ac_val=\$$ac_var
1508 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1509 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1512 _ | IFS | as_nl) ;; #(
1513 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1514 *) { eval $ac_var=; unset $ac_var;} ;;
1519 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1520 *${as_nl}ac_space=\ *)
1522 "s/'\''/'\''\\\\'\'''\''/g;
1523 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1526 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1534 ## ----------------- ##
1535 ## Output variables. ##
1536 ## ----------------- ##
1539 for ac_var in $ac_subst_vars
1541 eval ac_val=\$$ac_var
1543 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1545 $as_echo "$ac_var='\''$ac_val'\''"
1549 if test -n "$ac_subst_files"; then
1551 ## ------------------- ##
1552 ## File substitutions. ##
1553 ## ------------------- ##
1556 for ac_var
in $ac_subst_files
1558 eval ac_val
=\$
$ac_var
1560 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1562 $as_echo "$ac_var='\''$ac_val'\''"
1567 if test -s confdefs.h; then
1577 test "$ac_signal" != 0 &&
1578 $as_echo "$as_me: caught signal $ac_signal"
1579 $as_echo "$as_me: exit $exit_status"
1581 rm -f core *.core core.conftest.* &&
1582 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1585 for ac_signal
in 1 2 13 15; do
1586 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1590 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1591 rm -f -r conftest
* confdefs.h
1593 $as_echo "/* confdefs.h */" > confdefs.h
1595 # Predefined preprocessor variables.
1597 cat >>confdefs.h
<<_ACEOF
1598 #define PACKAGE_NAME "$PACKAGE_NAME"
1601 cat >>confdefs.h
<<_ACEOF
1602 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1605 cat >>confdefs.h
<<_ACEOF
1606 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1609 cat >>confdefs.h
<<_ACEOF
1610 #define PACKAGE_STRING "$PACKAGE_STRING"
1613 cat >>confdefs.h
<<_ACEOF
1614 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1617 cat >>confdefs.h
<<_ACEOF
1618 #define PACKAGE_URL "$PACKAGE_URL"
1622 # Let the site file select an alternate cache file if it wants to.
1623 # Prefer an explicitly selected file to automatically selected ones.
1626 if test -n "$CONFIG_SITE"; then
1627 ac_site_file1
=$CONFIG_SITE
1628 elif test "x$prefix" != xNONE
; then
1629 ac_site_file1
=$prefix/share
/config.site
1630 ac_site_file2
=$prefix/etc
/config.site
1632 ac_site_file1
=$ac_default_prefix/share
/config.site
1633 ac_site_file2
=$ac_default_prefix/etc
/config.site
1635 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
1637 test "x$ac_site_file" = xNONE
&& continue
1638 if test -r "$ac_site_file"; then
1639 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1640 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1641 sed 's/^/| /' "$ac_site_file" >&5
1646 if test -r "$cache_file"; then
1647 # Some versions of bash will fail to source /dev/null (special
1648 # files actually), so we avoid doing that.
1649 if test -f "$cache_file"; then
1650 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1651 $as_echo "$as_me: loading cache $cache_file" >&6;}
1653 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1654 *) .
"./$cache_file";;
1658 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1659 $as_echo "$as_me: creating cache $cache_file" >&6;}
1663 # Check that the precious variables saved in the cache have kept the same
1665 ac_cache_corrupted
=false
1666 for ac_var
in $ac_precious_vars; do
1667 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1668 eval ac_new_set
=\
$ac_env_${ac_var}_set
1669 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1670 eval ac_new_val
=\
$ac_env_${ac_var}_value
1671 case $ac_old_set,$ac_new_set in
1673 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1674 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1675 ac_cache_corrupted
=: ;;
1677 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1678 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1679 ac_cache_corrupted
=: ;;
1682 if test "x$ac_old_val" != "x$ac_new_val"; then
1683 # differences in whitespace do not lead to failure.
1684 ac_old_val_w
=`echo x $ac_old_val`
1685 ac_new_val_w
=`echo x $ac_new_val`
1686 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1687 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1688 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1689 ac_cache_corrupted
=:
1691 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1692 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1693 eval $ac_var=\
$ac_old_val
1695 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1696 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1697 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1698 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1701 # Pass precious variables to config.status.
1702 if test "$ac_new_set" = set; then
1704 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1705 *) ac_arg
=$ac_var=$ac_new_val ;;
1707 case " $ac_configure_args " in
1708 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1709 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
1713 if $ac_cache_corrupted; then
1714 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1715 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1716 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1717 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1718 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1720 ## -------------------- ##
1721 ## Main body of script. ##
1722 ## -------------------- ##
1725 ac_cpp
='$CPP $CPPFLAGS'
1726 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1727 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1728 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1738 # Command-line options.
1739 # Very limited version of AC_MAINTAINER_MODE.
1740 # Check whether --enable-maintainer-mode was given.
1741 if test "${enable_maintainer_mode+set}" = set; then :
1742 enableval
=$enable_maintainer_mode; case ${enable_maintainer_mode} in
1745 *) as_fn_error
"--enable-maintainer-mode must be yes or no" "$LINENO" 5 ;;
1747 maintainer_mode
=${enableval}
1753 # Start of actual configure tests
1756 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1757 for ac_t
in install-sh
install.sh shtool
; do
1758 if test -f "$ac_dir/$ac_t"; then
1760 ac_install_sh
="$ac_aux_dir/$ac_t -c"
1765 if test -z "$ac_aux_dir"; then
1766 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1769 # These three variables are undocumented and unsupported,
1770 # and are intended to be withdrawn in a future Autoconf release.
1771 # They can cause serious problems if a builder's source tree is in a directory
1772 # whose full name contains unusual characters.
1773 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1774 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1775 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1778 # Find a good install program. We prefer a C program (faster),
1779 # so one script is as good as another. But avoid the broken or
1780 # incompatible versions:
1781 # SysV /etc/install, /usr/sbin/install
1782 # SunOS /usr/etc/install
1783 # IRIX /sbin/install
1785 # AmigaOS /C/install, which installs bootblocks on floppy discs
1786 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1787 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1788 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1789 # OS/2's system install, which has a completely different semantic
1790 # ./install, which can be erroneously created by make from ./install.sh.
1791 # Reject install programs that cannot install multiple files.
1792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1793 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1794 if test -z "$INSTALL"; then
1795 if test "${ac_cv_path_install+set}" = set; then :
1796 $as_echo_n "(cached) " >&6
1798 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1802 test -z "$as_dir" && as_dir
=.
1803 # Account for people who put trailing slashes in PATH elements.
1804 case $as_dir/ in #((
1805 .
/ | .
// |
/[cC
]/* | \
1806 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1807 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
1810 # OSF1 and SCO ODT 3.0 have their own names for install.
1811 # Don't use installbsd from OSF since it installs stuff as root
1813 for ac_prog
in ginstall scoinst
install; do
1814 for ac_exec_ext
in '' $ac_executable_extensions; do
1815 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1816 if test $ac_prog = install &&
1817 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1818 # AIX install. It has an incompatible calling convention.
1820 elif test $ac_prog = install &&
1821 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1822 # program-specific install script used by HP pwplus--don't use.
1825 rm -rf conftest.one conftest.two conftest.dir
1826 echo one
> conftest.one
1827 echo two
> conftest.two
1829 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
1830 test -s conftest.one
&& test -s conftest.two
&&
1831 test -s conftest.dir
/conftest.one
&&
1832 test -s conftest.dir
/conftest.two
1834 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1847 rm -rf conftest.one conftest.two conftest.dir
1850 if test "${ac_cv_path_install+set}" = set; then
1851 INSTALL
=$ac_cv_path_install
1853 # As a last resort, use the slow shell script. Don't cache a
1854 # value for INSTALL within a source directory, because that will
1855 # break other packages using the cache if that directory is
1856 # removed, or if the value is a relative name.
1857 INSTALL
=$ac_install_sh
1860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1861 $as_echo "$INSTALL" >&6; }
1863 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1864 # It thinks the first close brace ends the variable substitution.
1865 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1867 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1869 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1872 # Make sure we can run config.sub.
1873 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
1874 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
1876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
1877 $as_echo_n "checking build system type... " >&6; }
1878 if test "${ac_cv_build+set}" = set; then :
1879 $as_echo_n "(cached) " >&6
1881 ac_build_alias
=$build_alias
1882 test "x$ac_build_alias" = x
&&
1883 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
1884 test "x$ac_build_alias" = x
&&
1885 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
1886 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1887 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
1890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
1891 $as_echo "$ac_cv_build" >&6; }
1892 case $ac_cv_build in
1894 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
1897 ac_save_IFS
=$IFS; IFS
='-'
1903 # Remember, the first character of IFS is used to create $*,
1904 # except with old shells:
1907 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
1910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
1911 $as_echo_n "checking host system type... " >&6; }
1912 if test "${ac_cv_host+set}" = set; then :
1913 $as_echo_n "(cached) " >&6
1915 if test "x$host_alias" = x
; then
1916 ac_cv_host
=$ac_cv_build
1918 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1919 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
1923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
1924 $as_echo "$ac_cv_host" >&6; }
1927 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
1930 ac_save_IFS
=$IFS; IFS
='-'
1936 # Remember, the first character of IFS is used to create $*,
1937 # except with old shells:
1940 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
1943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
1944 $as_echo_n "checking target system type... " >&6; }
1945 if test "${ac_cv_target+set}" = set; then :
1946 $as_echo_n "(cached) " >&6
1948 if test "x$target_alias" = x
; then
1949 ac_cv_target
=$ac_cv_host
1951 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
1952 as_fn_error
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
1956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
1957 $as_echo "$ac_cv_target" >&6; }
1958 case $ac_cv_target in
1960 *) as_fn_error
"invalid value of canonical target" "$LINENO" 5;;
1962 target
=$ac_cv_target
1963 ac_save_IFS
=$IFS; IFS
='-'
1969 # Remember, the first character of IFS is used to create $*,
1970 # except with old shells:
1973 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
1976 # The aliases save the names the user supplied, while $host etc.
1977 # will get canonicalized.
1978 test -n "$target_alias" &&
1979 test "$program_prefix$program_suffix$program_transform_name" = \
1981 program_prefix
=${target_alias}-
1983 case ${build_alias} in
1984 "") build_noncanonical
=${build} ;;
1985 *) build_noncanonical
=${build_alias} ;;
1988 case ${host_alias} in
1989 "") host_noncanonical
=${build_noncanonical} ;;
1990 *) host_noncanonical
=${host_alias} ;;
1993 case ${target_alias} in
1994 "") target_noncanonical
=${host_noncanonical} ;;
1995 *) target_noncanonical
=${target_alias} ;;
2001 # Need to pass this down for now :-P
2002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
2003 $as_echo_n "checking whether ln -s works... " >&6; }
2005 if test "$LN_S" = "ln -s"; then
2006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2007 $as_echo "yes" >&6; }
2009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
2010 $as_echo "no, using $LN_S" >&6; }
2014 # Determine what to build for 'gnattools'
2015 if test $build = $target ; then
2016 # Note that build=target is almost certainly the wrong test; FIXME
2017 default_gnattools_target
="gnattools-native"
2019 default_gnattools_target
="gnattools-cross"
2023 # Target-specific stuff (defaults)
2029 # Per-target case statement
2030 # -------------------------
2032 alpha
*-dec-vx*) # Unlike all other Vxworks
2035 | powerpc
*-wrs-vxworks \
2039 TOOLS_TARGET_PAIRS
="mlib-tgt-specific.adb<mlib-tgt-specific-vxworks.adb"
2042 TOOLS_TARGET_PAIRS
="mlib-tgt-specific.adb<mlib-tgt-specific-solaris.adb"
2045 TOOLS_TARGET_PAIRS
="mlib-tgt-specific.adb<mlib-tgt-specific-solaris.adb"
2048 | powerpc
*-*-linux* \
2054 TOOLS_TARGET_PAIRS
="\
2055 mlib-tgt-specific.adb<mlib-tgt-specific-linux.adb \
2056 indepsw.adb<indepsw-gnu.adb"
2059 TOOLS_TARGET_PAIRS
="mlib-tgt-specific.adb<mlib-tgt-specific-linux.adb"
2062 TOOLS_TARGET_PAIRS
="\
2063 mlib-tgt-specific.adb<mlib-tgt-specific-linux.adb \
2064 indepsw.adb<indepsw-gnu.adb"
2067 TOOLS_TARGET_PAIRS
="mlib-tgt-specific.adb<mlib-tgt-specific-irix.adb"
2069 hppa
*-hp-hpux10*) # Unlike hpux11
2072 TOOLS_TARGET_PAIRS
="mlib-tgt-specific.adb<mlib-tgt-specific-hpux.adb"
2075 TOOLS_TARGET_PAIRS
="\
2076 mlib-tgt-specific.adb<mlib-tgt-specific-aix.adb \
2077 indepsw.adb<indepsw-aix.adb"
2080 TOOLS_TARGET_PAIRS
="mlib-tgt-specific.adb<mlib-tgt-specific-tru64.adb"
2082 alpha
*-dec-vms* | alpha
*-dec-openvms* | alpha
*-dec-vms* \
2083 | alpha
*-hp-vms* | alpha
*-hp-openvms* | alpha
*-hp-vms*)
2084 TOOLS_TARGET_PAIRS
="\
2085 mlib-tgt-specific.adb<mlib-tgt-specific-vms-alpha.adb \
2086 symbols.adb<symbols-vms.adb \
2087 symbols-processing.adb<symbols-processing-vms-alpha.adb"
2089 EXTRA_GNATTOOLS
='../../gnatlbr$(exeext) ../../gnatsym$(exeext)'
2091 ia64
*-dec-vms* | ia64
*-dec-openvms* | ia64
*-dec-vms* \
2092 | ia64
*-hp-vms* | ia64
*-hp-openvms* | ia64
*-hp-vms*)
2093 TOOLS_TARGET_PAIRS
="\
2094 mlib-tgt-specific.adb<mlib-tgt-specific-vms-ia64.adb \
2095 symbols.adb<symbols-vms.adb \
2096 symbols-processing.adb<symbols-processing-vms-ia64.adb"
2098 EXTRA_GNATTOOLS
='../../gnatlbr$(exeext) ../../gnatsym$(exeext)'
2100 *-*-cygwin32* |
*-*-mingw32* |
*-*-pe)
2101 TOOLS_TARGET_PAIRS
="\
2102 mlib-tgt-specific.adb<mlib-tgt-specific-mingw.adb \
2103 indepsw.adb<indepsw-mingw.adb"
2104 EXTRA_GNATTOOLS
='../../gnatdll$(exeext)'
2107 TOOLS_TARGET_PAIRS
="mlib-tgt-specific.adb<mlib-tgt-specific-darwin.adb"
2110 TOOLS_TARGET_PAIRS
="\
2111 mlib-tgt-specific.adb<mlib-tgt-specific-lynxos.adb \
2112 indepsw.adb<indepsw-gnu.adb"
2116 # From user or toplevel makefile.
2120 ac_cpp
='$CPP $CPPFLAGS'
2121 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2122 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2123 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2124 if test -n "$ac_tool_prefix"; then
2125 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2126 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2128 $as_echo_n "checking for $ac_word... " >&6; }
2129 if test "${ac_cv_prog_CC+set}" = set; then :
2130 $as_echo_n "(cached) " >&6
2132 if test -n "$CC"; then
2133 ac_cv_prog_CC
="$CC" # Let the user override the test.
2135 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2139 test -z "$as_dir" && as_dir
=.
2140 for ac_exec_ext
in '' $ac_executable_extensions; do
2141 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2142 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2143 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2153 if test -n "$CC"; then
2154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2155 $as_echo "$CC" >&6; }
2157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2158 $as_echo "no" >&6; }
2163 if test -z "$ac_cv_prog_CC"; then
2165 # Extract the first word of "gcc", so it can be a program name with args.
2166 set dummy gcc
; ac_word
=$2
2167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2168 $as_echo_n "checking for $ac_word... " >&6; }
2169 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2170 $as_echo_n "(cached) " >&6
2172 if test -n "$ac_ct_CC"; then
2173 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2175 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2179 test -z "$as_dir" && as_dir
=.
2180 for ac_exec_ext
in '' $ac_executable_extensions; do
2181 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2182 ac_cv_prog_ac_ct_CC
="gcc"
2183 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2192 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2193 if test -n "$ac_ct_CC"; then
2194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2195 $as_echo "$ac_ct_CC" >&6; }
2197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2198 $as_echo "no" >&6; }
2201 if test "x$ac_ct_CC" = x
; then
2204 case $cross_compiling:$ac_tool_warned in
2206 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2207 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2208 ac_tool_warned
=yes ;;
2216 if test -z "$CC"; then
2217 if test -n "$ac_tool_prefix"; then
2218 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2219 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2221 $as_echo_n "checking for $ac_word... " >&6; }
2222 if test "${ac_cv_prog_CC+set}" = set; then :
2223 $as_echo_n "(cached) " >&6
2225 if test -n "$CC"; then
2226 ac_cv_prog_CC
="$CC" # Let the user override the test.
2228 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2232 test -z "$as_dir" && as_dir
=.
2233 for ac_exec_ext
in '' $ac_executable_extensions; do
2234 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2235 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2236 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2246 if test -n "$CC"; then
2247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2248 $as_echo "$CC" >&6; }
2250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2251 $as_echo "no" >&6; }
2257 if test -z "$CC"; then
2258 # Extract the first word of "cc", so it can be a program name with args.
2259 set dummy cc
; ac_word
=$2
2260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2261 $as_echo_n "checking for $ac_word... " >&6; }
2262 if test "${ac_cv_prog_CC+set}" = set; then :
2263 $as_echo_n "(cached) " >&6
2265 if test -n "$CC"; then
2266 ac_cv_prog_CC
="$CC" # Let the user override the test.
2269 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2273 test -z "$as_dir" && as_dir
=.
2274 for ac_exec_ext
in '' $ac_executable_extensions; do
2275 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2276 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2277 ac_prog_rejected
=yes
2281 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2288 if test $ac_prog_rejected = yes; then
2289 # We found a bogon in the path, so make sure we never use it.
2290 set dummy
$ac_cv_prog_CC
2292 if test $# != 0; then
2293 # We chose a different compiler from the bogus one.
2294 # However, it has the same basename, so the bogon will be chosen
2295 # first if we set CC to just the basename; use the full file name.
2297 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2303 if test -n "$CC"; then
2304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2305 $as_echo "$CC" >&6; }
2307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2308 $as_echo "no" >&6; }
2313 if test -z "$CC"; then
2314 if test -n "$ac_tool_prefix"; then
2315 for ac_prog
in cl.exe
2317 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2318 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2320 $as_echo_n "checking for $ac_word... " >&6; }
2321 if test "${ac_cv_prog_CC+set}" = set; then :
2322 $as_echo_n "(cached) " >&6
2324 if test -n "$CC"; then
2325 ac_cv_prog_CC
="$CC" # Let the user override the test.
2327 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2331 test -z "$as_dir" && as_dir
=.
2332 for ac_exec_ext
in '' $ac_executable_extensions; do
2333 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2334 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2335 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2345 if test -n "$CC"; then
2346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2347 $as_echo "$CC" >&6; }
2349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2350 $as_echo "no" >&6; }
2354 test -n "$CC" && break
2357 if test -z "$CC"; then
2359 for ac_prog
in cl.exe
2361 # Extract the first word of "$ac_prog", so it can be a program name with args.
2362 set dummy
$ac_prog; ac_word
=$2
2363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2364 $as_echo_n "checking for $ac_word... " >&6; }
2365 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2366 $as_echo_n "(cached) " >&6
2368 if test -n "$ac_ct_CC"; then
2369 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2371 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2375 test -z "$as_dir" && as_dir
=.
2376 for ac_exec_ext
in '' $ac_executable_extensions; do
2377 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2378 ac_cv_prog_ac_ct_CC
="$ac_prog"
2379 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2388 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2389 if test -n "$ac_ct_CC"; then
2390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2391 $as_echo "$ac_ct_CC" >&6; }
2393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2394 $as_echo "no" >&6; }
2398 test -n "$ac_ct_CC" && break
2401 if test "x$ac_ct_CC" = x
; then
2404 case $cross_compiling:$ac_tool_warned in
2406 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2407 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2408 ac_tool_warned
=yes ;;
2417 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2418 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2419 as_fn_error
"no acceptable C compiler found in \$PATH
2420 See \`config.log' for more details." "$LINENO" 5; }
2422 # Provide some information about the compiler.
2423 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2426 for ac_option
in --version -v -V -qversion; do
2427 { { ac_try
="$ac_compiler $ac_option >&5"
2429 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2430 *) ac_try_echo=$ac_try;;
2432 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2433 $as_echo "$ac_try_echo"; } >&5
2434 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2436 if test -s conftest.err; then
2438 ... rest of stderr output deleted ...
2439 10q' conftest.err >conftest.er1
2440 cat conftest.er1 >&5
2441 rm -f conftest.er1 conftest.err
2443 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2444 test $ac_status = 0; }
2447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2448 /* end confdefs.h. */
2458 ac_clean_files_save=$ac_clean_files
2459 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
2460 # Try to create an executable without -o first, disregard a.out.
2461 # It will help us diagnose broken compilers, and finding out an intuition
2463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2464 $as_echo_n "checking for C compiler default output file name... " >&6; }
2465 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2467 # The possible output files:
2468 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2471 for ac_file in $ac_files
2474 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2475 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2480 if { { ac_try="$ac_link_default"
2482 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2483 *) ac_try_echo
=$ac_try;;
2485 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2486 $as_echo "$ac_try_echo"; } >&5
2487 (eval "$ac_link_default") 2>&5
2489 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2490 test $ac_status = 0; }; then :
2491 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2492 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2493 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2494 # so that the user can short-circuit this test for compilers unknown to
2496 for ac_file
in $ac_files ''
2498 test -f "$ac_file" ||
continue
2500 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
2503 # We found the default executable, but exeext='' is most
2507 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2509 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2511 # We set ac_cv_exeext here because the later test for it is not
2512 # safe: cross compilers may not add the suffix if given an `-o'
2513 # argument, so we may need to know it at that point already.
2514 # Even if this section looks crufty: it has the advantage of
2521 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2527 $as_echo "$ac_file" >&6; }
2528 if test -z "$ac_file"; then :
2529 $as_echo "$as_me: failed program was:" >&5
2530 sed 's/^/| /' conftest.
$ac_ext >&5
2532 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2533 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2534 { as_fn_set_status
77
2535 as_fn_error
"C compiler cannot create executables
2536 See \`config.log' for more details." "$LINENO" 5; }; }
2538 ac_exeext
=$ac_cv_exeext
2540 # Check that the compiler produces executables we can run. If not, either
2541 # the compiler is broken, or we cross compile.
2542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2543 $as_echo_n "checking whether the C compiler works... " >&6; }
2544 # If not cross compiling, check that we can run a simple program.
2545 if test "$cross_compiling" != yes; then
2546 if { ac_try
='./$ac_file'
2547 { { case "(($ac_try" in
2548 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2549 *) ac_try_echo=$ac_try;;
2551 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2552 $as_echo "$ac_try_echo"; } >&5
2553 (eval "$ac_try") 2>&5
2555 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2556 test $ac_status = 0; }; }; then
2559 if test "$cross_compiling" = maybe; then
2562 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2563 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2564 as_fn_error "cannot run C compiled programs.
2565 If you meant to cross compile
, use \
`--host'.
2566 See \`config.log
' for more details." "$LINENO" 5; }
2570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2571 $as_echo "yes" >&6; }
2573 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
2574 ac_clean_files=$ac_clean_files_save
2575 # Check that the compiler produces executables we can run. If not, either
2576 # the compiler is broken, or we cross compile.
2577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2578 $as_echo_n "checking whether we are cross compiling... " >&6; }
2579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2580 $as_echo "$cross_compiling" >&6; }
2582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2583 $as_echo_n "checking for suffix of executables... " >&6; }
2584 if { { ac_try="$ac_link"
2586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2587 *) ac_try_echo=$ac_try;;
2589 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2590 $as_echo "$ac_try_echo"; } >&5
2591 (eval "$ac_link") 2>&5
2593 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2594 test $ac_status = 0; }; then :
2595 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2596 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2597 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2599 for ac_file
in conftest.exe conftest conftest.
*; do
2600 test -f "$ac_file" ||
continue
2602 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2603 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2609 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2610 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2611 as_fn_error
"cannot compute suffix of executables: cannot compile and link
2612 See \`config.log' for more details." "$LINENO" 5; }
2614 rm -f conftest
$ac_cv_exeext
2615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2616 $as_echo "$ac_cv_exeext" >&6; }
2618 rm -f conftest.
$ac_ext
2619 EXEEXT
=$ac_cv_exeext
2621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2622 $as_echo_n "checking for suffix of object files... " >&6; }
2623 if test "${ac_cv_objext+set}" = set; then :
2624 $as_echo_n "(cached) " >&6
2626 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2627 /* end confdefs.h. */
2637 rm -f conftest.o conftest.obj
2638 if { { ac_try
="$ac_compile"
2640 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2641 *) ac_try_echo=$ac_try;;
2643 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2644 $as_echo "$ac_try_echo"; } >&5
2645 (eval "$ac_compile") 2>&5
2647 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2648 test $ac_status = 0; }; then :
2649 for ac_file in conftest.o conftest.obj conftest.*; do
2650 test -f "$ac_file" || continue;
2652 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2653 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2658 $as_echo "$as_me: failed program was:" >&5
2659 sed 's/^/| /' conftest.$ac_ext >&5
2661 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2662 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2663 as_fn_error "cannot compute suffix of object files
: cannot compile
2664 See \
`config.log' for more details." "$LINENO" 5; }
2666 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2669 $as_echo "$ac_cv_objext" >&6; }
2670 OBJEXT=$ac_cv_objext
2672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2673 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2674 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
2675 $as_echo_n "(cached) " >&6
2677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2678 /* end confdefs.h. */
2691 if ac_fn_c_try_compile "$LINENO"; then :
2696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2697 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2701 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2702 if test $ac_compiler_gnu = yes; then
2707 ac_test_CFLAGS=${CFLAGS+set}
2708 ac_save_CFLAGS=$CFLAGS
2709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2710 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2711 if test "${ac_cv_prog_cc_g+set}" = set; then :
2712 $as_echo_n "(cached) " >&6
2714 ac_save_c_werror_flag=$ac_c_werror_flag
2715 ac_c_werror_flag=yes
2718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2719 /* end confdefs.h. */
2729 if ac_fn_c_try_compile "$LINENO"; then :
2733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2734 /* end confdefs.h. */
2744 if ac_fn_c_try_compile "$LINENO"; then :
2747 ac_c_werror_flag=$ac_save_c_werror_flag
2749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2750 /* end confdefs.h. */
2760 if ac_fn_c_try_compile "$LINENO"; then :
2763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2768 ac_c_werror_flag=$ac_save_c_werror_flag
2770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2771 $as_echo "$ac_cv_prog_cc_g" >&6; }
2772 if test "$ac_test_CFLAGS" = set; then
2773 CFLAGS=$ac_save_CFLAGS
2774 elif test $ac_cv_prog_cc_g = yes; then
2775 if test "$GCC" = yes; then
2781 if test "$GCC" = yes; then
2787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2788 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2789 if test "${ac_cv_prog_cc_c89+set}" = set; then :
2790 $as_echo_n "(cached) " >&6
2792 ac_cv_prog_cc_c89=no
2794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2795 /* end confdefs.h. */
2798 #include <sys/types.h>
2799 #include <sys/stat.h>
2800 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2801 struct buf { int x; };
2802 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2803 static char *e (p, i)
2809 static char *f (char * (*g) (char **, int), char **p, ...)
2814 s = g (p, va_arg (v,int));
2819 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2820 function prototypes and stuff, but not '\xHH' hex character constants.
2821 These don't provoke an error unfortunately, instead are silently treated
2822 as 'x'. The following induces an error, until -std is added to get
2823 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2824 array size at least. It's necessary to write '\x00'==0 to get something
2825 that's true only with -std. */
2826 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2828 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2829 inside strings and character constants. */
2831 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2833 int test (int i, double x);
2834 struct s1 {int (*f) (int a);};
2835 struct s2 {int (*f) (double a);};
2836 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2842 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2847 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2848 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2850 CC="$ac_save_CC $ac_arg"
2851 if ac_fn_c_try_compile "$LINENO"; then :
2852 ac_cv_prog_cc_c89=$ac_arg
2854 rm -f core conftest.err conftest.$ac_objext
2855 test "x$ac_cv_prog_cc_c89" != "xno" && break
2857 rm -f conftest.$ac_ext
2862 case "x$ac_cv_prog_cc_c89" in
2864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2865 $as_echo "none needed" >&6; } ;;
2867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2868 $as_echo "unsupported" >&6; } ;;
2870 CC="$CC $ac_cv_prog_cc_c89"
2871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2872 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2874 if test "x$ac_cv_prog_cc_c89" != xno; then :
2879 ac_cpp='$CPP $CPPFLAGS'
2880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2885 if test "x$GCC" = "xyes"; then
2886 warn_cflags='$(GCC_WARN_CFLAGS)'
2890 # Output: create a Makefile.
2891 ac_config_files="$ac_config_files Makefile"
2894 cat >confcache <<\_ACEOF
2895 # This file is a shell script that caches the results of configure
2896 # tests run on this system so they can be shared between configure
2897 # scripts and configure runs, see configure's option --config-cache.
2898 # It is not useful on other systems. If it contains results you don't
2899 # want to keep, you may remove or edit it.
2901 # config.status only pays attention to the cache file if you give it
2902 # the --recheck option to rerun configure.
2904 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
2905 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2910 # The following way of writing the cache mishandles newlines in values,
2911 # but we know of no workaround that is simple, portable, and efficient.
2912 # So, we kill variables containing newlines.
2913 # Ultrix sh set writes to stderr and can't be redirected directly,
2914 # and sets the high bit in the cache file unless we assign to the vars.
2916 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2917 eval ac_val
=\$
$ac_var
2921 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2922 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2925 _ | IFS | as_nl
) ;; #(
2926 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
2927 *) { eval $ac_var=; unset $ac_var;} ;;
2933 case $as_nl`(ac_space=' '; set) 2>&1` in #(
2934 *${as_nl}ac_space
=\
*)
2935 # `set' does not quote correctly, so add quotes: double-quote
2936 # substitution turns \\\\ into \\, and sed turns \\ into \.
2939 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2942 # `set' quotes correctly as required by POSIX, so do not add quotes.
2943 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2952 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2954 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2956 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
2957 if test -w "$cache_file"; then
2958 test "x$cache_file" != "x/dev/null" &&
2959 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
2960 $as_echo "$as_me: updating cache $cache_file" >&6;}
2961 cat confcache
>$cache_file
2963 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
2964 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2969 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
2970 # Let make expand exec_prefix.
2971 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
2973 # Transform confdefs.h into DEFS.
2974 # Protect against shell expansion while executing Makefile rules.
2975 # Protect against Makefile macro expansion.
2977 # If the first sed substitution is executed (which looks for macros that
2978 # take arguments), then branch to the quote section. Otherwise,
2979 # look for a macro that doesn't take arguments.
2989 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
2991 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
2995 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
3008 DEFS
=`sed -n "$ac_script" confdefs.h`
3013 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
3014 # 1. Remove the extension, and $U if already installed.
3015 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
3016 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
3017 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3018 # will be set to the directory where LIBOBJS objects are built.
3019 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3020 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
3024 LTLIBOBJS
=$ac_ltlibobjs
3028 : ${CONFIG_STATUS=./config.status}
3030 ac_clean_files_save
=$ac_clean_files
3031 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
3032 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3033 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3035 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3037 # Generated by $as_me.
3038 # Run this file to recreate the current configuration.
3039 # Compiler output produced by configure, useful for debugging
3040 # configure, is in config.log if it exists.
3046 SHELL=\${CONFIG_SHELL-$SHELL}
3049 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
3050 ## -------------------- ##
3051 ## M4sh Initialization. ##
3052 ## -------------------- ##
3054 # Be more Bourne compatible
3055 DUALCASE
=1; export DUALCASE
# for MKS sh
3056 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
3059 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3060 # is contrary to our usage. Disable this feature.
3061 alias -g '${1+"$@"}'='"$@"'
3062 setopt NO_GLOB_SUBST
3064 case `(set -o) 2>/dev/null` in #(
3076 # Printing a long string crashes Solaris 7 /usr/bin/printf.
3077 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3078 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3079 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3080 # Prefer a ksh shell builtin over an external printf program on Solaris,
3081 # but without wasting forks for bash or zsh.
3082 if test -z "$BASH_VERSION$ZSH_VERSION" \
3083 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
3084 as_echo='print
-r --'
3085 as_echo_n='print
-rn --'
3086 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3087 as_echo='printf %s
\n'
3088 as_echo_n='printf %s
'
3090 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3091 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
3092 as_echo_n='/usr
/ucb
/echo -n'
3094 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3095 as_echo_n_body='eval
3099 expr "X$arg" : "X\\(.*\\)$as_nl";
3100 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3102 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
3104 export as_echo_n_body
3105 as_echo_n='sh
-c $as_echo_n_body as_echo
'
3108 as_echo='sh
-c $as_echo_body as_echo
'
3111 # The user is always right.
3112 if test "${PATH_SEPARATOR+set}" != set; then
3114 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3115 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3122 # We need space, tab and new line, in precisely that order. Quoting is
3123 # there to prevent editors from complaining about space-tab.
3124 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3125 # splitting by setting IFS to empty value.)
3128 # Find who we are. Look in the path if we contain no directory separator.
3130 *[\\/]* ) as_myself=$0 ;;
3131 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3135 test -z "$as_dir" && as_dir=.
3136 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3142 # We did not find ourselves, most probably we were run as `sh COMMAND'
3143 # in which case we are not to be found in the path.
3144 if test "x$as_myself" = x
; then
3147 if test ! -f "$as_myself"; then
3148 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3152 # Unset variables that we do not need and which cause bugs (e.g. in
3153 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
3154 # suppresses any "Segmentation fault" message there. '((' could
3155 # trigger a bug in pdksh 5.2.14.
3156 for as_var
in BASH_ENV ENV MAIL MAILPATH
3157 do eval test x\
${$as_var+set} = xset \
3158 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
3171 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
3174 # as_fn_error ERROR [LINENO LOG_FD]
3175 # ---------------------------------
3176 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3177 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3178 # script with status $?, using 1 if that was 0.
3181 as_status
=$?
; test $as_status -eq 0 && as_status
=1
3183 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
3184 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
3186 $as_echo "$as_me: error: $1" >&2
3187 as_fn_exit
$as_status
3191 # as_fn_set_status STATUS
3192 # -----------------------
3193 # Set $? to STATUS, without forking.
3197 } # as_fn_set_status
3201 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3211 # Portably unset VAR.
3214 { eval $1=; unset $1;}
3216 as_unset
=as_fn_unset
3217 # as_fn_append VAR VALUE
3218 # ----------------------
3219 # Append the text in VALUE to the end of the definition contained in VAR. Take
3220 # advantage of any shell optimizations that allow amortized linear growth over
3221 # repeated appends, instead of the typical quadratic growth present in naive
3223 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
3224 eval 'as_fn_append ()
3235 # as_fn_arith ARG...
3236 # ------------------
3237 # Perform arithmetic evaluation on the ARGs, and store the result in the
3238 # global $as_val. Take advantage of shells that can avoid forks. The arguments
3239 # must be portable across $(()) and expr.
3240 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
3241 eval 'as_fn_arith ()
3248 as_val
=`expr "$@" || test $? -eq 1`
3253 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
3254 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
3260 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3261 as_basename
=basename
3266 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
3272 as_me
=`$as_basename -- "$0" ||
3273 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3274 X"$0" : 'X\(//\)$' \| \
3275 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3277 sed '/^.*\/\([^/][^/]*\)\/*$/{
3291 # Avoid depending upon Character Ranges.
3292 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
3293 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3294 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
3295 as_cr_digits
='0123456789'
3296 as_cr_alnum
=$as_cr_Letters$as_cr_digits
3298 ECHO_C
= ECHO_N
= ECHO_T
=
3299 case `echo -n x` in #(((((
3301 case `echo 'xy\c'` in
3302 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
3304 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
3311 rm -f conf$$ conf$$.exe conf$$.
file
3312 if test -d conf$$.dir
; then
3313 rm -f conf$$.dir
/conf$$.
file
3316 mkdir conf$$.dir
2>/dev
/null
3318 if (echo >conf$$.
file) 2>/dev
/null
; then
3319 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
3321 # ... but there are two gotchas:
3322 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3323 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3324 # In both cases, we have to default to `cp -p'.
3325 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
3327 elif ln conf$$.
file conf$$
2>/dev
/null
; then
3335 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
3336 rmdir conf$$.dir
2>/dev
/null
3341 # Create "$as_dir" as a directory, including parents if necessary.
3346 -*) as_dir
=.
/$as_dir;;
3348 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
3352 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3353 *) as_qdir
=$as_dir;;
3355 as_dirs
="'$as_qdir' $as_dirs"
3356 as_dir
=`$as_dirname -- "$as_dir" ||
3357 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3358 X"$as_dir" : 'X\(//\)[^/]' \| \
3359 X"$as_dir" : 'X\(//\)$' \| \
3360 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3361 $as_echo X"$as_dir" |
3362 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3379 test -d "$as_dir" && break
3381 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
3382 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
3386 if mkdir
-p .
2>/dev
/null
; then
3387 as_mkdir_p
='mkdir -p "$as_dir"'
3389 test -d .
/-p && rmdir .
/-p
3393 if test -x / >/dev
/null
2>&1; then
3396 if ls -dL / >/dev
/null
2>&1; then
3403 if test -d "$1"; then
3409 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
3410 ???[sx]*):;;*)false;;esac;fi
3414 as_executable_p
=$as_test_x
3416 # Sed expression to map a string onto a valid CPP name.
3417 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3419 # Sed expression to map a string onto a valid variable name.
3420 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3424 ## ----------------------------------- ##
3425 ## Main body of $CONFIG_STATUS script. ##
3426 ## ----------------------------------- ##
3428 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
3430 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
3431 # Save the log message, to keep $0 and so on meaningful, and to
3432 # report actual input values of CONFIG_FILES etc. instead of their
3433 # values after options handling.
3435 This file was extended by $as_me, which was
3436 generated by GNU Autoconf 2.64. Invocation command line was
3438 CONFIG_FILES = $CONFIG_FILES
3439 CONFIG_HEADERS = $CONFIG_HEADERS
3440 CONFIG_LINKS = $CONFIG_LINKS
3441 CONFIG_COMMANDS = $CONFIG_COMMANDS
3444 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3449 case $ac_config_files in *"
3450 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
3455 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3456 # Files that config.status was made for.
3457 config_files="$ac_config_files"
3461 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
3463 \`$as_me' instantiates files and other configuration actions
3464 from templates according to the current configuration. Unless the files
3465 and actions are specified as TAGs, all are instantiated by default.
3467 Usage: $0 [OPTION]... [TAG]...
3469 -h, --help print this help, then exit
3470 -V, --version print version number and configuration settings, then exit
3471 -q, --quiet, --silent
3472 do not print progress messages
3473 -d, --debug don't remove temporary files
3474 --recheck update $as_me by reconfiguring in the same conditions
3475 --file=FILE[:TEMPLATE]
3476 instantiate the configuration file FILE
3478 Configuration files:
3481 Report bugs to the package provider."
3484 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3487 configured by $0, generated by GNU Autoconf 2.64,
3488 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
3490 Copyright (C) 2009 Free Software Foundation, Inc.
3491 This config.status script is free software; the Free Software Foundation
3492 gives unlimited permission to copy, distribute and modify it."
3497 test -n "\$AWK" || AWK=awk
3500 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
3501 # The default lists apply if the user does not specify any file.
3507 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
3508 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
3519 # Handling of the options.
3520 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
3522 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
3523 $as_echo "$ac_cs_version"; exit ;;
3524 --debug |
--debu |
--deb |
--de |
--d |
-d )
3526 --file |
--fil |
--fi |
--f )
3529 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3531 as_fn_append CONFIG_FILES
" '$ac_optarg'"
3532 ac_need_defaults
=false
;;
3533 --he |
--h |
--help |
--hel |
-h )
3534 $as_echo "$ac_cs_usage"; exit ;;
3535 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
3536 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
3540 -*) as_fn_error
"unrecognized option: \`$1'
3541 Try \`$0 --help' for more information." ;;
3543 *) as_fn_append ac_config_targets
" $1"
3544 ac_need_defaults
=false
;;
3550 ac_configure_extra_args
=
3552 if $ac_cs_silent; then
3554 ac_configure_extra_args
="$ac_configure_extra_args --silent"
3558 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3559 if \$ac_cs_recheck; then
3560 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3562 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3563 CONFIG_SHELL='$SHELL'
3569 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
3573 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3574 ## Running $as_me. ##
3580 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3583 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
3585 # Handling of arguments.
3586 for ac_config_target
in $ac_config_targets
3588 case $ac_config_target in
3589 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
3591 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
3596 # If the user did not use the arguments to specify the items to instantiate,
3597 # then the envvar interface is used. Set only those that are not.
3598 # We use the long form for the default assignment because of an extremely
3599 # bizarre bug on SunOS 4.1.3.
3600 if $ac_need_defaults; then
3601 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
3604 # Have a temporary directory for convenience. Make it in the build tree
3605 # simply because there is no reason against having it here, and in addition,
3606 # creating and moving files from /tmp can sometimes cause problems.
3607 # Hook for its removal unless debugging.
3608 # Note that there is a small window in which the directory will not be cleaned:
3609 # after its creation but before its name has been assigned to `$tmp'.
3613 trap 'exit_status=$?
3614 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
3616 trap 'as_fn_exit 1' 1 2 13 15
3618 # Create a (secure) tmp directory for tmp files.
3621 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3622 test -n "$tmp" && test -d "$tmp"
3625 tmp
=.
/conf$$
-$RANDOM
3626 (umask 077 && mkdir
"$tmp")
3627 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
3629 # Set up the scripts for CONFIG_FILES section.
3630 # No need to generate them if there are no CONFIG_FILES.
3631 # This happens for instance with `./config.status config.h'.
3632 if test -n "$CONFIG_FILES"; then
3635 ac_cr
=`echo X | tr X '\015'`
3636 # On cygwin, bash can eat \r inside `` if the user requested igncr.
3637 # But we know of no other shell where ac_cr would be empty at this
3638 # point, so we can use a bashism as a fallback.
3639 if test "x$ac_cr" = x
; then
3640 eval ac_cr
=\$
\'\\r
\'
3642 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3643 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3649 echo 'BEGIN {' >"$tmp/subs1.awk" &&
3654 echo "cat >conf$$subs.awk <<_ACEOF" &&
3655 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3658 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
3659 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
3661 for ac_last_try in false false false false false :; do
3662 . ./conf$$subs.sh ||
3663 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
3665 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
3666 if test $ac_delim_n = $ac_delim_num; then
3668 elif $ac_last_try; then
3669 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
3671 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
3676 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3677 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
3681 s/^/S["/; s
/!.
*/"]=/
3691 s/\(.\{148\}\).*/\1/
3693 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
3698 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
3705 s/\(.\{148\}\).*/\1/
3707 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
3711 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
3716 ' <conf$$subs.awk | sed '
3721 ' >>$CONFIG_STATUS || ac_write_fail=1
3722 rm -f conf$$subs.awk
3723 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3725 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
3726 for (key in S) S_is_set[key] = 1
3732 nfields = split(line, field, "@
")
3734 len = length(field[1])
3735 for (i = 2; i < nfields; i++) {
3737 keylen = length(key)
3738 if (S_is_set[key]) {
3740 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3741 len += length(value) + length(field[++i])
3752 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3753 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
3754 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
3757 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
3758 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
3761 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3762 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
3763 # trailing colons and then remove the whole line if VPATH becomes empty
3764 # (actually we leave an empty line to preserve line numbers).
3765 if test "x
$srcdir" = x.; then
3766 ac_vpsub='/^[ ]*VPATH[ ]*=/{
3770 s/^\([^=]*=[ ]*\):*/\1/
3776 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3777 fi # test -n "$CONFIG_FILES"
3780 eval set X " :F
$CONFIG_FILES "
3785 :[FHLC]) ac_mode=$ac_tag; continue;;
3787 case $ac_mode$ac_tag in
3789 :L* | :C*:*) as_fn_error "invalid tag \
`$ac_tag'" "$LINENO" 5;;
3790 :[FH]-) ac_tag=-:-;;
3791 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3808 -) ac_f="$tmp/stdin";;
3809 *) # Look for the file first in the build tree, then in the source tree
3810 # (if the path is not absolute). The absolute path cannot be DOS-style,
3811 # because $ac_f cannot contain `:'.
3815 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3817 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
3819 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
3820 as_fn_append ac_file_inputs " '$ac_f'"
3823 # Let's still pretend it is `configure' which instantiates (i.e., don't
3824 # use $as_me), people would be surprised to read:
3825 # /* config.h. Generated by config.status. */
3826 configure_input='Generated from '`
3827 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
3829 if test x"$ac_file" != x-; then
3830 configure_input="$ac_file.
$configure_input"
3831 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
3832 $as_echo "$as_me: creating
$ac_file" >&6;}
3834 # Neutralize special characters interpreted by sed in replacement strings.
3835 case $configure_input in #(
3836 *\&* | *\|* | *\\* )
3837 ac_sed_conf_input=`$as_echo "$configure_input" |
3838 sed 's/[\\\\&|]/\\\\&/g'`;; #(
3839 *) ac_sed_conf_input=$configure_input;;
3843 *:-:* | *:-) cat >"$tmp/stdin
" \
3844 || as_fn_error "could not create
$ac_file" "$LINENO" 5 ;;
3849 ac_dir=`$as_dirname -- "$ac_file" ||
3850 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3851 X"$ac_file" : 'X\(//\)[^/]' \| \
3852 X"$ac_file" : 'X\(//\)$' \| \
3853 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3854 $as_echo X"$ac_file" |
3855 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3872 as_dir="$ac_dir"; as_fn_mkdir_p
3876 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3878 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
3879 # A "..
" for each directory in $ac_dir_suffix.
3880 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3881 case $ac_top_builddir_sub in
3882 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3883 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3886 ac_abs_top_builddir=$ac_pwd
3887 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3888 # for backward compatibility:
3889 ac_top_builddir=$ac_top_build_prefix
3892 .) # We are building in place.
3894 ac_top_srcdir=$ac_top_builddir_sub
3895 ac_abs_top_srcdir=$ac_pwd ;;
3896 [\\/]* | ?:[\\/]* ) # Absolute name.
3897 ac_srcdir=$srcdir$ac_dir_suffix;
3898 ac_top_srcdir=$srcdir
3899 ac_abs_top_srcdir=$srcdir ;;
3901 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3902 ac_top_srcdir=$ac_top_build_prefix$srcdir
3903 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3905 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3915 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3916 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3920 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3921 # If the template does not know about datarootdir, expand it.
3922 # FIXME: This hack should be removed a few years after 2.60.
3923 ac_datarootdir_hack=; ac_datarootdir_seen=
3934 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
3935 *datarootdir*) ac_datarootdir_seen=yes;;
3936 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3937 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
3938 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
3940 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3941 ac_datarootdir_hack='
3942 s&@datadir@&$datadir&g
3943 s&@docdir@&$docdir&g
3944 s&@infodir@&$infodir&g
3945 s&@localedir@&$localedir&g
3946 s&@mandir@&$mandir&g
3947 s&\\\${datarootdir}&$datarootdir&g' ;;
3951 # Neutralize VPATH when `$srcdir' = `.'.
3952 # Shell code in configure.ac might set extrasub.
3953 # FIXME: do we really want to maintain this feature?
3954 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3955 ac_sed_extra="$ac_vpsub
3958 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
3960 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
3961 s|@configure_input@|
$ac_sed_conf_input|
;t t
3962 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
3963 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
3964 s
&@srcdir@
&$ac_srcdir&;t t
3965 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
3966 s
&@top_srcdir@
&$ac_top_srcdir&;t t
3967 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
3968 s
&@builddir@
&$ac_builddir&;t t
3969 s
&@abs_builddir@
&$ac_abs_builddir&;t t
3970 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
3971 s
&@INSTALL@
&$ac_INSTALL&;t t
3972 $ac_datarootdir_hack
3974 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
3975 || as_fn_error "could not create
$ac_file" "$LINENO" 5
3977 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3978 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
3979 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
3980 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
3981 which seems to be undefined. Please make sure it is defined." >&5
3982 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
3983 which seems to be undefined. Please make sure it is defined." >&2;}
3987 -) cat "$tmp/out" && rm -f "$tmp/out";;
3988 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
3990 || as_fn_error "could not create $ac_file" "$LINENO" 5
4002 ac_clean_files=$ac_clean_files_save
4004 test $ac_write_fail = 0 ||
4005 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
4008 # configure is writing to config.log, and then calls config.status.
4009 # config.status does its own redirection, appending to config.log.
4010 # Unfortunately, on DOS this fails, as config.log is still kept open
4011 # by configure, so config.status won't be able to
write to it
; its
4012 # output is simply discarded. So we exec the FD to /dev/null,
4013 # effectively closing config.log, so it can be properly (re)opened and
4014 # appended to by config.status. When coming back to configure, we
4015 # need to make the FD available again.
4016 if test "$no_create" != yes; then
4018 ac_config_status_args
=
4019 test "$silent" = yes &&
4020 ac_config_status_args
="$ac_config_status_args --quiet"
4022 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
4024 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4025 # would make configure fail if this is the last instruction.
4026 $ac_cs_success || as_fn_exit $?
4028 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
4029 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4030 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}