2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for gmp (TeX Live) 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 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev
/null
; then :
207 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
210 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
212 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
215 test -z "$as_dir" && as_dir
=.
219 for as_base
in sh bash ksh sh5
; do
220 # Try only shells that exist, to save several forks.
221 as_shell
=$as_dir/$as_base
222 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
224 CONFIG_SHELL
=$as_shell as_have_required
=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
233 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
235 CONFIG_SHELL
=$SHELL as_have_required
=yes
240 if test "x$CONFIG_SHELL" != x
; then :
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
248 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
250 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
262 if test x
$as_have_required = xno
; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x
${ZSH_VERSION+set} = xset
; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and tex-k@tug.org
270 $0: about your system, including any error possibly output
271 $0: before this message. Then install a modern shell, or
272 $0: manually run the script under such a shell if you do
279 SHELL
=${CONFIG_SHELL-/bin/sh}
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE
= GREP_OPTIONS
=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
290 # Portably unset VAR.
293 { eval $1=; unset $1;}
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
317 # Create "$as_dir" as a directory, including parents if necessary.
322 -*) as_dir
=.
/$as_dir;;
324 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
328 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
331 as_dirs
="'$as_qdir' $as_dirs"
332 as_dir
=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
355 test -d "$as_dir" && break
357 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
358 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p
()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
377 eval 'as_fn_append ()
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
401 as_val
=`expr "$@" || test $? -eq 1`
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
413 as_status
=$1; test $as_status -eq 0 && as_status
=1
415 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit
$as_status
422 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
429 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
441 as_me
=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
460 # Avoid depending upon Character Ranges.
461 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits
='0123456789'
465 as_cr_alnum
=$as_cr_Letters$as_cr_digits
468 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
469 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
488 chmod +x
"$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec
=no
; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
499 # Exit status is that of the last command.
503 ECHO_C
= ECHO_N
= ECHO_T
=
504 case `echo -n x` in #(((((
506 case `echo 'xy\c'` in
507 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
516 rm -f conf$$ conf$$.exe conf$$.
file
517 if test -d conf$$.dir
; then
518 rm -f conf$$.dir
/conf$$.
file
521 mkdir conf$$.dir
2>/dev
/null
523 if (echo >conf$$.
file) 2>/dev
/null
; then
524 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
532 elif ln conf$$.
file conf$$
2>/dev
/null
; then
540 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
541 rmdir conf$$.dir
2>/dev
/null
543 if mkdir
-p .
2>/dev
/null
; then
544 as_mkdir_p
='mkdir -p "$as_dir"'
546 test -d .
/-p && rmdir .
/-p
551 as_executable_p
=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
571 ac_default_prefix
=/usr
/local
573 ac_config_libobj_dir
=.
580 # Identity of this package.
581 PACKAGE_NAME
='gmp (TeX Live)'
582 PACKAGE_TARNAME
='gmp--tex-live-'
583 PACKAGE_VERSION
='6.1.0'
584 PACKAGE_STRING
='gmp (TeX Live) 6.1.0'
585 PACKAGE_BUGREPORT
='tex-k@tug.org'
588 ac_unique_file
="gmp-src/gmp-impl.h"
589 # Factoring default headers for most tests.
590 ac_includes_default
="\
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
602 # ifdef HAVE_STDLIB_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
625 enable_option_checking
=no
626 ac_subst_vars
='am__EXEEXT_FALSE
632 HAVE_HOST_CPU_FAMILY_powerpc
633 HAVE_HOST_CPU_FAMILY_power
673 MAINTAINER_MODE_FALSE
687 INSTALL_STRIP_PROGRAM
729 program_transform_name
742 enable_option_checking
744 enable_maintainer_mode
745 enable_dependency_tracking
746 enable_compiler_warnings
748 ac_precious_vars
='build_alias
757 ac_subdirs_all
='native'
759 # Initialize some variables set by options.
761 ac_init_version
=false
762 ac_unrecognized_opts
=
764 # The variables have the same names as the options, with
765 # dashes changed to underlines.
773 program_transform_name
=s
,x
,x
,
781 # Installation directory options.
782 # These are left unexpanded so users can "make install exec_prefix=/foo"
783 # and all the variables that are supposed to be based on exec_prefix
784 # by default will actually change.
785 # Use braces instead of parens because sh, perl, etc. also accept them.
786 # (The list follows the same order as the GNU Coding Standards.)
787 bindir
='${exec_prefix}/bin'
788 sbindir
='${exec_prefix}/sbin'
789 libexecdir
='${exec_prefix}/libexec'
790 datarootdir
='${prefix}/share'
791 datadir
='${datarootdir}'
792 sysconfdir
='${prefix}/etc'
793 sharedstatedir
='${prefix}/com'
794 localstatedir
='${prefix}/var'
795 includedir
='${prefix}/include'
796 oldincludedir
='/usr/include'
797 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
798 infodir
='${datarootdir}/info'
803 libdir
='${exec_prefix}/lib'
804 localedir
='${datarootdir}/locale'
805 mandir
='${datarootdir}/man'
811 # If the previous option needs an argument, assign it.
812 if test -n "$ac_prev"; then
813 eval $ac_prev=\
$ac_option
819 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
824 # Accept the important Cygnus configure options, so we can diagnose typos.
826 case $ac_dashdash$ac_option in
830 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
832 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
835 -build |
--build |
--buil |
--bui |
--bu)
836 ac_prev
=build_alias
;;
837 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
838 build_alias
=$ac_optarg ;;
840 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
841 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
842 ac_prev
=cache_file
;;
843 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
844 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
845 cache_file
=$ac_optarg ;;
848 cache_file
=config.cache
;;
850 -datadir |
--datadir |
--datadi |
--datad)
852 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
853 datadir
=$ac_optarg ;;
855 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
856 |
--dataroo |
--dataro |
--datar)
857 ac_prev
=datarootdir
;;
858 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
859 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
860 datarootdir
=$ac_optarg ;;
862 -disable-* |
--disable-*)
863 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
864 # Reject names that are not valid shell variable names.
865 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
866 as_fn_error $?
"invalid feature name: $ac_useropt"
867 ac_useropt_orig
=$ac_useropt
868 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
869 case $ac_user_opts in
873 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
874 ac_unrecognized_sep
=', ';;
876 eval enable_
$ac_useropt=no
;;
878 -docdir |
--docdir |
--docdi |
--doc |
--do)
880 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
883 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
885 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
888 -enable-* |
--enable-*)
889 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
890 # Reject names that are not valid shell variable names.
891 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
892 as_fn_error $?
"invalid feature name: $ac_useropt"
893 ac_useropt_orig
=$ac_useropt
894 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
895 case $ac_user_opts in
899 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
900 ac_unrecognized_sep
=', ';;
902 eval enable_
$ac_useropt=\
$ac_optarg ;;
904 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
905 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
906 |
--exec |
--exe |
--ex)
907 ac_prev
=exec_prefix
;;
908 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
909 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
910 |
--exec=* |
--exe=* |
--ex=*)
911 exec_prefix
=$ac_optarg ;;
913 -gas |
--gas |
--ga |
--g)
914 # Obsolete; use --with-gas.
917 -help |
--help |
--hel |
--he |
-h)
919 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
920 ac_init_help
=recursive
;;
921 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
922 ac_init_help
=short
;;
924 -host |
--host |
--hos |
--ho)
925 ac_prev
=host_alias
;;
926 -host=* |
--host=* |
--hos=* |
--ho=*)
927 host_alias
=$ac_optarg ;;
929 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
931 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
933 htmldir
=$ac_optarg ;;
935 -includedir |
--includedir |
--includedi |
--included |
--include \
936 |
--includ |
--inclu |
--incl |
--inc)
937 ac_prev
=includedir
;;
938 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
939 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
940 includedir
=$ac_optarg ;;
942 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
944 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
945 infodir
=$ac_optarg ;;
947 -libdir |
--libdir |
--libdi |
--libd)
949 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
952 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
953 |
--libexe |
--libex |
--libe)
954 ac_prev
=libexecdir
;;
955 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
956 |
--libexe=* |
--libex=* |
--libe=*)
957 libexecdir
=$ac_optarg ;;
959 -localedir |
--localedir |
--localedi |
--localed |
--locale)
961 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
962 localedir
=$ac_optarg ;;
964 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
965 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
966 ac_prev
=localstatedir
;;
967 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
968 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
969 localstatedir
=$ac_optarg ;;
971 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
973 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
977 # Obsolete; use --without-fp.
980 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
981 |
--no-cr |
--no-c |
-n)
984 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
985 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
988 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
989 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
990 |
--oldin |
--oldi |
--old |
--ol |
--o)
991 ac_prev
=oldincludedir
;;
992 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
993 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
994 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
995 oldincludedir
=$ac_optarg ;;
997 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
999 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1000 prefix
=$ac_optarg ;;
1002 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1003 |
--program-pre |
--program-pr |
--program-p)
1004 ac_prev
=program_prefix
;;
1005 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1006 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1007 program_prefix
=$ac_optarg ;;
1009 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1010 |
--program-suf |
--program-su |
--program-s)
1011 ac_prev
=program_suffix
;;
1012 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1013 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1014 program_suffix
=$ac_optarg ;;
1016 -program-transform-name |
--program-transform-name \
1017 |
--program-transform-nam |
--program-transform-na \
1018 |
--program-transform-n |
--program-transform- \
1019 |
--program-transform |
--program-transfor \
1020 |
--program-transfo |
--program-transf \
1021 |
--program-trans |
--program-tran \
1022 |
--progr-tra |
--program-tr |
--program-t)
1023 ac_prev
=program_transform_name
;;
1024 -program-transform-name=* |
--program-transform-name=* \
1025 |
--program-transform-nam=* |
--program-transform-na=* \
1026 |
--program-transform-n=* |
--program-transform-=* \
1027 |
--program-transform=* |
--program-transfor=* \
1028 |
--program-transfo=* |
--program-transf=* \
1029 |
--program-trans=* |
--program-tran=* \
1030 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1031 program_transform_name
=$ac_optarg ;;
1033 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1035 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1036 pdfdir
=$ac_optarg ;;
1038 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1040 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1043 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1044 |
-silent |
--silent |
--silen |
--sile |
--sil)
1047 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1049 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1051 sbindir
=$ac_optarg ;;
1053 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1054 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1055 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1057 ac_prev
=sharedstatedir
;;
1058 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1059 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1060 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1062 sharedstatedir
=$ac_optarg ;;
1064 -site |
--site |
--sit)
1066 -site=* |
--site=* |
--sit=*)
1069 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1071 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1072 srcdir
=$ac_optarg ;;
1074 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1075 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1076 ac_prev
=sysconfdir
;;
1077 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1078 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1079 sysconfdir
=$ac_optarg ;;
1081 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1082 ac_prev
=target_alias
;;
1083 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1084 target_alias
=$ac_optarg ;;
1086 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1089 -version |
--version |
--versio |
--versi |
--vers |
-V)
1090 ac_init_version
=: ;;
1093 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1094 # Reject names that are not valid shell variable names.
1095 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1096 as_fn_error $?
"invalid package name: $ac_useropt"
1097 ac_useropt_orig
=$ac_useropt
1098 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1099 case $ac_user_opts in
1103 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1104 ac_unrecognized_sep
=', ';;
1106 eval with_
$ac_useropt=\
$ac_optarg ;;
1108 -without-* |
--without-*)
1109 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1110 # Reject names that are not valid shell variable names.
1111 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1112 as_fn_error $?
"invalid package name: $ac_useropt"
1113 ac_useropt_orig
=$ac_useropt
1114 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1115 case $ac_user_opts in
1119 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1120 ac_unrecognized_sep
=', ';;
1122 eval with_
$ac_useropt=no
;;
1125 # Obsolete; use --with-x.
1128 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1129 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1130 ac_prev
=x_includes
;;
1131 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1132 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1133 x_includes
=$ac_optarg ;;
1135 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1136 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1137 ac_prev
=x_libraries
;;
1138 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1139 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1140 x_libraries
=$ac_optarg ;;
1142 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1143 Try \`$0 --help' for more information"
1147 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1148 # Reject names that are not valid shell variable names.
1149 case $ac_envvar in #(
1150 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1151 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1153 eval $ac_envvar=\
$ac_optarg
1154 export $ac_envvar ;;
1157 # FIXME: should be removed in autoconf 3.0.
1158 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1159 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1160 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1161 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1167 if test -n "$ac_prev"; then
1168 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1169 as_fn_error $?
"missing argument to $ac_option"
1172 if test -n "$ac_unrecognized_opts"; then
1173 case $enable_option_checking in
1175 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1176 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1180 # Check all directory arguments for consistency.
1181 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1182 datadir sysconfdir sharedstatedir localstatedir includedir \
1183 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1184 libdir localedir mandir
1186 eval ac_val
=\$
$ac_var
1187 # Remove trailing slashes.
1190 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1191 eval $ac_var=\
$ac_val;;
1193 # Be sure to have absolute directory names.
1195 [\\/$
]* | ?
:[\\/]* ) continue;;
1196 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1198 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1201 # There might be people who depend on the old broken behavior: `$host'
1202 # used to hold the argument of --host etc.
1203 # FIXME: To remove some day.
1206 target
=$target_alias
1208 # FIXME: To remove some day.
1209 if test "x$host_alias" != x
; then
1210 if test "x$build_alias" = x
; then
1211 cross_compiling
=maybe
1212 elif test "x$build_alias" != "x$host_alias"; then
1218 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1220 test "$silent" = yes && exec 6>/dev
/null
1223 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1224 ac_ls_di
=`ls -di .` &&
1225 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1226 as_fn_error $?
"working directory cannot be determined"
1227 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1228 as_fn_error $?
"pwd does not report name of working directory"
1231 # Find the source files, if location was not specified.
1232 if test -z "$srcdir"; then
1233 ac_srcdir_defaulted
=yes
1234 # Try the directory containing this script, then the parent directory.
1235 ac_confdir
=`$as_dirname -- "$as_myself" ||
1236 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1237 X"$as_myself" : 'X\(//\)[^/]' \| \
1238 X"$as_myself" : 'X\(//\)$' \| \
1239 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1240 $as_echo X"$as_myself" |
1241 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1259 if test ! -r "$srcdir/$ac_unique_file"; then
1263 ac_srcdir_defaulted
=no
1265 if test ! -r "$srcdir/$ac_unique_file"; then
1266 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1267 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1269 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1271 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1273 # When building in place, set srcdir=.
1274 if test "$ac_abs_confdir" = "$ac_pwd"; then
1277 # Remove unnecessary trailing slashes from srcdir.
1278 # Double slashes in file names in object file debugging info
1279 # mess up M-x gdb in Emacs.
1281 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1283 for ac_var
in $ac_precious_vars; do
1284 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1285 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1286 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1287 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1291 # Report the --help message.
1293 if test "$ac_init_help" = "long"; then
1294 # Omit some internal or obsolete options to make the list less imposing.
1295 # This message is too long to be a string in the A/UX 3.1 sh.
1297 \`configure' configures gmp (TeX Live) 6.1.0 to adapt to many kinds of systems.
1299 Usage: $0 [OPTION]... [VAR=VALUE]...
1301 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1302 VAR=VALUE. See below for descriptions of some of the useful variables.
1304 Defaults for the options are specified in brackets.
1307 -h, --help display this help and exit
1308 --help=short display options specific to this package
1309 --help=recursive display the short help of all the included packages
1310 -V, --version display version information and exit
1311 -q, --quiet, --silent do not print \`checking ...' messages
1312 --cache-file=FILE cache test results in FILE [disabled]
1313 -C, --config-cache alias for \`--cache-file=config.cache'
1314 -n, --no-create do not create output files
1315 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1317 Installation directories:
1318 --prefix=PREFIX install architecture-independent files in PREFIX
1319 [$ac_default_prefix]
1320 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1323 By default, \`make install' will install all the files in
1324 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1325 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1326 for instance \`--prefix=\$HOME'.
1328 For better control, use the options below.
1330 Fine tuning of the installation directories:
1331 --bindir=DIR user executables [EPREFIX/bin]
1332 --sbindir=DIR system admin executables [EPREFIX/sbin]
1333 --libexecdir=DIR program executables [EPREFIX/libexec]
1334 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1335 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1336 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1337 --libdir=DIR object code libraries [EPREFIX/lib]
1338 --includedir=DIR C header files [PREFIX/include]
1339 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1340 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1341 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1342 --infodir=DIR info documentation [DATAROOTDIR/info]
1343 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1344 --mandir=DIR man documentation [DATAROOTDIR/man]
1345 --docdir=DIR documentation root [DATAROOTDIR/doc/gmp--tex-live-]
1346 --htmldir=DIR html documentation [DOCDIR]
1347 --dvidir=DIR dvi documentation [DOCDIR]
1348 --pdfdir=DIR pdf documentation [DOCDIR]
1349 --psdir=DIR ps documentation [DOCDIR]
1355 --program-prefix=PREFIX prepend PREFIX to installed program names
1356 --program-suffix=SUFFIX append SUFFIX to installed program names
1357 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1360 --build=BUILD configure
for building on BUILD
[guessed
]
1361 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1365 if test -n "$ac_init_help"; then
1366 case $ac_init_help in
1367 short | recursive
) echo "Configuration of gmp (TeX Live) 6.1.0:";;
1372 --disable-option-checking ignore unrecognized
--enable/--with options
1373 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1374 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1375 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1376 --disable-silent-rules verbose build output
(undo
: "make V=0")
1377 --enable-maintainer-mode
1378 enable make rules and dependencies not useful
(and
1379 sometimes confusing
) to the casual installer
1380 --enable-dependency-tracking
1381 do not reject slow dependency extractors
1382 --disable-dependency-tracking
1383 speeds up one-time build
1384 --enable-compiler-warnings=[no|min|
yes|max|all
]
1385 Turn on compiler warnings
[default
: yes if
1386 maintainer-mode
, min otherwise
]
1388 Some influential environment variables
:
1389 CC C compiler
command
1390 CFLAGS C compiler flags
1391 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1392 nonstandard directory
<lib dir
>
1393 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1394 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1395 you have headers
in a nonstandard directory
<include dir
>
1398 Use these variables to override the choices made by
`configure' or to help
1399 it to find libraries and programs with nonstandard names/locations.
1401 Report bugs to <tex-k@tug.org>.
1406 if test "$ac_init_help" = "recursive"; then
1407 # If there are subdirs, report their specific --help.
1408 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1409 test -d "$ac_dir" ||
1410 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1415 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1417 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1418 # A ".." for each directory in $ac_dir_suffix.
1419 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1420 case $ac_top_builddir_sub in
1421 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1422 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1425 ac_abs_top_builddir=$ac_pwd
1426 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1427 # for backward compatibility:
1428 ac_top_builddir=$ac_top_build_prefix
1431 .) # We are building in place.
1433 ac_top_srcdir=$ac_top_builddir_sub
1434 ac_abs_top_srcdir=$ac_pwd ;;
1435 [\\/]* | ?:[\\/]* ) # Absolute name.
1436 ac_srcdir=$srcdir$ac_dir_suffix;
1437 ac_top_srcdir=$srcdir
1438 ac_abs_top_srcdir=$srcdir ;;
1440 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1441 ac_top_srcdir=$ac_top_build_prefix$srcdir
1442 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1444 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1446 cd "$ac_dir" || { ac_status=$?; continue; }
1447 # Check for guested configure.
1448 if test -f "$ac_srcdir/configure.gnu"; then
1450 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1451 elif test -f "$ac_srcdir/configure"; then
1453 $SHELL "$ac_srcdir/configure" --help=recursive
1455 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1457 cd "$ac_pwd" || { ac_status=$?; break; }
1461 test -n "$ac_init_help" && exit $ac_status
1462 if $ac_init_version; then
1464 gmp (TeX Live) configure 6.1.0
1465 generated by GNU Autoconf 2.69
1467 Copyright (C) 2012 Free Software Foundation, Inc.
1468 This configure script is free software; the Free Software Foundation
1469 gives unlimited permission to copy, distribute and modify it.
1474 ## ------------------------ ##
1475 ## Autoconf initialization. ##
1476 ## ------------------------ ##
1478 # ac_fn_c_try_compile LINENO
1479 # --------------------------
1480 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1481 ac_fn_c_try_compile ()
1483 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1484 rm -f conftest.$ac_objext
1485 if { { ac_try="$ac_compile"
1487 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1488 *) ac_try_echo
=$ac_try;;
1490 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1491 $as_echo "$ac_try_echo"; } >&5
1492 (eval "$ac_compile") 2>conftest.err
1494 if test -s conftest.err
; then
1495 grep -v '^ *+' conftest.err
>conftest.er1
1496 cat conftest.er1
>&5
1497 mv -f conftest.er1 conftest.err
1499 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1500 test $ac_status = 0; } && {
1501 test -z "$ac_c_werror_flag" ||
1502 test ! -s conftest.err
1503 } && test -s conftest.
$ac_objext; then :
1506 $as_echo "$as_me: failed program was:" >&5
1507 sed 's/^/| /' conftest.
$ac_ext >&5
1511 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1512 as_fn_set_status
$ac_retval
1514 } # ac_fn_c_try_compile
1516 # ac_fn_c_try_link LINENO
1517 # -----------------------
1518 # Try to link conftest.$ac_ext, and return whether this succeeded.
1521 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1522 rm -f conftest.
$ac_objext conftest
$ac_exeext
1523 if { { ac_try
="$ac_link"
1525 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1526 *) ac_try_echo=$ac_try;;
1528 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1529 $as_echo "$ac_try_echo"; } >&5
1530 (eval "$ac_link") 2>conftest.err
1532 if test -s conftest.err; then
1533 grep -v '^ *+' conftest.err >conftest.er1
1534 cat conftest.er1 >&5
1535 mv -f conftest.er1 conftest.err
1537 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1538 test $ac_status = 0; } && {
1539 test -z "$ac_c_werror_flag" ||
1540 test ! -s conftest.err
1541 } && test -s conftest$ac_exeext && {
1542 test "$cross_compiling" = yes ||
1543 test -x conftest$ac_exeext
1547 $as_echo "$as_me: failed program was:" >&5
1548 sed 's/^/| /' conftest.$ac_ext >&5
1552 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1553 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1554 # interfere with the next link command; also delete a directory that is
1555 # left behind by Apple's compiler. We do this before executing the actions.
1556 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1557 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1558 as_fn_set_status $ac_retval
1560 } # ac_fn_c_try_link
1562 # ac_fn_c_check_func LINENO FUNC VAR
1563 # ----------------------------------
1564 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1565 ac_fn_c_check_func ()
1567 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1569 $as_echo_n "checking for $2... " >&6; }
1570 if eval \${$3+:} false; then :
1571 $as_echo_n "(cached) " >&6
1573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1574 /* end confdefs.h. */
1575 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1576 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1577 #define $2 innocuous_$2
1579 /* System header to define __stub macros and hopefully few prototypes,
1580 which can conflict with char $2 (); below.
1581 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1582 <limits.h> exists even on freestanding compilers. */
1585 # include <limits.h>
1587 # include <assert.h>
1592 /* Override any GCC internal prototype to avoid an error.
1593 Use char because int might match the return type of a GCC
1594 builtin and then its argument prototype would still apply. */
1599 /* The GNU C library defines this for functions which it implements
1600 to always fail with ENOSYS. Some functions are actually named
1601 something starting with __ and the normal name is an alias. */
1602 #if defined __stub_$2 || defined __stub___$2
1614 if ac_fn_c_try_link "$LINENO"; then :
1619 rm -f core conftest.err conftest.$ac_objext \
1620 conftest$ac_exeext conftest.$ac_ext
1623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1624 $as_echo "$ac_res" >&6; }
1625 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1627 } # ac_fn_c_check_func
1629 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1630 # -------------------------------------------
1631 # Tests whether TYPE exists after having included INCLUDES, setting cache
1632 # variable VAR accordingly.
1633 ac_fn_c_check_type ()
1635 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1637 $as_echo_n "checking for $2... " >&6; }
1638 if eval \${$3+:} false; then :
1639 $as_echo_n "(cached) " >&6
1642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1643 /* end confdefs.h. */
1654 if ac_fn_c_try_compile "$LINENO"; then :
1655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1656 /* end confdefs.h. */
1667 if ac_fn_c_try_compile "$LINENO"; then :
1672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1678 $as_echo "$ac_res" >&6; }
1679 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1681 } # ac_fn_c_check_type
1683 # ac_fn_c_try_cpp LINENO
1684 # ----------------------
1685 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1688 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1689 if { { ac_try="$ac_cpp conftest.$ac_ext"
1691 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1692 *) ac_try_echo
=$ac_try;;
1694 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1695 $as_echo "$ac_try_echo"; } >&5
1696 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1698 if test -s conftest.err
; then
1699 grep -v '^ *+' conftest.err
>conftest.er1
1700 cat conftest.er1
>&5
1701 mv -f conftest.er1 conftest.err
1703 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1704 test $ac_status = 0; } > conftest.i
&& {
1705 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1706 test ! -s conftest.err
1710 $as_echo "$as_me: failed program was:" >&5
1711 sed 's/^/| /' conftest.
$ac_ext >&5
1715 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1716 as_fn_set_status
$ac_retval
1720 # ac_fn_c_try_run LINENO
1721 # ----------------------
1722 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1723 # that executables *can* be run.
1726 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1727 if { { ac_try
="$ac_link"
1729 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1730 *) ac_try_echo=$ac_try;;
1732 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1733 $as_echo "$ac_try_echo"; } >&5
1734 (eval "$ac_link") 2>&5
1736 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1737 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1738 { { case "(($ac_try" in
1739 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1740 *) ac_try_echo
=$ac_try;;
1742 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1743 $as_echo "$ac_try_echo"; } >&5
1744 (eval "$ac_try") 2>&5
1746 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1747 test $ac_status = 0; }; }; then :
1750 $as_echo "$as_me: program exited with status $ac_status" >&5
1751 $as_echo "$as_me: failed program was:" >&5
1752 sed 's/^/| /' conftest.
$ac_ext >&5
1754 ac_retval
=$ac_status
1756 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1757 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1758 as_fn_set_status
$ac_retval
1762 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1763 # -------------------------------------------------------
1764 # Tests whether HEADER exists and can be compiled using the include files in
1765 # INCLUDES, setting the cache variable VAR accordingly.
1766 ac_fn_c_check_header_compile
()
1768 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1770 $as_echo_n "checking for $2... " >&6; }
1771 if eval \
${$3+:} false
; then :
1772 $as_echo_n "(cached) " >&6
1774 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1775 /* end confdefs.h. */
1779 if ac_fn_c_try_compile
"$LINENO"; then :
1784 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1788 $as_echo "$ac_res" >&6; }
1789 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1791 } # ac_fn_c_check_header_compile
1793 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1794 # --------------------------------------------
1795 # Tries to find the compile-time value of EXPR in a program that includes
1796 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1798 ac_fn_c_compute_int
()
1800 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1801 if test "$cross_compiling" = yes; then
1802 # Depending upon the size, compute the lo and hi bounds.
1803 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1804 /* end confdefs.h. */
1809 static int test_array [1 - 2 * !(($2) >= 0)];
1811 return test_array [0];
1817 if ac_fn_c_try_compile
"$LINENO"; then :
1820 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1821 /* end confdefs.h. */
1826 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1828 return test_array [0];
1834 if ac_fn_c_try_compile
"$LINENO"; then :
1835 ac_hi
=$ac_mid; break
1837 as_fn_arith
$ac_mid + 1 && ac_lo
=$as_val
1838 if test $ac_lo -le $ac_mid; then
1842 as_fn_arith
2 '*' $ac_mid + 1 && ac_mid
=$as_val
1844 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1847 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1848 /* end confdefs.h. */
1853 static int test_array [1 - 2 * !(($2) < 0)];
1855 return test_array [0];
1861 if ac_fn_c_try_compile
"$LINENO"; then :
1864 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1865 /* end confdefs.h. */
1870 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1872 return test_array [0];
1878 if ac_fn_c_try_compile
"$LINENO"; then :
1879 ac_lo
=$ac_mid; break
1881 as_fn_arith
'(' $ac_mid ')' - 1 && ac_hi
=$as_val
1882 if test $ac_mid -le $ac_hi; then
1886 as_fn_arith
2 '*' $ac_mid && ac_mid
=$as_val
1888 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1893 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1895 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1896 # Binary search between lo and hi bounds.
1897 while test "x$ac_lo" != "x$ac_hi"; do
1898 as_fn_arith
'(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid
=$as_val
1899 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1900 /* end confdefs.h. */
1905 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1907 return test_array [0];
1913 if ac_fn_c_try_compile
"$LINENO"; then :
1916 as_fn_arith
'(' $ac_mid ')' + 1 && ac_lo
=$as_val
1918 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1921 ?
*) eval "$3=\$ac_lo"; ac_retval
=0 ;;
1925 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1926 /* end confdefs.h. */
1928 static long int longval () { return $2; }
1929 static unsigned long int ulongval () { return $2; }
1936 FILE *f = fopen ("conftest.val", "w");
1941 long int i = longval ();
1944 fprintf (f, "%ld", i);
1948 unsigned long int i = ulongval ();
1951 fprintf (f, "%lu", i);
1953 /* Do not output a trailing newline, as this causes \r\n confusion
1954 on some platforms. */
1955 return ferror (f) || fclose (f) != 0;
1961 if ac_fn_c_try_run
"$LINENO"; then :
1962 echo >>conftest.val
; read $3 <conftest.val
; ac_retval
=0
1966 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
1967 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
1971 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1972 as_fn_set_status
$ac_retval
1974 } # ac_fn_c_compute_int
1975 cat >config.log
<<_ACEOF
1976 This file contains any messages produced by compilers while
1977 running configure, to aid debugging if configure makes a mistake.
1979 It was created by gmp (TeX Live) $as_me 6.1.0, which was
1980 generated by GNU Autoconf 2.69. Invocation command line was
1992 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1993 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1994 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1995 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1996 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1998 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1999 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2001 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2002 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2003 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2004 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2005 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2006 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2007 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2011 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2015 test -z "$as_dir" && as_dir
=.
2016 $as_echo "PATH: $as_dir"
2032 # Keep a trace of the command line.
2033 # Strip out --no-create and --no-recursion so they do not pile up.
2034 # Strip out --silent because we don't want to record it for future runs.
2035 # Also quote any args containing shell meta-characters.
2036 # Make two passes to allow for proper duplicate-argument suppression.
2040 ac_must_keep_next
=false
2046 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2047 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2048 |
-silent |
--silent |
--silen |
--sile |
--sil)
2051 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2054 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2056 as_fn_append ac_configure_args1
" '$ac_arg'"
2057 if test $ac_must_keep_next = true
; then
2058 ac_must_keep_next
=false
# Got value, back to normal.
2061 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2062 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2063 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2064 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2065 case "$ac_configure_args0 " in
2066 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2069 -* ) ac_must_keep_next
=true
;;
2072 as_fn_append ac_configure_args
" '$ac_arg'"
2077 { ac_configure_args0
=; unset ac_configure_args0
;}
2078 { ac_configure_args1
=; unset ac_configure_args1
;}
2080 # When interrupted or exit'd, cleanup temporary files, and complete
2081 # config.log. We remove comments because anyway the quotes in there
2082 # would cause problems or look ugly.
2083 # WARNING: Use '\'' to represent an apostrophe within the trap.
2084 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2085 trap 'exit_status=$?
2086 # Save into config.log some information that might help in debugging.
2090 $as_echo "## ---------------- ##
2091 ## Cache variables. ##
2092 ## ---------------- ##"
2094 # The following way of writing the cache mishandles newlines in values,
2096 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2097 eval ac_val=\$$ac_var
2101 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2102 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2105 _ | IFS | as_nl) ;; #(
2106 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2107 *) { eval $ac_var=; unset $ac_var;} ;;
2112 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2113 *${as_nl}ac_space=\ *)
2115 "s/'\''/'\''\\\\'\'''\''/g;
2116 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2119 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2126 $as_echo "## ----------------- ##
2127 ## Output variables. ##
2128 ## ----------------- ##"
2130 for ac_var in $ac_subst_vars
2132 eval ac_val=\$$ac_var
2134 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2136 $as_echo "$ac_var='\''$ac_val'\''"
2140 if test -n "$ac_subst_files"; then
2141 $as_echo "## ------------------- ##
2142 ## File substitutions. ##
2143 ## ------------------- ##"
2145 for ac_var
in $ac_subst_files
2147 eval ac_val
=\$
$ac_var
2149 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2151 $as_echo "$ac_var='\''$ac_val'\''"
2156 if test -s confdefs.h; then
2157 $as_echo "## ----------- ##
2164 test "$ac_signal" != 0 &&
2165 $as_echo "$as_me: caught signal $ac_signal"
2166 $as_echo "$as_me: exit $exit_status"
2168 rm -f core *.core core.conftest.* &&
2169 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2172 for ac_signal
in 1 2 13 15; do
2173 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2177 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2178 rm -f -r conftest
* confdefs.h
2180 $as_echo "/* confdefs.h */" > confdefs.h
2182 # Predefined preprocessor variables.
2184 cat >>confdefs.h
<<_ACEOF
2185 #define PACKAGE_NAME "$PACKAGE_NAME"
2188 cat >>confdefs.h
<<_ACEOF
2189 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2192 cat >>confdefs.h
<<_ACEOF
2193 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2196 cat >>confdefs.h
<<_ACEOF
2197 #define PACKAGE_STRING "$PACKAGE_STRING"
2200 cat >>confdefs.h
<<_ACEOF
2201 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2204 cat >>confdefs.h
<<_ACEOF
2205 #define PACKAGE_URL "$PACKAGE_URL"
2209 # Let the site file select an alternate cache file if it wants to.
2210 # Prefer an explicitly selected file to automatically selected ones.
2213 if test -n "$CONFIG_SITE"; then
2214 # We do not want a PATH search for config.site.
2215 case $CONFIG_SITE in #((
2216 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2217 */*) ac_site_file1
=$CONFIG_SITE;;
2218 *) ac_site_file1
=.
/$CONFIG_SITE;;
2220 elif test "x$prefix" != xNONE
; then
2221 ac_site_file1
=$prefix/share
/config.site
2222 ac_site_file2
=$prefix/etc
/config.site
2224 ac_site_file1
=$ac_default_prefix/share
/config.site
2225 ac_site_file2
=$ac_default_prefix/etc
/config.site
2227 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2229 test "x$ac_site_file" = xNONE
&& continue
2230 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2231 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2232 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2233 sed 's/^/| /' "$ac_site_file" >&5
2235 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2236 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2237 as_fn_error $?
"failed to load site script $ac_site_file
2238 See \`config.log' for more details" "$LINENO" 5; }
2242 if test -r "$cache_file"; then
2243 # Some versions of bash will fail to source /dev/null (special files
2244 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2245 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2246 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2247 $as_echo "$as_me: loading cache $cache_file" >&6;}
2249 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2250 *) .
"./$cache_file";;
2254 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2255 $as_echo "$as_me: creating cache $cache_file" >&6;}
2259 # Check that the precious variables saved in the cache have kept the same
2261 ac_cache_corrupted
=false
2262 for ac_var
in $ac_precious_vars; do
2263 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2264 eval ac_new_set
=\
$ac_env_${ac_var}_set
2265 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2266 eval ac_new_val
=\
$ac_env_${ac_var}_value
2267 case $ac_old_set,$ac_new_set in
2269 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2270 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2271 ac_cache_corrupted
=: ;;
2273 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2274 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2275 ac_cache_corrupted
=: ;;
2278 if test "x$ac_old_val" != "x$ac_new_val"; then
2279 # differences in whitespace do not lead to failure.
2280 ac_old_val_w
=`echo x $ac_old_val`
2281 ac_new_val_w
=`echo x $ac_new_val`
2282 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2283 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2284 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2285 ac_cache_corrupted
=:
2287 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2288 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2289 eval $ac_var=\
$ac_old_val
2291 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2292 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2293 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2294 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2297 # Pass precious variables to config.status.
2298 if test "$ac_new_set" = set; then
2300 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2301 *) ac_arg
=$ac_var=$ac_new_val ;;
2303 case " $ac_configure_args " in
2304 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2305 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2309 if $ac_cache_corrupted; then
2310 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2311 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2312 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2313 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2314 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2316 ## -------------------- ##
2317 ## Main body of script. ##
2318 ## -------------------- ##
2321 ac_cpp
='$CPP $CPPFLAGS'
2322 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2323 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2324 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2330 for ac_dir
in ..
/..
/build-aux
"$srcdir"/..
/..
/build-aux
; do
2331 if test -f "$ac_dir/install-sh"; then
2333 ac_install_sh
="$ac_aux_dir/install-sh -c"
2335 elif test -f "$ac_dir/install.sh"; then
2337 ac_install_sh
="$ac_aux_dir/install.sh -c"
2339 elif test -f "$ac_dir/shtool"; then
2341 ac_install_sh
="$ac_aux_dir/shtool install -c"
2345 if test -z "$ac_aux_dir"; then
2346 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in ../../build-aux \"$srcdir\"/../../build-aux" "$LINENO" 5
2349 # These three variables are undocumented and unsupported,
2350 # and are intended to be withdrawn in a future Autoconf release.
2351 # They can cause serious problems if a builder's source tree is in a directory
2352 # whose full name contains unusual characters.
2353 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2354 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2355 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2360 am__api_version
='1.15'
2362 # Find a good install program. We prefer a C program (faster),
2363 # so one script is as good as another. But avoid the broken or
2364 # incompatible versions:
2365 # SysV /etc/install, /usr/sbin/install
2366 # SunOS /usr/etc/install
2367 # IRIX /sbin/install
2369 # AmigaOS /C/install, which installs bootblocks on floppy discs
2370 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2371 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2372 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2373 # OS/2's system install, which has a completely different semantic
2374 # ./install, which can be erroneously created by make from ./install.sh.
2375 # Reject install programs that cannot install multiple files.
2376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2377 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2378 if test -z "$INSTALL"; then
2379 if ${ac_cv_path_install+:} false
; then :
2380 $as_echo_n "(cached) " >&6
2382 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2386 test -z "$as_dir" && as_dir
=.
2387 # Account for people who put trailing slashes in PATH elements.
2388 case $as_dir/ in #((
2389 .
/ | .
// |
/[cC
]/* | \
2390 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2391 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2394 # OSF1 and SCO ODT 3.0 have their own names for install.
2395 # Don't use installbsd from OSF since it installs stuff as root
2397 for ac_prog
in ginstall scoinst
install; do
2398 for ac_exec_ext
in '' $ac_executable_extensions; do
2399 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
2400 if test $ac_prog = install &&
2401 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2402 # AIX install. It has an incompatible calling convention.
2404 elif test $ac_prog = install &&
2405 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2406 # program-specific install script used by HP pwplus--don't use.
2409 rm -rf conftest.one conftest.two conftest.dir
2410 echo one
> conftest.one
2411 echo two
> conftest.two
2413 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2414 test -s conftest.one
&& test -s conftest.two
&&
2415 test -s conftest.dir
/conftest.one
&&
2416 test -s conftest.dir
/conftest.two
2418 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2431 rm -rf conftest.one conftest.two conftest.dir
2434 if test "${ac_cv_path_install+set}" = set; then
2435 INSTALL
=$ac_cv_path_install
2437 # As a last resort, use the slow shell script. Don't cache a
2438 # value for INSTALL within a source directory, because that will
2439 # break other packages using the cache if that directory is
2440 # removed, or if the value is a relative name.
2441 INSTALL
=$ac_install_sh
2444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2445 $as_echo "$INSTALL" >&6; }
2447 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2448 # It thinks the first close brace ends the variable substitution.
2449 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2451 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2453 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2456 $as_echo_n "checking whether build environment is sane... " >&6; }
2457 # Reject unsafe characters in $srcdir or the absolute working directory
2458 # name. Accept space and tab only in the latter.
2462 *[\\\"\
#\$\&\'\`$am_lf]*)
2463 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2466 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2467 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2470 # Do 'set' in a subshell so we don't clobber the current shell's
2471 # arguments. Must try -L first in case configure is actually a
2472 # symlink; some systems play weird games with the mod time of symlinks
2473 # (eg FreeBSD returns the mod time of the symlink's containing
2477 for am_try
in 1 2; do
2478 echo "timestamp, slept: $am_has_slept" > conftest.
file
2479 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2480 if test "$*" = "X"; then
2482 set X
`ls -t "$srcdir/configure" conftest.file`
2484 if test "$*" != "X $srcdir/configure conftest.file" \
2485 && test "$*" != "X conftest.file $srcdir/configure"; then
2487 # If neither matched, then we have a broken ls. This can happen
2488 # if, for instance, CONFIG_SHELL is bash and it inherits a
2489 # broken ls alias from the environment. This has actually
2490 # happened. Such a system could not be considered "sane".
2491 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2492 alias in your environment" "$LINENO" 5
2494 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
2501 test "$2" = conftest.
file
2507 as_fn_error $?
"newly created file is older than distributed files!
2508 Check your system clock" "$LINENO" 5
2510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2511 $as_echo "yes" >&6; }
2512 # If we didn't sleep, we still need to ensure time stamps of config.status and
2513 # generated files are strictly newer.
2515 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
2522 test "$program_prefix" != NONE
&&
2523 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2524 # Use a double $ so make ignores it.
2525 test "$program_suffix" != NONE
&&
2526 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2527 # Double any \ or $.
2528 # By default was `s,x,x', remove it if useless.
2529 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2530 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2532 # Expand $ac_aux_dir to an absolute path.
2533 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
2535 if test x
"${MISSING+set}" != xset
; then
2538 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2540 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2543 # Use eval to expand $SHELL
2544 if eval "$MISSING --is-lightweight"; then
2545 am_missing_run
="$MISSING "
2548 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2549 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2552 if test x
"${install_sh+set}" != xset
; then
2555 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2557 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2561 # Installed binaries are usually stripped using 'strip' when the user
2562 # run "make install-strip". However 'strip' might not be the right
2563 # tool to use in cross-compilation environments, therefore Automake
2564 # will honor the 'STRIP' environment variable to overrule this program.
2565 if test "$cross_compiling" != no
; then
2566 if test -n "$ac_tool_prefix"; then
2567 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2568 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2570 $as_echo_n "checking for $ac_word... " >&6; }
2571 if ${ac_cv_prog_STRIP+:} false
; then :
2572 $as_echo_n "(cached) " >&6
2574 if test -n "$STRIP"; then
2575 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2577 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2581 test -z "$as_dir" && as_dir
=.
2582 for ac_exec_ext
in '' $ac_executable_extensions; do
2583 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2584 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2585 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2594 STRIP
=$ac_cv_prog_STRIP
2595 if test -n "$STRIP"; then
2596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2597 $as_echo "$STRIP" >&6; }
2599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2600 $as_echo "no" >&6; }
2605 if test -z "$ac_cv_prog_STRIP"; then
2607 # Extract the first word of "strip", so it can be a program name with args.
2608 set dummy strip
; ac_word
=$2
2609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2610 $as_echo_n "checking for $ac_word... " >&6; }
2611 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2612 $as_echo_n "(cached) " >&6
2614 if test -n "$ac_ct_STRIP"; then
2615 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2617 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2621 test -z "$as_dir" && as_dir
=.
2622 for ac_exec_ext
in '' $ac_executable_extensions; do
2623 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2624 ac_cv_prog_ac_ct_STRIP
="strip"
2625 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2634 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2635 if test -n "$ac_ct_STRIP"; then
2636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2637 $as_echo "$ac_ct_STRIP" >&6; }
2639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2640 $as_echo "no" >&6; }
2643 if test "x$ac_ct_STRIP" = x
; then
2646 case $cross_compiling:$ac_tool_warned in
2648 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2649 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2650 ac_tool_warned
=yes ;;
2655 STRIP
="$ac_cv_prog_STRIP"
2659 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2662 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2663 if test -z "$MKDIR_P"; then
2664 if ${ac_cv_path_mkdir+:} false
; then :
2665 $as_echo_n "(cached) " >&6
2667 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2668 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2671 test -z "$as_dir" && as_dir
=.
2672 for ac_prog
in mkdir gmkdir
; do
2673 for ac_exec_ext
in '' $ac_executable_extensions; do
2674 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
2675 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2676 'mkdir (GNU coreutils) '* | \
2677 'mkdir (coreutils) '* | \
2678 'mkdir (fileutils) '4.1*)
2679 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2689 test -d .
/--version && rmdir .
/--version
2690 if test "${ac_cv_path_mkdir+set}" = set; then
2691 MKDIR_P
="$ac_cv_path_mkdir -p"
2693 # As a last resort, use the slow shell script. Don't cache a
2694 # value for MKDIR_P within a source directory, because that will
2695 # break other packages using the cache if that directory is
2696 # removed, or if the value is a relative name.
2697 MKDIR_P
="$ac_install_sh -d"
2700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2701 $as_echo "$MKDIR_P" >&6; }
2703 for ac_prog
in gawk mawk nawk
awk
2705 # Extract the first word of "$ac_prog", so it can be a program name with args.
2706 set dummy
$ac_prog; ac_word
=$2
2707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2708 $as_echo_n "checking for $ac_word... " >&6; }
2709 if ${ac_cv_prog_AWK+:} false
; then :
2710 $as_echo_n "(cached) " >&6
2712 if test -n "$AWK"; then
2713 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2715 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2719 test -z "$as_dir" && as_dir
=.
2720 for ac_exec_ext
in '' $ac_executable_extensions; do
2721 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2722 ac_cv_prog_AWK
="$ac_prog"
2723 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2733 if test -n "$AWK"; then
2734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2735 $as_echo "$AWK" >&6; }
2737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2738 $as_echo "no" >&6; }
2742 test -n "$AWK" && break
2745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2746 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2748 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2749 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2750 $as_echo_n "(cached) " >&6
2752 cat >conftest.
make <<\_ACEOF
2755 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2757 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2758 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2760 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2762 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2766 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2768 $as_echo "yes" >&6; }
2771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2772 $as_echo "no" >&6; }
2773 SET_MAKE
="MAKE=${MAKE-make}"
2776 rm -rf .tst
2>/dev
/null
2777 mkdir .tst
2>/dev
/null
2778 if test -d .tst
; then
2783 rmdir .tst
2>/dev
/null
2785 # Check whether --enable-silent-rules was given.
2786 if test "${enable_silent_rules+set}" = set; then :
2787 enableval
=$enable_silent_rules;
2790 case $enable_silent_rules in # (((
2791 yes) AM_DEFAULT_VERBOSITY
=0;;
2792 no
) AM_DEFAULT_VERBOSITY
=1;;
2793 *) AM_DEFAULT_VERBOSITY
=1;;
2795 am_make
=${MAKE-make}
2796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2797 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2798 if ${am_cv_make_support_nested_variables+:} false
; then :
2799 $as_echo_n "(cached) " >&6
2801 if $as_echo 'TRUE=$(BAR$(V))
2807 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
2808 am_cv_make_support_nested_variables
=yes
2810 am_cv_make_support_nested_variables
=no
2813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2814 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2815 if test $am_cv_make_support_nested_variables = yes; then
2817 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
2819 AM_V
=$AM_DEFAULT_VERBOSITY
2820 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
2824 DEPDIR="${am__leading_dot}deps"
2826 ac_config_commands="$ac_config_commands depfiles"
2829 am_make=${MAKE-make}
2830 cat > confinc << 'END
'
2832 @echo this is the am__doit target
2835 # If we don't
find an include directive
, just comment out the code.
2836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2837 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2841 # First try GNU make style include.
2842 echo "include confinc" > confmf
2843 # Ignore all kinds of additional output from 'make'.
2844 case `$am_make -s -f confmf 2> /dev/null` in #(
2845 *the\ am__doit\ target
*)
2851 # Now try BSD make style include.
2852 if test "$am__include" = "#"; then
2853 echo '.include "confinc"' > confmf
2854 case `$am_make -s -f confmf 2> /dev/null` in #(
2855 *the\ am__doit\ target
*)
2856 am__include
=.include
2864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2865 $as_echo "$_am_result" >&6; }
2866 rm -f confinc confmf
2868 # Check whether --enable-dependency-tracking was given.
2869 if test "${enable_dependency_tracking+set}" = set; then :
2870 enableval
=$enable_dependency_tracking;
2873 if test "x$enable_dependency_tracking" != xno
; then
2874 am_depcomp
="$ac_aux_dir/depcomp"
2878 if test "x$enable_dependency_tracking" != xno; then
2888 ac_cpp
='$CPP $CPPFLAGS'
2889 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2890 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2891 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2892 if test -n "$ac_tool_prefix"; then
2893 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2894 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2896 $as_echo_n "checking for $ac_word... " >&6; }
2897 if ${ac_cv_prog_CC+:} false
; then :
2898 $as_echo_n "(cached) " >&6
2900 if test -n "$CC"; then
2901 ac_cv_prog_CC
="$CC" # Let the user override the test.
2903 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2907 test -z "$as_dir" && as_dir
=.
2908 for ac_exec_ext
in '' $ac_executable_extensions; do
2909 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2910 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2911 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2921 if test -n "$CC"; then
2922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2923 $as_echo "$CC" >&6; }
2925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2926 $as_echo "no" >&6; }
2931 if test -z "$ac_cv_prog_CC"; then
2933 # Extract the first word of "gcc", so it can be a program name with args.
2934 set dummy gcc
; ac_word
=$2
2935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2936 $as_echo_n "checking for $ac_word... " >&6; }
2937 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2938 $as_echo_n "(cached) " >&6
2940 if test -n "$ac_ct_CC"; then
2941 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2943 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2947 test -z "$as_dir" && as_dir
=.
2948 for ac_exec_ext
in '' $ac_executable_extensions; do
2949 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2950 ac_cv_prog_ac_ct_CC
="gcc"
2951 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2960 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2961 if test -n "$ac_ct_CC"; then
2962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2963 $as_echo "$ac_ct_CC" >&6; }
2965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2966 $as_echo "no" >&6; }
2969 if test "x$ac_ct_CC" = x
; then
2972 case $cross_compiling:$ac_tool_warned in
2974 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2975 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2976 ac_tool_warned
=yes ;;
2984 if test -z "$CC"; then
2985 if test -n "$ac_tool_prefix"; then
2986 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2987 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2989 $as_echo_n "checking for $ac_word... " >&6; }
2990 if ${ac_cv_prog_CC+:} false
; then :
2991 $as_echo_n "(cached) " >&6
2993 if test -n "$CC"; then
2994 ac_cv_prog_CC
="$CC" # Let the user override the test.
2996 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3000 test -z "$as_dir" && as_dir
=.
3001 for ac_exec_ext
in '' $ac_executable_extensions; do
3002 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3003 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3004 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3014 if test -n "$CC"; then
3015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3016 $as_echo "$CC" >&6; }
3018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3019 $as_echo "no" >&6; }
3025 if test -z "$CC"; then
3026 # Extract the first word of "cc", so it can be a program name with args.
3027 set dummy cc
; ac_word
=$2
3028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3029 $as_echo_n "checking for $ac_word... " >&6; }
3030 if ${ac_cv_prog_CC+:} false
; then :
3031 $as_echo_n "(cached) " >&6
3033 if test -n "$CC"; then
3034 ac_cv_prog_CC
="$CC" # Let the user override the test.
3037 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3041 test -z "$as_dir" && as_dir
=.
3042 for ac_exec_ext
in '' $ac_executable_extensions; do
3043 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3044 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3045 ac_prog_rejected
=yes
3049 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3056 if test $ac_prog_rejected = yes; then
3057 # We found a bogon in the path, so make sure we never use it.
3058 set dummy
$ac_cv_prog_CC
3060 if test $# != 0; then
3061 # We chose a different compiler from the bogus one.
3062 # However, it has the same basename, so the bogon will be chosen
3063 # first if we set CC to just the basename; use the full file name.
3065 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3071 if test -n "$CC"; then
3072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3073 $as_echo "$CC" >&6; }
3075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3076 $as_echo "no" >&6; }
3081 if test -z "$CC"; then
3082 if test -n "$ac_tool_prefix"; then
3083 for ac_prog
in cl.exe
3085 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3086 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3088 $as_echo_n "checking for $ac_word... " >&6; }
3089 if ${ac_cv_prog_CC+:} false
; then :
3090 $as_echo_n "(cached) " >&6
3092 if test -n "$CC"; then
3093 ac_cv_prog_CC
="$CC" # Let the user override the test.
3095 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3099 test -z "$as_dir" && as_dir
=.
3100 for ac_exec_ext
in '' $ac_executable_extensions; do
3101 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3102 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3103 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3113 if test -n "$CC"; then
3114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3115 $as_echo "$CC" >&6; }
3117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3118 $as_echo "no" >&6; }
3122 test -n "$CC" && break
3125 if test -z "$CC"; then
3127 for ac_prog
in cl.exe
3129 # Extract the first word of "$ac_prog", so it can be a program name with args.
3130 set dummy
$ac_prog; ac_word
=$2
3131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3132 $as_echo_n "checking for $ac_word... " >&6; }
3133 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3134 $as_echo_n "(cached) " >&6
3136 if test -n "$ac_ct_CC"; then
3137 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3139 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3143 test -z "$as_dir" && as_dir
=.
3144 for ac_exec_ext
in '' $ac_executable_extensions; do
3145 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3146 ac_cv_prog_ac_ct_CC
="$ac_prog"
3147 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3156 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3157 if test -n "$ac_ct_CC"; then
3158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3159 $as_echo "$ac_ct_CC" >&6; }
3161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3162 $as_echo "no" >&6; }
3166 test -n "$ac_ct_CC" && break
3169 if test "x$ac_ct_CC" = x
; then
3172 case $cross_compiling:$ac_tool_warned in
3174 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3175 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3176 ac_tool_warned
=yes ;;
3185 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3186 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3187 as_fn_error $?
"no acceptable C compiler found in \$PATH
3188 See \`config.log' for more details" "$LINENO" 5; }
3190 # Provide some information about the compiler.
3191 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3194 for ac_option
in --version -v -V -qversion; do
3195 { { ac_try
="$ac_compiler $ac_option >&5"
3197 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3198 *) ac_try_echo=$ac_try;;
3200 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3201 $as_echo "$ac_try_echo"; } >&5
3202 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3204 if test -s conftest.err; then
3206 ... rest of stderr output deleted ...
3207 10q' conftest.err >conftest.er1
3208 cat conftest.er1 >&5
3210 rm -f conftest.er1 conftest.err
3211 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3212 test $ac_status = 0; }
3215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3216 /* end confdefs.h. */
3226 ac_clean_files_save=$ac_clean_files
3227 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3228 # Try to create an executable without -o first, disregard a.out.
3229 # It will help us diagnose broken compilers, and finding out an intuition
3231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3232 $as_echo_n "checking whether the C compiler works... " >&6; }
3233 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3235 # The possible output files:
3236 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3239 for ac_file in $ac_files
3242 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3243 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3248 if { { ac_try="$ac_link_default"
3250 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3251 *) ac_try_echo
=$ac_try;;
3253 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3254 $as_echo "$ac_try_echo"; } >&5
3255 (eval "$ac_link_default") 2>&5
3257 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3258 test $ac_status = 0; }; then :
3259 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3260 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3261 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3262 # so that the user can short-circuit this test for compilers unknown to
3264 for ac_file
in $ac_files ''
3266 test -f "$ac_file" ||
continue
3268 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3271 # We found the default executable, but exeext='' is most
3275 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3277 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3279 # We set ac_cv_exeext here because the later test for it is not
3280 # safe: cross compilers may not add the suffix if given an `-o'
3281 # argument, so we may need to know it at that point already.
3282 # Even if this section looks crufty: it has the advantage of
3289 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3294 if test -z "$ac_file"; then :
3295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3296 $as_echo "no" >&6; }
3297 $as_echo "$as_me: failed program was:" >&5
3298 sed 's/^/| /' conftest.
$ac_ext >&5
3300 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3301 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3302 as_fn_error
77 "C compiler cannot create executables
3303 See \`config.log' for more details" "$LINENO" 5; }
3305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3306 $as_echo "yes" >&6; }
3308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3309 $as_echo_n "checking for C compiler default output file name... " >&6; }
3310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3311 $as_echo "$ac_file" >&6; }
3312 ac_exeext
=$ac_cv_exeext
3314 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3315 ac_clean_files
=$ac_clean_files_save
3316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3317 $as_echo_n "checking for suffix of executables... " >&6; }
3318 if { { ac_try
="$ac_link"
3320 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3321 *) ac_try_echo=$ac_try;;
3323 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3324 $as_echo "$ac_try_echo"; } >&5
3325 (eval "$ac_link") 2>&5
3327 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3328 test $ac_status = 0; }; then :
3329 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3330 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3331 # work properly (i.e., refer to `conftest.exe'), while it won't with
3333 for ac_file
in conftest.exe conftest conftest.
*; do
3334 test -f "$ac_file" ||
continue
3336 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3337 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3343 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3344 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3345 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3346 See \`config.log' for more details" "$LINENO" 5; }
3348 rm -f conftest conftest
$ac_cv_exeext
3349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3350 $as_echo "$ac_cv_exeext" >&6; }
3352 rm -f conftest.
$ac_ext
3353 EXEEXT
=$ac_cv_exeext
3355 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3356 /* end confdefs.h. */
3361 FILE *f = fopen ("conftest.out", "w");
3362 return ferror (f) || fclose (f) != 0;
3368 ac_clean_files
="$ac_clean_files conftest.out"
3369 # Check that the compiler produces executables we can run. If not, either
3370 # the compiler is broken, or we cross compile.
3371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3372 $as_echo_n "checking whether we are cross compiling... " >&6; }
3373 if test "$cross_compiling" != yes; then
3374 { { ac_try
="$ac_link"
3376 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3377 *) ac_try_echo=$ac_try;;
3379 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3380 $as_echo "$ac_try_echo"; } >&5
3381 (eval "$ac_link") 2>&5
3383 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3384 test $ac_status = 0; }
3385 if { ac_try='./conftest$ac_cv_exeext'
3386 { { case "(($ac_try" in
3387 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3388 *) ac_try_echo
=$ac_try;;
3390 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3391 $as_echo "$ac_try_echo"; } >&5
3392 (eval "$ac_try") 2>&5
3394 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3395 test $ac_status = 0; }; }; then
3398 if test "$cross_compiling" = maybe
; then
3401 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3402 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3403 as_fn_error $?
"cannot run C compiled programs.
3404 If you meant to cross compile, use \`--host'.
3405 See \`config.log' for more details" "$LINENO" 5; }
3409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3410 $as_echo "$cross_compiling" >&6; }
3412 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3413 ac_clean_files
=$ac_clean_files_save
3414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3415 $as_echo_n "checking for suffix of object files... " >&6; }
3416 if ${ac_cv_objext+:} false
; then :
3417 $as_echo_n "(cached) " >&6
3419 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3420 /* end confdefs.h. */
3430 rm -f conftest.o conftest.obj
3431 if { { ac_try
="$ac_compile"
3433 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3434 *) ac_try_echo=$ac_try;;
3436 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3437 $as_echo "$ac_try_echo"; } >&5
3438 (eval "$ac_compile") 2>&5
3440 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3441 test $ac_status = 0; }; then :
3442 for ac_file in conftest.o conftest.obj conftest.*; do
3443 test -f "$ac_file" || continue;
3445 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3446 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3451 $as_echo "$as_me: failed program was:" >&5
3452 sed 's/^/| /' conftest.$ac_ext >&5
3454 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3455 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3456 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3457 See \
`config.log' for more details" "$LINENO" 5; }
3459 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3462 $as_echo "$ac_cv_objext" >&6; }
3463 OBJEXT=$ac_cv_objext
3465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3466 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3467 if ${ac_cv_c_compiler_gnu+:} false; then :
3468 $as_echo_n "(cached) " >&6
3470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3471 /* end confdefs.h. */
3484 if ac_fn_c_try_compile "$LINENO"; then :
3489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3490 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3494 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3495 if test $ac_compiler_gnu = yes; then
3500 ac_test_CFLAGS=${CFLAGS+set}
3501 ac_save_CFLAGS=$CFLAGS
3502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3503 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3504 if ${ac_cv_prog_cc_g+:} false; then :
3505 $as_echo_n "(cached) " >&6
3507 ac_save_c_werror_flag=$ac_c_werror_flag
3508 ac_c_werror_flag=yes
3511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3512 /* end confdefs.h. */
3522 if ac_fn_c_try_compile "$LINENO"; then :
3526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3527 /* end confdefs.h. */
3537 if ac_fn_c_try_compile "$LINENO"; then :
3540 ac_c_werror_flag=$ac_save_c_werror_flag
3542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3543 /* end confdefs.h. */
3553 if ac_fn_c_try_compile "$LINENO"; then :
3556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3561 ac_c_werror_flag=$ac_save_c_werror_flag
3563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3564 $as_echo "$ac_cv_prog_cc_g" >&6; }
3565 if test "$ac_test_CFLAGS" = set; then
3566 CFLAGS=$ac_save_CFLAGS
3567 elif test $ac_cv_prog_cc_g = yes; then
3568 if test "$GCC" = yes; then
3574 if test "$GCC" = yes; then
3580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3581 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3582 if ${ac_cv_prog_cc_c89+:} false; then :
3583 $as_echo_n "(cached) " >&6
3585 ac_cv_prog_cc_c89=no
3587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3588 /* end confdefs.h. */
3592 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3593 struct buf { int x; };
3594 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3595 static char *e (p, i)
3601 static char *f (char * (*g) (char **, int), char **p, ...)
3606 s = g (p, va_arg (v,int));
3611 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3612 function prototypes and stuff, but not '\xHH' hex character constants.
3613 These don't provoke an error unfortunately, instead are silently treated
3614 as 'x'. The following induces an error, until -std is added to get
3615 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3616 array size at least. It's necessary to write '\x00'==0 to get something
3617 that's true only with -std. */
3618 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3620 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3621 inside strings and character constants. */
3623 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3625 int test (int i, double x);
3626 struct s1 {int (*f) (int a);};
3627 struct s2 {int (*f) (double a);};
3628 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3634 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3639 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3640 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3642 CC="$ac_save_CC $ac_arg"
3643 if ac_fn_c_try_compile "$LINENO"; then :
3644 ac_cv_prog_cc_c89=$ac_arg
3646 rm -f core conftest.err conftest.$ac_objext
3647 test "x$ac_cv_prog_cc_c89" != "xno" && break
3649 rm -f conftest.$ac_ext
3654 case "x$ac_cv_prog_cc_c89" in
3656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3657 $as_echo "none needed" >&6; } ;;
3659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3660 $as_echo "unsupported" >&6; } ;;
3662 CC="$CC $ac_cv_prog_cc_c89"
3663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3664 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3666 if test "x$ac_cv_prog_cc_c89" != xno; then :
3671 ac_cpp='$CPP $CPPFLAGS'
3672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3677 ac_cpp='$CPP $CPPFLAGS'
3678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3682 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3683 if ${am_cv_prog_cc_c_o+:} false; then :
3684 $as_echo_n "(cached) " >&6
3686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3687 /* end confdefs.h. */
3697 # Make sure it works both with $CC and with simple cc.
3698 # Following AC_PROG_CC_C_O, we do the test twice because some
3699 # compilers refuse to overwrite an existing .o file with -o,
3700 # though they will create one.
3701 am_cv_prog_cc_c_o=yes
3703 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3704 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3707 (exit $ac_status); } \
3708 && test -f conftest2.$ac_objext; then
3711 am_cv_prog_cc_c_o=no
3715 rm -f core conftest*
3718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3719 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3720 if test "$am_cv_prog_cc_c_o" != yes; then
3721 # Losing compiler, so override with the script.
3722 # FIXME: It is wrong to rewrite CC.
3723 # But if we don't then we get into trouble of one sort or another.
3724 # A longer-term fix would be to have automake use am__CC in this case,
3725 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3726 CC="$am_aux_dir/compile $CC"
3729 ac_cpp='$CPP $CPPFLAGS'
3730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3735 depcc="$CC" am_compiler_list=
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3738 $as_echo_n "checking dependency style of $depcc... " >&6; }
3739 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3740 $as_echo_n "(cached) " >&6
3742 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3743 # We make a subdir and do the tests there. Otherwise we can end up
3744 # making bogus files that we don't know about and never remove. For
3745 # instance it was reported that on HP-UX the gcc test will end up
3746 # making a dummy file named 'D' -- because '-MD' means "put the output
3750 # Copy depcomp to subdir because otherwise we won't find it if we're
3751 # using a relative directory.
3752 cp "$am_depcomp" conftest.dir
3754 # We will build objects and dependencies in a subdirectory because
3755 # it helps to detect inapplicable dependency modes. For instance
3756 # both Tru64's cc and ICC support -MD to output dependencies as a
3757 # side effect of compilation, but ICC will put the dependencies in
3758 # the current directory while Tru64 will put them in the object
3762 am_cv_CC_dependencies_compiler_type=none
3763 if test "$am_compiler_list" = ""; then
3764 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
3767 case " $depcc " in #(
3768 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3771 for depmode in $am_compiler_list; do
3772 # Setup a source with many dependencies, because some compilers
3773 # like to wrap large dependency lists on column 80 (with \), and
3774 # we should not choose a depcomp mode which is confused by this.
3776 # We need to recreate these files for each test, as the compiler may
3777 # overwrite some of them when testing with obscure command lines.
3778 # This happens at least with the AIX C compiler.
3780 for i in 1 2 3 4 5 6; do
3781 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3782 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3783 # Solaris 10 /bin/sh.
3784 echo '/* dummy */' > sub/conftst$i.h
3786 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3788 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3789 # mode. It turns out that the SunPro C++ compiler does not properly
3790 # handle '-M -o', and we need to detect this. Also, some Intel
3791 # versions had trouble with output in subdirs.
3792 am__obj=sub/conftest.${OBJEXT-o}
3793 am__minus_obj="-o $am__obj"
3796 # This depmode causes a compiler race in universal mode.
3797 test "$am__universal" = false || continue
3800 # After this tag, mechanisms are not by side-effect, so they'll
3801 # only be used when explicitly requested.
3802 if test "x$enable_dependency_tracking" = xyes; then
3808 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3809 # This compiler won't grok '-c -o', but also, the minuso test has
3810 # not run yet. These depmodes are late enough in the game, and
3811 # so weak that their functioning should not be impacted.
3812 am__obj=conftest.${OBJEXT-o}
3817 if depmode=$depmode \
3818 source=sub/conftest.c object=$am__obj \
3819 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3820 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3821 >/dev/null 2>conftest.err &&
3822 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3823 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3824 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3825 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3826 # icc doesn't choke on unknown options, it will just issue warnings
3827 # or remarks (even with -Werror). So we grep stderr for any message
3828 # that says an option was ignored or not supported.
3829 # When given -MP, icc 7.0 and 7.1 complain thusly:
3830 # icc: Command line warning: ignoring option '-M'; no argument required
3831 # The diagnosis changed in icc 8.0:
3832 # icc: Command line remark: option '-MP' not supported
3833 if (grep 'ignoring option' conftest.err ||
3834 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3835 am_cv_CC_dependencies_compiler_type=$depmode
3844 am_cv_CC_dependencies_compiler_type=none
3848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3849 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3850 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3853 test "x$enable_dependency_tracking" != xno \
3854 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3856 am__fastdepCC_FALSE='#'
3858 am__fastdepCC_TRUE='#'
3859 am__fastdepCC_FALSE=
3864 # Check whether --enable-compiler-warnings was given.
3865 if test "${enable_compiler_warnings+set}" = set; then :
3866 enableval=$enable_compiler_warnings;
3868 case $enable_compiler_warnings in #(
3869 no | min | yes | max | all) :
3872 if test "x$enable_maintainer_mode" = xyes; then :
3873 enable_compiler_warnings=yes
3875 enable_compiler_warnings=min
3880 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3881 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3882 # is not polluted with repeated "-I."
3883 am__isrc=' -I$(srcdir)'
3884 # test to see if srcdir already configured
3885 if test -f $srcdir/config.status; then
3886 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3890 # test whether we have cygpath
3891 if test -z "$CYGPATH_W"; then
3892 if (cygpath --version) >/dev/null 2>/dev/null; then
3893 CYGPATH_W='cygpath -w'
3900 # Define the identity of the package.
3901 PACKAGE='gmp--tex-live-'
3905 cat >>confdefs.h <<_ACEOF
3906 #define PACKAGE "$PACKAGE"
3910 cat >>confdefs.h <<_ACEOF
3911 #define VERSION "$VERSION"
3914 # Some tools Automake needs.
3916 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3919 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3922 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3925 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3928 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3930 # For better backward compatibility. To be removed once Automake 1.9.x
3931 # dies out for good. For more background, see:
3932 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3933 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3934 mkdir_p='$(MKDIR_P)'
3936 # We need awk for the "check" target (and possibly the TAP driver). The
3937 # system "awk" is bad on some platforms.
3938 # Always define AMTAR for backward compatibility. Yes, it's still used
3939 # in the wild :-( We should find a proper way to deprecate it ...
3943 # We'll loop over all known methods to create a tar archive until one works.
3944 _am_tools='gnutar pax cpio none'
3946 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3953 # POSIX will say in a future version that running "rm -f" with no argument
3954 # is OK; and we want to be able to make that assumption in our Makefile
3955 # recipes. So use an aggressive probe to check that the usage we want is
3956 # actually supported "in the wild" to an acceptable degree.
3957 # See automake bug#10828.
3958 # To make any issue more visible, cause the running configure to be aborted
3959 # by default if the 'rm' program in use doesn't match our expectations; the
3960 # user can still override this though.
3961 if rm -f && rm -fr && rm -rf; then : OK; else
3965 Your 'rm' program seems unable to run without file operands specified
3966 on the command line, even when the '-f' option is present. This is contrary
3967 to the behaviour of most rm programs out there, and not conforming with
3968 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3970 Please tell bug-automake@gnu.org about your system, including the value
3971 of your $PATH and any error possibly output before this message. This
3972 can help us improve future automake versions.
3975 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3976 echo 'Configuration will proceed anyway, since you have set the' >&2
3977 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3981 Aborting the configuration process, to ensure you take notice of the issue.
3983 You can download and install GNU coreutils to get an 'rm' implementation
3984 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3986 If you want to complete the configuration process using your problematic
3987 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3988 to "yes", and re-run configure.
3991 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3997 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3998 # Check whether --enable-maintainer-mode was given.
3999 if test "${enable_maintainer_mode+set}" = set; then :
4000 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
4002 USE_MAINTAINER_MODE=no
4005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4006 $as_echo "$USE_MAINTAINER_MODE" >&6; }
4007 if test $USE_MAINTAINER_MODE = yes; then
4008 MAINTAINER_MODE_TRUE=
4009 MAINTAINER_MODE_FALSE='#'
4011 MAINTAINER_MODE_TRUE='#'
4012 MAINTAINER_MODE_FALSE=
4015 MAINT=$MAINTAINER_MODE_TRUE
4018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler accepts prototypes" >&5
4019 $as_echo_n "checking whether the compiler accepts prototypes... " >&6; }
4020 if ${kb_cv_c_prototypes+:} false; then :
4021 $as_echo_n "(cached) " >&6
4023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4024 /* end confdefs.h. */
4029 extern void foo(int i,...);
4034 if ac_fn_c_try_link "$LINENO"; then :
4035 kb_cv_c_prototypes=yes
4037 kb_cv_c_prototypes=no
4039 rm -f core conftest.err conftest.$ac_objext \
4040 conftest$ac_exeext conftest.$ac_ext
4042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kb_cv_c_prototypes" >&5
4043 $as_echo "$kb_cv_c_prototypes" >&6; }
4044 if test "x$kb_cv_c_prototypes" = xno; then
4045 as_fn_error $? "Sorry, your compiler does not understand prototypes." "$LINENO" 5
4047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5
4048 $as_echo_n "checking what warning flags to pass to the C compiler... " >&6; }
4049 if ${kpse_cv_warning_cflags+:} false; then :
4050 $as_echo_n "(cached) " >&6
4052 if test "x$GCC" = xyes; then
4053 kpse_cv_warning_cflags=
4054 if test "x$enable_compiler_warnings" != xno; then
4055 kpse_cv_warning_cflags="-Wimplicit -Wreturn-type"
4056 case `$CC -dumpversion` in #(
4057 3.4.* | 4.* | 5.*) :
4058 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wdeclaration-after-statement" ;; #(
4062 case `$CC -dumpversion` in #(
4063 3.[234].* | 4.* | 5.*) :
4064 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wno-unknown-pragmas" ;; #(
4068 if test "x$enable_compiler_warnings" != xmin; then
4069 kpse_cv_warning_cflags="-Wall -Wunused $kpse_cv_warning_cflags"
4070 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wmissing-prototypes -Wmissing-declarations"
4071 if test "x$enable_compiler_warnings" != xyes; then
4072 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wparentheses -Wswitch -Wtrigraphs -Wpointer-arith"
4073 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wcast-qual -Wcast-align -Wwrite-strings"
4074 case `$CC -dumpversion` in #(
4075 3.4.* | 4.* | 5.*) :
4076 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wold-style-definition" ;; #(
4080 if test "x$enable_compiler_warnings" != xmax; then
4081 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wshadow"
4086 elif test "x$enable_compiler_warnings" = xno; then
4087 kpse_cv_warning_cflags=
4089 kpse_cv_warning_cflags= # FIXME: warning flags for non-GNU C compilers
4092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_warning_cflags" >&5
4093 $as_echo "$kpse_cv_warning_cflags" >&6; }
4094 WARNING_CFLAGS=$kpse_cv_warning_cflags
4104 ac_cpp='$CPP $CPPFLAGS'
4105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4108 if test -n "$ac_tool_prefix"; then
4109 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4110 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4112 $as_echo_n "checking for $ac_word... " >&6; }
4113 if ${ac_cv_prog_CC+:} false; then :
4114 $as_echo_n "(cached) " >&6
4116 if test -n "$CC"; then
4117 ac_cv_prog_CC="$CC" # Let the user override the test.
4119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4123 test -z "$as_dir" && as_dir=.
4124 for ac_exec_ext in '' $ac_executable_extensions; do
4125 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4126 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4127 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4137 if test -n "$CC"; then
4138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4139 $as_echo "$CC" >&6; }
4141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4142 $as_echo "no" >&6; }
4147 if test -z "$ac_cv_prog_CC"; then
4149 # Extract the first word of "gcc", so it can be a program name with args.
4150 set dummy gcc; ac_word=$2
4151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4152 $as_echo_n "checking for $ac_word... " >&6; }
4153 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4154 $as_echo_n "(cached) " >&6
4156 if test -n "$ac_ct_CC"; then
4157 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4163 test -z "$as_dir" && as_dir=.
4164 for ac_exec_ext in '' $ac_executable_extensions; do
4165 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4166 ac_cv_prog_ac_ct_CC="gcc"
4167 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4176 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4177 if test -n "$ac_ct_CC"; then
4178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4179 $as_echo "$ac_ct_CC" >&6; }
4181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4182 $as_echo "no" >&6; }
4185 if test "x$ac_ct_CC" = x; then
4188 case $cross_compiling:$ac_tool_warned in
4190 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4191 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4192 ac_tool_warned=yes ;;
4200 if test -z "$CC"; then
4201 if test -n "$ac_tool_prefix"; then
4202 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4203 set dummy ${ac_tool_prefix}cc; ac_word=$2
4204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4205 $as_echo_n "checking for $ac_word... " >&6; }
4206 if ${ac_cv_prog_CC+:} false; then :
4207 $as_echo_n "(cached) " >&6
4209 if test -n "$CC"; then
4210 ac_cv_prog_CC="$CC" # Let the user override the test.
4212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4216 test -z "$as_dir" && as_dir=.
4217 for ac_exec_ext in '' $ac_executable_extensions; do
4218 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4219 ac_cv_prog_CC="${ac_tool_prefix}cc"
4220 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4230 if test -n "$CC"; then
4231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4232 $as_echo "$CC" >&6; }
4234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4235 $as_echo "no" >&6; }
4241 if test -z "$CC"; then
4242 # Extract the first word of "cc", so it can be a program name with args.
4243 set dummy cc; ac_word=$2
4244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4245 $as_echo_n "checking for $ac_word... " >&6; }
4246 if ${ac_cv_prog_CC+:} false; then :
4247 $as_echo_n "(cached) " >&6
4249 if test -n "$CC"; then
4250 ac_cv_prog_CC="$CC" # Let the user override the test.
4253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4257 test -z "$as_dir" && as_dir=.
4258 for ac_exec_ext in '' $ac_executable_extensions; do
4259 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4260 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4261 ac_prog_rejected=yes
4265 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4272 if test $ac_prog_rejected = yes; then
4273 # We found a bogon in the path, so make sure we never use it.
4274 set dummy $ac_cv_prog_CC
4276 if test $# != 0; then
4277 # We chose a different compiler from the bogus one.
4278 # However, it has the same basename, so the bogon will be chosen
4279 # first if we set CC to just the basename; use the full file name.
4281 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4287 if test -n "$CC"; then
4288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4289 $as_echo "$CC" >&6; }
4291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4292 $as_echo "no" >&6; }
4297 if test -z "$CC"; then
4298 if test -n "$ac_tool_prefix"; then
4299 for ac_prog in cl.exe
4301 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4302 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4304 $as_echo_n "checking for $ac_word... " >&6; }
4305 if ${ac_cv_prog_CC+:} false; then :
4306 $as_echo_n "(cached) " >&6
4308 if test -n "$CC"; then
4309 ac_cv_prog_CC="$CC" # Let the user override the test.
4311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4315 test -z "$as_dir" && as_dir=.
4316 for ac_exec_ext in '' $ac_executable_extensions; do
4317 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4318 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4319 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4329 if test -n "$CC"; then
4330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4331 $as_echo "$CC" >&6; }
4333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4334 $as_echo "no" >&6; }
4338 test -n "$CC" && break
4341 if test -z "$CC"; then
4343 for ac_prog in cl.exe
4345 # Extract the first word of "$ac_prog", so it can be a program name with args.
4346 set dummy $ac_prog; ac_word=$2
4347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4348 $as_echo_n "checking for $ac_word... " >&6; }
4349 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4350 $as_echo_n "(cached) " >&6
4352 if test -n "$ac_ct_CC"; then
4353 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4359 test -z "$as_dir" && as_dir=.
4360 for ac_exec_ext in '' $ac_executable_extensions; do
4361 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4362 ac_cv_prog_ac_ct_CC="$ac_prog"
4363 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4372 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4373 if test -n "$ac_ct_CC"; then
4374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4375 $as_echo "$ac_ct_CC" >&6; }
4377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4378 $as_echo "no" >&6; }
4382 test -n "$ac_ct_CC" && break
4385 if test "x$ac_ct_CC" = x; then
4388 case $cross_compiling:$ac_tool_warned in
4390 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4391 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4392 ac_tool_warned=yes ;;
4401 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4402 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4403 as_fn_error $? "no acceptable C compiler found
in \
$PATH
4404 See \
`config.log' for more details" "$LINENO" 5; }
4406 # Provide some information about the compiler.
4407 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4410 for ac_option in --version -v -V -qversion; do
4411 { { ac_try="$ac_compiler $ac_option >&5"
4413 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4414 *) ac_try_echo
=$ac_try;;
4416 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4417 $as_echo "$ac_try_echo"; } >&5
4418 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4420 if test -s conftest.err
; then
4422 ... rest of stderr output deleted ...
4423 10q' conftest.err
>conftest.er1
4424 cat conftest.er1
>&5
4426 rm -f conftest.er1 conftest.err
4427 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4428 test $ac_status = 0; }
4431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4432 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4433 if ${ac_cv_c_compiler_gnu+:} false
; then :
4434 $as_echo_n "(cached) " >&6
4436 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4437 /* end confdefs.h. */
4450 if ac_fn_c_try_compile
"$LINENO"; then :
4455 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4456 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
4459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4460 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4461 if test $ac_compiler_gnu = yes; then
4466 ac_test_CFLAGS
=${CFLAGS+set}
4467 ac_save_CFLAGS
=$CFLAGS
4468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4469 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4470 if ${ac_cv_prog_cc_g+:} false
; then :
4471 $as_echo_n "(cached) " >&6
4473 ac_save_c_werror_flag
=$ac_c_werror_flag
4474 ac_c_werror_flag
=yes
4477 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4478 /* end confdefs.h. */
4488 if ac_fn_c_try_compile
"$LINENO"; then :
4492 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4493 /* end confdefs.h. */
4503 if ac_fn_c_try_compile
"$LINENO"; then :
4506 ac_c_werror_flag
=$ac_save_c_werror_flag
4508 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4509 /* end confdefs.h. */
4519 if ac_fn_c_try_compile
"$LINENO"; then :
4522 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4524 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4526 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4527 ac_c_werror_flag
=$ac_save_c_werror_flag
4529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4530 $as_echo "$ac_cv_prog_cc_g" >&6; }
4531 if test "$ac_test_CFLAGS" = set; then
4532 CFLAGS
=$ac_save_CFLAGS
4533 elif test $ac_cv_prog_cc_g = yes; then
4534 if test "$GCC" = yes; then
4540 if test "$GCC" = yes; then
4546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4547 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4548 if ${ac_cv_prog_cc_c89+:} false
; then :
4549 $as_echo_n "(cached) " >&6
4551 ac_cv_prog_cc_c89
=no
4553 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4554 /* end confdefs.h. */
4558 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4559 struct buf { int x; };
4560 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4561 static char *e (p, i)
4567 static char *f (char * (*g) (char **, int), char **p, ...)
4572 s = g (p, va_arg (v,int));
4577 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4578 function prototypes and stuff, but not '\xHH' hex character constants.
4579 These don't provoke an error unfortunately, instead are silently treated
4580 as 'x'. The following induces an error, until -std is added to get
4581 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4582 array size at least. It's necessary to write '\x00'==0 to get something
4583 that's true only with -std. */
4584 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4586 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4587 inside strings and character constants. */
4589 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4591 int test (int i, double x);
4592 struct s1 {int (*f) (int a);};
4593 struct s2 {int (*f) (double a);};
4594 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4600 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4605 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
4606 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4608 CC
="$ac_save_CC $ac_arg"
4609 if ac_fn_c_try_compile
"$LINENO"; then :
4610 ac_cv_prog_cc_c89
=$ac_arg
4612 rm -f core conftest.err conftest.
$ac_objext
4613 test "x$ac_cv_prog_cc_c89" != "xno" && break
4615 rm -f conftest.
$ac_ext
4620 case "x$ac_cv_prog_cc_c89" in
4622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4623 $as_echo "none needed" >&6; } ;;
4625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4626 $as_echo "unsupported" >&6; } ;;
4628 CC
="$CC $ac_cv_prog_cc_c89"
4629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4630 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4632 if test "x$ac_cv_prog_cc_c89" != xno
; then :
4637 ac_cpp
='$CPP $CPPFLAGS'
4638 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4639 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4640 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4643 ac_cpp
='$CPP $CPPFLAGS'
4644 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4645 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4646 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4648 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4649 if ${am_cv_prog_cc_c_o+:} false
; then :
4650 $as_echo_n "(cached) " >&6
4652 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4653 /* end confdefs.h. */
4663 # Make sure it works both with $CC and with simple cc.
4664 # Following AC_PROG_CC_C_O, we do the test twice because some
4665 # compilers refuse to overwrite an existing .o file with -o,
4666 # though they will create one.
4667 am_cv_prog_cc_c_o
=yes
4669 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4670 ($CC -c conftest.
$ac_ext -o conftest2.
$ac_objext) >&5 2>&5
4672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4673 (exit $ac_status); } \
4674 && test -f conftest2.
$ac_objext; then
4677 am_cv_prog_cc_c_o
=no
4681 rm -f core conftest
*
4684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4685 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4686 if test "$am_cv_prog_cc_c_o" != yes; then
4687 # Losing compiler, so override with the script.
4688 # FIXME: It is wrong to rewrite CC.
4689 # But if we don't then we get into trouble of one sort or another.
4690 # A longer-term fix would be to have automake use am__CC in this case,
4691 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4692 CC
="$am_aux_dir/compile $CC"
4695 ac_cpp
='$CPP $CPPFLAGS'
4696 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4697 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4698 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4701 depcc
="$CC" am_compiler_list
=
4703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4704 $as_echo_n "checking dependency style of $depcc... " >&6; }
4705 if ${am_cv_CC_dependencies_compiler_type+:} false
; then :
4706 $as_echo_n "(cached) " >&6
4708 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4709 # We make a subdir and do the tests there. Otherwise we can end up
4710 # making bogus files that we don't know about and never remove. For
4711 # instance it was reported that on HP-UX the gcc test will end up
4712 # making a dummy file named 'D' -- because '-MD' means "put the output
4716 # Copy depcomp to subdir because otherwise we won't find it if we're
4717 # using a relative directory.
4718 cp "$am_depcomp" conftest.dir
4720 # We will build objects and dependencies in a subdirectory because
4721 # it helps to detect inapplicable dependency modes. For instance
4722 # both Tru64's cc and ICC support -MD to output dependencies as a
4723 # side effect of compilation, but ICC will put the dependencies in
4724 # the current directory while Tru64 will put them in the object
4728 am_cv_CC_dependencies_compiler_type
=none
4729 if test "$am_compiler_list" = ""; then
4730 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4733 case " $depcc " in #(
4734 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4737 for depmode
in $am_compiler_list; do
4738 # Setup a source with many dependencies, because some compilers
4739 # like to wrap large dependency lists on column 80 (with \), and
4740 # we should not choose a depcomp mode which is confused by this.
4742 # We need to recreate these files for each test, as the compiler may
4743 # overwrite some of them when testing with obscure command lines.
4744 # This happens at least with the AIX C compiler.
4746 for i
in 1 2 3 4 5 6; do
4747 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4748 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4749 # Solaris 10 /bin/sh.
4750 echo '/* dummy */' > sub
/conftst
$i.h
4752 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4754 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4755 # mode. It turns out that the SunPro C++ compiler does not properly
4756 # handle '-M -o', and we need to detect this. Also, some Intel
4757 # versions had trouble with output in subdirs.
4758 am__obj
=sub
/conftest.
${OBJEXT-o}
4759 am__minus_obj
="-o $am__obj"
4762 # This depmode causes a compiler race in universal mode.
4763 test "$am__universal" = false ||
continue
4766 # After this tag, mechanisms are not by side-effect, so they'll
4767 # only be used when explicitly requested.
4768 if test "x$enable_dependency_tracking" = xyes
; then
4774 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
4775 # This compiler won't grok '-c -o', but also, the minuso test has
4776 # not run yet. These depmodes are late enough in the game, and
4777 # so weak that their functioning should not be impacted.
4778 am__obj
=conftest.
${OBJEXT-o}
4783 if depmode
=$depmode \
4784 source=sub
/conftest.c object
=$am__obj \
4785 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4786 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4787 >/dev
/null
2>conftest.err
&&
4788 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4789 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4790 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4791 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4792 # icc doesn't choke on unknown options, it will just issue warnings
4793 # or remarks (even with -Werror). So we grep stderr for any message
4794 # that says an option was ignored or not supported.
4795 # When given -MP, icc 7.0 and 7.1 complain thusly:
4796 # icc: Command line warning: ignoring option '-M'; no argument required
4797 # The diagnosis changed in icc 8.0:
4798 # icc: Command line remark: option '-MP' not supported
4799 if (grep 'ignoring option' conftest.err ||
4800 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4801 am_cv_CC_dependencies_compiler_type
=$depmode
4810 am_cv_CC_dependencies_compiler_type
=none
4814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4815 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4816 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4819 test "x$enable_dependency_tracking" != xno \
4820 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4822 am__fastdepCC_FALSE
='#'
4824 am__fastdepCC_TRUE
='#'
4825 am__fastdepCC_FALSE
=
4829 if test -n "$ac_tool_prefix"; then
4830 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4831 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4833 $as_echo_n "checking for $ac_word... " >&6; }
4834 if ${ac_cv_prog_RANLIB+:} false
; then :
4835 $as_echo_n "(cached) " >&6
4837 if test -n "$RANLIB"; then
4838 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4840 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4844 test -z "$as_dir" && as_dir
=.
4845 for ac_exec_ext
in '' $ac_executable_extensions; do
4846 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4847 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4848 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4857 RANLIB
=$ac_cv_prog_RANLIB
4858 if test -n "$RANLIB"; then
4859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4860 $as_echo "$RANLIB" >&6; }
4862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4863 $as_echo "no" >&6; }
4868 if test -z "$ac_cv_prog_RANLIB"; then
4869 ac_ct_RANLIB
=$RANLIB
4870 # Extract the first word of "ranlib", so it can be a program name with args.
4871 set dummy ranlib
; ac_word
=$2
4872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4873 $as_echo_n "checking for $ac_word... " >&6; }
4874 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
4875 $as_echo_n "(cached) " >&6
4877 if test -n "$ac_ct_RANLIB"; then
4878 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4880 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4884 test -z "$as_dir" && as_dir
=.
4885 for ac_exec_ext
in '' $ac_executable_extensions; do
4886 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4887 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4888 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4897 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4898 if test -n "$ac_ct_RANLIB"; then
4899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4900 $as_echo "$ac_ct_RANLIB" >&6; }
4902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4903 $as_echo "no" >&6; }
4906 if test "x$ac_ct_RANLIB" = x
; then
4909 case $cross_compiling:$ac_tool_warned in
4911 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4912 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4913 ac_tool_warned
=yes ;;
4915 RANLIB
=$ac_ct_RANLIB
4918 RANLIB
="$ac_cv_prog_RANLIB"
4921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4922 $as_echo_n "checking whether ln -s works... " >&6; }
4924 if test "$LN_S" = "ln -s"; then
4925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4926 $as_echo "yes" >&6; }
4928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4929 $as_echo "no, using $LN_S" >&6; }
4933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CFLAGS for C to hide external symbols" >&5
4934 $as_echo_n "checking CFLAGS for C to hide external symbols... " >&6; }
4935 if ${kpse_cv_visibility_cflags+:} false
; then :
4936 $as_echo_n "(cached) " >&6
4939 ac_cpp
='$CPP $CPPFLAGS'
4940 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4941 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4942 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4944 kpse_cv_visibility_cflags
=unknown
4945 kpse_save_flags
=$CFLAGS
4946 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4947 /* end confdefs.h. */
4949 extern void foo(void);
4950 void foo(void){printf("foo\n");}
4952 # FIXME: Add tests for non-GNU compilers
4953 for kpse_flag
in '-fvisibility=hidden -fvisibility-inlines-hidden' '-fvisibility=hidden'; do
4954 CFLAGS
="$kpse_save_flags -Werror $kpse_flag"
4955 if ac_fn_c_try_compile
"$LINENO"; then :
4956 kpse_cv_visibility_cflags
=$kpse_flag; break
4958 rm -f core conftest.err conftest.
$ac_objext
4961 ac_cpp
='$CPP $CPPFLAGS'
4962 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4963 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4964 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_visibility_cflags" >&5
4969 $as_echo "$kpse_cv_visibility_cflags" >&6; }
4970 CFLAGS
=$kpse_save_flags
4971 case $kpse_cv_visibility_cflags in #(
4975 VISIBILITY_CFLAGS
=$kpse_cv_visibility_cflags
4983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
4984 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
4985 if ${ac_cv_prog_cc_c99+:} false
; then :
4986 $as_echo_n "(cached) " >&6
4988 ac_cv_prog_cc_c99
=no
4990 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4991 /* end confdefs.h. */
4993 #include <stdbool.h>
4998 // Check varargs macros. These examples are taken from C99 6.10.3.5.
4999 #define debug(...) fprintf (stderr, __VA_ARGS__)
5000 #define showlist(...) puts (#__VA_ARGS__)
5001 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
5003 test_varargs_macros (void)
5008 debug ("X = %d\n", x);
5009 showlist (The first, second, and third items.);
5010 report (x>y, "x is %d but y is %d", x, y);
5013 // Check long long types.
5014 #define BIG64 18446744073709551615ull
5015 #define BIG32 4294967295ul
5016 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
5018 your preprocessor is broken;
5022 your preprocessor is broken;
5024 static long long int bignum = -9223372036854775807LL;
5025 static unsigned long long int ubignum = BIG64;
5027 struct incomplete_array
5035 const wchar_t *name;
5039 typedef const char *ccp;
5042 test_restrict (ccp restrict text)
5044 // See if C++-style comments work.
5045 // Iterate through items via the restricted pointer.
5046 // Also check for declarations in for loops.
5047 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
5052 // Check varargs and va_copy.
5054 test_varargs (const char *format, ...)
5057 va_start (args, format);
5059 va_copy (args_copy, args);
5070 str = va_arg (args_copy, const char *);
5073 number = va_arg (args_copy, int);
5076 fnumber = va_arg (args_copy, double);
5091 _Bool success = false;
5094 if (test_restrict ("String literal") == 0)
5096 char *restrict newvar = "Another string";
5099 test_varargs ("s, d' f .", "string", 65, 34.234);
5100 test_varargs_macros ();
5102 // Check flexible array members.
5103 struct incomplete_array *ia =
5104 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
5106 for (int i = 0; i < ia->datasize; ++i)
5107 ia->data[i] = i * 1.234;
5109 // Check named initializers.
5110 struct named_init ni = {
5112 .name = L"Test wide string",
5113 .average = 543.34343,
5118 int dynamic_array[ni.number];
5119 dynamic_array[ni.number - 1] = 543;
5121 // work around unused variable warnings
5122 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
5123 || dynamic_array[ni.number - 1] != 543);
5129 for ac_arg
in '' -std=gnu99
-std=c99
-c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
5131 CC
="$ac_save_CC $ac_arg"
5132 if ac_fn_c_try_compile
"$LINENO"; then :
5133 ac_cv_prog_cc_c99
=$ac_arg
5135 rm -f core conftest.err conftest.
$ac_objext
5136 test "x$ac_cv_prog_cc_c99" != "xno" && break
5138 rm -f conftest.
$ac_ext
5143 case "x$ac_cv_prog_cc_c99" in
5145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5146 $as_echo "none needed" >&6; } ;;
5148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5149 $as_echo "unsupported" >&6; } ;;
5151 CC
="$CC $ac_cv_prog_cc_c99"
5152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5153 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
5155 if test "x$ac_cv_prog_cc_c99" != xno
; then :
5160 CFLAGS
="$CFLAGS -DNO_ASM"
5162 ac_config_headers
="$ac_config_headers config.h"
5165 # Make sure we can run config.sub.
5166 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
5167 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5170 $as_echo_n "checking build system type... " >&6; }
5171 if ${ac_cv_build+:} false
; then :
5172 $as_echo_n "(cached) " >&6
5174 ac_build_alias
=$build_alias
5175 test "x$ac_build_alias" = x
&&
5176 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
5177 test "x$ac_build_alias" = x
&&
5178 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
5179 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5180 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5184 $as_echo "$ac_cv_build" >&6; }
5185 case $ac_cv_build in
5187 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
5190 ac_save_IFS
=$IFS; IFS
='-'
5196 # Remember, the first character of IFS is used to create $*,
5197 # except with old shells:
5200 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
5203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5204 $as_echo_n "checking host system type... " >&6; }
5205 if ${ac_cv_host+:} false
; then :
5206 $as_echo_n "(cached) " >&6
5208 if test "x$host_alias" = x
; then
5209 ac_cv_host
=$ac_cv_build
5211 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5212 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5217 $as_echo "$ac_cv_host" >&6; }
5220 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
5223 ac_save_IFS
=$IFS; IFS
='-'
5229 # Remember, the first character of IFS is used to create $*,
5230 # except with old shells:
5233 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
5236 if test "x$host_alias" != x
&& test "x$build_alias" = x
; then :
5237 as_fn_error $?
"when cross-compiling you must specify both --host and --build." "$LINENO" 5
5239 eval kpse_build_alias
=\
${build_alias-$build}
5242 for ac_func
in memset raise strchr
5244 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5245 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
5246 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
5247 cat >>confdefs.h
<<_ACEOF
5248 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gcc __attribute__ ((const)) works" >&5
5256 $as_echo_n "checking whether gcc __attribute__ ((const)) works... " >&6; }
5257 if ${gmp_cv_c_attribute_const+:} false
; then :
5258 $as_echo_n "(cached) " >&6
5260 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5261 /* end confdefs.h. */
5262 int foo (int x) __attribute__ ((const));
5271 if ac_fn_c_try_compile
"$LINENO"; then :
5272 gmp_cv_c_attribute_const
=yes
5274 gmp_cv_c_attribute_const
=no
5276 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gmp_cv_c_attribute_const" >&5
5280 $as_echo "$gmp_cv_c_attribute_const" >&6; }
5281 if test $gmp_cv_c_attribute_const = yes; then
5283 $as_echo "#define HAVE_ATTRIBUTE_CONST 1" >>confdefs.h
5287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gcc __attribute__ ((malloc)) works" >&5
5288 $as_echo_n "checking whether gcc __attribute__ ((malloc)) works... " >&6; }
5289 if ${gmp_cv_c_attribute_malloc+:} false
; then :
5290 $as_echo_n "(cached) " >&6
5292 gmp_cv_c_attribute_malloc
=no
5293 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5294 /* end confdefs.h. */
5295 void *foo (int x) __attribute__ ((malloc));
5304 if ac_fn_c_try_compile
"$LINENO"; then :
5305 if grep "attribute directive ignored" conftest.err
>/dev
/null
; then :
5308 gmp_cv_c_attribute_malloc
=yes
5311 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gmp_cv_c_attribute_malloc" >&5
5315 $as_echo "$gmp_cv_c_attribute_malloc" >&6; }
5316 if test $gmp_cv_c_attribute_malloc = yes; then
5318 $as_echo "#define HAVE_ATTRIBUTE_MALLOC 1" >>confdefs.h
5322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gcc __attribute__ ((mode (XX))) works" >&5
5323 $as_echo_n "checking whether gcc __attribute__ ((mode (XX))) works... " >&6; }
5324 if ${gmp_cv_c_attribute_mode+:} false
; then :
5325 $as_echo_n "(cached) " >&6
5327 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5328 /* end confdefs.h. */
5329 typedef int SItype __attribute__ ((mode (SI)));
5338 if ac_fn_c_try_compile
"$LINENO"; then :
5339 gmp_cv_c_attribute_mode
=yes
5341 gmp_cv_c_attribute_mode
=no
5343 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gmp_cv_c_attribute_mode" >&5
5347 $as_echo "$gmp_cv_c_attribute_mode" >&6; }
5348 if test $gmp_cv_c_attribute_mode = yes; then
5350 $as_echo "#define HAVE_ATTRIBUTE_MODE 1" >>confdefs.h
5354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gcc __attribute__ ((noreturn)) works" >&5
5355 $as_echo_n "checking whether gcc __attribute__ ((noreturn)) works... " >&6; }
5356 if ${gmp_cv_c_attribute_noreturn+:} false
; then :
5357 $as_echo_n "(cached) " >&6
5359 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5360 /* end confdefs.h. */
5361 void foo (int x) __attribute__ ((noreturn));
5370 if ac_fn_c_try_compile
"$LINENO"; then :
5371 gmp_cv_c_attribute_noreturn
=yes
5373 gmp_cv_c_attribute_noreturn
=no
5375 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gmp_cv_c_attribute_noreturn" >&5
5379 $as_echo "$gmp_cv_c_attribute_noreturn" >&6; }
5380 if test $gmp_cv_c_attribute_noreturn = yes; then
5382 $as_echo "#define HAVE_ATTRIBUTE_NORETURN 1" >>confdefs.h
5388 ac_cpp
='$CPP $CPPFLAGS'
5389 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5390 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5391 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5393 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5394 # On Suns, sometimes $CPP names a directory.
5395 if test -n "$CPP" && test -d "$CPP"; then
5398 if test -z "$CPP"; then
5399 if ${ac_cv_prog_CPP+:} false
; then :
5400 $as_echo_n "(cached) " >&6
5402 # Double quotes because CPP needs to be expanded
5403 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5406 for ac_c_preproc_warn_flag
in '' yes
5408 # Use a header file that comes with gcc, so configuring glibc
5409 # with a fresh cross-compiler works.
5410 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5411 # <limits.h> exists even on freestanding compilers.
5412 # On the NeXT, cc -E runs the code through the compiler's parser,
5413 # not just through cpp. "Syntax error" is here to catch this case.
5414 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5415 /* end confdefs.h. */
5417 # include <limits.h>
5419 # include <assert.h>
5423 if ac_fn_c_try_cpp
"$LINENO"; then :
5426 # Broken: fails on valid input.
5429 rm -f conftest.err conftest.i conftest.
$ac_ext
5431 # OK, works on sane cases. Now check whether nonexistent headers
5432 # can be detected and how.
5433 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5434 /* end confdefs.h. */
5435 #include <ac_nonexistent.h>
5437 if ac_fn_c_try_cpp
"$LINENO"; then :
5438 # Broken: success on invalid input.
5441 # Passes both tests.
5445 rm -f conftest.err conftest.i conftest.
$ac_ext
5448 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5449 rm -f conftest.i conftest.err conftest.
$ac_ext
5450 if $ac_preproc_ok; then :
5462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5463 $as_echo "$CPP" >&6; }
5465 for ac_c_preproc_warn_flag
in '' yes
5467 # Use a header file that comes with gcc, so configuring glibc
5468 # with a fresh cross-compiler works.
5469 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5470 # <limits.h> exists even on freestanding compilers.
5471 # On the NeXT, cc -E runs the code through the compiler's parser,
5472 # not just through cpp. "Syntax error" is here to catch this case.
5473 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5474 /* end confdefs.h. */
5476 # include <limits.h>
5478 # include <assert.h>
5482 if ac_fn_c_try_cpp
"$LINENO"; then :
5485 # Broken: fails on valid input.
5488 rm -f conftest.err conftest.i conftest.
$ac_ext
5490 # OK, works on sane cases. Now check whether nonexistent headers
5491 # can be detected and how.
5492 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5493 /* end confdefs.h. */
5494 #include <ac_nonexistent.h>
5496 if ac_fn_c_try_cpp
"$LINENO"; then :
5497 # Broken: success on invalid input.
5500 # Passes both tests.
5504 rm -f conftest.err conftest.i conftest.
$ac_ext
5507 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5508 rm -f conftest.i conftest.err conftest.
$ac_ext
5509 if $ac_preproc_ok; then :
5512 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5513 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5514 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
5515 See \`config.log' for more details" "$LINENO" 5; }
5519 ac_cpp
='$CPP $CPPFLAGS'
5520 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5521 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5522 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5526 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5527 if ${ac_cv_path_GREP+:} false
; then :
5528 $as_echo_n "(cached) " >&6
5530 if test -z "$GREP"; then
5531 ac_path_GREP_found
=false
5532 # Loop through the user's path and test for each of PROGNAME-LIST
5533 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5534 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5537 test -z "$as_dir" && as_dir
=.
5538 for ac_prog
in grep ggrep
; do
5539 for ac_exec_ext
in '' $ac_executable_extensions; do
5540 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5541 as_fn_executable_p
"$ac_path_GREP" ||
continue
5542 # Check for GNU ac_path_GREP and select it if it is found.
5543 # Check for GNU $ac_path_GREP
5544 case `"$ac_path_GREP" --version 2>&1` in
5546 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5549 $as_echo_n 0123456789 >"conftest.in"
5552 cat "conftest.in" "conftest.in" >"conftest.tmp"
5553 mv "conftest.tmp" "conftest.in"
5554 cp "conftest.in" "conftest.nl"
5555 $as_echo 'GREP' >> "conftest.nl"
5556 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5557 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5558 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5559 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5560 # Best one so far, save it but keep looking for a better one
5561 ac_cv_path_GREP
="$ac_path_GREP"
5562 ac_path_GREP_max
=$ac_count
5564 # 10*(2^10) chars as input seems more than enough
5565 test $ac_count -gt 10 && break
5567 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5570 $ac_path_GREP_found && break 3
5575 if test -z "$ac_cv_path_GREP"; then
5576 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5579 ac_cv_path_GREP
=$GREP
5583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5584 $as_echo "$ac_cv_path_GREP" >&6; }
5585 GREP
="$ac_cv_path_GREP"
5588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5589 $as_echo_n "checking for egrep... " >&6; }
5590 if ${ac_cv_path_EGREP+:} false
; then :
5591 $as_echo_n "(cached) " >&6
5593 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5594 then ac_cv_path_EGREP
="$GREP -E"
5596 if test -z "$EGREP"; then
5597 ac_path_EGREP_found
=false
5598 # Loop through the user's path and test for each of PROGNAME-LIST
5599 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5600 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5603 test -z "$as_dir" && as_dir
=.
5604 for ac_prog
in egrep; do
5605 for ac_exec_ext
in '' $ac_executable_extensions; do
5606 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5607 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5608 # Check for GNU ac_path_EGREP and select it if it is found.
5609 # Check for GNU $ac_path_EGREP
5610 case `"$ac_path_EGREP" --version 2>&1` in
5612 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5615 $as_echo_n 0123456789 >"conftest.in"
5618 cat "conftest.in" "conftest.in" >"conftest.tmp"
5619 mv "conftest.tmp" "conftest.in"
5620 cp "conftest.in" "conftest.nl"
5621 $as_echo 'EGREP' >> "conftest.nl"
5622 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5623 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5624 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5625 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5626 # Best one so far, save it but keep looking for a better one
5627 ac_cv_path_EGREP
="$ac_path_EGREP"
5628 ac_path_EGREP_max
=$ac_count
5630 # 10*(2^10) chars as input seems more than enough
5631 test $ac_count -gt 10 && break
5633 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5636 $ac_path_EGREP_found && break 3
5641 if test -z "$ac_cv_path_EGREP"; then
5642 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5645 ac_cv_path_EGREP
=$EGREP
5650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5651 $as_echo "$ac_cv_path_EGREP" >&6; }
5652 EGREP
="$ac_cv_path_EGREP"
5655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5656 $as_echo_n "checking for ANSI C header files... " >&6; }
5657 if ${ac_cv_header_stdc+:} false
; then :
5658 $as_echo_n "(cached) " >&6
5660 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5661 /* end confdefs.h. */
5675 if ac_fn_c_try_compile
"$LINENO"; then :
5676 ac_cv_header_stdc
=yes
5678 ac_cv_header_stdc
=no
5680 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5682 if test $ac_cv_header_stdc = yes; then
5683 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5684 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5685 /* end confdefs.h. */
5689 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5690 $EGREP "memchr" >/dev
/null
2>&1; then :
5693 ac_cv_header_stdc
=no
5699 if test $ac_cv_header_stdc = yes; then
5700 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5701 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5702 /* end confdefs.h. */
5706 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5707 $EGREP "free" >/dev
/null
2>&1; then :
5710 ac_cv_header_stdc
=no
5716 if test $ac_cv_header_stdc = yes; then
5717 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5718 if test "$cross_compiling" = yes; then :
5721 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5722 /* end confdefs.h. */
5725 #if ((' ' & 0x0FF) == 0x020)
5726 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5727 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5729 # define ISLOWER(c) \
5730 (('a' <= (c) && (c) <= 'i') \
5731 || ('j' <= (c) && (c) <= 'r') \
5732 || ('s' <= (c) && (c) <= 'z'))
5733 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5736 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5741 for (i = 0; i < 256; i++)
5742 if (XOR (islower (i), ISLOWER (i))
5743 || toupper (i) != TOUPPER (i))
5748 if ac_fn_c_try_run
"$LINENO"; then :
5751 ac_cv_header_stdc
=no
5753 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5754 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5760 $as_echo "$ac_cv_header_stdc" >&6; }
5761 if test $ac_cv_header_stdc = yes; then
5763 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5767 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5768 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5769 inttypes.h stdint.h unistd.h
5771 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5772 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5774 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5775 cat >>confdefs.h
<<_ACEOF
5776 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5784 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
5785 if test "x$ac_cv_type_long_long" = xyes
; then :
5790 # The cast to long int works around a bug in the HP C Compiler
5791 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5792 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5793 # This bug is HP SR number 8606223364.
5794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
5795 $as_echo_n "checking size of void *... " >&6; }
5796 if ${ac_cv_sizeof_void_p+:} false
; then :
5797 $as_echo_n "(cached) " >&6
5799 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
5802 if test "$ac_cv_type_void_p" = yes; then
5803 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5804 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5805 as_fn_error
77 "cannot compute sizeof (void *)
5806 See \`config.log' for more details" "$LINENO" 5; }
5808 ac_cv_sizeof_void_p
=0
5813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
5814 $as_echo "$ac_cv_sizeof_void_p" >&6; }
5818 cat >>confdefs.h
<<_ACEOF
5819 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
5823 # The cast to long int works around a bug in the HP C Compiler
5824 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5825 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5826 # This bug is HP SR number 8606223364.
5827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned short" >&5
5828 $as_echo_n "checking size of unsigned short... " >&6; }
5829 if ${ac_cv_sizeof_unsigned_short+:} false
; then :
5830 $as_echo_n "(cached) " >&6
5832 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (unsigned short))" "ac_cv_sizeof_unsigned_short" "$ac_includes_default"; then :
5835 if test "$ac_cv_type_unsigned_short" = yes; then
5836 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5837 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5838 as_fn_error
77 "cannot compute sizeof (unsigned short)
5839 See \`config.log' for more details" "$LINENO" 5; }
5841 ac_cv_sizeof_unsigned_short
=0
5846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_short" >&5
5847 $as_echo "$ac_cv_sizeof_unsigned_short" >&6; }
5851 cat >>confdefs.h
<<_ACEOF
5852 #define SIZEOF_UNSIGNED_SHORT $ac_cv_sizeof_unsigned_short
5856 # The cast to long int works around a bug in the HP C Compiler
5857 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5858 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5859 # This bug is HP SR number 8606223364.
5860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned" >&5
5861 $as_echo_n "checking size of unsigned... " >&6; }
5862 if ${ac_cv_sizeof_unsigned+:} false
; then :
5863 $as_echo_n "(cached) " >&6
5865 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (unsigned))" "ac_cv_sizeof_unsigned" "$ac_includes_default"; then :
5868 if test "$ac_cv_type_unsigned" = yes; then
5869 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5870 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5871 as_fn_error
77 "cannot compute sizeof (unsigned)
5872 See \`config.log' for more details" "$LINENO" 5; }
5874 ac_cv_sizeof_unsigned
=0
5879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned" >&5
5880 $as_echo "$ac_cv_sizeof_unsigned" >&6; }
5884 cat >>confdefs.h
<<_ACEOF
5885 #define SIZEOF_UNSIGNED $ac_cv_sizeof_unsigned
5889 # The cast to long int works around a bug in the HP C Compiler
5890 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5891 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5892 # This bug is HP SR number 8606223364.
5893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned long" >&5
5894 $as_echo_n "checking size of unsigned long... " >&6; }
5895 if ${ac_cv_sizeof_unsigned_long+:} false
; then :
5896 $as_echo_n "(cached) " >&6
5898 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (unsigned long))" "ac_cv_sizeof_unsigned_long" "$ac_includes_default"; then :
5901 if test "$ac_cv_type_unsigned_long" = yes; then
5902 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5903 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5904 as_fn_error
77 "cannot compute sizeof (unsigned long)
5905 See \`config.log' for more details" "$LINENO" 5; }
5907 ac_cv_sizeof_unsigned_long
=0
5912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_long" >&5
5913 $as_echo "$ac_cv_sizeof_unsigned_long" >&6; }
5917 cat >>confdefs.h
<<_ACEOF
5918 #define SIZEOF_UNSIGNED_LONG $ac_cv_sizeof_unsigned_long
5922 # The cast to long int works around a bug in the HP C Compiler
5923 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5924 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5925 # This bug is HP SR number 8606223364.
5926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned long long" >&5
5927 $as_echo_n "checking size of unsigned long long... " >&6; }
5928 if ${ac_cv_sizeof_unsigned_long_long+:} false
; then :
5929 $as_echo_n "(cached) " >&6
5931 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (unsigned long long))" "ac_cv_sizeof_unsigned_long_long" "$ac_includes_default"; then :
5934 if test "$ac_cv_type_unsigned_long_long" = yes; then
5935 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5936 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5937 as_fn_error
77 "cannot compute sizeof (unsigned long long)
5938 See \`config.log' for more details" "$LINENO" 5; }
5940 ac_cv_sizeof_unsigned_long_long
=0
5945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_long_long" >&5
5946 $as_echo "$ac_cv_sizeof_unsigned_long_long" >&6; }
5950 cat >>confdefs.h
<<_ACEOF
5951 #define SIZEOF_UNSIGNED_LONG_LONG $ac_cv_sizeof_unsigned_long_long
5958 gmp_limb
=longlong
;; #(
5960 if test $ac_cv_sizeof_void_p -gt $ac_cv_sizeof_unsigned_long; then :
5961 if test $ac_cv_sizeof_void_p -le $ac_cv_sizeof_unsigned_long_long; then :
5970 case $gmp_limb in #(
5972 DEFN_LONG_LONG_LIMB
="#define _LONG_LONG_LIMB 1"
5973 gmp_limb_size
=$ac_cv_sizeof_unsigned_long_long ;; #(
5975 DEFN_LONG_LONG_LIMB
="/* #undef _LONG_LONG_LIMB */"
5976 gmp_limb_size
=$ac_cv_sizeof_unsigned_long ;;
5979 GMP_LIMB_BITS
=`expr 8 \* $gmp_limb_size`
5986 cat >gmp-tmp.h
<<KPSE_EOF
5987 #define __GMP_WITHIN_CONFIGURE 1 /* ignore template stuff */
5988 #define GMP_NAIL_BITS $GMP_NAIL_BITS
5989 #define GMP_LIMB_BITS 123
5990 $DEFN_LONG_LONG_LIMB
5991 #include "$srcdir/gmp-src/gmp-h.in"
5996 # The cast to long int works around a bug in the HP C Compiler
5997 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5998 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5999 # This bug is HP SR number 8606223364.
6000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of mp_limb_t" >&5
6001 $as_echo_n "checking size of mp_limb_t... " >&6; }
6002 if ${ac_cv_sizeof_mp_limb_t+:} false
; then :
6003 $as_echo_n "(cached) " >&6
6005 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (mp_limb_t))" "ac_cv_sizeof_mp_limb_t" "#include \"gmp-tmp.h\"
6009 if test "$ac_cv_type_mp_limb_t" = yes; then
6010 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6011 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6012 as_fn_error
77 "cannot compute sizeof (mp_limb_t)
6013 See \`config.log' for more details" "$LINENO" 5; }
6015 ac_cv_sizeof_mp_limb_t
=0
6020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_mp_limb_t" >&5
6021 $as_echo "$ac_cv_sizeof_mp_limb_t" >&6; }
6025 cat >>confdefs.h
<<_ACEOF
6026 #define SIZEOF_MP_LIMB_T $ac_cv_sizeof_mp_limb_t
6031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
6032 $as_echo_n "checking for inline... " >&6; }
6033 if ${ac_cv_c_inline+:} false
; then :
6034 $as_echo_n "(cached) " >&6
6037 for ac_kw
in inline __inline__ __inline
; do
6038 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6039 /* end confdefs.h. */
6042 static $ac_kw foo_t static_foo () {return 0; }
6043 $ac_kw foo_t foo () {return 0; }
6047 if ac_fn_c_try_compile
"$LINENO"; then :
6048 ac_cv_c_inline
=$ac_kw
6050 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6051 test "$ac_cv_c_inline" != no
&& break
6055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
6056 $as_echo "$ac_cv_c_inline" >&6; }
6058 case $ac_cv_c_inline in
6061 case $ac_cv_c_inline in
6063 *) ac_val
=$ac_cv_c_inline;;
6065 cat >>confdefs.h
<<_ACEOF
6067 #define inline $ac_val
6074 case $ac_cv_c_inline in #(
6078 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6079 /* end confdefs.h. */
6080 #define __GMP_WITHIN_CONFIGURE_INLINE 1
6081 #include "gmp-tmp.h"
6082 #ifndef __GMP_EXTERN_INLINE
6093 if ac_fn_c_try_compile
"$LINENO"; then :
6096 case $ac_cv_c_inline in #(
6098 tmp_inline
=inline
;; #(
6100 tmp_inline
=$ac_cv_c_inline ;;
6102 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: gmp.h doesnt recognise compiler \"$tmp_inline\", inlines will be unavailable" >&5
6103 $as_echo "$as_me: WARNING: gmp.h doesnt recognise compiler \"$tmp_inline\", inlines will be unavailable" >&2;}
6105 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext ;;
6110 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
6111 # for constant arguments. Useless!
6112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
6113 $as_echo_n "checking for working alloca.h... " >&6; }
6114 if ${gmp_cv_header_alloca+:} false
; then :
6115 $as_echo_n "(cached) " >&6
6117 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6118 /* end confdefs.h. */
6123 char *p = (char *) alloca (2 * sizeof (int));
6128 if ac_fn_c_try_compile
"$LINENO"; then :
6129 gmp_cv_header_alloca
=yes
6131 gmp_cv_header_alloca
=no
6133 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gmp_cv_header_alloca" >&5
6136 $as_echo "$gmp_cv_header_alloca" >&6; }
6137 if test "x$gmp_cv_header_alloca" = xyes
; then
6139 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
6143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca (via gmp-impl.h)" >&5
6144 $as_echo_n "checking for alloca (via gmp-impl.h)... " >&6; }
6145 if ${gmp_cv_func_alloca+:} false
; then :
6146 $as_echo_n "(cached) " >&6
6148 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6149 /* end confdefs.h. */
6150 #include "gmp-tmp.h"
6151 #include "$srcdir/gmp-6.1.0/gmp-impl.h"
6155 char *p = (char *) alloca (1);
6160 if ac_fn_c_try_compile
"$LINENO"; then :
6161 gmp_cv_func_alloca
=yes
6163 gmp_cv_func_alloca
=no
6165 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gmp_cv_func_alloca" >&5
6168 $as_echo "$gmp_cv_func_alloca" >&6; }
6169 if test "x$gmp_cv_func_alloca" = xyes
; then
6171 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
6173 $as_echo "#define WANT_TMP_ALLOCA 1" >>confdefs.h
6176 $as_echo "#define WANT_TMP_REENTRANT 1" >>confdefs.h
6184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking format of \`double' floating point" >&5
6185 $as_echo_n "checking format of \`double' floating point... " >&6; }
6186 if ${gmp_cv_c_double_format+:} false
; then :
6187 $as_echo_n "(cached) " >&6
6189 gmp_cv_c_double_format
=unknown
6190 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6191 /* end confdefs.h. */
6198 extern struct foo foo;
6200 { '\001', '\043', '\105', '\147', '\211', '\253', '\315', '\357' },
6202 { '\376', '\334', '\272', '\230', '\166', '\124', '\062', '\020' },
6213 if ac_fn_c_try_compile
"$LINENO"; then :
6214 cat >conftest.
awk <<\EOF
6221 for (f
= 2; f
<= NF
; f
++)
6223 for (i
= 0; i
< 23; i
++)
6227 # match the special begin and end sequences
6228 if (got
[0] != "001") continue
6229 if (got
[1] != "043") continue
6230 if (got
[2] != "105") continue
6231 if (got
[3] != "147") continue
6232 if (got
[4] != "211") continue
6233 if (got
[5] != "253") continue
6234 if (got
[6] != "315") continue
6235 if (got
[7] != "357") continue
6236 if (got
[16] != "376") continue
6237 if (got
[17] != "334") continue
6238 if (got
[18] != "272") continue
6239 if (got
[19] != "230") continue
6240 if (got
[20] != "166") continue
6241 if (got
[21] != "124") continue
6242 if (got
[22] != "062") continue
6243 if (got
[23] != "020") continue
6245 saw
= " (" got
[8] " " got
[9] " " got
[10] " " got
[11] " " got
[12] " " got
[13] " " got
[14] " " got
[15] ")"
6247 if (got
[8] == "000" && \
6248 got
[9] == "000" && \
6249 got
[10] == "000" && \
6250 got
[11] == "124" && \
6251 got
[12] == "064" && \
6252 got
[13] == "157" && \
6253 got
[14] == "235" && \
6256 print
"IEEE little endian"
6261 # Little endian with the two 4-byte halves swapped, as used by ARM
6262 # when the chip is in little endian mode.
6264 if (got
[8] == "064" && \
6265 got
[9] == "157" && \
6266 got
[10] == "235" && \
6267 got
[11] == "301" && \
6268 got
[12] == "000" && \
6269 got
[13] == "000" && \
6270 got
[14] == "000" && \
6273 print
"IEEE little endian, swapped halves"
6278 # gcc 2.95.4 on one GNU/Linux ARM system was seen generating 000 in
6279 # the last byte, whereas 124 is correct. Not sure where the bug
6280 # actually lies, but a running program didn't seem to get a full
6281 # mantissa worth of working bits.
6283 # We match this case explicitly so we can give a nice result message,
6284 # but we deliberately exclude it from the normal IEEE double setups
6285 # since it's too broken.
6287 if (got
[8] == "064" && \
6288 got
[9] == "157" && \
6289 got
[10] == "235" && \
6290 got
[11] == "301" && \
6291 got
[12] == "000" && \
6292 got
[13] == "000" && \
6293 got
[14] == "000" && \
6296 print
"bad ARM software floats"
6301 if (got
[8] == "301" && \
6302 got
[9] == "235" && \
6303 got
[10] == "157" && \
6304 got
[11] == "064" && \
6305 got
[12] == "124" && \
6306 got
[13] == "000" && \
6307 got
[14] == "000" && \
6310 print
"IEEE big endian"
6315 if (got
[8] == "353" && \
6316 got
[9] == "315" && \
6317 got
[10] == "242" && \
6318 got
[11] == "171" && \
6319 got
[12] == "000" && \
6320 got
[13] == "240" && \
6321 got
[14] == "000" && \
6329 if (got
[8] == "275" && \
6330 got
[9] == "301" && \
6331 got
[10] == "064" && \
6332 got
[11] == "157" && \
6333 got
[12] == "000" && \
6334 got
[13] == "124" && \
6335 got
[14] == "000" && \
6343 if (got
[8] == "300" && \
6344 got
[9] == "033" && \
6345 got
[10] == "353" && \
6346 got
[11] == "171" && \
6347 got
[12] == "242" && \
6348 got
[13] == "240" && \
6349 got
[14] == "000" && \
6361 print
"unknown", saw
6365 gmp_cv_c_double_format
=`od -b conftest.$ac_objext | $AWK -f conftest.awk`
6366 case $gmp_cv_c_double_format in #(
6368 echo "cannot match anything, conftest.$ac_objext contains" >&5
6369 od -b conftest.
$ac_objext >&5 ;; #(
6374 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: oops, cannot compile test program" >&5
6375 $as_echo "$as_me: WARNING: oops, cannot compile test program" >&2;}
6377 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gmp_cv_c_double_format" >&5
6381 $as_echo "$gmp_cv_c_double_format" >&6; }
6385 case $gmp_cv_c_double_format in #(
6386 "IEEE big endian") :
6387 $as_echo "#define HAVE_DOUBLE_IEEE_BIG_ENDIAN 1" >>confdefs.h
6389 "IEEE little endian") :
6390 $as_echo "#define HAVE_DOUBLE_IEEE_LITTLE_ENDIAN 1" >>confdefs.h
6392 "IEEE little endian, swapped halves") :
6393 $as_echo "#define HAVE_DOUBLE_IEEE_LITTLE_SWAPPED 1" >>confdefs.h
6396 $as_echo "#define HAVE_DOUBLE_VAX_D 1" >>confdefs.h
6399 $as_echo "#define HAVE_DOUBLE_VAX_G 1" >>confdefs.h
6402 $as_echo "#define HAVE_DOUBLE_CRAY_CFP 1" >>confdefs.h
6404 "bad ARM software floats") :
6407 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not determine float format." >&5
6408 $as_echo "$as_me: WARNING: Could not determine float format." >&2;}
6409 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Conversions to and from \"double\" may be slow." >&5
6410 $as_echo "$as_me: WARNING: Conversions to and from \"double\" may be slow." >&2;} ;; #(
6412 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: oops, unrecognised float format: $gmp_cv_c_double_format" >&5
6413 $as_echo "$as_me: WARNING: oops, unrecognised float format: $gmp_cv_c_double_format" >&2;} ;;
6417 if test "x$enable_build" != xno ||
test -f config.force
; then
6419 case $gmp_limb in #(
6421 as_fn_error $?
"Sorry, no suitable limb size" "$LINENO" 5 ;; #(
6426 if test "x$ac_cv_sizeof_mp_limb_t" != "x$gmp_limb_size"; then
6427 as_fn_error $?
"Oops, mp_limb_t doesn't seem to work" "$LINENO" 5
6430 echo timestamp
>config.force
6433 if test "x$enable_build" != xno
; then
6445 HAVE_HOST_CPU_FAMILY_power
=0
6447 HAVE_HOST_CPU_FAMILY_powerpc
=0
6453 ac_config_files
="$ac_config_files Makefile include/Makefile gmp.h:gmp-src/gmp-h.in"
6458 subdirs
="$subdirs native"
6463 cat >confcache
<<\_ACEOF
6464 # This file is a shell script that caches the results of configure
6465 # tests run on this system so they can be shared between configure
6466 # scripts and configure runs, see configure's option --config-cache.
6467 # It is not useful on other systems. If it contains results you don't
6468 # want to keep, you may remove or edit it.
6470 # config.status only pays attention to the cache file if you give it
6471 # the --recheck option to rerun configure.
6473 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6474 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6479 # The following way of writing the cache mishandles newlines in values,
6480 # but we know of no workaround that is simple, portable, and efficient.
6481 # So, we kill variables containing newlines.
6482 # Ultrix sh set writes to stderr and can't be redirected directly,
6483 # and sets the high bit in the cache file unless we assign to the vars.
6485 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6486 eval ac_val
=\$
$ac_var
6490 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
6491 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
6494 _ | IFS | as_nl
) ;; #(
6495 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
6496 *) { eval $ac_var=; unset $ac_var;} ;;
6502 case $as_nl`(ac_space=' '; set) 2>&1` in #(
6503 *${as_nl}ac_space
=\
*)
6504 # `set' does not quote correctly, so add quotes: double-quote
6505 # substitution turns \\\\ into \\, and sed turns \\ into \.
6508 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6511 # `set' quotes correctly as required by POSIX, so do not add quotes.
6512 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
6521 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6523 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6525 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
6526 if test -w "$cache_file"; then
6527 if test "x$cache_file" != "x/dev/null"; then
6528 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
6529 $as_echo "$as_me: updating cache $cache_file" >&6;}
6530 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
6531 cat confcache
>"$cache_file"
6533 case $cache_file in #(
6535 mv -f confcache
"$cache_file"$$
&&
6536 mv -f "$cache_file"$$
"$cache_file" ;; #(
6538 mv -f confcache
"$cache_file" ;;
6543 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
6544 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6549 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
6550 # Let make expand exec_prefix.
6551 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
6553 DEFS
=-DHAVE_CONFIG_H
6558 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
6559 # 1. Remove the extension, and $U if already installed.
6560 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
6561 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
6562 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
6563 # will be set to the directory where LIBOBJS objects are built.
6564 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6565 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
6569 LTLIBOBJS
=$ac_ltlibobjs
6572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
6573 $as_echo_n "checking that generated files are newer than configure... " >&6; }
6574 if test -n "$am_sleep_pid"; then
6575 # Hide warnings about reused PIDs.
6576 wait $am_sleep_pid 2>/dev
/null
6578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
6579 $as_echo "done" >&6; }
6580 if test -n "$EXEEXT"; then
6582 am__EXEEXT_FALSE
='#'
6588 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
6589 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
6590 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6592 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
6593 as_fn_error $?
"conditional \"AMDEP\" was never defined.
6594 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6596 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6597 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
6598 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6600 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6601 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
6602 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6604 if test -z "${build_TRUE}" && test -z "${build_FALSE}"; then
6605 as_fn_error $?
"conditional \"build\" was never defined.
6606 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6609 : "${CONFIG_STATUS=./config.status}"
6611 ac_clean_files_save
=$ac_clean_files
6612 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
6613 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
6614 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
6616 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
6618 # Generated by $as_me.
6619 # Run this file to recreate the current configuration.
6620 # Compiler output produced by configure, useful for debugging
6621 # configure, is in config.log if it exists.
6627 SHELL=\${CONFIG_SHELL-$SHELL}
6630 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
6631 ## -------------------- ##
6632 ## M4sh Initialization. ##
6633 ## -------------------- ##
6635 # Be more Bourne compatible
6636 DUALCASE
=1; export DUALCASE
# for MKS sh
6637 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
6640 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
6641 # is contrary to our usage. Disable this feature.
6642 alias -g '${1+"$@"}'='"$@"'
6643 setopt NO_GLOB_SUBST
6645 case `(set -o) 2>/dev/null` in #(
6657 # Printing a long string crashes Solaris 7 /usr/bin/printf.
6658 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6659 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
6660 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
6661 # Prefer a ksh shell builtin over an external printf program on Solaris,
6662 # but without wasting forks for bash or zsh.
6663 if test -z "$BASH_VERSION$ZSH_VERSION" \
6664 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
6665 as_echo='print
-r --'
6666 as_echo_n='print
-rn --'
6667 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
6668 as_echo='printf %s
\n'
6669 as_echo_n='printf %s
'
6671 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
6672 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
6673 as_echo_n='/usr
/ucb
/echo -n'
6675 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
6676 as_echo_n_body='eval
6680 expr "X$arg" : "X\\(.*\\)$as_nl";
6681 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
6683 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
6685 export as_echo_n_body
6686 as_echo_n='sh
-c $as_echo_n_body as_echo
'
6689 as_echo='sh
-c $as_echo_body as_echo
'
6692 # The user is always right.
6693 if test "${PATH_SEPARATOR+set}" != set; then
6695 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
6696 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
6703 # We need space, tab and new line, in precisely that order. Quoting is
6704 # there to prevent editors from complaining about space-tab.
6705 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
6706 # splitting by setting IFS to empty value.)
6709 # Find who we are. Look in the path if we contain no directory separator.
6712 *[\\/]* ) as_myself=$0 ;;
6713 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6717 test -z "$as_dir" && as_dir=.
6718 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6724 # We did not find ourselves, most probably we were run as `sh COMMAND'
6725 # in which case we are not to be found in the path.
6726 if test "x$as_myself" = x
; then
6729 if test ! -f "$as_myself"; then
6730 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6734 # Unset variables that we do not need and which cause bugs (e.g. in
6735 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
6736 # suppresses any "Segmentation fault" message there. '((' could
6737 # trigger a bug in pdksh 5.2.14.
6738 for as_var
in BASH_ENV ENV MAIL MAILPATH
6739 do eval test x\
${$as_var+set} = xset \
6740 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
6753 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
6756 # as_fn_error STATUS ERROR [LINENO LOG_FD]
6757 # ----------------------------------------
6758 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
6759 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
6760 # script with STATUS, using 1 if that was 0.
6763 as_status
=$1; test $as_status -eq 0 && as_status
=1
6765 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
6766 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
6768 $as_echo "$as_me: error: $2" >&2
6769 as_fn_exit
$as_status
6773 # as_fn_set_status STATUS
6774 # -----------------------
6775 # Set $? to STATUS, without forking.
6779 } # as_fn_set_status
6783 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
6793 # Portably unset VAR.
6796 { eval $1=; unset $1;}
6798 as_unset
=as_fn_unset
6799 # as_fn_append VAR VALUE
6800 # ----------------------
6801 # Append the text in VALUE to the end of the definition contained in VAR. Take
6802 # advantage of any shell optimizations that allow amortized linear growth over
6803 # repeated appends, instead of the typical quadratic growth present in naive
6805 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
6806 eval 'as_fn_append ()
6817 # as_fn_arith ARG...
6818 # ------------------
6819 # Perform arithmetic evaluation on the ARGs, and store the result in the
6820 # global $as_val. Take advantage of shells that can avoid forks. The arguments
6821 # must be portable across $(()) and expr.
6822 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
6823 eval 'as_fn_arith ()
6830 as_val
=`expr "$@" || test $? -eq 1`
6835 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
6836 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
6842 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
6843 as_basename
=basename
6848 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
6854 as_me
=`$as_basename -- "$0" ||
6855 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6856 X"$0" : 'X\(//\)$' \| \
6857 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6859 sed '/^.*\/\([^/][^/]*\)\/*$/{
6873 # Avoid depending upon Character Ranges.
6874 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
6875 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6876 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
6877 as_cr_digits
='0123456789'
6878 as_cr_alnum
=$as_cr_Letters$as_cr_digits
6880 ECHO_C
= ECHO_N
= ECHO_T
=
6881 case `echo -n x` in #(((((
6883 case `echo 'xy\c'` in
6884 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
6886 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
6893 rm -f conf$$ conf$$.exe conf$$.
file
6894 if test -d conf$$.dir
; then
6895 rm -f conf$$.dir
/conf$$.
file
6898 mkdir conf$$.dir
2>/dev
/null
6900 if (echo >conf$$.
file) 2>/dev
/null
; then
6901 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
6903 # ... but there are two gotchas:
6904 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6905 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6906 # In both cases, we have to default to `cp -pR'.
6907 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
6909 elif ln conf$$.
file conf$$
2>/dev
/null
; then
6917 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
6918 rmdir conf$$.dir
2>/dev
/null
6923 # Create "$as_dir" as a directory, including parents if necessary.
6928 -*) as_dir
=.
/$as_dir;;
6930 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
6934 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6935 *) as_qdir
=$as_dir;;
6937 as_dirs
="'$as_qdir' $as_dirs"
6938 as_dir
=`$as_dirname -- "$as_dir" ||
6939 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6940 X"$as_dir" : 'X\(//\)[^/]' \| \
6941 X"$as_dir" : 'X\(//\)$' \| \
6942 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6943 $as_echo X"$as_dir" |
6944 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6961 test -d "$as_dir" && break
6963 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
6964 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
6968 if mkdir
-p .
2>/dev
/null
; then
6969 as_mkdir_p
='mkdir -p "$as_dir"'
6971 test -d .
/-p && rmdir .
/-p
6976 # as_fn_executable_p FILE
6977 # -----------------------
6978 # Test if FILE is an executable regular file.
6979 as_fn_executable_p
()
6981 test -f "$1" && test -x "$1"
6982 } # as_fn_executable_p
6984 as_executable_p
=as_fn_executable_p
6986 # Sed expression to map a string onto a valid CPP name.
6987 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6989 # Sed expression to map a string onto a valid variable name.
6990 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6994 ## ----------------------------------- ##
6995 ## Main body of $CONFIG_STATUS script. ##
6996 ## ----------------------------------- ##
6998 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
7000 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7001 # Save the log message, to keep $0 and so on meaningful, and to
7002 # report actual input values of CONFIG_FILES etc. instead of their
7003 # values after options handling.
7005 This file was extended by gmp (TeX Live) $as_me 6.1.0, which was
7006 generated by GNU Autoconf 2.69. Invocation command line was
7008 CONFIG_FILES = $CONFIG_FILES
7009 CONFIG_HEADERS = $CONFIG_HEADERS
7010 CONFIG_LINKS = $CONFIG_LINKS
7011 CONFIG_COMMANDS = $CONFIG_COMMANDS
7014 on `(hostname || uname -n) 2>/dev/null | sed 1q`
7019 case $ac_config_files in *"
7020 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
7023 case $ac_config_headers in *"
7024 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
7028 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7029 # Files that config.status was made for.
7030 config_files="$ac_config_files"
7031 config_headers="$ac_config_headers"
7032 config_commands="$ac_config_commands"
7036 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7038 \`$as_me' instantiates files and other configuration actions
7039 from templates according to the current configuration. Unless the files
7040 and actions are specified as TAGs, all are instantiated by default.
7042 Usage: $0 [OPTION]... [TAG]...
7044 -h, --help print this help, then exit
7045 -V, --version print version number and configuration settings, then exit
7046 --config print configuration, then exit
7047 -q, --quiet, --silent
7048 do not print progress messages
7049 -d, --debug don't remove temporary files
7050 --recheck update $as_me by reconfiguring in the same conditions
7051 --file=FILE[:TEMPLATE]
7052 instantiate the configuration file FILE
7053 --header=FILE[:TEMPLATE]
7054 instantiate the configuration header FILE
7056 Configuration files:
7059 Configuration headers:
7062 Configuration commands:
7065 Report bugs to <tex-k@tug.org>."
7068 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7069 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
7071 gmp (TeX Live) config.status 6.1.0
7072 configured by $0, generated by GNU Autoconf 2.69,
7073 with options \\"\$ac_cs_config\\"
7075 Copyright (C) 2012 Free Software Foundation, Inc.
7076 This config.status script is free software; the Free Software Foundation
7077 gives unlimited permission to copy, distribute and modify it."
7084 test -n "\$AWK" || AWK=awk
7087 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7088 # The default lists apply if the user does not specify any file.
7094 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
7095 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
7099 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
7111 # Handling of the options.
7112 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
7114 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
7115 $as_echo "$ac_cs_version"; exit ;;
7116 --config |
--confi |
--conf |
--con |
--co |
--c )
7117 $as_echo "$ac_cs_config"; exit ;;
7118 --debug |
--debu |
--deb |
--de |
--d |
-d )
7120 --file |
--fil |
--fi |
--f )
7123 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7124 '') as_fn_error $?
"missing file argument" ;;
7126 as_fn_append CONFIG_FILES
" '$ac_optarg'"
7127 ac_need_defaults
=false
;;
7128 --header |
--heade |
--head |
--hea )
7131 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7133 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
7134 ac_need_defaults
=false
;;
7136 # Conflict between --help and --header
7137 as_fn_error $?
"ambiguous option: \`$1'
7138 Try \`$0 --help' for more information.";;
7139 --help |
--hel |
-h )
7140 $as_echo "$ac_cs_usage"; exit ;;
7141 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
7142 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
7146 -*) as_fn_error $?
"unrecognized option: \`$1'
7147 Try \`$0 --help' for more information." ;;
7149 *) as_fn_append ac_config_targets
" $1"
7150 ac_need_defaults
=false
;;
7156 ac_configure_extra_args
=
7158 if $ac_cs_silent; then
7160 ac_configure_extra_args
="$ac_configure_extra_args --silent"
7164 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7165 if \$ac_cs_recheck; then
7166 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7168 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
7169 CONFIG_SHELL='$SHELL'
7175 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7179 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7180 ## Running $as_me. ##
7186 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7190 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
7194 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7196 # Handling of arguments.
7197 for ac_config_target
in $ac_config_targets
7199 case $ac_config_target in
7200 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
7201 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
7202 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
7203 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
7204 "gmp.h") CONFIG_FILES
="$CONFIG_FILES gmp.h:gmp-src/gmp-h.in" ;;
7206 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
7211 # If the user did not use the arguments to specify the items to instantiate,
7212 # then the envvar interface is used. Set only those that are not.
7213 # We use the long form for the default assignment because of an extremely
7214 # bizarre bug on SunOS 4.1.3.
7215 if $ac_need_defaults; then
7216 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
7217 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
7218 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
7221 # Have a temporary directory for convenience. Make it in the build tree
7222 # simply because there is no reason against having it here, and in addition,
7223 # creating and moving files from /tmp can sometimes cause problems.
7224 # Hook for its removal unless debugging.
7225 # Note that there is a small window in which the directory will not be cleaned:
7226 # after its creation but before its name has been assigned to `$tmp'.
7230 trap 'exit_status=$?
7232 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
7234 trap 'as_fn_exit 1' 1 2 13 15
7236 # Create a (secure) tmp directory for tmp files.
7239 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7243 tmp
=.
/conf$$
-$RANDOM
7244 (umask 077 && mkdir
"$tmp")
7245 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
7248 # Set up the scripts for CONFIG_FILES section.
7249 # No need to generate them if there are no CONFIG_FILES.
7250 # This happens for instance with `./config.status config.h'.
7251 if test -n "$CONFIG_FILES"; then
7254 ac_cr
=`echo X | tr X '\015'`
7255 # On cygwin, bash can eat \r inside `` if the user requested igncr.
7256 # But we know of no other shell where ac_cr would be empty at this
7257 # point, so we can use a bashism as a fallback.
7258 if test "x$ac_cr" = x
; then
7259 eval ac_cr
=\$
\'\\r
\'
7261 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
7262 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
7268 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
7273 echo "cat >conf$$subs.awk <<_ACEOF" &&
7274 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
7277 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
7278 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
7280 for ac_last_try in false false false false false :; do
7281 . ./conf$$subs.sh ||
7282 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
7284 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
7285 if test $ac_delim_n = $ac_delim_num; then
7287 elif $ac_last_try; then
7288 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
7290 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
7295 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7296 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
7300 s/^/S["/; s
/!.
*/"]=/
7310 s/\(.\{148\}\)..*/\1/
7312 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
7317 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
7324 s/\(.\{148\}\)..*/\1/
7326 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
7330 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
7335 ' <conf$$subs.awk | sed '
7340 ' >>$CONFIG_STATUS || ac_write_fail=1
7341 rm -f conf$$subs.awk
7342 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7344 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
7345 for (key in S) S_is_set[key] = 1
7351 nfields = split(line, field, "@
")
7353 len = length(field[1])
7354 for (i = 2; i < nfields; i++) {
7356 keylen = length(key)
7357 if (S_is_set[key]) {
7359 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
7360 len += length(value) + length(field[++i])
7371 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7372 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
7373 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
7376 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
7377 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
7380 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
7381 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
7382 # trailing colons and then remove the whole line if VPATH becomes empty
7383 # (actually we leave an empty line to preserve line numbers).
7384 if test "x
$srcdir" = x.; then
7385 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
7403 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7404 fi # test -n "$CONFIG_FILES"
7406 # Set up the scripts for CONFIG_HEADERS section.
7407 # No need to generate them if there are no CONFIG_HEADERS.
7408 # This happens for instance with `./config.status Makefile'.
7409 if test -n "$CONFIG_HEADERS"; then
7410 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
7414 # Transform confdefs.h into an awk script `defines.awk', embedded as
7415 # here-document in config.status, that substitutes the proper values into
7416 # config.h.in to produce config.h.
7418 # Create a delimiter string that does not exist in confdefs.h, to ease
7419 # handling of long lines.
7421 for ac_last_try in false false :; do
7422 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
7423 if test -z "$ac_tt"; then
7425 elif $ac_last_try; then
7426 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
7428 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
7432 # For the awk script, D is an array of macro values keyed by name,
7433 # likewise P contains macro parameters if any. Preserve backslash
7434 # newline sequences.
7436 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
7438 s/.\{148\}/&'"$ac_delim"'/g
7441 s/^[ ]*#[ ]*define[ ][ ]*/ /
7448 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
7450 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
7454 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
7455 D["\
1"]=" \
3\\\\\\n
"\\/p
7457 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
7462 s/.\{148\}/&'"$ac_delim"'/g
7467 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
7470 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
7472 ' <confdefs.h | sed '
7473 s/'"$ac_delim"'/"\\\
7474 "/g' >>$CONFIG_STATUS || ac_write_fail=1
7476 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7477 for (key in D) D_is_set[key] = 1
7480 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
7482 split(line, arg, " ")
7483 if (arg[1] == "#") {
7487 defundef
= substr
(arg
[1], 2)
7490 split(mac1
, mac2
, "(") #)
7492 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
7493 if (D_is_set
[macro
]) {
7494 # Preserve the white space surrounding the "#".
7495 print prefix
"define", macro P
[macro
] D
[macro
]
7498 # Replace #undef with comments. This is necessary, for example,
7499 # in the case of _POSIX_SOURCE, which is predefined and required
7500 # on some systems where configure will not decide to define it.
7501 if (defundef
== "undef") {
7502 print
"/*", prefix defundef
, macro
, "*/"
7510 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7511 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
7512 fi # test -n "$CONFIG_HEADERS"
7515 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
7520 :[FHLC
]) ac_mode
=$ac_tag; continue;;
7522 case $ac_mode$ac_tag in
7524 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
7525 :[FH
]-) ac_tag
=-:-;;
7526 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
7543 -) ac_f
="$ac_tmp/stdin";;
7544 *) # Look for the file first in the build tree, then in the source tree
7545 # (if the path is not absolute). The absolute path cannot be DOS-style,
7546 # because $ac_f cannot contain `:'.
7550 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
7552 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
7554 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
7555 as_fn_append ac_file_inputs
" '$ac_f'"
7558 # Let's still pretend it is `configure' which instantiates (i.e., don't
7559 # use $as_me), people would be surprised to read:
7560 # /* config.h. Generated by config.status. */
7561 configure_input
='Generated from '`
7562 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
7564 if test x
"$ac_file" != x-
; then
7565 configure_input
="$ac_file. $configure_input"
7566 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
7567 $as_echo "$as_me: creating $ac_file" >&6;}
7569 # Neutralize special characters interpreted by sed in replacement strings.
7570 case $configure_input in #(
7571 *\
&* |
*\|
* |
*\\* )
7572 ac_sed_conf_input
=`$as_echo "$configure_input" |
7573 sed 's/[\\\\&|]/\\\\&/g'`;; #(
7574 *) ac_sed_conf_input
=$configure_input;;
7578 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
7579 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
7584 ac_dir
=`$as_dirname -- "$ac_file" ||
7585 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7586 X"$ac_file" : 'X\(//\)[^/]' \| \
7587 X"$ac_file" : 'X\(//\)$' \| \
7588 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7589 $as_echo X"$ac_file" |
7590 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7607 as_dir
="$ac_dir"; as_fn_mkdir_p
7611 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
7613 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
7614 # A ".." for each directory in $ac_dir_suffix.
7615 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
7616 case $ac_top_builddir_sub in
7617 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
7618 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
7621 ac_abs_top_builddir
=$ac_pwd
7622 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
7623 # for backward compatibility:
7624 ac_top_builddir
=$ac_top_build_prefix
7627 .
) # We are building in place.
7629 ac_top_srcdir
=$ac_top_builddir_sub
7630 ac_abs_top_srcdir
=$ac_pwd ;;
7631 [\\/]* | ?
:[\\/]* ) # Absolute name.
7632 ac_srcdir
=$srcdir$ac_dir_suffix;
7633 ac_top_srcdir
=$srcdir
7634 ac_abs_top_srcdir
=$srcdir ;;
7636 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
7637 ac_top_srcdir
=$ac_top_build_prefix$srcdir
7638 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
7640 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
7650 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
7651 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
7655 [\\/$
]* | ?
:[\\/]* ) ;;
7656 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
7660 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7661 # If the template does not know about datarootdir, expand it.
7662 # FIXME: This hack should be removed a few years after 2.60.
7663 ac_datarootdir_hack
=; ac_datarootdir_seen
=
7674 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
7675 *datarootdir
*) ac_datarootdir_seen
=yes;;
7676 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
7677 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
7678 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
7680 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7681 ac_datarootdir_hack='
7682 s&@datadir@&$datadir&g
7683 s&@docdir@&$docdir&g
7684 s&@infodir@&$infodir&g
7685 s&@localedir@&$localedir&g
7686 s&@mandir@&$mandir&g
7687 s&\\\${datarootdir}&$datarootdir&g' ;;
7691 # Neutralize VPATH when `$srcdir' = `.'.
7692 # Shell code in configure.ac might set extrasub.
7693 # FIXME: do we really want to maintain this feature?
7694 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7695 ac_sed_extra="$ac_vpsub
7698 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7700 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
7701 s|@configure_input@|
$ac_sed_conf_input|
;t t
7702 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
7703 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
7704 s
&@srcdir@
&$ac_srcdir&;t t
7705 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
7706 s
&@top_srcdir@
&$ac_top_srcdir&;t t
7707 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
7708 s
&@builddir@
&$ac_builddir&;t t
7709 s
&@abs_builddir@
&$ac_abs_builddir&;t t
7710 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
7711 s
&@INSTALL@
&$ac_INSTALL&;t t
7712 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
7713 $ac_datarootdir_hack
7715 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
7716 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
7718 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7719 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
7720 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
7721 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
7722 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
7723 which seems to be undefined. Please make sure it is defined" >&5
7724 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
7725 which seems to be undefined. Please make sure it is defined" >&2;}
7727 rm -f "$ac_tmp/stdin"
7729 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
7730 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
7732 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7738 if test x"$ac_file" != x-; then
7740 $as_echo "/* $configure_input */" \
7741 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
7742 } >"$ac_tmp/config.h" \
7743 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7744 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
7745 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
7746 $as_echo "$as_me: $ac_file is unchanged" >&6;}
7749 mv "$ac_tmp/config.h" "$ac_file" \
7750 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7753 $as_echo "/* $configure_input */" \
7754 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
7755 || as_fn_error $? "could not create -" "$LINENO" 5
7757 # Compute "$ac_file"'s index
in $config_headers.
7760 for _am_header
in $config_headers :; do
7762 $_am_arg |
$_am_arg:* )
7765 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
7768 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
7769 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7770 X"$_am_arg" : 'X\(//\)[^/]' \| \
7771 X"$_am_arg" : 'X\(//\)$' \| \
7772 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
7773 $as_echo X"$_am_arg" |
7774 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7790 s/.*/./; q'`/stamp-h
$_am_stamp_count
7793 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
7794 $as_echo "$as_me: executing $ac_file commands" >&6;}
7799 case $ac_file$ac_mode in
7800 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
7801 # Older Autoconf quotes --file arguments for eval, but not when files
7802 # are listed without --file. Let's play safe and only enable the eval
7803 # if we detect the quoting.
7804 case $CONFIG_FILES in
7805 *\'*) eval set x
"$CONFIG_FILES" ;;
7806 *) set x
$CONFIG_FILES ;;
7811 # Strip MF so we end up with the name of the file.
7812 mf
=`echo "$mf" | sed -e 's/:.*$//'`
7813 # Check whether this is an Automake generated Makefile or not.
7814 # We used to match only the files named 'Makefile.in', but
7815 # some people rename them; so instead we look at the file content.
7816 # Grep'ing the first line is not enough: some people post-process
7817 # each Makefile.in and add a new line on top of each file to say so.
7818 # Grep'ing the whole file is not good either: AIX grep has a line
7819 # limit of 2048, but all sed's we know have understand at least 4000.
7820 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
7821 dirpart
=`$as_dirname -- "$mf" ||
7822 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7823 X"$mf" : 'X\(//\)[^/]' \| \
7824 X"$mf" : 'X\(//\)$' \| \
7825 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
7827 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7847 # Extract the definition of DEPDIR, am__include, and am__quote
7848 # from the Makefile without running 'make'.
7849 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
7850 test -z "$DEPDIR" && continue
7851 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
7852 test -z "$am__include" && continue
7853 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
7854 # Find all dependency output files, they are included files with
7855 # $(DEPDIR) in their names. We invoke sed twice because it is the
7856 # simplest approach to changing $(DEPDIR) to its actual value in the
7858 for file in `sed -n "
7859 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
7860 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
7861 # Make sure the directory exists.
7862 test -f "$dirpart/$file" && continue
7863 fdir
=`$as_dirname -- "$file" ||
7864 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7865 X"$file" : 'X\(//\)[^/]' \| \
7866 X"$file" : 'X\(//\)$' \| \
7867 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
7869 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7886 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
7887 # echo "creating $dirpart/$file"
7888 echo '# dummy' > "$dirpart/$file"
7900 ac_clean_files
=$ac_clean_files_save
7902 test $ac_write_fail = 0 ||
7903 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
7906 if test "x$cross_compiling" = xyes
; then :
7907 if test "x$cache_file" != x
/dev
/null
; then :
7908 cache_file
=config.cache
7910 ac_configure_args
="$ac_configure_args --host='$kpse_build_alias' \
7911 CC='$BUILDCC' CFLAGS='$BUILDCFLAGS' \
7912 CPPFLAGS='$BUILDCPPFLAGS' LDFLAGS='$BUILDLDFLAGS'"
7915 # configure is writing to config.log, and then calls config.status.
7916 # config.status does its own redirection, appending to config.log.
7917 # Unfortunately, on DOS this fails, as config.log is still kept open
7918 # by configure, so config.status won't be able to write to it; its
7919 # output is simply discarded. So we exec the FD to /dev/null,
7920 # effectively closing config.log, so it can be properly (re)opened and
7921 # appended to by config.status. When coming back to configure, we
7922 # need to make the FD available again.
7923 if test "$no_create" != yes; then
7925 ac_config_status_args
=
7926 test "$silent" = yes &&
7927 ac_config_status_args
="$ac_config_status_args --quiet"
7929 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
7931 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7932 # would make configure fail if this is the last instruction.
7933 $ac_cs_success || as_fn_exit
1
7937 # CONFIG_SUBDIRS section.
7939 if test "$no_recursion" != yes; then
7941 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
7942 # so they do not pile up.
7943 ac_sub_configure_args
=
7945 eval "set x $ac_configure_args"
7949 if test -n "$ac_prev"; then
7954 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
7955 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
7956 ac_prev
=cache_file
;;
7957 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
7958 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
7961 --config-cache |
-C)
7963 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
7965 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
7967 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
7969 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
7971 --disable-option-checking)
7975 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7977 as_fn_append ac_sub_configure_args
" '$ac_arg'" ;;
7981 # Always prepend --prefix to ensure using the same prefix
7982 # in subdir configurations.
7983 ac_arg
="--prefix=$prefix"
7985 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7987 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
7990 if test "$silent" = yes; then
7991 ac_sub_configure_args
="--silent $ac_sub_configure_args"
7994 # Always prepend --disable-option-checking to silence warnings, since
7995 # different subdirs can have different --enable and --with options.
7996 ac_sub_configure_args
="--disable-option-checking $ac_sub_configure_args"
7999 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
8001 # Do not complain, so a configure script can configure whichever
8002 # parts of a large source tree are present.
8003 test -d "$srcdir/$ac_dir" ||
continue
8005 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
8006 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
8007 $as_echo "$ac_msg" >&6
8008 as_dir
="$ac_dir"; as_fn_mkdir_p
8012 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
8014 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
8015 # A ".." for each directory in $ac_dir_suffix.
8016 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
8017 case $ac_top_builddir_sub in
8018 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
8019 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
8022 ac_abs_top_builddir
=$ac_pwd
8023 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
8024 # for backward compatibility:
8025 ac_top_builddir
=$ac_top_build_prefix
8028 .
) # We are building in place.
8030 ac_top_srcdir
=$ac_top_builddir_sub
8031 ac_abs_top_srcdir
=$ac_pwd ;;
8032 [\\/]* | ?
:[\\/]* ) # Absolute name.
8033 ac_srcdir
=$srcdir$ac_dir_suffix;
8034 ac_top_srcdir
=$srcdir
8035 ac_abs_top_srcdir
=$srcdir ;;
8037 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
8038 ac_top_srcdir
=$ac_top_build_prefix$srcdir
8039 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
8041 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
8046 # Check for guested configure; otherwise get Cygnus style configure.
8047 if test -f "$ac_srcdir/configure.gnu"; then
8048 ac_sub_configure
=$ac_srcdir/configure.gnu
8049 elif test -f "$ac_srcdir/configure"; then
8050 ac_sub_configure
=$ac_srcdir/configure
8051 elif test -f "$ac_srcdir/configure.in"; then
8052 # This should be Cygnus configure.
8053 ac_sub_configure
=$ac_aux_dir/configure
8055 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
8056 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
8060 # The recursion is here.
8061 if test -n "$ac_sub_configure"; then
8062 # Make the cache file name correct relative to the subdirectory.
8064 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
8066 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
8069 { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
8070 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
8071 # The eval makes quoting arguments work.
8072 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
8073 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
8074 as_fn_error $?
"$ac_sub_configure failed for $ac_dir" "$LINENO" 5
8080 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
8081 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
8082 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}