2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for gmp native 6.1.0.
5 # Report bugs to <tex-k@tug.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x
; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var
in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\
${$as_var+set} = xset \
122 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
135 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
140 _as_can_reexec
=no
; export _as_can_reexec
;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
149 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec
=; unset _as_can_reexec
;}
162 if test "x$CONFIG_SHELL" = x
; then
163 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required
="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
201 if (eval "$as_required") 2>/dev
/null
; then :
206 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
209 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
211 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
214 test -z "$as_dir" && as_dir
=.
218 for as_base
in sh bash ksh sh5
; do
219 # Try only shells that exist, to save several forks.
220 as_shell
=$as_dir/$as_base
221 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
222 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
223 CONFIG_SHELL
=$as_shell as_have_required
=yes
224 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
232 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
233 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
234 CONFIG_SHELL
=$SHELL as_have_required
=yes
239 if test "x$CONFIG_SHELL" != x
; then :
241 # We cannot yet assume a decent shell, so we have to provide a
242 # neutralization value for shells without unset; and this also
243 # works around shells that cannot unset nonexistent variables.
244 # Preserve -v and -x to the replacement shell.
247 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
249 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
254 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
255 # Admittedly, this is quite paranoid, since all the known shells bail
256 # out after a failed `exec'.
257 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
261 if test x
$as_have_required = xno
; then :
262 $as_echo "$0: This script requires a shell more modern than all"
263 $as_echo "$0: the shells that I found on your system."
264 if test x
${ZSH_VERSION+set} = xset
; then
265 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
266 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268 $as_echo "$0: Please tell bug-autoconf@gnu.org and tex-k@tug.org
269 $0: about your system, including any error possibly output
270 $0: before this message. Then install a modern shell, or
271 $0: manually run the script under such a shell if you do
278 SHELL
=${CONFIG_SHELL-/bin/sh}
280 # Unset more variables known to interfere with behavior of common tools.
281 CLICOLOR_FORCE
= GREP_OPTIONS
=
282 unset CLICOLOR_FORCE GREP_OPTIONS
284 ## --------------------- ##
285 ## M4sh Shell Functions. ##
286 ## --------------------- ##
289 # Portably unset VAR.
292 { eval $1=; unset $1;}
296 # as_fn_set_status STATUS
297 # -----------------------
298 # Set $? to STATUS, without forking.
306 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
316 # Create "$as_dir" as a directory, including parents if necessary.
321 -*) as_dir
=.
/$as_dir;;
323 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
327 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
330 as_dirs
="'$as_qdir' $as_dirs"
331 as_dir
=`$as_dirname -- "$as_dir" ||
332 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
333 X"$as_dir" : 'X\(//\)[^/]' \| \
334 X"$as_dir" : 'X\(//\)$' \| \
335 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
336 $as_echo X"$as_dir" |
337 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
354 test -d "$as_dir" && break
356 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
357 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
362 # as_fn_executable_p FILE
363 # -----------------------
364 # Test if FILE is an executable regular file.
365 as_fn_executable_p
()
367 test -f "$1" && test -x "$1"
368 } # as_fn_executable_p
369 # as_fn_append VAR VALUE
370 # ----------------------
371 # Append the text in VALUE to the end of the definition contained in VAR. Take
372 # advantage of any shell optimizations that allow amortized linear growth over
373 # repeated appends, instead of the typical quadratic growth present in naive
375 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
376 eval 'as_fn_append ()
389 # Perform arithmetic evaluation on the ARGs, and store the result in the
390 # global $as_val. Take advantage of shells that can avoid forks. The arguments
391 # must be portable across $(()) and expr.
392 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
400 as_val
=`expr "$@" || test $? -eq 1`
405 # as_fn_error STATUS ERROR [LINENO LOG_FD]
406 # ----------------------------------------
407 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
408 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
409 # script with STATUS, using 1 if that was 0.
412 as_status
=$1; test $as_status -eq 0 && as_status
=1
414 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
415 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
417 $as_echo "$as_me: error: $2" >&2
418 as_fn_exit
$as_status
421 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
422 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
428 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
434 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
440 as_me
=`$as_basename -- "$0" ||
441 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
442 X"$0" : 'X\(//\)$' \| \
443 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445 sed '/^.*\/\([^/][^/]*\)\/*$/{
459 # Avoid depending upon Character Ranges.
460 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
461 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
462 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
463 as_cr_digits
='0123456789'
464 as_cr_alnum
=$as_cr_Letters$as_cr_digits
467 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
468 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
469 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
470 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
471 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
483 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
487 chmod +x
"$as_me.lineno" ||
488 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
490 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
491 # already done that, so ensure we don't try to do so again and fall
492 # in an infinite loop. This has already happened in practice.
493 _as_can_reexec
=no
; export _as_can_reexec
494 # Don't try to exec as it changes $[0], causing all sort of problems
495 # (the dirname of $[0] is not the place where we might find the
496 # original and so on. Autoconf is especially sensitive to this).
498 # Exit status is that of the last command.
502 ECHO_C
= ECHO_N
= ECHO_T
=
503 case `echo -n x` in #(((((
505 case `echo 'xy\c'` in
506 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
508 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
515 rm -f conf$$ conf$$.exe conf$$.
file
516 if test -d conf$$.dir
; then
517 rm -f conf$$.dir
/conf$$.
file
520 mkdir conf$$.dir
2>/dev
/null
522 if (echo >conf$$.
file) 2>/dev
/null
; then
523 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
525 # ... but there are two gotchas:
526 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
527 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
528 # In both cases, we have to default to `cp -pR'.
529 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
531 elif ln conf$$.
file conf$$
2>/dev
/null
; then
539 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
540 rmdir conf$$.dir
2>/dev
/null
542 if mkdir
-p .
2>/dev
/null
; then
543 as_mkdir_p
='mkdir -p "$as_dir"'
545 test -d .
/-p && rmdir .
/-p
550 as_executable_p
=as_fn_executable_p
552 # Sed expression to map a string onto a valid CPP name.
553 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
555 # Sed expression to map a string onto a valid variable name.
556 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
559 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
563 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
564 # so uname gets run too.
565 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
570 ac_default_prefix
=/usr
/local
572 ac_config_libobj_dir
=.
579 # Identity of this package.
580 PACKAGE_NAME
='gmp native'
581 PACKAGE_TARNAME
='gmp-native'
582 PACKAGE_VERSION
='6.1.0'
583 PACKAGE_STRING
='gmp native 6.1.0'
584 PACKAGE_BUGREPORT
='tex-k@tug.org'
587 ac_unique_file
="../gmp-src/gmp-impl.h"
588 ac_subst_vars
='am__EXEEXT_FALSE
614 MAINTAINER_MODE_FALSE
628 INSTALL_STRIP_PROGRAM
670 program_transform_name
683 enable_option_checking
685 enable_maintainer_mode
686 enable_dependency_tracking
687 enable_compiler_warnings
689 ac_precious_vars
='build_alias
699 # Initialize some variables set by options.
701 ac_init_version
=false
702 ac_unrecognized_opts
=
704 # The variables have the same names as the options, with
705 # dashes changed to underlines.
713 program_transform_name
=s
,x
,x
,
721 # Installation directory options.
722 # These are left unexpanded so users can "make install exec_prefix=/foo"
723 # and all the variables that are supposed to be based on exec_prefix
724 # by default will actually change.
725 # Use braces instead of parens because sh, perl, etc. also accept them.
726 # (The list follows the same order as the GNU Coding Standards.)
727 bindir
='${exec_prefix}/bin'
728 sbindir
='${exec_prefix}/sbin'
729 libexecdir
='${exec_prefix}/libexec'
730 datarootdir
='${prefix}/share'
731 datadir
='${datarootdir}'
732 sysconfdir
='${prefix}/etc'
733 sharedstatedir
='${prefix}/com'
734 localstatedir
='${prefix}/var'
735 includedir
='${prefix}/include'
736 oldincludedir
='/usr/include'
737 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
738 infodir
='${datarootdir}/info'
743 libdir
='${exec_prefix}/lib'
744 localedir
='${datarootdir}/locale'
745 mandir
='${datarootdir}/man'
751 # If the previous option needs an argument, assign it.
752 if test -n "$ac_prev"; then
753 eval $ac_prev=\
$ac_option
759 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
764 # Accept the important Cygnus configure options, so we can diagnose typos.
766 case $ac_dashdash$ac_option in
770 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
772 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
775 -build |
--build |
--buil |
--bui |
--bu)
776 ac_prev
=build_alias
;;
777 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
778 build_alias
=$ac_optarg ;;
780 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
781 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
782 ac_prev
=cache_file
;;
783 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
784 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
785 cache_file
=$ac_optarg ;;
788 cache_file
=config.cache
;;
790 -datadir |
--datadir |
--datadi |
--datad)
792 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
793 datadir
=$ac_optarg ;;
795 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
796 |
--dataroo |
--dataro |
--datar)
797 ac_prev
=datarootdir
;;
798 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
799 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
800 datarootdir
=$ac_optarg ;;
802 -disable-* |
--disable-*)
803 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
804 # Reject names that are not valid shell variable names.
805 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
806 as_fn_error $?
"invalid feature name: $ac_useropt"
807 ac_useropt_orig
=$ac_useropt
808 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
809 case $ac_user_opts in
813 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
814 ac_unrecognized_sep
=', ';;
816 eval enable_
$ac_useropt=no
;;
818 -docdir |
--docdir |
--docdi |
--doc |
--do)
820 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
823 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
825 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
828 -enable-* |
--enable-*)
829 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
830 # Reject names that are not valid shell variable names.
831 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
832 as_fn_error $?
"invalid feature name: $ac_useropt"
833 ac_useropt_orig
=$ac_useropt
834 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
835 case $ac_user_opts in
839 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
840 ac_unrecognized_sep
=', ';;
842 eval enable_
$ac_useropt=\
$ac_optarg ;;
844 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
845 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
846 |
--exec |
--exe |
--ex)
847 ac_prev
=exec_prefix
;;
848 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
849 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
850 |
--exec=* |
--exe=* |
--ex=*)
851 exec_prefix
=$ac_optarg ;;
853 -gas |
--gas |
--ga |
--g)
854 # Obsolete; use --with-gas.
857 -help |
--help |
--hel |
--he |
-h)
859 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
860 ac_init_help
=recursive
;;
861 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
862 ac_init_help
=short
;;
864 -host |
--host |
--hos |
--ho)
865 ac_prev
=host_alias
;;
866 -host=* |
--host=* |
--hos=* |
--ho=*)
867 host_alias
=$ac_optarg ;;
869 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
871 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
873 htmldir
=$ac_optarg ;;
875 -includedir |
--includedir |
--includedi |
--included |
--include \
876 |
--includ |
--inclu |
--incl |
--inc)
877 ac_prev
=includedir
;;
878 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
879 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
880 includedir
=$ac_optarg ;;
882 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
884 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
885 infodir
=$ac_optarg ;;
887 -libdir |
--libdir |
--libdi |
--libd)
889 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
892 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
893 |
--libexe |
--libex |
--libe)
894 ac_prev
=libexecdir
;;
895 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
896 |
--libexe=* |
--libex=* |
--libe=*)
897 libexecdir
=$ac_optarg ;;
899 -localedir |
--localedir |
--localedi |
--localed |
--locale)
901 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
902 localedir
=$ac_optarg ;;
904 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
905 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
906 ac_prev
=localstatedir
;;
907 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
908 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
909 localstatedir
=$ac_optarg ;;
911 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
913 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
917 # Obsolete; use --without-fp.
920 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
921 |
--no-cr |
--no-c |
-n)
924 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
925 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
928 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
929 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
930 |
--oldin |
--oldi |
--old |
--ol |
--o)
931 ac_prev
=oldincludedir
;;
932 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
933 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
934 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
935 oldincludedir
=$ac_optarg ;;
937 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
939 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
942 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
943 |
--program-pre |
--program-pr |
--program-p)
944 ac_prev
=program_prefix
;;
945 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
946 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
947 program_prefix
=$ac_optarg ;;
949 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
950 |
--program-suf |
--program-su |
--program-s)
951 ac_prev
=program_suffix
;;
952 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
953 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
954 program_suffix
=$ac_optarg ;;
956 -program-transform-name |
--program-transform-name \
957 |
--program-transform-nam |
--program-transform-na \
958 |
--program-transform-n |
--program-transform- \
959 |
--program-transform |
--program-transfor \
960 |
--program-transfo |
--program-transf \
961 |
--program-trans |
--program-tran \
962 |
--progr-tra |
--program-tr |
--program-t)
963 ac_prev
=program_transform_name
;;
964 -program-transform-name=* |
--program-transform-name=* \
965 |
--program-transform-nam=* |
--program-transform-na=* \
966 |
--program-transform-n=* |
--program-transform-=* \
967 |
--program-transform=* |
--program-transfor=* \
968 |
--program-transfo=* |
--program-transf=* \
969 |
--program-trans=* |
--program-tran=* \
970 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
971 program_transform_name
=$ac_optarg ;;
973 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
975 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
978 -psdir |
--psdir |
--psdi |
--psd |
--ps)
980 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
983 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
984 |
-silent |
--silent |
--silen |
--sile |
--sil)
987 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
989 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
991 sbindir
=$ac_optarg ;;
993 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
994 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
995 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
997 ac_prev
=sharedstatedir
;;
998 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
999 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1000 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1002 sharedstatedir
=$ac_optarg ;;
1004 -site |
--site |
--sit)
1006 -site=* |
--site=* |
--sit=*)
1009 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1011 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1012 srcdir
=$ac_optarg ;;
1014 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1015 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1016 ac_prev
=sysconfdir
;;
1017 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1018 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1019 sysconfdir
=$ac_optarg ;;
1021 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1022 ac_prev
=target_alias
;;
1023 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1024 target_alias
=$ac_optarg ;;
1026 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1029 -version |
--version |
--versio |
--versi |
--vers |
-V)
1030 ac_init_version
=: ;;
1033 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1034 # Reject names that are not valid shell variable names.
1035 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1036 as_fn_error $?
"invalid package name: $ac_useropt"
1037 ac_useropt_orig
=$ac_useropt
1038 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1039 case $ac_user_opts in
1043 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1044 ac_unrecognized_sep
=', ';;
1046 eval with_
$ac_useropt=\
$ac_optarg ;;
1048 -without-* |
--without-*)
1049 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1050 # Reject names that are not valid shell variable names.
1051 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1052 as_fn_error $?
"invalid package name: $ac_useropt"
1053 ac_useropt_orig
=$ac_useropt
1054 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1055 case $ac_user_opts in
1059 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1060 ac_unrecognized_sep
=', ';;
1062 eval with_
$ac_useropt=no
;;
1065 # Obsolete; use --with-x.
1068 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1069 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1070 ac_prev
=x_includes
;;
1071 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1072 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1073 x_includes
=$ac_optarg ;;
1075 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1076 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1077 ac_prev
=x_libraries
;;
1078 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1079 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1080 x_libraries
=$ac_optarg ;;
1082 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1083 Try \`$0 --help' for more information"
1087 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1088 # Reject names that are not valid shell variable names.
1089 case $ac_envvar in #(
1090 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1091 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1093 eval $ac_envvar=\
$ac_optarg
1094 export $ac_envvar ;;
1097 # FIXME: should be removed in autoconf 3.0.
1098 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1099 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1100 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1101 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1107 if test -n "$ac_prev"; then
1108 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1109 as_fn_error $?
"missing argument to $ac_option"
1112 if test -n "$ac_unrecognized_opts"; then
1113 case $enable_option_checking in
1115 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1116 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1120 # Check all directory arguments for consistency.
1121 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1122 datadir sysconfdir sharedstatedir localstatedir includedir \
1123 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1124 libdir localedir mandir
1126 eval ac_val
=\$
$ac_var
1127 # Remove trailing slashes.
1130 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1131 eval $ac_var=\
$ac_val;;
1133 # Be sure to have absolute directory names.
1135 [\\/$
]* | ?
:[\\/]* ) continue;;
1136 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1138 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1141 # There might be people who depend on the old broken behavior: `$host'
1142 # used to hold the argument of --host etc.
1143 # FIXME: To remove some day.
1146 target
=$target_alias
1148 # FIXME: To remove some day.
1149 if test "x$host_alias" != x
; then
1150 if test "x$build_alias" = x
; then
1151 cross_compiling
=maybe
1152 elif test "x$build_alias" != "x$host_alias"; then
1158 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1160 test "$silent" = yes && exec 6>/dev
/null
1163 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1164 ac_ls_di
=`ls -di .` &&
1165 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1166 as_fn_error $?
"working directory cannot be determined"
1167 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1168 as_fn_error $?
"pwd does not report name of working directory"
1171 # Find the source files, if location was not specified.
1172 if test -z "$srcdir"; then
1173 ac_srcdir_defaulted
=yes
1174 # Try the directory containing this script, then the parent directory.
1175 ac_confdir
=`$as_dirname -- "$as_myself" ||
1176 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1177 X"$as_myself" : 'X\(//\)[^/]' \| \
1178 X"$as_myself" : 'X\(//\)$' \| \
1179 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1180 $as_echo X"$as_myself" |
1181 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1199 if test ! -r "$srcdir/$ac_unique_file"; then
1203 ac_srcdir_defaulted
=no
1205 if test ! -r "$srcdir/$ac_unique_file"; then
1206 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1207 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1209 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1211 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1213 # When building in place, set srcdir=.
1214 if test "$ac_abs_confdir" = "$ac_pwd"; then
1217 # Remove unnecessary trailing slashes from srcdir.
1218 # Double slashes in file names in object file debugging info
1219 # mess up M-x gdb in Emacs.
1221 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1223 for ac_var
in $ac_precious_vars; do
1224 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1225 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1226 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1227 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1231 # Report the --help message.
1233 if test "$ac_init_help" = "long"; then
1234 # Omit some internal or obsolete options to make the list less imposing.
1235 # This message is too long to be a string in the A/UX 3.1 sh.
1237 \`configure' configures gmp native 6.1.0 to adapt to many kinds of systems.
1239 Usage: $0 [OPTION]... [VAR=VALUE]...
1241 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1242 VAR=VALUE. See below for descriptions of some of the useful variables.
1244 Defaults for the options are specified in brackets.
1247 -h, --help display this help and exit
1248 --help=short display options specific to this package
1249 --help=recursive display the short help of all the included packages
1250 -V, --version display version information and exit
1251 -q, --quiet, --silent do not print \`checking ...' messages
1252 --cache-file=FILE cache test results in FILE [disabled]
1253 -C, --config-cache alias for \`--cache-file=config.cache'
1254 -n, --no-create do not create output files
1255 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1257 Installation directories:
1258 --prefix=PREFIX install architecture-independent files in PREFIX
1259 [$ac_default_prefix]
1260 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1263 By default, \`make install' will install all the files in
1264 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1265 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1266 for instance \`--prefix=\$HOME'.
1268 For better control, use the options below.
1270 Fine tuning of the installation directories:
1271 --bindir=DIR user executables [EPREFIX/bin]
1272 --sbindir=DIR system admin executables [EPREFIX/sbin]
1273 --libexecdir=DIR program executables [EPREFIX/libexec]
1274 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1275 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1276 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1277 --libdir=DIR object code libraries [EPREFIX/lib]
1278 --includedir=DIR C header files [PREFIX/include]
1279 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1280 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1281 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1282 --infodir=DIR info documentation [DATAROOTDIR/info]
1283 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1284 --mandir=DIR man documentation [DATAROOTDIR/man]
1285 --docdir=DIR documentation root [DATAROOTDIR/doc/gmp-native]
1286 --htmldir=DIR html documentation [DOCDIR]
1287 --dvidir=DIR dvi documentation [DOCDIR]
1288 --pdfdir=DIR pdf documentation [DOCDIR]
1289 --psdir=DIR ps documentation [DOCDIR]
1295 --program-prefix=PREFIX prepend PREFIX to installed program names
1296 --program-suffix=SUFFIX append SUFFIX to installed program names
1297 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1301 if test -n "$ac_init_help"; then
1302 case $ac_init_help in
1303 short | recursive
) echo "Configuration of gmp native 6.1.0:";;
1308 --disable-option-checking ignore unrecognized
--enable/--with options
1309 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1310 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1311 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1312 --disable-silent-rules verbose build output
(undo
: "make V=0")
1313 --enable-maintainer-mode
1314 enable make rules and dependencies not useful
(and
1315 sometimes confusing
) to the casual installer
1316 --enable-dependency-tracking
1317 do not reject slow dependency extractors
1318 --disable-dependency-tracking
1319 speeds up one-time build
1320 --enable-compiler-warnings=[no|min|
yes|max|all
]
1321 Turn on compiler warnings
[default
: yes if
1322 maintainer-mode
, min otherwise
]
1324 Some influential environment variables
:
1325 CC C compiler
command
1326 CFLAGS C compiler flags
1327 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1328 nonstandard directory
<lib dir
>
1329 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1330 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1331 you have headers
in a nonstandard directory
<include dir
>
1333 Use these variables to override the choices made by
`configure' or to help
1334 it to find libraries and programs with nonstandard names/locations.
1336 Report bugs to <tex-k@tug.org>.
1341 if test "$ac_init_help" = "recursive"; then
1342 # If there are subdirs, report their specific --help.
1343 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1344 test -d "$ac_dir" ||
1345 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1350 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1352 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1353 # A ".." for each directory in $ac_dir_suffix.
1354 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1355 case $ac_top_builddir_sub in
1356 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1357 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1360 ac_abs_top_builddir=$ac_pwd
1361 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1362 # for backward compatibility:
1363 ac_top_builddir=$ac_top_build_prefix
1366 .) # We are building in place.
1368 ac_top_srcdir=$ac_top_builddir_sub
1369 ac_abs_top_srcdir=$ac_pwd ;;
1370 [\\/]* | ?:[\\/]* ) # Absolute name.
1371 ac_srcdir=$srcdir$ac_dir_suffix;
1372 ac_top_srcdir=$srcdir
1373 ac_abs_top_srcdir=$srcdir ;;
1375 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1376 ac_top_srcdir=$ac_top_build_prefix$srcdir
1377 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1379 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1381 cd "$ac_dir" || { ac_status=$?; continue; }
1382 # Check for guested configure.
1383 if test -f "$ac_srcdir/configure.gnu"; then
1385 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1386 elif test -f "$ac_srcdir/configure"; then
1388 $SHELL "$ac_srcdir/configure" --help=recursive
1390 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1392 cd "$ac_pwd" || { ac_status=$?; break; }
1396 test -n "$ac_init_help" && exit $ac_status
1397 if $ac_init_version; then
1399 gmp native configure 6.1.0
1400 generated by GNU Autoconf 2.69
1402 Copyright (C) 2012 Free Software Foundation, Inc.
1403 This configure script is free software; the Free Software Foundation
1404 gives unlimited permission to copy, distribute and modify it.
1409 ## ------------------------ ##
1410 ## Autoconf initialization. ##
1411 ## ------------------------ ##
1413 # ac_fn_c_try_compile LINENO
1414 # --------------------------
1415 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1416 ac_fn_c_try_compile ()
1418 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1419 rm -f conftest.$ac_objext
1420 if { { ac_try="$ac_compile"
1422 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1423 *) ac_try_echo
=$ac_try;;
1425 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1426 $as_echo "$ac_try_echo"; } >&5
1427 (eval "$ac_compile") 2>conftest.err
1429 if test -s conftest.err
; then
1430 grep -v '^ *+' conftest.err
>conftest.er1
1431 cat conftest.er1
>&5
1432 mv -f conftest.er1 conftest.err
1434 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1435 test $ac_status = 0; } && {
1436 test -z "$ac_c_werror_flag" ||
1437 test ! -s conftest.err
1438 } && test -s conftest.
$ac_objext; then :
1441 $as_echo "$as_me: failed program was:" >&5
1442 sed 's/^/| /' conftest.
$ac_ext >&5
1446 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1447 as_fn_set_status
$ac_retval
1449 } # ac_fn_c_try_compile
1451 # ac_fn_c_try_link LINENO
1452 # -----------------------
1453 # Try to link conftest.$ac_ext, and return whether this succeeded.
1456 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1457 rm -f conftest.
$ac_objext conftest
$ac_exeext
1458 if { { ac_try
="$ac_link"
1460 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1461 *) ac_try_echo=$ac_try;;
1463 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1464 $as_echo "$ac_try_echo"; } >&5
1465 (eval "$ac_link") 2>conftest.err
1467 if test -s conftest.err; then
1468 grep -v '^ *+' conftest.err >conftest.er1
1469 cat conftest.er1 >&5
1470 mv -f conftest.er1 conftest.err
1472 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1473 test $ac_status = 0; } && {
1474 test -z "$ac_c_werror_flag" ||
1475 test ! -s conftest.err
1476 } && test -s conftest$ac_exeext && {
1477 test "$cross_compiling" = yes ||
1478 test -x conftest$ac_exeext
1482 $as_echo "$as_me: failed program was:" >&5
1483 sed 's/^/| /' conftest.$ac_ext >&5
1487 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1488 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1489 # interfere with the next link command; also delete a directory that is
1490 # left behind by Apple's compiler. We do this before executing the actions.
1491 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1492 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1493 as_fn_set_status $ac_retval
1495 } # ac_fn_c_try_link
1496 cat >config.log <<_ACEOF
1497 This file contains any messages produced by compilers while
1498 running configure, to aid debugging if configure makes a mistake.
1500 It was created by gmp native $as_me 6.1.0, which was
1501 generated by GNU Autoconf 2.69. Invocation command line was
1513 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1514 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1515 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1516 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1517 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1519 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1520 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1522 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1523 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1524 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1525 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1526 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1527 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1528 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1536 test -z "$as_dir" && as_dir=.
1537 $as_echo "PATH: $as_dir"
1553 # Keep a trace of the command line.
1554 # Strip out --no-create and --no-recursion so they do not pile up.
1555 # Strip out --silent because we don't want to record it for future runs.
1556 # Also quote any args containing shell meta-characters.
1557 # Make two passes to allow for proper duplicate-argument suppression.
1561 ac_must_keep_next=false
1567 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1568 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1569 | -silent | --silent | --silen | --sile | --sil)
1572 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1575 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1577 as_fn_append ac_configure_args1 " '$ac_arg'"
1578 if test $ac_must_keep_next = true; then
1579 ac_must_keep_next=false # Got value, back to normal.
1582 *=* | --config-cache | -C | -disable-* | --disable-* \
1583 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1584 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1585 | -with-* | --with-* | -without-* | --without-* | --x)
1586 case "$ac_configure_args0 " in
1587 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1590 -* ) ac_must_keep_next=true ;;
1593 as_fn_append ac_configure_args " '$ac_arg'"
1598 { ac_configure_args0=; unset ac_configure_args0;}
1599 { ac_configure_args1=; unset ac_configure_args1;}
1601 # When interrupted or exit'd, cleanup temporary files, and complete
1602 # config.log. We remove comments because anyway the quotes in there
1603 # would cause problems or look ugly.
1604 # WARNING: Use '\'' to represent an apostrophe within the trap.
1605 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1606 trap 'exit_status=$?
1607 # Save into config.log some information that might help in debugging.
1611 $as_echo "## ---------------- ##
1612 ## Cache variables. ##
1613 ## ---------------- ##"
1615 # The following way of writing the cache mishandles newlines in values,
1617 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1618 eval ac_val=\$$ac_var
1622 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1623 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1626 _ | IFS | as_nl) ;; #(
1627 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1628 *) { eval $ac_var=; unset $ac_var;} ;;
1633 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1634 *${as_nl}ac_space=\ *)
1636 "s/'\''/'\''\\\\'\'''\''/g;
1637 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1640 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1647 $as_echo "## ----------------- ##
1648 ## Output variables. ##
1649 ## ----------------- ##"
1651 for ac_var in $ac_subst_vars
1653 eval ac_val=\$$ac_var
1655 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1657 $as_echo "$ac_var='\''$ac_val'\''"
1661 if test -n "$ac_subst_files"; then
1662 $as_echo "## ------------------- ##
1663 ## File substitutions. ##
1664 ## ------------------- ##"
1666 for ac_var in $ac_subst_files
1668 eval ac_val=\$$ac_var
1670 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1672 $as_echo "$ac_var='\''$ac_val'\''"
1677 if test -s confdefs.h; then
1678 $as_echo "## ----------- ##
1685 test "$ac_signal" != 0 &&
1686 $as_echo "$as_me: caught signal $ac_signal"
1687 $as_echo "$as_me: exit $exit_status"
1689 rm -f core *.core core.conftest.* &&
1690 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1693 for ac_signal in 1 2 13 15; do
1694 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1698 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1699 rm -f -r conftest* confdefs.h
1701 $as_echo "/* confdefs.h */" > confdefs.h
1703 # Predefined preprocessor variables.
1705 cat >>confdefs.h <<_ACEOF
1706 #define PACKAGE_NAME "$PACKAGE_NAME"
1709 cat >>confdefs.h <<_ACEOF
1710 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1713 cat >>confdefs.h <<_ACEOF
1714 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1717 cat >>confdefs.h <<_ACEOF
1718 #define PACKAGE_STRING "$PACKAGE_STRING"
1721 cat >>confdefs.h <<_ACEOF
1722 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1725 cat >>confdefs.h <<_ACEOF
1726 #define PACKAGE_URL "$PACKAGE_URL"
1730 # Let the site file select an alternate cache file if it wants to.
1731 # Prefer an explicitly selected file to automatically selected ones.
1734 if test -n "$CONFIG_SITE"; then
1735 # We do not want a PATH search for config.site.
1736 case $CONFIG_SITE in #((
1737 -*) ac_site_file1=./$CONFIG_SITE;;
1738 */*) ac_site_file1=$CONFIG_SITE;;
1739 *) ac_site_file1=./$CONFIG_SITE;;
1741 elif test "x$prefix" != xNONE; then
1742 ac_site_file1=$prefix/share/config.site
1743 ac_site_file2=$prefix/etc/config.site
1745 ac_site_file1=$ac_default_prefix/share/config.site
1746 ac_site_file2=$ac_default_prefix/etc/config.site
1748 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1750 test "x$ac_site_file" = xNONE && continue
1751 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1752 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1753 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1754 sed 's/^/| /' "$ac_site_file" >&5
1756 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1757 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1758 as_fn_error $? "failed to load site
script $ac_site_file
1759 See \
`config.log' for more details" "$LINENO" 5; }
1763 if test -r "$cache_file"; then
1764 # Some versions of bash will fail to source /dev/null (special files
1765 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1766 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1767 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1768 $as_echo "$as_me: loading cache $cache_file" >&6;}
1770 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1771 *) . "./$cache_file";;
1775 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1776 $as_echo "$as_me: creating cache $cache_file" >&6;}
1780 # Check that the precious variables saved in the cache have kept the same
1782 ac_cache_corrupted=false
1783 for ac_var in $ac_precious_vars; do
1784 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1785 eval ac_new_set=\$ac_env_${ac_var}_set
1786 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1787 eval ac_new_val=\$ac_env_${ac_var}_value
1788 case $ac_old_set,$ac_new_set in
1790 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1791 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1792 ac_cache_corrupted=: ;;
1794 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
1795 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1796 ac_cache_corrupted=: ;;
1799 if test "x$ac_old_val" != "x$ac_new_val"; then
1800 # differences in whitespace do not lead to failure.
1801 ac_old_val_w=`echo x
$ac_old_val`
1802 ac_new_val_w=`echo x
$ac_new_val`
1803 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1804 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1805 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1806 ac_cache_corrupted=:
1808 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
1809 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1810 eval $ac_var=\$ac_old_val
1812 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1813 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
1814 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1815 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1818 # Pass precious variables to config.status.
1819 if test "$ac_new_set" = set; then
1821 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1822 *) ac_arg=$ac_var=$ac_new_val ;;
1824 case " $ac_configure_args " in
1825 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1826 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1830 if $ac_cache_corrupted; then
1831 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
1832 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1833 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1834 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1835 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
1837 ## -------------------- ##
1838 ## Main body of script. ##
1839 ## -------------------- ##
1842 ac_cpp='$CPP $CPPFLAGS'
1843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1851 for ac_dir in ../../../build-aux "$srcdir"/../../../build-aux; do
1852 if test -f "$ac_dir/install-sh"; then
1854 ac_install_sh="$ac_aux_dir/install-sh -c"
1856 elif test -f "$ac_dir/install.sh"; then
1858 ac_install_sh="$ac_aux_dir/install.sh -c"
1860 elif test -f "$ac_dir/shtool"; then
1862 ac_install_sh="$ac_aux_dir/shtool install -c"
1866 if test -z "$ac_aux_dir"; then
1867 as_fn_error $? "cannot find install-sh, install.sh, or shtool in ../../../build-aux \"$srcdir\"/../../../build-aux" "$LINENO" 5
1870 # These three variables are undocumented and unsupported,
1871 # and are intended to be withdrawn in a future Autoconf release.
1872 # They can cause serious problems if a builder's source tree is in a directory
1873 # whose full name contains unusual characters.
1874 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1875 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1876 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1881 am__api_version='1.15'
1883 # Find a good install program. We prefer a C program (faster),
1884 # so one script is as good as another. But avoid the broken or
1885 # incompatible versions:
1886 # SysV /etc/install, /usr/sbin/install
1887 # SunOS /usr/etc/install
1888 # IRIX /sbin/install
1890 # AmigaOS /C/install, which installs bootblocks on floppy discs
1891 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1892 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1893 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1894 # OS/2's system install, which has a completely different semantic
1895 # ./install, which can be erroneously created by make from ./install.sh.
1896 # Reject install programs that cannot install multiple files.
1897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1898 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1899 if test -z "$INSTALL"; then
1900 if ${ac_cv_path_install+:} false; then :
1901 $as_echo_n "(cached) " >&6
1903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1907 test -z "$as_dir" && as_dir=.
1908 # Account for people who put trailing slashes in PATH elements.
1909 case $as_dir/ in #((
1910 ./ | .// | /[cC]/* | \
1911 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1912 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1915 # OSF1 and SCO ODT 3.0 have their own names for install.
1916 # Don't use installbsd from OSF since it installs stuff as root
1918 for ac_prog in ginstall scoinst install; do
1919 for ac_exec_ext in '' $ac_executable_extensions; do
1920 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1921 if test $ac_prog = install &&
1922 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1923 # AIX install. It has an incompatible calling convention.
1925 elif test $ac_prog = install &&
1926 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1927 # program-specific install script used by HP pwplus--don't use.
1930 rm -rf conftest.one conftest.two conftest.dir
1931 echo one > conftest.one
1932 echo two > conftest.two
1934 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1935 test -s conftest.one && test -s conftest.two &&
1936 test -s conftest.dir/conftest.one &&
1937 test -s conftest.dir/conftest.two
1939 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1952 rm -rf conftest.one conftest.two conftest.dir
1955 if test "${ac_cv_path_install+set}" = set; then
1956 INSTALL=$ac_cv_path_install
1958 # As a last resort, use the slow shell script. Don't cache a
1959 # value for INSTALL within a source directory, because that will
1960 # break other packages using the cache if that directory is
1961 # removed, or if the value is a relative name.
1962 INSTALL=$ac_install_sh
1965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1966 $as_echo "$INSTALL" >&6; }
1968 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1969 # It thinks the first close brace ends the variable substitution.
1970 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1972 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1974 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
1977 $as_echo_n "checking whether build environment is sane... " >&6; }
1978 # Reject unsafe characters in $srcdir or the absolute working directory
1979 # name. Accept space and tab only in the latter.
1983 *[\\\"\#\$\&\'\`$am_lf]*)
1984 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
1987 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
1988 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
1991 # Do 'set' in a subshell so we don't clobber the current shell's
1992 # arguments. Must try -L first in case configure is actually a
1993 # symlink; some systems play weird games with the mod time of symlinks
1994 # (eg FreeBSD returns the mod time of the symlink's containing
1998 for am_try
in 1 2; do
1999 echo "timestamp, slept: $am_has_slept" > conftest.
file
2000 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2001 if test "$*" = "X"; then
2003 set X
`ls -t "$srcdir/configure" conftest.file`
2005 if test "$*" != "X $srcdir/configure conftest.file" \
2006 && test "$*" != "X conftest.file $srcdir/configure"; then
2008 # If neither matched, then we have a broken ls. This can happen
2009 # if, for instance, CONFIG_SHELL is bash and it inherits a
2010 # broken ls alias from the environment. This has actually
2011 # happened. Such a system could not be considered "sane".
2012 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2013 alias in your environment" "$LINENO" 5
2015 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
2022 test "$2" = conftest.
file
2028 as_fn_error $?
"newly created file is older than distributed files!
2029 Check your system clock" "$LINENO" 5
2031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2032 $as_echo "yes" >&6; }
2033 # If we didn't sleep, we still need to ensure time stamps of config.status and
2034 # generated files are strictly newer.
2036 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
2043 test "$program_prefix" != NONE
&&
2044 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2045 # Use a double $ so make ignores it.
2046 test "$program_suffix" != NONE
&&
2047 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2048 # Double any \ or $.
2049 # By default was `s,x,x', remove it if useless.
2050 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2051 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2053 # Expand $ac_aux_dir to an absolute path.
2054 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
2056 if test x
"${MISSING+set}" != xset
; then
2059 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2061 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2064 # Use eval to expand $SHELL
2065 if eval "$MISSING --is-lightweight"; then
2066 am_missing_run
="$MISSING "
2069 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2070 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2073 if test x
"${install_sh+set}" != xset
; then
2076 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2078 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2082 # Installed binaries are usually stripped using 'strip' when the user
2083 # run "make install-strip". However 'strip' might not be the right
2084 # tool to use in cross-compilation environments, therefore Automake
2085 # will honor the 'STRIP' environment variable to overrule this program.
2086 if test "$cross_compiling" != no
; then
2087 if test -n "$ac_tool_prefix"; then
2088 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2089 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2091 $as_echo_n "checking for $ac_word... " >&6; }
2092 if ${ac_cv_prog_STRIP+:} false
; then :
2093 $as_echo_n "(cached) " >&6
2095 if test -n "$STRIP"; then
2096 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2098 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2102 test -z "$as_dir" && as_dir
=.
2103 for ac_exec_ext
in '' $ac_executable_extensions; do
2104 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2105 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2106 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2115 STRIP
=$ac_cv_prog_STRIP
2116 if test -n "$STRIP"; then
2117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2118 $as_echo "$STRIP" >&6; }
2120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2121 $as_echo "no" >&6; }
2126 if test -z "$ac_cv_prog_STRIP"; then
2128 # Extract the first word of "strip", so it can be a program name with args.
2129 set dummy strip
; ac_word
=$2
2130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2131 $as_echo_n "checking for $ac_word... " >&6; }
2132 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2133 $as_echo_n "(cached) " >&6
2135 if test -n "$ac_ct_STRIP"; then
2136 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2138 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2142 test -z "$as_dir" && as_dir
=.
2143 for ac_exec_ext
in '' $ac_executable_extensions; do
2144 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2145 ac_cv_prog_ac_ct_STRIP
="strip"
2146 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2155 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2156 if test -n "$ac_ct_STRIP"; then
2157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2158 $as_echo "$ac_ct_STRIP" >&6; }
2160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2161 $as_echo "no" >&6; }
2164 if test "x$ac_ct_STRIP" = x
; then
2167 case $cross_compiling:$ac_tool_warned in
2169 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2170 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2171 ac_tool_warned
=yes ;;
2176 STRIP
="$ac_cv_prog_STRIP"
2180 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2183 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2184 if test -z "$MKDIR_P"; then
2185 if ${ac_cv_path_mkdir+:} false
; then :
2186 $as_echo_n "(cached) " >&6
2188 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2189 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2192 test -z "$as_dir" && as_dir
=.
2193 for ac_prog
in mkdir gmkdir
; do
2194 for ac_exec_ext
in '' $ac_executable_extensions; do
2195 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
2196 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2197 'mkdir (GNU coreutils) '* | \
2198 'mkdir (coreutils) '* | \
2199 'mkdir (fileutils) '4.1*)
2200 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2210 test -d .
/--version && rmdir .
/--version
2211 if test "${ac_cv_path_mkdir+set}" = set; then
2212 MKDIR_P
="$ac_cv_path_mkdir -p"
2214 # As a last resort, use the slow shell script. Don't cache a
2215 # value for MKDIR_P within a source directory, because that will
2216 # break other packages using the cache if that directory is
2217 # removed, or if the value is a relative name.
2218 MKDIR_P
="$ac_install_sh -d"
2221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2222 $as_echo "$MKDIR_P" >&6; }
2224 for ac_prog
in gawk mawk nawk
awk
2226 # Extract the first word of "$ac_prog", so it can be a program name with args.
2227 set dummy
$ac_prog; ac_word
=$2
2228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2229 $as_echo_n "checking for $ac_word... " >&6; }
2230 if ${ac_cv_prog_AWK+:} false
; then :
2231 $as_echo_n "(cached) " >&6
2233 if test -n "$AWK"; then
2234 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2236 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2240 test -z "$as_dir" && as_dir
=.
2241 for ac_exec_ext
in '' $ac_executable_extensions; do
2242 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2243 ac_cv_prog_AWK
="$ac_prog"
2244 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2254 if test -n "$AWK"; then
2255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2256 $as_echo "$AWK" >&6; }
2258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2259 $as_echo "no" >&6; }
2263 test -n "$AWK" && break
2266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2267 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2269 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2270 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2271 $as_echo_n "(cached) " >&6
2273 cat >conftest.
make <<\_ACEOF
2276 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2278 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2279 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2281 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2283 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2287 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2289 $as_echo "yes" >&6; }
2292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2293 $as_echo "no" >&6; }
2294 SET_MAKE
="MAKE=${MAKE-make}"
2297 rm -rf .tst
2>/dev
/null
2298 mkdir .tst
2>/dev
/null
2299 if test -d .tst
; then
2304 rmdir .tst
2>/dev
/null
2306 # Check whether --enable-silent-rules was given.
2307 if test "${enable_silent_rules+set}" = set; then :
2308 enableval
=$enable_silent_rules;
2311 case $enable_silent_rules in # (((
2312 yes) AM_DEFAULT_VERBOSITY
=0;;
2313 no
) AM_DEFAULT_VERBOSITY
=1;;
2314 *) AM_DEFAULT_VERBOSITY
=1;;
2316 am_make
=${MAKE-make}
2317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2318 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2319 if ${am_cv_make_support_nested_variables+:} false
; then :
2320 $as_echo_n "(cached) " >&6
2322 if $as_echo 'TRUE=$(BAR$(V))
2328 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
2329 am_cv_make_support_nested_variables
=yes
2331 am_cv_make_support_nested_variables
=no
2334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2335 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2336 if test $am_cv_make_support_nested_variables = yes; then
2338 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
2340 AM_V
=$AM_DEFAULT_VERBOSITY
2341 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
2345 DEPDIR="${am__leading_dot}deps"
2347 ac_config_commands="$ac_config_commands depfiles"
2350 am_make=${MAKE-make}
2351 cat > confinc << 'END
'
2353 @echo this is the am__doit target
2356 # If we don't
find an include directive
, just comment out the code.
2357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2358 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2362 # First try GNU make style include.
2363 echo "include confinc" > confmf
2364 # Ignore all kinds of additional output from 'make'.
2365 case `$am_make -s -f confmf 2> /dev/null` in #(
2366 *the\ am__doit\ target
*)
2372 # Now try BSD make style include.
2373 if test "$am__include" = "#"; then
2374 echo '.include "confinc"' > confmf
2375 case `$am_make -s -f confmf 2> /dev/null` in #(
2376 *the\ am__doit\ target
*)
2377 am__include
=.include
2385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2386 $as_echo "$_am_result" >&6; }
2387 rm -f confinc confmf
2389 # Check whether --enable-dependency-tracking was given.
2390 if test "${enable_dependency_tracking+set}" = set; then :
2391 enableval
=$enable_dependency_tracking;
2394 if test "x$enable_dependency_tracking" != xno
; then
2395 am_depcomp
="$ac_aux_dir/depcomp"
2399 if test "x$enable_dependency_tracking" != xno; then
2409 ac_cpp
='$CPP $CPPFLAGS'
2410 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2411 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2412 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2413 if test -n "$ac_tool_prefix"; then
2414 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2415 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2417 $as_echo_n "checking for $ac_word... " >&6; }
2418 if ${ac_cv_prog_CC+:} false
; then :
2419 $as_echo_n "(cached) " >&6
2421 if test -n "$CC"; then
2422 ac_cv_prog_CC
="$CC" # Let the user override the test.
2424 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2428 test -z "$as_dir" && as_dir
=.
2429 for ac_exec_ext
in '' $ac_executable_extensions; do
2430 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2431 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2432 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2442 if test -n "$CC"; then
2443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2444 $as_echo "$CC" >&6; }
2446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2447 $as_echo "no" >&6; }
2452 if test -z "$ac_cv_prog_CC"; then
2454 # Extract the first word of "gcc", so it can be a program name with args.
2455 set dummy gcc
; ac_word
=$2
2456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2457 $as_echo_n "checking for $ac_word... " >&6; }
2458 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2459 $as_echo_n "(cached) " >&6
2461 if test -n "$ac_ct_CC"; then
2462 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2464 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2468 test -z "$as_dir" && as_dir
=.
2469 for ac_exec_ext
in '' $ac_executable_extensions; do
2470 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2471 ac_cv_prog_ac_ct_CC
="gcc"
2472 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2481 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2482 if test -n "$ac_ct_CC"; then
2483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2484 $as_echo "$ac_ct_CC" >&6; }
2486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2487 $as_echo "no" >&6; }
2490 if test "x$ac_ct_CC" = x
; then
2493 case $cross_compiling:$ac_tool_warned in
2495 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2496 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2497 ac_tool_warned
=yes ;;
2505 if test -z "$CC"; then
2506 if test -n "$ac_tool_prefix"; then
2507 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2508 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2510 $as_echo_n "checking for $ac_word... " >&6; }
2511 if ${ac_cv_prog_CC+:} false
; then :
2512 $as_echo_n "(cached) " >&6
2514 if test -n "$CC"; then
2515 ac_cv_prog_CC
="$CC" # Let the user override the test.
2517 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2521 test -z "$as_dir" && as_dir
=.
2522 for ac_exec_ext
in '' $ac_executable_extensions; do
2523 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2524 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2525 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2535 if test -n "$CC"; then
2536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2537 $as_echo "$CC" >&6; }
2539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2540 $as_echo "no" >&6; }
2546 if test -z "$CC"; then
2547 # Extract the first word of "cc", so it can be a program name with args.
2548 set dummy cc
; ac_word
=$2
2549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2550 $as_echo_n "checking for $ac_word... " >&6; }
2551 if ${ac_cv_prog_CC+:} false
; then :
2552 $as_echo_n "(cached) " >&6
2554 if test -n "$CC"; then
2555 ac_cv_prog_CC
="$CC" # Let the user override the test.
2558 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2562 test -z "$as_dir" && as_dir
=.
2563 for ac_exec_ext
in '' $ac_executable_extensions; do
2564 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2565 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2566 ac_prog_rejected
=yes
2570 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2577 if test $ac_prog_rejected = yes; then
2578 # We found a bogon in the path, so make sure we never use it.
2579 set dummy
$ac_cv_prog_CC
2581 if test $# != 0; then
2582 # We chose a different compiler from the bogus one.
2583 # However, it has the same basename, so the bogon will be chosen
2584 # first if we set CC to just the basename; use the full file name.
2586 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2592 if test -n "$CC"; then
2593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2594 $as_echo "$CC" >&6; }
2596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2597 $as_echo "no" >&6; }
2602 if test -z "$CC"; then
2603 if test -n "$ac_tool_prefix"; then
2604 for ac_prog
in cl.exe
2606 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2607 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2609 $as_echo_n "checking for $ac_word... " >&6; }
2610 if ${ac_cv_prog_CC+:} false
; then :
2611 $as_echo_n "(cached) " >&6
2613 if test -n "$CC"; then
2614 ac_cv_prog_CC
="$CC" # Let the user override the test.
2616 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2620 test -z "$as_dir" && as_dir
=.
2621 for ac_exec_ext
in '' $ac_executable_extensions; do
2622 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2623 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2624 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2634 if test -n "$CC"; then
2635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2636 $as_echo "$CC" >&6; }
2638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2639 $as_echo "no" >&6; }
2643 test -n "$CC" && break
2646 if test -z "$CC"; then
2648 for ac_prog
in cl.exe
2650 # Extract the first word of "$ac_prog", so it can be a program name with args.
2651 set dummy
$ac_prog; ac_word
=$2
2652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2653 $as_echo_n "checking for $ac_word... " >&6; }
2654 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2655 $as_echo_n "(cached) " >&6
2657 if test -n "$ac_ct_CC"; then
2658 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2660 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2664 test -z "$as_dir" && as_dir
=.
2665 for ac_exec_ext
in '' $ac_executable_extensions; do
2666 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2667 ac_cv_prog_ac_ct_CC
="$ac_prog"
2668 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2677 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2678 if test -n "$ac_ct_CC"; then
2679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2680 $as_echo "$ac_ct_CC" >&6; }
2682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2683 $as_echo "no" >&6; }
2687 test -n "$ac_ct_CC" && break
2690 if test "x$ac_ct_CC" = x
; then
2693 case $cross_compiling:$ac_tool_warned in
2695 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2696 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2697 ac_tool_warned
=yes ;;
2706 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2707 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2708 as_fn_error $?
"no acceptable C compiler found in \$PATH
2709 See \`config.log' for more details" "$LINENO" 5; }
2711 # Provide some information about the compiler.
2712 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2715 for ac_option
in --version -v -V -qversion; do
2716 { { ac_try
="$ac_compiler $ac_option >&5"
2718 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2719 *) ac_try_echo=$ac_try;;
2721 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2722 $as_echo "$ac_try_echo"; } >&5
2723 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2725 if test -s conftest.err; then
2727 ... rest of stderr output deleted ...
2728 10q' conftest.err >conftest.er1
2729 cat conftest.er1 >&5
2731 rm -f conftest.er1 conftest.err
2732 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2733 test $ac_status = 0; }
2736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2737 /* end confdefs.h. */
2747 ac_clean_files_save=$ac_clean_files
2748 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2749 # Try to create an executable without -o first, disregard a.out.
2750 # It will help us diagnose broken compilers, and finding out an intuition
2752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2753 $as_echo_n "checking whether the C compiler works... " >&6; }
2754 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2756 # The possible output files:
2757 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2760 for ac_file in $ac_files
2763 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2764 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2769 if { { ac_try="$ac_link_default"
2771 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2772 *) ac_try_echo
=$ac_try;;
2774 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2775 $as_echo "$ac_try_echo"; } >&5
2776 (eval "$ac_link_default") 2>&5
2778 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2779 test $ac_status = 0; }; then :
2780 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2781 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2782 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2783 # so that the user can short-circuit this test for compilers unknown to
2785 for ac_file
in $ac_files ''
2787 test -f "$ac_file" ||
continue
2789 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
2792 # We found the default executable, but exeext='' is most
2796 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2798 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2800 # We set ac_cv_exeext here because the later test for it is not
2801 # safe: cross compilers may not add the suffix if given an `-o'
2802 # argument, so we may need to know it at that point already.
2803 # Even if this section looks crufty: it has the advantage of
2810 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2815 if test -z "$ac_file"; then :
2816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2817 $as_echo "no" >&6; }
2818 $as_echo "$as_me: failed program was:" >&5
2819 sed 's/^/| /' conftest.
$ac_ext >&5
2821 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2822 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2823 as_fn_error
77 "C compiler cannot create executables
2824 See \`config.log' for more details" "$LINENO" 5; }
2826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2827 $as_echo "yes" >&6; }
2829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2830 $as_echo_n "checking for C compiler default output file name... " >&6; }
2831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2832 $as_echo "$ac_file" >&6; }
2833 ac_exeext
=$ac_cv_exeext
2835 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
2836 ac_clean_files
=$ac_clean_files_save
2837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2838 $as_echo_n "checking for suffix of executables... " >&6; }
2839 if { { ac_try
="$ac_link"
2841 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2842 *) ac_try_echo=$ac_try;;
2844 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2845 $as_echo "$ac_try_echo"; } >&5
2846 (eval "$ac_link") 2>&5
2848 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2849 test $ac_status = 0; }; then :
2850 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
2851 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
2852 # work properly (i.e., refer to `conftest.exe'), while it won't with
2854 for ac_file
in conftest.exe conftest conftest.
*; do
2855 test -f "$ac_file" ||
continue
2857 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2858 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2864 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2865 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2866 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
2867 See \`config.log' for more details" "$LINENO" 5; }
2869 rm -f conftest conftest
$ac_cv_exeext
2870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2871 $as_echo "$ac_cv_exeext" >&6; }
2873 rm -f conftest.
$ac_ext
2874 EXEEXT
=$ac_cv_exeext
2876 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2877 /* end confdefs.h. */
2882 FILE *f = fopen ("conftest.out", "w");
2883 return ferror (f) || fclose (f) != 0;
2889 ac_clean_files
="$ac_clean_files conftest.out"
2890 # Check that the compiler produces executables we can run. If not, either
2891 # the compiler is broken, or we cross compile.
2892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2893 $as_echo_n "checking whether we are cross compiling... " >&6; }
2894 if test "$cross_compiling" != yes; then
2895 { { ac_try
="$ac_link"
2897 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2898 *) ac_try_echo=$ac_try;;
2900 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2901 $as_echo "$ac_try_echo"; } >&5
2902 (eval "$ac_link") 2>&5
2904 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2905 test $ac_status = 0; }
2906 if { ac_try='./conftest$ac_cv_exeext'
2907 { { case "(($ac_try" in
2908 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2909 *) ac_try_echo
=$ac_try;;
2911 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2912 $as_echo "$ac_try_echo"; } >&5
2913 (eval "$ac_try") 2>&5
2915 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2916 test $ac_status = 0; }; }; then
2919 if test "$cross_compiling" = maybe
; then
2922 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2923 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2924 as_fn_error $?
"cannot run C compiled programs.
2925 If you meant to cross compile, use \`--host'.
2926 See \`config.log' for more details" "$LINENO" 5; }
2930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2931 $as_echo "$cross_compiling" >&6; }
2933 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
2934 ac_clean_files
=$ac_clean_files_save
2935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2936 $as_echo_n "checking for suffix of object files... " >&6; }
2937 if ${ac_cv_objext+:} false
; then :
2938 $as_echo_n "(cached) " >&6
2940 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2941 /* end confdefs.h. */
2951 rm -f conftest.o conftest.obj
2952 if { { ac_try
="$ac_compile"
2954 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2955 *) ac_try_echo=$ac_try;;
2957 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2958 $as_echo "$ac_try_echo"; } >&5
2959 (eval "$ac_compile") 2>&5
2961 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2962 test $ac_status = 0; }; then :
2963 for ac_file in conftest.o conftest.obj conftest.*; do
2964 test -f "$ac_file" || continue;
2966 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2967 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2972 $as_echo "$as_me: failed program was:" >&5
2973 sed 's/^/| /' conftest.$ac_ext >&5
2975 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2976 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2977 as_fn_error $? "cannot compute suffix of object files
: cannot compile
2978 See \
`config.log' for more details" "$LINENO" 5; }
2980 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2983 $as_echo "$ac_cv_objext" >&6; }
2984 OBJEXT=$ac_cv_objext
2986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2987 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2988 if ${ac_cv_c_compiler_gnu+:} false; then :
2989 $as_echo_n "(cached) " >&6
2991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2992 /* end confdefs.h. */
3005 if ac_fn_c_try_compile "$LINENO"; then :
3010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3011 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3015 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3016 if test $ac_compiler_gnu = yes; then
3021 ac_test_CFLAGS=${CFLAGS+set}
3022 ac_save_CFLAGS=$CFLAGS
3023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3024 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3025 if ${ac_cv_prog_cc_g+:} false; then :
3026 $as_echo_n "(cached) " >&6
3028 ac_save_c_werror_flag=$ac_c_werror_flag
3029 ac_c_werror_flag=yes
3032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3033 /* end confdefs.h. */
3043 if ac_fn_c_try_compile "$LINENO"; then :
3047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3048 /* end confdefs.h. */
3058 if ac_fn_c_try_compile "$LINENO"; then :
3061 ac_c_werror_flag=$ac_save_c_werror_flag
3063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3064 /* end confdefs.h. */
3074 if ac_fn_c_try_compile "$LINENO"; then :
3077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3082 ac_c_werror_flag=$ac_save_c_werror_flag
3084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3085 $as_echo "$ac_cv_prog_cc_g" >&6; }
3086 if test "$ac_test_CFLAGS" = set; then
3087 CFLAGS=$ac_save_CFLAGS
3088 elif test $ac_cv_prog_cc_g = yes; then
3089 if test "$GCC" = yes; then
3095 if test "$GCC" = yes; then
3101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3102 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3103 if ${ac_cv_prog_cc_c89+:} false; then :
3104 $as_echo_n "(cached) " >&6
3106 ac_cv_prog_cc_c89=no
3108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3109 /* end confdefs.h. */
3113 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3114 struct buf { int x; };
3115 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3116 static char *e (p, i)
3122 static char *f (char * (*g) (char **, int), char **p, ...)
3127 s = g (p, va_arg (v,int));
3132 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3133 function prototypes and stuff, but not '\xHH' hex character constants.
3134 These don't provoke an error unfortunately, instead are silently treated
3135 as 'x'. The following induces an error, until -std is added to get
3136 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3137 array size at least. It's necessary to write '\x00'==0 to get something
3138 that's true only with -std. */
3139 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3141 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3142 inside strings and character constants. */
3144 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3146 int test (int i, double x);
3147 struct s1 {int (*f) (int a);};
3148 struct s2 {int (*f) (double a);};
3149 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3155 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3160 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3161 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3163 CC="$ac_save_CC $ac_arg"
3164 if ac_fn_c_try_compile "$LINENO"; then :
3165 ac_cv_prog_cc_c89=$ac_arg
3167 rm -f core conftest.err conftest.$ac_objext
3168 test "x$ac_cv_prog_cc_c89" != "xno" && break
3170 rm -f conftest.$ac_ext
3175 case "x$ac_cv_prog_cc_c89" in
3177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3178 $as_echo "none needed" >&6; } ;;
3180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3181 $as_echo "unsupported" >&6; } ;;
3183 CC="$CC $ac_cv_prog_cc_c89"
3184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3185 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3187 if test "x$ac_cv_prog_cc_c89" != xno; then :
3192 ac_cpp='$CPP $CPPFLAGS'
3193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3198 ac_cpp='$CPP $CPPFLAGS'
3199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3203 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3204 if ${am_cv_prog_cc_c_o+:} false; then :
3205 $as_echo_n "(cached) " >&6
3207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3208 /* end confdefs.h. */
3218 # Make sure it works both with $CC and with simple cc.
3219 # Following AC_PROG_CC_C_O, we do the test twice because some
3220 # compilers refuse to overwrite an existing .o file with -o,
3221 # though they will create one.
3222 am_cv_prog_cc_c_o=yes
3224 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3225 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3228 (exit $ac_status); } \
3229 && test -f conftest2.$ac_objext; then
3232 am_cv_prog_cc_c_o=no
3236 rm -f core conftest*
3239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3240 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3241 if test "$am_cv_prog_cc_c_o" != yes; then
3242 # Losing compiler, so override with the script.
3243 # FIXME: It is wrong to rewrite CC.
3244 # But if we don't then we get into trouble of one sort or another.
3245 # A longer-term fix would be to have automake use am__CC in this case,
3246 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3247 CC="$am_aux_dir/compile $CC"
3250 ac_cpp='$CPP $CPPFLAGS'
3251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3256 depcc="$CC" am_compiler_list=
3258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3259 $as_echo_n "checking dependency style of $depcc... " >&6; }
3260 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3261 $as_echo_n "(cached) " >&6
3263 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3264 # We make a subdir and do the tests there. Otherwise we can end up
3265 # making bogus files that we don't know about and never remove. For
3266 # instance it was reported that on HP-UX the gcc test will end up
3267 # making a dummy file named 'D' -- because '-MD' means "put the output
3271 # Copy depcomp to subdir because otherwise we won't find it if we're
3272 # using a relative directory.
3273 cp "$am_depcomp" conftest.dir
3275 # We will build objects and dependencies in a subdirectory because
3276 # it helps to detect inapplicable dependency modes. For instance
3277 # both Tru64's cc and ICC support -MD to output dependencies as a
3278 # side effect of compilation, but ICC will put the dependencies in
3279 # the current directory while Tru64 will put them in the object
3283 am_cv_CC_dependencies_compiler_type=none
3284 if test "$am_compiler_list" = ""; then
3285 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
3288 case " $depcc " in #(
3289 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3292 for depmode in $am_compiler_list; do
3293 # Setup a source with many dependencies, because some compilers
3294 # like to wrap large dependency lists on column 80 (with \), and
3295 # we should not choose a depcomp mode which is confused by this.
3297 # We need to recreate these files for each test, as the compiler may
3298 # overwrite some of them when testing with obscure command lines.
3299 # This happens at least with the AIX C compiler.
3301 for i in 1 2 3 4 5 6; do
3302 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3303 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3304 # Solaris 10 /bin/sh.
3305 echo '/* dummy */' > sub/conftst$i.h
3307 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3309 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3310 # mode. It turns out that the SunPro C++ compiler does not properly
3311 # handle '-M -o', and we need to detect this. Also, some Intel
3312 # versions had trouble with output in subdirs.
3313 am__obj=sub/conftest.${OBJEXT-o}
3314 am__minus_obj="-o $am__obj"
3317 # This depmode causes a compiler race in universal mode.
3318 test "$am__universal" = false || continue
3321 # After this tag, mechanisms are not by side-effect, so they'll
3322 # only be used when explicitly requested.
3323 if test "x$enable_dependency_tracking" = xyes; then
3329 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3330 # This compiler won't grok '-c -o', but also, the minuso test has
3331 # not run yet. These depmodes are late enough in the game, and
3332 # so weak that their functioning should not be impacted.
3333 am__obj=conftest.${OBJEXT-o}
3338 if depmode=$depmode \
3339 source=sub/conftest.c object=$am__obj \
3340 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3341 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3342 >/dev/null 2>conftest.err &&
3343 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3344 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3345 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3346 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3347 # icc doesn't choke on unknown options, it will just issue warnings
3348 # or remarks (even with -Werror). So we grep stderr for any message
3349 # that says an option was ignored or not supported.
3350 # When given -MP, icc 7.0 and 7.1 complain thusly:
3351 # icc: Command line warning: ignoring option '-M'; no argument required
3352 # The diagnosis changed in icc 8.0:
3353 # icc: Command line remark: option '-MP' not supported
3354 if (grep 'ignoring option' conftest.err ||
3355 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3356 am_cv_CC_dependencies_compiler_type=$depmode
3365 am_cv_CC_dependencies_compiler_type=none
3369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3370 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3371 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3374 test "x$enable_dependency_tracking" != xno \
3375 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3377 am__fastdepCC_FALSE='#'
3379 am__fastdepCC_TRUE='#'
3380 am__fastdepCC_FALSE=
3385 # Check whether --enable-compiler-warnings was given.
3386 if test "${enable_compiler_warnings+set}" = set; then :
3387 enableval=$enable_compiler_warnings;
3389 case $enable_compiler_warnings in #(
3390 no | min | yes | max | all) :
3393 if test "x$enable_maintainer_mode" = xyes; then :
3394 enable_compiler_warnings=yes
3396 enable_compiler_warnings=min
3401 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3402 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3403 # is not polluted with repeated "-I."
3404 am__isrc=' -I$(srcdir)'
3405 # test to see if srcdir already configured
3406 if test -f $srcdir/config.status; then
3407 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3411 # test whether we have cygpath
3412 if test -z "$CYGPATH_W"; then
3413 if (cygpath --version) >/dev/null 2>/dev/null; then
3414 CYGPATH_W='cygpath -w'
3421 # Define the identity of the package.
3422 PACKAGE='gmp-native'
3426 cat >>confdefs.h <<_ACEOF
3427 #define PACKAGE "$PACKAGE"
3431 cat >>confdefs.h <<_ACEOF
3432 #define VERSION "$VERSION"
3435 # Some tools Automake needs.
3437 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3440 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3443 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3446 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3449 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3451 # For better backward compatibility. To be removed once Automake 1.9.x
3452 # dies out for good. For more background, see:
3453 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3454 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3455 mkdir_p='$(MKDIR_P)'
3457 # We need awk for the "check" target (and possibly the TAP driver). The
3458 # system "awk" is bad on some platforms.
3459 # Always define AMTAR for backward compatibility. Yes, it's still used
3460 # in the wild :-( We should find a proper way to deprecate it ...
3464 # We'll loop over all known methods to create a tar archive until one works.
3465 _am_tools='gnutar pax cpio none'
3467 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3474 # POSIX will say in a future version that running "rm -f" with no argument
3475 # is OK; and we want to be able to make that assumption in our Makefile
3476 # recipes. So use an aggressive probe to check that the usage we want is
3477 # actually supported "in the wild" to an acceptable degree.
3478 # See automake bug#10828.
3479 # To make any issue more visible, cause the running configure to be aborted
3480 # by default if the 'rm' program in use doesn't match our expectations; the
3481 # user can still override this though.
3482 if rm -f && rm -fr && rm -rf; then : OK; else
3486 Your 'rm' program seems unable to run without file operands specified
3487 on the command line, even when the '-f' option is present. This is contrary
3488 to the behaviour of most rm programs out there, and not conforming with
3489 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3491 Please tell bug-automake@gnu.org about your system, including the value
3492 of your $PATH and any error possibly output before this message. This
3493 can help us improve future automake versions.
3496 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3497 echo 'Configuration will proceed anyway, since you have set the' >&2
3498 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3502 Aborting the configuration process, to ensure you take notice of the issue.
3504 You can download and install GNU coreutils to get an 'rm' implementation
3505 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3507 If you want to complete the configuration process using your problematic
3508 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3509 to "yes", and re-run configure.
3512 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3518 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3519 # Check whether --enable-maintainer-mode was given.
3520 if test "${enable_maintainer_mode+set}" = set; then :
3521 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3523 USE_MAINTAINER_MODE=no
3526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3527 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3528 if test $USE_MAINTAINER_MODE = yes; then
3529 MAINTAINER_MODE_TRUE=
3530 MAINTAINER_MODE_FALSE='#'
3532 MAINTAINER_MODE_TRUE='#'
3533 MAINTAINER_MODE_FALSE=
3536 MAINT=$MAINTAINER_MODE_TRUE
3539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler accepts prototypes" >&5
3540 $as_echo_n "checking whether the compiler accepts prototypes... " >&6; }
3541 if ${kb_cv_c_prototypes+:} false; then :
3542 $as_echo_n "(cached) " >&6
3544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3545 /* end confdefs.h. */
3550 extern void foo(int i,...);
3555 if ac_fn_c_try_link "$LINENO"; then :
3556 kb_cv_c_prototypes=yes
3558 kb_cv_c_prototypes=no
3560 rm -f core conftest.err conftest.$ac_objext \
3561 conftest$ac_exeext conftest.$ac_ext
3563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kb_cv_c_prototypes" >&5
3564 $as_echo "$kb_cv_c_prototypes" >&6; }
3565 if test "x$kb_cv_c_prototypes" = xno; then
3566 as_fn_error $? "Sorry, your compiler does not understand prototypes." "$LINENO" 5
3568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5
3569 $as_echo_n "checking what warning flags to pass to the C compiler... " >&6; }
3570 if ${kpse_cv_warning_cflags+:} false; then :
3571 $as_echo_n "(cached) " >&6
3573 if test "x$GCC" = xyes; then
3574 kpse_cv_warning_cflags=
3575 if test "x$enable_compiler_warnings" != xno; then
3576 kpse_cv_warning_cflags="-Wimplicit -Wreturn-type"
3577 case `$CC -dumpversion` in #(
3578 3.4.* | 4.* | 5.*) :
3579 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wdeclaration-after-statement" ;; #(
3583 case `$CC -dumpversion` in #(
3584 3.[234].* | 4.* | 5.*) :
3585 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wno-unknown-pragmas" ;; #(
3589 if test "x$enable_compiler_warnings" != xmin; then
3590 kpse_cv_warning_cflags="-Wall -Wunused $kpse_cv_warning_cflags"
3591 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wmissing-prototypes -Wmissing-declarations"
3592 if test "x$enable_compiler_warnings" != xyes; then
3593 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wparentheses -Wswitch -Wtrigraphs -Wpointer-arith"
3594 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wcast-qual -Wcast-align -Wwrite-strings"
3595 case `$CC -dumpversion` in #(
3596 3.4.* | 4.* | 5.*) :
3597 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wold-style-definition" ;; #(
3601 if test "x$enable_compiler_warnings" != xmax; then
3602 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wshadow"
3607 elif test "x$enable_compiler_warnings" = xno; then
3608 kpse_cv_warning_cflags=
3610 kpse_cv_warning_cflags= # FIXME: warning flags for non-GNU C compilers
3613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_warning_cflags" >&5
3614 $as_echo "$kpse_cv_warning_cflags" >&6; }
3615 WARNING_CFLAGS=$kpse_cv_warning_cflags
3625 ac_cpp='$CPP $CPPFLAGS'
3626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3629 if test -n "$ac_tool_prefix"; then
3630 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3631 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3633 $as_echo_n "checking for $ac_word... " >&6; }
3634 if ${ac_cv_prog_CC+:} false; then :
3635 $as_echo_n "(cached) " >&6
3637 if test -n "$CC"; then
3638 ac_cv_prog_CC="$CC" # Let the user override the test.
3640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3644 test -z "$as_dir" && as_dir=.
3645 for ac_exec_ext in '' $ac_executable_extensions; do
3646 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3647 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3648 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3658 if test -n "$CC"; then
3659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3660 $as_echo "$CC" >&6; }
3662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3663 $as_echo "no" >&6; }
3668 if test -z "$ac_cv_prog_CC"; then
3670 # Extract the first word of "gcc", so it can be a program name with args.
3671 set dummy gcc; ac_word=$2
3672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3673 $as_echo_n "checking for $ac_word... " >&6; }
3674 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3675 $as_echo_n "(cached) " >&6
3677 if test -n "$ac_ct_CC"; then
3678 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3684 test -z "$as_dir" && as_dir=.
3685 for ac_exec_ext in '' $ac_executable_extensions; do
3686 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3687 ac_cv_prog_ac_ct_CC="gcc"
3688 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3697 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3698 if test -n "$ac_ct_CC"; then
3699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3700 $as_echo "$ac_ct_CC" >&6; }
3702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3703 $as_echo "no" >&6; }
3706 if test "x$ac_ct_CC" = x; then
3709 case $cross_compiling:$ac_tool_warned in
3711 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3712 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3713 ac_tool_warned=yes ;;
3721 if test -z "$CC"; then
3722 if test -n "$ac_tool_prefix"; then
3723 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3724 set dummy ${ac_tool_prefix}cc; ac_word=$2
3725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3726 $as_echo_n "checking for $ac_word... " >&6; }
3727 if ${ac_cv_prog_CC+:} false; then :
3728 $as_echo_n "(cached) " >&6
3730 if test -n "$CC"; then
3731 ac_cv_prog_CC="$CC" # Let the user override the test.
3733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3737 test -z "$as_dir" && as_dir=.
3738 for ac_exec_ext in '' $ac_executable_extensions; do
3739 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3740 ac_cv_prog_CC="${ac_tool_prefix}cc"
3741 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3751 if test -n "$CC"; then
3752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3753 $as_echo "$CC" >&6; }
3755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3756 $as_echo "no" >&6; }
3762 if test -z "$CC"; then
3763 # Extract the first word of "cc", so it can be a program name with args.
3764 set dummy cc; ac_word=$2
3765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3766 $as_echo_n "checking for $ac_word... " >&6; }
3767 if ${ac_cv_prog_CC+:} false; then :
3768 $as_echo_n "(cached) " >&6
3770 if test -n "$CC"; then
3771 ac_cv_prog_CC="$CC" # Let the user override the test.
3774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3778 test -z "$as_dir" && as_dir=.
3779 for ac_exec_ext in '' $ac_executable_extensions; do
3780 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3781 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3782 ac_prog_rejected=yes
3786 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3793 if test $ac_prog_rejected = yes; then
3794 # We found a bogon in the path, so make sure we never use it.
3795 set dummy $ac_cv_prog_CC
3797 if test $# != 0; then
3798 # We chose a different compiler from the bogus one.
3799 # However, it has the same basename, so the bogon will be chosen
3800 # first if we set CC to just the basename; use the full file name.
3802 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3808 if test -n "$CC"; then
3809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3810 $as_echo "$CC" >&6; }
3812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3813 $as_echo "no" >&6; }
3818 if test -z "$CC"; then
3819 if test -n "$ac_tool_prefix"; then
3820 for ac_prog in cl.exe
3822 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3823 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3825 $as_echo_n "checking for $ac_word... " >&6; }
3826 if ${ac_cv_prog_CC+:} false; then :
3827 $as_echo_n "(cached) " >&6
3829 if test -n "$CC"; then
3830 ac_cv_prog_CC="$CC" # Let the user override the test.
3832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3836 test -z "$as_dir" && as_dir=.
3837 for ac_exec_ext in '' $ac_executable_extensions; do
3838 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3839 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3840 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3850 if test -n "$CC"; then
3851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3852 $as_echo "$CC" >&6; }
3854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3855 $as_echo "no" >&6; }
3859 test -n "$CC" && break
3862 if test -z "$CC"; then
3864 for ac_prog in cl.exe
3866 # Extract the first word of "$ac_prog", so it can be a program name with args.
3867 set dummy $ac_prog; ac_word=$2
3868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3869 $as_echo_n "checking for $ac_word... " >&6; }
3870 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3871 $as_echo_n "(cached) " >&6
3873 if test -n "$ac_ct_CC"; then
3874 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3880 test -z "$as_dir" && as_dir=.
3881 for ac_exec_ext in '' $ac_executable_extensions; do
3882 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3883 ac_cv_prog_ac_ct_CC="$ac_prog"
3884 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3893 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3894 if test -n "$ac_ct_CC"; then
3895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3896 $as_echo "$ac_ct_CC" >&6; }
3898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3899 $as_echo "no" >&6; }
3903 test -n "$ac_ct_CC" && break
3906 if test "x$ac_ct_CC" = x; then
3909 case $cross_compiling:$ac_tool_warned in
3911 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3912 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3913 ac_tool_warned=yes ;;
3922 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3923 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3924 as_fn_error $? "no acceptable C compiler found
in \
$PATH
3925 See \
`config.log' for more details" "$LINENO" 5; }
3927 # Provide some information about the compiler.
3928 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3931 for ac_option in --version -v -V -qversion; do
3932 { { ac_try="$ac_compiler $ac_option >&5"
3934 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3935 *) ac_try_echo
=$ac_try;;
3937 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3938 $as_echo "$ac_try_echo"; } >&5
3939 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3941 if test -s conftest.err
; then
3943 ... rest of stderr output deleted ...
3944 10q' conftest.err
>conftest.er1
3945 cat conftest.er1
>&5
3947 rm -f conftest.er1 conftest.err
3948 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3949 test $ac_status = 0; }
3952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3953 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3954 if ${ac_cv_c_compiler_gnu+:} false
; then :
3955 $as_echo_n "(cached) " >&6
3957 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3958 /* end confdefs.h. */
3971 if ac_fn_c_try_compile
"$LINENO"; then :
3976 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3977 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3981 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3982 if test $ac_compiler_gnu = yes; then
3987 ac_test_CFLAGS
=${CFLAGS+set}
3988 ac_save_CFLAGS
=$CFLAGS
3989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3990 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3991 if ${ac_cv_prog_cc_g+:} false
; then :
3992 $as_echo_n "(cached) " >&6
3994 ac_save_c_werror_flag
=$ac_c_werror_flag
3995 ac_c_werror_flag
=yes
3998 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3999 /* end confdefs.h. */
4009 if ac_fn_c_try_compile
"$LINENO"; then :
4013 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4014 /* end confdefs.h. */
4024 if ac_fn_c_try_compile
"$LINENO"; then :
4027 ac_c_werror_flag
=$ac_save_c_werror_flag
4029 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4030 /* end confdefs.h. */
4040 if ac_fn_c_try_compile
"$LINENO"; then :
4043 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4045 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4047 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4048 ac_c_werror_flag
=$ac_save_c_werror_flag
4050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4051 $as_echo "$ac_cv_prog_cc_g" >&6; }
4052 if test "$ac_test_CFLAGS" = set; then
4053 CFLAGS
=$ac_save_CFLAGS
4054 elif test $ac_cv_prog_cc_g = yes; then
4055 if test "$GCC" = yes; then
4061 if test "$GCC" = yes; then
4067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4068 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4069 if ${ac_cv_prog_cc_c89+:} false
; then :
4070 $as_echo_n "(cached) " >&6
4072 ac_cv_prog_cc_c89
=no
4074 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4075 /* end confdefs.h. */
4079 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4080 struct buf { int x; };
4081 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4082 static char *e (p, i)
4088 static char *f (char * (*g) (char **, int), char **p, ...)
4093 s = g (p, va_arg (v,int));
4098 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4099 function prototypes and stuff, but not '\xHH' hex character constants.
4100 These don't provoke an error unfortunately, instead are silently treated
4101 as 'x'. The following induces an error, until -std is added to get
4102 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4103 array size at least. It's necessary to write '\x00'==0 to get something
4104 that's true only with -std. */
4105 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4107 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4108 inside strings and character constants. */
4110 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4112 int test (int i, double x);
4113 struct s1 {int (*f) (int a);};
4114 struct s2 {int (*f) (double a);};
4115 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4121 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4126 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
4127 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4129 CC
="$ac_save_CC $ac_arg"
4130 if ac_fn_c_try_compile
"$LINENO"; then :
4131 ac_cv_prog_cc_c89
=$ac_arg
4133 rm -f core conftest.err conftest.
$ac_objext
4134 test "x$ac_cv_prog_cc_c89" != "xno" && break
4136 rm -f conftest.
$ac_ext
4141 case "x$ac_cv_prog_cc_c89" in
4143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4144 $as_echo "none needed" >&6; } ;;
4146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4147 $as_echo "unsupported" >&6; } ;;
4149 CC
="$CC $ac_cv_prog_cc_c89"
4150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4151 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4153 if test "x$ac_cv_prog_cc_c89" != xno
; then :
4158 ac_cpp
='$CPP $CPPFLAGS'
4159 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4160 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4161 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4164 ac_cpp
='$CPP $CPPFLAGS'
4165 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4166 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4167 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4169 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4170 if ${am_cv_prog_cc_c_o+:} false
; then :
4171 $as_echo_n "(cached) " >&6
4173 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4174 /* end confdefs.h. */
4184 # Make sure it works both with $CC and with simple cc.
4185 # Following AC_PROG_CC_C_O, we do the test twice because some
4186 # compilers refuse to overwrite an existing .o file with -o,
4187 # though they will create one.
4188 am_cv_prog_cc_c_o
=yes
4190 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4191 ($CC -c conftest.
$ac_ext -o conftest2.
$ac_objext) >&5 2>&5
4193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4194 (exit $ac_status); } \
4195 && test -f conftest2.
$ac_objext; then
4198 am_cv_prog_cc_c_o
=no
4202 rm -f core conftest
*
4205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4206 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4207 if test "$am_cv_prog_cc_c_o" != yes; then
4208 # Losing compiler, so override with the script.
4209 # FIXME: It is wrong to rewrite CC.
4210 # But if we don't then we get into trouble of one sort or another.
4211 # A longer-term fix would be to have automake use am__CC in this case,
4212 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4213 CC
="$am_aux_dir/compile $CC"
4216 ac_cpp
='$CPP $CPPFLAGS'
4217 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4218 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4219 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4222 depcc
="$CC" am_compiler_list
=
4224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4225 $as_echo_n "checking dependency style of $depcc... " >&6; }
4226 if ${am_cv_CC_dependencies_compiler_type+:} false
; then :
4227 $as_echo_n "(cached) " >&6
4229 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4230 # We make a subdir and do the tests there. Otherwise we can end up
4231 # making bogus files that we don't know about and never remove. For
4232 # instance it was reported that on HP-UX the gcc test will end up
4233 # making a dummy file named 'D' -- because '-MD' means "put the output
4237 # Copy depcomp to subdir because otherwise we won't find it if we're
4238 # using a relative directory.
4239 cp "$am_depcomp" conftest.dir
4241 # We will build objects and dependencies in a subdirectory because
4242 # it helps to detect inapplicable dependency modes. For instance
4243 # both Tru64's cc and ICC support -MD to output dependencies as a
4244 # side effect of compilation, but ICC will put the dependencies in
4245 # the current directory while Tru64 will put them in the object
4249 am_cv_CC_dependencies_compiler_type
=none
4250 if test "$am_compiler_list" = ""; then
4251 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4254 case " $depcc " in #(
4255 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4258 for depmode
in $am_compiler_list; do
4259 # Setup a source with many dependencies, because some compilers
4260 # like to wrap large dependency lists on column 80 (with \), and
4261 # we should not choose a depcomp mode which is confused by this.
4263 # We need to recreate these files for each test, as the compiler may
4264 # overwrite some of them when testing with obscure command lines.
4265 # This happens at least with the AIX C compiler.
4267 for i
in 1 2 3 4 5 6; do
4268 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4269 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4270 # Solaris 10 /bin/sh.
4271 echo '/* dummy */' > sub
/conftst
$i.h
4273 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4275 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4276 # mode. It turns out that the SunPro C++ compiler does not properly
4277 # handle '-M -o', and we need to detect this. Also, some Intel
4278 # versions had trouble with output in subdirs.
4279 am__obj
=sub
/conftest.
${OBJEXT-o}
4280 am__minus_obj
="-o $am__obj"
4283 # This depmode causes a compiler race in universal mode.
4284 test "$am__universal" = false ||
continue
4287 # After this tag, mechanisms are not by side-effect, so they'll
4288 # only be used when explicitly requested.
4289 if test "x$enable_dependency_tracking" = xyes
; then
4295 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
4296 # This compiler won't grok '-c -o', but also, the minuso test has
4297 # not run yet. These depmodes are late enough in the game, and
4298 # so weak that their functioning should not be impacted.
4299 am__obj
=conftest.
${OBJEXT-o}
4304 if depmode
=$depmode \
4305 source=sub
/conftest.c object
=$am__obj \
4306 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4307 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4308 >/dev
/null
2>conftest.err
&&
4309 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4310 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4311 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4312 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4313 # icc doesn't choke on unknown options, it will just issue warnings
4314 # or remarks (even with -Werror). So we grep stderr for any message
4315 # that says an option was ignored or not supported.
4316 # When given -MP, icc 7.0 and 7.1 complain thusly:
4317 # icc: Command line warning: ignoring option '-M'; no argument required
4318 # The diagnosis changed in icc 8.0:
4319 # icc: Command line remark: option '-MP' not supported
4320 if (grep 'ignoring option' conftest.err ||
4321 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4322 am_cv_CC_dependencies_compiler_type
=$depmode
4331 am_cv_CC_dependencies_compiler_type
=none
4335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4336 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4337 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4340 test "x$enable_dependency_tracking" != xno \
4341 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4343 am__fastdepCC_FALSE
='#'
4345 am__fastdepCC_TRUE
='#'
4346 am__fastdepCC_FALSE
=
4350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4351 $as_echo_n "checking whether ln -s works... " >&6; }
4353 if test "$LN_S" = "ln -s"; then
4354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4355 $as_echo "yes" >&6; }
4357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4358 $as_echo "no, using $LN_S" >&6; }
4362 kpse_search_save_LIBS
=$LIBS
4363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pow" >&5
4364 $as_echo_n "checking for library containing pow... " >&6; }
4365 if ${ac_cv_search_pow+:} false
; then :
4366 $as_echo_n "(cached) " >&6
4368 ac_func_search_save_LIBS
=$LIBS
4369 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4370 /* end confdefs.h. */
4372 /* Override any GCC internal prototype to avoid an error.
4373 Use char because int might match the return type of a GCC
4374 builtin and then its argument prototype would still apply. */
4387 for ac_lib
in '' m
; do
4388 if test -z "$ac_lib"; then
4389 ac_res
="none required"
4392 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
4394 if ac_fn_c_try_link
"$LINENO"; then :
4395 ac_cv_search_pow
=$ac_res
4397 rm -f core conftest.err conftest.
$ac_objext \
4399 if ${ac_cv_search_pow+:} false
; then :
4403 if ${ac_cv_search_pow+:} false
; then :
4409 LIBS
=$ac_func_search_save_LIBS
4411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pow" >&5
4412 $as_echo "$ac_cv_search_pow" >&6; }
4413 ac_res
=$ac_cv_search_pow
4414 if test "$ac_res" != no
; then :
4415 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
4419 LIBS
=$kpse_search_save_LIBS
4420 case $ac_cv_search_pow in #(
4424 as_fn_error $?
"Sorry, did not find pow()" "$LINENO" 5 ;; #(
4426 MATH_LIB
=$ac_cv_search_pow ;;
4433 ac_config_headers
="$ac_config_headers config.h"
4436 ac_config_files
="$ac_config_files Makefile"
4439 cat >confcache
<<\_ACEOF
4440 # This file is a shell script that caches the results of configure
4441 # tests run on this system so they can be shared between configure
4442 # scripts and configure runs, see configure's option --config-cache.
4443 # It is not useful on other systems. If it contains results you don't
4444 # want to keep, you may remove or edit it.
4446 # config.status only pays attention to the cache file if you give it
4447 # the --recheck option to rerun configure.
4449 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4450 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4455 # The following way of writing the cache mishandles newlines in values,
4456 # but we know of no workaround that is simple, portable, and efficient.
4457 # So, we kill variables containing newlines.
4458 # Ultrix sh set writes to stderr and can't be redirected directly,
4459 # and sets the high bit in the cache file unless we assign to the vars.
4461 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4462 eval ac_val
=\$
$ac_var
4466 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4467 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4470 _ | IFS | as_nl
) ;; #(
4471 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
4472 *) { eval $ac_var=; unset $ac_var;} ;;
4478 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4479 *${as_nl}ac_space
=\
*)
4480 # `set' does not quote correctly, so add quotes: double-quote
4481 # substitution turns \\\\ into \\, and sed turns \\ into \.
4484 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4487 # `set' quotes correctly as required by POSIX, so do not add quotes.
4488 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4497 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4499 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4501 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
4502 if test -w "$cache_file"; then
4503 if test "x$cache_file" != "x/dev/null"; then
4504 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4505 $as_echo "$as_me: updating cache $cache_file" >&6;}
4506 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
4507 cat confcache
>"$cache_file"
4509 case $cache_file in #(
4511 mv -f confcache
"$cache_file"$$
&&
4512 mv -f "$cache_file"$$
"$cache_file" ;; #(
4514 mv -f confcache
"$cache_file" ;;
4519 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4520 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4525 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
4526 # Let make expand exec_prefix.
4527 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
4529 DEFS
=-DHAVE_CONFIG_H
4534 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
4535 # 1. Remove the extension, and $U if already installed.
4536 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
4537 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
4538 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4539 # will be set to the directory where LIBOBJS objects are built.
4540 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4541 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
4545 LTLIBOBJS
=$ac_ltlibobjs
4548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
4549 $as_echo_n "checking that generated files are newer than configure... " >&6; }
4550 if test -n "$am_sleep_pid"; then
4551 # Hide warnings about reused PIDs.
4552 wait $am_sleep_pid 2>/dev
/null
4554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
4555 $as_echo "done" >&6; }
4556 if test -n "$EXEEXT"; then
4558 am__EXEEXT_FALSE
='#'
4564 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
4565 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
4566 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4568 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4569 as_fn_error $?
"conditional \"AMDEP\" was never defined.
4570 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4572 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4573 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
4574 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4576 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4577 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
4578 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4581 : "${CONFIG_STATUS=./config.status}"
4583 ac_clean_files_save
=$ac_clean_files
4584 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
4585 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4586 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4588 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4590 # Generated by $as_me.
4591 # Run this file to recreate the current configuration.
4592 # Compiler output produced by configure, useful for debugging
4593 # configure, is in config.log if it exists.
4599 SHELL=\${CONFIG_SHELL-$SHELL}
4602 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
4603 ## -------------------- ##
4604 ## M4sh Initialization. ##
4605 ## -------------------- ##
4607 # Be more Bourne compatible
4608 DUALCASE
=1; export DUALCASE
# for MKS sh
4609 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
4612 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4613 # is contrary to our usage. Disable this feature.
4614 alias -g '${1+"$@"}'='"$@"'
4615 setopt NO_GLOB_SUBST
4617 case `(set -o) 2>/dev/null` in #(
4629 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4630 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4631 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4632 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4633 # Prefer a ksh shell builtin over an external printf program on Solaris,
4634 # but without wasting forks for bash or zsh.
4635 if test -z "$BASH_VERSION$ZSH_VERSION" \
4636 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4637 as_echo='print
-r --'
4638 as_echo_n='print
-rn --'
4639 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4640 as_echo='printf %s
\n'
4641 as_echo_n='printf %s
'
4643 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4644 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
4645 as_echo_n='/usr
/ucb
/echo -n'
4647 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4648 as_echo_n_body='eval
4652 expr "X$arg" : "X\\(.*\\)$as_nl";
4653 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4655 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
4657 export as_echo_n_body
4658 as_echo_n='sh
-c $as_echo_n_body as_echo
'
4661 as_echo='sh
-c $as_echo_body as_echo
'
4664 # The user is always right.
4665 if test "${PATH_SEPARATOR+set}" != set; then
4667 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4668 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4675 # We need space, tab and new line, in precisely that order. Quoting is
4676 # there to prevent editors from complaining about space-tab.
4677 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4678 # splitting by setting IFS to empty value.)
4681 # Find who we are. Look in the path if we contain no directory separator.
4684 *[\\/]* ) as_myself=$0 ;;
4685 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4689 test -z "$as_dir" && as_dir=.
4690 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4696 # We did not find ourselves, most probably we were run as `sh COMMAND'
4697 # in which case we are not to be found in the path.
4698 if test "x$as_myself" = x
; then
4701 if test ! -f "$as_myself"; then
4702 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4706 # Unset variables that we do not need and which cause bugs (e.g. in
4707 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4708 # suppresses any "Segmentation fault" message there. '((' could
4709 # trigger a bug in pdksh 5.2.14.
4710 for as_var
in BASH_ENV ENV MAIL MAILPATH
4711 do eval test x\
${$as_var+set} = xset \
4712 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
4725 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
4728 # as_fn_error STATUS ERROR [LINENO LOG_FD]
4729 # ----------------------------------------
4730 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4731 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4732 # script with STATUS, using 1 if that was 0.
4735 as_status
=$1; test $as_status -eq 0 && as_status
=1
4737 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
4738 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4740 $as_echo "$as_me: error: $2" >&2
4741 as_fn_exit
$as_status
4745 # as_fn_set_status STATUS
4746 # -----------------------
4747 # Set $? to STATUS, without forking.
4751 } # as_fn_set_status
4755 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4765 # Portably unset VAR.
4768 { eval $1=; unset $1;}
4770 as_unset
=as_fn_unset
4771 # as_fn_append VAR VALUE
4772 # ----------------------
4773 # Append the text in VALUE to the end of the definition contained in VAR. Take
4774 # advantage of any shell optimizations that allow amortized linear growth over
4775 # repeated appends, instead of the typical quadratic growth present in naive
4777 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
4778 eval 'as_fn_append ()
4789 # as_fn_arith ARG...
4790 # ------------------
4791 # Perform arithmetic evaluation on the ARGs, and store the result in the
4792 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4793 # must be portable across $(()) and expr.
4794 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
4795 eval 'as_fn_arith ()
4802 as_val
=`expr "$@" || test $? -eq 1`
4807 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
4808 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
4814 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4815 as_basename
=basename
4820 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
4826 as_me
=`$as_basename -- "$0" ||
4827 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4828 X"$0" : 'X\(//\)$' \| \
4829 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4831 sed '/^.*\/\([^/][^/]*\)\/*$/{
4845 # Avoid depending upon Character Ranges.
4846 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
4847 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4848 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
4849 as_cr_digits
='0123456789'
4850 as_cr_alnum
=$as_cr_Letters$as_cr_digits
4852 ECHO_C
= ECHO_N
= ECHO_T
=
4853 case `echo -n x` in #(((((
4855 case `echo 'xy\c'` in
4856 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
4858 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
4865 rm -f conf$$ conf$$.exe conf$$.
file
4866 if test -d conf$$.dir
; then
4867 rm -f conf$$.dir
/conf$$.
file
4870 mkdir conf$$.dir
2>/dev
/null
4872 if (echo >conf$$.
file) 2>/dev
/null
; then
4873 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
4875 # ... but there are two gotchas:
4876 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4877 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4878 # In both cases, we have to default to `cp -pR'.
4879 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
4881 elif ln conf$$.
file conf$$
2>/dev
/null
; then
4889 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
4890 rmdir conf$$.dir
2>/dev
/null
4895 # Create "$as_dir" as a directory, including parents if necessary.
4900 -*) as_dir
=.
/$as_dir;;
4902 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
4906 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4907 *) as_qdir
=$as_dir;;
4909 as_dirs
="'$as_qdir' $as_dirs"
4910 as_dir
=`$as_dirname -- "$as_dir" ||
4911 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4912 X"$as_dir" : 'X\(//\)[^/]' \| \
4913 X"$as_dir" : 'X\(//\)$' \| \
4914 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4915 $as_echo X"$as_dir" |
4916 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4933 test -d "$as_dir" && break
4935 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
4936 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
4940 if mkdir
-p .
2>/dev
/null
; then
4941 as_mkdir_p
='mkdir -p "$as_dir"'
4943 test -d .
/-p && rmdir .
/-p
4948 # as_fn_executable_p FILE
4949 # -----------------------
4950 # Test if FILE is an executable regular file.
4951 as_fn_executable_p
()
4953 test -f "$1" && test -x "$1"
4954 } # as_fn_executable_p
4956 as_executable_p
=as_fn_executable_p
4958 # Sed expression to map a string onto a valid CPP name.
4959 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4961 # Sed expression to map a string onto a valid variable name.
4962 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4966 ## ----------------------------------- ##
4967 ## Main body of $CONFIG_STATUS script. ##
4968 ## ----------------------------------- ##
4970 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
4972 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4973 # Save the log message, to keep $0 and so on meaningful, and to
4974 # report actual input values of CONFIG_FILES etc. instead of their
4975 # values after options handling.
4977 This file was extended by gmp native $as_me 6.1.0, which was
4978 generated by GNU Autoconf 2.69. Invocation command line was
4980 CONFIG_FILES = $CONFIG_FILES
4981 CONFIG_HEADERS = $CONFIG_HEADERS
4982 CONFIG_LINKS = $CONFIG_LINKS
4983 CONFIG_COMMANDS = $CONFIG_COMMANDS
4986 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4991 case $ac_config_files in *"
4992 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
4995 case $ac_config_headers in *"
4996 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
5000 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5001 # Files that config.status was made for.
5002 config_files="$ac_config_files"
5003 config_headers="$ac_config_headers"
5004 config_commands="$ac_config_commands"
5008 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5010 \`$as_me' instantiates files and other configuration actions
5011 from templates according to the current configuration. Unless the files
5012 and actions are specified as TAGs, all are instantiated by default.
5014 Usage: $0 [OPTION]... [TAG]...
5016 -h, --help print this help, then exit
5017 -V, --version print version number and configuration settings, then exit
5018 --config print configuration, then exit
5019 -q, --quiet, --silent
5020 do not print progress messages
5021 -d, --debug don't remove temporary files
5022 --recheck update $as_me by reconfiguring in the same conditions
5023 --file=FILE[:TEMPLATE]
5024 instantiate the configuration file FILE
5025 --header=FILE[:TEMPLATE]
5026 instantiate the configuration header FILE
5028 Configuration files:
5031 Configuration headers:
5034 Configuration commands:
5037 Report bugs to <tex-k@tug.org>."
5040 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5041 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5043 gmp native config.status 6.1.0
5044 configured by $0, generated by GNU Autoconf 2.69,
5045 with options \\"\$ac_cs_config\\"
5047 Copyright (C) 2012 Free Software Foundation, Inc.
5048 This config.status script is free software; the Free Software Foundation
5049 gives unlimited permission to copy, distribute and modify it."
5056 test -n "\$AWK" || AWK=awk
5059 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5060 # The default lists apply if the user does not specify any file.
5066 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
5067 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
5071 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
5083 # Handling of the options.
5084 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
5086 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
5087 $as_echo "$ac_cs_version"; exit ;;
5088 --config |
--confi |
--conf |
--con |
--co |
--c )
5089 $as_echo "$ac_cs_config"; exit ;;
5090 --debug |
--debu |
--deb |
--de |
--d |
-d )
5092 --file |
--fil |
--fi |
--f )
5095 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5096 '') as_fn_error $?
"missing file argument" ;;
5098 as_fn_append CONFIG_FILES
" '$ac_optarg'"
5099 ac_need_defaults
=false
;;
5100 --header |
--heade |
--head |
--hea )
5103 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5105 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
5106 ac_need_defaults
=false
;;
5108 # Conflict between --help and --header
5109 as_fn_error $?
"ambiguous option: \`$1'
5110 Try \`$0 --help' for more information.";;
5111 --help |
--hel |
-h )
5112 $as_echo "$ac_cs_usage"; exit ;;
5113 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
5114 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
5118 -*) as_fn_error $?
"unrecognized option: \`$1'
5119 Try \`$0 --help' for more information." ;;
5121 *) as_fn_append ac_config_targets
" $1"
5122 ac_need_defaults
=false
;;
5128 ac_configure_extra_args
=
5130 if $ac_cs_silent; then
5132 ac_configure_extra_args
="$ac_configure_extra_args --silent"
5136 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5137 if \$ac_cs_recheck; then
5138 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5140 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5141 CONFIG_SHELL='$SHELL'
5147 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5151 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5152 ## Running $as_me. ##
5158 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5162 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5166 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5168 # Handling of arguments.
5169 for ac_config_target
in $ac_config_targets
5171 case $ac_config_target in
5172 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
5173 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
5174 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
5176 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5181 # If the user did not use the arguments to specify the items to instantiate,
5182 # then the envvar interface is used. Set only those that are not.
5183 # We use the long form for the default assignment because of an extremely
5184 # bizarre bug on SunOS 4.1.3.
5185 if $ac_need_defaults; then
5186 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
5187 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
5188 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
5191 # Have a temporary directory for convenience. Make it in the build tree
5192 # simply because there is no reason against having it here, and in addition,
5193 # creating and moving files from /tmp can sometimes cause problems.
5194 # Hook for its removal unless debugging.
5195 # Note that there is a small window in which the directory will not be cleaned:
5196 # after its creation but before its name has been assigned to `$tmp'.
5200 trap 'exit_status=$?
5202 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5204 trap 'as_fn_exit 1' 1 2 13 15
5206 # Create a (secure) tmp directory for tmp files.
5209 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5213 tmp
=.
/conf$$
-$RANDOM
5214 (umask 077 && mkdir
"$tmp")
5215 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
5218 # Set up the scripts for CONFIG_FILES section.
5219 # No need to generate them if there are no CONFIG_FILES.
5220 # This happens for instance with `./config.status config.h'.
5221 if test -n "$CONFIG_FILES"; then
5224 ac_cr
=`echo X | tr X '\015'`
5225 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5226 # But we know of no other shell where ac_cr would be empty at this
5227 # point, so we can use a bashism as a fallback.
5228 if test "x$ac_cr" = x
; then
5229 eval ac_cr
=\$
\'\\r
\'
5231 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5232 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5238 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5243 echo "cat >conf$$subs.awk <<_ACEOF" &&
5244 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5247 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
5248 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5250 for ac_last_try in false false false false false :; do
5251 . ./conf$$subs.sh ||
5252 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
5254 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
5255 if test $ac_delim_n = $ac_delim_num; then
5257 elif $ac_last_try; then
5258 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
5260 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
5265 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5266 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
5270 s/^/S["/; s
/!.
*/"]=/
5280 s/\(.\{148\}\)..*/\1/
5282 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
5287 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
5294 s/\(.\{148\}\)..*/\1/
5296 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
5300 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
5305 ' <conf$$subs.awk | sed '
5310 ' >>$CONFIG_STATUS || ac_write_fail=1
5311 rm -f conf$$subs.awk
5312 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5314 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
5315 for (key in S) S_is_set[key] = 1
5321 nfields = split(line, field, "@
")
5323 len = length(field[1])
5324 for (i = 2; i < nfields; i++) {
5326 keylen = length(key)
5327 if (S_is_set[key]) {
5329 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5330 len += length(value) + length(field[++i])
5341 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5342 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5343 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
5346 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
5347 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
5350 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5351 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
5352 # trailing colons and then remove the whole line if VPATH becomes empty
5353 # (actually we leave an empty line to preserve line numbers).
5354 if test "x
$srcdir" = x.; then
5355 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
5373 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5374 fi # test -n "$CONFIG_FILES"
5376 # Set up the scripts for CONFIG_HEADERS section.
5377 # No need to generate them if there are no CONFIG_HEADERS.
5378 # This happens for instance with `./config.status Makefile'.
5379 if test -n "$CONFIG_HEADERS"; then
5380 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
5384 # Transform confdefs.h into an awk script `defines.awk', embedded as
5385 # here-document in config.status, that substitutes the proper values into
5386 # config.h.in to produce config.h.
5388 # Create a delimiter string that does not exist in confdefs.h, to ease
5389 # handling of long lines.
5391 for ac_last_try in false false :; do
5392 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
5393 if test -z "$ac_tt"; then
5395 elif $ac_last_try; then
5396 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
5398 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
5402 # For the awk script, D is an array of macro values keyed by name,
5403 # likewise P contains macro parameters if any. Preserve backslash
5404 # newline sequences.
5406 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5408 s/.\{148\}/&'"$ac_delim"'/g
5411 s/^[ ]*#[ ]*define[ ][ ]*/ /
5418 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
5420 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
5424 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
5425 D["\
1"]=" \
3\\\\\\n
"\\/p
5427 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
5432 s/.\{148\}/&'"$ac_delim"'/g
5437 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
5440 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
5442 ' <confdefs.h | sed '
5443 s/'"$ac_delim"'/"\\\
5444 "/g' >>$CONFIG_STATUS || ac_write_fail=1
5446 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5447 for (key in D) D_is_set[key] = 1
5450 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
5452 split(line, arg, " ")
5453 if (arg[1] == "#") {
5457 defundef
= substr
(arg
[1], 2)
5460 split(mac1
, mac2
, "(") #)
5462 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
5463 if (D_is_set
[macro
]) {
5464 # Preserve the white space surrounding the "#".
5465 print prefix
"define", macro P
[macro
] D
[macro
]
5468 # Replace #undef with comments. This is necessary, for example,
5469 # in the case of _POSIX_SOURCE, which is predefined and required
5470 # on some systems where configure will not decide to define it.
5471 if (defundef
== "undef") {
5472 print
"/*", prefix defundef
, macro
, "*/"
5480 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5481 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
5482 fi # test -n "$CONFIG_HEADERS"
5485 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
5490 :[FHLC
]) ac_mode
=$ac_tag; continue;;
5492 case $ac_mode$ac_tag in
5494 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
5495 :[FH
]-) ac_tag
=-:-;;
5496 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
5513 -) ac_f
="$ac_tmp/stdin";;
5514 *) # Look for the file first in the build tree, then in the source tree
5515 # (if the path is not absolute). The absolute path cannot be DOS-style,
5516 # because $ac_f cannot contain `:'.
5520 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
5522 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5524 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5525 as_fn_append ac_file_inputs
" '$ac_f'"
5528 # Let's still pretend it is `configure' which instantiates (i.e., don't
5529 # use $as_me), people would be surprised to read:
5530 # /* config.h. Generated by config.status. */
5531 configure_input
='Generated from '`
5532 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5534 if test x
"$ac_file" != x-
; then
5535 configure_input
="$ac_file. $configure_input"
5536 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5537 $as_echo "$as_me: creating $ac_file" >&6;}
5539 # Neutralize special characters interpreted by sed in replacement strings.
5540 case $configure_input in #(
5541 *\
&* |
*\|
* |
*\\* )
5542 ac_sed_conf_input
=`$as_echo "$configure_input" |
5543 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5544 *) ac_sed_conf_input
=$configure_input;;
5548 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
5549 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
5554 ac_dir
=`$as_dirname -- "$ac_file" ||
5555 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5556 X"$ac_file" : 'X\(//\)[^/]' \| \
5557 X"$ac_file" : 'X\(//\)$' \| \
5558 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5559 $as_echo X"$ac_file" |
5560 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5577 as_dir
="$ac_dir"; as_fn_mkdir_p
5581 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
5583 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5584 # A ".." for each directory in $ac_dir_suffix.
5585 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5586 case $ac_top_builddir_sub in
5587 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
5588 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
5591 ac_abs_top_builddir
=$ac_pwd
5592 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
5593 # for backward compatibility:
5594 ac_top_builddir
=$ac_top_build_prefix
5597 .
) # We are building in place.
5599 ac_top_srcdir
=$ac_top_builddir_sub
5600 ac_abs_top_srcdir
=$ac_pwd ;;
5601 [\\/]* | ?
:[\\/]* ) # Absolute name.
5602 ac_srcdir
=$srcdir$ac_dir_suffix;
5603 ac_top_srcdir
=$srcdir
5604 ac_abs_top_srcdir
=$srcdir ;;
5606 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
5607 ac_top_srcdir
=$ac_top_build_prefix$srcdir
5608 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
5610 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
5620 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
5621 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
5625 [\\/$
]* | ?
:[\\/]* ) ;;
5626 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
5630 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5631 # If the template does not know about datarootdir, expand it.
5632 # FIXME: This hack should be removed a few years after 2.60.
5633 ac_datarootdir_hack
=; ac_datarootdir_seen
=
5644 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5645 *datarootdir
*) ac_datarootdir_seen
=yes;;
5646 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
5647 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5648 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5650 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5651 ac_datarootdir_hack='
5652 s&@datadir@&$datadir&g
5653 s&@docdir@&$docdir&g
5654 s&@infodir@&$infodir&g
5655 s&@localedir@&$localedir&g
5656 s&@mandir@&$mandir&g
5657 s&\\\${datarootdir}&$datarootdir&g' ;;
5661 # Neutralize VPATH when `$srcdir' = `.'.
5662 # Shell code in configure.ac might set extrasub.
5663 # FIXME: do we really want to maintain this feature?
5664 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5665 ac_sed_extra="$ac_vpsub
5668 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5670 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
5671 s|@configure_input@|
$ac_sed_conf_input|
;t t
5672 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
5673 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
5674 s
&@srcdir@
&$ac_srcdir&;t t
5675 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
5676 s
&@top_srcdir@
&$ac_top_srcdir&;t t
5677 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
5678 s
&@builddir@
&$ac_builddir&;t t
5679 s
&@abs_builddir@
&$ac_abs_builddir&;t t
5680 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
5681 s
&@INSTALL@
&$ac_INSTALL&;t t
5682 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
5683 $ac_datarootdir_hack
5685 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
5686 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
5688 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5689 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
5690 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
5691 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
5692 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
5693 which seems to be undefined. Please make sure it is defined" >&5
5694 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
5695 which seems to be undefined. Please make sure it is defined" >&2;}
5697 rm -f "$ac_tmp/stdin"
5699 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5700 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5702 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5708 if test x"$ac_file" != x-; then
5710 $as_echo "/* $configure_input */" \
5711 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
5712 } >"$ac_tmp/config.h" \
5713 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5714 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
5715 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
5716 $as_echo "$as_me: $ac_file is unchanged" >&6;}
5719 mv "$ac_tmp/config.h" "$ac_file" \
5720 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5723 $as_echo "/* $configure_input */" \
5724 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
5725 || as_fn_error $? "could not create -" "$LINENO" 5
5727 # Compute "$ac_file"'s index
in $config_headers.
5730 for _am_header
in $config_headers :; do
5732 $_am_arg |
$_am_arg:* )
5735 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
5738 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
5739 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5740 X"$_am_arg" : 'X\(//\)[^/]' \| \
5741 X"$_am_arg" : 'X\(//\)$' \| \
5742 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
5743 $as_echo X"$_am_arg" |
5744 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5760 s/.*/./; q'`/stamp-h
$_am_stamp_count
5763 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
5764 $as_echo "$as_me: executing $ac_file commands" >&6;}
5769 case $ac_file$ac_mode in
5770 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
5771 # Older Autoconf quotes --file arguments for eval, but not when files
5772 # are listed without --file. Let's play safe and only enable the eval
5773 # if we detect the quoting.
5774 case $CONFIG_FILES in
5775 *\'*) eval set x
"$CONFIG_FILES" ;;
5776 *) set x
$CONFIG_FILES ;;
5781 # Strip MF so we end up with the name of the file.
5782 mf
=`echo "$mf" | sed -e 's/:.*$//'`
5783 # Check whether this is an Automake generated Makefile or not.
5784 # We used to match only the files named 'Makefile.in', but
5785 # some people rename them; so instead we look at the file content.
5786 # Grep'ing the first line is not enough: some people post-process
5787 # each Makefile.in and add a new line on top of each file to say so.
5788 # Grep'ing the whole file is not good either: AIX grep has a line
5789 # limit of 2048, but all sed's we know have understand at least 4000.
5790 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
5791 dirpart
=`$as_dirname -- "$mf" ||
5792 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5793 X"$mf" : 'X\(//\)[^/]' \| \
5794 X"$mf" : 'X\(//\)$' \| \
5795 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
5797 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5817 # Extract the definition of DEPDIR, am__include, and am__quote
5818 # from the Makefile without running 'make'.
5819 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
5820 test -z "$DEPDIR" && continue
5821 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
5822 test -z "$am__include" && continue
5823 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
5824 # Find all dependency output files, they are included files with
5825 # $(DEPDIR) in their names. We invoke sed twice because it is the
5826 # simplest approach to changing $(DEPDIR) to its actual value in the
5828 for file in `sed -n "
5829 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
5830 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
5831 # Make sure the directory exists.
5832 test -f "$dirpart/$file" && continue
5833 fdir
=`$as_dirname -- "$file" ||
5834 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5835 X"$file" : 'X\(//\)[^/]' \| \
5836 X"$file" : 'X\(//\)$' \| \
5837 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
5839 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5856 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
5857 # echo "creating $dirpart/$file"
5858 echo '# dummy' > "$dirpart/$file"
5870 ac_clean_files
=$ac_clean_files_save
5872 test $ac_write_fail = 0 ||
5873 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
5876 # configure is writing to config.log, and then calls config.status.
5877 # config.status does its own redirection, appending to config.log.
5878 # Unfortunately, on DOS this fails, as config.log is still kept open
5879 # by configure, so config.status won't be able to write to it; its
5880 # output is simply discarded. So we exec the FD to /dev/null,
5881 # effectively closing config.log, so it can be properly (re)opened and
5882 # appended to by config.status. When coming back to configure, we
5883 # need to make the FD available again.
5884 if test "$no_create" != yes; then
5886 ac_config_status_args
=
5887 test "$silent" = yes &&
5888 ac_config_status_args
="$ac_config_status_args --quiet"
5890 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
5892 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5893 # would make configure fail if this is the last instruction.
5894 $ac_cs_success || as_fn_exit
1
5896 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
5897 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5898 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}