2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for mpfr (TeX Live) 3.1.3.
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
='mpfr (TeX Live)'
582 PACKAGE_TARNAME
='mpfr--tex-live-'
583 PACKAGE_VERSION
='3.1.3'
584 PACKAGE_STRING
='mpfr (TeX Live) 3.1.3'
585 PACKAGE_BUGREPORT
='tex-k@tug.org'
588 ac_unique_file
="mpfr-3.1.3/src/mpfr.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 ac_subst_vars
='am__EXEEXT_FALSE
671 MAINTAINER_MODE_FALSE
685 INSTALL_STRIP_PROGRAM
727 program_transform_name
740 enable_option_checking
742 enable_maintainer_mode
743 enable_dependency_tracking
744 enable_compiler_warnings
749 ac_precious_vars
='build_alias
760 # Initialize some variables set by options.
762 ac_init_version
=false
763 ac_unrecognized_opts
=
765 # The variables have the same names as the options, with
766 # dashes changed to underlines.
774 program_transform_name
=s
,x
,x
,
782 # Installation directory options.
783 # These are left unexpanded so users can "make install exec_prefix=/foo"
784 # and all the variables that are supposed to be based on exec_prefix
785 # by default will actually change.
786 # Use braces instead of parens because sh, perl, etc. also accept them.
787 # (The list follows the same order as the GNU Coding Standards.)
788 bindir
='${exec_prefix}/bin'
789 sbindir
='${exec_prefix}/sbin'
790 libexecdir
='${exec_prefix}/libexec'
791 datarootdir
='${prefix}/share'
792 datadir
='${datarootdir}'
793 sysconfdir
='${prefix}/etc'
794 sharedstatedir
='${prefix}/com'
795 localstatedir
='${prefix}/var'
796 includedir
='${prefix}/include'
797 oldincludedir
='/usr/include'
798 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
799 infodir
='${datarootdir}/info'
804 libdir
='${exec_prefix}/lib'
805 localedir
='${datarootdir}/locale'
806 mandir
='${datarootdir}/man'
812 # If the previous option needs an argument, assign it.
813 if test -n "$ac_prev"; then
814 eval $ac_prev=\
$ac_option
820 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
825 # Accept the important Cygnus configure options, so we can diagnose typos.
827 case $ac_dashdash$ac_option in
831 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
833 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
836 -build |
--build |
--buil |
--bui |
--bu)
837 ac_prev
=build_alias
;;
838 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
839 build_alias
=$ac_optarg ;;
841 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
842 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
843 ac_prev
=cache_file
;;
844 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
845 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
846 cache_file
=$ac_optarg ;;
849 cache_file
=config.cache
;;
851 -datadir |
--datadir |
--datadi |
--datad)
853 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
854 datadir
=$ac_optarg ;;
856 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
857 |
--dataroo |
--dataro |
--datar)
858 ac_prev
=datarootdir
;;
859 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
860 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
861 datarootdir
=$ac_optarg ;;
863 -disable-* |
--disable-*)
864 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
865 # Reject names that are not valid shell variable names.
866 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
867 as_fn_error $?
"invalid feature name: $ac_useropt"
868 ac_useropt_orig
=$ac_useropt
869 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
870 case $ac_user_opts in
874 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
875 ac_unrecognized_sep
=', ';;
877 eval enable_
$ac_useropt=no
;;
879 -docdir |
--docdir |
--docdi |
--doc |
--do)
881 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
884 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
886 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
889 -enable-* |
--enable-*)
890 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
891 # Reject names that are not valid shell variable names.
892 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
893 as_fn_error $?
"invalid feature name: $ac_useropt"
894 ac_useropt_orig
=$ac_useropt
895 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
896 case $ac_user_opts in
900 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
901 ac_unrecognized_sep
=', ';;
903 eval enable_
$ac_useropt=\
$ac_optarg ;;
905 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
906 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
907 |
--exec |
--exe |
--ex)
908 ac_prev
=exec_prefix
;;
909 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
910 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
911 |
--exec=* |
--exe=* |
--ex=*)
912 exec_prefix
=$ac_optarg ;;
914 -gas |
--gas |
--ga |
--g)
915 # Obsolete; use --with-gas.
918 -help |
--help |
--hel |
--he |
-h)
920 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
921 ac_init_help
=recursive
;;
922 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
923 ac_init_help
=short
;;
925 -host |
--host |
--hos |
--ho)
926 ac_prev
=host_alias
;;
927 -host=* |
--host=* |
--hos=* |
--ho=*)
928 host_alias
=$ac_optarg ;;
930 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
932 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
934 htmldir
=$ac_optarg ;;
936 -includedir |
--includedir |
--includedi |
--included |
--include \
937 |
--includ |
--inclu |
--incl |
--inc)
938 ac_prev
=includedir
;;
939 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
940 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
941 includedir
=$ac_optarg ;;
943 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
945 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
946 infodir
=$ac_optarg ;;
948 -libdir |
--libdir |
--libdi |
--libd)
950 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
953 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
954 |
--libexe |
--libex |
--libe)
955 ac_prev
=libexecdir
;;
956 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
957 |
--libexe=* |
--libex=* |
--libe=*)
958 libexecdir
=$ac_optarg ;;
960 -localedir |
--localedir |
--localedi |
--localed |
--locale)
962 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
963 localedir
=$ac_optarg ;;
965 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
966 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
967 ac_prev
=localstatedir
;;
968 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
969 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
970 localstatedir
=$ac_optarg ;;
972 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
974 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
978 # Obsolete; use --without-fp.
981 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
982 |
--no-cr |
--no-c |
-n)
985 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
986 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
989 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
990 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
991 |
--oldin |
--oldi |
--old |
--ol |
--o)
992 ac_prev
=oldincludedir
;;
993 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
994 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
995 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
996 oldincludedir
=$ac_optarg ;;
998 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1000 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1001 prefix
=$ac_optarg ;;
1003 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1004 |
--program-pre |
--program-pr |
--program-p)
1005 ac_prev
=program_prefix
;;
1006 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1007 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1008 program_prefix
=$ac_optarg ;;
1010 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1011 |
--program-suf |
--program-su |
--program-s)
1012 ac_prev
=program_suffix
;;
1013 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1014 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1015 program_suffix
=$ac_optarg ;;
1017 -program-transform-name |
--program-transform-name \
1018 |
--program-transform-nam |
--program-transform-na \
1019 |
--program-transform-n |
--program-transform- \
1020 |
--program-transform |
--program-transfor \
1021 |
--program-transfo |
--program-transf \
1022 |
--program-trans |
--program-tran \
1023 |
--progr-tra |
--program-tr |
--program-t)
1024 ac_prev
=program_transform_name
;;
1025 -program-transform-name=* |
--program-transform-name=* \
1026 |
--program-transform-nam=* |
--program-transform-na=* \
1027 |
--program-transform-n=* |
--program-transform-=* \
1028 |
--program-transform=* |
--program-transfor=* \
1029 |
--program-transfo=* |
--program-transf=* \
1030 |
--program-trans=* |
--program-tran=* \
1031 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1032 program_transform_name
=$ac_optarg ;;
1034 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1036 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1037 pdfdir
=$ac_optarg ;;
1039 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1041 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1044 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1045 |
-silent |
--silent |
--silen |
--sile |
--sil)
1048 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1050 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1052 sbindir
=$ac_optarg ;;
1054 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1055 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1056 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1058 ac_prev
=sharedstatedir
;;
1059 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1060 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1061 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1063 sharedstatedir
=$ac_optarg ;;
1065 -site |
--site |
--sit)
1067 -site=* |
--site=* |
--sit=*)
1070 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1072 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1073 srcdir
=$ac_optarg ;;
1075 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1076 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1077 ac_prev
=sysconfdir
;;
1078 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1079 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1080 sysconfdir
=$ac_optarg ;;
1082 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1083 ac_prev
=target_alias
;;
1084 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1085 target_alias
=$ac_optarg ;;
1087 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1090 -version |
--version |
--versio |
--versi |
--vers |
-V)
1091 ac_init_version
=: ;;
1094 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1095 # Reject names that are not valid shell variable names.
1096 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1097 as_fn_error $?
"invalid package name: $ac_useropt"
1098 ac_useropt_orig
=$ac_useropt
1099 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1100 case $ac_user_opts in
1104 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1105 ac_unrecognized_sep
=', ';;
1107 eval with_
$ac_useropt=\
$ac_optarg ;;
1109 -without-* |
--without-*)
1110 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1111 # Reject names that are not valid shell variable names.
1112 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1113 as_fn_error $?
"invalid package name: $ac_useropt"
1114 ac_useropt_orig
=$ac_useropt
1115 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1116 case $ac_user_opts in
1120 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1121 ac_unrecognized_sep
=', ';;
1123 eval with_
$ac_useropt=no
;;
1126 # Obsolete; use --with-x.
1129 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1130 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1131 ac_prev
=x_includes
;;
1132 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1133 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1134 x_includes
=$ac_optarg ;;
1136 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1137 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1138 ac_prev
=x_libraries
;;
1139 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1140 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1141 x_libraries
=$ac_optarg ;;
1143 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1144 Try \`$0 --help' for more information"
1148 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1149 # Reject names that are not valid shell variable names.
1150 case $ac_envvar in #(
1151 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1152 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1154 eval $ac_envvar=\
$ac_optarg
1155 export $ac_envvar ;;
1158 # FIXME: should be removed in autoconf 3.0.
1159 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1160 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1161 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1162 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1168 if test -n "$ac_prev"; then
1169 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1170 as_fn_error $?
"missing argument to $ac_option"
1173 if test -n "$ac_unrecognized_opts"; then
1174 case $enable_option_checking in
1176 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1177 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1181 # Check all directory arguments for consistency.
1182 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1183 datadir sysconfdir sharedstatedir localstatedir includedir \
1184 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1185 libdir localedir mandir
1187 eval ac_val
=\$
$ac_var
1188 # Remove trailing slashes.
1191 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1192 eval $ac_var=\
$ac_val;;
1194 # Be sure to have absolute directory names.
1196 [\\/$
]* | ?
:[\\/]* ) continue;;
1197 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1199 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1202 # There might be people who depend on the old broken behavior: `$host'
1203 # used to hold the argument of --host etc.
1204 # FIXME: To remove some day.
1207 target
=$target_alias
1209 # FIXME: To remove some day.
1210 if test "x$host_alias" != x
; then
1211 if test "x$build_alias" = x
; then
1212 cross_compiling
=maybe
1213 elif test "x$build_alias" != "x$host_alias"; then
1219 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1221 test "$silent" = yes && exec 6>/dev
/null
1224 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1225 ac_ls_di
=`ls -di .` &&
1226 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1227 as_fn_error $?
"working directory cannot be determined"
1228 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1229 as_fn_error $?
"pwd does not report name of working directory"
1232 # Find the source files, if location was not specified.
1233 if test -z "$srcdir"; then
1234 ac_srcdir_defaulted
=yes
1235 # Try the directory containing this script, then the parent directory.
1236 ac_confdir
=`$as_dirname -- "$as_myself" ||
1237 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1238 X"$as_myself" : 'X\(//\)[^/]' \| \
1239 X"$as_myself" : 'X\(//\)$' \| \
1240 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1241 $as_echo X"$as_myself" |
1242 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1260 if test ! -r "$srcdir/$ac_unique_file"; then
1264 ac_srcdir_defaulted
=no
1266 if test ! -r "$srcdir/$ac_unique_file"; then
1267 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1268 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1270 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1272 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1274 # When building in place, set srcdir=.
1275 if test "$ac_abs_confdir" = "$ac_pwd"; then
1278 # Remove unnecessary trailing slashes from srcdir.
1279 # Double slashes in file names in object file debugging info
1280 # mess up M-x gdb in Emacs.
1282 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1284 for ac_var
in $ac_precious_vars; do
1285 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1286 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1287 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1288 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1292 # Report the --help message.
1294 if test "$ac_init_help" = "long"; then
1295 # Omit some internal or obsolete options to make the list less imposing.
1296 # This message is too long to be a string in the A/UX 3.1 sh.
1298 \`configure' configures mpfr (TeX Live) 3.1.3 to adapt to many kinds of systems.
1300 Usage: $0 [OPTION]... [VAR=VALUE]...
1302 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1303 VAR=VALUE. See below for descriptions of some of the useful variables.
1305 Defaults for the options are specified in brackets.
1308 -h, --help display this help and exit
1309 --help=short display options specific to this package
1310 --help=recursive display the short help of all the included packages
1311 -V, --version display version information and exit
1312 -q, --quiet, --silent do not print \`checking ...' messages
1313 --cache-file=FILE cache test results in FILE [disabled]
1314 -C, --config-cache alias for \`--cache-file=config.cache'
1315 -n, --no-create do not create output files
1316 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1318 Installation directories:
1319 --prefix=PREFIX install architecture-independent files in PREFIX
1320 [$ac_default_prefix]
1321 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1324 By default, \`make install' will install all the files in
1325 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1326 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1327 for instance \`--prefix=\$HOME'.
1329 For better control, use the options below.
1331 Fine tuning of the installation directories:
1332 --bindir=DIR user executables [EPREFIX/bin]
1333 --sbindir=DIR system admin executables [EPREFIX/sbin]
1334 --libexecdir=DIR program executables [EPREFIX/libexec]
1335 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1336 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1337 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1338 --libdir=DIR object code libraries [EPREFIX/lib]
1339 --includedir=DIR C header files [PREFIX/include]
1340 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1341 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1342 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1343 --infodir=DIR info documentation [DATAROOTDIR/info]
1344 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1345 --mandir=DIR man documentation [DATAROOTDIR/man]
1346 --docdir=DIR documentation root [DATAROOTDIR/doc/mpfr--tex-live-]
1347 --htmldir=DIR html documentation [DOCDIR]
1348 --dvidir=DIR dvi documentation [DOCDIR]
1349 --pdfdir=DIR pdf documentation [DOCDIR]
1350 --psdir=DIR ps documentation [DOCDIR]
1356 --program-prefix=PREFIX prepend PREFIX to installed program names
1357 --program-suffix=SUFFIX append SUFFIX to installed program names
1358 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1361 --build=BUILD configure
for building on BUILD
[guessed
]
1362 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1366 if test -n "$ac_init_help"; then
1367 case $ac_init_help in
1368 short | recursive
) echo "Configuration of mpfr (TeX Live) 3.1.3:";;
1373 --disable-option-checking ignore unrecognized
--enable/--with options
1374 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1375 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1376 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1377 --disable-silent-rules verbose build output
(undo
: "make V=0")
1378 --enable-maintainer-mode
1379 enable make rules and dependencies not useful
(and
1380 sometimes confusing
) to the casual installer
1381 --enable-dependency-tracking
1382 do not reject slow dependency extractors
1383 --disable-dependency-tracking
1384 speeds up one-time build
1385 --enable-compiler-warnings=[no|min|
yes|max|all
]
1386 Turn on compiler warnings
[default
: yes if
1387 maintainer-mode
, min otherwise
]
1390 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1391 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1392 --with-system-gmp use installed gmp headers and library
1393 --with-gmp-includes=DIR gmp headers installed
in DIR
1394 --with-gmp-libdir=DIR gmp library installed
in DIR
1396 Some influential environment variables
:
1397 CC C compiler
command
1398 CFLAGS C compiler flags
1399 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1400 nonstandard directory
<lib dir
>
1401 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1402 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1403 you have headers
in a nonstandard directory
<include dir
>
1406 Use these variables to override the choices made by
`configure' or to help
1407 it to find libraries and programs with nonstandard names/locations.
1409 Report bugs to <tex-k@tug.org>.
1414 if test "$ac_init_help" = "recursive"; then
1415 # If there are subdirs, report their specific --help.
1416 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1417 test -d "$ac_dir" ||
1418 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1423 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1425 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1426 # A ".." for each directory in $ac_dir_suffix.
1427 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1428 case $ac_top_builddir_sub in
1429 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1430 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1433 ac_abs_top_builddir=$ac_pwd
1434 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1435 # for backward compatibility:
1436 ac_top_builddir=$ac_top_build_prefix
1439 .) # We are building in place.
1441 ac_top_srcdir=$ac_top_builddir_sub
1442 ac_abs_top_srcdir=$ac_pwd ;;
1443 [\\/]* | ?:[\\/]* ) # Absolute name.
1444 ac_srcdir=$srcdir$ac_dir_suffix;
1445 ac_top_srcdir=$srcdir
1446 ac_abs_top_srcdir=$srcdir ;;
1448 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1449 ac_top_srcdir=$ac_top_build_prefix$srcdir
1450 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1452 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1454 cd "$ac_dir" || { ac_status=$?; continue; }
1455 # Check for guested configure.
1456 if test -f "$ac_srcdir/configure.gnu"; then
1458 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1459 elif test -f "$ac_srcdir/configure"; then
1461 $SHELL "$ac_srcdir/configure" --help=recursive
1463 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1465 cd "$ac_pwd" || { ac_status=$?; break; }
1469 test -n "$ac_init_help" && exit $ac_status
1470 if $ac_init_version; then
1472 mpfr (TeX Live) configure 3.1.3
1473 generated by GNU Autoconf 2.69
1475 Copyright (C) 2012 Free Software Foundation, Inc.
1476 This configure script is free software; the Free Software Foundation
1477 gives unlimited permission to copy, distribute and modify it.
1482 ## ------------------------ ##
1483 ## Autoconf initialization. ##
1484 ## ------------------------ ##
1486 # ac_fn_c_try_compile LINENO
1487 # --------------------------
1488 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1489 ac_fn_c_try_compile ()
1491 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1492 rm -f conftest.$ac_objext
1493 if { { ac_try="$ac_compile"
1495 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1496 *) ac_try_echo
=$ac_try;;
1498 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1499 $as_echo "$ac_try_echo"; } >&5
1500 (eval "$ac_compile") 2>conftest.err
1502 if test -s conftest.err
; then
1503 grep -v '^ *+' conftest.err
>conftest.er1
1504 cat conftest.er1
>&5
1505 mv -f conftest.er1 conftest.err
1507 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1508 test $ac_status = 0; } && {
1509 test -z "$ac_c_werror_flag" ||
1510 test ! -s conftest.err
1511 } && test -s conftest.
$ac_objext; then :
1514 $as_echo "$as_me: failed program was:" >&5
1515 sed 's/^/| /' conftest.
$ac_ext >&5
1519 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1520 as_fn_set_status
$ac_retval
1522 } # ac_fn_c_try_compile
1524 # ac_fn_c_try_link LINENO
1525 # -----------------------
1526 # Try to link conftest.$ac_ext, and return whether this succeeded.
1529 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1530 rm -f conftest.
$ac_objext conftest
$ac_exeext
1531 if { { ac_try
="$ac_link"
1533 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1534 *) ac_try_echo=$ac_try;;
1536 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1537 $as_echo "$ac_try_echo"; } >&5
1538 (eval "$ac_link") 2>conftest.err
1540 if test -s conftest.err; then
1541 grep -v '^ *+' conftest.err >conftest.er1
1542 cat conftest.er1 >&5
1543 mv -f conftest.er1 conftest.err
1545 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1546 test $ac_status = 0; } && {
1547 test -z "$ac_c_werror_flag" ||
1548 test ! -s conftest.err
1549 } && test -s conftest$ac_exeext && {
1550 test "$cross_compiling" = yes ||
1551 test -x conftest$ac_exeext
1555 $as_echo "$as_me: failed program was:" >&5
1556 sed 's/^/| /' conftest.$ac_ext >&5
1560 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1561 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1562 # interfere with the next link command; also delete a directory that is
1563 # left behind by Apple's compiler. We do this before executing the actions.
1564 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1565 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1566 as_fn_set_status $ac_retval
1568 } # ac_fn_c_try_link
1570 # ac_fn_c_try_cpp LINENO
1571 # ----------------------
1572 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1575 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1576 if { { ac_try="$ac_cpp conftest.$ac_ext"
1578 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1579 *) ac_try_echo
=$ac_try;;
1581 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1582 $as_echo "$ac_try_echo"; } >&5
1583 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1585 if test -s conftest.err
; then
1586 grep -v '^ *+' conftest.err
>conftest.er1
1587 cat conftest.er1
>&5
1588 mv -f conftest.er1 conftest.err
1590 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1591 test $ac_status = 0; } > conftest.i
&& {
1592 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1593 test ! -s conftest.err
1597 $as_echo "$as_me: failed program was:" >&5
1598 sed 's/^/| /' conftest.
$ac_ext >&5
1602 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1603 as_fn_set_status
$ac_retval
1607 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1608 # -------------------------------------------------------
1609 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1610 # the include files in INCLUDES and setting the cache variable VAR
1612 ac_fn_c_check_header_mongrel
()
1614 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1615 if eval \
${$3+:} false
; then :
1616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1617 $as_echo_n "checking for $2... " >&6; }
1618 if eval \
${$3+:} false
; then :
1619 $as_echo_n "(cached) " >&6
1622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1623 $as_echo "$ac_res" >&6; }
1625 # Is the header compilable?
1626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1627 $as_echo_n "checking $2 usability... " >&6; }
1628 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1629 /* end confdefs.h. */
1633 if ac_fn_c_try_compile
"$LINENO"; then :
1634 ac_header_compiler
=yes
1636 ac_header_compiler
=no
1638 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1640 $as_echo "$ac_header_compiler" >&6; }
1642 # Is the header present?
1643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1644 $as_echo_n "checking $2 presence... " >&6; }
1645 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1646 /* end confdefs.h. */
1649 if ac_fn_c_try_cpp
"$LINENO"; then :
1650 ac_header_preproc
=yes
1652 ac_header_preproc
=no
1654 rm -f conftest.err conftest.i conftest.
$ac_ext
1655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1656 $as_echo "$ac_header_preproc" >&6; }
1658 # So? What about this header?
1659 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1661 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1662 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1663 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1664 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1667 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1668 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1669 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1670 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1671 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1672 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1673 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1674 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1675 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1676 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1677 ( $as_echo "## ---------------------------- ##
1678 ## Report this to tex-k@tug.org ##
1679 ## ---------------------------- ##"
1680 ) |
sed "s/^/$as_me: WARNING: /" >&2
1683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1684 $as_echo_n "checking for $2... " >&6; }
1685 if eval \
${$3+:} false
; then :
1686 $as_echo_n "(cached) " >&6
1688 eval "$3=\$ac_header_compiler"
1691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1692 $as_echo "$ac_res" >&6; }
1694 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1696 } # ac_fn_c_check_header_mongrel
1698 # ac_fn_c_try_run LINENO
1699 # ----------------------
1700 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1701 # that executables *can* be run.
1704 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1705 if { { ac_try
="$ac_link"
1707 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1708 *) ac_try_echo=$ac_try;;
1710 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1711 $as_echo "$ac_try_echo"; } >&5
1712 (eval "$ac_link") 2>&5
1714 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1715 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1716 { { case "(($ac_try" in
1717 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1718 *) ac_try_echo
=$ac_try;;
1720 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1721 $as_echo "$ac_try_echo"; } >&5
1722 (eval "$ac_try") 2>&5
1724 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1725 test $ac_status = 0; }; }; then :
1728 $as_echo "$as_me: program exited with status $ac_status" >&5
1729 $as_echo "$as_me: failed program was:" >&5
1730 sed 's/^/| /' conftest.
$ac_ext >&5
1732 ac_retval
=$ac_status
1734 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1735 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1736 as_fn_set_status
$ac_retval
1740 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1741 # -------------------------------------------------------
1742 # Tests whether HEADER exists and can be compiled using the include files in
1743 # INCLUDES, setting the cache variable VAR accordingly.
1744 ac_fn_c_check_header_compile
()
1746 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1748 $as_echo_n "checking for $2... " >&6; }
1749 if eval \
${$3+:} false
; then :
1750 $as_echo_n "(cached) " >&6
1752 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1753 /* end confdefs.h. */
1757 if ac_fn_c_try_compile
"$LINENO"; then :
1762 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1766 $as_echo "$ac_res" >&6; }
1767 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1769 } # ac_fn_c_check_header_compile
1771 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1772 # -------------------------------------------
1773 # Tests whether TYPE exists after having included INCLUDES, setting cache
1774 # variable VAR accordingly.
1775 ac_fn_c_check_type
()
1777 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1779 $as_echo_n "checking for $2... " >&6; }
1780 if eval \
${$3+:} false
; then :
1781 $as_echo_n "(cached) " >&6
1784 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1785 /* end confdefs.h. */
1796 if ac_fn_c_try_compile
"$LINENO"; then :
1797 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1798 /* end confdefs.h. */
1809 if ac_fn_c_try_compile
"$LINENO"; then :
1814 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1816 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1820 $as_echo "$ac_res" >&6; }
1821 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1823 } # ac_fn_c_check_type
1825 # ac_fn_c_check_func LINENO FUNC VAR
1826 # ----------------------------------
1827 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1828 ac_fn_c_check_func
()
1830 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1832 $as_echo_n "checking for $2... " >&6; }
1833 if eval \
${$3+:} false
; then :
1834 $as_echo_n "(cached) " >&6
1836 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1837 /* end confdefs.h. */
1838 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1839 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1840 #define $2 innocuous_$2
1842 /* System header to define __stub macros and hopefully few prototypes,
1843 which can conflict with char $2 (); below.
1844 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1845 <limits.h> exists even on freestanding compilers. */
1848 # include <limits.h>
1850 # include <assert.h>
1855 /* Override any GCC internal prototype to avoid an error.
1856 Use char because int might match the return type of a GCC
1857 builtin and then its argument prototype would still apply. */
1862 /* The GNU C library defines this for functions which it implements
1863 to always fail with ENOSYS. Some functions are actually named
1864 something starting with __ and the normal name is an alias. */
1865 #if defined __stub_$2 || defined __stub___$2
1877 if ac_fn_c_try_link
"$LINENO"; then :
1882 rm -f core conftest.err conftest.
$ac_objext \
1883 conftest
$ac_exeext conftest.
$ac_ext
1886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1887 $as_echo "$ac_res" >&6; }
1888 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1890 } # ac_fn_c_check_func
1892 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1893 # ---------------------------------------------
1894 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1896 ac_fn_c_check_decl
()
1898 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1899 as_decl_name
=`echo $2|sed 's/ *(.*//'`
1900 as_decl_use
=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1902 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1903 if eval \
${$3+:} false
; then :
1904 $as_echo_n "(cached) " >&6
1906 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1907 /* end confdefs.h. */
1912 #ifndef $as_decl_name
1914 (void) $as_decl_use;
1916 (void) $as_decl_name;
1924 if ac_fn_c_try_compile
"$LINENO"; then :
1929 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1933 $as_echo "$ac_res" >&6; }
1934 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1936 } # ac_fn_c_check_decl
1937 cat >config.log
<<_ACEOF
1938 This file contains any messages produced by compilers while
1939 running configure, to aid debugging if configure makes a mistake.
1941 It was created by mpfr (TeX Live) $as_me 3.1.3, which was
1942 generated by GNU Autoconf 2.69. Invocation command line was
1954 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1955 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1956 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1957 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1958 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1960 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1961 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1963 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1964 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1965 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1966 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1967 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1968 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1969 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1973 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1977 test -z "$as_dir" && as_dir
=.
1978 $as_echo "PATH: $as_dir"
1994 # Keep a trace of the command line.
1995 # Strip out --no-create and --no-recursion so they do not pile up.
1996 # Strip out --silent because we don't want to record it for future runs.
1997 # Also quote any args containing shell meta-characters.
1998 # Make two passes to allow for proper duplicate-argument suppression.
2002 ac_must_keep_next
=false
2008 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2009 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2010 |
-silent |
--silent |
--silen |
--sile |
--sil)
2013 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2016 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2018 as_fn_append ac_configure_args1
" '$ac_arg'"
2019 if test $ac_must_keep_next = true
; then
2020 ac_must_keep_next
=false
# Got value, back to normal.
2023 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2024 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2025 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2026 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2027 case "$ac_configure_args0 " in
2028 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2031 -* ) ac_must_keep_next
=true
;;
2034 as_fn_append ac_configure_args
" '$ac_arg'"
2039 { ac_configure_args0
=; unset ac_configure_args0
;}
2040 { ac_configure_args1
=; unset ac_configure_args1
;}
2042 # When interrupted or exit'd, cleanup temporary files, and complete
2043 # config.log. We remove comments because anyway the quotes in there
2044 # would cause problems or look ugly.
2045 # WARNING: Use '\'' to represent an apostrophe within the trap.
2046 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2047 trap 'exit_status=$?
2048 # Save into config.log some information that might help in debugging.
2052 $as_echo "## ---------------- ##
2053 ## Cache variables. ##
2054 ## ---------------- ##"
2056 # The following way of writing the cache mishandles newlines in values,
2058 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2059 eval ac_val=\$$ac_var
2063 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2064 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2067 _ | IFS | as_nl) ;; #(
2068 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2069 *) { eval $ac_var=; unset $ac_var;} ;;
2074 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2075 *${as_nl}ac_space=\ *)
2077 "s/'\''/'\''\\\\'\'''\''/g;
2078 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2081 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2088 $as_echo "## ----------------- ##
2089 ## Output variables. ##
2090 ## ----------------- ##"
2092 for ac_var in $ac_subst_vars
2094 eval ac_val=\$$ac_var
2096 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2098 $as_echo "$ac_var='\''$ac_val'\''"
2102 if test -n "$ac_subst_files"; then
2103 $as_echo "## ------------------- ##
2104 ## File substitutions. ##
2105 ## ------------------- ##"
2107 for ac_var
in $ac_subst_files
2109 eval ac_val
=\$
$ac_var
2111 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2113 $as_echo "$ac_var='\''$ac_val'\''"
2118 if test -s confdefs.h; then
2119 $as_echo "## ----------- ##
2126 test "$ac_signal" != 0 &&
2127 $as_echo "$as_me: caught signal $ac_signal"
2128 $as_echo "$as_me: exit $exit_status"
2130 rm -f core *.core core.conftest.* &&
2131 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2134 for ac_signal
in 1 2 13 15; do
2135 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2139 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2140 rm -f -r conftest
* confdefs.h
2142 $as_echo "/* confdefs.h */" > confdefs.h
2144 # Predefined preprocessor variables.
2146 cat >>confdefs.h
<<_ACEOF
2147 #define PACKAGE_NAME "$PACKAGE_NAME"
2150 cat >>confdefs.h
<<_ACEOF
2151 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2154 cat >>confdefs.h
<<_ACEOF
2155 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2158 cat >>confdefs.h
<<_ACEOF
2159 #define PACKAGE_STRING "$PACKAGE_STRING"
2162 cat >>confdefs.h
<<_ACEOF
2163 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2166 cat >>confdefs.h
<<_ACEOF
2167 #define PACKAGE_URL "$PACKAGE_URL"
2171 # Let the site file select an alternate cache file if it wants to.
2172 # Prefer an explicitly selected file to automatically selected ones.
2175 if test -n "$CONFIG_SITE"; then
2176 # We do not want a PATH search for config.site.
2177 case $CONFIG_SITE in #((
2178 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2179 */*) ac_site_file1
=$CONFIG_SITE;;
2180 *) ac_site_file1
=.
/$CONFIG_SITE;;
2182 elif test "x$prefix" != xNONE
; then
2183 ac_site_file1
=$prefix/share
/config.site
2184 ac_site_file2
=$prefix/etc
/config.site
2186 ac_site_file1
=$ac_default_prefix/share
/config.site
2187 ac_site_file2
=$ac_default_prefix/etc
/config.site
2189 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2191 test "x$ac_site_file" = xNONE
&& continue
2192 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2193 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2194 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2195 sed 's/^/| /' "$ac_site_file" >&5
2197 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2198 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2199 as_fn_error $?
"failed to load site script $ac_site_file
2200 See \`config.log' for more details" "$LINENO" 5; }
2204 if test -r "$cache_file"; then
2205 # Some versions of bash will fail to source /dev/null (special files
2206 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2207 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2208 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2209 $as_echo "$as_me: loading cache $cache_file" >&6;}
2211 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2212 *) .
"./$cache_file";;
2216 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2217 $as_echo "$as_me: creating cache $cache_file" >&6;}
2221 # Check that the precious variables saved in the cache have kept the same
2223 ac_cache_corrupted
=false
2224 for ac_var
in $ac_precious_vars; do
2225 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2226 eval ac_new_set
=\
$ac_env_${ac_var}_set
2227 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2228 eval ac_new_val
=\
$ac_env_${ac_var}_value
2229 case $ac_old_set,$ac_new_set in
2231 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2232 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2233 ac_cache_corrupted
=: ;;
2235 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2236 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2237 ac_cache_corrupted
=: ;;
2240 if test "x$ac_old_val" != "x$ac_new_val"; then
2241 # differences in whitespace do not lead to failure.
2242 ac_old_val_w
=`echo x $ac_old_val`
2243 ac_new_val_w
=`echo x $ac_new_val`
2244 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2245 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2246 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2247 ac_cache_corrupted
=:
2249 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2250 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2251 eval $ac_var=\
$ac_old_val
2253 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2254 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2255 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2256 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2259 # Pass precious variables to config.status.
2260 if test "$ac_new_set" = set; then
2262 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2263 *) ac_arg
=$ac_var=$ac_new_val ;;
2265 case " $ac_configure_args " in
2266 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2267 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2271 if $ac_cache_corrupted; then
2272 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2273 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2274 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2275 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2276 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2278 ## -------------------- ##
2279 ## Main body of script. ##
2280 ## -------------------- ##
2283 ac_cpp
='$CPP $CPPFLAGS'
2284 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2285 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2286 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2292 for ac_dir
in ..
/..
/build-aux
"$srcdir"/..
/..
/build-aux
; do
2293 if test -f "$ac_dir/install-sh"; then
2295 ac_install_sh
="$ac_aux_dir/install-sh -c"
2297 elif test -f "$ac_dir/install.sh"; then
2299 ac_install_sh
="$ac_aux_dir/install.sh -c"
2301 elif test -f "$ac_dir/shtool"; then
2303 ac_install_sh
="$ac_aux_dir/shtool install -c"
2307 if test -z "$ac_aux_dir"; then
2308 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in ../../build-aux \"$srcdir\"/../../build-aux" "$LINENO" 5
2311 # These three variables are undocumented and unsupported,
2312 # and are intended to be withdrawn in a future Autoconf release.
2313 # They can cause serious problems if a builder's source tree is in a directory
2314 # whose full name contains unusual characters.
2315 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2316 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2317 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2322 am__api_version
='1.15'
2324 # Find a good install program. We prefer a C program (faster),
2325 # so one script is as good as another. But avoid the broken or
2326 # incompatible versions:
2327 # SysV /etc/install, /usr/sbin/install
2328 # SunOS /usr/etc/install
2329 # IRIX /sbin/install
2331 # AmigaOS /C/install, which installs bootblocks on floppy discs
2332 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2333 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2334 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2335 # OS/2's system install, which has a completely different semantic
2336 # ./install, which can be erroneously created by make from ./install.sh.
2337 # Reject install programs that cannot install multiple files.
2338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2339 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2340 if test -z "$INSTALL"; then
2341 if ${ac_cv_path_install+:} false
; then :
2342 $as_echo_n "(cached) " >&6
2344 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2348 test -z "$as_dir" && as_dir
=.
2349 # Account for people who put trailing slashes in PATH elements.
2350 case $as_dir/ in #((
2351 .
/ | .
// |
/[cC
]/* | \
2352 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2353 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2356 # OSF1 and SCO ODT 3.0 have their own names for install.
2357 # Don't use installbsd from OSF since it installs stuff as root
2359 for ac_prog
in ginstall scoinst
install; do
2360 for ac_exec_ext
in '' $ac_executable_extensions; do
2361 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
2362 if test $ac_prog = install &&
2363 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2364 # AIX install. It has an incompatible calling convention.
2366 elif test $ac_prog = install &&
2367 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2368 # program-specific install script used by HP pwplus--don't use.
2371 rm -rf conftest.one conftest.two conftest.dir
2372 echo one
> conftest.one
2373 echo two
> conftest.two
2375 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2376 test -s conftest.one
&& test -s conftest.two
&&
2377 test -s conftest.dir
/conftest.one
&&
2378 test -s conftest.dir
/conftest.two
2380 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2393 rm -rf conftest.one conftest.two conftest.dir
2396 if test "${ac_cv_path_install+set}" = set; then
2397 INSTALL
=$ac_cv_path_install
2399 # As a last resort, use the slow shell script. Don't cache a
2400 # value for INSTALL within a source directory, because that will
2401 # break other packages using the cache if that directory is
2402 # removed, or if the value is a relative name.
2403 INSTALL
=$ac_install_sh
2406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2407 $as_echo "$INSTALL" >&6; }
2409 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2410 # It thinks the first close brace ends the variable substitution.
2411 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2413 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2415 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2418 $as_echo_n "checking whether build environment is sane... " >&6; }
2419 # Reject unsafe characters in $srcdir or the absolute working directory
2420 # name. Accept space and tab only in the latter.
2424 *[\\\"\
#\$\&\'\`$am_lf]*)
2425 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2428 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2429 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2432 # Do 'set' in a subshell so we don't clobber the current shell's
2433 # arguments. Must try -L first in case configure is actually a
2434 # symlink; some systems play weird games with the mod time of symlinks
2435 # (eg FreeBSD returns the mod time of the symlink's containing
2439 for am_try
in 1 2; do
2440 echo "timestamp, slept: $am_has_slept" > conftest.
file
2441 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2442 if test "$*" = "X"; then
2444 set X
`ls -t "$srcdir/configure" conftest.file`
2446 if test "$*" != "X $srcdir/configure conftest.file" \
2447 && test "$*" != "X conftest.file $srcdir/configure"; then
2449 # If neither matched, then we have a broken ls. This can happen
2450 # if, for instance, CONFIG_SHELL is bash and it inherits a
2451 # broken ls alias from the environment. This has actually
2452 # happened. Such a system could not be considered "sane".
2453 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2454 alias in your environment" "$LINENO" 5
2456 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
2463 test "$2" = conftest.
file
2469 as_fn_error $?
"newly created file is older than distributed files!
2470 Check your system clock" "$LINENO" 5
2472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2473 $as_echo "yes" >&6; }
2474 # If we didn't sleep, we still need to ensure time stamps of config.status and
2475 # generated files are strictly newer.
2477 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
2484 test "$program_prefix" != NONE
&&
2485 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2486 # Use a double $ so make ignores it.
2487 test "$program_suffix" != NONE
&&
2488 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2489 # Double any \ or $.
2490 # By default was `s,x,x', remove it if useless.
2491 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2492 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2494 # Expand $ac_aux_dir to an absolute path.
2495 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
2497 if test x
"${MISSING+set}" != xset
; then
2500 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2502 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2505 # Use eval to expand $SHELL
2506 if eval "$MISSING --is-lightweight"; then
2507 am_missing_run
="$MISSING "
2510 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2511 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2514 if test x
"${install_sh+set}" != xset
; then
2517 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2519 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2523 # Installed binaries are usually stripped using 'strip' when the user
2524 # run "make install-strip". However 'strip' might not be the right
2525 # tool to use in cross-compilation environments, therefore Automake
2526 # will honor the 'STRIP' environment variable to overrule this program.
2527 if test "$cross_compiling" != no
; then
2528 if test -n "$ac_tool_prefix"; then
2529 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2530 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2532 $as_echo_n "checking for $ac_word... " >&6; }
2533 if ${ac_cv_prog_STRIP+:} false
; then :
2534 $as_echo_n "(cached) " >&6
2536 if test -n "$STRIP"; then
2537 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2539 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2543 test -z "$as_dir" && as_dir
=.
2544 for ac_exec_ext
in '' $ac_executable_extensions; do
2545 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2546 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2547 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2556 STRIP
=$ac_cv_prog_STRIP
2557 if test -n "$STRIP"; then
2558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2559 $as_echo "$STRIP" >&6; }
2561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2562 $as_echo "no" >&6; }
2567 if test -z "$ac_cv_prog_STRIP"; then
2569 # Extract the first word of "strip", so it can be a program name with args.
2570 set dummy strip
; ac_word
=$2
2571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2572 $as_echo_n "checking for $ac_word... " >&6; }
2573 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2574 $as_echo_n "(cached) " >&6
2576 if test -n "$ac_ct_STRIP"; then
2577 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2579 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2583 test -z "$as_dir" && as_dir
=.
2584 for ac_exec_ext
in '' $ac_executable_extensions; do
2585 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2586 ac_cv_prog_ac_ct_STRIP
="strip"
2587 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2596 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2597 if test -n "$ac_ct_STRIP"; then
2598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2599 $as_echo "$ac_ct_STRIP" >&6; }
2601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2602 $as_echo "no" >&6; }
2605 if test "x$ac_ct_STRIP" = x
; then
2608 case $cross_compiling:$ac_tool_warned in
2610 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2611 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2612 ac_tool_warned
=yes ;;
2617 STRIP
="$ac_cv_prog_STRIP"
2621 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2624 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2625 if test -z "$MKDIR_P"; then
2626 if ${ac_cv_path_mkdir+:} false
; then :
2627 $as_echo_n "(cached) " >&6
2629 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2630 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2633 test -z "$as_dir" && as_dir
=.
2634 for ac_prog
in mkdir gmkdir
; do
2635 for ac_exec_ext
in '' $ac_executable_extensions; do
2636 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
2637 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2638 'mkdir (GNU coreutils) '* | \
2639 'mkdir (coreutils) '* | \
2640 'mkdir (fileutils) '4.1*)
2641 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2651 test -d .
/--version && rmdir .
/--version
2652 if test "${ac_cv_path_mkdir+set}" = set; then
2653 MKDIR_P
="$ac_cv_path_mkdir -p"
2655 # As a last resort, use the slow shell script. Don't cache a
2656 # value for MKDIR_P within a source directory, because that will
2657 # break other packages using the cache if that directory is
2658 # removed, or if the value is a relative name.
2659 MKDIR_P
="$ac_install_sh -d"
2662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2663 $as_echo "$MKDIR_P" >&6; }
2665 for ac_prog
in gawk mawk nawk
awk
2667 # Extract the first word of "$ac_prog", so it can be a program name with args.
2668 set dummy
$ac_prog; ac_word
=$2
2669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2670 $as_echo_n "checking for $ac_word... " >&6; }
2671 if ${ac_cv_prog_AWK+:} false
; then :
2672 $as_echo_n "(cached) " >&6
2674 if test -n "$AWK"; then
2675 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2677 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2681 test -z "$as_dir" && as_dir
=.
2682 for ac_exec_ext
in '' $ac_executable_extensions; do
2683 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2684 ac_cv_prog_AWK
="$ac_prog"
2685 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2695 if test -n "$AWK"; then
2696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2697 $as_echo "$AWK" >&6; }
2699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2700 $as_echo "no" >&6; }
2704 test -n "$AWK" && break
2707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2708 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2710 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2711 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2712 $as_echo_n "(cached) " >&6
2714 cat >conftest.
make <<\_ACEOF
2717 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2719 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2720 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2722 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2724 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2728 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2730 $as_echo "yes" >&6; }
2733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2734 $as_echo "no" >&6; }
2735 SET_MAKE
="MAKE=${MAKE-make}"
2738 rm -rf .tst
2>/dev
/null
2739 mkdir .tst
2>/dev
/null
2740 if test -d .tst
; then
2745 rmdir .tst
2>/dev
/null
2747 # Check whether --enable-silent-rules was given.
2748 if test "${enable_silent_rules+set}" = set; then :
2749 enableval
=$enable_silent_rules;
2752 case $enable_silent_rules in # (((
2753 yes) AM_DEFAULT_VERBOSITY
=0;;
2754 no
) AM_DEFAULT_VERBOSITY
=1;;
2755 *) AM_DEFAULT_VERBOSITY
=1;;
2757 am_make
=${MAKE-make}
2758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2759 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2760 if ${am_cv_make_support_nested_variables+:} false
; then :
2761 $as_echo_n "(cached) " >&6
2763 if $as_echo 'TRUE=$(BAR$(V))
2769 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
2770 am_cv_make_support_nested_variables
=yes
2772 am_cv_make_support_nested_variables
=no
2775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2776 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2777 if test $am_cv_make_support_nested_variables = yes; then
2779 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
2781 AM_V
=$AM_DEFAULT_VERBOSITY
2782 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
2786 DEPDIR="${am__leading_dot}deps"
2788 ac_config_commands="$ac_config_commands depfiles"
2791 am_make=${MAKE-make}
2792 cat > confinc << 'END
'
2794 @echo this is the am__doit target
2797 # If we don't
find an include directive
, just comment out the code.
2798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2799 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2803 # First try GNU make style include.
2804 echo "include confinc" > confmf
2805 # Ignore all kinds of additional output from 'make'.
2806 case `$am_make -s -f confmf 2> /dev/null` in #(
2807 *the\ am__doit\ target
*)
2813 # Now try BSD make style include.
2814 if test "$am__include" = "#"; then
2815 echo '.include "confinc"' > confmf
2816 case `$am_make -s -f confmf 2> /dev/null` in #(
2817 *the\ am__doit\ target
*)
2818 am__include
=.include
2826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2827 $as_echo "$_am_result" >&6; }
2828 rm -f confinc confmf
2830 # Check whether --enable-dependency-tracking was given.
2831 if test "${enable_dependency_tracking+set}" = set; then :
2832 enableval
=$enable_dependency_tracking;
2835 if test "x$enable_dependency_tracking" != xno
; then
2836 am_depcomp
="$ac_aux_dir/depcomp"
2840 if test "x$enable_dependency_tracking" != xno; then
2850 ac_cpp
='$CPP $CPPFLAGS'
2851 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2852 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2853 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2854 if test -n "$ac_tool_prefix"; then
2855 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2856 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2858 $as_echo_n "checking for $ac_word... " >&6; }
2859 if ${ac_cv_prog_CC+:} false
; then :
2860 $as_echo_n "(cached) " >&6
2862 if test -n "$CC"; then
2863 ac_cv_prog_CC
="$CC" # Let the user override the test.
2865 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2869 test -z "$as_dir" && as_dir
=.
2870 for ac_exec_ext
in '' $ac_executable_extensions; do
2871 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2872 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2873 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2883 if test -n "$CC"; then
2884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2885 $as_echo "$CC" >&6; }
2887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2888 $as_echo "no" >&6; }
2893 if test -z "$ac_cv_prog_CC"; then
2895 # Extract the first word of "gcc", so it can be a program name with args.
2896 set dummy gcc
; ac_word
=$2
2897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2898 $as_echo_n "checking for $ac_word... " >&6; }
2899 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2900 $as_echo_n "(cached) " >&6
2902 if test -n "$ac_ct_CC"; then
2903 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2905 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2909 test -z "$as_dir" && as_dir
=.
2910 for ac_exec_ext
in '' $ac_executable_extensions; do
2911 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2912 ac_cv_prog_ac_ct_CC
="gcc"
2913 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2922 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2923 if test -n "$ac_ct_CC"; then
2924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2925 $as_echo "$ac_ct_CC" >&6; }
2927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2928 $as_echo "no" >&6; }
2931 if test "x$ac_ct_CC" = x
; then
2934 case $cross_compiling:$ac_tool_warned in
2936 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2937 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2938 ac_tool_warned
=yes ;;
2946 if test -z "$CC"; then
2947 if test -n "$ac_tool_prefix"; then
2948 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2949 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2951 $as_echo_n "checking for $ac_word... " >&6; }
2952 if ${ac_cv_prog_CC+:} false
; then :
2953 $as_echo_n "(cached) " >&6
2955 if test -n "$CC"; then
2956 ac_cv_prog_CC
="$CC" # Let the user override the test.
2958 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2962 test -z "$as_dir" && as_dir
=.
2963 for ac_exec_ext
in '' $ac_executable_extensions; do
2964 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2965 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2966 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2976 if test -n "$CC"; then
2977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2978 $as_echo "$CC" >&6; }
2980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2981 $as_echo "no" >&6; }
2987 if test -z "$CC"; then
2988 # Extract the first word of "cc", so it can be a program name with args.
2989 set dummy cc
; ac_word
=$2
2990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2991 $as_echo_n "checking for $ac_word... " >&6; }
2992 if ${ac_cv_prog_CC+:} false
; then :
2993 $as_echo_n "(cached) " >&6
2995 if test -n "$CC"; then
2996 ac_cv_prog_CC
="$CC" # Let the user override the test.
2999 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3003 test -z "$as_dir" && as_dir
=.
3004 for ac_exec_ext
in '' $ac_executable_extensions; do
3005 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3006 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3007 ac_prog_rejected
=yes
3011 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3018 if test $ac_prog_rejected = yes; then
3019 # We found a bogon in the path, so make sure we never use it.
3020 set dummy
$ac_cv_prog_CC
3022 if test $# != 0; then
3023 # We chose a different compiler from the bogus one.
3024 # However, it has the same basename, so the bogon will be chosen
3025 # first if we set CC to just the basename; use the full file name.
3027 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3033 if test -n "$CC"; then
3034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3035 $as_echo "$CC" >&6; }
3037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3038 $as_echo "no" >&6; }
3043 if test -z "$CC"; then
3044 if test -n "$ac_tool_prefix"; then
3045 for ac_prog
in cl.exe
3047 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3048 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3050 $as_echo_n "checking for $ac_word... " >&6; }
3051 if ${ac_cv_prog_CC+:} false
; then :
3052 $as_echo_n "(cached) " >&6
3054 if test -n "$CC"; then
3055 ac_cv_prog_CC
="$CC" # Let the user override the test.
3057 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3061 test -z "$as_dir" && as_dir
=.
3062 for ac_exec_ext
in '' $ac_executable_extensions; do
3063 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3064 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3065 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3075 if test -n "$CC"; then
3076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3077 $as_echo "$CC" >&6; }
3079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3080 $as_echo "no" >&6; }
3084 test -n "$CC" && break
3087 if test -z "$CC"; then
3089 for ac_prog
in cl.exe
3091 # Extract the first word of "$ac_prog", so it can be a program name with args.
3092 set dummy
$ac_prog; ac_word
=$2
3093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3094 $as_echo_n "checking for $ac_word... " >&6; }
3095 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3096 $as_echo_n "(cached) " >&6
3098 if test -n "$ac_ct_CC"; then
3099 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3101 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3105 test -z "$as_dir" && as_dir
=.
3106 for ac_exec_ext
in '' $ac_executable_extensions; do
3107 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3108 ac_cv_prog_ac_ct_CC
="$ac_prog"
3109 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3118 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3119 if test -n "$ac_ct_CC"; then
3120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3121 $as_echo "$ac_ct_CC" >&6; }
3123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3124 $as_echo "no" >&6; }
3128 test -n "$ac_ct_CC" && break
3131 if test "x$ac_ct_CC" = x
; then
3134 case $cross_compiling:$ac_tool_warned in
3136 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3137 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3138 ac_tool_warned
=yes ;;
3147 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3148 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3149 as_fn_error $?
"no acceptable C compiler found in \$PATH
3150 See \`config.log' for more details" "$LINENO" 5; }
3152 # Provide some information about the compiler.
3153 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3156 for ac_option
in --version -v -V -qversion; do
3157 { { ac_try
="$ac_compiler $ac_option >&5"
3159 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3160 *) ac_try_echo=$ac_try;;
3162 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3163 $as_echo "$ac_try_echo"; } >&5
3164 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3166 if test -s conftest.err; then
3168 ... rest of stderr output deleted ...
3169 10q' conftest.err >conftest.er1
3170 cat conftest.er1 >&5
3172 rm -f conftest.er1 conftest.err
3173 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3174 test $ac_status = 0; }
3177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3178 /* end confdefs.h. */
3188 ac_clean_files_save=$ac_clean_files
3189 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3190 # Try to create an executable without -o first, disregard a.out.
3191 # It will help us diagnose broken compilers, and finding out an intuition
3193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3194 $as_echo_n "checking whether the C compiler works... " >&6; }
3195 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3197 # The possible output files:
3198 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3201 for ac_file in $ac_files
3204 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3205 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3210 if { { ac_try="$ac_link_default"
3212 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3213 *) ac_try_echo
=$ac_try;;
3215 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3216 $as_echo "$ac_try_echo"; } >&5
3217 (eval "$ac_link_default") 2>&5
3219 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3220 test $ac_status = 0; }; then :
3221 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3222 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3223 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3224 # so that the user can short-circuit this test for compilers unknown to
3226 for ac_file
in $ac_files ''
3228 test -f "$ac_file" ||
continue
3230 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3233 # We found the default executable, but exeext='' is most
3237 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3239 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3241 # We set ac_cv_exeext here because the later test for it is not
3242 # safe: cross compilers may not add the suffix if given an `-o'
3243 # argument, so we may need to know it at that point already.
3244 # Even if this section looks crufty: it has the advantage of
3251 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3256 if test -z "$ac_file"; then :
3257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3258 $as_echo "no" >&6; }
3259 $as_echo "$as_me: failed program was:" >&5
3260 sed 's/^/| /' conftest.
$ac_ext >&5
3262 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3263 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3264 as_fn_error
77 "C compiler cannot create executables
3265 See \`config.log' for more details" "$LINENO" 5; }
3267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3268 $as_echo "yes" >&6; }
3270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3271 $as_echo_n "checking for C compiler default output file name... " >&6; }
3272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3273 $as_echo "$ac_file" >&6; }
3274 ac_exeext
=$ac_cv_exeext
3276 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3277 ac_clean_files
=$ac_clean_files_save
3278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3279 $as_echo_n "checking for suffix of executables... " >&6; }
3280 if { { ac_try
="$ac_link"
3282 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3283 *) ac_try_echo=$ac_try;;
3285 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3286 $as_echo "$ac_try_echo"; } >&5
3287 (eval "$ac_link") 2>&5
3289 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3290 test $ac_status = 0; }; then :
3291 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3292 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3293 # work properly (i.e., refer to `conftest.exe'), while it won't with
3295 for ac_file
in conftest.exe conftest conftest.
*; do
3296 test -f "$ac_file" ||
continue
3298 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3299 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3305 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3306 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3307 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3308 See \`config.log' for more details" "$LINENO" 5; }
3310 rm -f conftest conftest
$ac_cv_exeext
3311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3312 $as_echo "$ac_cv_exeext" >&6; }
3314 rm -f conftest.
$ac_ext
3315 EXEEXT
=$ac_cv_exeext
3317 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3318 /* end confdefs.h. */
3323 FILE *f = fopen ("conftest.out", "w");
3324 return ferror (f) || fclose (f) != 0;
3330 ac_clean_files
="$ac_clean_files conftest.out"
3331 # Check that the compiler produces executables we can run. If not, either
3332 # the compiler is broken, or we cross compile.
3333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3334 $as_echo_n "checking whether we are cross compiling... " >&6; }
3335 if test "$cross_compiling" != yes; then
3336 { { ac_try
="$ac_link"
3338 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3339 *) ac_try_echo=$ac_try;;
3341 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3342 $as_echo "$ac_try_echo"; } >&5
3343 (eval "$ac_link") 2>&5
3345 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3346 test $ac_status = 0; }
3347 if { ac_try='./conftest$ac_cv_exeext'
3348 { { case "(($ac_try" in
3349 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3350 *) ac_try_echo
=$ac_try;;
3352 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3353 $as_echo "$ac_try_echo"; } >&5
3354 (eval "$ac_try") 2>&5
3356 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3357 test $ac_status = 0; }; }; then
3360 if test "$cross_compiling" = maybe
; then
3363 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3364 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3365 as_fn_error $?
"cannot run C compiled programs.
3366 If you meant to cross compile, use \`--host'.
3367 See \`config.log' for more details" "$LINENO" 5; }
3371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3372 $as_echo "$cross_compiling" >&6; }
3374 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3375 ac_clean_files
=$ac_clean_files_save
3376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3377 $as_echo_n "checking for suffix of object files... " >&6; }
3378 if ${ac_cv_objext+:} false
; then :
3379 $as_echo_n "(cached) " >&6
3381 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3382 /* end confdefs.h. */
3392 rm -f conftest.o conftest.obj
3393 if { { ac_try
="$ac_compile"
3395 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3396 *) ac_try_echo=$ac_try;;
3398 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3399 $as_echo "$ac_try_echo"; } >&5
3400 (eval "$ac_compile") 2>&5
3402 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3403 test $ac_status = 0; }; then :
3404 for ac_file in conftest.o conftest.obj conftest.*; do
3405 test -f "$ac_file" || continue;
3407 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3408 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3413 $as_echo "$as_me: failed program was:" >&5
3414 sed 's/^/| /' conftest.$ac_ext >&5
3416 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3417 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3418 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3419 See \
`config.log' for more details" "$LINENO" 5; }
3421 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3424 $as_echo "$ac_cv_objext" >&6; }
3425 OBJEXT=$ac_cv_objext
3427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3428 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3429 if ${ac_cv_c_compiler_gnu+:} false; then :
3430 $as_echo_n "(cached) " >&6
3432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3433 /* end confdefs.h. */
3446 if ac_fn_c_try_compile "$LINENO"; then :
3451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3452 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3456 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3457 if test $ac_compiler_gnu = yes; then
3462 ac_test_CFLAGS=${CFLAGS+set}
3463 ac_save_CFLAGS=$CFLAGS
3464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3465 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3466 if ${ac_cv_prog_cc_g+:} false; then :
3467 $as_echo_n "(cached) " >&6
3469 ac_save_c_werror_flag=$ac_c_werror_flag
3470 ac_c_werror_flag=yes
3473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3474 /* end confdefs.h. */
3484 if ac_fn_c_try_compile "$LINENO"; then :
3488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3489 /* end confdefs.h. */
3499 if ac_fn_c_try_compile "$LINENO"; then :
3502 ac_c_werror_flag=$ac_save_c_werror_flag
3504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3505 /* end confdefs.h. */
3515 if ac_fn_c_try_compile "$LINENO"; then :
3518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3523 ac_c_werror_flag=$ac_save_c_werror_flag
3525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3526 $as_echo "$ac_cv_prog_cc_g" >&6; }
3527 if test "$ac_test_CFLAGS" = set; then
3528 CFLAGS=$ac_save_CFLAGS
3529 elif test $ac_cv_prog_cc_g = yes; then
3530 if test "$GCC" = yes; then
3536 if test "$GCC" = yes; then
3542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3543 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3544 if ${ac_cv_prog_cc_c89+:} false; then :
3545 $as_echo_n "(cached) " >&6
3547 ac_cv_prog_cc_c89=no
3549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3550 /* end confdefs.h. */
3554 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3555 struct buf { int x; };
3556 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3557 static char *e (p, i)
3563 static char *f (char * (*g) (char **, int), char **p, ...)
3568 s = g (p, va_arg (v,int));
3573 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3574 function prototypes and stuff, but not '\xHH' hex character constants.
3575 These don't provoke an error unfortunately, instead are silently treated
3576 as 'x'. The following induces an error, until -std is added to get
3577 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3578 array size at least. It's necessary to write '\x00'==0 to get something
3579 that's true only with -std. */
3580 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3582 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3583 inside strings and character constants. */
3585 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3587 int test (int i, double x);
3588 struct s1 {int (*f) (int a);};
3589 struct s2 {int (*f) (double a);};
3590 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3596 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3601 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3602 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3604 CC="$ac_save_CC $ac_arg"
3605 if ac_fn_c_try_compile "$LINENO"; then :
3606 ac_cv_prog_cc_c89=$ac_arg
3608 rm -f core conftest.err conftest.$ac_objext
3609 test "x$ac_cv_prog_cc_c89" != "xno" && break
3611 rm -f conftest.$ac_ext
3616 case "x$ac_cv_prog_cc_c89" in
3618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3619 $as_echo "none needed" >&6; } ;;
3621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3622 $as_echo "unsupported" >&6; } ;;
3624 CC="$CC $ac_cv_prog_cc_c89"
3625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3626 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3628 if test "x$ac_cv_prog_cc_c89" != xno; then :
3633 ac_cpp='$CPP $CPPFLAGS'
3634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3639 ac_cpp='$CPP $CPPFLAGS'
3640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3644 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3645 if ${am_cv_prog_cc_c_o+:} false; then :
3646 $as_echo_n "(cached) " >&6
3648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3649 /* end confdefs.h. */
3659 # Make sure it works both with $CC and with simple cc.
3660 # Following AC_PROG_CC_C_O, we do the test twice because some
3661 # compilers refuse to overwrite an existing .o file with -o,
3662 # though they will create one.
3663 am_cv_prog_cc_c_o=yes
3665 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3666 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3669 (exit $ac_status); } \
3670 && test -f conftest2.$ac_objext; then
3673 am_cv_prog_cc_c_o=no
3677 rm -f core conftest*
3680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3681 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3682 if test "$am_cv_prog_cc_c_o" != yes; then
3683 # Losing compiler, so override with the script.
3684 # FIXME: It is wrong to rewrite CC.
3685 # But if we don't then we get into trouble of one sort or another.
3686 # A longer-term fix would be to have automake use am__CC in this case,
3687 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3688 CC="$am_aux_dir/compile $CC"
3691 ac_cpp='$CPP $CPPFLAGS'
3692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3697 depcc="$CC" am_compiler_list=
3699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3700 $as_echo_n "checking dependency style of $depcc... " >&6; }
3701 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3702 $as_echo_n "(cached) " >&6
3704 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3705 # We make a subdir and do the tests there. Otherwise we can end up
3706 # making bogus files that we don't know about and never remove. For
3707 # instance it was reported that on HP-UX the gcc test will end up
3708 # making a dummy file named 'D' -- because '-MD' means "put the output
3712 # Copy depcomp to subdir because otherwise we won't find it if we're
3713 # using a relative directory.
3714 cp "$am_depcomp" conftest.dir
3716 # We will build objects and dependencies in a subdirectory because
3717 # it helps to detect inapplicable dependency modes. For instance
3718 # both Tru64's cc and ICC support -MD to output dependencies as a
3719 # side effect of compilation, but ICC will put the dependencies in
3720 # the current directory while Tru64 will put them in the object
3724 am_cv_CC_dependencies_compiler_type=none
3725 if test "$am_compiler_list" = ""; then
3726 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
3729 case " $depcc " in #(
3730 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3733 for depmode in $am_compiler_list; do
3734 # Setup a source with many dependencies, because some compilers
3735 # like to wrap large dependency lists on column 80 (with \), and
3736 # we should not choose a depcomp mode which is confused by this.
3738 # We need to recreate these files for each test, as the compiler may
3739 # overwrite some of them when testing with obscure command lines.
3740 # This happens at least with the AIX C compiler.
3742 for i in 1 2 3 4 5 6; do
3743 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3744 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3745 # Solaris 10 /bin/sh.
3746 echo '/* dummy */' > sub/conftst$i.h
3748 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3750 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3751 # mode. It turns out that the SunPro C++ compiler does not properly
3752 # handle '-M -o', and we need to detect this. Also, some Intel
3753 # versions had trouble with output in subdirs.
3754 am__obj=sub/conftest.${OBJEXT-o}
3755 am__minus_obj="-o $am__obj"
3758 # This depmode causes a compiler race in universal mode.
3759 test "$am__universal" = false || continue
3762 # After this tag, mechanisms are not by side-effect, so they'll
3763 # only be used when explicitly requested.
3764 if test "x$enable_dependency_tracking" = xyes; then
3770 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3771 # This compiler won't grok '-c -o', but also, the minuso test has
3772 # not run yet. These depmodes are late enough in the game, and
3773 # so weak that their functioning should not be impacted.
3774 am__obj=conftest.${OBJEXT-o}
3779 if depmode=$depmode \
3780 source=sub/conftest.c object=$am__obj \
3781 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3782 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3783 >/dev/null 2>conftest.err &&
3784 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3785 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3786 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3787 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3788 # icc doesn't choke on unknown options, it will just issue warnings
3789 # or remarks (even with -Werror). So we grep stderr for any message
3790 # that says an option was ignored or not supported.
3791 # When given -MP, icc 7.0 and 7.1 complain thusly:
3792 # icc: Command line warning: ignoring option '-M'; no argument required
3793 # The diagnosis changed in icc 8.0:
3794 # icc: Command line remark: option '-MP' not supported
3795 if (grep 'ignoring option' conftest.err ||
3796 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3797 am_cv_CC_dependencies_compiler_type=$depmode
3806 am_cv_CC_dependencies_compiler_type=none
3810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3811 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3812 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3815 test "x$enable_dependency_tracking" != xno \
3816 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3818 am__fastdepCC_FALSE='#'
3820 am__fastdepCC_TRUE='#'
3821 am__fastdepCC_FALSE=
3826 # Check whether --enable-compiler-warnings was given.
3827 if test "${enable_compiler_warnings+set}" = set; then :
3828 enableval=$enable_compiler_warnings;
3830 case $enable_compiler_warnings in #(
3831 no | min | yes | max | all) :
3834 if test "x$enable_maintainer_mode" = xyes; then :
3835 enable_compiler_warnings=yes
3837 enable_compiler_warnings=min
3842 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3843 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3844 # is not polluted with repeated "-I."
3845 am__isrc=' -I$(srcdir)'
3846 # test to see if srcdir already configured
3847 if test -f $srcdir/config.status; then
3848 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3852 # test whether we have cygpath
3853 if test -z "$CYGPATH_W"; then
3854 if (cygpath --version) >/dev/null 2>/dev/null; then
3855 CYGPATH_W='cygpath -w'
3862 # Define the identity of the package.
3863 PACKAGE='mpfr--tex-live-'
3867 cat >>confdefs.h <<_ACEOF
3868 #define PACKAGE "$PACKAGE"
3872 cat >>confdefs.h <<_ACEOF
3873 #define VERSION "$VERSION"
3876 # Some tools Automake needs.
3878 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3881 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3884 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3887 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3890 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3892 # For better backward compatibility. To be removed once Automake 1.9.x
3893 # dies out for good. For more background, see:
3894 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3895 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3896 mkdir_p='$(MKDIR_P)'
3898 # We need awk for the "check" target (and possibly the TAP driver). The
3899 # system "awk" is bad on some platforms.
3900 # Always define AMTAR for backward compatibility. Yes, it's still used
3901 # in the wild :-( We should find a proper way to deprecate it ...
3905 # We'll loop over all known methods to create a tar archive until one works.
3906 _am_tools='gnutar pax cpio none'
3908 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3915 # POSIX will say in a future version that running "rm -f" with no argument
3916 # is OK; and we want to be able to make that assumption in our Makefile
3917 # recipes. So use an aggressive probe to check that the usage we want is
3918 # actually supported "in the wild" to an acceptable degree.
3919 # See automake bug#10828.
3920 # To make any issue more visible, cause the running configure to be aborted
3921 # by default if the 'rm' program in use doesn't match our expectations; the
3922 # user can still override this though.
3923 if rm -f && rm -fr && rm -rf; then : OK; else
3927 Your 'rm' program seems unable to run without file operands specified
3928 on the command line, even when the '-f' option is present. This is contrary
3929 to the behaviour of most rm programs out there, and not conforming with
3930 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3932 Please tell bug-automake@gnu.org about your system, including the value
3933 of your $PATH and any error possibly output before this message. This
3934 can help us improve future automake versions.
3937 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3938 echo 'Configuration will proceed anyway, since you have set the' >&2
3939 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3943 Aborting the configuration process, to ensure you take notice of the issue.
3945 You can download and install GNU coreutils to get an 'rm' implementation
3946 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3948 If you want to complete the configuration process using your problematic
3949 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3950 to "yes", and re-run configure.
3953 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3959 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3960 # Check whether --enable-maintainer-mode was given.
3961 if test "${enable_maintainer_mode+set}" = set; then :
3962 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3964 USE_MAINTAINER_MODE=no
3967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3968 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3969 if test $USE_MAINTAINER_MODE = yes; then
3970 MAINTAINER_MODE_TRUE=
3971 MAINTAINER_MODE_FALSE='#'
3973 MAINTAINER_MODE_TRUE='#'
3974 MAINTAINER_MODE_FALSE=
3977 MAINT=$MAINTAINER_MODE_TRUE
3980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler accepts prototypes" >&5
3981 $as_echo_n "checking whether the compiler accepts prototypes... " >&6; }
3982 if ${kb_cv_c_prototypes+:} false; then :
3983 $as_echo_n "(cached) " >&6
3985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3986 /* end confdefs.h. */
3991 extern void foo(int i,...);
3996 if ac_fn_c_try_link "$LINENO"; then :
3997 kb_cv_c_prototypes=yes
3999 kb_cv_c_prototypes=no
4001 rm -f core conftest.err conftest.$ac_objext \
4002 conftest$ac_exeext conftest.$ac_ext
4004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kb_cv_c_prototypes" >&5
4005 $as_echo "$kb_cv_c_prototypes" >&6; }
4006 if test "x$kb_cv_c_prototypes" = xno; then
4007 as_fn_error $? "Sorry, your compiler does not understand prototypes." "$LINENO" 5
4009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5
4010 $as_echo_n "checking what warning flags to pass to the C compiler... " >&6; }
4011 if ${kpse_cv_warning_cflags+:} false; then :
4012 $as_echo_n "(cached) " >&6
4014 if test "x$GCC" = xyes; then
4015 kpse_cv_warning_cflags=
4016 if test "x$enable_compiler_warnings" != xno; then
4017 kpse_cv_warning_cflags="-Wimplicit -Wreturn-type"
4018 case `$CC -dumpversion` in #(
4019 3.4.* | 4.* | 5.*) :
4020 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wdeclaration-after-statement" ;; #(
4024 case `$CC -dumpversion` in #(
4025 3.[234].* | 4.* | 5.*) :
4026 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wno-unknown-pragmas" ;; #(
4030 if test "x$enable_compiler_warnings" != xmin; then
4031 kpse_cv_warning_cflags="-Wall -Wunused $kpse_cv_warning_cflags"
4032 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wmissing-prototypes -Wmissing-declarations"
4033 if test "x$enable_compiler_warnings" != xyes; then
4034 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wparentheses -Wswitch -Wtrigraphs -Wpointer-arith"
4035 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wcast-qual -Wcast-align -Wwrite-strings"
4036 case `$CC -dumpversion` in #(
4037 3.4.* | 4.* | 5.*) :
4038 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wold-style-definition" ;; #(
4042 if test "x$enable_compiler_warnings" != xmax; then
4043 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wshadow"
4048 elif test "x$enable_compiler_warnings" = xno; then
4049 kpse_cv_warning_cflags=
4051 kpse_cv_warning_cflags= # FIXME: warning flags for non-GNU C compilers
4054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_warning_cflags" >&5
4055 $as_echo "$kpse_cv_warning_cflags" >&6; }
4056 WARNING_CFLAGS=$kpse_cv_warning_cflags
4066 ac_cpp='$CPP $CPPFLAGS'
4067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4070 if test -n "$ac_tool_prefix"; then
4071 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4072 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4074 $as_echo_n "checking for $ac_word... " >&6; }
4075 if ${ac_cv_prog_CC+:} false; then :
4076 $as_echo_n "(cached) " >&6
4078 if test -n "$CC"; then
4079 ac_cv_prog_CC="$CC" # Let the user override the test.
4081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4085 test -z "$as_dir" && as_dir=.
4086 for ac_exec_ext in '' $ac_executable_extensions; do
4087 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4088 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4089 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4099 if test -n "$CC"; then
4100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4101 $as_echo "$CC" >&6; }
4103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4104 $as_echo "no" >&6; }
4109 if test -z "$ac_cv_prog_CC"; then
4111 # Extract the first word of "gcc", so it can be a program name with args.
4112 set dummy gcc; ac_word=$2
4113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4114 $as_echo_n "checking for $ac_word... " >&6; }
4115 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4116 $as_echo_n "(cached) " >&6
4118 if test -n "$ac_ct_CC"; then
4119 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4125 test -z "$as_dir" && as_dir=.
4126 for ac_exec_ext in '' $ac_executable_extensions; do
4127 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4128 ac_cv_prog_ac_ct_CC="gcc"
4129 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4138 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4139 if test -n "$ac_ct_CC"; then
4140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4141 $as_echo "$ac_ct_CC" >&6; }
4143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4144 $as_echo "no" >&6; }
4147 if test "x$ac_ct_CC" = x; then
4150 case $cross_compiling:$ac_tool_warned in
4152 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4153 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4154 ac_tool_warned=yes ;;
4162 if test -z "$CC"; then
4163 if test -n "$ac_tool_prefix"; then
4164 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4165 set dummy ${ac_tool_prefix}cc; ac_word=$2
4166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4167 $as_echo_n "checking for $ac_word... " >&6; }
4168 if ${ac_cv_prog_CC+:} false; then :
4169 $as_echo_n "(cached) " >&6
4171 if test -n "$CC"; then
4172 ac_cv_prog_CC="$CC" # Let the user override the test.
4174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4178 test -z "$as_dir" && as_dir=.
4179 for ac_exec_ext in '' $ac_executable_extensions; do
4180 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4181 ac_cv_prog_CC="${ac_tool_prefix}cc"
4182 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4192 if test -n "$CC"; then
4193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4194 $as_echo "$CC" >&6; }
4196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4197 $as_echo "no" >&6; }
4203 if test -z "$CC"; then
4204 # Extract the first word of "cc", so it can be a program name with args.
4205 set dummy cc; ac_word=$2
4206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4207 $as_echo_n "checking for $ac_word... " >&6; }
4208 if ${ac_cv_prog_CC+:} false; then :
4209 $as_echo_n "(cached) " >&6
4211 if test -n "$CC"; then
4212 ac_cv_prog_CC="$CC" # Let the user override the test.
4215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4219 test -z "$as_dir" && as_dir=.
4220 for ac_exec_ext in '' $ac_executable_extensions; do
4221 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4222 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4223 ac_prog_rejected=yes
4227 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4234 if test $ac_prog_rejected = yes; then
4235 # We found a bogon in the path, so make sure we never use it.
4236 set dummy $ac_cv_prog_CC
4238 if test $# != 0; then
4239 # We chose a different compiler from the bogus one.
4240 # However, it has the same basename, so the bogon will be chosen
4241 # first if we set CC to just the basename; use the full file name.
4243 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4249 if test -n "$CC"; then
4250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4251 $as_echo "$CC" >&6; }
4253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4254 $as_echo "no" >&6; }
4259 if test -z "$CC"; then
4260 if test -n "$ac_tool_prefix"; then
4261 for ac_prog in cl.exe
4263 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4264 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4266 $as_echo_n "checking for $ac_word... " >&6; }
4267 if ${ac_cv_prog_CC+:} false; then :
4268 $as_echo_n "(cached) " >&6
4270 if test -n "$CC"; then
4271 ac_cv_prog_CC="$CC" # Let the user override the test.
4273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4277 test -z "$as_dir" && as_dir=.
4278 for ac_exec_ext in '' $ac_executable_extensions; do
4279 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4280 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4281 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4291 if test -n "$CC"; then
4292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4293 $as_echo "$CC" >&6; }
4295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4296 $as_echo "no" >&6; }
4300 test -n "$CC" && break
4303 if test -z "$CC"; then
4305 for ac_prog in cl.exe
4307 # Extract the first word of "$ac_prog", so it can be a program name with args.
4308 set dummy $ac_prog; ac_word=$2
4309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4310 $as_echo_n "checking for $ac_word... " >&6; }
4311 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4312 $as_echo_n "(cached) " >&6
4314 if test -n "$ac_ct_CC"; then
4315 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4321 test -z "$as_dir" && as_dir=.
4322 for ac_exec_ext in '' $ac_executable_extensions; do
4323 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4324 ac_cv_prog_ac_ct_CC="$ac_prog"
4325 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4334 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4335 if test -n "$ac_ct_CC"; then
4336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4337 $as_echo "$ac_ct_CC" >&6; }
4339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4340 $as_echo "no" >&6; }
4344 test -n "$ac_ct_CC" && break
4347 if test "x$ac_ct_CC" = x; then
4350 case $cross_compiling:$ac_tool_warned in
4352 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4353 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4354 ac_tool_warned=yes ;;
4363 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4364 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4365 as_fn_error $? "no acceptable C compiler found
in \
$PATH
4366 See \
`config.log' for more details" "$LINENO" 5; }
4368 # Provide some information about the compiler.
4369 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4372 for ac_option in --version -v -V -qversion; do
4373 { { ac_try="$ac_compiler $ac_option >&5"
4375 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4376 *) ac_try_echo
=$ac_try;;
4378 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4379 $as_echo "$ac_try_echo"; } >&5
4380 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4382 if test -s conftest.err
; then
4384 ... rest of stderr output deleted ...
4385 10q' conftest.err
>conftest.er1
4386 cat conftest.er1
>&5
4388 rm -f conftest.er1 conftest.err
4389 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4390 test $ac_status = 0; }
4393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4394 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4395 if ${ac_cv_c_compiler_gnu+:} false
; then :
4396 $as_echo_n "(cached) " >&6
4398 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4399 /* end confdefs.h. */
4412 if ac_fn_c_try_compile
"$LINENO"; then :
4417 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4418 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
4421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4422 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4423 if test $ac_compiler_gnu = yes; then
4428 ac_test_CFLAGS
=${CFLAGS+set}
4429 ac_save_CFLAGS
=$CFLAGS
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4431 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4432 if ${ac_cv_prog_cc_g+:} false
; then :
4433 $as_echo_n "(cached) " >&6
4435 ac_save_c_werror_flag
=$ac_c_werror_flag
4436 ac_c_werror_flag
=yes
4439 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4440 /* end confdefs.h. */
4450 if ac_fn_c_try_compile
"$LINENO"; then :
4454 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4455 /* end confdefs.h. */
4465 if ac_fn_c_try_compile
"$LINENO"; then :
4468 ac_c_werror_flag
=$ac_save_c_werror_flag
4470 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4471 /* end confdefs.h. */
4481 if ac_fn_c_try_compile
"$LINENO"; then :
4484 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4486 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4488 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4489 ac_c_werror_flag
=$ac_save_c_werror_flag
4491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4492 $as_echo "$ac_cv_prog_cc_g" >&6; }
4493 if test "$ac_test_CFLAGS" = set; then
4494 CFLAGS
=$ac_save_CFLAGS
4495 elif test $ac_cv_prog_cc_g = yes; then
4496 if test "$GCC" = yes; then
4502 if test "$GCC" = yes; then
4508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4509 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4510 if ${ac_cv_prog_cc_c89+:} false
; then :
4511 $as_echo_n "(cached) " >&6
4513 ac_cv_prog_cc_c89
=no
4515 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4516 /* end confdefs.h. */
4520 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4521 struct buf { int x; };
4522 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4523 static char *e (p, i)
4529 static char *f (char * (*g) (char **, int), char **p, ...)
4534 s = g (p, va_arg (v,int));
4539 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4540 function prototypes and stuff, but not '\xHH' hex character constants.
4541 These don't provoke an error unfortunately, instead are silently treated
4542 as 'x'. The following induces an error, until -std is added to get
4543 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4544 array size at least. It's necessary to write '\x00'==0 to get something
4545 that's true only with -std. */
4546 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4548 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4549 inside strings and character constants. */
4551 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4553 int test (int i, double x);
4554 struct s1 {int (*f) (int a);};
4555 struct s2 {int (*f) (double a);};
4556 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4562 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4567 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
4568 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4570 CC
="$ac_save_CC $ac_arg"
4571 if ac_fn_c_try_compile
"$LINENO"; then :
4572 ac_cv_prog_cc_c89
=$ac_arg
4574 rm -f core conftest.err conftest.
$ac_objext
4575 test "x$ac_cv_prog_cc_c89" != "xno" && break
4577 rm -f conftest.
$ac_ext
4582 case "x$ac_cv_prog_cc_c89" in
4584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4585 $as_echo "none needed" >&6; } ;;
4587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4588 $as_echo "unsupported" >&6; } ;;
4590 CC
="$CC $ac_cv_prog_cc_c89"
4591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4592 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4594 if test "x$ac_cv_prog_cc_c89" != xno
; then :
4599 ac_cpp
='$CPP $CPPFLAGS'
4600 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4601 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4602 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4605 ac_cpp
='$CPP $CPPFLAGS'
4606 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4607 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4608 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4610 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4611 if ${am_cv_prog_cc_c_o+:} false
; then :
4612 $as_echo_n "(cached) " >&6
4614 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4615 /* end confdefs.h. */
4625 # Make sure it works both with $CC and with simple cc.
4626 # Following AC_PROG_CC_C_O, we do the test twice because some
4627 # compilers refuse to overwrite an existing .o file with -o,
4628 # though they will create one.
4629 am_cv_prog_cc_c_o
=yes
4631 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4632 ($CC -c conftest.
$ac_ext -o conftest2.
$ac_objext) >&5 2>&5
4634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4635 (exit $ac_status); } \
4636 && test -f conftest2.
$ac_objext; then
4639 am_cv_prog_cc_c_o
=no
4643 rm -f core conftest
*
4646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4647 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4648 if test "$am_cv_prog_cc_c_o" != yes; then
4649 # Losing compiler, so override with the script.
4650 # FIXME: It is wrong to rewrite CC.
4651 # But if we don't then we get into trouble of one sort or another.
4652 # A longer-term fix would be to have automake use am__CC in this case,
4653 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4654 CC
="$am_aux_dir/compile $CC"
4657 ac_cpp
='$CPP $CPPFLAGS'
4658 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4659 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4660 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4663 depcc
="$CC" am_compiler_list
=
4665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4666 $as_echo_n "checking dependency style of $depcc... " >&6; }
4667 if ${am_cv_CC_dependencies_compiler_type+:} false
; then :
4668 $as_echo_n "(cached) " >&6
4670 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4671 # We make a subdir and do the tests there. Otherwise we can end up
4672 # making bogus files that we don't know about and never remove. For
4673 # instance it was reported that on HP-UX the gcc test will end up
4674 # making a dummy file named 'D' -- because '-MD' means "put the output
4678 # Copy depcomp to subdir because otherwise we won't find it if we're
4679 # using a relative directory.
4680 cp "$am_depcomp" conftest.dir
4682 # We will build objects and dependencies in a subdirectory because
4683 # it helps to detect inapplicable dependency modes. For instance
4684 # both Tru64's cc and ICC support -MD to output dependencies as a
4685 # side effect of compilation, but ICC will put the dependencies in
4686 # the current directory while Tru64 will put them in the object
4690 am_cv_CC_dependencies_compiler_type
=none
4691 if test "$am_compiler_list" = ""; then
4692 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4695 case " $depcc " in #(
4696 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4699 for depmode
in $am_compiler_list; do
4700 # Setup a source with many dependencies, because some compilers
4701 # like to wrap large dependency lists on column 80 (with \), and
4702 # we should not choose a depcomp mode which is confused by this.
4704 # We need to recreate these files for each test, as the compiler may
4705 # overwrite some of them when testing with obscure command lines.
4706 # This happens at least with the AIX C compiler.
4708 for i
in 1 2 3 4 5 6; do
4709 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4710 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4711 # Solaris 10 /bin/sh.
4712 echo '/* dummy */' > sub
/conftst
$i.h
4714 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4716 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4717 # mode. It turns out that the SunPro C++ compiler does not properly
4718 # handle '-M -o', and we need to detect this. Also, some Intel
4719 # versions had trouble with output in subdirs.
4720 am__obj
=sub
/conftest.
${OBJEXT-o}
4721 am__minus_obj
="-o $am__obj"
4724 # This depmode causes a compiler race in universal mode.
4725 test "$am__universal" = false ||
continue
4728 # After this tag, mechanisms are not by side-effect, so they'll
4729 # only be used when explicitly requested.
4730 if test "x$enable_dependency_tracking" = xyes
; then
4736 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
4737 # This compiler won't grok '-c -o', but also, the minuso test has
4738 # not run yet. These depmodes are late enough in the game, and
4739 # so weak that their functioning should not be impacted.
4740 am__obj
=conftest.
${OBJEXT-o}
4745 if depmode
=$depmode \
4746 source=sub
/conftest.c object
=$am__obj \
4747 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4748 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4749 >/dev
/null
2>conftest.err
&&
4750 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4751 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4752 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4753 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4754 # icc doesn't choke on unknown options, it will just issue warnings
4755 # or remarks (even with -Werror). So we grep stderr for any message
4756 # that says an option was ignored or not supported.
4757 # When given -MP, icc 7.0 and 7.1 complain thusly:
4758 # icc: Command line warning: ignoring option '-M'; no argument required
4759 # The diagnosis changed in icc 8.0:
4760 # icc: Command line remark: option '-MP' not supported
4761 if (grep 'ignoring option' conftest.err ||
4762 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4763 am_cv_CC_dependencies_compiler_type
=$depmode
4772 am_cv_CC_dependencies_compiler_type
=none
4776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4777 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4778 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4781 test "x$enable_dependency_tracking" != xno \
4782 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4784 am__fastdepCC_FALSE
='#'
4786 am__fastdepCC_TRUE
='#'
4787 am__fastdepCC_FALSE
=
4791 if test -n "$ac_tool_prefix"; then
4792 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4793 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4795 $as_echo_n "checking for $ac_word... " >&6; }
4796 if ${ac_cv_prog_RANLIB+:} false
; then :
4797 $as_echo_n "(cached) " >&6
4799 if test -n "$RANLIB"; then
4800 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4802 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4806 test -z "$as_dir" && as_dir
=.
4807 for ac_exec_ext
in '' $ac_executable_extensions; do
4808 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4809 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4810 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4819 RANLIB
=$ac_cv_prog_RANLIB
4820 if test -n "$RANLIB"; then
4821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4822 $as_echo "$RANLIB" >&6; }
4824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4825 $as_echo "no" >&6; }
4830 if test -z "$ac_cv_prog_RANLIB"; then
4831 ac_ct_RANLIB
=$RANLIB
4832 # Extract the first word of "ranlib", so it can be a program name with args.
4833 set dummy ranlib
; ac_word
=$2
4834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4835 $as_echo_n "checking for $ac_word... " >&6; }
4836 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
4837 $as_echo_n "(cached) " >&6
4839 if test -n "$ac_ct_RANLIB"; then
4840 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4842 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4846 test -z "$as_dir" && as_dir
=.
4847 for ac_exec_ext
in '' $ac_executable_extensions; do
4848 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4849 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4850 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4859 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4860 if test -n "$ac_ct_RANLIB"; then
4861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4862 $as_echo "$ac_ct_RANLIB" >&6; }
4864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4865 $as_echo "no" >&6; }
4868 if test "x$ac_ct_RANLIB" = x
; then
4871 case $cross_compiling:$ac_tool_warned in
4873 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4874 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4875 ac_tool_warned
=yes ;;
4877 RANLIB
=$ac_ct_RANLIB
4880 RANLIB
="$ac_cv_prog_RANLIB"
4883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4884 $as_echo_n "checking whether ln -s works... " >&6; }
4886 if test "$LN_S" = "ln -s"; then
4887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4888 $as_echo "yes" >&6; }
4890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4891 $as_echo "no, using $LN_S" >&6; }
4895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CFLAGS for C to hide external symbols" >&5
4896 $as_echo_n "checking CFLAGS for C to hide external symbols... " >&6; }
4897 if ${kpse_cv_visibility_cflags+:} false
; then :
4898 $as_echo_n "(cached) " >&6
4901 ac_cpp
='$CPP $CPPFLAGS'
4902 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4903 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4904 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4906 kpse_cv_visibility_cflags
=unknown
4907 kpse_save_flags
=$CFLAGS
4908 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4909 /* end confdefs.h. */
4911 extern void foo(void);
4912 void foo(void){printf("foo\n");}
4914 # FIXME: Add tests for non-GNU compilers
4915 for kpse_flag
in '-fvisibility=hidden -fvisibility-inlines-hidden' '-fvisibility=hidden'; do
4916 CFLAGS
="$kpse_save_flags -Werror $kpse_flag"
4917 if ac_fn_c_try_compile
"$LINENO"; then :
4918 kpse_cv_visibility_cflags
=$kpse_flag; break
4920 rm -f core conftest.err conftest.
$ac_objext
4923 ac_cpp
='$CPP $CPPFLAGS'
4924 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4925 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4926 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_visibility_cflags" >&5
4931 $as_echo "$kpse_cv_visibility_cflags" >&6; }
4932 CFLAGS
=$kpse_save_flags
4933 case $kpse_cv_visibility_cflags in #(
4937 VISIBILITY_CFLAGS
=$kpse_cv_visibility_cflags
4945 ac_config_headers
="$ac_config_headers config.h"
4948 # Make sure we can run config.sub.
4949 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
4950 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4953 $as_echo_n "checking build system type... " >&6; }
4954 if ${ac_cv_build+:} false
; then :
4955 $as_echo_n "(cached) " >&6
4957 ac_build_alias
=$build_alias
4958 test "x$ac_build_alias" = x
&&
4959 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
4960 test "x$ac_build_alias" = x
&&
4961 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
4962 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4963 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4967 $as_echo "$ac_cv_build" >&6; }
4968 case $ac_cv_build in
4970 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
4973 ac_save_IFS
=$IFS; IFS
='-'
4979 # Remember, the first character of IFS is used to create $*,
4980 # except with old shells:
4983 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
4986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4987 $as_echo_n "checking host system type... " >&6; }
4988 if ${ac_cv_host+:} false
; then :
4989 $as_echo_n "(cached) " >&6
4991 if test "x$host_alias" = x
; then
4992 ac_cv_host
=$ac_cv_build
4994 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4995 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5000 $as_echo "$ac_cv_host" >&6; }
5003 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
5006 ac_save_IFS
=$IFS; IFS
='-'
5012 # Remember, the first character of IFS is used to create $*,
5013 # except with old shells:
5016 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
5019 if test "x$host_alias" != x
&& test "x$build_alias" = x
; then :
5020 as_fn_error $?
"when cross-compiling you must specify both --host and --build." "$LINENO" 5
5022 eval kpse_build_alias
=\
${build_alias-$build}
5025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
5026 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
5027 if ${ac_cv_header_time+:} false
; then :
5028 $as_echo_n "(cached) " >&6
5030 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5031 /* end confdefs.h. */
5032 #include <sys/types.h>
5033 #include <sys/time.h>
5039 if ((struct tm *) 0)
5045 if ac_fn_c_try_compile
"$LINENO"; then :
5046 ac_cv_header_time
=yes
5048 ac_cv_header_time
=no
5050 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
5053 $as_echo "$ac_cv_header_time" >&6; }
5054 if test $ac_cv_header_time = yes; then
5056 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
5061 ac_cpp
='$CPP $CPPFLAGS'
5062 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5063 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5064 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5066 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5067 # On Suns, sometimes $CPP names a directory.
5068 if test -n "$CPP" && test -d "$CPP"; then
5071 if test -z "$CPP"; then
5072 if ${ac_cv_prog_CPP+:} false
; then :
5073 $as_echo_n "(cached) " >&6
5075 # Double quotes because CPP needs to be expanded
5076 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5079 for ac_c_preproc_warn_flag
in '' yes
5081 # Use a header file that comes with gcc, so configuring glibc
5082 # with a fresh cross-compiler works.
5083 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5084 # <limits.h> exists even on freestanding compilers.
5085 # On the NeXT, cc -E runs the code through the compiler's parser,
5086 # not just through cpp. "Syntax error" is here to catch this case.
5087 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5088 /* end confdefs.h. */
5090 # include <limits.h>
5092 # include <assert.h>
5096 if ac_fn_c_try_cpp
"$LINENO"; then :
5099 # Broken: fails on valid input.
5102 rm -f conftest.err conftest.i conftest.
$ac_ext
5104 # OK, works on sane cases. Now check whether nonexistent headers
5105 # can be detected and how.
5106 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5107 /* end confdefs.h. */
5108 #include <ac_nonexistent.h>
5110 if ac_fn_c_try_cpp
"$LINENO"; then :
5111 # Broken: success on invalid input.
5114 # Passes both tests.
5118 rm -f conftest.err conftest.i conftest.
$ac_ext
5121 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5122 rm -f conftest.i conftest.err conftest.
$ac_ext
5123 if $ac_preproc_ok; then :
5135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5136 $as_echo "$CPP" >&6; }
5138 for ac_c_preproc_warn_flag
in '' yes
5140 # Use a header file that comes with gcc, so configuring glibc
5141 # with a fresh cross-compiler works.
5142 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5143 # <limits.h> exists even on freestanding compilers.
5144 # On the NeXT, cc -E runs the code through the compiler's parser,
5145 # not just through cpp. "Syntax error" is here to catch this case.
5146 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5147 /* end confdefs.h. */
5149 # include <limits.h>
5151 # include <assert.h>
5155 if ac_fn_c_try_cpp
"$LINENO"; then :
5158 # Broken: fails on valid input.
5161 rm -f conftest.err conftest.i conftest.
$ac_ext
5163 # OK, works on sane cases. Now check whether nonexistent headers
5164 # can be detected and how.
5165 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5166 /* end confdefs.h. */
5167 #include <ac_nonexistent.h>
5169 if ac_fn_c_try_cpp
"$LINENO"; then :
5170 # Broken: success on invalid input.
5173 # Passes both tests.
5177 rm -f conftest.err conftest.i conftest.
$ac_ext
5180 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5181 rm -f conftest.i conftest.err conftest.
$ac_ext
5182 if $ac_preproc_ok; then :
5185 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5186 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5187 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
5188 See \`config.log' for more details" "$LINENO" 5; }
5192 ac_cpp
='$CPP $CPPFLAGS'
5193 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5194 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5195 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5199 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5200 if ${ac_cv_path_GREP+:} false
; then :
5201 $as_echo_n "(cached) " >&6
5203 if test -z "$GREP"; then
5204 ac_path_GREP_found
=false
5205 # Loop through the user's path and test for each of PROGNAME-LIST
5206 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5207 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5210 test -z "$as_dir" && as_dir
=.
5211 for ac_prog
in grep ggrep
; do
5212 for ac_exec_ext
in '' $ac_executable_extensions; do
5213 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5214 as_fn_executable_p
"$ac_path_GREP" ||
continue
5215 # Check for GNU ac_path_GREP and select it if it is found.
5216 # Check for GNU $ac_path_GREP
5217 case `"$ac_path_GREP" --version 2>&1` in
5219 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5222 $as_echo_n 0123456789 >"conftest.in"
5225 cat "conftest.in" "conftest.in" >"conftest.tmp"
5226 mv "conftest.tmp" "conftest.in"
5227 cp "conftest.in" "conftest.nl"
5228 $as_echo 'GREP' >> "conftest.nl"
5229 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5230 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5231 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5232 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5233 # Best one so far, save it but keep looking for a better one
5234 ac_cv_path_GREP
="$ac_path_GREP"
5235 ac_path_GREP_max
=$ac_count
5237 # 10*(2^10) chars as input seems more than enough
5238 test $ac_count -gt 10 && break
5240 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5243 $ac_path_GREP_found && break 3
5248 if test -z "$ac_cv_path_GREP"; then
5249 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5252 ac_cv_path_GREP
=$GREP
5256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5257 $as_echo "$ac_cv_path_GREP" >&6; }
5258 GREP
="$ac_cv_path_GREP"
5261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5262 $as_echo_n "checking for egrep... " >&6; }
5263 if ${ac_cv_path_EGREP+:} false
; then :
5264 $as_echo_n "(cached) " >&6
5266 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5267 then ac_cv_path_EGREP
="$GREP -E"
5269 if test -z "$EGREP"; then
5270 ac_path_EGREP_found
=false
5271 # Loop through the user's path and test for each of PROGNAME-LIST
5272 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5273 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5276 test -z "$as_dir" && as_dir
=.
5277 for ac_prog
in egrep; do
5278 for ac_exec_ext
in '' $ac_executable_extensions; do
5279 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5280 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5281 # Check for GNU ac_path_EGREP and select it if it is found.
5282 # Check for GNU $ac_path_EGREP
5283 case `"$ac_path_EGREP" --version 2>&1` in
5285 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5288 $as_echo_n 0123456789 >"conftest.in"
5291 cat "conftest.in" "conftest.in" >"conftest.tmp"
5292 mv "conftest.tmp" "conftest.in"
5293 cp "conftest.in" "conftest.nl"
5294 $as_echo 'EGREP' >> "conftest.nl"
5295 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5296 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5297 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5298 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5299 # Best one so far, save it but keep looking for a better one
5300 ac_cv_path_EGREP
="$ac_path_EGREP"
5301 ac_path_EGREP_max
=$ac_count
5303 # 10*(2^10) chars as input seems more than enough
5304 test $ac_count -gt 10 && break
5306 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5309 $ac_path_EGREP_found && break 3
5314 if test -z "$ac_cv_path_EGREP"; then
5315 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5318 ac_cv_path_EGREP
=$EGREP
5323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5324 $as_echo "$ac_cv_path_EGREP" >&6; }
5325 EGREP
="$ac_cv_path_EGREP"
5328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5329 $as_echo_n "checking for ANSI C header files... " >&6; }
5330 if ${ac_cv_header_stdc+:} false
; then :
5331 $as_echo_n "(cached) " >&6
5333 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5334 /* end confdefs.h. */
5348 if ac_fn_c_try_compile
"$LINENO"; then :
5349 ac_cv_header_stdc
=yes
5351 ac_cv_header_stdc
=no
5353 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5355 if test $ac_cv_header_stdc = yes; then
5356 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5357 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5358 /* end confdefs.h. */
5362 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5363 $EGREP "memchr" >/dev
/null
2>&1; then :
5366 ac_cv_header_stdc
=no
5372 if test $ac_cv_header_stdc = yes; then
5373 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5374 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5375 /* end confdefs.h. */
5379 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5380 $EGREP "free" >/dev
/null
2>&1; then :
5383 ac_cv_header_stdc
=no
5389 if test $ac_cv_header_stdc = yes; then
5390 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5391 if test "$cross_compiling" = yes; then :
5394 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5395 /* end confdefs.h. */
5398 #if ((' ' & 0x0FF) == 0x020)
5399 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5400 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5402 # define ISLOWER(c) \
5403 (('a' <= (c) && (c) <= 'i') \
5404 || ('j' <= (c) && (c) <= 'r') \
5405 || ('s' <= (c) && (c) <= 'z'))
5406 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5409 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5414 for (i = 0; i < 256; i++)
5415 if (XOR (islower (i), ISLOWER (i))
5416 || toupper (i) != TOUPPER (i))
5421 if ac_fn_c_try_run
"$LINENO"; then :
5424 ac_cv_header_stdc
=no
5426 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5427 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5433 $as_echo "$ac_cv_header_stdc" >&6; }
5434 if test $ac_cv_header_stdc = yes; then
5436 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5440 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5441 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5442 inttypes.h stdint.h unistd.h
5444 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5445 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5447 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5448 cat >>confdefs.h
<<_ACEOF
5449 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5457 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
5458 if test "x$ac_cv_type_size_t" = xyes
; then :
5462 cat >>confdefs.h
<<_ACEOF
5463 #define size_t unsigned int
5471 for ac_header
in wchar.h
5473 ac_fn_c_check_header_mongrel
"$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
5474 if test "x$ac_cv_header_wchar_h" = xyes
; then :
5475 cat >>confdefs.h
<<_ACEOF
5476 #define HAVE_WCHAR_H 1
5485 $as_echo "#define HAVE_STDARG 1" >>confdefs.h
5488 for ac_header
in sys
/time.h
5490 ac_fn_c_check_header_mongrel
"$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
5491 if test "x$ac_cv_header_sys_time_h" = xyes
; then :
5492 cat >>confdefs.h
<<_ACEOF
5493 #define HAVE_SYS_TIME_H 1
5501 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
5502 # for constant arguments. Useless!
5503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
5504 $as_echo_n "checking for working alloca.h... " >&6; }
5505 if ${ac_cv_working_alloca_h+:} false
; then :
5506 $as_echo_n "(cached) " >&6
5508 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5509 /* end confdefs.h. */
5514 char *p = (char *) alloca (2 * sizeof (int));
5520 if ac_fn_c_try_link
"$LINENO"; then :
5521 ac_cv_working_alloca_h
=yes
5523 ac_cv_working_alloca_h
=no
5525 rm -f core conftest.err conftest.
$ac_objext \
5526 conftest
$ac_exeext conftest.
$ac_ext
5528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
5529 $as_echo "$ac_cv_working_alloca_h" >&6; }
5530 if test $ac_cv_working_alloca_h = yes; then
5532 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
5536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
5537 $as_echo_n "checking for alloca... " >&6; }
5538 if ${ac_cv_func_alloca_works+:} false
; then :
5539 $as_echo_n "(cached) " >&6
5541 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5542 /* end confdefs.h. */
5544 # define alloca __builtin_alloca
5547 # include <malloc.h>
5548 # define alloca _alloca
5550 # ifdef HAVE_ALLOCA_H
5551 # include <alloca.h>
5556 # ifndef alloca /* predefined by HP cc +Olibcalls */
5557 void *alloca (size_t);
5567 char *p = (char *) alloca (1);
5573 if ac_fn_c_try_link
"$LINENO"; then :
5574 ac_cv_func_alloca_works
=yes
5576 ac_cv_func_alloca_works
=no
5578 rm -f core conftest.err conftest.
$ac_objext \
5579 conftest
$ac_exeext conftest.
$ac_ext
5581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
5582 $as_echo "$ac_cv_func_alloca_works" >&6; }
5584 if test $ac_cv_func_alloca_works = yes; then
5586 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
5589 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
5590 # that cause trouble. Some versions do not even contain alloca or
5591 # contain a buggy version. If you still want to use their alloca,
5592 # use ar to extract alloca.o from them instead of compiling alloca.c.
5594 ALLOCA
=\
${LIBOBJDIR}alloca.
$ac_objext
5596 $as_echo "#define C_ALLOCA 1" >>confdefs.h
5599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
5600 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
5601 if ${ac_cv_os_cray+:} false
; then :
5602 $as_echo_n "(cached) " >&6
5604 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5605 /* end confdefs.h. */
5606 #if defined CRAY && ! defined CRAY2
5613 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5614 $EGREP "webecray" >/dev
/null
2>&1; then :
5622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
5623 $as_echo "$ac_cv_os_cray" >&6; }
5624 if test $ac_cv_os_cray = yes; then
5625 for ac_func
in _getb67 GETB67 getb67
; do
5626 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5627 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
5628 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
5630 cat >>confdefs.h
<<_ACEOF
5631 #define CRAY_STACKSEG_END $ac_func
5640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
5641 $as_echo_n "checking stack direction for C alloca... " >&6; }
5642 if ${ac_cv_c_stack_direction+:} false
; then :
5643 $as_echo_n "(cached) " >&6
5645 if test "$cross_compiling" = yes; then :
5646 ac_cv_c_stack_direction
=0
5648 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5649 /* end confdefs.h. */
5650 $ac_includes_default
5652 find_stack_direction (int *addr, int depth)
5657 *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
5658 dir = depth ? find_stack_direction (addr, depth - 1) : 0;
5663 main (int argc, char **argv)
5665 return find_stack_direction (0, argc + !argv + 20) < 0;
5668 if ac_fn_c_try_run
"$LINENO"; then :
5669 ac_cv_c_stack_direction
=1
5671 ac_cv_c_stack_direction
=-1
5673 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5674 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
5679 $as_echo "$ac_cv_c_stack_direction" >&6; }
5680 cat >>confdefs.h
<<_ACEOF
5681 #define STACK_DIRECTION $ac_cv_c_stack_direction
5688 ac_fn_c_check_decl
"$LINENO" "SIZE_MAX" "ac_cv_have_decl_SIZE_MAX" "$ac_includes_default"
5689 if test "x$ac_cv_have_decl_SIZE_MAX" = xyes
; then :
5693 $as_echo "#define SIZE_MAX ((size_t)-1)" >>confdefs.h
5698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to copy va_list" >&5
5699 $as_echo_n "checking how to copy va_list... " >&6; }
5700 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5701 /* end confdefs.h. */
5716 if ac_fn_c_try_link
"$LINENO"; then :
5718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: va_copy" >&5
5719 $as_echo "va_copy" >&6; }
5721 $as_echo "#define HAVE_VA_COPY 1" >>confdefs.h
5725 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5726 /* end confdefs.h. */
5735 __va_copy(ap1, ap2);
5741 if ac_fn_c_try_link
"$LINENO"; then :
5743 $as_echo "#define HAVE___VA_COPY 1" >>confdefs.h
5745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: __va_copy" >&5
5746 $as_echo "__va_copy" >&6; }
5748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: memcpy" >&5
5749 $as_echo "memcpy" >&6; }
5751 rm -f core conftest.err conftest.
$ac_objext \
5752 conftest
$ac_exeext conftest.
$ac_ext
5754 rm -f core conftest.err conftest.
$ac_objext \
5755 conftest
$ac_exeext conftest.
$ac_ext
5760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IEEE-754 switches" >&5
5761 $as_echo_n "checking for IEEE-754 switches... " >&6; }
5762 if ${mpfr_cv_ieee_switches+:} false
; then :
5763 $as_echo_n "(cached) " >&6
5766 saved_CFLAGS
=$CFLAGS
5767 if test -n "$GCC"; then
5768 mpfr_cv_ieee_switches
="-mfp-rounding-mode=d -mieee-with-inexact"
5770 mpfr_cv_ieee_switches
="-fprm d -ieee_with_inexact"
5772 CFLAGS
="$CFLAGS $mpfr_cv_ieee_switches"
5773 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5774 /* end confdefs.h. */
5784 if ac_fn_c_try_compile
"$LINENO"; then :
5787 mpfr_cv_ieee_switches
=none
5789 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5790 CFLAGS
=$saved_CFLAGS
5793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mpfr_cv_ieee_switches" >&5
5794 $as_echo "$mpfr_cv_ieee_switches" >&6; }
5795 test "x$mpfr_cv_ieee_switches" = xnone || CFLAGS
="$CFLAGS $mpfr_cv_ieee_switches"
5801 ac_fn_c_check_type
"$LINENO" "long long int" "ac_cv_type_long_long_int" "$ac_includes_default"
5802 if test "x$ac_cv_type_long_long_int" = xyes
; then :
5804 $as_echo "#define HAVE_LONG_LONG 1" >>confdefs.h
5809 ac_fn_c_check_type
"$LINENO" "intmax_t" "ac_cv_type_intmax_t" "$ac_includes_default"
5810 if test "x$ac_cv_type_intmax_t" = xyes
; then :
5812 cat >>confdefs.h
<<_ACEOF
5813 #define HAVE_INTMAX_T 1
5819 if test "x$ac_cv_type_intmax_t" = xyes
; then
5820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working INTMAX_MAX" >&5
5821 $as_echo_n "checking for working INTMAX_MAX... " >&6; }
5822 if ${mpfr_cv_have_intmax_max+:} false
; then :
5823 $as_echo_n "(cached) " >&6
5826 saved_CPPFLAGS
=$CPPFLAGS
5827 CPPFLAGS
="$CPPFLAGS -I$srcdir/mpfr-3.1.3/src"
5828 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5829 /* end confdefs.h. */
5830 #include "mpfr-intmax.h"
5834 intmax_t x = INTMAX_MAX;
5839 if ac_fn_c_try_compile
"$LINENO"; then :
5840 mpfr_cv_have_intmax_max
=yes
5842 mpfr_cv_have_intmax_max
=no
5844 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5845 CPPFLAGS
=$saved_CPPFLAGS
5848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mpfr_cv_have_intmax_max" >&5
5849 $as_echo "$mpfr_cv_have_intmax_max" >&6; }
5850 if test "x$mpfr_cv_have_intmax_max" = xyes
; then
5852 $as_echo "#define MPFR_HAVE_INTMAX_MAX 1" >>confdefs.h
5857 kpse_search_save_LIBS
=$LIBS
5858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pow" >&5
5859 $as_echo_n "checking for library containing pow... " >&6; }
5860 if ${ac_cv_search_pow+:} false
; then :
5861 $as_echo_n "(cached) " >&6
5863 ac_func_search_save_LIBS
=$LIBS
5864 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5865 /* end confdefs.h. */
5867 /* Override any GCC internal prototype to avoid an error.
5868 Use char because int might match the return type of a GCC
5869 builtin and then its argument prototype would still apply. */
5882 for ac_lib
in '' m
; do
5883 if test -z "$ac_lib"; then
5884 ac_res
="none required"
5887 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5889 if ac_fn_c_try_link
"$LINENO"; then :
5890 ac_cv_search_pow
=$ac_res
5892 rm -f core conftest.err conftest.
$ac_objext \
5894 if ${ac_cv_search_pow+:} false
; then :
5898 if ${ac_cv_search_pow+:} false
; then :
5904 LIBS
=$ac_func_search_save_LIBS
5906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pow" >&5
5907 $as_echo "$ac_cv_search_pow" >&6; }
5908 ac_res
=$ac_cv_search_pow
5909 if test "$ac_res" != no
; then :
5910 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
5914 LIBS
=$kpse_search_save_LIBS
5915 case $ac_cv_search_pow in #(
5919 as_fn_error $?
"Sorry, did not find pow()" "$LINENO" 5 ;; #(
5921 MPFR_LIBM
=$ac_cv_search_pow ;;
5925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fesetround" >&5
5926 $as_echo_n "checking for fesetround... " >&6; }
5927 if ${mpfr_cv_have_fesetround+:} false
; then :
5928 $as_echo_n "(cached) " >&6
5932 LIBS
="$LIBS $MPFR_LIBM"
5933 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5934 /* end confdefs.h. */
5939 fesetround(FE_TONEAREST);
5944 if ac_fn_c_try_link
"$LINENO"; then :
5945 mpfr_cv_have_fesetround
=yes
5947 mpfr_cv_have_fesetround
=no
5949 rm -f core conftest.err conftest.
$ac_objext \
5950 conftest
$ac_exeext conftest.
$ac_ext
5954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mpfr_cv_have_fesetround" >&5
5955 $as_echo "$mpfr_cv_have_fesetround" >&6; }
5956 if test "x$mpfr_cv_have_fesetround" = xyes
; then
5958 $as_echo "#define MPFR_HAVE_FESETROUND 1" >>confdefs.h
5962 if test -n "$GCC"; then
5963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc float-conversion bug" >&5
5964 $as_echo_n "checking for gcc float-conversion bug... " >&6; }
5965 if ${mpfr_cv_gcc_floatconv_bug+:} false
; then :
5966 $as_echo_n "(cached) " >&6
5970 LIBS
="$LIBS $MPFR_LIBM"
5971 if test "$cross_compiling" = yes; then :
5972 mpfr_cv_gcc_floatconv_bug
="cannot test, use -ffloat-store"
5974 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5975 /* end confdefs.h. */
5978 #ifdef MPFR_HAVE_FESETROUND
5981 static double get_max (void);
5986 for (i = 1; i <= 11; i++)
5990 #ifdef MPFR_HAVE_FESETROUND
5991 /* Useful test for the G4 PowerPC */
5992 fesetround(FE_TOWARDZERO);
6000 static double get_max (void) { static volatile double d = DBL_MAX; return d; }
6003 if ac_fn_c_try_run
"$LINENO"; then :
6004 mpfr_cv_gcc_floatconv_bug
="no"
6006 mpfr_cv_gcc_floatconv_bug
="yes, use -ffloat-store"
6008 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6009 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mpfr_cv_gcc_floatconv_bug" >&5
6016 $as_echo "$mpfr_cv_gcc_floatconv_bug" >&6; }
6017 test "x$mpfr_cv_gcc_floatconv_bug" = xno || CFLAGS
="$CFLAGS -ffloat-store"
6020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for denormalized numbers" >&5
6021 $as_echo_n "checking for denormalized numbers... " >&6; }
6022 if ${mpfr_cv_have_denorms+:} false
; then :
6023 $as_echo_n "(cached) " >&6
6026 if test "$cross_compiling" = yes; then :
6027 mpfr_cv_have_denorms
=no
6029 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6030 /* end confdefs.h. */
6035 double x = 2.22507385850720138309e-308;
6036 fprintf (stderr, "%e\n", x / 2.0);
6037 return 2.0 * (x / 2.0) != x;
6041 if ac_fn_c_try_run
"$LINENO"; then :
6042 mpfr_cv_have_denorms
=yes
6044 mpfr_cv_have_denorms
=no
6046 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6047 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mpfr_cv_have_denorms" >&5
6053 $as_echo "$mpfr_cv_have_denorms" >&6; }
6054 if test "x$mpfr_cv_have_denorms" = xyes
; then
6056 $as_echo "#define HAVE_DENORMS 1" >>confdefs.h
6060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the FP division by 0 fails" >&5
6061 $as_echo_n "checking if the FP division by 0 fails... " >&6; }
6062 if ${mpfr_cv_errdivzero+:} false
; then :
6063 $as_echo_n "(cached) " >&6
6066 if test "$cross_compiling" = yes; then :
6067 mpfr_cv_errdivzero
="cannot test, assume no"
6069 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6070 /* end confdefs.h. */
6073 volatile double d = 0.0, x;
6080 if ac_fn_c_try_run
"$LINENO"; then :
6081 mpfr_cv_errdivzero
="no"
6083 mpfr_cv_errdivzero
="yes"
6085 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6086 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mpfr_cv_errdivzero" >&5
6092 $as_echo "$mpfr_cv_errdivzero" >&6; }
6093 if test "x$mpfr_cv_errdivzero" = xyes
; then
6095 $as_echo "#define MPFR_ERRDIVZERO 1" >>confdefs.h
6097 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The floating-point division by 0 fails instead of" >&5
6098 $as_echo "$as_me: WARNING: The floating-point division by 0 fails instead of" >&2;}
6099 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: returning a special value: NaN or infinity. Tests" >&5
6100 $as_echo "$as_me: WARNING: returning a special value: NaN or infinity. Tests" >&2;}
6101 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: involving a FP division by 0 will be disabled." >&5
6102 $as_echo "$as_me: WARNING: involving a FP division by 0 will be disabled." >&2;}
6105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if NAN == NAN" >&5
6106 $as_echo_n "checking if NAN == NAN... " >&6; }
6107 if ${mpfr_cv_nanisnan+:} false
; then :
6108 $as_echo_n "(cached) " >&6
6111 if test "$cross_compiling" = yes; then :
6112 mpfr_cv_nanisnan
="cannot test, assume no"
6114 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6115 /* end confdefs.h. */
6120 # define NAN (0.0/0.0)
6129 if ac_fn_c_try_run
"$LINENO"; then :
6130 mpfr_cv_nanisnan
="yes"
6132 mpfr_cv_nanisnan
="no"
6134 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6135 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mpfr_cv_nanisnan" >&5
6141 $as_echo "$mpfr_cv_nanisnan" >&6; }
6142 if test "x$mpfr_cv_nanisnan" = xyes
; then
6144 $as_echo "#define MPFR_NANISNAN 1" >>confdefs.h
6146 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The test NAN != NAN is false. The probable reason is that" >&5
6147 $as_echo "$as_me: WARNING: The test NAN != NAN is false. The probable reason is that" >&2;}
6148 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: your compiler optimizes floating-point expressions in an" >&5
6149 $as_echo "$as_me: WARNING: your compiler optimizes floating-point expressions in an" >&2;}
6150 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unsafe way because some option, such as -ffast-math or" >&5
6151 $as_echo "$as_me: WARNING: unsafe way because some option, such as -ffast-math or" >&2;}
6152 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: -fast (depending on the compiler), has been used. You" >&5
6153 $as_echo "$as_me: WARNING: -fast (depending on the compiler), has been used. You" >&2;}
6154 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: should NOT use such an option, otherwise MPFR functions" >&5
6155 $as_echo "$as_me: WARNING: should NOT use such an option, otherwise MPFR functions" >&2;}
6156 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: such as mpfr_get_d and mpfr_set_d may return incorrect" >&5
6157 $as_echo "$as_me: WARNING: such as mpfr_get_d and mpfr_set_d may return incorrect" >&2;}
6158 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: results on special FP numbers (e.g. NaN or signed zeros)." >&5
6159 $as_echo "$as_me: WARNING: results on special FP numbers (e.g. NaN or signed zeros)." >&2;}
6160 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: If you did not use such an option, please send us a bug" >&5
6161 $as_echo "$as_me: WARNING: If you did not use such an option, please send us a bug" >&2;}
6162 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: report so that we can try to find a workaround for your" >&5
6163 $as_echo "$as_me: WARNING: report so that we can try to find a workaround for your" >&2;}
6164 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: platform and/or document the behavior." >&5
6165 $as_echo "$as_me: WARNING: platform and/or document the behavior." >&2;}
6168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if charset has consecutive values" >&5
6169 $as_echo_n "checking if charset has consecutive values... " >&6; }
6170 if test "$cross_compiling" = yes; then :
6171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cannot test" >&5
6172 $as_echo "cannot test" >&6; }
6174 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6175 /* end confdefs.h. */
6177 char *number = "0123456789";
6178 char *lower = "abcdefghijklmnopqrstuvwxyz";
6179 char *upper = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
6187 for (p = (unsigned char*) number, i = 0; i < 9; i++)
6188 if ( (*p)+1 != *(p+1) ) return 1;
6189 for (p = (unsigned char*) lower, i = 0; i < 25; i++)
6190 if ( (*p)+1 != *(p+1) ) return 1;
6191 for (p = (unsigned char*) upper, i = 0; i < 25; i++)
6192 if ( (*p)+1 != *(p+1) ) return 1;
6198 if ac_fn_c_try_run
"$LINENO"; then :
6199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6200 $as_echo "yes" >&6; }
6203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6204 $as_echo "no" >&6; }
6206 $as_echo "#define MPFR_NO_CONSECUTIVE_CHARSET 1" >>confdefs.h
6210 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6211 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking format of \`long double' floating point" >&5
6218 $as_echo_n "checking format of \`long double' floating point... " >&6; }
6219 if ${mpfr_cv_c_long_double_format+:} false
; then :
6220 $as_echo_n "(cached) " >&6
6222 mpfr_cv_c_long_double_format
=unknown
6223 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6224 /* end confdefs.h. */
6226 /* "before" is 16 bytes to ensure there's no padding between it and "x".
6227 We're not expecting any "long double" bigger than 16 bytes or with
6228 alignment requirements stricter than 16 bytes. */
6234 { '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0',
6235 '\001', '\043', '\105', '\147', '\211', '\253', '\315', '\357' },
6237 { '\376', '\334', '\272', '\230', '\166', '\124', '\062', '\020' }
6248 if ac_fn_c_try_compile
"$LINENO"; then :
6249 cat >conftest.
awk <<\EOF
6255 # got[] holds a sliding window of bytes read the input. got[0] is the most
6256 # recent byte read, and got[31] the oldest byte read, so when looking to
6257 # match some data the indices are "reversed".
6260 for (f
= 2; f
<= NF
; f
++)
6262 # new byte, shift others up
6263 for (i
= 31; i
>= 0; i--
)
6268 if (got
[7] != "376") continue
6269 if (got
[6] != "334") continue
6270 if (got
[5] != "272") continue
6271 if (got
[4] != "230") continue
6272 if (got
[3] != "166") continue
6273 if (got
[2] != "124") continue
6274 if (got
[1] != "062") continue
6275 if (got
[0] != "020") continue
6277 # start sequence, with 8-byte body
6278 if (got
[23] == "001" && \
6279 got
[22] == "043" && \
6280 got
[21] == "105" && \
6281 got
[20] == "147" && \
6282 got
[19] == "211" && \
6283 got
[18] == "253" && \
6284 got
[17] == "315" && \
6287 saw
= " (" got
[15] \
6296 if (got
[15] == "301" && \
6297 got
[14] == "235" && \
6298 got
[13] == "157" && \
6299 got
[12] == "064" && \
6300 got
[11] == "124" && \
6301 got
[10] == "000" && \
6302 got
[9] == "000" && \
6305 print
"IEEE double, big endian"
6310 if (got
[15] == "000" && \
6311 got
[14] == "000" && \
6312 got
[13] == "000" && \
6313 got
[12] == "124" && \
6314 got
[11] == "064" && \
6315 got
[10] == "157" && \
6316 got
[9] == "235" && \
6319 print
"IEEE double, little endian"
6325 # start sequence, with 12-byte body
6326 if (got
[27] == "001" && \
6327 got
[26] == "043" && \
6328 got
[25] == "105" && \
6329 got
[24] == "147" && \
6330 got
[23] == "211" && \
6331 got
[22] == "253" && \
6332 got
[21] == "315" && \
6335 saw
= " (" got
[19] \
6348 if (got
[19] == "000" && \
6349 got
[18] == "000" && \
6350 got
[17] == "000" && \
6351 got
[16] == "000" && \
6352 got
[15] == "240" && \
6353 got
[14] == "242" && \
6354 got
[13] == "171" && \
6355 got
[12] == "353" && \
6356 got
[11] == "031" && \
6359 print
"IEEE extended, little endian"
6364 if (got
[19] == "300" && \
6365 got
[18] == "031" && \
6366 got
[17] == "000" && \
6367 got
[16] == "000" && \
6368 got
[15] == "353" && \
6369 got
[14] == "171" && \
6370 got
[13] == "242" && \
6371 got
[12] == "240" && \
6372 got
[11] == "000" && \
6373 got
[10] == "000" && \
6374 got
[09] == "000" && \
6377 # format found on m68k
6378 print
"IEEE extended, big endian"
6384 # start sequence, with 16-byte body
6385 if (got
[31] == "001" && \
6386 got
[30] == "043" && \
6387 got
[29] == "105" && \
6388 got
[28] == "147" && \
6389 got
[27] == "211" && \
6390 got
[26] == "253" && \
6391 got
[25] == "315" && \
6394 saw
= " (" got
[23] \
6411 if (got
[23] == "000" && \
6412 got
[22] == "000" && \
6413 got
[21] == "000" && \
6414 got
[20] == "000" && \
6415 got
[19] == "240" && \
6416 got
[18] == "242" && \
6417 got
[17] == "171" && \
6418 got
[16] == "353" && \
6419 got
[15] == "031" && \
6422 print
"IEEE extended, little endian"
6427 if (got
[23] == "300" && \
6428 got
[22] == "031" && \
6429 got
[21] == "326" && \
6430 got
[20] == "363" && \
6431 got
[19] == "105" && \
6432 got
[18] == "100" && \
6433 got
[17] == "000" && \
6434 got
[16] == "000" && \
6435 got
[15] == "000" && \
6436 got
[14] == "000" && \
6437 got
[13] == "000" && \
6438 got
[12] == "000" && \
6439 got
[11] == "000" && \
6440 got
[10] == "000" && \
6441 got
[9] == "000" && \
6444 # format used on HP 9000/785 under HP-UX
6445 print
"IEEE quad, big endian"
6450 if (got
[23] == "000" && \
6451 got
[22] == "000" && \
6452 got
[21] == "000" && \
6453 got
[20] == "000" && \
6454 got
[19] == "000" && \
6455 got
[18] == "000" && \
6456 got
[17] == "000" && \
6457 got
[16] == "000" && \
6458 got
[15] == "000" && \
6459 got
[14] == "000" && \
6460 got
[13] == "100" && \
6461 got
[12] == "105" && \
6462 got
[11] == "363" && \
6463 got
[10] == "326" && \
6464 got
[9] == "031" && \
6467 print
"IEEE quad, little endian"
6472 if (got
[23] == "301" && \
6473 got
[22] == "235" && \
6474 got
[21] == "157" && \
6475 got
[20] == "064" && \
6476 got
[19] == "124" && \
6477 got
[18] == "000" && \
6478 got
[17] == "000" && \
6479 got
[16] == "000" && \
6480 got
[15] == "000" && \
6481 got
[14] == "000" && \
6482 got
[13] == "000" && \
6483 got
[12] == "000" && \
6484 got
[11] == "000" && \
6485 got
[10] == "000" && \
6486 got
[9] == "000" && \
6489 # format used on 32-bit PowerPC (Mac OS X and Debian GNU/Linux)
6490 print
"possibly double-double, big endian"
6500 print
"unknown", saw
6504 mpfr_cv_c_long_double_format
=`od -b conftest.$ac_objext | $AWK -f conftest.awk`
6505 case $mpfr_cv_c_long_double_format in #(
6507 echo "cannot match anything, conftest.$ac_objext contains" >&5
6508 od -b conftest.
$ac_objext >&5 ;; #(
6513 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: oops, cannot compile test program" >&5
6514 $as_echo "$as_me: WARNING: oops, cannot compile test program" >&2;}
6516 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mpfr_cv_c_long_double_format" >&5
6520 $as_echo "$mpfr_cv_c_long_double_format" >&6; }
6524 case $mpfr_cv_c_long_double_format in #(
6525 "IEEE extended, little endian") :
6526 $as_echo "#define HAVE_LDOUBLE_IEEE_EXT_LITTLE 1" >>confdefs.h
6528 "IEEE quad, big endian") :
6529 $as_echo "#define HAVE_LDOUBLE_IEEE_QUAD_BIG 1" >>confdefs.h
6531 "IEEE quad, little endian") :
6532 $as_echo "#define HAVE_LDOUBLE_IEEE_QUAD_LITTLE 1" >>confdefs.h
6534 "possibly double-double, big endian") :
6535 # Since we are not sure, we do not want to define a macro.
6536 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: This format is known on GCC/PowerPC platforms," >&5
6537 $as_echo "$as_me: WARNING: This format is known on GCC/PowerPC platforms," >&2;}
6538 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: but due to GCC PR26374, we can't test further." >&5
6539 $as_echo "$as_me: WARNING: but due to GCC PR26374, we can't test further." >&2;}
6540 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You can safely ignore this warning, though." >&5
6541 $as_echo "$as_me: WARNING: You can safely ignore this warning, though." >&2;} ;; #(
6542 unknown
* |
"not available") :
6545 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: oops, unrecognised float format: $mpfr_cv_c_long_double_format" >&5
6546 $as_echo "$as_me: WARNING: oops, unrecognised float format: $mpfr_cv_c_long_double_format" >&2;} ;;
6552 if test "x$enable_build" != xno
; then
6561 ## _KPSE_INIT: Initialize TL infrastructure
6562 kpse_BLD
=`(cd "./../../." && pwd)`
6563 kpse_SRC
=`(cd "$srcdir/../../." && pwd)`
6565 ## _KPSE_LIB_FLAGS: Setup gmp (-lgmp) flags
6567 # Check whether --with-system-gmp was given.
6568 if test "${with_system_gmp+set}" = set; then :
6569 withval
=$with_system_gmp;
6572 # Check whether --with-gmp-includes was given.
6573 if test "${with_gmp_includes+set}" = set; then :
6574 withval
=$with_gmp_includes;
6577 # Check whether --with-gmp-libdir was given.
6578 if test "${with_gmp_libdir+set}" = set; then :
6579 withval
=$with_gmp_libdir;
6581 if test "x$with_system_gmp" = xyes
; then
6582 if test "x$with_gmp_includes" != x
&& test "x$with_gmp_includes" != xyes
; then
6583 GMP_INCLUDES
="-I$with_gmp_includes"
6586 if test "x$with_gmp_libdir" != x
&& test "x$with_gmp_libdir" != xyes
; then
6587 GMP_LIBS
="-L$with_gmp_libdir $GMP_LIBS"
6590 GMP_INCLUDES
="-I$kpse_BLD/libs/gmp/include"
6591 GMP_LIBS
="$kpse_BLD/libs/gmp/libgmp.a"
6592 GMP_DEPEND
='${top_builddir}/../../libs/gmp/libgmp.a'
6593 GMP_RULE
='# Rebuild libgmp
6594 $(GMP_DEPEND): ${top_builddir}/../../libs/gmp/include/gmp.h
6595 cd ${top_builddir}/../../libs/gmp && $(MAKE) $(AM_MAKEFLAGS) rebuild
6596 ${top_builddir}/../../libs/gmp/include/gmp.h:
6597 cd ${top_builddir}/../../libs/gmp && $(MAKE) $(AM_MAKEFLAGS) rebuild'
6601 if test "x$enable_build" != xno ||
test -f config.force
; then
6603 ac_fn_c_check_header_mongrel
"$LINENO" "limits.h" "ac_cv_header_limits_h" "$ac_includes_default"
6604 if test "x$ac_cv_header_limits_h" = xyes
; then :
6607 as_fn_error $?
"limits.h not found" "$LINENO" 5
6611 ac_fn_c_check_header_mongrel
"$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
6612 if test "x$ac_cv_header_float_h" = xyes
; then :
6615 as_fn_error $?
"float.h not found" "$LINENO" 5
6619 ac_fn_c_check_header_mongrel
"$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default"
6620 if test "x$ac_cv_header_string_h" = xyes
; then :
6623 as_fn_error $?
"string.h not found" "$LINENO" 5
6628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ICC" >&5
6629 $as_echo_n "checking for ICC... " >&6; }
6630 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6631 /* end confdefs.h. */
6634 # error "ICC Not Found"
6646 if ac_fn_c_try_compile
"$LINENO"; then :
6648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6649 $as_echo "yes" >&6; }
6650 CFLAGS
="-fp_port -mp -wd1572 -wd265 -wd186 -wd239 $CFLAGS"
6653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6654 $as_echo "no" >&6; }
6656 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6661 *-Wl,-search_paths_first*) :
6664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the compiler understands -Wl,-search_paths_first" >&5
6665 $as_echo_n "checking if the compiler understands -Wl,-search_paths_first... " >&6; }
6666 saved_LDFLAGS
=$LDFLAGS
6667 LDFLAGS
="-Wl,-search_paths_first $LDFLAGS"
6668 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6669 /* end confdefs.h. */
6679 if ac_fn_c_try_link
"$LINENO"; then :
6680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6681 $as_echo "yes" >&6; }
6683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6684 $as_echo "no" >&6; }
6685 LDFLAGS
=$saved_LDFLAGS
6687 rm -f core conftest.err conftest.
$ac_objext \
6688 conftest
$ac_exeext conftest.
$ac_ext ;;
6695 kpse_save_CPPFLAGS
=$CPPFLAGS
6696 kpse_save_LIBS
=$LIBS
6698 eval CPPFLAGS
=\"$GMP_INCLUDES \
$CPPFLAGS\"
6699 eval LIBS
=\"$GMP_LIBS \
$LIBS\"
6702 ac_fn_c_check_header_mongrel
"$LINENO" "gmp.h" "ac_cv_header_gmp_h" "$ac_includes_default"
6703 if test "x$ac_cv_header_gmp_h" = xyes
; then :
6706 as_fn_error $?
"gmp.h not found" "$LINENO" 5
6711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent GMP" >&5
6712 $as_echo_n "checking for recent GMP... " >&6; }
6713 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6714 /* end confdefs.h. */
6717 #if (__GNU_MP_VERSION*100+__GNU_MP_VERSION_MINOR*10 < 410)
6718 # error "min GMP version is 4.1.0"
6723 if ac_fn_c_try_compile
"$LINENO"; then :
6724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6725 $as_echo "yes" >&6; }
6728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6729 $as_echo "no" >&6; }
6730 as_fn_error $?
"GMP 4.1.0 min required" "$LINENO" 5
6733 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6735 ac_fn_c_check_func
"$LINENO" "__gmpz_init" "ac_cv_func___gmpz_init"
6736 if test "x$ac_cv_func___gmpz_init" = xyes
; then :
6739 as_fn_error $?
"Sorry, cannot find/use libgmp" "$LINENO" 5
6743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gmp.h version and libgmp version are the same" >&5
6744 $as_echo_n "checking if gmp.h version and libgmp version are the same... " >&6; }
6745 if test "$cross_compiling" = yes; then :
6746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: can not test" >&5
6747 $as_echo "can not test" >&6; }
6749 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6750 /* end confdefs.h. */
6761 sprintf (buffer, "%d.%d.%d", __GNU_MP_VERSION, __GNU_MP_VERSION_MINOR,
6762 __GNU_MP_VERSION_PATCHLEVEL);
6763 printf ("(%s/%s) ", buffer, gmp_version);
6764 if (strcmp (buffer, gmp_version) == 0)
6766 if (__GNU_MP_VERSION_PATCHLEVEL != 0)
6768 sprintf (buffer, "%d.%d", __GNU_MP_VERSION, __GNU_MP_VERSION_MINOR);
6769 return (strcmp (buffer, gmp_version) != 0) ? 1 : 0;
6775 if ac_fn_c_try_run
"$LINENO"; then :
6776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6777 $as_echo "yes" >&6; }
6779 if test "x$ac_cv_type_intmax_t" = xyes
; then
6781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gmp_printf supports \"%jd\"" >&5
6782 $as_echo_n "checking if gmp_printf supports \"%jd\"... " >&6; }
6783 if test "$cross_compiling" = yes; then :
6784 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6785 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6786 as_fn_error $?
"cannot run test program while cross compiling
6787 See \`config.log' for more details" "$LINENO" 5; }
6789 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6790 /* end confdefs.h. */
6794 #ifdef HAVE_INTTYPES_H
6795 # include <inttypes.h>
6797 #ifdef HAVE_STDINT_H
6798 # include <stdint.h>
6810 if (gmp_sprintf (s, "(%0.0jd)(%d)", a, 42) == -1) return 1;
6811 return (strcmp (s, "(17)(42)") != 0);
6817 if ac_fn_c_try_run
"$LINENO"; then :
6818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6819 $as_echo "yes" >&6; }
6822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6823 $as_echo "no" >&6; }
6825 $as_echo "#define NPRINTF_J 1" >>confdefs.h
6828 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6829 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gmp_printf supports \"%hhd\"" >&5
6837 $as_echo_n "checking if gmp_printf supports \"%hhd\"... " >&6; }
6838 if test "$cross_compiling" = yes; then :
6839 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6840 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6841 as_fn_error $?
"cannot run test program while cross compiling
6842 See \`config.log' for more details" "$LINENO" 5; }
6844 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6845 /* end confdefs.h. */
6858 if (gmp_sprintf (s, "(%0.0hhd)(%d)", a, 42) == -1) return 1;
6859 return (strcmp (s, "(17)(42)") != 0);
6865 if ac_fn_c_try_run
"$LINENO"; then :
6866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6867 $as_echo "yes" >&6; }
6870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6871 $as_echo "no" >&6; }
6873 $as_echo "#define NPRINTF_HH 1" >>confdefs.h
6876 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6877 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gmp_printf supports \"%lld\"" >&5
6884 $as_echo_n "checking if gmp_printf supports \"%lld\"... " >&6; }
6885 if test "$cross_compiling" = yes; then :
6886 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6887 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6888 as_fn_error $?
"cannot run test program while cross compiling
6889 See \`config.log' for more details" "$LINENO" 5; }
6891 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6892 /* end confdefs.h. */
6903 long long int a = 17;
6905 if (gmp_sprintf (s, "(%0.0lld)(%d)", a, 42) == -1) return 1;
6906 return (strcmp (s, "(17)(42)") != 0);
6912 if ac_fn_c_try_run
"$LINENO"; then :
6913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6914 $as_echo "yes" >&6; }
6917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6918 $as_echo "no" >&6; }
6920 $as_echo "#define NPRINTF_LL 1" >>confdefs.h
6923 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6924 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gmp_printf supports \"%Lf\"" >&5
6931 $as_echo_n "checking if gmp_printf supports \"%Lf\"... " >&6; }
6932 if test "$cross_compiling" = yes; then :
6933 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6934 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6935 as_fn_error $?
"cannot run test program while cross compiling
6936 See \`config.log' for more details" "$LINENO" 5; }
6938 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6939 /* end confdefs.h. */
6952 if (gmp_sprintf (s, "(%0.0Lf)(%d)", a, 42) == -1) return 1;
6953 return (strcmp (s, "(17)(42)") != 0);
6959 if ac_fn_c_try_run
"$LINENO"; then :
6960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6961 $as_echo "yes" >&6; }
6964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6965 $as_echo "no" >&6; }
6967 $as_echo "#define NPRINTF_L 1" >>confdefs.h
6970 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6971 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gmp_printf supports \"%td\"" >&5
6978 $as_echo_n "checking if gmp_printf supports \"%td\"... " >&6; }
6979 if test "$cross_compiling" = yes; then :
6980 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6981 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6982 as_fn_error $?
"cannot run test program while cross compiling
6983 See \`config.log' for more details" "$LINENO" 5; }
6985 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6986 /* end confdefs.h. */
6990 #if defined (__cplusplus)
7005 if (gmp_sprintf (s, "(%0.0td)(%d)", a, 42) == -1) return 1;
7006 return (strcmp (s, "(17)(42)") != 0);
7012 if ac_fn_c_try_run
"$LINENO"; then :
7013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7014 $as_echo "yes" >&6; }
7017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7018 $as_echo "no" >&6; }
7020 $as_echo "#define NPRINTF_T 1" >>confdefs.h
7023 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7024 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7031 $as_echo "no" >&6; }
7032 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ==========================================================" >&5
7033 $as_echo "$as_me: WARNING: ==========================================================" >&2;}
7034 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'gmp.h' and 'libgmp' seem to have different versions or" >&5
7035 $as_echo "$as_me: WARNING: 'gmp.h' and 'libgmp' seem to have different versions or" >&2;}
7036 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: we cannot run a program linked with GMP (if you cannot" >&5
7037 $as_echo "$as_me: WARNING: we cannot run a program linked with GMP (if you cannot" >&2;}
7038 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: see the version numbers above). A cause may be incompatible" >&5
7039 $as_echo "$as_me: WARNING: see the version numbers above). A cause may be incompatible" >&2;}
7040 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GMP versions See 'config.log' for details.." >&5
7041 $as_echo "$as_me: WARNING: GMP versions See 'config.log' for details.." >&2;}
7042 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ==========================================================" >&5
7043 $as_echo "$as_me: WARNING: ==========================================================" >&2;}
7046 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7047 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7052 CPPFLAGS
=$kpse_save_CPPFLAGS
7053 LIBS
=$kpse_save_LIBS
7056 echo timestamp
>config.force
7059 MPFR_TREE
=mpfr-3.1
.3
7062 ac_config_links
="$ac_config_links mparam.h:mpfr-3.1.3/src/mparam_h.in"
7065 ac_config_files
="$ac_config_files Makefile include/Makefile"
7068 cat >confcache
<<\_ACEOF
7069 # This file is a shell script that caches the results of configure
7070 # tests run on this system so they can be shared between configure
7071 # scripts and configure runs, see configure's option --config-cache.
7072 # It is not useful on other systems. If it contains results you don't
7073 # want to keep, you may remove or edit it.
7075 # config.status only pays attention to the cache file if you give it
7076 # the --recheck option to rerun configure.
7078 # `ac_cv_env_foo' variables (set or unset) will be overridden when
7079 # loading this file, other *unset* `ac_cv_foo' will be assigned the
7084 # The following way of writing the cache mishandles newlines in values,
7085 # but we know of no workaround that is simple, portable, and efficient.
7086 # So, we kill variables containing newlines.
7087 # Ultrix sh set writes to stderr and can't be redirected directly,
7088 # and sets the high bit in the cache file unless we assign to the vars.
7090 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
7091 eval ac_val
=\$
$ac_var
7095 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
7096 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
7099 _ | IFS | as_nl
) ;; #(
7100 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
7101 *) { eval $ac_var=; unset $ac_var;} ;;
7107 case $as_nl`(ac_space=' '; set) 2>&1` in #(
7108 *${as_nl}ac_space
=\
*)
7109 # `set' does not quote correctly, so add quotes: double-quote
7110 # substitution turns \\\\ into \\, and sed turns \\ into \.
7113 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7116 # `set' quotes correctly as required by POSIX, so do not add quotes.
7117 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
7126 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7128 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7130 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
7131 if test -w "$cache_file"; then
7132 if test "x$cache_file" != "x/dev/null"; then
7133 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
7134 $as_echo "$as_me: updating cache $cache_file" >&6;}
7135 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
7136 cat confcache
>"$cache_file"
7138 case $cache_file in #(
7140 mv -f confcache
"$cache_file"$$
&&
7141 mv -f "$cache_file"$$
"$cache_file" ;; #(
7143 mv -f confcache
"$cache_file" ;;
7148 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
7149 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
7154 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
7155 # Let make expand exec_prefix.
7156 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
7158 DEFS
=-DHAVE_CONFIG_H
7163 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
7164 # 1. Remove the extension, and $U if already installed.
7165 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
7166 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
7167 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
7168 # will be set to the directory where LIBOBJS objects are built.
7169 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
7170 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
7174 LTLIBOBJS
=$ac_ltlibobjs
7177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
7178 $as_echo_n "checking that generated files are newer than configure... " >&6; }
7179 if test -n "$am_sleep_pid"; then
7180 # Hide warnings about reused PIDs.
7181 wait $am_sleep_pid 2>/dev
/null
7183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
7184 $as_echo "done" >&6; }
7185 if test -n "$EXEEXT"; then
7187 am__EXEEXT_FALSE
='#'
7193 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
7194 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
7195 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7197 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
7198 as_fn_error $?
"conditional \"AMDEP\" was never defined.
7199 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7201 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
7202 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
7203 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7205 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
7206 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
7207 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7209 if test -z "${build_TRUE}" && test -z "${build_FALSE}"; then
7210 as_fn_error $?
"conditional \"build\" was never defined.
7211 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7214 : "${CONFIG_STATUS=./config.status}"
7216 ac_clean_files_save
=$ac_clean_files
7217 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
7218 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
7219 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
7221 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
7223 # Generated by $as_me.
7224 # Run this file to recreate the current configuration.
7225 # Compiler output produced by configure, useful for debugging
7226 # configure, is in config.log if it exists.
7232 SHELL=\${CONFIG_SHELL-$SHELL}
7235 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
7236 ## -------------------- ##
7237 ## M4sh Initialization. ##
7238 ## -------------------- ##
7240 # Be more Bourne compatible
7241 DUALCASE
=1; export DUALCASE
# for MKS sh
7242 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
7245 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
7246 # is contrary to our usage. Disable this feature.
7247 alias -g '${1+"$@"}'='"$@"'
7248 setopt NO_GLOB_SUBST
7250 case `(set -o) 2>/dev/null` in #(
7262 # Printing a long string crashes Solaris 7 /usr/bin/printf.
7263 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
7264 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
7265 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
7266 # Prefer a ksh shell builtin over an external printf program on Solaris,
7267 # but without wasting forks for bash or zsh.
7268 if test -z "$BASH_VERSION$ZSH_VERSION" \
7269 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
7270 as_echo='print
-r --'
7271 as_echo_n='print
-rn --'
7272 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
7273 as_echo='printf %s
\n'
7274 as_echo_n='printf %s
'
7276 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
7277 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
7278 as_echo_n='/usr
/ucb
/echo -n'
7280 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
7281 as_echo_n_body='eval
7285 expr "X$arg" : "X\\(.*\\)$as_nl";
7286 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
7288 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
7290 export as_echo_n_body
7291 as_echo_n='sh
-c $as_echo_n_body as_echo
'
7294 as_echo='sh
-c $as_echo_body as_echo
'
7297 # The user is always right.
7298 if test "${PATH_SEPARATOR+set}" != set; then
7300 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
7301 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
7308 # We need space, tab and new line, in precisely that order. Quoting is
7309 # there to prevent editors from complaining about space-tab.
7310 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
7311 # splitting by setting IFS to empty value.)
7314 # Find who we are. Look in the path if we contain no directory separator.
7317 *[\\/]* ) as_myself=$0 ;;
7318 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7322 test -z "$as_dir" && as_dir=.
7323 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7329 # We did not find ourselves, most probably we were run as `sh COMMAND'
7330 # in which case we are not to be found in the path.
7331 if test "x$as_myself" = x
; then
7334 if test ! -f "$as_myself"; then
7335 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
7339 # Unset variables that we do not need and which cause bugs (e.g. in
7340 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
7341 # suppresses any "Segmentation fault" message there. '((' could
7342 # trigger a bug in pdksh 5.2.14.
7343 for as_var
in BASH_ENV ENV MAIL MAILPATH
7344 do eval test x\
${$as_var+set} = xset \
7345 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
7358 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
7361 # as_fn_error STATUS ERROR [LINENO LOG_FD]
7362 # ----------------------------------------
7363 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
7364 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
7365 # script with STATUS, using 1 if that was 0.
7368 as_status
=$1; test $as_status -eq 0 && as_status
=1
7370 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
7371 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
7373 $as_echo "$as_me: error: $2" >&2
7374 as_fn_exit
$as_status
7378 # as_fn_set_status STATUS
7379 # -----------------------
7380 # Set $? to STATUS, without forking.
7384 } # as_fn_set_status
7388 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
7398 # Portably unset VAR.
7401 { eval $1=; unset $1;}
7403 as_unset
=as_fn_unset
7404 # as_fn_append VAR VALUE
7405 # ----------------------
7406 # Append the text in VALUE to the end of the definition contained in VAR. Take
7407 # advantage of any shell optimizations that allow amortized linear growth over
7408 # repeated appends, instead of the typical quadratic growth present in naive
7410 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
7411 eval 'as_fn_append ()
7422 # as_fn_arith ARG...
7423 # ------------------
7424 # Perform arithmetic evaluation on the ARGs, and store the result in the
7425 # global $as_val. Take advantage of shells that can avoid forks. The arguments
7426 # must be portable across $(()) and expr.
7427 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
7428 eval 'as_fn_arith ()
7435 as_val
=`expr "$@" || test $? -eq 1`
7440 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
7441 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
7447 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7448 as_basename
=basename
7453 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
7459 as_me
=`$as_basename -- "$0" ||
7460 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7461 X"$0" : 'X\(//\)$' \| \
7462 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7464 sed '/^.*\/\([^/][^/]*\)\/*$/{
7478 # Avoid depending upon Character Ranges.
7479 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
7480 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7481 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
7482 as_cr_digits
='0123456789'
7483 as_cr_alnum
=$as_cr_Letters$as_cr_digits
7485 ECHO_C
= ECHO_N
= ECHO_T
=
7486 case `echo -n x` in #(((((
7488 case `echo 'xy\c'` in
7489 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
7491 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
7498 rm -f conf$$ conf$$.exe conf$$.
file
7499 if test -d conf$$.dir
; then
7500 rm -f conf$$.dir
/conf$$.
file
7503 mkdir conf$$.dir
2>/dev
/null
7505 if (echo >conf$$.
file) 2>/dev
/null
; then
7506 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
7508 # ... but there are two gotchas:
7509 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7510 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7511 # In both cases, we have to default to `cp -pR'.
7512 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
7514 elif ln conf$$.
file conf$$
2>/dev
/null
; then
7522 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
7523 rmdir conf$$.dir
2>/dev
/null
7528 # Create "$as_dir" as a directory, including parents if necessary.
7533 -*) as_dir
=.
/$as_dir;;
7535 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
7539 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7540 *) as_qdir
=$as_dir;;
7542 as_dirs
="'$as_qdir' $as_dirs"
7543 as_dir
=`$as_dirname -- "$as_dir" ||
7544 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7545 X"$as_dir" : 'X\(//\)[^/]' \| \
7546 X"$as_dir" : 'X\(//\)$' \| \
7547 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7548 $as_echo X"$as_dir" |
7549 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7566 test -d "$as_dir" && break
7568 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
7569 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
7573 if mkdir
-p .
2>/dev
/null
; then
7574 as_mkdir_p
='mkdir -p "$as_dir"'
7576 test -d .
/-p && rmdir .
/-p
7581 # as_fn_executable_p FILE
7582 # -----------------------
7583 # Test if FILE is an executable regular file.
7584 as_fn_executable_p
()
7586 test -f "$1" && test -x "$1"
7587 } # as_fn_executable_p
7589 as_executable_p
=as_fn_executable_p
7591 # Sed expression to map a string onto a valid CPP name.
7592 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7594 # Sed expression to map a string onto a valid variable name.
7595 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7599 ## ----------------------------------- ##
7600 ## Main body of $CONFIG_STATUS script. ##
7601 ## ----------------------------------- ##
7603 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
7605 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7606 # Save the log message, to keep $0 and so on meaningful, and to
7607 # report actual input values of CONFIG_FILES etc. instead of their
7608 # values after options handling.
7610 This file was extended by mpfr (TeX Live) $as_me 3.1.3, which was
7611 generated by GNU Autoconf 2.69. Invocation command line was
7613 CONFIG_FILES = $CONFIG_FILES
7614 CONFIG_HEADERS = $CONFIG_HEADERS
7615 CONFIG_LINKS = $CONFIG_LINKS
7616 CONFIG_COMMANDS = $CONFIG_COMMANDS
7619 on `(hostname || uname -n) 2>/dev/null | sed 1q`
7624 case $ac_config_files in *"
7625 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
7628 case $ac_config_headers in *"
7629 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
7633 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7634 # Files that config.status was made for.
7635 config_files="$ac_config_files"
7636 config_headers="$ac_config_headers"
7637 config_links="$ac_config_links"
7638 config_commands="$ac_config_commands"
7642 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7644 \`$as_me' instantiates files and other configuration actions
7645 from templates according to the current configuration. Unless the files
7646 and actions are specified as TAGs, all are instantiated by default.
7648 Usage: $0 [OPTION]... [TAG]...
7650 -h, --help print this help, then exit
7651 -V, --version print version number and configuration settings, then exit
7652 --config print configuration, then exit
7653 -q, --quiet, --silent
7654 do not print progress messages
7655 -d, --debug don't remove temporary files
7656 --recheck update $as_me by reconfiguring in the same conditions
7657 --file=FILE[:TEMPLATE]
7658 instantiate the configuration file FILE
7659 --header=FILE[:TEMPLATE]
7660 instantiate the configuration header FILE
7662 Configuration files:
7665 Configuration headers:
7668 Configuration links:
7671 Configuration commands:
7674 Report bugs to <tex-k@tug.org>."
7677 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7678 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
7680 mpfr (TeX Live) config.status 3.1.3
7681 configured by $0, generated by GNU Autoconf 2.69,
7682 with options \\"\$ac_cs_config\\"
7684 Copyright (C) 2012 Free Software Foundation, Inc.
7685 This config.status script is free software; the Free Software Foundation
7686 gives unlimited permission to copy, distribute and modify it."
7693 test -n "\$AWK" || AWK=awk
7696 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7697 # The default lists apply if the user does not specify any file.
7703 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
7704 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
7708 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
7720 # Handling of the options.
7721 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
7723 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
7724 $as_echo "$ac_cs_version"; exit ;;
7725 --config |
--confi |
--conf |
--con |
--co |
--c )
7726 $as_echo "$ac_cs_config"; exit ;;
7727 --debug |
--debu |
--deb |
--de |
--d |
-d )
7729 --file |
--fil |
--fi |
--f )
7732 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7733 '') as_fn_error $?
"missing file argument" ;;
7735 as_fn_append CONFIG_FILES
" '$ac_optarg'"
7736 ac_need_defaults
=false
;;
7737 --header |
--heade |
--head |
--hea )
7740 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7742 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
7743 ac_need_defaults
=false
;;
7745 # Conflict between --help and --header
7746 as_fn_error $?
"ambiguous option: \`$1'
7747 Try \`$0 --help' for more information.";;
7748 --help |
--hel |
-h )
7749 $as_echo "$ac_cs_usage"; exit ;;
7750 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
7751 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
7755 -*) as_fn_error $?
"unrecognized option: \`$1'
7756 Try \`$0 --help' for more information." ;;
7758 *) as_fn_append ac_config_targets
" $1"
7759 ac_need_defaults
=false
;;
7765 ac_configure_extra_args
=
7767 if $ac_cs_silent; then
7769 ac_configure_extra_args
="$ac_configure_extra_args --silent"
7773 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7774 if \$ac_cs_recheck; then
7775 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7777 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
7778 CONFIG_SHELL='$SHELL'
7784 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7788 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7789 ## Running $as_me. ##
7795 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7799 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
7803 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7805 # Handling of arguments.
7806 for ac_config_target
in $ac_config_targets
7808 case $ac_config_target in
7809 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
7810 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
7811 "mparam.h") CONFIG_LINKS
="$CONFIG_LINKS mparam.h:mpfr-3.1.3/src/mparam_h.in" ;;
7812 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
7813 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
7815 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
7820 # If the user did not use the arguments to specify the items to instantiate,
7821 # then the envvar interface is used. Set only those that are not.
7822 # We use the long form for the default assignment because of an extremely
7823 # bizarre bug on SunOS 4.1.3.
7824 if $ac_need_defaults; then
7825 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
7826 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
7827 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
7828 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
7831 # Have a temporary directory for convenience. Make it in the build tree
7832 # simply because there is no reason against having it here, and in addition,
7833 # creating and moving files from /tmp can sometimes cause problems.
7834 # Hook for its removal unless debugging.
7835 # Note that there is a small window in which the directory will not be cleaned:
7836 # after its creation but before its name has been assigned to `$tmp'.
7840 trap 'exit_status=$?
7842 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
7844 trap 'as_fn_exit 1' 1 2 13 15
7846 # Create a (secure) tmp directory for tmp files.
7849 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7853 tmp
=.
/conf$$
-$RANDOM
7854 (umask 077 && mkdir
"$tmp")
7855 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
7858 # Set up the scripts for CONFIG_FILES section.
7859 # No need to generate them if there are no CONFIG_FILES.
7860 # This happens for instance with `./config.status config.h'.
7861 if test -n "$CONFIG_FILES"; then
7864 ac_cr
=`echo X | tr X '\015'`
7865 # On cygwin, bash can eat \r inside `` if the user requested igncr.
7866 # But we know of no other shell where ac_cr would be empty at this
7867 # point, so we can use a bashism as a fallback.
7868 if test "x$ac_cr" = x
; then
7869 eval ac_cr
=\$
\'\\r
\'
7871 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
7872 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
7878 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
7883 echo "cat >conf$$subs.awk <<_ACEOF" &&
7884 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
7887 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
7888 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
7890 for ac_last_try in false false false false false :; do
7891 . ./conf$$subs.sh ||
7892 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
7894 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
7895 if test $ac_delim_n = $ac_delim_num; then
7897 elif $ac_last_try; then
7898 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
7900 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
7905 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7906 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
7910 s/^/S["/; s
/!.
*/"]=/
7920 s/\(.\{148\}\)..*/\1/
7922 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
7927 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
7934 s/\(.\{148\}\)..*/\1/
7936 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
7940 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
7945 ' <conf$$subs.awk | sed '
7950 ' >>$CONFIG_STATUS || ac_write_fail=1
7951 rm -f conf$$subs.awk
7952 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7954 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
7955 for (key in S) S_is_set[key] = 1
7961 nfields = split(line, field, "@
")
7963 len = length(field[1])
7964 for (i = 2; i < nfields; i++) {
7966 keylen = length(key)
7967 if (S_is_set[key]) {
7969 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
7970 len += length(value) + length(field[++i])
7981 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7982 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
7983 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
7986 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
7987 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
7990 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
7991 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
7992 # trailing colons and then remove the whole line if VPATH becomes empty
7993 # (actually we leave an empty line to preserve line numbers).
7994 if test "x
$srcdir" = x.; then
7995 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
8013 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8014 fi # test -n "$CONFIG_FILES"
8016 # Set up the scripts for CONFIG_HEADERS section.
8017 # No need to generate them if there are no CONFIG_HEADERS.
8018 # This happens for instance with `./config.status Makefile'.
8019 if test -n "$CONFIG_HEADERS"; then
8020 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
8024 # Transform confdefs.h into an awk script `defines.awk', embedded as
8025 # here-document in config.status, that substitutes the proper values into
8026 # config.h.in to produce config.h.
8028 # Create a delimiter string that does not exist in confdefs.h, to ease
8029 # handling of long lines.
8031 for ac_last_try in false false :; do
8032 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
8033 if test -z "$ac_tt"; then
8035 elif $ac_last_try; then
8036 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
8038 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
8042 # For the awk script, D is an array of macro values keyed by name,
8043 # likewise P contains macro parameters if any. Preserve backslash
8044 # newline sequences.
8046 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
8048 s/.\{148\}/&'"$ac_delim"'/g
8051 s/^[ ]*#[ ]*define[ ][ ]*/ /
8058 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
8060 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
8064 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
8065 D["\
1"]=" \
3\\\\\\n
"\\/p
8067 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
8072 s/.\{148\}/&'"$ac_delim"'/g
8077 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
8080 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
8082 ' <confdefs.h | sed '
8083 s/'"$ac_delim"'/"\\\
8084 "/g' >>$CONFIG_STATUS || ac_write_fail=1
8086 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8087 for (key in D) D_is_set[key] = 1
8090 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
8092 split(line, arg, " ")
8093 if (arg[1] == "#") {
8097 defundef
= substr
(arg
[1], 2)
8100 split(mac1
, mac2
, "(") #)
8102 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
8103 if (D_is_set
[macro
]) {
8104 # Preserve the white space surrounding the "#".
8105 print prefix
"define", macro P
[macro
] D
[macro
]
8108 # Replace #undef with comments. This is necessary, for example,
8109 # in the case of _POSIX_SOURCE, which is predefined and required
8110 # on some systems where configure will not decide to define it.
8111 if (defundef
== "undef") {
8112 print
"/*", prefix defundef
, macro
, "*/"
8120 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8121 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
8122 fi # test -n "$CONFIG_HEADERS"
8125 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
8130 :[FHLC
]) ac_mode
=$ac_tag; continue;;
8132 case $ac_mode$ac_tag in
8134 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
8135 :[FH
]-) ac_tag
=-:-;;
8136 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
8153 -) ac_f
="$ac_tmp/stdin";;
8154 *) # Look for the file first in the build tree, then in the source tree
8155 # (if the path is not absolute). The absolute path cannot be DOS-style,
8156 # because $ac_f cannot contain `:'.
8160 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
8162 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
8164 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
8165 as_fn_append ac_file_inputs
" '$ac_f'"
8168 # Let's still pretend it is `configure' which instantiates (i.e., don't
8169 # use $as_me), people would be surprised to read:
8170 # /* config.h. Generated by config.status. */
8171 configure_input
='Generated from '`
8172 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
8174 if test x
"$ac_file" != x-
; then
8175 configure_input
="$ac_file. $configure_input"
8176 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
8177 $as_echo "$as_me: creating $ac_file" >&6;}
8179 # Neutralize special characters interpreted by sed in replacement strings.
8180 case $configure_input in #(
8181 *\
&* |
*\|
* |
*\\* )
8182 ac_sed_conf_input
=`$as_echo "$configure_input" |
8183 sed 's/[\\\\&|]/\\\\&/g'`;; #(
8184 *) ac_sed_conf_input
=$configure_input;;
8188 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
8189 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
8194 ac_dir
=`$as_dirname -- "$ac_file" ||
8195 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8196 X"$ac_file" : 'X\(//\)[^/]' \| \
8197 X"$ac_file" : 'X\(//\)$' \| \
8198 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
8199 $as_echo X"$ac_file" |
8200 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8217 as_dir
="$ac_dir"; as_fn_mkdir_p
8221 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
8223 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
8224 # A ".." for each directory in $ac_dir_suffix.
8225 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
8226 case $ac_top_builddir_sub in
8227 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
8228 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
8231 ac_abs_top_builddir
=$ac_pwd
8232 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
8233 # for backward compatibility:
8234 ac_top_builddir
=$ac_top_build_prefix
8237 .
) # We are building in place.
8239 ac_top_srcdir
=$ac_top_builddir_sub
8240 ac_abs_top_srcdir
=$ac_pwd ;;
8241 [\\/]* | ?
:[\\/]* ) # Absolute name.
8242 ac_srcdir
=$srcdir$ac_dir_suffix;
8243 ac_top_srcdir
=$srcdir
8244 ac_abs_top_srcdir
=$srcdir ;;
8246 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
8247 ac_top_srcdir
=$ac_top_build_prefix$srcdir
8248 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
8250 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
8260 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
8261 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
8265 [\\/$
]* | ?
:[\\/]* ) ;;
8266 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
8270 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8271 # If the template does not know about datarootdir, expand it.
8272 # FIXME: This hack should be removed a few years after 2.60.
8273 ac_datarootdir_hack
=; ac_datarootdir_seen
=
8284 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
8285 *datarootdir
*) ac_datarootdir_seen
=yes;;
8286 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
8287 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
8288 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
8290 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8291 ac_datarootdir_hack='
8292 s&@datadir@&$datadir&g
8293 s&@docdir@&$docdir&g
8294 s&@infodir@&$infodir&g
8295 s&@localedir@&$localedir&g
8296 s&@mandir@&$mandir&g
8297 s&\\\${datarootdir}&$datarootdir&g' ;;
8301 # Neutralize VPATH when `$srcdir' = `.'.
8302 # Shell code in configure.ac might set extrasub.
8303 # FIXME: do we really want to maintain this feature?
8304 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8305 ac_sed_extra="$ac_vpsub
8308 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8310 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
8311 s|@configure_input@|
$ac_sed_conf_input|
;t t
8312 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
8313 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
8314 s
&@srcdir@
&$ac_srcdir&;t t
8315 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
8316 s
&@top_srcdir@
&$ac_top_srcdir&;t t
8317 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
8318 s
&@builddir@
&$ac_builddir&;t t
8319 s
&@abs_builddir@
&$ac_abs_builddir&;t t
8320 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
8321 s
&@INSTALL@
&$ac_INSTALL&;t t
8322 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
8323 $ac_datarootdir_hack
8325 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
8326 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
8328 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
8329 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
8330 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
8331 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
8332 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
8333 which seems to be undefined. Please make sure it is defined" >&5
8334 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
8335 which seems to be undefined. Please make sure it is defined" >&2;}
8337 rm -f "$ac_tmp/stdin"
8339 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
8340 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
8342 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8348 if test x"$ac_file" != x-; then
8350 $as_echo "/* $configure_input */" \
8351 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
8352 } >"$ac_tmp/config.h" \
8353 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8354 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
8355 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
8356 $as_echo "$as_me: $ac_file is unchanged" >&6;}
8359 mv "$ac_tmp/config.h" "$ac_file" \
8360 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8363 $as_echo "/* $configure_input */" \
8364 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
8365 || as_fn_error $? "could not create -" "$LINENO" 5
8367 # Compute "$ac_file"'s index
in $config_headers.
8370 for _am_header
in $config_headers :; do
8372 $_am_arg |
$_am_arg:* )
8375 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
8378 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
8379 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8380 X"$_am_arg" : 'X\(//\)[^/]' \| \
8381 X"$_am_arg" : 'X\(//\)$' \| \
8382 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
8383 $as_echo X"$_am_arg" |
8384 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8400 s/.*/./; q'`/stamp-h
$_am_stamp_count
8407 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
8410 # Prefer the file from the source tree if names are identical.
8411 if test "$ac_source" = "$ac_file" ||
test ! -r "$ac_source"; then
8412 ac_source
=$srcdir/$ac_source
8415 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
8416 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
8418 if test ! -r "$ac_source"; then
8419 as_fn_error $?
"$ac_source: file not found" "$LINENO" 5
8423 # Try a relative symlink, then a hard link, then a copy.
8425 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$ac_source ;;
8426 *) ac_rel_source
=$ac_top_build_prefix$ac_source ;;
8428 ln -s "$ac_rel_source" "$ac_file" 2>/dev
/null ||
8429 ln "$ac_source" "$ac_file" 2>/dev
/null ||
8430 cp -p "$ac_source" "$ac_file" ||
8431 as_fn_error $?
"cannot link or copy $ac_source to $ac_file" "$LINENO" 5
8434 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
8435 $as_echo "$as_me: executing $ac_file commands" >&6;}
8440 case $ac_file$ac_mode in
8441 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
8442 # Older Autoconf quotes --file arguments for eval, but not when files
8443 # are listed without --file. Let's play safe and only enable the eval
8444 # if we detect the quoting.
8445 case $CONFIG_FILES in
8446 *\'*) eval set x
"$CONFIG_FILES" ;;
8447 *) set x
$CONFIG_FILES ;;
8452 # Strip MF so we end up with the name of the file.
8453 mf
=`echo "$mf" | sed -e 's/:.*$//'`
8454 # Check whether this is an Automake generated Makefile or not.
8455 # We used to match only the files named 'Makefile.in', but
8456 # some people rename them; so instead we look at the file content.
8457 # Grep'ing the first line is not enough: some people post-process
8458 # each Makefile.in and add a new line on top of each file to say so.
8459 # Grep'ing the whole file is not good either: AIX grep has a line
8460 # limit of 2048, but all sed's we know have understand at least 4000.
8461 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
8462 dirpart
=`$as_dirname -- "$mf" ||
8463 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8464 X"$mf" : 'X\(//\)[^/]' \| \
8465 X"$mf" : 'X\(//\)$' \| \
8466 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
8468 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8488 # Extract the definition of DEPDIR, am__include, and am__quote
8489 # from the Makefile without running 'make'.
8490 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
8491 test -z "$DEPDIR" && continue
8492 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
8493 test -z "$am__include" && continue
8494 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
8495 # Find all dependency output files, they are included files with
8496 # $(DEPDIR) in their names. We invoke sed twice because it is the
8497 # simplest approach to changing $(DEPDIR) to its actual value in the
8499 for file in `sed -n "
8500 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
8501 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
8502 # Make sure the directory exists.
8503 test -f "$dirpart/$file" && continue
8504 fdir
=`$as_dirname -- "$file" ||
8505 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8506 X"$file" : 'X\(//\)[^/]' \| \
8507 X"$file" : 'X\(//\)$' \| \
8508 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
8510 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8527 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
8528 # echo "creating $dirpart/$file"
8529 echo '# dummy' > "$dirpart/$file"
8541 ac_clean_files
=$ac_clean_files_save
8543 test $ac_write_fail = 0 ||
8544 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
8547 # configure is writing to config.log, and then calls config.status.
8548 # config.status does its own redirection, appending to config.log.
8549 # Unfortunately, on DOS this fails, as config.log is still kept open
8550 # by configure, so config.status won't be able to write to it; its
8551 # output is simply discarded. So we exec the FD to /dev/null,
8552 # effectively closing config.log, so it can be properly (re)opened and
8553 # appended to by config.status. When coming back to configure, we
8554 # need to make the FD available again.
8555 if test "$no_create" != yes; then
8557 ac_config_status_args
=
8558 test "$silent" = yes &&
8559 ac_config_status_args
="$ac_config_status_args --quiet"
8561 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
8563 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8564 # would make configure fail if this is the last instruction.
8565 $ac_cs_success || as_fn_exit
1
8567 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
8568 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
8569 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}