beta-0.89.2
[luatex.git] / source / libs / gmp / native / configure
blob53c04ad3a5faee275c934f6bb5de4bbe5002c9bb
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for gmp native 6.1.0.
5 # Report bugs to <tex-k@tug.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
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+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
32 esac
36 as_nl='
38 export as_nl
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
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
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'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
84 # IFS
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.)
89 IFS=" "" $as_nl"
91 # Find who we are. Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
102 IFS=$as_save_IFS
105 esac
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
109 as_myself=$0
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
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 || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
134 # CDPATH.
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.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149 *v*x* | *x*v* ) as_opts=-vx ;;
150 *v* ) as_opts=-v ;;
151 *x* ) as_opts=-x ;;
152 * ) as_opts= ;;
153 esac
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
158 as_fn_exit 255
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 :
164 emulate sh
165 NULLCMD=:
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+\"\$@\"}'='\"\$@\"'
169 setopt NO_GLOB_SUBST
170 else
171 case \`(set -o) 2>/dev/null\` in #(
172 *posix*) :
173 set -o posix ;; #(
174 *) :
176 esac
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; }
185 exitcode=0
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 :
192 else
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
201 if (eval "$as_required") 2>/dev/null; then :
202 as_have_required=yes
203 else
204 as_have_required=no
206 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
208 else
209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
210 as_found=false
211 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
213 IFS=$as_save_IFS
214 test -z "$as_dir" && as_dir=.
215 as_found=:
216 case $as_dir in #(
218 for as_base in sh bash ksh sh5; do
219 # Try only shells that exist, to save several forks.
220 as_shell=$as_dir/$as_base
221 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
222 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
223 CONFIG_SHELL=$as_shell as_have_required=yes
224 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
225 break 2
228 done;;
229 esac
230 as_found=false
231 done
232 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
233 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
234 CONFIG_SHELL=$SHELL as_have_required=yes
235 fi; }
236 IFS=$as_save_IFS
239 if test "x$CONFIG_SHELL" != x; then :
240 export CONFIG_SHELL
241 # We cannot yet assume a decent shell, so we have to provide a
242 # neutralization value for shells without unset; and this also
243 # works around shells that cannot unset nonexistent variables.
244 # Preserve -v and -x to the replacement shell.
245 BASH_ENV=/dev/null
246 ENV=/dev/null
247 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
248 case $- in # ((((
249 *v*x* | *x*v* ) as_opts=-vx ;;
250 *v* ) as_opts=-v ;;
251 *x* ) as_opts=-x ;;
252 * ) as_opts= ;;
253 esac
254 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
255 # Admittedly, this is quite paranoid, since all the known shells bail
256 # out after a failed `exec'.
257 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
258 exit 255
261 if test x$as_have_required = xno; then :
262 $as_echo "$0: This script requires a shell more modern than all"
263 $as_echo "$0: the shells that I found on your system."
264 if test x${ZSH_VERSION+set} = xset ; then
265 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
266 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
267 else
268 $as_echo "$0: Please tell bug-autoconf@gnu.org and tex-k@tug.org
269 $0: about your system, including any error possibly output
270 $0: before this message. Then install a modern shell, or
271 $0: manually run the script under such a shell if you do
272 $0: have one."
274 exit 1
278 SHELL=${CONFIG_SHELL-/bin/sh}
279 export SHELL
280 # Unset more variables known to interfere with behavior of common tools.
281 CLICOLOR_FORCE= GREP_OPTIONS=
282 unset CLICOLOR_FORCE GREP_OPTIONS
284 ## --------------------- ##
285 ## M4sh Shell Functions. ##
286 ## --------------------- ##
287 # as_fn_unset VAR
288 # ---------------
289 # Portably unset VAR.
290 as_fn_unset ()
292 { eval $1=; unset $1;}
294 as_unset=as_fn_unset
296 # as_fn_set_status STATUS
297 # -----------------------
298 # Set $? to STATUS, without forking.
299 as_fn_set_status ()
301 return $1
302 } # as_fn_set_status
304 # as_fn_exit STATUS
305 # -----------------
306 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
307 as_fn_exit ()
309 set +e
310 as_fn_set_status $1
311 exit $1
312 } # as_fn_exit
314 # as_fn_mkdir_p
315 # -------------
316 # Create "$as_dir" as a directory, including parents if necessary.
317 as_fn_mkdir_p ()
320 case $as_dir in #(
321 -*) as_dir=./$as_dir;;
322 esac
323 test -d "$as_dir" || eval $as_mkdir_p || {
324 as_dirs=
325 while :; do
326 case $as_dir in #(
327 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
328 *) as_qdir=$as_dir;;
329 esac
330 as_dirs="'$as_qdir' $as_dirs"
331 as_dir=`$as_dirname -- "$as_dir" ||
332 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
333 X"$as_dir" : 'X\(//\)[^/]' \| \
334 X"$as_dir" : 'X\(//\)$' \| \
335 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
336 $as_echo X"$as_dir" |
337 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
338 s//\1/
341 /^X\(\/\/\)[^/].*/{
342 s//\1/
345 /^X\(\/\/\)$/{
346 s//\1/
349 /^X\(\/\).*/{
350 s//\1/
353 s/.*/./; q'`
354 test -d "$as_dir" && break
355 done
356 test -z "$as_dirs" || eval "mkdir $as_dirs"
357 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
360 } # as_fn_mkdir_p
362 # as_fn_executable_p FILE
363 # -----------------------
364 # Test if FILE is an executable regular file.
365 as_fn_executable_p ()
367 test -f "$1" && test -x "$1"
368 } # as_fn_executable_p
369 # as_fn_append VAR VALUE
370 # ----------------------
371 # Append the text in VALUE to the end of the definition contained in VAR. Take
372 # advantage of any shell optimizations that allow amortized linear growth over
373 # repeated appends, instead of the typical quadratic growth present in naive
374 # implementations.
375 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
376 eval 'as_fn_append ()
378 eval $1+=\$2
380 else
381 as_fn_append ()
383 eval $1=\$$1\$2
385 fi # as_fn_append
387 # as_fn_arith ARG...
388 # ------------------
389 # Perform arithmetic evaluation on the ARGs, and store the result in the
390 # global $as_val. Take advantage of shells that can avoid forks. The arguments
391 # must be portable across $(()) and expr.
392 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
393 eval 'as_fn_arith ()
395 as_val=$(( $* ))
397 else
398 as_fn_arith ()
400 as_val=`expr "$@" || test $? -eq 1`
402 fi # as_fn_arith
405 # as_fn_error STATUS ERROR [LINENO LOG_FD]
406 # ----------------------------------------
407 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
408 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
409 # script with STATUS, using 1 if that was 0.
410 as_fn_error ()
412 as_status=$1; test $as_status -eq 0 && as_status=1
413 if test "$4"; then
414 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
415 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
417 $as_echo "$as_me: error: $2" >&2
418 as_fn_exit $as_status
419 } # as_fn_error
421 if expr a : '\(a\)' >/dev/null 2>&1 &&
422 test "X`expr 00001 : '.*\(...\)'`" = X001; then
423 as_expr=expr
424 else
425 as_expr=false
428 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
429 as_basename=basename
430 else
431 as_basename=false
434 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
435 as_dirname=dirname
436 else
437 as_dirname=false
440 as_me=`$as_basename -- "$0" ||
441 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
442 X"$0" : 'X\(//\)$' \| \
443 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
444 $as_echo X/"$0" |
445 sed '/^.*\/\([^/][^/]*\)\/*$/{
446 s//\1/
449 /^X\/\(\/\/\)$/{
450 s//\1/
453 /^X\/\(\/\).*/{
454 s//\1/
457 s/.*/./; q'`
459 # Avoid depending upon Character Ranges.
460 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
461 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
462 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
463 as_cr_digits='0123456789'
464 as_cr_alnum=$as_cr_Letters$as_cr_digits
467 as_lineno_1=$LINENO as_lineno_1a=$LINENO
468 as_lineno_2=$LINENO as_lineno_2a=$LINENO
469 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
470 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
471 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
472 sed -n '
474 /[$]LINENO/=
475 ' <$as_myself |
476 sed '
477 s/[$]LINENO.*/&-/
478 t lineno
480 :lineno
482 :loop
483 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
484 t loop
485 s/-\n.*//
486 ' >$as_me.lineno &&
487 chmod +x "$as_me.lineno" ||
488 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
490 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
491 # already done that, so ensure we don't try to do so again and fall
492 # in an infinite loop. This has already happened in practice.
493 _as_can_reexec=no; export _as_can_reexec
494 # Don't try to exec as it changes $[0], causing all sort of problems
495 # (the dirname of $[0] is not the place where we might find the
496 # original and so on. Autoconf is especially sensitive to this).
497 . "./$as_me.lineno"
498 # Exit status is that of the last command.
499 exit
502 ECHO_C= ECHO_N= ECHO_T=
503 case `echo -n x` in #(((((
504 -n*)
505 case `echo 'xy\c'` in
506 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
507 xy) ECHO_C='\c';;
508 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
509 ECHO_T=' ';;
510 esac;;
512 ECHO_N='-n';;
513 esac
515 rm -f conf$$ conf$$.exe conf$$.file
516 if test -d conf$$.dir; then
517 rm -f conf$$.dir/conf$$.file
518 else
519 rm -f conf$$.dir
520 mkdir conf$$.dir 2>/dev/null
522 if (echo >conf$$.file) 2>/dev/null; then
523 if ln -s conf$$.file conf$$ 2>/dev/null; then
524 as_ln_s='ln -s'
525 # ... but there are two gotchas:
526 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
527 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
528 # In both cases, we have to default to `cp -pR'.
529 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
530 as_ln_s='cp -pR'
531 elif ln conf$$.file conf$$ 2>/dev/null; then
532 as_ln_s=ln
533 else
534 as_ln_s='cp -pR'
536 else
537 as_ln_s='cp -pR'
539 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
540 rmdir conf$$.dir 2>/dev/null
542 if mkdir -p . 2>/dev/null; then
543 as_mkdir_p='mkdir -p "$as_dir"'
544 else
545 test -d ./-p && rmdir ./-p
546 as_mkdir_p=false
549 as_test_x='test -x'
550 as_executable_p=as_fn_executable_p
552 # Sed expression to map a string onto a valid CPP name.
553 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
555 # Sed expression to map a string onto a valid variable name.
556 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
559 test -n "$DJDIR" || exec 7<&0 </dev/null
560 exec 6>&1
562 # Name of the host.
563 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
564 # so uname gets run too.
565 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
568 # Initializations.
570 ac_default_prefix=/usr/local
571 ac_clean_files=
572 ac_config_libobj_dir=.
573 LIBOBJS=
574 cross_compiling=no
575 subdirs=
576 MFLAGS=
577 MAKEFLAGS=
579 # Identity of this package.
580 PACKAGE_NAME='gmp native'
581 PACKAGE_TARNAME='gmp-native'
582 PACKAGE_VERSION='6.1.0'
583 PACKAGE_STRING='gmp native 6.1.0'
584 PACKAGE_BUGREPORT='tex-k@tug.org'
585 PACKAGE_URL=''
587 ac_unique_file="../gmp-src/gmp-impl.h"
588 ac_subst_vars='am__EXEEXT_FALSE
589 am__EXEEXT_TRUE
590 LTLIBOBJS
591 LIBOBJS
592 GMP_TREE
593 MATH_LIB
594 LN_S
595 WARNING_CFLAGS
596 am__fastdepCC_FALSE
597 am__fastdepCC_TRUE
598 CCDEPMODE
599 am__nodep
600 AMDEPBACKSLASH
601 AMDEP_FALSE
602 AMDEP_TRUE
603 am__quote
604 am__include
605 DEPDIR
606 OBJEXT
607 EXEEXT
608 ac_ct_CC
609 CPPFLAGS
610 LDFLAGS
611 CFLAGS
613 MAINT
614 MAINTAINER_MODE_FALSE
615 MAINTAINER_MODE_TRUE
616 AM_BACKSLASH
617 AM_DEFAULT_VERBOSITY
618 AM_DEFAULT_V
619 AM_V
620 am__untar
621 am__tar
622 AMTAR
623 am__leading_dot
624 SET_MAKE
626 mkdir_p
627 MKDIR_P
628 INSTALL_STRIP_PROGRAM
629 STRIP
630 install_sh
631 MAKEINFO
632 AUTOHEADER
633 AUTOMAKE
634 AUTOCONF
635 ACLOCAL
636 VERSION
637 PACKAGE
638 CYGPATH_W
639 am__isrc
640 INSTALL_DATA
641 INSTALL_SCRIPT
642 INSTALL_PROGRAM
643 target_alias
644 host_alias
645 build_alias
646 LIBS
647 ECHO_T
648 ECHO_N
649 ECHO_C
650 DEFS
651 mandir
652 localedir
653 libdir
654 psdir
655 pdfdir
656 dvidir
657 htmldir
658 infodir
659 docdir
660 oldincludedir
661 includedir
662 localstatedir
663 sharedstatedir
664 sysconfdir
665 datadir
666 datarootdir
667 libexecdir
668 sbindir
669 bindir
670 program_transform_name
671 prefix
672 exec_prefix
673 PACKAGE_URL
674 PACKAGE_BUGREPORT
675 PACKAGE_STRING
676 PACKAGE_VERSION
677 PACKAGE_TARNAME
678 PACKAGE_NAME
679 PATH_SEPARATOR
680 SHELL'
681 ac_subst_files=''
682 ac_user_opts='
683 enable_option_checking
684 enable_silent_rules
685 enable_maintainer_mode
686 enable_dependency_tracking
687 enable_compiler_warnings
689 ac_precious_vars='build_alias
690 host_alias
691 target_alias
693 CFLAGS
694 LDFLAGS
695 LIBS
696 CPPFLAGS'
699 # Initialize some variables set by options.
700 ac_init_help=
701 ac_init_version=false
702 ac_unrecognized_opts=
703 ac_unrecognized_sep=
704 # The variables have the same names as the options, with
705 # dashes changed to underlines.
706 cache_file=/dev/null
707 exec_prefix=NONE
708 no_create=
709 no_recursion=
710 prefix=NONE
711 program_prefix=NONE
712 program_suffix=NONE
713 program_transform_name=s,x,x,
714 silent=
715 site=
716 srcdir=
717 verbose=
718 x_includes=NONE
719 x_libraries=NONE
721 # Installation directory options.
722 # These are left unexpanded so users can "make install exec_prefix=/foo"
723 # and all the variables that are supposed to be based on exec_prefix
724 # by default will actually change.
725 # Use braces instead of parens because sh, perl, etc. also accept them.
726 # (The list follows the same order as the GNU Coding Standards.)
727 bindir='${exec_prefix}/bin'
728 sbindir='${exec_prefix}/sbin'
729 libexecdir='${exec_prefix}/libexec'
730 datarootdir='${prefix}/share'
731 datadir='${datarootdir}'
732 sysconfdir='${prefix}/etc'
733 sharedstatedir='${prefix}/com'
734 localstatedir='${prefix}/var'
735 includedir='${prefix}/include'
736 oldincludedir='/usr/include'
737 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
738 infodir='${datarootdir}/info'
739 htmldir='${docdir}'
740 dvidir='${docdir}'
741 pdfdir='${docdir}'
742 psdir='${docdir}'
743 libdir='${exec_prefix}/lib'
744 localedir='${datarootdir}/locale'
745 mandir='${datarootdir}/man'
747 ac_prev=
748 ac_dashdash=
749 for ac_option
751 # If the previous option needs an argument, assign it.
752 if test -n "$ac_prev"; then
753 eval $ac_prev=\$ac_option
754 ac_prev=
755 continue
758 case $ac_option in
759 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
760 *=) ac_optarg= ;;
761 *) ac_optarg=yes ;;
762 esac
764 # Accept the important Cygnus configure options, so we can diagnose typos.
766 case $ac_dashdash$ac_option in
768 ac_dashdash=yes ;;
770 -bindir | --bindir | --bindi | --bind | --bin | --bi)
771 ac_prev=bindir ;;
772 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
773 bindir=$ac_optarg ;;
775 -build | --build | --buil | --bui | --bu)
776 ac_prev=build_alias ;;
777 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
778 build_alias=$ac_optarg ;;
780 -cache-file | --cache-file | --cache-fil | --cache-fi \
781 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
782 ac_prev=cache_file ;;
783 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
784 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
785 cache_file=$ac_optarg ;;
787 --config-cache | -C)
788 cache_file=config.cache ;;
790 -datadir | --datadir | --datadi | --datad)
791 ac_prev=datadir ;;
792 -datadir=* | --datadir=* | --datadi=* | --datad=*)
793 datadir=$ac_optarg ;;
795 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
796 | --dataroo | --dataro | --datar)
797 ac_prev=datarootdir ;;
798 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
799 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
800 datarootdir=$ac_optarg ;;
802 -disable-* | --disable-*)
803 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
804 # Reject names that are not valid shell variable names.
805 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
806 as_fn_error $? "invalid feature name: $ac_useropt"
807 ac_useropt_orig=$ac_useropt
808 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
809 case $ac_user_opts in
811 "enable_$ac_useropt"
812 "*) ;;
813 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
814 ac_unrecognized_sep=', ';;
815 esac
816 eval enable_$ac_useropt=no ;;
818 -docdir | --docdir | --docdi | --doc | --do)
819 ac_prev=docdir ;;
820 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
821 docdir=$ac_optarg ;;
823 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
824 ac_prev=dvidir ;;
825 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
826 dvidir=$ac_optarg ;;
828 -enable-* | --enable-*)
829 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
830 # Reject names that are not valid shell variable names.
831 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
832 as_fn_error $? "invalid feature name: $ac_useropt"
833 ac_useropt_orig=$ac_useropt
834 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
835 case $ac_user_opts in
837 "enable_$ac_useropt"
838 "*) ;;
839 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
840 ac_unrecognized_sep=', ';;
841 esac
842 eval enable_$ac_useropt=\$ac_optarg ;;
844 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
845 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
846 | --exec | --exe | --ex)
847 ac_prev=exec_prefix ;;
848 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
849 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
850 | --exec=* | --exe=* | --ex=*)
851 exec_prefix=$ac_optarg ;;
853 -gas | --gas | --ga | --g)
854 # Obsolete; use --with-gas.
855 with_gas=yes ;;
857 -help | --help | --hel | --he | -h)
858 ac_init_help=long ;;
859 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
860 ac_init_help=recursive ;;
861 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
862 ac_init_help=short ;;
864 -host | --host | --hos | --ho)
865 ac_prev=host_alias ;;
866 -host=* | --host=* | --hos=* | --ho=*)
867 host_alias=$ac_optarg ;;
869 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
870 ac_prev=htmldir ;;
871 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
872 | --ht=*)
873 htmldir=$ac_optarg ;;
875 -includedir | --includedir | --includedi | --included | --include \
876 | --includ | --inclu | --incl | --inc)
877 ac_prev=includedir ;;
878 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
879 | --includ=* | --inclu=* | --incl=* | --inc=*)
880 includedir=$ac_optarg ;;
882 -infodir | --infodir | --infodi | --infod | --info | --inf)
883 ac_prev=infodir ;;
884 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
885 infodir=$ac_optarg ;;
887 -libdir | --libdir | --libdi | --libd)
888 ac_prev=libdir ;;
889 -libdir=* | --libdir=* | --libdi=* | --libd=*)
890 libdir=$ac_optarg ;;
892 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
893 | --libexe | --libex | --libe)
894 ac_prev=libexecdir ;;
895 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
896 | --libexe=* | --libex=* | --libe=*)
897 libexecdir=$ac_optarg ;;
899 -localedir | --localedir | --localedi | --localed | --locale)
900 ac_prev=localedir ;;
901 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
902 localedir=$ac_optarg ;;
904 -localstatedir | --localstatedir | --localstatedi | --localstated \
905 | --localstate | --localstat | --localsta | --localst | --locals)
906 ac_prev=localstatedir ;;
907 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
908 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
909 localstatedir=$ac_optarg ;;
911 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
912 ac_prev=mandir ;;
913 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
914 mandir=$ac_optarg ;;
916 -nfp | --nfp | --nf)
917 # Obsolete; use --without-fp.
918 with_fp=no ;;
920 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
921 | --no-cr | --no-c | -n)
922 no_create=yes ;;
924 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
925 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
926 no_recursion=yes ;;
928 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
929 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
930 | --oldin | --oldi | --old | --ol | --o)
931 ac_prev=oldincludedir ;;
932 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
933 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
934 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
935 oldincludedir=$ac_optarg ;;
937 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
938 ac_prev=prefix ;;
939 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
940 prefix=$ac_optarg ;;
942 -program-prefix | --program-prefix | --program-prefi | --program-pref \
943 | --program-pre | --program-pr | --program-p)
944 ac_prev=program_prefix ;;
945 -program-prefix=* | --program-prefix=* | --program-prefi=* \
946 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
947 program_prefix=$ac_optarg ;;
949 -program-suffix | --program-suffix | --program-suffi | --program-suff \
950 | --program-suf | --program-su | --program-s)
951 ac_prev=program_suffix ;;
952 -program-suffix=* | --program-suffix=* | --program-suffi=* \
953 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
954 program_suffix=$ac_optarg ;;
956 -program-transform-name | --program-transform-name \
957 | --program-transform-nam | --program-transform-na \
958 | --program-transform-n | --program-transform- \
959 | --program-transform | --program-transfor \
960 | --program-transfo | --program-transf \
961 | --program-trans | --program-tran \
962 | --progr-tra | --program-tr | --program-t)
963 ac_prev=program_transform_name ;;
964 -program-transform-name=* | --program-transform-name=* \
965 | --program-transform-nam=* | --program-transform-na=* \
966 | --program-transform-n=* | --program-transform-=* \
967 | --program-transform=* | --program-transfor=* \
968 | --program-transfo=* | --program-transf=* \
969 | --program-trans=* | --program-tran=* \
970 | --progr-tra=* | --program-tr=* | --program-t=*)
971 program_transform_name=$ac_optarg ;;
973 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
974 ac_prev=pdfdir ;;
975 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
976 pdfdir=$ac_optarg ;;
978 -psdir | --psdir | --psdi | --psd | --ps)
979 ac_prev=psdir ;;
980 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
981 psdir=$ac_optarg ;;
983 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
984 | -silent | --silent | --silen | --sile | --sil)
985 silent=yes ;;
987 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
988 ac_prev=sbindir ;;
989 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
990 | --sbi=* | --sb=*)
991 sbindir=$ac_optarg ;;
993 -sharedstatedir | --sharedstatedir | --sharedstatedi \
994 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
995 | --sharedst | --shareds | --shared | --share | --shar \
996 | --sha | --sh)
997 ac_prev=sharedstatedir ;;
998 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
999 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1000 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1001 | --sha=* | --sh=*)
1002 sharedstatedir=$ac_optarg ;;
1004 -site | --site | --sit)
1005 ac_prev=site ;;
1006 -site=* | --site=* | --sit=*)
1007 site=$ac_optarg ;;
1009 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1010 ac_prev=srcdir ;;
1011 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1012 srcdir=$ac_optarg ;;
1014 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1015 | --syscon | --sysco | --sysc | --sys | --sy)
1016 ac_prev=sysconfdir ;;
1017 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1018 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1019 sysconfdir=$ac_optarg ;;
1021 -target | --target | --targe | --targ | --tar | --ta | --t)
1022 ac_prev=target_alias ;;
1023 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1024 target_alias=$ac_optarg ;;
1026 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1027 verbose=yes ;;
1029 -version | --version | --versio | --versi | --vers | -V)
1030 ac_init_version=: ;;
1032 -with-* | --with-*)
1033 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1034 # Reject names that are not valid shell variable names.
1035 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1036 as_fn_error $? "invalid package name: $ac_useropt"
1037 ac_useropt_orig=$ac_useropt
1038 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1039 case $ac_user_opts in
1041 "with_$ac_useropt"
1042 "*) ;;
1043 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1044 ac_unrecognized_sep=', ';;
1045 esac
1046 eval with_$ac_useropt=\$ac_optarg ;;
1048 -without-* | --without-*)
1049 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1050 # Reject names that are not valid shell variable names.
1051 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1052 as_fn_error $? "invalid package name: $ac_useropt"
1053 ac_useropt_orig=$ac_useropt
1054 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1055 case $ac_user_opts in
1057 "with_$ac_useropt"
1058 "*) ;;
1059 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1060 ac_unrecognized_sep=', ';;
1061 esac
1062 eval with_$ac_useropt=no ;;
1064 --x)
1065 # Obsolete; use --with-x.
1066 with_x=yes ;;
1068 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1069 | --x-incl | --x-inc | --x-in | --x-i)
1070 ac_prev=x_includes ;;
1071 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1072 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1073 x_includes=$ac_optarg ;;
1075 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1076 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1077 ac_prev=x_libraries ;;
1078 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1079 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1080 x_libraries=$ac_optarg ;;
1082 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1083 Try \`$0 --help' for more information"
1086 *=*)
1087 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1088 # Reject names that are not valid shell variable names.
1089 case $ac_envvar in #(
1090 '' | [0-9]* | *[!_$as_cr_alnum]* )
1091 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1092 esac
1093 eval $ac_envvar=\$ac_optarg
1094 export $ac_envvar ;;
1097 # FIXME: should be removed in autoconf 3.0.
1098 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1099 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1100 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1101 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1104 esac
1105 done
1107 if test -n "$ac_prev"; then
1108 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1109 as_fn_error $? "missing argument to $ac_option"
1112 if test -n "$ac_unrecognized_opts"; then
1113 case $enable_option_checking in
1114 no) ;;
1115 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1116 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1117 esac
1120 # Check all directory arguments for consistency.
1121 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1122 datadir sysconfdir sharedstatedir localstatedir includedir \
1123 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1124 libdir localedir mandir
1126 eval ac_val=\$$ac_var
1127 # Remove trailing slashes.
1128 case $ac_val in
1129 */ )
1130 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1131 eval $ac_var=\$ac_val;;
1132 esac
1133 # Be sure to have absolute directory names.
1134 case $ac_val in
1135 [\\/$]* | ?:[\\/]* ) continue;;
1136 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1137 esac
1138 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1139 done
1141 # There might be people who depend on the old broken behavior: `$host'
1142 # used to hold the argument of --host etc.
1143 # FIXME: To remove some day.
1144 build=$build_alias
1145 host=$host_alias
1146 target=$target_alias
1148 # FIXME: To remove some day.
1149 if test "x$host_alias" != x; then
1150 if test "x$build_alias" = x; then
1151 cross_compiling=maybe
1152 elif test "x$build_alias" != "x$host_alias"; then
1153 cross_compiling=yes
1157 ac_tool_prefix=
1158 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1160 test "$silent" = yes && exec 6>/dev/null
1163 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1164 ac_ls_di=`ls -di .` &&
1165 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1166 as_fn_error $? "working directory cannot be determined"
1167 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1168 as_fn_error $? "pwd does not report name of working directory"
1171 # Find the source files, if location was not specified.
1172 if test -z "$srcdir"; then
1173 ac_srcdir_defaulted=yes
1174 # Try the directory containing this script, then the parent directory.
1175 ac_confdir=`$as_dirname -- "$as_myself" ||
1176 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1177 X"$as_myself" : 'X\(//\)[^/]' \| \
1178 X"$as_myself" : 'X\(//\)$' \| \
1179 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1180 $as_echo X"$as_myself" |
1181 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1182 s//\1/
1185 /^X\(\/\/\)[^/].*/{
1186 s//\1/
1189 /^X\(\/\/\)$/{
1190 s//\1/
1193 /^X\(\/\).*/{
1194 s//\1/
1197 s/.*/./; q'`
1198 srcdir=$ac_confdir
1199 if test ! -r "$srcdir/$ac_unique_file"; then
1200 srcdir=..
1202 else
1203 ac_srcdir_defaulted=no
1205 if test ! -r "$srcdir/$ac_unique_file"; then
1206 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1207 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1209 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1210 ac_abs_confdir=`(
1211 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1212 pwd)`
1213 # When building in place, set srcdir=.
1214 if test "$ac_abs_confdir" = "$ac_pwd"; then
1215 srcdir=.
1217 # Remove unnecessary trailing slashes from srcdir.
1218 # Double slashes in file names in object file debugging info
1219 # mess up M-x gdb in Emacs.
1220 case $srcdir in
1221 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1222 esac
1223 for ac_var in $ac_precious_vars; do
1224 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1225 eval ac_env_${ac_var}_value=\$${ac_var}
1226 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1227 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1228 done
1231 # Report the --help message.
1233 if test "$ac_init_help" = "long"; then
1234 # Omit some internal or obsolete options to make the list less imposing.
1235 # This message is too long to be a string in the A/UX 3.1 sh.
1236 cat <<_ACEOF
1237 \`configure' configures gmp native 6.1.0 to adapt to many kinds of systems.
1239 Usage: $0 [OPTION]... [VAR=VALUE]...
1241 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1242 VAR=VALUE. See below for descriptions of some of the useful variables.
1244 Defaults for the options are specified in brackets.
1246 Configuration:
1247 -h, --help display this help and exit
1248 --help=short display options specific to this package
1249 --help=recursive display the short help of all the included packages
1250 -V, --version display version information and exit
1251 -q, --quiet, --silent do not print \`checking ...' messages
1252 --cache-file=FILE cache test results in FILE [disabled]
1253 -C, --config-cache alias for \`--cache-file=config.cache'
1254 -n, --no-create do not create output files
1255 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1257 Installation directories:
1258 --prefix=PREFIX install architecture-independent files in PREFIX
1259 [$ac_default_prefix]
1260 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1261 [PREFIX]
1263 By default, \`make install' will install all the files in
1264 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1265 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1266 for instance \`--prefix=\$HOME'.
1268 For better control, use the options below.
1270 Fine tuning of the installation directories:
1271 --bindir=DIR user executables [EPREFIX/bin]
1272 --sbindir=DIR system admin executables [EPREFIX/sbin]
1273 --libexecdir=DIR program executables [EPREFIX/libexec]
1274 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1275 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1276 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1277 --libdir=DIR object code libraries [EPREFIX/lib]
1278 --includedir=DIR C header files [PREFIX/include]
1279 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1280 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1281 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1282 --infodir=DIR info documentation [DATAROOTDIR/info]
1283 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1284 --mandir=DIR man documentation [DATAROOTDIR/man]
1285 --docdir=DIR documentation root [DATAROOTDIR/doc/gmp-native]
1286 --htmldir=DIR html documentation [DOCDIR]
1287 --dvidir=DIR dvi documentation [DOCDIR]
1288 --pdfdir=DIR pdf documentation [DOCDIR]
1289 --psdir=DIR ps documentation [DOCDIR]
1290 _ACEOF
1292 cat <<\_ACEOF
1294 Program names:
1295 --program-prefix=PREFIX prepend PREFIX to installed program names
1296 --program-suffix=SUFFIX append SUFFIX to installed program names
1297 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1298 _ACEOF
1301 if test -n "$ac_init_help"; then
1302 case $ac_init_help in
1303 short | recursive ) echo "Configuration of gmp native 6.1.0:";;
1304 esac
1305 cat <<\_ACEOF
1307 Optional Features:
1308 --disable-option-checking ignore unrecognized --enable/--with options
1309 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1310 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1311 --enable-silent-rules less verbose build output (undo: "make V=1")
1312 --disable-silent-rules verbose build output (undo: "make V=0")
1313 --enable-maintainer-mode
1314 enable make rules and dependencies not useful (and
1315 sometimes confusing) to the casual installer
1316 --enable-dependency-tracking
1317 do not reject slow dependency extractors
1318 --disable-dependency-tracking
1319 speeds up one-time build
1320 --enable-compiler-warnings=[no|min|yes|max|all]
1321 Turn on compiler warnings [default: yes if
1322 maintainer-mode, min otherwise]
1324 Some influential environment variables:
1325 CC C compiler command
1326 CFLAGS C compiler flags
1327 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1328 nonstandard directory <lib dir>
1329 LIBS libraries to pass to the linker, e.g. -l<library>
1330 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1331 you have headers in a nonstandard directory <include dir>
1333 Use these variables to override the choices made by `configure' or to help
1334 it to find libraries and programs with nonstandard names/locations.
1336 Report bugs to <tex-k@tug.org>.
1337 _ACEOF
1338 ac_status=$?
1341 if test "$ac_init_help" = "recursive"; then
1342 # If there are subdirs, report their specific --help.
1343 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1344 test -d "$ac_dir" ||
1345 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1346 continue
1347 ac_builddir=.
1349 case "$ac_dir" in
1350 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1352 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1353 # A ".." for each directory in $ac_dir_suffix.
1354 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1355 case $ac_top_builddir_sub in
1356 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1357 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1358 esac ;;
1359 esac
1360 ac_abs_top_builddir=$ac_pwd
1361 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1362 # for backward compatibility:
1363 ac_top_builddir=$ac_top_build_prefix
1365 case $srcdir in
1366 .) # We are building in place.
1367 ac_srcdir=.
1368 ac_top_srcdir=$ac_top_builddir_sub
1369 ac_abs_top_srcdir=$ac_pwd ;;
1370 [\\/]* | ?:[\\/]* ) # Absolute name.
1371 ac_srcdir=$srcdir$ac_dir_suffix;
1372 ac_top_srcdir=$srcdir
1373 ac_abs_top_srcdir=$srcdir ;;
1374 *) # Relative name.
1375 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1376 ac_top_srcdir=$ac_top_build_prefix$srcdir
1377 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1378 esac
1379 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1381 cd "$ac_dir" || { ac_status=$?; continue; }
1382 # Check for guested configure.
1383 if test -f "$ac_srcdir/configure.gnu"; then
1384 echo &&
1385 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1386 elif test -f "$ac_srcdir/configure"; then
1387 echo &&
1388 $SHELL "$ac_srcdir/configure" --help=recursive
1389 else
1390 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1391 fi || ac_status=$?
1392 cd "$ac_pwd" || { ac_status=$?; break; }
1393 done
1396 test -n "$ac_init_help" && exit $ac_status
1397 if $ac_init_version; then
1398 cat <<\_ACEOF
1399 gmp native configure 6.1.0
1400 generated by GNU Autoconf 2.69
1402 Copyright (C) 2012 Free Software Foundation, Inc.
1403 This configure script is free software; the Free Software Foundation
1404 gives unlimited permission to copy, distribute and modify it.
1405 _ACEOF
1406 exit
1409 ## ------------------------ ##
1410 ## Autoconf initialization. ##
1411 ## ------------------------ ##
1413 # ac_fn_c_try_compile LINENO
1414 # --------------------------
1415 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1416 ac_fn_c_try_compile ()
1418 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1419 rm -f conftest.$ac_objext
1420 if { { ac_try="$ac_compile"
1421 case "(($ac_try" in
1422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1423 *) ac_try_echo=$ac_try;;
1424 esac
1425 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1426 $as_echo "$ac_try_echo"; } >&5
1427 (eval "$ac_compile") 2>conftest.err
1428 ac_status=$?
1429 if test -s conftest.err; then
1430 grep -v '^ *+' conftest.err >conftest.er1
1431 cat conftest.er1 >&5
1432 mv -f conftest.er1 conftest.err
1434 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1435 test $ac_status = 0; } && {
1436 test -z "$ac_c_werror_flag" ||
1437 test ! -s conftest.err
1438 } && test -s conftest.$ac_objext; then :
1439 ac_retval=0
1440 else
1441 $as_echo "$as_me: failed program was:" >&5
1442 sed 's/^/| /' conftest.$ac_ext >&5
1444 ac_retval=1
1446 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1447 as_fn_set_status $ac_retval
1449 } # ac_fn_c_try_compile
1451 # ac_fn_c_try_link LINENO
1452 # -----------------------
1453 # Try to link conftest.$ac_ext, and return whether this succeeded.
1454 ac_fn_c_try_link ()
1456 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1457 rm -f conftest.$ac_objext conftest$ac_exeext
1458 if { { ac_try="$ac_link"
1459 case "(($ac_try" in
1460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1461 *) ac_try_echo=$ac_try;;
1462 esac
1463 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1464 $as_echo "$ac_try_echo"; } >&5
1465 (eval "$ac_link") 2>conftest.err
1466 ac_status=$?
1467 if test -s conftest.err; then
1468 grep -v '^ *+' conftest.err >conftest.er1
1469 cat conftest.er1 >&5
1470 mv -f conftest.er1 conftest.err
1472 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1473 test $ac_status = 0; } && {
1474 test -z "$ac_c_werror_flag" ||
1475 test ! -s conftest.err
1476 } && test -s conftest$ac_exeext && {
1477 test "$cross_compiling" = yes ||
1478 test -x conftest$ac_exeext
1479 }; then :
1480 ac_retval=0
1481 else
1482 $as_echo "$as_me: failed program was:" >&5
1483 sed 's/^/| /' conftest.$ac_ext >&5
1485 ac_retval=1
1487 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1488 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1489 # interfere with the next link command; also delete a directory that is
1490 # left behind by Apple's compiler. We do this before executing the actions.
1491 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1492 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1493 as_fn_set_status $ac_retval
1495 } # ac_fn_c_try_link
1496 cat >config.log <<_ACEOF
1497 This file contains any messages produced by compilers while
1498 running configure, to aid debugging if configure makes a mistake.
1500 It was created by gmp native $as_me 6.1.0, which was
1501 generated by GNU Autoconf 2.69. Invocation command line was
1503 $ $0 $@
1505 _ACEOF
1506 exec 5>>config.log
1508 cat <<_ASUNAME
1509 ## --------- ##
1510 ## Platform. ##
1511 ## --------- ##
1513 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1514 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1515 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1516 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1517 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1519 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1520 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1522 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1523 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1524 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1525 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1526 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1527 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1528 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1530 _ASUNAME
1532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1533 for as_dir in $PATH
1535 IFS=$as_save_IFS
1536 test -z "$as_dir" && as_dir=.
1537 $as_echo "PATH: $as_dir"
1538 done
1539 IFS=$as_save_IFS
1541 } >&5
1543 cat >&5 <<_ACEOF
1546 ## ----------- ##
1547 ## Core tests. ##
1548 ## ----------- ##
1550 _ACEOF
1553 # Keep a trace of the command line.
1554 # Strip out --no-create and --no-recursion so they do not pile up.
1555 # Strip out --silent because we don't want to record it for future runs.
1556 # Also quote any args containing shell meta-characters.
1557 # Make two passes to allow for proper duplicate-argument suppression.
1558 ac_configure_args=
1559 ac_configure_args0=
1560 ac_configure_args1=
1561 ac_must_keep_next=false
1562 for ac_pass in 1 2
1564 for ac_arg
1566 case $ac_arg in
1567 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1568 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1569 | -silent | --silent | --silen | --sile | --sil)
1570 continue ;;
1571 *\'*)
1572 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1573 esac
1574 case $ac_pass in
1575 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1577 as_fn_append ac_configure_args1 " '$ac_arg'"
1578 if test $ac_must_keep_next = true; then
1579 ac_must_keep_next=false # Got value, back to normal.
1580 else
1581 case $ac_arg in
1582 *=* | --config-cache | -C | -disable-* | --disable-* \
1583 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1584 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1585 | -with-* | --with-* | -without-* | --without-* | --x)
1586 case "$ac_configure_args0 " in
1587 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1588 esac
1590 -* ) ac_must_keep_next=true ;;
1591 esac
1593 as_fn_append ac_configure_args " '$ac_arg'"
1595 esac
1596 done
1597 done
1598 { ac_configure_args0=; unset ac_configure_args0;}
1599 { ac_configure_args1=; unset ac_configure_args1;}
1601 # When interrupted or exit'd, cleanup temporary files, and complete
1602 # config.log. We remove comments because anyway the quotes in there
1603 # would cause problems or look ugly.
1604 # WARNING: Use '\'' to represent an apostrophe within the trap.
1605 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1606 trap 'exit_status=$?
1607 # Save into config.log some information that might help in debugging.
1609 echo
1611 $as_echo "## ---------------- ##
1612 ## Cache variables. ##
1613 ## ---------------- ##"
1614 echo
1615 # The following way of writing the cache mishandles newlines in values,
1617 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1618 eval ac_val=\$$ac_var
1619 case $ac_val in #(
1620 *${as_nl}*)
1621 case $ac_var in #(
1622 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1623 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1624 esac
1625 case $ac_var in #(
1626 _ | IFS | as_nl) ;; #(
1627 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1628 *) { eval $ac_var=; unset $ac_var;} ;;
1629 esac ;;
1630 esac
1631 done
1632 (set) 2>&1 |
1633 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1634 *${as_nl}ac_space=\ *)
1635 sed -n \
1636 "s/'\''/'\''\\\\'\'''\''/g;
1637 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1638 ;; #(
1640 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1642 esac |
1643 sort
1645 echo
1647 $as_echo "## ----------------- ##
1648 ## Output variables. ##
1649 ## ----------------- ##"
1650 echo
1651 for ac_var in $ac_subst_vars
1653 eval ac_val=\$$ac_var
1654 case $ac_val in
1655 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1656 esac
1657 $as_echo "$ac_var='\''$ac_val'\''"
1658 done | sort
1659 echo
1661 if test -n "$ac_subst_files"; then
1662 $as_echo "## ------------------- ##
1663 ## File substitutions. ##
1664 ## ------------------- ##"
1665 echo
1666 for ac_var in $ac_subst_files
1668 eval ac_val=\$$ac_var
1669 case $ac_val in
1670 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1671 esac
1672 $as_echo "$ac_var='\''$ac_val'\''"
1673 done | sort
1674 echo
1677 if test -s confdefs.h; then
1678 $as_echo "## ----------- ##
1679 ## confdefs.h. ##
1680 ## ----------- ##"
1681 echo
1682 cat confdefs.h
1683 echo
1685 test "$ac_signal" != 0 &&
1686 $as_echo "$as_me: caught signal $ac_signal"
1687 $as_echo "$as_me: exit $exit_status"
1688 } >&5
1689 rm -f core *.core core.conftest.* &&
1690 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1691 exit $exit_status
1693 for ac_signal in 1 2 13 15; do
1694 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1695 done
1696 ac_signal=0
1698 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1699 rm -f -r conftest* confdefs.h
1701 $as_echo "/* confdefs.h */" > confdefs.h
1703 # Predefined preprocessor variables.
1705 cat >>confdefs.h <<_ACEOF
1706 #define PACKAGE_NAME "$PACKAGE_NAME"
1707 _ACEOF
1709 cat >>confdefs.h <<_ACEOF
1710 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1711 _ACEOF
1713 cat >>confdefs.h <<_ACEOF
1714 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1715 _ACEOF
1717 cat >>confdefs.h <<_ACEOF
1718 #define PACKAGE_STRING "$PACKAGE_STRING"
1719 _ACEOF
1721 cat >>confdefs.h <<_ACEOF
1722 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1723 _ACEOF
1725 cat >>confdefs.h <<_ACEOF
1726 #define PACKAGE_URL "$PACKAGE_URL"
1727 _ACEOF
1730 # Let the site file select an alternate cache file if it wants to.
1731 # Prefer an explicitly selected file to automatically selected ones.
1732 ac_site_file1=NONE
1733 ac_site_file2=NONE
1734 if test -n "$CONFIG_SITE"; then
1735 # We do not want a PATH search for config.site.
1736 case $CONFIG_SITE in #((
1737 -*) ac_site_file1=./$CONFIG_SITE;;
1738 */*) ac_site_file1=$CONFIG_SITE;;
1739 *) ac_site_file1=./$CONFIG_SITE;;
1740 esac
1741 elif test "x$prefix" != xNONE; then
1742 ac_site_file1=$prefix/share/config.site
1743 ac_site_file2=$prefix/etc/config.site
1744 else
1745 ac_site_file1=$ac_default_prefix/share/config.site
1746 ac_site_file2=$ac_default_prefix/etc/config.site
1748 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1750 test "x$ac_site_file" = xNONE && continue
1751 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1752 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1753 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1754 sed 's/^/| /' "$ac_site_file" >&5
1755 . "$ac_site_file" \
1756 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1757 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1758 as_fn_error $? "failed to load site script $ac_site_file
1759 See \`config.log' for more details" "$LINENO" 5; }
1761 done
1763 if test -r "$cache_file"; then
1764 # Some versions of bash will fail to source /dev/null (special files
1765 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1766 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1767 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1768 $as_echo "$as_me: loading cache $cache_file" >&6;}
1769 case $cache_file in
1770 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1771 *) . "./$cache_file";;
1772 esac
1774 else
1775 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1776 $as_echo "$as_me: creating cache $cache_file" >&6;}
1777 >$cache_file
1780 # Check that the precious variables saved in the cache have kept the same
1781 # value.
1782 ac_cache_corrupted=false
1783 for ac_var in $ac_precious_vars; do
1784 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1785 eval ac_new_set=\$ac_env_${ac_var}_set
1786 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1787 eval ac_new_val=\$ac_env_${ac_var}_value
1788 case $ac_old_set,$ac_new_set in
1789 set,)
1790 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1791 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1792 ac_cache_corrupted=: ;;
1793 ,set)
1794 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1795 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1796 ac_cache_corrupted=: ;;
1797 ,);;
1799 if test "x$ac_old_val" != "x$ac_new_val"; then
1800 # differences in whitespace do not lead to failure.
1801 ac_old_val_w=`echo x $ac_old_val`
1802 ac_new_val_w=`echo x $ac_new_val`
1803 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1804 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1805 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1806 ac_cache_corrupted=:
1807 else
1808 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1809 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1810 eval $ac_var=\$ac_old_val
1812 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1813 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1814 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1815 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1816 fi;;
1817 esac
1818 # Pass precious variables to config.status.
1819 if test "$ac_new_set" = set; then
1820 case $ac_new_val in
1821 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1822 *) ac_arg=$ac_var=$ac_new_val ;;
1823 esac
1824 case " $ac_configure_args " in
1825 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1826 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1827 esac
1829 done
1830 if $ac_cache_corrupted; then
1831 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1832 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1833 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1834 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1835 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1837 ## -------------------- ##
1838 ## Main body of script. ##
1839 ## -------------------- ##
1841 ac_ext=c
1842 ac_cpp='$CPP $CPPFLAGS'
1843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1850 ac_aux_dir=
1851 for ac_dir in ../../../build-aux "$srcdir"/../../../build-aux; do
1852 if test -f "$ac_dir/install-sh"; then
1853 ac_aux_dir=$ac_dir
1854 ac_install_sh="$ac_aux_dir/install-sh -c"
1855 break
1856 elif test -f "$ac_dir/install.sh"; then
1857 ac_aux_dir=$ac_dir
1858 ac_install_sh="$ac_aux_dir/install.sh -c"
1859 break
1860 elif test -f "$ac_dir/shtool"; then
1861 ac_aux_dir=$ac_dir
1862 ac_install_sh="$ac_aux_dir/shtool install -c"
1863 break
1865 done
1866 if test -z "$ac_aux_dir"; then
1867 as_fn_error $? "cannot find install-sh, install.sh, or shtool in ../../../build-aux \"$srcdir\"/../../../build-aux" "$LINENO" 5
1870 # These three variables are undocumented and unsupported,
1871 # and are intended to be withdrawn in a future Autoconf release.
1872 # They can cause serious problems if a builder's source tree is in a directory
1873 # whose full name contains unusual characters.
1874 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1875 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1876 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1881 am__api_version='1.15'
1883 # Find a good install program. We prefer a C program (faster),
1884 # so one script is as good as another. But avoid the broken or
1885 # incompatible versions:
1886 # SysV /etc/install, /usr/sbin/install
1887 # SunOS /usr/etc/install
1888 # IRIX /sbin/install
1889 # AIX /bin/install
1890 # AmigaOS /C/install, which installs bootblocks on floppy discs
1891 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1892 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1893 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1894 # OS/2's system install, which has a completely different semantic
1895 # ./install, which can be erroneously created by make from ./install.sh.
1896 # Reject install programs that cannot install multiple files.
1897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1898 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1899 if test -z "$INSTALL"; then
1900 if ${ac_cv_path_install+:} false; then :
1901 $as_echo_n "(cached) " >&6
1902 else
1903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1904 for as_dir in $PATH
1906 IFS=$as_save_IFS
1907 test -z "$as_dir" && as_dir=.
1908 # Account for people who put trailing slashes in PATH elements.
1909 case $as_dir/ in #((
1910 ./ | .// | /[cC]/* | \
1911 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1912 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1913 /usr/ucb/* ) ;;
1915 # OSF1 and SCO ODT 3.0 have their own names for install.
1916 # Don't use installbsd from OSF since it installs stuff as root
1917 # by default.
1918 for ac_prog in ginstall scoinst install; do
1919 for ac_exec_ext in '' $ac_executable_extensions; do
1920 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1921 if test $ac_prog = install &&
1922 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1923 # AIX install. It has an incompatible calling convention.
1925 elif test $ac_prog = install &&
1926 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1927 # program-specific install script used by HP pwplus--don't use.
1929 else
1930 rm -rf conftest.one conftest.two conftest.dir
1931 echo one > conftest.one
1932 echo two > conftest.two
1933 mkdir conftest.dir
1934 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1935 test -s conftest.one && test -s conftest.two &&
1936 test -s conftest.dir/conftest.one &&
1937 test -s conftest.dir/conftest.two
1938 then
1939 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1940 break 3
1944 done
1945 done
1947 esac
1949 done
1950 IFS=$as_save_IFS
1952 rm -rf conftest.one conftest.two conftest.dir
1955 if test "${ac_cv_path_install+set}" = set; then
1956 INSTALL=$ac_cv_path_install
1957 else
1958 # As a last resort, use the slow shell script. Don't cache a
1959 # value for INSTALL within a source directory, because that will
1960 # break other packages using the cache if that directory is
1961 # removed, or if the value is a relative name.
1962 INSTALL=$ac_install_sh
1965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1966 $as_echo "$INSTALL" >&6; }
1968 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1969 # It thinks the first close brace ends the variable substitution.
1970 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1972 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1974 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
1977 $as_echo_n "checking whether build environment is sane... " >&6; }
1978 # Reject unsafe characters in $srcdir or the absolute working directory
1979 # name. Accept space and tab only in the latter.
1980 am_lf='
1982 case `pwd` in
1983 *[\\\"\#\$\&\'\`$am_lf]*)
1984 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
1985 esac
1986 case $srcdir in
1987 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
1988 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
1989 esac
1991 # Do 'set' in a subshell so we don't clobber the current shell's
1992 # arguments. Must try -L first in case configure is actually a
1993 # symlink; some systems play weird games with the mod time of symlinks
1994 # (eg FreeBSD returns the mod time of the symlink's containing
1995 # directory).
1996 if (
1997 am_has_slept=no
1998 for am_try in 1 2; do
1999 echo "timestamp, slept: $am_has_slept" > conftest.file
2000 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2001 if test "$*" = "X"; then
2002 # -L didn't work.
2003 set X `ls -t "$srcdir/configure" conftest.file`
2005 if test "$*" != "X $srcdir/configure conftest.file" \
2006 && test "$*" != "X conftest.file $srcdir/configure"; then
2008 # If neither matched, then we have a broken ls. This can happen
2009 # if, for instance, CONFIG_SHELL is bash and it inherits a
2010 # broken ls alias from the environment. This has actually
2011 # happened. Such a system could not be considered "sane".
2012 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2013 alias in your environment" "$LINENO" 5
2015 if test "$2" = conftest.file || test $am_try -eq 2; then
2016 break
2018 # Just in case.
2019 sleep 1
2020 am_has_slept=yes
2021 done
2022 test "$2" = conftest.file
2024 then
2025 # Ok.
2027 else
2028 as_fn_error $? "newly created file is older than distributed files!
2029 Check your system clock" "$LINENO" 5
2031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2032 $as_echo "yes" >&6; }
2033 # If we didn't sleep, we still need to ensure time stamps of config.status and
2034 # generated files are strictly newer.
2035 am_sleep_pid=
2036 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2037 ( sleep 1 ) &
2038 am_sleep_pid=$!
2041 rm -f conftest.file
2043 test "$program_prefix" != NONE &&
2044 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2045 # Use a double $ so make ignores it.
2046 test "$program_suffix" != NONE &&
2047 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2048 # Double any \ or $.
2049 # By default was `s,x,x', remove it if useless.
2050 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2051 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2053 # Expand $ac_aux_dir to an absolute path.
2054 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2056 if test x"${MISSING+set}" != xset; then
2057 case $am_aux_dir in
2058 *\ * | *\ *)
2059 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2061 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2062 esac
2064 # Use eval to expand $SHELL
2065 if eval "$MISSING --is-lightweight"; then
2066 am_missing_run="$MISSING "
2067 else
2068 am_missing_run=
2069 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2070 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2073 if test x"${install_sh+set}" != xset; then
2074 case $am_aux_dir in
2075 *\ * | *\ *)
2076 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2078 install_sh="\${SHELL} $am_aux_dir/install-sh"
2079 esac
2082 # Installed binaries are usually stripped using 'strip' when the user
2083 # run "make install-strip". However 'strip' might not be the right
2084 # tool to use in cross-compilation environments, therefore Automake
2085 # will honor the 'STRIP' environment variable to overrule this program.
2086 if test "$cross_compiling" != no; then
2087 if test -n "$ac_tool_prefix"; then
2088 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2089 set dummy ${ac_tool_prefix}strip; ac_word=$2
2090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2091 $as_echo_n "checking for $ac_word... " >&6; }
2092 if ${ac_cv_prog_STRIP+:} false; then :
2093 $as_echo_n "(cached) " >&6
2094 else
2095 if test -n "$STRIP"; then
2096 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2097 else
2098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2099 for as_dir in $PATH
2101 IFS=$as_save_IFS
2102 test -z "$as_dir" && as_dir=.
2103 for ac_exec_ext in '' $ac_executable_extensions; do
2104 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2105 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2106 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2107 break 2
2109 done
2110 done
2111 IFS=$as_save_IFS
2115 STRIP=$ac_cv_prog_STRIP
2116 if test -n "$STRIP"; then
2117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2118 $as_echo "$STRIP" >&6; }
2119 else
2120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2121 $as_echo "no" >&6; }
2126 if test -z "$ac_cv_prog_STRIP"; then
2127 ac_ct_STRIP=$STRIP
2128 # Extract the first word of "strip", so it can be a program name with args.
2129 set dummy strip; ac_word=$2
2130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2131 $as_echo_n "checking for $ac_word... " >&6; }
2132 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2133 $as_echo_n "(cached) " >&6
2134 else
2135 if test -n "$ac_ct_STRIP"; then
2136 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2137 else
2138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2139 for as_dir in $PATH
2141 IFS=$as_save_IFS
2142 test -z "$as_dir" && as_dir=.
2143 for ac_exec_ext in '' $ac_executable_extensions; do
2144 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2145 ac_cv_prog_ac_ct_STRIP="strip"
2146 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2147 break 2
2149 done
2150 done
2151 IFS=$as_save_IFS
2155 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2156 if test -n "$ac_ct_STRIP"; then
2157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2158 $as_echo "$ac_ct_STRIP" >&6; }
2159 else
2160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2161 $as_echo "no" >&6; }
2164 if test "x$ac_ct_STRIP" = x; then
2165 STRIP=":"
2166 else
2167 case $cross_compiling:$ac_tool_warned in
2168 yes:)
2169 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2170 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2171 ac_tool_warned=yes ;;
2172 esac
2173 STRIP=$ac_ct_STRIP
2175 else
2176 STRIP="$ac_cv_prog_STRIP"
2180 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2183 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2184 if test -z "$MKDIR_P"; then
2185 if ${ac_cv_path_mkdir+:} false; then :
2186 $as_echo_n "(cached) " >&6
2187 else
2188 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2189 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2191 IFS=$as_save_IFS
2192 test -z "$as_dir" && as_dir=.
2193 for ac_prog in mkdir gmkdir; do
2194 for ac_exec_ext in '' $ac_executable_extensions; do
2195 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2196 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2197 'mkdir (GNU coreutils) '* | \
2198 'mkdir (coreutils) '* | \
2199 'mkdir (fileutils) '4.1*)
2200 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2201 break 3;;
2202 esac
2203 done
2204 done
2205 done
2206 IFS=$as_save_IFS
2210 test -d ./--version && rmdir ./--version
2211 if test "${ac_cv_path_mkdir+set}" = set; then
2212 MKDIR_P="$ac_cv_path_mkdir -p"
2213 else
2214 # As a last resort, use the slow shell script. Don't cache a
2215 # value for MKDIR_P within a source directory, because that will
2216 # break other packages using the cache if that directory is
2217 # removed, or if the value is a relative name.
2218 MKDIR_P="$ac_install_sh -d"
2221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2222 $as_echo "$MKDIR_P" >&6; }
2224 for ac_prog in gawk mawk nawk awk
2226 # Extract the first word of "$ac_prog", so it can be a program name with args.
2227 set dummy $ac_prog; ac_word=$2
2228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2229 $as_echo_n "checking for $ac_word... " >&6; }
2230 if ${ac_cv_prog_AWK+:} false; then :
2231 $as_echo_n "(cached) " >&6
2232 else
2233 if test -n "$AWK"; then
2234 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2235 else
2236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2237 for as_dir in $PATH
2239 IFS=$as_save_IFS
2240 test -z "$as_dir" && as_dir=.
2241 for ac_exec_ext in '' $ac_executable_extensions; do
2242 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2243 ac_cv_prog_AWK="$ac_prog"
2244 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2245 break 2
2247 done
2248 done
2249 IFS=$as_save_IFS
2253 AWK=$ac_cv_prog_AWK
2254 if test -n "$AWK"; then
2255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2256 $as_echo "$AWK" >&6; }
2257 else
2258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2259 $as_echo "no" >&6; }
2263 test -n "$AWK" && break
2264 done
2266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2267 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2268 set x ${MAKE-make}
2269 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2270 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2271 $as_echo_n "(cached) " >&6
2272 else
2273 cat >conftest.make <<\_ACEOF
2274 SHELL = /bin/sh
2275 all:
2276 @echo '@@@%%%=$(MAKE)=@@@%%%'
2277 _ACEOF
2278 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2279 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2280 *@@@%%%=?*=@@@%%%*)
2281 eval ac_cv_prog_make_${ac_make}_set=yes;;
2283 eval ac_cv_prog_make_${ac_make}_set=no;;
2284 esac
2285 rm -f conftest.make
2287 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2289 $as_echo "yes" >&6; }
2290 SET_MAKE=
2291 else
2292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2293 $as_echo "no" >&6; }
2294 SET_MAKE="MAKE=${MAKE-make}"
2297 rm -rf .tst 2>/dev/null
2298 mkdir .tst 2>/dev/null
2299 if test -d .tst; then
2300 am__leading_dot=.
2301 else
2302 am__leading_dot=_
2304 rmdir .tst 2>/dev/null
2306 # Check whether --enable-silent-rules was given.
2307 if test "${enable_silent_rules+set}" = set; then :
2308 enableval=$enable_silent_rules;
2311 case $enable_silent_rules in # (((
2312 yes) AM_DEFAULT_VERBOSITY=0;;
2313 no) AM_DEFAULT_VERBOSITY=1;;
2314 *) AM_DEFAULT_VERBOSITY=1;;
2315 esac
2316 am_make=${MAKE-make}
2317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2318 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2319 if ${am_cv_make_support_nested_variables+:} false; then :
2320 $as_echo_n "(cached) " >&6
2321 else
2322 if $as_echo 'TRUE=$(BAR$(V))
2323 BAR0=false
2324 BAR1=true
2326 am__doit:
2327 @$(TRUE)
2328 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2329 am_cv_make_support_nested_variables=yes
2330 else
2331 am_cv_make_support_nested_variables=no
2334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2335 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2336 if test $am_cv_make_support_nested_variables = yes; then
2337 AM_V='$(V)'
2338 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2339 else
2340 AM_V=$AM_DEFAULT_VERBOSITY
2341 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2343 AM_BACKSLASH='\'
2345 DEPDIR="${am__leading_dot}deps"
2347 ac_config_commands="$ac_config_commands depfiles"
2350 am_make=${MAKE-make}
2351 cat > confinc << 'END'
2352 am__doit:
2353 @echo this is the am__doit target
2354 .PHONY: am__doit
2356 # If we don't find an include directive, just comment out the code.
2357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2358 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2359 am__include="#"
2360 am__quote=
2361 _am_result=none
2362 # First try GNU make style include.
2363 echo "include confinc" > confmf
2364 # Ignore all kinds of additional output from 'make'.
2365 case `$am_make -s -f confmf 2> /dev/null` in #(
2366 *the\ am__doit\ target*)
2367 am__include=include
2368 am__quote=
2369 _am_result=GNU
2371 esac
2372 # Now try BSD make style include.
2373 if test "$am__include" = "#"; then
2374 echo '.include "confinc"' > confmf
2375 case `$am_make -s -f confmf 2> /dev/null` in #(
2376 *the\ am__doit\ target*)
2377 am__include=.include
2378 am__quote="\""
2379 _am_result=BSD
2381 esac
2385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2386 $as_echo "$_am_result" >&6; }
2387 rm -f confinc confmf
2389 # Check whether --enable-dependency-tracking was given.
2390 if test "${enable_dependency_tracking+set}" = set; then :
2391 enableval=$enable_dependency_tracking;
2394 if test "x$enable_dependency_tracking" != xno; then
2395 am_depcomp="$ac_aux_dir/depcomp"
2396 AMDEPBACKSLASH='\'
2397 am__nodep='_no'
2399 if test "x$enable_dependency_tracking" != xno; then
2400 AMDEP_TRUE=
2401 AMDEP_FALSE='#'
2402 else
2403 AMDEP_TRUE='#'
2404 AMDEP_FALSE=
2408 ac_ext=c
2409 ac_cpp='$CPP $CPPFLAGS'
2410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2413 if test -n "$ac_tool_prefix"; then
2414 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2415 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2417 $as_echo_n "checking for $ac_word... " >&6; }
2418 if ${ac_cv_prog_CC+:} false; then :
2419 $as_echo_n "(cached) " >&6
2420 else
2421 if test -n "$CC"; then
2422 ac_cv_prog_CC="$CC" # Let the user override the test.
2423 else
2424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2425 for as_dir in $PATH
2427 IFS=$as_save_IFS
2428 test -z "$as_dir" && as_dir=.
2429 for ac_exec_ext in '' $ac_executable_extensions; do
2430 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2431 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2432 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2433 break 2
2435 done
2436 done
2437 IFS=$as_save_IFS
2441 CC=$ac_cv_prog_CC
2442 if test -n "$CC"; then
2443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2444 $as_echo "$CC" >&6; }
2445 else
2446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2447 $as_echo "no" >&6; }
2452 if test -z "$ac_cv_prog_CC"; then
2453 ac_ct_CC=$CC
2454 # Extract the first word of "gcc", so it can be a program name with args.
2455 set dummy gcc; ac_word=$2
2456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2457 $as_echo_n "checking for $ac_word... " >&6; }
2458 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2459 $as_echo_n "(cached) " >&6
2460 else
2461 if test -n "$ac_ct_CC"; then
2462 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2463 else
2464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2465 for as_dir in $PATH
2467 IFS=$as_save_IFS
2468 test -z "$as_dir" && as_dir=.
2469 for ac_exec_ext in '' $ac_executable_extensions; do
2470 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2471 ac_cv_prog_ac_ct_CC="gcc"
2472 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2473 break 2
2475 done
2476 done
2477 IFS=$as_save_IFS
2481 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2482 if test -n "$ac_ct_CC"; then
2483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2484 $as_echo "$ac_ct_CC" >&6; }
2485 else
2486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2487 $as_echo "no" >&6; }
2490 if test "x$ac_ct_CC" = x; then
2491 CC=""
2492 else
2493 case $cross_compiling:$ac_tool_warned in
2494 yes:)
2495 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2496 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2497 ac_tool_warned=yes ;;
2498 esac
2499 CC=$ac_ct_CC
2501 else
2502 CC="$ac_cv_prog_CC"
2505 if test -z "$CC"; then
2506 if test -n "$ac_tool_prefix"; then
2507 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2508 set dummy ${ac_tool_prefix}cc; ac_word=$2
2509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2510 $as_echo_n "checking for $ac_word... " >&6; }
2511 if ${ac_cv_prog_CC+:} false; then :
2512 $as_echo_n "(cached) " >&6
2513 else
2514 if test -n "$CC"; then
2515 ac_cv_prog_CC="$CC" # Let the user override the test.
2516 else
2517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2518 for as_dir in $PATH
2520 IFS=$as_save_IFS
2521 test -z "$as_dir" && as_dir=.
2522 for ac_exec_ext in '' $ac_executable_extensions; do
2523 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2524 ac_cv_prog_CC="${ac_tool_prefix}cc"
2525 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2526 break 2
2528 done
2529 done
2530 IFS=$as_save_IFS
2534 CC=$ac_cv_prog_CC
2535 if test -n "$CC"; then
2536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2537 $as_echo "$CC" >&6; }
2538 else
2539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2540 $as_echo "no" >&6; }
2546 if test -z "$CC"; then
2547 # Extract the first word of "cc", so it can be a program name with args.
2548 set dummy cc; ac_word=$2
2549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2550 $as_echo_n "checking for $ac_word... " >&6; }
2551 if ${ac_cv_prog_CC+:} false; then :
2552 $as_echo_n "(cached) " >&6
2553 else
2554 if test -n "$CC"; then
2555 ac_cv_prog_CC="$CC" # Let the user override the test.
2556 else
2557 ac_prog_rejected=no
2558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2559 for as_dir in $PATH
2561 IFS=$as_save_IFS
2562 test -z "$as_dir" && as_dir=.
2563 for ac_exec_ext in '' $ac_executable_extensions; do
2564 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2565 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2566 ac_prog_rejected=yes
2567 continue
2569 ac_cv_prog_CC="cc"
2570 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2571 break 2
2573 done
2574 done
2575 IFS=$as_save_IFS
2577 if test $ac_prog_rejected = yes; then
2578 # We found a bogon in the path, so make sure we never use it.
2579 set dummy $ac_cv_prog_CC
2580 shift
2581 if test $# != 0; then
2582 # We chose a different compiler from the bogus one.
2583 # However, it has the same basename, so the bogon will be chosen
2584 # first if we set CC to just the basename; use the full file name.
2585 shift
2586 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2591 CC=$ac_cv_prog_CC
2592 if test -n "$CC"; then
2593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2594 $as_echo "$CC" >&6; }
2595 else
2596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2597 $as_echo "no" >&6; }
2602 if test -z "$CC"; then
2603 if test -n "$ac_tool_prefix"; then
2604 for ac_prog in cl.exe
2606 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2607 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2609 $as_echo_n "checking for $ac_word... " >&6; }
2610 if ${ac_cv_prog_CC+:} false; then :
2611 $as_echo_n "(cached) " >&6
2612 else
2613 if test -n "$CC"; then
2614 ac_cv_prog_CC="$CC" # Let the user override the test.
2615 else
2616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2617 for as_dir in $PATH
2619 IFS=$as_save_IFS
2620 test -z "$as_dir" && as_dir=.
2621 for ac_exec_ext in '' $ac_executable_extensions; do
2622 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2623 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2624 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2625 break 2
2627 done
2628 done
2629 IFS=$as_save_IFS
2633 CC=$ac_cv_prog_CC
2634 if test -n "$CC"; then
2635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2636 $as_echo "$CC" >&6; }
2637 else
2638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2639 $as_echo "no" >&6; }
2643 test -n "$CC" && break
2644 done
2646 if test -z "$CC"; then
2647 ac_ct_CC=$CC
2648 for ac_prog in cl.exe
2650 # Extract the first word of "$ac_prog", so it can be a program name with args.
2651 set dummy $ac_prog; ac_word=$2
2652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2653 $as_echo_n "checking for $ac_word... " >&6; }
2654 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2655 $as_echo_n "(cached) " >&6
2656 else
2657 if test -n "$ac_ct_CC"; then
2658 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2659 else
2660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2661 for as_dir in $PATH
2663 IFS=$as_save_IFS
2664 test -z "$as_dir" && as_dir=.
2665 for ac_exec_ext in '' $ac_executable_extensions; do
2666 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2667 ac_cv_prog_ac_ct_CC="$ac_prog"
2668 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2669 break 2
2671 done
2672 done
2673 IFS=$as_save_IFS
2677 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2678 if test -n "$ac_ct_CC"; then
2679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2680 $as_echo "$ac_ct_CC" >&6; }
2681 else
2682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2683 $as_echo "no" >&6; }
2687 test -n "$ac_ct_CC" && break
2688 done
2690 if test "x$ac_ct_CC" = x; then
2691 CC=""
2692 else
2693 case $cross_compiling:$ac_tool_warned in
2694 yes:)
2695 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2696 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2697 ac_tool_warned=yes ;;
2698 esac
2699 CC=$ac_ct_CC
2706 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2707 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2708 as_fn_error $? "no acceptable C compiler found in \$PATH
2709 See \`config.log' for more details" "$LINENO" 5; }
2711 # Provide some information about the compiler.
2712 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2713 set X $ac_compile
2714 ac_compiler=$2
2715 for ac_option in --version -v -V -qversion; do
2716 { { ac_try="$ac_compiler $ac_option >&5"
2717 case "(($ac_try" in
2718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2719 *) ac_try_echo=$ac_try;;
2720 esac
2721 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2722 $as_echo "$ac_try_echo"; } >&5
2723 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2724 ac_status=$?
2725 if test -s conftest.err; then
2726 sed '10a\
2727 ... rest of stderr output deleted ...
2728 10q' conftest.err >conftest.er1
2729 cat conftest.er1 >&5
2731 rm -f conftest.er1 conftest.err
2732 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2733 test $ac_status = 0; }
2734 done
2736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2737 /* end confdefs.h. */
2740 main ()
2744 return 0;
2746 _ACEOF
2747 ac_clean_files_save=$ac_clean_files
2748 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2749 # Try to create an executable without -o first, disregard a.out.
2750 # It will help us diagnose broken compilers, and finding out an intuition
2751 # of exeext.
2752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2753 $as_echo_n "checking whether the C compiler works... " >&6; }
2754 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2756 # The possible output files:
2757 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2759 ac_rmfiles=
2760 for ac_file in $ac_files
2762 case $ac_file in
2763 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2764 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2765 esac
2766 done
2767 rm -f $ac_rmfiles
2769 if { { ac_try="$ac_link_default"
2770 case "(($ac_try" in
2771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2772 *) ac_try_echo=$ac_try;;
2773 esac
2774 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2775 $as_echo "$ac_try_echo"; } >&5
2776 (eval "$ac_link_default") 2>&5
2777 ac_status=$?
2778 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2779 test $ac_status = 0; }; then :
2780 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2781 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2782 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2783 # so that the user can short-circuit this test for compilers unknown to
2784 # Autoconf.
2785 for ac_file in $ac_files ''
2787 test -f "$ac_file" || continue
2788 case $ac_file in
2789 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2791 [ab].out )
2792 # We found the default executable, but exeext='' is most
2793 # certainly right.
2794 break;;
2795 *.* )
2796 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2797 then :; else
2798 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2800 # We set ac_cv_exeext here because the later test for it is not
2801 # safe: cross compilers may not add the suffix if given an `-o'
2802 # argument, so we may need to know it at that point already.
2803 # Even if this section looks crufty: it has the advantage of
2804 # actually working.
2805 break;;
2807 break;;
2808 esac
2809 done
2810 test "$ac_cv_exeext" = no && ac_cv_exeext=
2812 else
2813 ac_file=''
2815 if test -z "$ac_file"; then :
2816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2817 $as_echo "no" >&6; }
2818 $as_echo "$as_me: failed program was:" >&5
2819 sed 's/^/| /' conftest.$ac_ext >&5
2821 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2822 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2823 as_fn_error 77 "C compiler cannot create executables
2824 See \`config.log' for more details" "$LINENO" 5; }
2825 else
2826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2827 $as_echo "yes" >&6; }
2829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2830 $as_echo_n "checking for C compiler default output file name... " >&6; }
2831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2832 $as_echo "$ac_file" >&6; }
2833 ac_exeext=$ac_cv_exeext
2835 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2836 ac_clean_files=$ac_clean_files_save
2837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2838 $as_echo_n "checking for suffix of executables... " >&6; }
2839 if { { ac_try="$ac_link"
2840 case "(($ac_try" in
2841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2842 *) ac_try_echo=$ac_try;;
2843 esac
2844 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2845 $as_echo "$ac_try_echo"; } >&5
2846 (eval "$ac_link") 2>&5
2847 ac_status=$?
2848 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2849 test $ac_status = 0; }; then :
2850 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2851 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2852 # work properly (i.e., refer to `conftest.exe'), while it won't with
2853 # `rm'.
2854 for ac_file in conftest.exe conftest conftest.*; do
2855 test -f "$ac_file" || continue
2856 case $ac_file in
2857 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2858 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2859 break;;
2860 * ) break;;
2861 esac
2862 done
2863 else
2864 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2865 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2866 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2867 See \`config.log' for more details" "$LINENO" 5; }
2869 rm -f conftest conftest$ac_cv_exeext
2870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2871 $as_echo "$ac_cv_exeext" >&6; }
2873 rm -f conftest.$ac_ext
2874 EXEEXT=$ac_cv_exeext
2875 ac_exeext=$EXEEXT
2876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2877 /* end confdefs.h. */
2878 #include <stdio.h>
2880 main ()
2882 FILE *f = fopen ("conftest.out", "w");
2883 return ferror (f) || fclose (f) != 0;
2886 return 0;
2888 _ACEOF
2889 ac_clean_files="$ac_clean_files conftest.out"
2890 # Check that the compiler produces executables we can run. If not, either
2891 # the compiler is broken, or we cross compile.
2892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2893 $as_echo_n "checking whether we are cross compiling... " >&6; }
2894 if test "$cross_compiling" != yes; then
2895 { { ac_try="$ac_link"
2896 case "(($ac_try" in
2897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2898 *) ac_try_echo=$ac_try;;
2899 esac
2900 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2901 $as_echo "$ac_try_echo"; } >&5
2902 (eval "$ac_link") 2>&5
2903 ac_status=$?
2904 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2905 test $ac_status = 0; }
2906 if { ac_try='./conftest$ac_cv_exeext'
2907 { { case "(($ac_try" in
2908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2909 *) ac_try_echo=$ac_try;;
2910 esac
2911 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2912 $as_echo "$ac_try_echo"; } >&5
2913 (eval "$ac_try") 2>&5
2914 ac_status=$?
2915 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2916 test $ac_status = 0; }; }; then
2917 cross_compiling=no
2918 else
2919 if test "$cross_compiling" = maybe; then
2920 cross_compiling=yes
2921 else
2922 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2923 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2924 as_fn_error $? "cannot run C compiled programs.
2925 If you meant to cross compile, use \`--host'.
2926 See \`config.log' for more details" "$LINENO" 5; }
2930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2931 $as_echo "$cross_compiling" >&6; }
2933 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2934 ac_clean_files=$ac_clean_files_save
2935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2936 $as_echo_n "checking for suffix of object files... " >&6; }
2937 if ${ac_cv_objext+:} false; then :
2938 $as_echo_n "(cached) " >&6
2939 else
2940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2941 /* end confdefs.h. */
2944 main ()
2948 return 0;
2950 _ACEOF
2951 rm -f conftest.o conftest.obj
2952 if { { ac_try="$ac_compile"
2953 case "(($ac_try" in
2954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2955 *) ac_try_echo=$ac_try;;
2956 esac
2957 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2958 $as_echo "$ac_try_echo"; } >&5
2959 (eval "$ac_compile") 2>&5
2960 ac_status=$?
2961 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2962 test $ac_status = 0; }; then :
2963 for ac_file in conftest.o conftest.obj conftest.*; do
2964 test -f "$ac_file" || continue;
2965 case $ac_file in
2966 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2967 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2968 break;;
2969 esac
2970 done
2971 else
2972 $as_echo "$as_me: failed program was:" >&5
2973 sed 's/^/| /' conftest.$ac_ext >&5
2975 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2976 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2977 as_fn_error $? "cannot compute suffix of object files: cannot compile
2978 See \`config.log' for more details" "$LINENO" 5; }
2980 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2983 $as_echo "$ac_cv_objext" >&6; }
2984 OBJEXT=$ac_cv_objext
2985 ac_objext=$OBJEXT
2986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2987 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2988 if ${ac_cv_c_compiler_gnu+:} false; then :
2989 $as_echo_n "(cached) " >&6
2990 else
2991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2992 /* end confdefs.h. */
2995 main ()
2997 #ifndef __GNUC__
2998 choke me
2999 #endif
3002 return 0;
3004 _ACEOF
3005 if ac_fn_c_try_compile "$LINENO"; then :
3006 ac_compiler_gnu=yes
3007 else
3008 ac_compiler_gnu=no
3010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3011 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3015 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3016 if test $ac_compiler_gnu = yes; then
3017 GCC=yes
3018 else
3019 GCC=
3021 ac_test_CFLAGS=${CFLAGS+set}
3022 ac_save_CFLAGS=$CFLAGS
3023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3024 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3025 if ${ac_cv_prog_cc_g+:} false; then :
3026 $as_echo_n "(cached) " >&6
3027 else
3028 ac_save_c_werror_flag=$ac_c_werror_flag
3029 ac_c_werror_flag=yes
3030 ac_cv_prog_cc_g=no
3031 CFLAGS="-g"
3032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3033 /* end confdefs.h. */
3036 main ()
3040 return 0;
3042 _ACEOF
3043 if ac_fn_c_try_compile "$LINENO"; then :
3044 ac_cv_prog_cc_g=yes
3045 else
3046 CFLAGS=""
3047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3048 /* end confdefs.h. */
3051 main ()
3055 return 0;
3057 _ACEOF
3058 if ac_fn_c_try_compile "$LINENO"; then :
3060 else
3061 ac_c_werror_flag=$ac_save_c_werror_flag
3062 CFLAGS="-g"
3063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3064 /* end confdefs.h. */
3067 main ()
3071 return 0;
3073 _ACEOF
3074 if ac_fn_c_try_compile "$LINENO"; then :
3075 ac_cv_prog_cc_g=yes
3077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3082 ac_c_werror_flag=$ac_save_c_werror_flag
3084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3085 $as_echo "$ac_cv_prog_cc_g" >&6; }
3086 if test "$ac_test_CFLAGS" = set; then
3087 CFLAGS=$ac_save_CFLAGS
3088 elif test $ac_cv_prog_cc_g = yes; then
3089 if test "$GCC" = yes; then
3090 CFLAGS="-g -O2"
3091 else
3092 CFLAGS="-g"
3094 else
3095 if test "$GCC" = yes; then
3096 CFLAGS="-O2"
3097 else
3098 CFLAGS=
3101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3102 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3103 if ${ac_cv_prog_cc_c89+:} false; then :
3104 $as_echo_n "(cached) " >&6
3105 else
3106 ac_cv_prog_cc_c89=no
3107 ac_save_CC=$CC
3108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3109 /* end confdefs.h. */
3110 #include <stdarg.h>
3111 #include <stdio.h>
3112 struct stat;
3113 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3114 struct buf { int x; };
3115 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3116 static char *e (p, i)
3117 char **p;
3118 int i;
3120 return p[i];
3122 static char *f (char * (*g) (char **, int), char **p, ...)
3124 char *s;
3125 va_list v;
3126 va_start (v,p);
3127 s = g (p, va_arg (v,int));
3128 va_end (v);
3129 return s;
3132 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3133 function prototypes and stuff, but not '\xHH' hex character constants.
3134 These don't provoke an error unfortunately, instead are silently treated
3135 as 'x'. The following induces an error, until -std is added to get
3136 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3137 array size at least. It's necessary to write '\x00'==0 to get something
3138 that's true only with -std. */
3139 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3141 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3142 inside strings and character constants. */
3143 #define FOO(x) 'x'
3144 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3146 int test (int i, double x);
3147 struct s1 {int (*f) (int a);};
3148 struct s2 {int (*f) (double a);};
3149 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3150 int argc;
3151 char **argv;
3153 main ()
3155 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3157 return 0;
3159 _ACEOF
3160 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3161 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3163 CC="$ac_save_CC $ac_arg"
3164 if ac_fn_c_try_compile "$LINENO"; then :
3165 ac_cv_prog_cc_c89=$ac_arg
3167 rm -f core conftest.err conftest.$ac_objext
3168 test "x$ac_cv_prog_cc_c89" != "xno" && break
3169 done
3170 rm -f conftest.$ac_ext
3171 CC=$ac_save_CC
3174 # AC_CACHE_VAL
3175 case "x$ac_cv_prog_cc_c89" in
3177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3178 $as_echo "none needed" >&6; } ;;
3179 xno)
3180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3181 $as_echo "unsupported" >&6; } ;;
3183 CC="$CC $ac_cv_prog_cc_c89"
3184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3185 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3186 esac
3187 if test "x$ac_cv_prog_cc_c89" != xno; then :
3191 ac_ext=c
3192 ac_cpp='$CPP $CPPFLAGS'
3193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3197 ac_ext=c
3198 ac_cpp='$CPP $CPPFLAGS'
3199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3203 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3204 if ${am_cv_prog_cc_c_o+:} false; then :
3205 $as_echo_n "(cached) " >&6
3206 else
3207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3208 /* end confdefs.h. */
3211 main ()
3215 return 0;
3217 _ACEOF
3218 # Make sure it works both with $CC and with simple cc.
3219 # Following AC_PROG_CC_C_O, we do the test twice because some
3220 # compilers refuse to overwrite an existing .o file with -o,
3221 # though they will create one.
3222 am_cv_prog_cc_c_o=yes
3223 for am_i in 1 2; do
3224 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3225 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3226 ac_status=$?
3227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3228 (exit $ac_status); } \
3229 && test -f conftest2.$ac_objext; then
3230 : OK
3231 else
3232 am_cv_prog_cc_c_o=no
3233 break
3235 done
3236 rm -f core conftest*
3237 unset am_i
3239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3240 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3241 if test "$am_cv_prog_cc_c_o" != yes; then
3242 # Losing compiler, so override with the script.
3243 # FIXME: It is wrong to rewrite CC.
3244 # But if we don't then we get into trouble of one sort or another.
3245 # A longer-term fix would be to have automake use am__CC in this case,
3246 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3247 CC="$am_aux_dir/compile $CC"
3249 ac_ext=c
3250 ac_cpp='$CPP $CPPFLAGS'
3251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3256 depcc="$CC" am_compiler_list=
3258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3259 $as_echo_n "checking dependency style of $depcc... " >&6; }
3260 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3261 $as_echo_n "(cached) " >&6
3262 else
3263 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3264 # We make a subdir and do the tests there. Otherwise we can end up
3265 # making bogus files that we don't know about and never remove. For
3266 # instance it was reported that on HP-UX the gcc test will end up
3267 # making a dummy file named 'D' -- because '-MD' means "put the output
3268 # in D".
3269 rm -rf conftest.dir
3270 mkdir conftest.dir
3271 # Copy depcomp to subdir because otherwise we won't find it if we're
3272 # using a relative directory.
3273 cp "$am_depcomp" conftest.dir
3274 cd conftest.dir
3275 # We will build objects and dependencies in a subdirectory because
3276 # it helps to detect inapplicable dependency modes. For instance
3277 # both Tru64's cc and ICC support -MD to output dependencies as a
3278 # side effect of compilation, but ICC will put the dependencies in
3279 # the current directory while Tru64 will put them in the object
3280 # directory.
3281 mkdir sub
3283 am_cv_CC_dependencies_compiler_type=none
3284 if test "$am_compiler_list" = ""; then
3285 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3287 am__universal=false
3288 case " $depcc " in #(
3289 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3290 esac
3292 for depmode in $am_compiler_list; do
3293 # Setup a source with many dependencies, because some compilers
3294 # like to wrap large dependency lists on column 80 (with \), and
3295 # we should not choose a depcomp mode which is confused by this.
3297 # We need to recreate these files for each test, as the compiler may
3298 # overwrite some of them when testing with obscure command lines.
3299 # This happens at least with the AIX C compiler.
3300 : > sub/conftest.c
3301 for i in 1 2 3 4 5 6; do
3302 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3303 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3304 # Solaris 10 /bin/sh.
3305 echo '/* dummy */' > sub/conftst$i.h
3306 done
3307 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3309 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3310 # mode. It turns out that the SunPro C++ compiler does not properly
3311 # handle '-M -o', and we need to detect this. Also, some Intel
3312 # versions had trouble with output in subdirs.
3313 am__obj=sub/conftest.${OBJEXT-o}
3314 am__minus_obj="-o $am__obj"
3315 case $depmode in
3316 gcc)
3317 # This depmode causes a compiler race in universal mode.
3318 test "$am__universal" = false || continue
3320 nosideeffect)
3321 # After this tag, mechanisms are not by side-effect, so they'll
3322 # only be used when explicitly requested.
3323 if test "x$enable_dependency_tracking" = xyes; then
3324 continue
3325 else
3326 break
3329 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3330 # This compiler won't grok '-c -o', but also, the minuso test has
3331 # not run yet. These depmodes are late enough in the game, and
3332 # so weak that their functioning should not be impacted.
3333 am__obj=conftest.${OBJEXT-o}
3334 am__minus_obj=
3336 none) break ;;
3337 esac
3338 if depmode=$depmode \
3339 source=sub/conftest.c object=$am__obj \
3340 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3341 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3342 >/dev/null 2>conftest.err &&
3343 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3344 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3345 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3346 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3347 # icc doesn't choke on unknown options, it will just issue warnings
3348 # or remarks (even with -Werror). So we grep stderr for any message
3349 # that says an option was ignored or not supported.
3350 # When given -MP, icc 7.0 and 7.1 complain thusly:
3351 # icc: Command line warning: ignoring option '-M'; no argument required
3352 # The diagnosis changed in icc 8.0:
3353 # icc: Command line remark: option '-MP' not supported
3354 if (grep 'ignoring option' conftest.err ||
3355 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3356 am_cv_CC_dependencies_compiler_type=$depmode
3357 break
3360 done
3362 cd ..
3363 rm -rf conftest.dir
3364 else
3365 am_cv_CC_dependencies_compiler_type=none
3369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3370 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3371 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3374 test "x$enable_dependency_tracking" != xno \
3375 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3376 am__fastdepCC_TRUE=
3377 am__fastdepCC_FALSE='#'
3378 else
3379 am__fastdepCC_TRUE='#'
3380 am__fastdepCC_FALSE=
3385 # Check whether --enable-compiler-warnings was given.
3386 if test "${enable_compiler_warnings+set}" = set; then :
3387 enableval=$enable_compiler_warnings;
3389 case $enable_compiler_warnings in #(
3390 no | min | yes | max | all) :
3391 ;; #(
3392 *) :
3393 if test "x$enable_maintainer_mode" = xyes; then :
3394 enable_compiler_warnings=yes
3395 else
3396 enable_compiler_warnings=min
3397 fi ;;
3398 esac
3401 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3402 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3403 # is not polluted with repeated "-I."
3404 am__isrc=' -I$(srcdir)'
3405 # test to see if srcdir already configured
3406 if test -f $srcdir/config.status; then
3407 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3411 # test whether we have cygpath
3412 if test -z "$CYGPATH_W"; then
3413 if (cygpath --version) >/dev/null 2>/dev/null; then
3414 CYGPATH_W='cygpath -w'
3415 else
3416 CYGPATH_W=echo
3421 # Define the identity of the package.
3422 PACKAGE='gmp-native'
3423 VERSION='6.1.0'
3426 cat >>confdefs.h <<_ACEOF
3427 #define PACKAGE "$PACKAGE"
3428 _ACEOF
3431 cat >>confdefs.h <<_ACEOF
3432 #define VERSION "$VERSION"
3433 _ACEOF
3435 # Some tools Automake needs.
3437 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3440 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3443 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3446 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3449 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3451 # For better backward compatibility. To be removed once Automake 1.9.x
3452 # dies out for good. For more background, see:
3453 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3454 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3455 mkdir_p='$(MKDIR_P)'
3457 # We need awk for the "check" target (and possibly the TAP driver). The
3458 # system "awk" is bad on some platforms.
3459 # Always define AMTAR for backward compatibility. Yes, it's still used
3460 # in the wild :-( We should find a proper way to deprecate it ...
3461 AMTAR='$${TAR-tar}'
3464 # We'll loop over all known methods to create a tar archive until one works.
3465 _am_tools='gnutar pax cpio none'
3467 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3474 # POSIX will say in a future version that running "rm -f" with no argument
3475 # is OK; and we want to be able to make that assumption in our Makefile
3476 # recipes. So use an aggressive probe to check that the usage we want is
3477 # actually supported "in the wild" to an acceptable degree.
3478 # See automake bug#10828.
3479 # To make any issue more visible, cause the running configure to be aborted
3480 # by default if the 'rm' program in use doesn't match our expectations; the
3481 # user can still override this though.
3482 if rm -f && rm -fr && rm -rf; then : OK; else
3483 cat >&2 <<'END'
3484 Oops!
3486 Your 'rm' program seems unable to run without file operands specified
3487 on the command line, even when the '-f' option is present. This is contrary
3488 to the behaviour of most rm programs out there, and not conforming with
3489 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3491 Please tell bug-automake@gnu.org about your system, including the value
3492 of your $PATH and any error possibly output before this message. This
3493 can help us improve future automake versions.
3496 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3497 echo 'Configuration will proceed anyway, since you have set the' >&2
3498 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3499 echo >&2
3500 else
3501 cat >&2 <<'END'
3502 Aborting the configuration process, to ensure you take notice of the issue.
3504 You can download and install GNU coreutils to get an 'rm' implementation
3505 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3507 If you want to complete the configuration process using your problematic
3508 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3509 to "yes", and re-run configure.
3512 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3518 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3519 # Check whether --enable-maintainer-mode was given.
3520 if test "${enable_maintainer_mode+set}" = set; then :
3521 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3522 else
3523 USE_MAINTAINER_MODE=no
3526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3527 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3528 if test $USE_MAINTAINER_MODE = yes; then
3529 MAINTAINER_MODE_TRUE=
3530 MAINTAINER_MODE_FALSE='#'
3531 else
3532 MAINTAINER_MODE_TRUE='#'
3533 MAINTAINER_MODE_FALSE=
3536 MAINT=$MAINTAINER_MODE_TRUE
3539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler accepts prototypes" >&5
3540 $as_echo_n "checking whether the compiler accepts prototypes... " >&6; }
3541 if ${kb_cv_c_prototypes+:} false; then :
3542 $as_echo_n "(cached) " >&6
3543 else
3544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3545 /* end confdefs.h. */
3546 #include <stdarg.h>
3548 main ()
3550 extern void foo(int i,...);
3552 return 0;
3554 _ACEOF
3555 if ac_fn_c_try_link "$LINENO"; then :
3556 kb_cv_c_prototypes=yes
3557 else
3558 kb_cv_c_prototypes=no
3560 rm -f core conftest.err conftest.$ac_objext \
3561 conftest$ac_exeext conftest.$ac_ext
3563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kb_cv_c_prototypes" >&5
3564 $as_echo "$kb_cv_c_prototypes" >&6; }
3565 if test "x$kb_cv_c_prototypes" = xno; then
3566 as_fn_error $? "Sorry, your compiler does not understand prototypes." "$LINENO" 5
3568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5
3569 $as_echo_n "checking what warning flags to pass to the C compiler... " >&6; }
3570 if ${kpse_cv_warning_cflags+:} false; then :
3571 $as_echo_n "(cached) " >&6
3572 else
3573 if test "x$GCC" = xyes; then
3574 kpse_cv_warning_cflags=
3575 if test "x$enable_compiler_warnings" != xno; then
3576 kpse_cv_warning_cflags="-Wimplicit -Wreturn-type"
3577 case `$CC -dumpversion` in #(
3578 3.4.* | 4.* | 5.*) :
3579 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wdeclaration-after-statement" ;; #(
3580 *) :
3582 esac
3583 case `$CC -dumpversion` in #(
3584 3.[234].* | 4.* | 5.*) :
3585 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wno-unknown-pragmas" ;; #(
3586 *) :
3588 esac
3589 if test "x$enable_compiler_warnings" != xmin; then
3590 kpse_cv_warning_cflags="-Wall -Wunused $kpse_cv_warning_cflags"
3591 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wmissing-prototypes -Wmissing-declarations"
3592 if test "x$enable_compiler_warnings" != xyes; then
3593 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wparentheses -Wswitch -Wtrigraphs -Wpointer-arith"
3594 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wcast-qual -Wcast-align -Wwrite-strings"
3595 case `$CC -dumpversion` in #(
3596 3.4.* | 4.* | 5.*) :
3597 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wold-style-definition" ;; #(
3598 *) :
3600 esac
3601 if test "x$enable_compiler_warnings" != xmax; then
3602 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wshadow"
3607 elif test "x$enable_compiler_warnings" = xno; then
3608 kpse_cv_warning_cflags=
3609 else
3610 kpse_cv_warning_cflags= # FIXME: warning flags for non-GNU C compilers
3613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_warning_cflags" >&5
3614 $as_echo "$kpse_cv_warning_cflags" >&6; }
3615 WARNING_CFLAGS=$kpse_cv_warning_cflags
3624 ac_ext=c
3625 ac_cpp='$CPP $CPPFLAGS'
3626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3629 if test -n "$ac_tool_prefix"; then
3630 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3631 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3633 $as_echo_n "checking for $ac_word... " >&6; }
3634 if ${ac_cv_prog_CC+:} false; then :
3635 $as_echo_n "(cached) " >&6
3636 else
3637 if test -n "$CC"; then
3638 ac_cv_prog_CC="$CC" # Let the user override the test.
3639 else
3640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3641 for as_dir in $PATH
3643 IFS=$as_save_IFS
3644 test -z "$as_dir" && as_dir=.
3645 for ac_exec_ext in '' $ac_executable_extensions; do
3646 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3647 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3648 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3649 break 2
3651 done
3652 done
3653 IFS=$as_save_IFS
3657 CC=$ac_cv_prog_CC
3658 if test -n "$CC"; then
3659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3660 $as_echo "$CC" >&6; }
3661 else
3662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3663 $as_echo "no" >&6; }
3668 if test -z "$ac_cv_prog_CC"; then
3669 ac_ct_CC=$CC
3670 # Extract the first word of "gcc", so it can be a program name with args.
3671 set dummy gcc; ac_word=$2
3672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3673 $as_echo_n "checking for $ac_word... " >&6; }
3674 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3675 $as_echo_n "(cached) " >&6
3676 else
3677 if test -n "$ac_ct_CC"; then
3678 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3679 else
3680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3681 for as_dir in $PATH
3683 IFS=$as_save_IFS
3684 test -z "$as_dir" && as_dir=.
3685 for ac_exec_ext in '' $ac_executable_extensions; do
3686 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3687 ac_cv_prog_ac_ct_CC="gcc"
3688 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3689 break 2
3691 done
3692 done
3693 IFS=$as_save_IFS
3697 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3698 if test -n "$ac_ct_CC"; then
3699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3700 $as_echo "$ac_ct_CC" >&6; }
3701 else
3702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3703 $as_echo "no" >&6; }
3706 if test "x$ac_ct_CC" = x; then
3707 CC=""
3708 else
3709 case $cross_compiling:$ac_tool_warned in
3710 yes:)
3711 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3712 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3713 ac_tool_warned=yes ;;
3714 esac
3715 CC=$ac_ct_CC
3717 else
3718 CC="$ac_cv_prog_CC"
3721 if test -z "$CC"; then
3722 if test -n "$ac_tool_prefix"; then
3723 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3724 set dummy ${ac_tool_prefix}cc; ac_word=$2
3725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3726 $as_echo_n "checking for $ac_word... " >&6; }
3727 if ${ac_cv_prog_CC+:} false; then :
3728 $as_echo_n "(cached) " >&6
3729 else
3730 if test -n "$CC"; then
3731 ac_cv_prog_CC="$CC" # Let the user override the test.
3732 else
3733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3734 for as_dir in $PATH
3736 IFS=$as_save_IFS
3737 test -z "$as_dir" && as_dir=.
3738 for ac_exec_ext in '' $ac_executable_extensions; do
3739 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3740 ac_cv_prog_CC="${ac_tool_prefix}cc"
3741 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3742 break 2
3744 done
3745 done
3746 IFS=$as_save_IFS
3750 CC=$ac_cv_prog_CC
3751 if test -n "$CC"; then
3752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3753 $as_echo "$CC" >&6; }
3754 else
3755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3756 $as_echo "no" >&6; }
3762 if test -z "$CC"; then
3763 # Extract the first word of "cc", so it can be a program name with args.
3764 set dummy cc; ac_word=$2
3765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3766 $as_echo_n "checking for $ac_word... " >&6; }
3767 if ${ac_cv_prog_CC+:} false; then :
3768 $as_echo_n "(cached) " >&6
3769 else
3770 if test -n "$CC"; then
3771 ac_cv_prog_CC="$CC" # Let the user override the test.
3772 else
3773 ac_prog_rejected=no
3774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3775 for as_dir in $PATH
3777 IFS=$as_save_IFS
3778 test -z "$as_dir" && as_dir=.
3779 for ac_exec_ext in '' $ac_executable_extensions; do
3780 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3781 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3782 ac_prog_rejected=yes
3783 continue
3785 ac_cv_prog_CC="cc"
3786 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3787 break 2
3789 done
3790 done
3791 IFS=$as_save_IFS
3793 if test $ac_prog_rejected = yes; then
3794 # We found a bogon in the path, so make sure we never use it.
3795 set dummy $ac_cv_prog_CC
3796 shift
3797 if test $# != 0; then
3798 # We chose a different compiler from the bogus one.
3799 # However, it has the same basename, so the bogon will be chosen
3800 # first if we set CC to just the basename; use the full file name.
3801 shift
3802 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3807 CC=$ac_cv_prog_CC
3808 if test -n "$CC"; then
3809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3810 $as_echo "$CC" >&6; }
3811 else
3812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3813 $as_echo "no" >&6; }
3818 if test -z "$CC"; then
3819 if test -n "$ac_tool_prefix"; then
3820 for ac_prog in cl.exe
3822 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3823 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3825 $as_echo_n "checking for $ac_word... " >&6; }
3826 if ${ac_cv_prog_CC+:} false; then :
3827 $as_echo_n "(cached) " >&6
3828 else
3829 if test -n "$CC"; then
3830 ac_cv_prog_CC="$CC" # Let the user override the test.
3831 else
3832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3833 for as_dir in $PATH
3835 IFS=$as_save_IFS
3836 test -z "$as_dir" && as_dir=.
3837 for ac_exec_ext in '' $ac_executable_extensions; do
3838 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3839 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3840 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3841 break 2
3843 done
3844 done
3845 IFS=$as_save_IFS
3849 CC=$ac_cv_prog_CC
3850 if test -n "$CC"; then
3851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3852 $as_echo "$CC" >&6; }
3853 else
3854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3855 $as_echo "no" >&6; }
3859 test -n "$CC" && break
3860 done
3862 if test -z "$CC"; then
3863 ac_ct_CC=$CC
3864 for ac_prog in cl.exe
3866 # Extract the first word of "$ac_prog", so it can be a program name with args.
3867 set dummy $ac_prog; ac_word=$2
3868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3869 $as_echo_n "checking for $ac_word... " >&6; }
3870 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3871 $as_echo_n "(cached) " >&6
3872 else
3873 if test -n "$ac_ct_CC"; then
3874 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3875 else
3876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3877 for as_dir in $PATH
3879 IFS=$as_save_IFS
3880 test -z "$as_dir" && as_dir=.
3881 for ac_exec_ext in '' $ac_executable_extensions; do
3882 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3883 ac_cv_prog_ac_ct_CC="$ac_prog"
3884 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3885 break 2
3887 done
3888 done
3889 IFS=$as_save_IFS
3893 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3894 if test -n "$ac_ct_CC"; then
3895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3896 $as_echo "$ac_ct_CC" >&6; }
3897 else
3898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3899 $as_echo "no" >&6; }
3903 test -n "$ac_ct_CC" && break
3904 done
3906 if test "x$ac_ct_CC" = x; then
3907 CC=""
3908 else
3909 case $cross_compiling:$ac_tool_warned in
3910 yes:)
3911 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3912 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3913 ac_tool_warned=yes ;;
3914 esac
3915 CC=$ac_ct_CC
3922 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3923 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3924 as_fn_error $? "no acceptable C compiler found in \$PATH
3925 See \`config.log' for more details" "$LINENO" 5; }
3927 # Provide some information about the compiler.
3928 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3929 set X $ac_compile
3930 ac_compiler=$2
3931 for ac_option in --version -v -V -qversion; do
3932 { { ac_try="$ac_compiler $ac_option >&5"
3933 case "(($ac_try" in
3934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3935 *) ac_try_echo=$ac_try;;
3936 esac
3937 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3938 $as_echo "$ac_try_echo"; } >&5
3939 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3940 ac_status=$?
3941 if test -s conftest.err; then
3942 sed '10a\
3943 ... rest of stderr output deleted ...
3944 10q' conftest.err >conftest.er1
3945 cat conftest.er1 >&5
3947 rm -f conftest.er1 conftest.err
3948 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3949 test $ac_status = 0; }
3950 done
3952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3953 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3954 if ${ac_cv_c_compiler_gnu+:} false; then :
3955 $as_echo_n "(cached) " >&6
3956 else
3957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3958 /* end confdefs.h. */
3961 main ()
3963 #ifndef __GNUC__
3964 choke me
3965 #endif
3968 return 0;
3970 _ACEOF
3971 if ac_fn_c_try_compile "$LINENO"; then :
3972 ac_compiler_gnu=yes
3973 else
3974 ac_compiler_gnu=no
3976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3977 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3981 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3982 if test $ac_compiler_gnu = yes; then
3983 GCC=yes
3984 else
3985 GCC=
3987 ac_test_CFLAGS=${CFLAGS+set}
3988 ac_save_CFLAGS=$CFLAGS
3989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3990 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3991 if ${ac_cv_prog_cc_g+:} false; then :
3992 $as_echo_n "(cached) " >&6
3993 else
3994 ac_save_c_werror_flag=$ac_c_werror_flag
3995 ac_c_werror_flag=yes
3996 ac_cv_prog_cc_g=no
3997 CFLAGS="-g"
3998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3999 /* end confdefs.h. */
4002 main ()
4006 return 0;
4008 _ACEOF
4009 if ac_fn_c_try_compile "$LINENO"; then :
4010 ac_cv_prog_cc_g=yes
4011 else
4012 CFLAGS=""
4013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4014 /* end confdefs.h. */
4017 main ()
4021 return 0;
4023 _ACEOF
4024 if ac_fn_c_try_compile "$LINENO"; then :
4026 else
4027 ac_c_werror_flag=$ac_save_c_werror_flag
4028 CFLAGS="-g"
4029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4030 /* end confdefs.h. */
4033 main ()
4037 return 0;
4039 _ACEOF
4040 if ac_fn_c_try_compile "$LINENO"; then :
4041 ac_cv_prog_cc_g=yes
4043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4048 ac_c_werror_flag=$ac_save_c_werror_flag
4050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4051 $as_echo "$ac_cv_prog_cc_g" >&6; }
4052 if test "$ac_test_CFLAGS" = set; then
4053 CFLAGS=$ac_save_CFLAGS
4054 elif test $ac_cv_prog_cc_g = yes; then
4055 if test "$GCC" = yes; then
4056 CFLAGS="-g -O2"
4057 else
4058 CFLAGS="-g"
4060 else
4061 if test "$GCC" = yes; then
4062 CFLAGS="-O2"
4063 else
4064 CFLAGS=
4067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4068 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4069 if ${ac_cv_prog_cc_c89+:} false; then :
4070 $as_echo_n "(cached) " >&6
4071 else
4072 ac_cv_prog_cc_c89=no
4073 ac_save_CC=$CC
4074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4075 /* end confdefs.h. */
4076 #include <stdarg.h>
4077 #include <stdio.h>
4078 struct stat;
4079 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4080 struct buf { int x; };
4081 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4082 static char *e (p, i)
4083 char **p;
4084 int i;
4086 return p[i];
4088 static char *f (char * (*g) (char **, int), char **p, ...)
4090 char *s;
4091 va_list v;
4092 va_start (v,p);
4093 s = g (p, va_arg (v,int));
4094 va_end (v);
4095 return s;
4098 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4099 function prototypes and stuff, but not '\xHH' hex character constants.
4100 These don't provoke an error unfortunately, instead are silently treated
4101 as 'x'. The following induces an error, until -std is added to get
4102 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4103 array size at least. It's necessary to write '\x00'==0 to get something
4104 that's true only with -std. */
4105 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4107 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4108 inside strings and character constants. */
4109 #define FOO(x) 'x'
4110 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4112 int test (int i, double x);
4113 struct s1 {int (*f) (int a);};
4114 struct s2 {int (*f) (double a);};
4115 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4116 int argc;
4117 char **argv;
4119 main ()
4121 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4123 return 0;
4125 _ACEOF
4126 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4127 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4129 CC="$ac_save_CC $ac_arg"
4130 if ac_fn_c_try_compile "$LINENO"; then :
4131 ac_cv_prog_cc_c89=$ac_arg
4133 rm -f core conftest.err conftest.$ac_objext
4134 test "x$ac_cv_prog_cc_c89" != "xno" && break
4135 done
4136 rm -f conftest.$ac_ext
4137 CC=$ac_save_CC
4140 # AC_CACHE_VAL
4141 case "x$ac_cv_prog_cc_c89" in
4143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4144 $as_echo "none needed" >&6; } ;;
4145 xno)
4146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4147 $as_echo "unsupported" >&6; } ;;
4149 CC="$CC $ac_cv_prog_cc_c89"
4150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4151 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4152 esac
4153 if test "x$ac_cv_prog_cc_c89" != xno; then :
4157 ac_ext=c
4158 ac_cpp='$CPP $CPPFLAGS'
4159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4163 ac_ext=c
4164 ac_cpp='$CPP $CPPFLAGS'
4165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4169 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4170 if ${am_cv_prog_cc_c_o+:} false; then :
4171 $as_echo_n "(cached) " >&6
4172 else
4173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4174 /* end confdefs.h. */
4177 main ()
4181 return 0;
4183 _ACEOF
4184 # Make sure it works both with $CC and with simple cc.
4185 # Following AC_PROG_CC_C_O, we do the test twice because some
4186 # compilers refuse to overwrite an existing .o file with -o,
4187 # though they will create one.
4188 am_cv_prog_cc_c_o=yes
4189 for am_i in 1 2; do
4190 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4191 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4192 ac_status=$?
4193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4194 (exit $ac_status); } \
4195 && test -f conftest2.$ac_objext; then
4196 : OK
4197 else
4198 am_cv_prog_cc_c_o=no
4199 break
4201 done
4202 rm -f core conftest*
4203 unset am_i
4205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4206 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4207 if test "$am_cv_prog_cc_c_o" != yes; then
4208 # Losing compiler, so override with the script.
4209 # FIXME: It is wrong to rewrite CC.
4210 # But if we don't then we get into trouble of one sort or another.
4211 # A longer-term fix would be to have automake use am__CC in this case,
4212 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4213 CC="$am_aux_dir/compile $CC"
4215 ac_ext=c
4216 ac_cpp='$CPP $CPPFLAGS'
4217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4222 depcc="$CC" am_compiler_list=
4224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4225 $as_echo_n "checking dependency style of $depcc... " >&6; }
4226 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4227 $as_echo_n "(cached) " >&6
4228 else
4229 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4230 # We make a subdir and do the tests there. Otherwise we can end up
4231 # making bogus files that we don't know about and never remove. For
4232 # instance it was reported that on HP-UX the gcc test will end up
4233 # making a dummy file named 'D' -- because '-MD' means "put the output
4234 # in D".
4235 rm -rf conftest.dir
4236 mkdir conftest.dir
4237 # Copy depcomp to subdir because otherwise we won't find it if we're
4238 # using a relative directory.
4239 cp "$am_depcomp" conftest.dir
4240 cd conftest.dir
4241 # We will build objects and dependencies in a subdirectory because
4242 # it helps to detect inapplicable dependency modes. For instance
4243 # both Tru64's cc and ICC support -MD to output dependencies as a
4244 # side effect of compilation, but ICC will put the dependencies in
4245 # the current directory while Tru64 will put them in the object
4246 # directory.
4247 mkdir sub
4249 am_cv_CC_dependencies_compiler_type=none
4250 if test "$am_compiler_list" = ""; then
4251 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4253 am__universal=false
4254 case " $depcc " in #(
4255 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4256 esac
4258 for depmode in $am_compiler_list; do
4259 # Setup a source with many dependencies, because some compilers
4260 # like to wrap large dependency lists on column 80 (with \), and
4261 # we should not choose a depcomp mode which is confused by this.
4263 # We need to recreate these files for each test, as the compiler may
4264 # overwrite some of them when testing with obscure command lines.
4265 # This happens at least with the AIX C compiler.
4266 : > sub/conftest.c
4267 for i in 1 2 3 4 5 6; do
4268 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4269 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4270 # Solaris 10 /bin/sh.
4271 echo '/* dummy */' > sub/conftst$i.h
4272 done
4273 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4275 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4276 # mode. It turns out that the SunPro C++ compiler does not properly
4277 # handle '-M -o', and we need to detect this. Also, some Intel
4278 # versions had trouble with output in subdirs.
4279 am__obj=sub/conftest.${OBJEXT-o}
4280 am__minus_obj="-o $am__obj"
4281 case $depmode in
4282 gcc)
4283 # This depmode causes a compiler race in universal mode.
4284 test "$am__universal" = false || continue
4286 nosideeffect)
4287 # After this tag, mechanisms are not by side-effect, so they'll
4288 # only be used when explicitly requested.
4289 if test "x$enable_dependency_tracking" = xyes; then
4290 continue
4291 else
4292 break
4295 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4296 # This compiler won't grok '-c -o', but also, the minuso test has
4297 # not run yet. These depmodes are late enough in the game, and
4298 # so weak that their functioning should not be impacted.
4299 am__obj=conftest.${OBJEXT-o}
4300 am__minus_obj=
4302 none) break ;;
4303 esac
4304 if depmode=$depmode \
4305 source=sub/conftest.c object=$am__obj \
4306 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4307 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4308 >/dev/null 2>conftest.err &&
4309 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4310 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4311 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4312 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4313 # icc doesn't choke on unknown options, it will just issue warnings
4314 # or remarks (even with -Werror). So we grep stderr for any message
4315 # that says an option was ignored or not supported.
4316 # When given -MP, icc 7.0 and 7.1 complain thusly:
4317 # icc: Command line warning: ignoring option '-M'; no argument required
4318 # The diagnosis changed in icc 8.0:
4319 # icc: Command line remark: option '-MP' not supported
4320 if (grep 'ignoring option' conftest.err ||
4321 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4322 am_cv_CC_dependencies_compiler_type=$depmode
4323 break
4326 done
4328 cd ..
4329 rm -rf conftest.dir
4330 else
4331 am_cv_CC_dependencies_compiler_type=none
4335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4336 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4337 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4340 test "x$enable_dependency_tracking" != xno \
4341 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4342 am__fastdepCC_TRUE=
4343 am__fastdepCC_FALSE='#'
4344 else
4345 am__fastdepCC_TRUE='#'
4346 am__fastdepCC_FALSE=
4350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4351 $as_echo_n "checking whether ln -s works... " >&6; }
4352 LN_S=$as_ln_s
4353 if test "$LN_S" = "ln -s"; then
4354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4355 $as_echo "yes" >&6; }
4356 else
4357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4358 $as_echo "no, using $LN_S" >&6; }
4362 kpse_search_save_LIBS=$LIBS
4363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pow" >&5
4364 $as_echo_n "checking for library containing pow... " >&6; }
4365 if ${ac_cv_search_pow+:} false; then :
4366 $as_echo_n "(cached) " >&6
4367 else
4368 ac_func_search_save_LIBS=$LIBS
4369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4370 /* end confdefs.h. */
4372 /* Override any GCC internal prototype to avoid an error.
4373 Use char because int might match the return type of a GCC
4374 builtin and then its argument prototype would still apply. */
4375 #ifdef __cplusplus
4376 extern "C"
4377 #endif
4378 char pow ();
4380 main ()
4382 return pow ();
4384 return 0;
4386 _ACEOF
4387 for ac_lib in '' m; do
4388 if test -z "$ac_lib"; then
4389 ac_res="none required"
4390 else
4391 ac_res=-l$ac_lib
4392 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4394 if ac_fn_c_try_link "$LINENO"; then :
4395 ac_cv_search_pow=$ac_res
4397 rm -f core conftest.err conftest.$ac_objext \
4398 conftest$ac_exeext
4399 if ${ac_cv_search_pow+:} false; then :
4400 break
4402 done
4403 if ${ac_cv_search_pow+:} false; then :
4405 else
4406 ac_cv_search_pow=no
4408 rm conftest.$ac_ext
4409 LIBS=$ac_func_search_save_LIBS
4411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pow" >&5
4412 $as_echo "$ac_cv_search_pow" >&6; }
4413 ac_res=$ac_cv_search_pow
4414 if test "$ac_res" != no; then :
4415 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4419 LIBS=$kpse_search_save_LIBS
4420 case $ac_cv_search_pow in #(
4421 "none required") :
4422 ;; #(
4423 no) :
4424 as_fn_error $? "Sorry, did not find pow()" "$LINENO" 5 ;; #(
4425 *) :
4426 MATH_LIB=$ac_cv_search_pow ;;
4427 esac
4430 GMP_TREE=../gmp-src
4433 ac_config_headers="$ac_config_headers config.h"
4436 ac_config_files="$ac_config_files Makefile"
4439 cat >confcache <<\_ACEOF
4440 # This file is a shell script that caches the results of configure
4441 # tests run on this system so they can be shared between configure
4442 # scripts and configure runs, see configure's option --config-cache.
4443 # It is not useful on other systems. If it contains results you don't
4444 # want to keep, you may remove or edit it.
4446 # config.status only pays attention to the cache file if you give it
4447 # the --recheck option to rerun configure.
4449 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4450 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4451 # following values.
4453 _ACEOF
4455 # The following way of writing the cache mishandles newlines in values,
4456 # but we know of no workaround that is simple, portable, and efficient.
4457 # So, we kill variables containing newlines.
4458 # Ultrix sh set writes to stderr and can't be redirected directly,
4459 # and sets the high bit in the cache file unless we assign to the vars.
4461 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4462 eval ac_val=\$$ac_var
4463 case $ac_val in #(
4464 *${as_nl}*)
4465 case $ac_var in #(
4466 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4467 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4468 esac
4469 case $ac_var in #(
4470 _ | IFS | as_nl) ;; #(
4471 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4472 *) { eval $ac_var=; unset $ac_var;} ;;
4473 esac ;;
4474 esac
4475 done
4477 (set) 2>&1 |
4478 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4479 *${as_nl}ac_space=\ *)
4480 # `set' does not quote correctly, so add quotes: double-quote
4481 # substitution turns \\\\ into \\, and sed turns \\ into \.
4482 sed -n \
4483 "s/'/'\\\\''/g;
4484 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4485 ;; #(
4487 # `set' quotes correctly as required by POSIX, so do not add quotes.
4488 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4490 esac |
4491 sort
4493 sed '
4494 /^ac_cv_env_/b end
4495 t clear
4496 :clear
4497 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4498 t end
4499 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4500 :end' >>confcache
4501 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4502 if test -w "$cache_file"; then
4503 if test "x$cache_file" != "x/dev/null"; then
4504 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4505 $as_echo "$as_me: updating cache $cache_file" >&6;}
4506 if test ! -f "$cache_file" || test -h "$cache_file"; then
4507 cat confcache >"$cache_file"
4508 else
4509 case $cache_file in #(
4510 */* | ?:*)
4511 mv -f confcache "$cache_file"$$ &&
4512 mv -f "$cache_file"$$ "$cache_file" ;; #(
4514 mv -f confcache "$cache_file" ;;
4515 esac
4518 else
4519 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4520 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4523 rm -f confcache
4525 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4526 # Let make expand exec_prefix.
4527 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4529 DEFS=-DHAVE_CONFIG_H
4531 ac_libobjs=
4532 ac_ltlibobjs=
4534 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4535 # 1. Remove the extension, and $U if already installed.
4536 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4537 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4538 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4539 # will be set to the directory where LIBOBJS objects are built.
4540 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4541 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4542 done
4543 LIBOBJS=$ac_libobjs
4545 LTLIBOBJS=$ac_ltlibobjs
4548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
4549 $as_echo_n "checking that generated files are newer than configure... " >&6; }
4550 if test -n "$am_sleep_pid"; then
4551 # Hide warnings about reused PIDs.
4552 wait $am_sleep_pid 2>/dev/null
4554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
4555 $as_echo "done" >&6; }
4556 if test -n "$EXEEXT"; then
4557 am__EXEEXT_TRUE=
4558 am__EXEEXT_FALSE='#'
4559 else
4560 am__EXEEXT_TRUE='#'
4561 am__EXEEXT_FALSE=
4564 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
4565 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
4566 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4568 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4569 as_fn_error $? "conditional \"AMDEP\" was never defined.
4570 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4572 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4573 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
4574 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4576 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4577 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
4578 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4581 : "${CONFIG_STATUS=./config.status}"
4582 ac_write_fail=0
4583 ac_clean_files_save=$ac_clean_files
4584 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4585 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4586 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4587 as_write_fail=0
4588 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4589 #! $SHELL
4590 # Generated by $as_me.
4591 # Run this file to recreate the current configuration.
4592 # Compiler output produced by configure, useful for debugging
4593 # configure, is in config.log if it exists.
4595 debug=false
4596 ac_cs_recheck=false
4597 ac_cs_silent=false
4599 SHELL=\${CONFIG_SHELL-$SHELL}
4600 export SHELL
4601 _ASEOF
4602 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4603 ## -------------------- ##
4604 ## M4sh Initialization. ##
4605 ## -------------------- ##
4607 # Be more Bourne compatible
4608 DUALCASE=1; export DUALCASE # for MKS sh
4609 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4610 emulate sh
4611 NULLCMD=:
4612 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4613 # is contrary to our usage. Disable this feature.
4614 alias -g '${1+"$@"}'='"$@"'
4615 setopt NO_GLOB_SUBST
4616 else
4617 case `(set -o) 2>/dev/null` in #(
4618 *posix*) :
4619 set -o posix ;; #(
4620 *) :
4622 esac
4626 as_nl='
4628 export as_nl
4629 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4630 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4631 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4632 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4633 # Prefer a ksh shell builtin over an external printf program on Solaris,
4634 # but without wasting forks for bash or zsh.
4635 if test -z "$BASH_VERSION$ZSH_VERSION" \
4636 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4637 as_echo='print -r --'
4638 as_echo_n='print -rn --'
4639 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4640 as_echo='printf %s\n'
4641 as_echo_n='printf %s'
4642 else
4643 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4644 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4645 as_echo_n='/usr/ucb/echo -n'
4646 else
4647 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4648 as_echo_n_body='eval
4649 arg=$1;
4650 case $arg in #(
4651 *"$as_nl"*)
4652 expr "X$arg" : "X\\(.*\\)$as_nl";
4653 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4654 esac;
4655 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4657 export as_echo_n_body
4658 as_echo_n='sh -c $as_echo_n_body as_echo'
4660 export as_echo_body
4661 as_echo='sh -c $as_echo_body as_echo'
4664 # The user is always right.
4665 if test "${PATH_SEPARATOR+set}" != set; then
4666 PATH_SEPARATOR=:
4667 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4668 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4669 PATH_SEPARATOR=';'
4674 # IFS
4675 # We need space, tab and new line, in precisely that order. Quoting is
4676 # there to prevent editors from complaining about space-tab.
4677 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4678 # splitting by setting IFS to empty value.)
4679 IFS=" "" $as_nl"
4681 # Find who we are. Look in the path if we contain no directory separator.
4682 as_myself=
4683 case $0 in #((
4684 *[\\/]* ) as_myself=$0 ;;
4685 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4686 for as_dir in $PATH
4688 IFS=$as_save_IFS
4689 test -z "$as_dir" && as_dir=.
4690 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4691 done
4692 IFS=$as_save_IFS
4695 esac
4696 # We did not find ourselves, most probably we were run as `sh COMMAND'
4697 # in which case we are not to be found in the path.
4698 if test "x$as_myself" = x; then
4699 as_myself=$0
4701 if test ! -f "$as_myself"; then
4702 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4703 exit 1
4706 # Unset variables that we do not need and which cause bugs (e.g. in
4707 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4708 # suppresses any "Segmentation fault" message there. '((' could
4709 # trigger a bug in pdksh 5.2.14.
4710 for as_var in BASH_ENV ENV MAIL MAILPATH
4711 do eval test x\${$as_var+set} = xset \
4712 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4713 done
4714 PS1='$ '
4715 PS2='> '
4716 PS4='+ '
4718 # NLS nuisances.
4719 LC_ALL=C
4720 export LC_ALL
4721 LANGUAGE=C
4722 export LANGUAGE
4724 # CDPATH.
4725 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4728 # as_fn_error STATUS ERROR [LINENO LOG_FD]
4729 # ----------------------------------------
4730 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4731 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4732 # script with STATUS, using 1 if that was 0.
4733 as_fn_error ()
4735 as_status=$1; test $as_status -eq 0 && as_status=1
4736 if test "$4"; then
4737 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4738 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4740 $as_echo "$as_me: error: $2" >&2
4741 as_fn_exit $as_status
4742 } # as_fn_error
4745 # as_fn_set_status STATUS
4746 # -----------------------
4747 # Set $? to STATUS, without forking.
4748 as_fn_set_status ()
4750 return $1
4751 } # as_fn_set_status
4753 # as_fn_exit STATUS
4754 # -----------------
4755 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4756 as_fn_exit ()
4758 set +e
4759 as_fn_set_status $1
4760 exit $1
4761 } # as_fn_exit
4763 # as_fn_unset VAR
4764 # ---------------
4765 # Portably unset VAR.
4766 as_fn_unset ()
4768 { eval $1=; unset $1;}
4770 as_unset=as_fn_unset
4771 # as_fn_append VAR VALUE
4772 # ----------------------
4773 # Append the text in VALUE to the end of the definition contained in VAR. Take
4774 # advantage of any shell optimizations that allow amortized linear growth over
4775 # repeated appends, instead of the typical quadratic growth present in naive
4776 # implementations.
4777 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4778 eval 'as_fn_append ()
4780 eval $1+=\$2
4782 else
4783 as_fn_append ()
4785 eval $1=\$$1\$2
4787 fi # as_fn_append
4789 # as_fn_arith ARG...
4790 # ------------------
4791 # Perform arithmetic evaluation on the ARGs, and store the result in the
4792 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4793 # must be portable across $(()) and expr.
4794 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4795 eval 'as_fn_arith ()
4797 as_val=$(( $* ))
4799 else
4800 as_fn_arith ()
4802 as_val=`expr "$@" || test $? -eq 1`
4804 fi # as_fn_arith
4807 if expr a : '\(a\)' >/dev/null 2>&1 &&
4808 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4809 as_expr=expr
4810 else
4811 as_expr=false
4814 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4815 as_basename=basename
4816 else
4817 as_basename=false
4820 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4821 as_dirname=dirname
4822 else
4823 as_dirname=false
4826 as_me=`$as_basename -- "$0" ||
4827 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4828 X"$0" : 'X\(//\)$' \| \
4829 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4830 $as_echo X/"$0" |
4831 sed '/^.*\/\([^/][^/]*\)\/*$/{
4832 s//\1/
4835 /^X\/\(\/\/\)$/{
4836 s//\1/
4839 /^X\/\(\/\).*/{
4840 s//\1/
4843 s/.*/./; q'`
4845 # Avoid depending upon Character Ranges.
4846 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4847 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4848 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4849 as_cr_digits='0123456789'
4850 as_cr_alnum=$as_cr_Letters$as_cr_digits
4852 ECHO_C= ECHO_N= ECHO_T=
4853 case `echo -n x` in #(((((
4854 -n*)
4855 case `echo 'xy\c'` in
4856 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4857 xy) ECHO_C='\c';;
4858 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
4859 ECHO_T=' ';;
4860 esac;;
4862 ECHO_N='-n';;
4863 esac
4865 rm -f conf$$ conf$$.exe conf$$.file
4866 if test -d conf$$.dir; then
4867 rm -f conf$$.dir/conf$$.file
4868 else
4869 rm -f conf$$.dir
4870 mkdir conf$$.dir 2>/dev/null
4872 if (echo >conf$$.file) 2>/dev/null; then
4873 if ln -s conf$$.file conf$$ 2>/dev/null; then
4874 as_ln_s='ln -s'
4875 # ... but there are two gotchas:
4876 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4877 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4878 # In both cases, we have to default to `cp -pR'.
4879 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4880 as_ln_s='cp -pR'
4881 elif ln conf$$.file conf$$ 2>/dev/null; then
4882 as_ln_s=ln
4883 else
4884 as_ln_s='cp -pR'
4886 else
4887 as_ln_s='cp -pR'
4889 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4890 rmdir conf$$.dir 2>/dev/null
4893 # as_fn_mkdir_p
4894 # -------------
4895 # Create "$as_dir" as a directory, including parents if necessary.
4896 as_fn_mkdir_p ()
4899 case $as_dir in #(
4900 -*) as_dir=./$as_dir;;
4901 esac
4902 test -d "$as_dir" || eval $as_mkdir_p || {
4903 as_dirs=
4904 while :; do
4905 case $as_dir in #(
4906 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4907 *) as_qdir=$as_dir;;
4908 esac
4909 as_dirs="'$as_qdir' $as_dirs"
4910 as_dir=`$as_dirname -- "$as_dir" ||
4911 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4912 X"$as_dir" : 'X\(//\)[^/]' \| \
4913 X"$as_dir" : 'X\(//\)$' \| \
4914 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4915 $as_echo X"$as_dir" |
4916 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4917 s//\1/
4920 /^X\(\/\/\)[^/].*/{
4921 s//\1/
4924 /^X\(\/\/\)$/{
4925 s//\1/
4928 /^X\(\/\).*/{
4929 s//\1/
4932 s/.*/./; q'`
4933 test -d "$as_dir" && break
4934 done
4935 test -z "$as_dirs" || eval "mkdir $as_dirs"
4936 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
4939 } # as_fn_mkdir_p
4940 if mkdir -p . 2>/dev/null; then
4941 as_mkdir_p='mkdir -p "$as_dir"'
4942 else
4943 test -d ./-p && rmdir ./-p
4944 as_mkdir_p=false
4948 # as_fn_executable_p FILE
4949 # -----------------------
4950 # Test if FILE is an executable regular file.
4951 as_fn_executable_p ()
4953 test -f "$1" && test -x "$1"
4954 } # as_fn_executable_p
4955 as_test_x='test -x'
4956 as_executable_p=as_fn_executable_p
4958 # Sed expression to map a string onto a valid CPP name.
4959 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4961 # Sed expression to map a string onto a valid variable name.
4962 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4965 exec 6>&1
4966 ## ----------------------------------- ##
4967 ## Main body of $CONFIG_STATUS script. ##
4968 ## ----------------------------------- ##
4969 _ASEOF
4970 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4972 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4973 # Save the log message, to keep $0 and so on meaningful, and to
4974 # report actual input values of CONFIG_FILES etc. instead of their
4975 # values after options handling.
4976 ac_log="
4977 This file was extended by gmp native $as_me 6.1.0, which was
4978 generated by GNU Autoconf 2.69. Invocation command line was
4980 CONFIG_FILES = $CONFIG_FILES
4981 CONFIG_HEADERS = $CONFIG_HEADERS
4982 CONFIG_LINKS = $CONFIG_LINKS
4983 CONFIG_COMMANDS = $CONFIG_COMMANDS
4984 $ $0 $@
4986 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4989 _ACEOF
4991 case $ac_config_files in *"
4992 "*) set x $ac_config_files; shift; ac_config_files=$*;;
4993 esac
4995 case $ac_config_headers in *"
4996 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
4997 esac
5000 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5001 # Files that config.status was made for.
5002 config_files="$ac_config_files"
5003 config_headers="$ac_config_headers"
5004 config_commands="$ac_config_commands"
5006 _ACEOF
5008 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5009 ac_cs_usage="\
5010 \`$as_me' instantiates files and other configuration actions
5011 from templates according to the current configuration. Unless the files
5012 and actions are specified as TAGs, all are instantiated by default.
5014 Usage: $0 [OPTION]... [TAG]...
5016 -h, --help print this help, then exit
5017 -V, --version print version number and configuration settings, then exit
5018 --config print configuration, then exit
5019 -q, --quiet, --silent
5020 do not print progress messages
5021 -d, --debug don't remove temporary files
5022 --recheck update $as_me by reconfiguring in the same conditions
5023 --file=FILE[:TEMPLATE]
5024 instantiate the configuration file FILE
5025 --header=FILE[:TEMPLATE]
5026 instantiate the configuration header FILE
5028 Configuration files:
5029 $config_files
5031 Configuration headers:
5032 $config_headers
5034 Configuration commands:
5035 $config_commands
5037 Report bugs to <tex-k@tug.org>."
5039 _ACEOF
5040 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5041 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5042 ac_cs_version="\\
5043 gmp native config.status 6.1.0
5044 configured by $0, generated by GNU Autoconf 2.69,
5045 with options \\"\$ac_cs_config\\"
5047 Copyright (C) 2012 Free Software Foundation, Inc.
5048 This config.status script is free software; the Free Software Foundation
5049 gives unlimited permission to copy, distribute and modify it."
5051 ac_pwd='$ac_pwd'
5052 srcdir='$srcdir'
5053 INSTALL='$INSTALL'
5054 MKDIR_P='$MKDIR_P'
5055 AWK='$AWK'
5056 test -n "\$AWK" || AWK=awk
5057 _ACEOF
5059 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5060 # The default lists apply if the user does not specify any file.
5061 ac_need_defaults=:
5062 while test $# != 0
5064 case $1 in
5065 --*=?*)
5066 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5067 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5068 ac_shift=:
5070 --*=)
5071 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5072 ac_optarg=
5073 ac_shift=:
5076 ac_option=$1
5077 ac_optarg=$2
5078 ac_shift=shift
5080 esac
5082 case $ac_option in
5083 # Handling of the options.
5084 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5085 ac_cs_recheck=: ;;
5086 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5087 $as_echo "$ac_cs_version"; exit ;;
5088 --config | --confi | --conf | --con | --co | --c )
5089 $as_echo "$ac_cs_config"; exit ;;
5090 --debug | --debu | --deb | --de | --d | -d )
5091 debug=: ;;
5092 --file | --fil | --fi | --f )
5093 $ac_shift
5094 case $ac_optarg in
5095 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5096 '') as_fn_error $? "missing file argument" ;;
5097 esac
5098 as_fn_append CONFIG_FILES " '$ac_optarg'"
5099 ac_need_defaults=false;;
5100 --header | --heade | --head | --hea )
5101 $ac_shift
5102 case $ac_optarg in
5103 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5104 esac
5105 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
5106 ac_need_defaults=false;;
5107 --he | --h)
5108 # Conflict between --help and --header
5109 as_fn_error $? "ambiguous option: \`$1'
5110 Try \`$0 --help' for more information.";;
5111 --help | --hel | -h )
5112 $as_echo "$ac_cs_usage"; exit ;;
5113 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5114 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5115 ac_cs_silent=: ;;
5117 # This is an error.
5118 -*) as_fn_error $? "unrecognized option: \`$1'
5119 Try \`$0 --help' for more information." ;;
5121 *) as_fn_append ac_config_targets " $1"
5122 ac_need_defaults=false ;;
5124 esac
5125 shift
5126 done
5128 ac_configure_extra_args=
5130 if $ac_cs_silent; then
5131 exec 6>/dev/null
5132 ac_configure_extra_args="$ac_configure_extra_args --silent"
5135 _ACEOF
5136 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5137 if \$ac_cs_recheck; then
5138 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5139 shift
5140 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5141 CONFIG_SHELL='$SHELL'
5142 export CONFIG_SHELL
5143 exec "\$@"
5146 _ACEOF
5147 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5148 exec 5>>config.log
5150 echo
5151 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5152 ## Running $as_me. ##
5153 _ASBOX
5154 $as_echo "$ac_log"
5155 } >&5
5157 _ACEOF
5158 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5160 # INIT-COMMANDS
5162 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5164 _ACEOF
5166 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5168 # Handling of arguments.
5169 for ac_config_target in $ac_config_targets
5171 case $ac_config_target in
5172 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5173 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5174 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5176 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5177 esac
5178 done
5181 # If the user did not use the arguments to specify the items to instantiate,
5182 # then the envvar interface is used. Set only those that are not.
5183 # We use the long form for the default assignment because of an extremely
5184 # bizarre bug on SunOS 4.1.3.
5185 if $ac_need_defaults; then
5186 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5187 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5188 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5191 # Have a temporary directory for convenience. Make it in the build tree
5192 # simply because there is no reason against having it here, and in addition,
5193 # creating and moving files from /tmp can sometimes cause problems.
5194 # Hook for its removal unless debugging.
5195 # Note that there is a small window in which the directory will not be cleaned:
5196 # after its creation but before its name has been assigned to `$tmp'.
5197 $debug ||
5199 tmp= ac_tmp=
5200 trap 'exit_status=$?
5201 : "${ac_tmp:=$tmp}"
5202 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5204 trap 'as_fn_exit 1' 1 2 13 15
5206 # Create a (secure) tmp directory for tmp files.
5209 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5210 test -d "$tmp"
5211 } ||
5213 tmp=./conf$$-$RANDOM
5214 (umask 077 && mkdir "$tmp")
5215 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5216 ac_tmp=$tmp
5218 # Set up the scripts for CONFIG_FILES section.
5219 # No need to generate them if there are no CONFIG_FILES.
5220 # This happens for instance with `./config.status config.h'.
5221 if test -n "$CONFIG_FILES"; then
5224 ac_cr=`echo X | tr X '\015'`
5225 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5226 # But we know of no other shell where ac_cr would be empty at this
5227 # point, so we can use a bashism as a fallback.
5228 if test "x$ac_cr" = x; then
5229 eval ac_cr=\$\'\\r\'
5231 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5232 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5233 ac_cs_awk_cr='\\r'
5234 else
5235 ac_cs_awk_cr=$ac_cr
5238 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5239 _ACEOF
5243 echo "cat >conf$$subs.awk <<_ACEOF" &&
5244 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5245 echo "_ACEOF"
5246 } >conf$$subs.sh ||
5247 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5248 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5249 ac_delim='%!_!# '
5250 for ac_last_try in false false false false false :; do
5251 . ./conf$$subs.sh ||
5252 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5254 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5255 if test $ac_delim_n = $ac_delim_num; then
5256 break
5257 elif $ac_last_try; then
5258 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5259 else
5260 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5262 done
5263 rm -f conf$$subs.sh
5265 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5266 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
5267 _ACEOF
5268 sed -n '
5270 s/^/S["/; s/!.*/"]=/
5273 s/^[^!]*!//
5274 :repl
5275 t repl
5276 s/'"$ac_delim"'$//
5277 t delim
5280 s/\(.\{148\}\)..*/\1/
5281 t more1
5282 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5285 b repl
5286 :more1
5287 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5290 s/.\{148\}//
5291 t nl
5292 :delim
5294 s/\(.\{148\}\)..*/\1/
5295 t more2
5296 s/["\\]/\\&/g; s/^/"/; s/$/"/
5299 :more2
5300 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5303 s/.\{148\}//
5304 t delim
5305 ' <conf$$subs.awk | sed '
5306 /^[^""]/{
5308 s/\n//
5310 ' >>$CONFIG_STATUS || ac_write_fail=1
5311 rm -f conf$$subs.awk
5312 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5313 _ACAWK
5314 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
5315 for (key in S) S_is_set[key] = 1
5316 FS = "\a"
5320 line = $ 0
5321 nfields = split(line, field, "@")
5322 substed = 0
5323 len = length(field[1])
5324 for (i = 2; i < nfields; i++) {
5325 key = field[i]
5326 keylen = length(key)
5327 if (S_is_set[key]) {
5328 value = S[key]
5329 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5330 len += length(value) + length(field[++i])
5331 substed = 1
5332 } else
5333 len += 1 + keylen
5336 print line
5339 _ACAWK
5340 _ACEOF
5341 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5342 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5343 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5344 else
5346 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
5347 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
5348 _ACEOF
5350 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5351 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
5352 # trailing colons and then remove the whole line if VPATH becomes empty
5353 # (actually we leave an empty line to preserve line numbers).
5354 if test "x$srcdir" = x.; then
5355 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
5357 s///
5358 s/^/:/
5359 s/[ ]*$/:/
5360 s/:\$(srcdir):/:/g
5361 s/:\${srcdir}:/:/g
5362 s/:@srcdir@:/:/g
5363 s/^:*//
5364 s/:*$//
5366 s/\(=[ ]*\).*/\1/
5368 s/\n//
5369 s/^[^=]*=[ ]*$//
5373 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5374 fi # test -n "$CONFIG_FILES"
5376 # Set up the scripts for CONFIG_HEADERS section.
5377 # No need to generate them if there are no CONFIG_HEADERS.
5378 # This happens for instance with `./config.status Makefile'.
5379 if test -n "$CONFIG_HEADERS"; then
5380 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
5381 BEGIN {
5382 _ACEOF
5384 # Transform confdefs.h into an awk script `defines.awk', embedded as
5385 # here-document in config.status, that substitutes the proper values into
5386 # config.h.in to produce config.h.
5388 # Create a delimiter string that does not exist in confdefs.h, to ease
5389 # handling of long lines.
5390 ac_delim='%!_!# '
5391 for ac_last_try in false false :; do
5392 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
5393 if test -z "$ac_tt"; then
5394 break
5395 elif $ac_last_try; then
5396 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
5397 else
5398 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5400 done
5402 # For the awk script, D is an array of macro values keyed by name,
5403 # likewise P contains macro parameters if any. Preserve backslash
5404 # newline sequences.
5406 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5407 sed -n '
5408 s/.\{148\}/&'"$ac_delim"'/g
5409 t rset
5410 :rset
5411 s/^[ ]*#[ ]*define[ ][ ]*/ /
5412 t def
5414 :def
5415 s/\\$//
5416 t bsnl
5417 s/["\\]/\\&/g
5418 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5419 D["\1"]=" \3"/p
5420 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
5422 :bsnl
5423 s/["\\]/\\&/g
5424 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5425 D["\1"]=" \3\\\\\\n"\\/p
5426 t cont
5427 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
5428 t cont
5430 :cont
5432 s/.\{148\}/&'"$ac_delim"'/g
5433 t clear
5434 :clear
5435 s/\\$//
5436 t bsnlc
5437 s/["\\]/\\&/g; s/^/"/; s/$/"/p
5439 :bsnlc
5440 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
5441 b cont
5442 ' <confdefs.h | sed '
5443 s/'"$ac_delim"'/"\\\
5444 "/g' >>$CONFIG_STATUS || ac_write_fail=1
5446 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5447 for (key in D) D_is_set[key] = 1
5448 FS = "\a"
5450 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
5451 line = \$ 0
5452 split(line, arg, " ")
5453 if (arg[1] == "#") {
5454 defundef = arg[2]
5455 mac1 = arg[3]
5456 } else {
5457 defundef = substr(arg[1], 2)
5458 mac1 = arg[2]
5460 split(mac1, mac2, "(") #)
5461 macro = mac2[1]
5462 prefix = substr(line, 1, index(line, defundef) - 1)
5463 if (D_is_set[macro]) {
5464 # Preserve the white space surrounding the "#".
5465 print prefix "define", macro P[macro] D[macro]
5466 next
5467 } else {
5468 # Replace #undef with comments. This is necessary, for example,
5469 # in the case of _POSIX_SOURCE, which is predefined and required
5470 # on some systems where configure will not decide to define it.
5471 if (defundef == "undef") {
5472 print "/*", prefix defundef, macro, "*/"
5473 next
5477 { print }
5478 _ACAWK
5479 _ACEOF
5480 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5481 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
5482 fi # test -n "$CONFIG_HEADERS"
5485 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
5486 shift
5487 for ac_tag
5489 case $ac_tag in
5490 :[FHLC]) ac_mode=$ac_tag; continue;;
5491 esac
5492 case $ac_mode$ac_tag in
5493 :[FHL]*:*);;
5494 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
5495 :[FH]-) ac_tag=-:-;;
5496 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5497 esac
5498 ac_save_IFS=$IFS
5499 IFS=:
5500 set x $ac_tag
5501 IFS=$ac_save_IFS
5502 shift
5503 ac_file=$1
5504 shift
5506 case $ac_mode in
5507 :L) ac_source=$1;;
5508 :[FH])
5509 ac_file_inputs=
5510 for ac_f
5512 case $ac_f in
5513 -) ac_f="$ac_tmp/stdin";;
5514 *) # Look for the file first in the build tree, then in the source tree
5515 # (if the path is not absolute). The absolute path cannot be DOS-style,
5516 # because $ac_f cannot contain `:'.
5517 test -f "$ac_f" ||
5518 case $ac_f in
5519 [\\/$]*) false;;
5520 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5521 esac ||
5522 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5523 esac
5524 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5525 as_fn_append ac_file_inputs " '$ac_f'"
5526 done
5528 # Let's still pretend it is `configure' which instantiates (i.e., don't
5529 # use $as_me), people would be surprised to read:
5530 # /* config.h. Generated by config.status. */
5531 configure_input='Generated from '`
5532 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5533 `' by configure.'
5534 if test x"$ac_file" != x-; then
5535 configure_input="$ac_file. $configure_input"
5536 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5537 $as_echo "$as_me: creating $ac_file" >&6;}
5539 # Neutralize special characters interpreted by sed in replacement strings.
5540 case $configure_input in #(
5541 *\&* | *\|* | *\\* )
5542 ac_sed_conf_input=`$as_echo "$configure_input" |
5543 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5544 *) ac_sed_conf_input=$configure_input;;
5545 esac
5547 case $ac_tag in
5548 *:-:* | *:-) cat >"$ac_tmp/stdin" \
5549 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5550 esac
5552 esac
5554 ac_dir=`$as_dirname -- "$ac_file" ||
5555 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5556 X"$ac_file" : 'X\(//\)[^/]' \| \
5557 X"$ac_file" : 'X\(//\)$' \| \
5558 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5559 $as_echo X"$ac_file" |
5560 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5561 s//\1/
5564 /^X\(\/\/\)[^/].*/{
5565 s//\1/
5568 /^X\(\/\/\)$/{
5569 s//\1/
5572 /^X\(\/\).*/{
5573 s//\1/
5576 s/.*/./; q'`
5577 as_dir="$ac_dir"; as_fn_mkdir_p
5578 ac_builddir=.
5580 case "$ac_dir" in
5581 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5583 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5584 # A ".." for each directory in $ac_dir_suffix.
5585 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5586 case $ac_top_builddir_sub in
5587 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5588 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5589 esac ;;
5590 esac
5591 ac_abs_top_builddir=$ac_pwd
5592 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5593 # for backward compatibility:
5594 ac_top_builddir=$ac_top_build_prefix
5596 case $srcdir in
5597 .) # We are building in place.
5598 ac_srcdir=.
5599 ac_top_srcdir=$ac_top_builddir_sub
5600 ac_abs_top_srcdir=$ac_pwd ;;
5601 [\\/]* | ?:[\\/]* ) # Absolute name.
5602 ac_srcdir=$srcdir$ac_dir_suffix;
5603 ac_top_srcdir=$srcdir
5604 ac_abs_top_srcdir=$srcdir ;;
5605 *) # Relative name.
5606 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5607 ac_top_srcdir=$ac_top_build_prefix$srcdir
5608 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5609 esac
5610 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5613 case $ac_mode in
5616 # CONFIG_FILE
5619 case $INSTALL in
5620 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5621 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5622 esac
5623 ac_MKDIR_P=$MKDIR_P
5624 case $MKDIR_P in
5625 [\\/$]* | ?:[\\/]* ) ;;
5626 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
5627 esac
5628 _ACEOF
5630 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5631 # If the template does not know about datarootdir, expand it.
5632 # FIXME: This hack should be removed a few years after 2.60.
5633 ac_datarootdir_hack=; ac_datarootdir_seen=
5634 ac_sed_dataroot='
5635 /datarootdir/ {
5639 /@datadir@/p
5640 /@docdir@/p
5641 /@infodir@/p
5642 /@localedir@/p
5643 /@mandir@/p'
5644 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5645 *datarootdir*) ac_datarootdir_seen=yes;;
5646 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5647 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5648 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5649 _ACEOF
5650 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5651 ac_datarootdir_hack='
5652 s&@datadir@&$datadir&g
5653 s&@docdir@&$docdir&g
5654 s&@infodir@&$infodir&g
5655 s&@localedir@&$localedir&g
5656 s&@mandir@&$mandir&g
5657 s&\\\${datarootdir}&$datarootdir&g' ;;
5658 esac
5659 _ACEOF
5661 # Neutralize VPATH when `$srcdir' = `.'.
5662 # Shell code in configure.ac might set extrasub.
5663 # FIXME: do we really want to maintain this feature?
5664 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5665 ac_sed_extra="$ac_vpsub
5666 $extrasub
5667 _ACEOF
5668 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5670 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5671 s|@configure_input@|$ac_sed_conf_input|;t t
5672 s&@top_builddir@&$ac_top_builddir_sub&;t t
5673 s&@top_build_prefix@&$ac_top_build_prefix&;t t
5674 s&@srcdir@&$ac_srcdir&;t t
5675 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5676 s&@top_srcdir@&$ac_top_srcdir&;t t
5677 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5678 s&@builddir@&$ac_builddir&;t t
5679 s&@abs_builddir@&$ac_abs_builddir&;t t
5680 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5681 s&@INSTALL@&$ac_INSTALL&;t t
5682 s&@MKDIR_P@&$ac_MKDIR_P&;t t
5683 $ac_datarootdir_hack
5685 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
5686 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5688 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5689 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
5690 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
5691 "$ac_tmp/out"`; test -z "$ac_out"; } &&
5692 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5693 which seems to be undefined. Please make sure it is defined" >&5
5694 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5695 which seems to be undefined. Please make sure it is defined" >&2;}
5697 rm -f "$ac_tmp/stdin"
5698 case $ac_file in
5699 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5700 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5701 esac \
5702 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5706 # CONFIG_HEADER
5708 if test x"$ac_file" != x-; then
5710 $as_echo "/* $configure_input */" \
5711 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
5712 } >"$ac_tmp/config.h" \
5713 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5714 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
5715 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
5716 $as_echo "$as_me: $ac_file is unchanged" >&6;}
5717 else
5718 rm -f "$ac_file"
5719 mv "$ac_tmp/config.h" "$ac_file" \
5720 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5722 else
5723 $as_echo "/* $configure_input */" \
5724 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
5725 || as_fn_error $? "could not create -" "$LINENO" 5
5727 # Compute "$ac_file"'s index in $config_headers.
5728 _am_arg="$ac_file"
5729 _am_stamp_count=1
5730 for _am_header in $config_headers :; do
5731 case $_am_header in
5732 $_am_arg | $_am_arg:* )
5733 break ;;
5735 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
5736 esac
5737 done
5738 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
5739 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5740 X"$_am_arg" : 'X\(//\)[^/]' \| \
5741 X"$_am_arg" : 'X\(//\)$' \| \
5742 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
5743 $as_echo X"$_am_arg" |
5744 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5745 s//\1/
5748 /^X\(\/\/\)[^/].*/{
5749 s//\1/
5752 /^X\(\/\/\)$/{
5753 s//\1/
5756 /^X\(\/\).*/{
5757 s//\1/
5760 s/.*/./; q'`/stamp-h$_am_stamp_count
5763 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
5764 $as_echo "$as_me: executing $ac_file commands" >&6;}
5766 esac
5769 case $ac_file$ac_mode in
5770 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
5771 # Older Autoconf quotes --file arguments for eval, but not when files
5772 # are listed without --file. Let's play safe and only enable the eval
5773 # if we detect the quoting.
5774 case $CONFIG_FILES in
5775 *\'*) eval set x "$CONFIG_FILES" ;;
5776 *) set x $CONFIG_FILES ;;
5777 esac
5778 shift
5779 for mf
5781 # Strip MF so we end up with the name of the file.
5782 mf=`echo "$mf" | sed -e 's/:.*$//'`
5783 # Check whether this is an Automake generated Makefile or not.
5784 # We used to match only the files named 'Makefile.in', but
5785 # some people rename them; so instead we look at the file content.
5786 # Grep'ing the first line is not enough: some people post-process
5787 # each Makefile.in and add a new line on top of each file to say so.
5788 # Grep'ing the whole file is not good either: AIX grep has a line
5789 # limit of 2048, but all sed's we know have understand at least 4000.
5790 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
5791 dirpart=`$as_dirname -- "$mf" ||
5792 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5793 X"$mf" : 'X\(//\)[^/]' \| \
5794 X"$mf" : 'X\(//\)$' \| \
5795 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
5796 $as_echo X"$mf" |
5797 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5798 s//\1/
5801 /^X\(\/\/\)[^/].*/{
5802 s//\1/
5805 /^X\(\/\/\)$/{
5806 s//\1/
5809 /^X\(\/\).*/{
5810 s//\1/
5813 s/.*/./; q'`
5814 else
5815 continue
5817 # Extract the definition of DEPDIR, am__include, and am__quote
5818 # from the Makefile without running 'make'.
5819 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
5820 test -z "$DEPDIR" && continue
5821 am__include=`sed -n 's/^am__include = //p' < "$mf"`
5822 test -z "$am__include" && continue
5823 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
5824 # Find all dependency output files, they are included files with
5825 # $(DEPDIR) in their names. We invoke sed twice because it is the
5826 # simplest approach to changing $(DEPDIR) to its actual value in the
5827 # expansion.
5828 for file in `sed -n "
5829 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
5830 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
5831 # Make sure the directory exists.
5832 test -f "$dirpart/$file" && continue
5833 fdir=`$as_dirname -- "$file" ||
5834 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5835 X"$file" : 'X\(//\)[^/]' \| \
5836 X"$file" : 'X\(//\)$' \| \
5837 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
5838 $as_echo X"$file" |
5839 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5840 s//\1/
5843 /^X\(\/\/\)[^/].*/{
5844 s//\1/
5847 /^X\(\/\/\)$/{
5848 s//\1/
5851 /^X\(\/\).*/{
5852 s//\1/
5855 s/.*/./; q'`
5856 as_dir=$dirpart/$fdir; as_fn_mkdir_p
5857 # echo "creating $dirpart/$file"
5858 echo '# dummy' > "$dirpart/$file"
5859 done
5860 done
5864 esac
5865 done # for ac_tag
5868 as_fn_exit 0
5869 _ACEOF
5870 ac_clean_files=$ac_clean_files_save
5872 test $ac_write_fail = 0 ||
5873 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5876 # configure is writing to config.log, and then calls config.status.
5877 # config.status does its own redirection, appending to config.log.
5878 # Unfortunately, on DOS this fails, as config.log is still kept open
5879 # by configure, so config.status won't be able to write to it; its
5880 # output is simply discarded. So we exec the FD to /dev/null,
5881 # effectively closing config.log, so it can be properly (re)opened and
5882 # appended to by config.status. When coming back to configure, we
5883 # need to make the FD available again.
5884 if test "$no_create" != yes; then
5885 ac_cs_success=:
5886 ac_config_status_args=
5887 test "$silent" = yes &&
5888 ac_config_status_args="$ac_config_status_args --quiet"
5889 exec 5>/dev/null
5890 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5891 exec 5>>config.log
5892 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5893 # would make configure fail if this is the last instruction.
5894 $ac_cs_success || as_fn_exit 1
5896 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5897 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5898 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}