2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for m2 .
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x
; then
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var
in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\
${$as_var+set} = xset \
120 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
133 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
138 _as_can_reexec
=no
; export _as_can_reexec
;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
145 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
147 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec
=; unset _as_can_reexec
;}
160 if test "x$CONFIG_SHELL" = x
; then
161 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 case \`(set -o) 2>/dev/null\` in #(
177 as_required
="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
195 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199 test \$(( 1 + 1 )) = 2 || exit 1"
200 if (eval "$as_required") 2>/dev
/null
; then :
205 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
208 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
210 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
213 test -z "$as_dir" && as_dir
=.
217 for as_base
in sh bash ksh sh5
; do
218 # Try only shells that exist, to save several forks.
219 as_shell
=$as_dir/$as_base
220 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
221 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
222 CONFIG_SHELL
=$as_shell as_have_required
=yes
223 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
231 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
232 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
233 CONFIG_SHELL
=$SHELL as_have_required
=yes
238 if test "x$CONFIG_SHELL" != x
; then :
240 # We cannot yet assume a decent shell, so we have to provide a
241 # neutralization value for shells without unset; and this also
242 # works around shells that cannot unset nonexistent variables.
243 # Preserve -v and -x to the replacement shell.
246 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
248 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
253 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
254 # Admittedly, this is quite paranoid, since all the known shells bail
255 # out after a failed `exec'.
256 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
260 if test x
$as_have_required = xno
; then :
261 $as_echo "$0: This script requires a shell more modern than all"
262 $as_echo "$0: the shells that I found on your system."
263 if test x
${ZSH_VERSION+set} = xset
; then
264 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
265 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
267 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
268 $0: including any error possibly output before this
269 $0: message. Then install a modern shell, or manually run
270 $0: the script under such a shell if you do have one."
276 SHELL
=${CONFIG_SHELL-/bin/sh}
278 # Unset more variables known to interfere with behavior of common tools.
279 CLICOLOR_FORCE
= GREP_OPTIONS
=
280 unset CLICOLOR_FORCE GREP_OPTIONS
282 ## --------------------- ##
283 ## M4sh Shell Functions. ##
284 ## --------------------- ##
287 # Portably unset VAR.
290 { eval $1=; unset $1;}
294 # as_fn_set_status STATUS
295 # -----------------------
296 # Set $? to STATUS, without forking.
304 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
314 # Create "$as_dir" as a directory, including parents if necessary.
319 -*) as_dir
=.
/$as_dir;;
321 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
325 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
328 as_dirs
="'$as_qdir' $as_dirs"
329 as_dir
=`$as_dirname -- "$as_dir" ||
330 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
331 X"$as_dir" : 'X\(//\)[^/]' \| \
332 X"$as_dir" : 'X\(//\)$' \| \
333 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
334 $as_echo X"$as_dir" |
335 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
352 test -d "$as_dir" && break
354 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
355 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
360 # as_fn_executable_p FILE
361 # -----------------------
362 # Test if FILE is an executable regular file.
363 as_fn_executable_p
()
365 test -f "$1" && test -x "$1"
366 } # as_fn_executable_p
367 # as_fn_append VAR VALUE
368 # ----------------------
369 # Append the text in VALUE to the end of the definition contained in VAR. Take
370 # advantage of any shell optimizations that allow amortized linear growth over
371 # repeated appends, instead of the typical quadratic growth present in naive
373 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
374 eval 'as_fn_append ()
387 # Perform arithmetic evaluation on the ARGs, and store the result in the
388 # global $as_val. Take advantage of shells that can avoid forks. The arguments
389 # must be portable across $(()) and expr.
390 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
398 as_val
=`expr "$@" || test $? -eq 1`
403 # as_fn_error STATUS ERROR [LINENO LOG_FD]
404 # ----------------------------------------
405 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
406 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
407 # script with STATUS, using 1 if that was 0.
410 as_status
=$1; test $as_status -eq 0 && as_status
=1
412 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
413 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
415 $as_echo "$as_me: error: $2" >&2
416 as_fn_exit
$as_status
419 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
420 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
426 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
432 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
438 as_me
=`$as_basename -- "$0" ||
439 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
440 X"$0" : 'X\(//\)$' \| \
441 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
443 sed '/^.*\/\([^/][^/]*\)\/*$/{
457 # Avoid depending upon Character Ranges.
458 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
459 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
460 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
461 as_cr_digits
='0123456789'
462 as_cr_alnum
=$as_cr_Letters$as_cr_digits
465 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
466 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
467 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
468 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
469 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
481 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 chmod +x
"$as_me.lineno" ||
486 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
488 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
489 # already done that, so ensure we don't try to do so again and fall
490 # in an infinite loop. This has already happened in practice.
491 _as_can_reexec
=no
; export _as_can_reexec
492 # Don't try to exec as it changes $[0], causing all sort of problems
493 # (the dirname of $[0] is not the place where we might find the
494 # original and so on. Autoconf is especially sensitive to this).
496 # Exit status is that of the last command.
500 ECHO_C
= ECHO_N
= ECHO_T
=
501 case `echo -n x` in #(((((
503 case `echo 'xy\c'` in
504 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
506 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
513 rm -f conf$$ conf$$.exe conf$$.
file
514 if test -d conf$$.dir
; then
515 rm -f conf$$.dir
/conf$$.
file
518 mkdir conf$$.dir
2>/dev
/null
520 if (echo >conf$$.
file) 2>/dev
/null
; then
521 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
523 # ... but there are two gotchas:
524 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
525 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
526 # In both cases, we have to default to `cp -pR'.
527 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
529 elif ln conf$$.
file conf$$
2>/dev
/null
; then
537 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
538 rmdir conf$$.dir
2>/dev
/null
540 if mkdir
-p .
2>/dev
/null
; then
541 as_mkdir_p
='mkdir -p "$as_dir"'
543 test -d .
/-p && rmdir .
/-p
548 as_executable_p
=as_fn_executable_p
550 # Sed expression to map a string onto a valid CPP name.
551 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
553 # Sed expression to map a string onto a valid variable name.
554 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
557 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
561 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
562 # so uname gets run too.
563 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
568 ac_default_prefix
=/usr
/local
570 ac_config_libobj_dir
=.
577 # Identity of this package.
585 # Factoring default headers for most tests.
586 ac_includes_default
="\
588 #ifdef HAVE_SYS_TYPES_H
589 # include <sys/types.h>
591 #ifdef HAVE_SYS_STAT_H
592 # include <sys/stat.h>
598 # ifdef HAVE_STDLIB_H
603 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 #ifdef HAVE_STRINGS_H
609 # include <strings.h>
611 #ifdef HAVE_INTTYPES_H
612 # include <inttypes.h>
621 ac_subst_vars
='LTLIBOBJS
672 program_transform_name
685 enable_option_checking
687 ac_precious_vars
='build_alias
698 # Initialize some variables set by options.
700 ac_init_version
=false
701 ac_unrecognized_opts
=
703 # The variables have the same names as the options, with
704 # dashes changed to underlines.
712 program_transform_name
=s
,x
,x
,
720 # Installation directory options.
721 # These are left unexpanded so users can "make install exec_prefix=/foo"
722 # and all the variables that are supposed to be based on exec_prefix
723 # by default will actually change.
724 # Use braces instead of parens because sh, perl, etc. also accept them.
725 # (The list follows the same order as the GNU Coding Standards.)
726 bindir
='${exec_prefix}/bin'
727 sbindir
='${exec_prefix}/sbin'
728 libexecdir
='${exec_prefix}/libexec'
729 datarootdir
='${prefix}/share'
730 datadir
='${datarootdir}'
731 sysconfdir
='${prefix}/etc'
732 sharedstatedir
='${prefix}/com'
733 localstatedir
='${prefix}/var'
734 includedir
='${prefix}/include'
735 oldincludedir
='/usr/include'
736 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
737 infodir
='${datarootdir}/info'
742 libdir
='${exec_prefix}/lib'
743 localedir
='${datarootdir}/locale'
744 mandir
='${datarootdir}/man'
750 # If the previous option needs an argument, assign it.
751 if test -n "$ac_prev"; then
752 eval $ac_prev=\
$ac_option
758 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
763 # Accept the important Cygnus configure options, so we can diagnose typos.
765 case $ac_dashdash$ac_option in
769 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
771 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
774 -build |
--build |
--buil |
--bui |
--bu)
775 ac_prev
=build_alias
;;
776 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
777 build_alias
=$ac_optarg ;;
779 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
780 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
781 ac_prev
=cache_file
;;
782 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
783 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
784 cache_file
=$ac_optarg ;;
787 cache_file
=config.cache
;;
789 -datadir |
--datadir |
--datadi |
--datad)
791 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
792 datadir
=$ac_optarg ;;
794 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
795 |
--dataroo |
--dataro |
--datar)
796 ac_prev
=datarootdir
;;
797 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
798 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
799 datarootdir
=$ac_optarg ;;
801 -disable-* |
--disable-*)
802 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
803 # Reject names that are not valid shell variable names.
804 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
805 as_fn_error $?
"invalid feature name: $ac_useropt"
806 ac_useropt_orig
=$ac_useropt
807 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
808 case $ac_user_opts in
812 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
813 ac_unrecognized_sep
=', ';;
815 eval enable_
$ac_useropt=no
;;
817 -docdir |
--docdir |
--docdi |
--doc |
--do)
819 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
822 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
824 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
827 -enable-* |
--enable-*)
828 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
829 # Reject names that are not valid shell variable names.
830 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
831 as_fn_error $?
"invalid feature name: $ac_useropt"
832 ac_useropt_orig
=$ac_useropt
833 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
834 case $ac_user_opts in
838 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
839 ac_unrecognized_sep
=', ';;
841 eval enable_
$ac_useropt=\
$ac_optarg ;;
843 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
844 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
845 |
--exec |
--exe |
--ex)
846 ac_prev
=exec_prefix
;;
847 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
848 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
849 |
--exec=* |
--exe=* |
--ex=*)
850 exec_prefix
=$ac_optarg ;;
852 -gas |
--gas |
--ga |
--g)
853 # Obsolete; use --with-gas.
856 -help |
--help |
--hel |
--he |
-h)
858 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
859 ac_init_help
=recursive
;;
860 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
861 ac_init_help
=short
;;
863 -host |
--host |
--hos |
--ho)
864 ac_prev
=host_alias
;;
865 -host=* |
--host=* |
--hos=* |
--ho=*)
866 host_alias
=$ac_optarg ;;
868 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
870 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
872 htmldir
=$ac_optarg ;;
874 -includedir |
--includedir |
--includedi |
--included |
--include \
875 |
--includ |
--inclu |
--incl |
--inc)
876 ac_prev
=includedir
;;
877 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
878 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
879 includedir
=$ac_optarg ;;
881 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
883 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
884 infodir
=$ac_optarg ;;
886 -libdir |
--libdir |
--libdi |
--libd)
888 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
891 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
892 |
--libexe |
--libex |
--libe)
893 ac_prev
=libexecdir
;;
894 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
895 |
--libexe=* |
--libex=* |
--libe=*)
896 libexecdir
=$ac_optarg ;;
898 -localedir |
--localedir |
--localedi |
--localed |
--locale)
900 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
901 localedir
=$ac_optarg ;;
903 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
904 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
905 ac_prev
=localstatedir
;;
906 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
907 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
908 localstatedir
=$ac_optarg ;;
910 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
912 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
916 # Obsolete; use --without-fp.
919 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
920 |
--no-cr |
--no-c |
-n)
923 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
924 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
927 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
928 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
929 |
--oldin |
--oldi |
--old |
--ol |
--o)
930 ac_prev
=oldincludedir
;;
931 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
932 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
933 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
934 oldincludedir
=$ac_optarg ;;
936 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
938 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
941 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
942 |
--program-pre |
--program-pr |
--program-p)
943 ac_prev
=program_prefix
;;
944 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
945 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
946 program_prefix
=$ac_optarg ;;
948 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
949 |
--program-suf |
--program-su |
--program-s)
950 ac_prev
=program_suffix
;;
951 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
952 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
953 program_suffix
=$ac_optarg ;;
955 -program-transform-name |
--program-transform-name \
956 |
--program-transform-nam |
--program-transform-na \
957 |
--program-transform-n |
--program-transform- \
958 |
--program-transform |
--program-transfor \
959 |
--program-transfo |
--program-transf \
960 |
--program-trans |
--program-tran \
961 |
--progr-tra |
--program-tr |
--program-t)
962 ac_prev
=program_transform_name
;;
963 -program-transform-name=* |
--program-transform-name=* \
964 |
--program-transform-nam=* |
--program-transform-na=* \
965 |
--program-transform-n=* |
--program-transform-=* \
966 |
--program-transform=* |
--program-transfor=* \
967 |
--program-transfo=* |
--program-transf=* \
968 |
--program-trans=* |
--program-tran=* \
969 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
970 program_transform_name
=$ac_optarg ;;
972 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
974 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
977 -psdir |
--psdir |
--psdi |
--psd |
--ps)
979 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
982 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
983 |
-silent |
--silent |
--silen |
--sile |
--sil)
986 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
988 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
990 sbindir
=$ac_optarg ;;
992 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
993 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
994 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
996 ac_prev
=sharedstatedir
;;
997 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
998 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
999 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1001 sharedstatedir
=$ac_optarg ;;
1003 -site |
--site |
--sit)
1005 -site=* |
--site=* |
--sit=*)
1008 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1010 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1011 srcdir
=$ac_optarg ;;
1013 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1014 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1015 ac_prev
=sysconfdir
;;
1016 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1017 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1018 sysconfdir
=$ac_optarg ;;
1020 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1021 ac_prev
=target_alias
;;
1022 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1023 target_alias
=$ac_optarg ;;
1025 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1028 -version |
--version |
--versio |
--versi |
--vers |
-V)
1029 ac_init_version
=: ;;
1032 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1033 # Reject names that are not valid shell variable names.
1034 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1035 as_fn_error $?
"invalid package name: $ac_useropt"
1036 ac_useropt_orig
=$ac_useropt
1037 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1038 case $ac_user_opts in
1042 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1043 ac_unrecognized_sep
=', ';;
1045 eval with_
$ac_useropt=\
$ac_optarg ;;
1047 -without-* |
--without-*)
1048 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1049 # Reject names that are not valid shell variable names.
1050 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1051 as_fn_error $?
"invalid package name: $ac_useropt"
1052 ac_useropt_orig
=$ac_useropt
1053 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1054 case $ac_user_opts in
1058 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1059 ac_unrecognized_sep
=', ';;
1061 eval with_
$ac_useropt=no
;;
1064 # Obsolete; use --with-x.
1067 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1068 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1069 ac_prev
=x_includes
;;
1070 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1071 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1072 x_includes
=$ac_optarg ;;
1074 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1075 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1076 ac_prev
=x_libraries
;;
1077 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1078 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1079 x_libraries
=$ac_optarg ;;
1081 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1082 Try \`$0 --help' for more information"
1086 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1087 # Reject names that are not valid shell variable names.
1088 case $ac_envvar in #(
1089 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1090 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1092 eval $ac_envvar=\
$ac_optarg
1093 export $ac_envvar ;;
1096 # FIXME: should be removed in autoconf 3.0.
1097 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1098 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1099 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1100 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1106 if test -n "$ac_prev"; then
1107 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1108 as_fn_error $?
"missing argument to $ac_option"
1111 if test -n "$ac_unrecognized_opts"; then
1112 case $enable_option_checking in
1114 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1115 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1119 # Check all directory arguments for consistency.
1120 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1121 datadir sysconfdir sharedstatedir localstatedir includedir \
1122 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1123 libdir localedir mandir
1125 eval ac_val
=\$
$ac_var
1126 # Remove trailing slashes.
1129 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1130 eval $ac_var=\
$ac_val;;
1132 # Be sure to have absolute directory names.
1134 [\\/$
]* | ?
:[\\/]* ) continue;;
1135 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1137 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1140 # There might be people who depend on the old broken behavior: `$host'
1141 # used to hold the argument of --host etc.
1142 # FIXME: To remove some day.
1145 target
=$target_alias
1147 # FIXME: To remove some day.
1148 if test "x$host_alias" != x
; then
1149 if test "x$build_alias" = x
; then
1150 cross_compiling
=maybe
1151 elif test "x$build_alias" != "x$host_alias"; then
1157 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1159 test "$silent" = yes && exec 6>/dev
/null
1162 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1163 ac_ls_di
=`ls -di .` &&
1164 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1165 as_fn_error $?
"working directory cannot be determined"
1166 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1167 as_fn_error $?
"pwd does not report name of working directory"
1170 # Find the source files, if location was not specified.
1171 if test -z "$srcdir"; then
1172 ac_srcdir_defaulted
=yes
1173 # Try the directory containing this script, then the parent directory.
1174 ac_confdir
=`$as_dirname -- "$as_myself" ||
1175 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1176 X"$as_myself" : 'X\(//\)[^/]' \| \
1177 X"$as_myself" : 'X\(//\)$' \| \
1178 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1179 $as_echo X"$as_myself" |
1180 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1198 if test ! -r "$srcdir/$ac_unique_file"; then
1202 ac_srcdir_defaulted
=no
1204 if test ! -r "$srcdir/$ac_unique_file"; then
1205 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1206 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1208 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1210 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1212 # When building in place, set srcdir=.
1213 if test "$ac_abs_confdir" = "$ac_pwd"; then
1216 # Remove unnecessary trailing slashes from srcdir.
1217 # Double slashes in file names in object file debugging info
1218 # mess up M-x gdb in Emacs.
1220 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1222 for ac_var
in $ac_precious_vars; do
1223 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1224 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1225 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1226 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1230 # Report the --help message.
1232 if test "$ac_init_help" = "long"; then
1233 # Omit some internal or obsolete options to make the list less imposing.
1234 # This message is too long to be a string in the A/UX 3.1 sh.
1236 \`configure' configures m2 to adapt to many kinds of systems.
1238 Usage: $0 [OPTION]... [VAR=VALUE]...
1240 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1241 VAR=VALUE. See below for descriptions of some of the useful variables.
1243 Defaults for the options are specified in brackets.
1246 -h, --help display this help and exit
1247 --help=short display options specific to this package
1248 --help=recursive display the short help of all the included packages
1249 -V, --version display version information and exit
1250 -q, --quiet, --silent do not print \`checking ...' messages
1251 --cache-file=FILE cache test results in FILE [disabled]
1252 -C, --config-cache alias for \`--cache-file=config.cache'
1253 -n, --no-create do not create output files
1254 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1256 Installation directories:
1257 --prefix=PREFIX install architecture-independent files in PREFIX
1258 [$ac_default_prefix]
1259 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1262 By default, \`make install' will install all the files in
1263 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1264 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1265 for instance \`--prefix=\$HOME'.
1267 For better control, use the options below.
1269 Fine tuning of the installation directories:
1270 --bindir=DIR user executables [EPREFIX/bin]
1271 --sbindir=DIR system admin executables [EPREFIX/sbin]
1272 --libexecdir=DIR program executables [EPREFIX/libexec]
1273 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1274 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1275 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1276 --libdir=DIR object code libraries [EPREFIX/lib]
1277 --includedir=DIR C header files [PREFIX/include]
1278 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1279 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1280 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1281 --infodir=DIR info documentation [DATAROOTDIR/info]
1282 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1283 --mandir=DIR man documentation [DATAROOTDIR/man]
1284 --docdir=DIR documentation root [DATAROOTDIR/doc/m2]
1285 --htmldir=DIR html documentation [DOCDIR]
1286 --dvidir=DIR dvi documentation [DOCDIR]
1287 --pdfdir=DIR pdf documentation [DOCDIR]
1288 --psdir=DIR ps documentation [DOCDIR]
1294 --build=BUILD configure
for building on BUILD
[guessed
]
1295 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1296 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1300 if test -n "$ac_init_help"; then
1301 case $ac_init_help in
1302 short | recursive
) echo "Configuration of m2 :";;
1306 Some influential environment variables
:
1307 CC C compiler
command
1308 CFLAGS C compiler flags
1309 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1310 nonstandard directory
<lib dir
>
1311 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1312 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1313 you have headers
in a nonstandard directory
<include dir
>
1316 Use these variables to override the choices made by
`configure' or to help
1317 it to find libraries and programs with nonstandard names/locations.
1319 Report bugs to the package provider.
1324 if test "$ac_init_help" = "recursive"; then
1325 # If there are subdirs, report their specific --help.
1326 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1327 test -d "$ac_dir" ||
1328 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1333 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1335 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1336 # A ".." for each directory in $ac_dir_suffix.
1337 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1338 case $ac_top_builddir_sub in
1339 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1340 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1343 ac_abs_top_builddir=$ac_pwd
1344 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1345 # for backward compatibility:
1346 ac_top_builddir=$ac_top_build_prefix
1349 .) # We are building in place.
1351 ac_top_srcdir=$ac_top_builddir_sub
1352 ac_abs_top_srcdir=$ac_pwd ;;
1353 [\\/]* | ?:[\\/]* ) # Absolute name.
1354 ac_srcdir=$srcdir$ac_dir_suffix;
1355 ac_top_srcdir=$srcdir
1356 ac_abs_top_srcdir=$srcdir ;;
1358 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1359 ac_top_srcdir=$ac_top_build_prefix$srcdir
1360 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1362 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1364 cd "$ac_dir" || { ac_status=$?; continue; }
1365 # Check for guested configure.
1366 if test -f "$ac_srcdir/configure.gnu"; then
1368 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1369 elif test -f "$ac_srcdir/configure"; then
1371 $SHELL "$ac_srcdir/configure" --help=recursive
1373 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1375 cd "$ac_pwd" || { ac_status=$?; break; }
1379 test -n "$ac_init_help" && exit $ac_status
1380 if $ac_init_version; then
1383 generated by GNU Autoconf 2.69
1385 Copyright (C) 2012 Free Software Foundation, Inc.
1386 This configure script is free software; the Free Software Foundation
1387 gives unlimited permission to copy, distribute and modify it.
1392 ## ------------------------ ##
1393 ## Autoconf initialization. ##
1394 ## ------------------------ ##
1396 # ac_fn_c_try_compile LINENO
1397 # --------------------------
1398 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1399 ac_fn_c_try_compile ()
1401 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1402 rm -f conftest.$ac_objext
1403 if { { ac_try="$ac_compile"
1405 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1406 *) ac_try_echo
=$ac_try;;
1408 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1409 $as_echo "$ac_try_echo"; } >&5
1410 (eval "$ac_compile") 2>conftest.err
1412 if test -s conftest.err
; then
1413 grep -v '^ *+' conftest.err
>conftest.er1
1414 cat conftest.er1
>&5
1415 mv -f conftest.er1 conftest.err
1417 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1418 test $ac_status = 0; } && {
1419 test -z "$ac_c_werror_flag" ||
1420 test ! -s conftest.err
1421 } && test -s conftest.
$ac_objext; then :
1424 $as_echo "$as_me: failed program was:" >&5
1425 sed 's/^/| /' conftest.
$ac_ext >&5
1429 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1430 as_fn_set_status
$ac_retval
1432 } # ac_fn_c_try_compile
1434 # ac_fn_c_try_link LINENO
1435 # -----------------------
1436 # Try to link conftest.$ac_ext, and return whether this succeeded.
1439 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1440 rm -f conftest.
$ac_objext conftest
$ac_exeext
1441 if { { ac_try
="$ac_link"
1443 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1444 *) ac_try_echo=$ac_try;;
1446 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1447 $as_echo "$ac_try_echo"; } >&5
1448 (eval "$ac_link") 2>conftest.err
1450 if test -s conftest.err; then
1451 grep -v '^ *+' conftest.err >conftest.er1
1452 cat conftest.er1 >&5
1453 mv -f conftest.er1 conftest.err
1455 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1456 test $ac_status = 0; } && {
1457 test -z "$ac_c_werror_flag" ||
1458 test ! -s conftest.err
1459 } && test -s conftest$ac_exeext && {
1460 test "$cross_compiling" = yes ||
1461 test -x conftest$ac_exeext
1465 $as_echo "$as_me: failed program was:" >&5
1466 sed 's/^/| /' conftest.$ac_ext >&5
1470 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1471 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1472 # interfere with the next link command; also delete a directory that is
1473 # left behind by Apple's compiler. We do this before executing the actions.
1474 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1475 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1476 as_fn_set_status $ac_retval
1478 } # ac_fn_c_try_link
1480 # ac_fn_c_check_func LINENO FUNC VAR
1481 # ----------------------------------
1482 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1483 ac_fn_c_check_func ()
1485 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1487 $as_echo_n "checking for $2... " >&6; }
1488 if eval \${$3+:} false; then :
1489 $as_echo_n "(cached) " >&6
1491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1492 /* end confdefs.h. */
1493 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1494 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1495 #define $2 innocuous_$2
1497 /* System header to define __stub macros and hopefully few prototypes,
1498 which can conflict with char $2 (); below.
1499 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1500 <limits.h> exists even on freestanding compilers. */
1503 # include <limits.h>
1505 # include <assert.h>
1510 /* Override any GCC internal prototype to avoid an error.
1511 Use char because int might match the return type of a GCC
1512 builtin and then its argument prototype would still apply. */
1517 /* The GNU C library defines this for functions which it implements
1518 to always fail with ENOSYS. Some functions are actually named
1519 something starting with __ and the normal name is an alias. */
1520 #if defined __stub_$2 || defined __stub___$2
1532 if ac_fn_c_try_link "$LINENO"; then :
1537 rm -f core conftest.err conftest.$ac_objext \
1538 conftest$ac_exeext conftest.$ac_ext
1541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1542 $as_echo "$ac_res" >&6; }
1543 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1545 } # ac_fn_c_check_func
1547 # ac_fn_c_try_cpp LINENO
1548 # ----------------------
1549 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1552 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1553 if { { ac_try="$ac_cpp conftest.$ac_ext"
1555 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1556 *) ac_try_echo
=$ac_try;;
1558 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1559 $as_echo "$ac_try_echo"; } >&5
1560 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1562 if test -s conftest.err
; then
1563 grep -v '^ *+' conftest.err
>conftest.er1
1564 cat conftest.er1
>&5
1565 mv -f conftest.er1 conftest.err
1567 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1568 test $ac_status = 0; } > conftest.i
&& {
1569 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1570 test ! -s conftest.err
1574 $as_echo "$as_me: failed program was:" >&5
1575 sed 's/^/| /' conftest.
$ac_ext >&5
1579 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1580 as_fn_set_status
$ac_retval
1584 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1585 # -------------------------------------------------------
1586 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1587 # the include files in INCLUDES and setting the cache variable VAR
1589 ac_fn_c_check_header_mongrel
()
1591 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1592 if eval \
${$3+:} false
; then :
1593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1594 $as_echo_n "checking for $2... " >&6; }
1595 if eval \
${$3+:} false
; then :
1596 $as_echo_n "(cached) " >&6
1599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1600 $as_echo "$ac_res" >&6; }
1602 # Is the header compilable?
1603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1604 $as_echo_n "checking $2 usability... " >&6; }
1605 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1606 /* end confdefs.h. */
1610 if ac_fn_c_try_compile
"$LINENO"; then :
1611 ac_header_compiler
=yes
1613 ac_header_compiler
=no
1615 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1617 $as_echo "$ac_header_compiler" >&6; }
1619 # Is the header present?
1620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1621 $as_echo_n "checking $2 presence... " >&6; }
1622 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1623 /* end confdefs.h. */
1626 if ac_fn_c_try_cpp
"$LINENO"; then :
1627 ac_header_preproc
=yes
1629 ac_header_preproc
=no
1631 rm -f conftest.err conftest.i conftest.
$ac_ext
1632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1633 $as_echo "$ac_header_preproc" >&6; }
1635 # So? What about this header?
1636 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1638 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1639 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1640 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1641 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1644 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1645 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1646 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1647 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1648 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1649 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1650 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1651 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1652 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1653 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1657 $as_echo_n "checking for $2... " >&6; }
1658 if eval \
${$3+:} false
; then :
1659 $as_echo_n "(cached) " >&6
1661 eval "$3=\$ac_header_compiler"
1664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1665 $as_echo "$ac_res" >&6; }
1667 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1669 } # ac_fn_c_check_header_mongrel
1671 # ac_fn_c_try_run LINENO
1672 # ----------------------
1673 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1674 # that executables *can* be run.
1677 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1678 if { { ac_try
="$ac_link"
1680 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1681 *) ac_try_echo=$ac_try;;
1683 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1684 $as_echo "$ac_try_echo"; } >&5
1685 (eval "$ac_link") 2>&5
1687 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1688 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1689 { { case "(($ac_try" in
1690 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1691 *) ac_try_echo
=$ac_try;;
1693 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1694 $as_echo "$ac_try_echo"; } >&5
1695 (eval "$ac_try") 2>&5
1697 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1698 test $ac_status = 0; }; }; then :
1701 $as_echo "$as_me: program exited with status $ac_status" >&5
1702 $as_echo "$as_me: failed program was:" >&5
1703 sed 's/^/| /' conftest.
$ac_ext >&5
1705 ac_retval
=$ac_status
1707 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1708 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1709 as_fn_set_status
$ac_retval
1713 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1714 # -------------------------------------------------------
1715 # Tests whether HEADER exists and can be compiled using the include files in
1716 # INCLUDES, setting the cache variable VAR accordingly.
1717 ac_fn_c_check_header_compile
()
1719 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1721 $as_echo_n "checking for $2... " >&6; }
1722 if eval \
${$3+:} false
; then :
1723 $as_echo_n "(cached) " >&6
1725 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1726 /* end confdefs.h. */
1730 if ac_fn_c_try_compile
"$LINENO"; then :
1735 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1739 $as_echo "$ac_res" >&6; }
1740 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1742 } # ac_fn_c_check_header_compile
1743 cat >config.log
<<_ACEOF
1744 This file contains any messages produced by compilers while
1745 running configure, to aid debugging if configure makes a mistake.
1747 It was created by m2 $as_me , which was
1748 generated by GNU Autoconf 2.69. Invocation command line was
1760 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1761 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1762 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1763 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1764 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1766 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1767 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1769 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1770 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1771 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1772 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1773 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1774 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1775 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1779 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1783 test -z "$as_dir" && as_dir
=.
1784 $as_echo "PATH: $as_dir"
1800 # Keep a trace of the command line.
1801 # Strip out --no-create and --no-recursion so they do not pile up.
1802 # Strip out --silent because we don't want to record it for future runs.
1803 # Also quote any args containing shell meta-characters.
1804 # Make two passes to allow for proper duplicate-argument suppression.
1808 ac_must_keep_next
=false
1814 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1815 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1816 |
-silent |
--silent |
--silen |
--sile |
--sil)
1819 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1822 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1824 as_fn_append ac_configure_args1
" '$ac_arg'"
1825 if test $ac_must_keep_next = true
; then
1826 ac_must_keep_next
=false
# Got value, back to normal.
1829 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1830 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1831 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1832 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1833 case "$ac_configure_args0 " in
1834 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1837 -* ) ac_must_keep_next
=true
;;
1840 as_fn_append ac_configure_args
" '$ac_arg'"
1845 { ac_configure_args0
=; unset ac_configure_args0
;}
1846 { ac_configure_args1
=; unset ac_configure_args1
;}
1848 # When interrupted or exit'd, cleanup temporary files, and complete
1849 # config.log. We remove comments because anyway the quotes in there
1850 # would cause problems or look ugly.
1851 # WARNING: Use '\'' to represent an apostrophe within the trap.
1852 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1853 trap 'exit_status=$?
1854 # Save into config.log some information that might help in debugging.
1858 $as_echo "## ---------------- ##
1859 ## Cache variables. ##
1860 ## ---------------- ##"
1862 # The following way of writing the cache mishandles newlines in values,
1864 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1865 eval ac_val=\$$ac_var
1869 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1870 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1873 _ | IFS | as_nl) ;; #(
1874 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1875 *) { eval $ac_var=; unset $ac_var;} ;;
1880 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1881 *${as_nl}ac_space=\ *)
1883 "s/'\''/'\''\\\\'\'''\''/g;
1884 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1887 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1894 $as_echo "## ----------------- ##
1895 ## Output variables. ##
1896 ## ----------------- ##"
1898 for ac_var in $ac_subst_vars
1900 eval ac_val=\$$ac_var
1902 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1904 $as_echo "$ac_var='\''$ac_val'\''"
1908 if test -n "$ac_subst_files"; then
1909 $as_echo "## ------------------- ##
1910 ## File substitutions. ##
1911 ## ------------------- ##"
1913 for ac_var
in $ac_subst_files
1915 eval ac_val
=\$
$ac_var
1917 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1919 $as_echo "$ac_var='\''$ac_val'\''"
1924 if test -s confdefs.h; then
1925 $as_echo "## ----------- ##
1932 test "$ac_signal" != 0 &&
1933 $as_echo "$as_me: caught signal $ac_signal"
1934 $as_echo "$as_me: exit $exit_status"
1936 rm -f core *.core core.conftest.* &&
1937 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1940 for ac_signal
in 1 2 13 15; do
1941 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1945 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1946 rm -f -r conftest
* confdefs.h
1948 $as_echo "/* confdefs.h */" > confdefs.h
1950 # Predefined preprocessor variables.
1952 cat >>confdefs.h
<<_ACEOF
1953 #define PACKAGE_NAME "$PACKAGE_NAME"
1956 cat >>confdefs.h
<<_ACEOF
1957 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1960 cat >>confdefs.h
<<_ACEOF
1961 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1964 cat >>confdefs.h
<<_ACEOF
1965 #define PACKAGE_STRING "$PACKAGE_STRING"
1968 cat >>confdefs.h
<<_ACEOF
1969 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1972 cat >>confdefs.h
<<_ACEOF
1973 #define PACKAGE_URL "$PACKAGE_URL"
1977 # Let the site file select an alternate cache file if it wants to.
1978 # Prefer an explicitly selected file to automatically selected ones.
1981 if test -n "$CONFIG_SITE"; then
1982 # We do not want a PATH search for config.site.
1983 case $CONFIG_SITE in #((
1984 -*) ac_site_file1
=.
/$CONFIG_SITE;;
1985 */*) ac_site_file1
=$CONFIG_SITE;;
1986 *) ac_site_file1
=.
/$CONFIG_SITE;;
1988 elif test "x$prefix" != xNONE
; then
1989 ac_site_file1
=$prefix/share
/config.site
1990 ac_site_file2
=$prefix/etc
/config.site
1992 ac_site_file1
=$ac_default_prefix/share
/config.site
1993 ac_site_file2
=$ac_default_prefix/etc
/config.site
1995 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
1997 test "x$ac_site_file" = xNONE
&& continue
1998 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
1999 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2000 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2001 sed 's/^/| /' "$ac_site_file" >&5
2003 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2004 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2005 as_fn_error $?
"failed to load site script $ac_site_file
2006 See \`config.log' for more details" "$LINENO" 5; }
2010 if test -r "$cache_file"; then
2011 # Some versions of bash will fail to source /dev/null (special files
2012 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2013 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2014 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2015 $as_echo "$as_me: loading cache $cache_file" >&6;}
2017 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2018 *) .
"./$cache_file";;
2022 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2023 $as_echo "$as_me: creating cache $cache_file" >&6;}
2027 # Check that the precious variables saved in the cache have kept the same
2029 ac_cache_corrupted
=false
2030 for ac_var
in $ac_precious_vars; do
2031 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2032 eval ac_new_set
=\
$ac_env_${ac_var}_set
2033 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2034 eval ac_new_val
=\
$ac_env_${ac_var}_value
2035 case $ac_old_set,$ac_new_set in
2037 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2038 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2039 ac_cache_corrupted
=: ;;
2041 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2042 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2043 ac_cache_corrupted
=: ;;
2046 if test "x$ac_old_val" != "x$ac_new_val"; then
2047 # differences in whitespace do not lead to failure.
2048 ac_old_val_w
=`echo x $ac_old_val`
2049 ac_new_val_w
=`echo x $ac_new_val`
2050 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2051 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2052 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2053 ac_cache_corrupted
=:
2055 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2056 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2057 eval $ac_var=\
$ac_old_val
2059 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2060 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2061 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2062 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2065 # Pass precious variables to config.status.
2066 if test "$ac_new_set" = set; then
2068 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2069 *) ac_arg
=$ac_var=$ac_new_val ;;
2071 case " $ac_configure_args " in
2072 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2073 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2077 if $ac_cache_corrupted; then
2078 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2079 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2080 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2081 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2082 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2084 ## -------------------- ##
2085 ## Main body of script. ##
2086 ## -------------------- ##
2089 ac_cpp
='$CPP $CPPFLAGS'
2090 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2091 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2092 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2096 # Determine the host, build, and target systems
2098 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2099 if test -f "$ac_dir/install-sh"; then
2101 ac_install_sh
="$ac_aux_dir/install-sh -c"
2103 elif test -f "$ac_dir/install.sh"; then
2105 ac_install_sh
="$ac_aux_dir/install.sh -c"
2107 elif test -f "$ac_dir/shtool"; then
2109 ac_install_sh
="$ac_aux_dir/shtool install -c"
2113 if test -z "$ac_aux_dir"; then
2114 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2117 # These three variables are undocumented and unsupported,
2118 # and are intended to be withdrawn in a future Autoconf release.
2119 # They can cause serious problems if a builder's source tree is in a directory
2120 # whose full name contains unusual characters.
2121 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2122 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2123 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2126 # Make sure we can run config.sub.
2127 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2128 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2131 $as_echo_n "checking build system type... " >&6; }
2132 if ${ac_cv_build+:} false
; then :
2133 $as_echo_n "(cached) " >&6
2135 ac_build_alias
=$build_alias
2136 test "x$ac_build_alias" = x
&&
2137 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2138 test "x$ac_build_alias" = x
&&
2139 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2140 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2141 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2145 $as_echo "$ac_cv_build" >&6; }
2146 case $ac_cv_build in
2148 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2151 ac_save_IFS
=$IFS; IFS
='-'
2157 # Remember, the first character of IFS is used to create $*,
2158 # except with old shells:
2161 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2165 $as_echo_n "checking host system type... " >&6; }
2166 if ${ac_cv_host+:} false
; then :
2167 $as_echo_n "(cached) " >&6
2169 if test "x$host_alias" = x
; then
2170 ac_cv_host
=$ac_cv_build
2172 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2173 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2178 $as_echo "$ac_cv_host" >&6; }
2181 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2184 ac_save_IFS
=$IFS; IFS
='-'
2190 # Remember, the first character of IFS is used to create $*,
2191 # except with old shells:
2194 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2198 $as_echo_n "checking target system type... " >&6; }
2199 if ${ac_cv_target+:} false
; then :
2200 $as_echo_n "(cached) " >&6
2202 if test "x$target_alias" = x
; then
2203 ac_cv_target
=$ac_cv_host
2205 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2206 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2211 $as_echo "$ac_cv_target" >&6; }
2212 case $ac_cv_target in
2214 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
2216 target
=$ac_cv_target
2217 ac_save_IFS
=$IFS; IFS
='-'
2223 # Remember, the first character of IFS is used to create $*,
2224 # except with old shells:
2227 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2230 # The aliases save the names the user supplied, while $host etc.
2231 # will get canonicalized.
2232 test -n "$target_alias" &&
2233 test "$program_prefix$program_suffix$program_transform_name" = \
2235 program_prefix
=${target_alias}-
2238 ac_cpp
='$CPP $CPPFLAGS'
2239 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2240 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2241 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2242 if test -n "$ac_tool_prefix"; then
2243 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2244 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2246 $as_echo_n "checking for $ac_word... " >&6; }
2247 if ${ac_cv_prog_CC+:} false
; then :
2248 $as_echo_n "(cached) " >&6
2250 if test -n "$CC"; then
2251 ac_cv_prog_CC
="$CC" # Let the user override the test.
2253 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2257 test -z "$as_dir" && as_dir
=.
2258 for ac_exec_ext
in '' $ac_executable_extensions; do
2259 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2260 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2261 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2271 if test -n "$CC"; then
2272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2273 $as_echo "$CC" >&6; }
2275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2276 $as_echo "no" >&6; }
2281 if test -z "$ac_cv_prog_CC"; then
2283 # Extract the first word of "gcc", so it can be a program name with args.
2284 set dummy gcc
; ac_word
=$2
2285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2286 $as_echo_n "checking for $ac_word... " >&6; }
2287 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2288 $as_echo_n "(cached) " >&6
2290 if test -n "$ac_ct_CC"; then
2291 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2293 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2297 test -z "$as_dir" && as_dir
=.
2298 for ac_exec_ext
in '' $ac_executable_extensions; do
2299 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2300 ac_cv_prog_ac_ct_CC
="gcc"
2301 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2310 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2311 if test -n "$ac_ct_CC"; then
2312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2313 $as_echo "$ac_ct_CC" >&6; }
2315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2316 $as_echo "no" >&6; }
2319 if test "x$ac_ct_CC" = x
; then
2322 case $cross_compiling:$ac_tool_warned in
2324 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2325 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2326 ac_tool_warned
=yes ;;
2334 if test -z "$CC"; then
2335 if test -n "$ac_tool_prefix"; then
2336 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2337 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2339 $as_echo_n "checking for $ac_word... " >&6; }
2340 if ${ac_cv_prog_CC+:} false
; then :
2341 $as_echo_n "(cached) " >&6
2343 if test -n "$CC"; then
2344 ac_cv_prog_CC
="$CC" # Let the user override the test.
2346 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2350 test -z "$as_dir" && as_dir
=.
2351 for ac_exec_ext
in '' $ac_executable_extensions; do
2352 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2353 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2354 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2364 if test -n "$CC"; then
2365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2366 $as_echo "$CC" >&6; }
2368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2369 $as_echo "no" >&6; }
2375 if test -z "$CC"; then
2376 # Extract the first word of "cc", so it can be a program name with args.
2377 set dummy cc
; ac_word
=$2
2378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2379 $as_echo_n "checking for $ac_word... " >&6; }
2380 if ${ac_cv_prog_CC+:} false
; then :
2381 $as_echo_n "(cached) " >&6
2383 if test -n "$CC"; then
2384 ac_cv_prog_CC
="$CC" # Let the user override the test.
2387 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2391 test -z "$as_dir" && as_dir
=.
2392 for ac_exec_ext
in '' $ac_executable_extensions; do
2393 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2394 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2395 ac_prog_rejected
=yes
2399 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2406 if test $ac_prog_rejected = yes; then
2407 # We found a bogon in the path, so make sure we never use it.
2408 set dummy
$ac_cv_prog_CC
2410 if test $# != 0; then
2411 # We chose a different compiler from the bogus one.
2412 # However, it has the same basename, so the bogon will be chosen
2413 # first if we set CC to just the basename; use the full file name.
2415 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2421 if test -n "$CC"; then
2422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2423 $as_echo "$CC" >&6; }
2425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2426 $as_echo "no" >&6; }
2431 if test -z "$CC"; then
2432 if test -n "$ac_tool_prefix"; then
2433 for ac_prog
in cl.exe
2435 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2436 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2438 $as_echo_n "checking for $ac_word... " >&6; }
2439 if ${ac_cv_prog_CC+:} false
; then :
2440 $as_echo_n "(cached) " >&6
2442 if test -n "$CC"; then
2443 ac_cv_prog_CC
="$CC" # Let the user override the test.
2445 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2449 test -z "$as_dir" && as_dir
=.
2450 for ac_exec_ext
in '' $ac_executable_extensions; do
2451 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2452 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2453 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2463 if test -n "$CC"; then
2464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2465 $as_echo "$CC" >&6; }
2467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2468 $as_echo "no" >&6; }
2472 test -n "$CC" && break
2475 if test -z "$CC"; then
2477 for ac_prog
in cl.exe
2479 # Extract the first word of "$ac_prog", so it can be a program name with args.
2480 set dummy
$ac_prog; ac_word
=$2
2481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2482 $as_echo_n "checking for $ac_word... " >&6; }
2483 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2484 $as_echo_n "(cached) " >&6
2486 if test -n "$ac_ct_CC"; then
2487 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2489 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2493 test -z "$as_dir" && as_dir
=.
2494 for ac_exec_ext
in '' $ac_executable_extensions; do
2495 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2496 ac_cv_prog_ac_ct_CC
="$ac_prog"
2497 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2506 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2507 if test -n "$ac_ct_CC"; then
2508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2509 $as_echo "$ac_ct_CC" >&6; }
2511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2512 $as_echo "no" >&6; }
2516 test -n "$ac_ct_CC" && break
2519 if test "x$ac_ct_CC" = x
; then
2522 case $cross_compiling:$ac_tool_warned in
2524 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2525 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2526 ac_tool_warned
=yes ;;
2535 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2536 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2537 as_fn_error $?
"no acceptable C compiler found in \$PATH
2538 See \`config.log' for more details" "$LINENO" 5; }
2540 # Provide some information about the compiler.
2541 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2544 for ac_option
in --version -v -V -qversion; do
2545 { { ac_try
="$ac_compiler $ac_option >&5"
2547 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2548 *) ac_try_echo=$ac_try;;
2550 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2551 $as_echo "$ac_try_echo"; } >&5
2552 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2554 if test -s conftest.err; then
2556 ... rest of stderr output deleted ...
2557 10q' conftest.err >conftest.er1
2558 cat conftest.er1 >&5
2560 rm -f conftest.er1 conftest.err
2561 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2562 test $ac_status = 0; }
2565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2566 /* end confdefs.h. */
2576 ac_clean_files_save=$ac_clean_files
2577 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2578 # Try to create an executable without -o first, disregard a.out.
2579 # It will help us diagnose broken compilers, and finding out an intuition
2581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2582 $as_echo_n "checking whether the C compiler works... " >&6; }
2583 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2585 # The possible output files:
2586 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2589 for ac_file in $ac_files
2592 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2593 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2598 if { { ac_try="$ac_link_default"
2600 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2601 *) ac_try_echo
=$ac_try;;
2603 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2604 $as_echo "$ac_try_echo"; } >&5
2605 (eval "$ac_link_default") 2>&5
2607 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2608 test $ac_status = 0; }; then :
2609 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2610 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2611 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2612 # so that the user can short-circuit this test for compilers unknown to
2614 for ac_file
in $ac_files ''
2616 test -f "$ac_file" ||
continue
2618 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
2621 # We found the default executable, but exeext='' is most
2625 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2627 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2629 # We set ac_cv_exeext here because the later test for it is not
2630 # safe: cross compilers may not add the suffix if given an `-o'
2631 # argument, so we may need to know it at that point already.
2632 # Even if this section looks crufty: it has the advantage of
2639 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2644 if test -z "$ac_file"; then :
2645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2646 $as_echo "no" >&6; }
2647 $as_echo "$as_me: failed program was:" >&5
2648 sed 's/^/| /' conftest.
$ac_ext >&5
2650 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2651 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2652 as_fn_error
77 "C compiler cannot create executables
2653 See \`config.log' for more details" "$LINENO" 5; }
2655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2656 $as_echo "yes" >&6; }
2658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2659 $as_echo_n "checking for C compiler default output file name... " >&6; }
2660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2661 $as_echo "$ac_file" >&6; }
2662 ac_exeext
=$ac_cv_exeext
2664 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
2665 ac_clean_files
=$ac_clean_files_save
2666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2667 $as_echo_n "checking for suffix of executables... " >&6; }
2668 if { { ac_try
="$ac_link"
2670 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2671 *) ac_try_echo=$ac_try;;
2673 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2674 $as_echo "$ac_try_echo"; } >&5
2675 (eval "$ac_link") 2>&5
2677 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2678 test $ac_status = 0; }; then :
2679 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
2680 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
2681 # work properly (i.e., refer to `conftest.exe'), while it won't with
2683 for ac_file
in conftest.exe conftest conftest.
*; do
2684 test -f "$ac_file" ||
continue
2686 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2687 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2693 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2694 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2695 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
2696 See \`config.log' for more details" "$LINENO" 5; }
2698 rm -f conftest conftest
$ac_cv_exeext
2699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2700 $as_echo "$ac_cv_exeext" >&6; }
2702 rm -f conftest.
$ac_ext
2703 EXEEXT
=$ac_cv_exeext
2705 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2706 /* end confdefs.h. */
2711 FILE *f = fopen ("conftest.out", "w");
2712 return ferror (f) || fclose (f) != 0;
2718 ac_clean_files
="$ac_clean_files conftest.out"
2719 # Check that the compiler produces executables we can run. If not, either
2720 # the compiler is broken, or we cross compile.
2721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2722 $as_echo_n "checking whether we are cross compiling... " >&6; }
2723 if test "$cross_compiling" != yes; then
2724 { { ac_try
="$ac_link"
2726 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2727 *) ac_try_echo=$ac_try;;
2729 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2730 $as_echo "$ac_try_echo"; } >&5
2731 (eval "$ac_link") 2>&5
2733 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2734 test $ac_status = 0; }
2735 if { ac_try='./conftest$ac_cv_exeext'
2736 { { case "(($ac_try" in
2737 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2738 *) ac_try_echo
=$ac_try;;
2740 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2741 $as_echo "$ac_try_echo"; } >&5
2742 (eval "$ac_try") 2>&5
2744 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2745 test $ac_status = 0; }; }; then
2748 if test "$cross_compiling" = maybe
; then
2751 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2752 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2753 as_fn_error $?
"cannot run C compiled programs.
2754 If you meant to cross compile, use \`--host'.
2755 See \`config.log' for more details" "$LINENO" 5; }
2759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2760 $as_echo "$cross_compiling" >&6; }
2762 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
2763 ac_clean_files
=$ac_clean_files_save
2764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2765 $as_echo_n "checking for suffix of object files... " >&6; }
2766 if ${ac_cv_objext+:} false
; then :
2767 $as_echo_n "(cached) " >&6
2769 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2770 /* end confdefs.h. */
2780 rm -f conftest.o conftest.obj
2781 if { { ac_try
="$ac_compile"
2783 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2784 *) ac_try_echo=$ac_try;;
2786 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2787 $as_echo "$ac_try_echo"; } >&5
2788 (eval "$ac_compile") 2>&5
2790 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2791 test $ac_status = 0; }; then :
2792 for ac_file in conftest.o conftest.obj conftest.*; do
2793 test -f "$ac_file" || continue;
2795 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2796 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2801 $as_echo "$as_me: failed program was:" >&5
2802 sed 's/^/| /' conftest.$ac_ext >&5
2804 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2805 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2806 as_fn_error $? "cannot compute suffix of object files
: cannot compile
2807 See \
`config.log' for more details" "$LINENO" 5; }
2809 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2812 $as_echo "$ac_cv_objext" >&6; }
2813 OBJEXT=$ac_cv_objext
2815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2816 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2817 if ${ac_cv_c_compiler_gnu+:} false; then :
2818 $as_echo_n "(cached) " >&6
2820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2821 /* end confdefs.h. */
2834 if ac_fn_c_try_compile "$LINENO"; then :
2839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2840 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2844 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2845 if test $ac_compiler_gnu = yes; then
2850 ac_test_CFLAGS=${CFLAGS+set}
2851 ac_save_CFLAGS=$CFLAGS
2852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2853 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2854 if ${ac_cv_prog_cc_g+:} false; then :
2855 $as_echo_n "(cached) " >&6
2857 ac_save_c_werror_flag=$ac_c_werror_flag
2858 ac_c_werror_flag=yes
2861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2862 /* end confdefs.h. */
2872 if ac_fn_c_try_compile "$LINENO"; then :
2876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2877 /* end confdefs.h. */
2887 if ac_fn_c_try_compile "$LINENO"; then :
2890 ac_c_werror_flag=$ac_save_c_werror_flag
2892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2893 /* end confdefs.h. */
2903 if ac_fn_c_try_compile "$LINENO"; then :
2906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2911 ac_c_werror_flag=$ac_save_c_werror_flag
2913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2914 $as_echo "$ac_cv_prog_cc_g" >&6; }
2915 if test "$ac_test_CFLAGS" = set; then
2916 CFLAGS=$ac_save_CFLAGS
2917 elif test $ac_cv_prog_cc_g = yes; then
2918 if test "$GCC" = yes; then
2924 if test "$GCC" = yes; then
2930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2931 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2932 if ${ac_cv_prog_cc_c89+:} false; then :
2933 $as_echo_n "(cached) " >&6
2935 ac_cv_prog_cc_c89=no
2937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2938 /* end confdefs.h. */
2942 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2943 struct buf { int x; };
2944 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2945 static char *e (p, i)
2951 static char *f (char * (*g) (char **, int), char **p, ...)
2956 s = g (p, va_arg (v,int));
2961 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2962 function prototypes and stuff, but not '\xHH' hex character constants.
2963 These don't provoke an error unfortunately, instead are silently treated
2964 as 'x'. The following induces an error, until -std is added to get
2965 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2966 array size at least. It's necessary to write '\x00'==0 to get something
2967 that's true only with -std. */
2968 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2970 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2971 inside strings and character constants. */
2973 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2975 int test (int i, double x);
2976 struct s1 {int (*f) (int a);};
2977 struct s2 {int (*f) (double a);};
2978 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2984 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2989 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2990 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2992 CC="$ac_save_CC $ac_arg"
2993 if ac_fn_c_try_compile "$LINENO"; then :
2994 ac_cv_prog_cc_c89=$ac_arg
2996 rm -f core conftest.err conftest.$ac_objext
2997 test "x$ac_cv_prog_cc_c89" != "xno" && break
2999 rm -f conftest.$ac_ext
3004 case "x$ac_cv_prog_cc_c89" in
3006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3007 $as_echo "none needed" >&6; } ;;
3009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3010 $as_echo "unsupported" >&6; } ;;
3012 CC="$CC $ac_cv_prog_cc_c89"
3013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3014 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3016 if test "x$ac_cv_prog_cc_c89" != xno; then :
3021 ac_cpp='$CPP $CPPFLAGS'
3022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3027 for ac_func in stpcpy
3029 ac_fn_c_check_func "$LINENO" "stpcpy" "ac_cv_func_stpcpy"
3030 if test "x$ac_cv_func_stpcpy" = xyes; then :
3031 cat >>confdefs.h <<_ACEOF
3032 #define HAVE_STPCPY 1
3040 ac_cpp='$CPP $CPPFLAGS'
3041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3045 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3046 # On Suns, sometimes $CPP names a directory.
3047 if test -n "$CPP" && test -d "$CPP"; then
3050 if test -z "$CPP"; then
3051 if ${ac_cv_prog_CPP+:} false; then :
3052 $as_echo_n "(cached) " >&6
3054 # Double quotes because CPP needs to be expanded
3055 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3058 for ac_c_preproc_warn_flag in '' yes
3060 # Use a header file that comes with gcc, so configuring glibc
3061 # with a fresh cross-compiler works.
3062 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3063 # <limits.h> exists even on freestanding compilers.
3064 # On the NeXT, cc -E runs the code through the compiler's parser,
3065 # not just through cpp. "Syntax error" is here to catch this case.
3066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3067 /* end confdefs.h. */
3069 # include <limits.h>
3071 # include <assert.h>
3075 if ac_fn_c_try_cpp "$LINENO"; then :
3078 # Broken: fails on valid input.
3081 rm -f conftest.err conftest.i conftest.$ac_ext
3083 # OK, works on sane cases. Now check whether nonexistent headers
3084 # can be detected and how.
3085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3086 /* end confdefs.h. */
3087 #include <ac_nonexistent.h>
3089 if ac_fn_c_try_cpp "$LINENO"; then :
3090 # Broken: success on invalid input.
3093 # Passes both tests.
3097 rm -f conftest.err conftest.i conftest.$ac_ext
3100 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3101 rm -f conftest.i conftest.err conftest.
$ac_ext
3102 if $ac_preproc_ok; then :
3114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3115 $as_echo "$CPP" >&6; }
3117 for ac_c_preproc_warn_flag
in '' yes
3119 # Use a header file that comes with gcc, so configuring glibc
3120 # with a fresh cross-compiler works.
3121 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3122 # <limits.h> exists even on freestanding compilers.
3123 # On the NeXT, cc -E runs the code through the compiler's parser,
3124 # not just through cpp. "Syntax error" is here to catch this case.
3125 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3126 /* end confdefs.h. */
3128 # include <limits.h>
3130 # include <assert.h>
3134 if ac_fn_c_try_cpp
"$LINENO"; then :
3137 # Broken: fails on valid input.
3140 rm -f conftest.err conftest.i conftest.
$ac_ext
3142 # OK, works on sane cases. Now check whether nonexistent headers
3143 # can be detected and how.
3144 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3145 /* end confdefs.h. */
3146 #include <ac_nonexistent.h>
3148 if ac_fn_c_try_cpp
"$LINENO"; then :
3149 # Broken: success on invalid input.
3152 # Passes both tests.
3156 rm -f conftest.err conftest.i conftest.
$ac_ext
3159 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3160 rm -f conftest.i conftest.err conftest.
$ac_ext
3161 if $ac_preproc_ok; then :
3164 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3165 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3166 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
3167 See \`config.log' for more details" "$LINENO" 5; }
3171 ac_cpp
='$CPP $CPPFLAGS'
3172 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3173 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3174 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3178 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3179 if ${ac_cv_path_GREP+:} false
; then :
3180 $as_echo_n "(cached) " >&6
3182 if test -z "$GREP"; then
3183 ac_path_GREP_found
=false
3184 # Loop through the user's path and test for each of PROGNAME-LIST
3185 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3186 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3189 test -z "$as_dir" && as_dir
=.
3190 for ac_prog
in grep ggrep
; do
3191 for ac_exec_ext
in '' $ac_executable_extensions; do
3192 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3193 as_fn_executable_p
"$ac_path_GREP" ||
continue
3194 # Check for GNU ac_path_GREP and select it if it is found.
3195 # Check for GNU $ac_path_GREP
3196 case `"$ac_path_GREP" --version 2>&1` in
3198 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3201 $as_echo_n 0123456789 >"conftest.in"
3204 cat "conftest.in" "conftest.in" >"conftest.tmp"
3205 mv "conftest.tmp" "conftest.in"
3206 cp "conftest.in" "conftest.nl"
3207 $as_echo 'GREP' >> "conftest.nl"
3208 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3209 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3210 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3211 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3212 # Best one so far, save it but keep looking for a better one
3213 ac_cv_path_GREP
="$ac_path_GREP"
3214 ac_path_GREP_max
=$ac_count
3216 # 10*(2^10) chars as input seems more than enough
3217 test $ac_count -gt 10 && break
3219 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3222 $ac_path_GREP_found && break 3
3227 if test -z "$ac_cv_path_GREP"; then
3228 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3231 ac_cv_path_GREP
=$GREP
3235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3236 $as_echo "$ac_cv_path_GREP" >&6; }
3237 GREP
="$ac_cv_path_GREP"
3240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3241 $as_echo_n "checking for egrep... " >&6; }
3242 if ${ac_cv_path_EGREP+:} false
; then :
3243 $as_echo_n "(cached) " >&6
3245 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3246 then ac_cv_path_EGREP
="$GREP -E"
3248 if test -z "$EGREP"; then
3249 ac_path_EGREP_found
=false
3250 # Loop through the user's path and test for each of PROGNAME-LIST
3251 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3252 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3255 test -z "$as_dir" && as_dir
=.
3256 for ac_prog
in egrep; do
3257 for ac_exec_ext
in '' $ac_executable_extensions; do
3258 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3259 as_fn_executable_p
"$ac_path_EGREP" ||
continue
3260 # Check for GNU ac_path_EGREP and select it if it is found.
3261 # Check for GNU $ac_path_EGREP
3262 case `"$ac_path_EGREP" --version 2>&1` in
3264 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3267 $as_echo_n 0123456789 >"conftest.in"
3270 cat "conftest.in" "conftest.in" >"conftest.tmp"
3271 mv "conftest.tmp" "conftest.in"
3272 cp "conftest.in" "conftest.nl"
3273 $as_echo 'EGREP' >> "conftest.nl"
3274 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3275 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3276 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3277 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3278 # Best one so far, save it but keep looking for a better one
3279 ac_cv_path_EGREP
="$ac_path_EGREP"
3280 ac_path_EGREP_max
=$ac_count
3282 # 10*(2^10) chars as input seems more than enough
3283 test $ac_count -gt 10 && break
3285 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3288 $ac_path_EGREP_found && break 3
3293 if test -z "$ac_cv_path_EGREP"; then
3294 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3297 ac_cv_path_EGREP
=$EGREP
3302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3303 $as_echo "$ac_cv_path_EGREP" >&6; }
3304 EGREP
="$ac_cv_path_EGREP"
3307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3308 $as_echo_n "checking for ANSI C header files... " >&6; }
3309 if ${ac_cv_header_stdc+:} false
; then :
3310 $as_echo_n "(cached) " >&6
3312 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3313 /* end confdefs.h. */
3327 if ac_fn_c_try_compile
"$LINENO"; then :
3328 ac_cv_header_stdc
=yes
3330 ac_cv_header_stdc
=no
3332 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3334 if test $ac_cv_header_stdc = yes; then
3335 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3336 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3337 /* end confdefs.h. */
3341 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3342 $EGREP "memchr" >/dev
/null
2>&1; then :
3345 ac_cv_header_stdc
=no
3351 if test $ac_cv_header_stdc = yes; then
3352 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3353 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3354 /* end confdefs.h. */
3358 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3359 $EGREP "free" >/dev
/null
2>&1; then :
3362 ac_cv_header_stdc
=no
3368 if test $ac_cv_header_stdc = yes; then
3369 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3370 if test "$cross_compiling" = yes; then :
3373 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3374 /* end confdefs.h. */
3377 #if ((' ' & 0x0FF) == 0x020)
3378 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3379 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3381 # define ISLOWER(c) \
3382 (('a' <= (c) && (c) <= 'i') \
3383 || ('j' <= (c) && (c) <= 'r') \
3384 || ('s' <= (c) && (c) <= 'z'))
3385 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3388 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3393 for (i = 0; i < 256; i++)
3394 if (XOR (islower (i), ISLOWER (i))
3395 || toupper (i) != TOUPPER (i))
3400 if ac_fn_c_try_run
"$LINENO"; then :
3403 ac_cv_header_stdc
=no
3405 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
3406 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
3411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3412 $as_echo "$ac_cv_header_stdc" >&6; }
3413 if test $ac_cv_header_stdc = yes; then
3415 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3419 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3420 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3421 inttypes.h stdint.h unistd.h
3423 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3424 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3426 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
3427 cat >>confdefs.h
<<_ACEOF
3428 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3436 for ac_header
in sys
/types.h
3438 ac_fn_c_check_header_mongrel
"$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$ac_includes_default"
3439 if test "x$ac_cv_header_sys_types_h" = xyes
; then :
3440 cat >>confdefs.h
<<_ACEOF
3441 #define HAVE_SYS_TYPES_H 1
3449 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
3450 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
3451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
3452 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
3453 if eval \
${$as_ac_Header+:} false
; then :
3454 $as_echo_n "(cached) " >&6
3456 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3457 /* end confdefs.h. */
3458 #include <sys/types.h>
3470 if ac_fn_c_try_compile
"$LINENO"; then :
3471 eval "$as_ac_Header=yes"
3473 eval "$as_ac_Header=no"
3475 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3477 eval ac_res
=\$
$as_ac_Header
3478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3479 $as_echo "$ac_res" >&6; }
3480 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
3481 cat >>confdefs.h
<<_ACEOF
3482 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
3485 ac_header_dirent
=$ac_hdr; break
3489 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
3490 if test $ac_header_dirent = dirent.h
; then
3491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
3492 $as_echo_n "checking for library containing opendir... " >&6; }
3493 if ${ac_cv_search_opendir+:} false
; then :
3494 $as_echo_n "(cached) " >&6
3496 ac_func_search_save_LIBS
=$LIBS
3497 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3498 /* end confdefs.h. */
3500 /* Override any GCC internal prototype to avoid an error.
3501 Use char because int might match the return type of a GCC
3502 builtin and then its argument prototype would still apply. */
3515 for ac_lib
in '' dir
; do
3516 if test -z "$ac_lib"; then
3517 ac_res
="none required"
3520 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
3522 if ac_fn_c_try_link
"$LINENO"; then :
3523 ac_cv_search_opendir
=$ac_res
3525 rm -f core conftest.err conftest.
$ac_objext \
3527 if ${ac_cv_search_opendir+:} false
; then :
3531 if ${ac_cv_search_opendir+:} false
; then :
3534 ac_cv_search_opendir
=no
3537 LIBS
=$ac_func_search_save_LIBS
3539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
3540 $as_echo "$ac_cv_search_opendir" >&6; }
3541 ac_res
=$ac_cv_search_opendir
3542 if test "$ac_res" != no
; then :
3543 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
3548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
3549 $as_echo_n "checking for library containing opendir... " >&6; }
3550 if ${ac_cv_search_opendir+:} false
; then :
3551 $as_echo_n "(cached) " >&6
3553 ac_func_search_save_LIBS
=$LIBS
3554 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3555 /* end confdefs.h. */
3557 /* Override any GCC internal prototype to avoid an error.
3558 Use char because int might match the return type of a GCC
3559 builtin and then its argument prototype would still apply. */
3572 for ac_lib
in '' x
; do
3573 if test -z "$ac_lib"; then
3574 ac_res
="none required"
3577 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
3579 if ac_fn_c_try_link
"$LINENO"; then :
3580 ac_cv_search_opendir
=$ac_res
3582 rm -f core conftest.err conftest.
$ac_objext \
3584 if ${ac_cv_search_opendir+:} false
; then :
3588 if ${ac_cv_search_opendir+:} false
; then :
3591 ac_cv_search_opendir
=no
3594 LIBS
=$ac_func_search_save_LIBS
3596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
3597 $as_echo "$ac_cv_search_opendir" >&6; }
3598 ac_res
=$ac_cv_search_opendir
3599 if test "$ac_res" != no
; then :
3600 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
3606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for opendir in -lc" >&5
3607 $as_echo_n "checking for opendir in -lc... " >&6; }
3608 if ${ac_cv_lib_c_opendir+:} false
; then :
3609 $as_echo_n "(cached) " >&6
3611 ac_check_lib_save_LIBS
=$LIBS
3613 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3614 /* end confdefs.h. */
3616 /* Override any GCC internal prototype to avoid an error.
3617 Use char because int might match the return type of a GCC
3618 builtin and then its argument prototype would still apply. */
3631 if ac_fn_c_try_link
"$LINENO"; then :
3632 ac_cv_lib_c_opendir
=yes
3634 ac_cv_lib_c_opendir
=no
3636 rm -f core conftest.err conftest.
$ac_objext \
3637 conftest
$ac_exeext conftest.
$ac_ext
3638 LIBS
=$ac_check_lib_save_LIBS
3640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_opendir" >&5
3641 $as_echo "$ac_cv_lib_c_opendir" >&6; }
3642 if test "x$ac_cv_lib_c_opendir" = xyes
; then :
3644 $as_echo "#define HAVE_OPENDIR 1" >>confdefs.h
3649 ac_config_headers
="$ac_config_headers gm2config.aci"
3651 cat >confcache
<<\_ACEOF
3652 # This file is a shell script that caches the results of configure
3653 # tests run on this system so they can be shared between configure
3654 # scripts and configure runs, see configure's option --config-cache.
3655 # It is not useful on other systems. If it contains results you don't
3656 # want to keep, you may remove or edit it.
3658 # config.status only pays attention to the cache file if you give it
3659 # the --recheck option to rerun configure.
3661 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3662 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3667 # The following way of writing the cache mishandles newlines in values,
3668 # but we know of no workaround that is simple, portable, and efficient.
3669 # So, we kill variables containing newlines.
3670 # Ultrix sh set writes to stderr and can't be redirected directly,
3671 # and sets the high bit in the cache file unless we assign to the vars.
3673 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3674 eval ac_val
=\$
$ac_var
3678 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3679 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3682 _ | IFS | as_nl
) ;; #(
3683 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
3684 *) { eval $ac_var=; unset $ac_var;} ;;
3690 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3691 *${as_nl}ac_space
=\
*)
3692 # `set' does not quote correctly, so add quotes: double-quote
3693 # substitution turns \\\\ into \\, and sed turns \\ into \.
3696 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3699 # `set' quotes correctly as required by POSIX, so do not add quotes.
3700 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3709 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3711 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3713 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
3714 if test -w "$cache_file"; then
3715 if test "x$cache_file" != "x/dev/null"; then
3716 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3717 $as_echo "$as_me: updating cache $cache_file" >&6;}
3718 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
3719 cat confcache
>"$cache_file"
3721 case $cache_file in #(
3723 mv -f confcache
"$cache_file"$$
&&
3724 mv -f "$cache_file"$$
"$cache_file" ;; #(
3726 mv -f confcache
"$cache_file" ;;
3731 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3732 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3737 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
3738 # Let make expand exec_prefix.
3739 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
3741 DEFS
=-DHAVE_CONFIG_H
3746 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
3747 # 1. Remove the extension, and $U if already installed.
3748 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
3749 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
3750 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3751 # will be set to the directory where LIBOBJS objects are built.
3752 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3753 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
3757 LTLIBOBJS
=$ac_ltlibobjs
3761 : "${CONFIG_STATUS=./config.status}"
3763 ac_clean_files_save
=$ac_clean_files
3764 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
3765 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3766 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3768 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3770 # Generated by $as_me.
3771 # Run this file to recreate the current configuration.
3772 # Compiler output produced by configure, useful for debugging
3773 # configure, is in config.log if it exists.
3779 SHELL=\${CONFIG_SHELL-$SHELL}
3782 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
3783 ## -------------------- ##
3784 ## M4sh Initialization. ##
3785 ## -------------------- ##
3787 # Be more Bourne compatible
3788 DUALCASE
=1; export DUALCASE
# for MKS sh
3789 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
3792 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3793 # is contrary to our usage. Disable this feature.
3794 alias -g '${1+"$@"}'='"$@"'
3795 setopt NO_GLOB_SUBST
3797 case `(set -o) 2>/dev/null` in #(
3809 # Printing a long string crashes Solaris 7 /usr/bin/printf.
3810 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3811 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3812 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3813 # Prefer a ksh shell builtin over an external printf program on Solaris,
3814 # but without wasting forks for bash or zsh.
3815 if test -z "$BASH_VERSION$ZSH_VERSION" \
3816 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
3817 as_echo='print
-r --'
3818 as_echo_n='print
-rn --'
3819 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3820 as_echo='printf %s
\n'
3821 as_echo_n='printf %s
'
3823 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3824 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
3825 as_echo_n='/usr
/ucb
/echo -n'
3827 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3828 as_echo_n_body='eval
3832 expr "X$arg" : "X\\(.*\\)$as_nl";
3833 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3835 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
3837 export as_echo_n_body
3838 as_echo_n='sh
-c $as_echo_n_body as_echo
'
3841 as_echo='sh
-c $as_echo_body as_echo
'
3844 # The user is always right.
3845 if test "${PATH_SEPARATOR+set}" != set; then
3847 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3848 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3855 # We need space, tab and new line, in precisely that order. Quoting is
3856 # there to prevent editors from complaining about space-tab.
3857 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3858 # splitting by setting IFS to empty value.)
3861 # Find who we are. Look in the path if we contain no directory separator.
3864 *[\\/]* ) as_myself=$0 ;;
3865 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3869 test -z "$as_dir" && as_dir=.
3870 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3876 # We did not find ourselves, most probably we were run as `sh COMMAND'
3877 # in which case we are not to be found in the path.
3878 if test "x$as_myself" = x
; then
3881 if test ! -f "$as_myself"; then
3882 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3886 # Unset variables that we do not need and which cause bugs (e.g. in
3887 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
3888 # suppresses any "Segmentation fault" message there. '((' could
3889 # trigger a bug in pdksh 5.2.14.
3890 for as_var
in BASH_ENV ENV MAIL MAILPATH
3891 do eval test x\
${$as_var+set} = xset \
3892 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
3905 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
3908 # as_fn_error STATUS ERROR [LINENO LOG_FD]
3909 # ----------------------------------------
3910 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3911 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3912 # script with STATUS, using 1 if that was 0.
3915 as_status
=$1; test $as_status -eq 0 && as_status
=1
3917 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
3918 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
3920 $as_echo "$as_me: error: $2" >&2
3921 as_fn_exit
$as_status
3925 # as_fn_set_status STATUS
3926 # -----------------------
3927 # Set $? to STATUS, without forking.
3931 } # as_fn_set_status
3935 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3945 # Portably unset VAR.
3948 { eval $1=; unset $1;}
3950 as_unset
=as_fn_unset
3951 # as_fn_append VAR VALUE
3952 # ----------------------
3953 # Append the text in VALUE to the end of the definition contained in VAR. Take
3954 # advantage of any shell optimizations that allow amortized linear growth over
3955 # repeated appends, instead of the typical quadratic growth present in naive
3957 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
3958 eval 'as_fn_append ()
3969 # as_fn_arith ARG...
3970 # ------------------
3971 # Perform arithmetic evaluation on the ARGs, and store the result in the
3972 # global $as_val. Take advantage of shells that can avoid forks. The arguments
3973 # must be portable across $(()) and expr.
3974 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
3975 eval 'as_fn_arith ()
3982 as_val
=`expr "$@" || test $? -eq 1`
3987 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
3988 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
3994 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3995 as_basename
=basename
4000 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
4006 as_me
=`$as_basename -- "$0" ||
4007 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4008 X"$0" : 'X\(//\)$' \| \
4009 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4011 sed '/^.*\/\([^/][^/]*\)\/*$/{
4025 # Avoid depending upon Character Ranges.
4026 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
4027 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4028 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
4029 as_cr_digits
='0123456789'
4030 as_cr_alnum
=$as_cr_Letters$as_cr_digits
4032 ECHO_C
= ECHO_N
= ECHO_T
=
4033 case `echo -n x` in #(((((
4035 case `echo 'xy\c'` in
4036 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
4038 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
4045 rm -f conf$$ conf$$.exe conf$$.
file
4046 if test -d conf$$.dir
; then
4047 rm -f conf$$.dir
/conf$$.
file
4050 mkdir conf$$.dir
2>/dev
/null
4052 if (echo >conf$$.
file) 2>/dev
/null
; then
4053 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
4055 # ... but there are two gotchas:
4056 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4057 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4058 # In both cases, we have to default to `cp -pR'.
4059 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
4061 elif ln conf$$.
file conf$$
2>/dev
/null
; then
4069 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
4070 rmdir conf$$.dir
2>/dev
/null
4075 # Create "$as_dir" as a directory, including parents if necessary.
4080 -*) as_dir
=.
/$as_dir;;
4082 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
4086 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4087 *) as_qdir
=$as_dir;;
4089 as_dirs
="'$as_qdir' $as_dirs"
4090 as_dir
=`$as_dirname -- "$as_dir" ||
4091 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4092 X"$as_dir" : 'X\(//\)[^/]' \| \
4093 X"$as_dir" : 'X\(//\)$' \| \
4094 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4095 $as_echo X"$as_dir" |
4096 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4113 test -d "$as_dir" && break
4115 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
4116 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
4120 if mkdir
-p .
2>/dev
/null
; then
4121 as_mkdir_p
='mkdir -p "$as_dir"'
4123 test -d .
/-p && rmdir .
/-p
4128 # as_fn_executable_p FILE
4129 # -----------------------
4130 # Test if FILE is an executable regular file.
4131 as_fn_executable_p
()
4133 test -f "$1" && test -x "$1"
4134 } # as_fn_executable_p
4136 as_executable_p
=as_fn_executable_p
4138 # Sed expression to map a string onto a valid CPP name.
4139 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4141 # Sed expression to map a string onto a valid variable name.
4142 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4146 ## ----------------------------------- ##
4147 ## Main body of $CONFIG_STATUS script. ##
4148 ## ----------------------------------- ##
4150 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
4152 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4153 # Save the log message, to keep $0 and so on meaningful, and to
4154 # report actual input values of CONFIG_FILES etc. instead of their
4155 # values after options handling.
4157 This file was extended by m2 $as_me , which was
4158 generated by GNU Autoconf 2.69. Invocation command line was
4160 CONFIG_FILES = $CONFIG_FILES
4161 CONFIG_HEADERS = $CONFIG_HEADERS
4162 CONFIG_LINKS = $CONFIG_LINKS
4163 CONFIG_COMMANDS = $CONFIG_COMMANDS
4166 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4172 case $ac_config_headers in *"
4173 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
4177 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4178 # Files that config.status was made for.
4179 config_headers="$ac_config_headers"
4183 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4185 \`$as_me' instantiates files and other configuration actions
4186 from templates according to the current configuration. Unless the files
4187 and actions are specified as TAGs, all are instantiated by default.
4189 Usage: $0 [OPTION]... [TAG]...
4191 -h, --help print this help, then exit
4192 -V, --version print version number and configuration settings, then exit
4193 --config print configuration, then exit
4194 -q, --quiet, --silent
4195 do not print progress messages
4196 -d, --debug don't remove temporary files
4197 --recheck update $as_me by reconfiguring in the same conditions
4198 --header=FILE[:TEMPLATE]
4199 instantiate the configuration header FILE
4201 Configuration headers:
4204 Report bugs to the package provider."
4207 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4208 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4211 configured by $0, generated by GNU Autoconf 2.69,
4212 with options \\"\$ac_cs_config\\"
4214 Copyright (C) 2012 Free Software Foundation, Inc.
4215 This config.status script is free software; the Free Software Foundation
4216 gives unlimited permission to copy, distribute and modify it."
4220 test -n "\$AWK" || AWK=awk
4223 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4224 # The default lists apply if the user does not specify any file.
4230 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
4231 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
4235 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
4247 # Handling of the options.
4248 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
4250 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
4251 $as_echo "$ac_cs_version"; exit ;;
4252 --config |
--confi |
--conf |
--con |
--co |
--c )
4253 $as_echo "$ac_cs_config"; exit ;;
4254 --debug |
--debu |
--deb |
--de |
--d |
-d )
4256 --header |
--heade |
--head |
--hea )
4259 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4261 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
4262 ac_need_defaults
=false
;;
4264 # Conflict between --help and --header
4265 as_fn_error $?
"ambiguous option: \`$1'
4266 Try \`$0 --help' for more information.";;
4267 --help |
--hel |
-h )
4268 $as_echo "$ac_cs_usage"; exit ;;
4269 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
4270 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
4274 -*) as_fn_error $?
"unrecognized option: \`$1'
4275 Try \`$0 --help' for more information." ;;
4277 *) as_fn_append ac_config_targets
" $1"
4278 ac_need_defaults
=false
;;
4284 ac_configure_extra_args
=
4286 if $ac_cs_silent; then
4288 ac_configure_extra_args
="$ac_configure_extra_args --silent"
4292 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4293 if \$ac_cs_recheck; then
4294 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4296 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4297 CONFIG_SHELL='$SHELL'
4303 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4307 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4308 ## Running $as_me. ##
4314 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4317 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4319 # Handling of arguments.
4320 for ac_config_target
in $ac_config_targets
4322 case $ac_config_target in
4323 "gm2config.aci") CONFIG_HEADERS
="$CONFIG_HEADERS gm2config.aci" ;;
4325 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4330 # If the user did not use the arguments to specify the items to instantiate,
4331 # then the envvar interface is used. Set only those that are not.
4332 # We use the long form for the default assignment because of an extremely
4333 # bizarre bug on SunOS 4.1.3.
4334 if $ac_need_defaults; then
4335 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
4338 # Have a temporary directory for convenience. Make it in the build tree
4339 # simply because there is no reason against having it here, and in addition,
4340 # creating and moving files from /tmp can sometimes cause problems.
4341 # Hook for its removal unless debugging.
4342 # Note that there is a small window in which the directory will not be cleaned:
4343 # after its creation but before its name has been assigned to `$tmp'.
4347 trap 'exit_status=$?
4349 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
4351 trap 'as_fn_exit 1' 1 2 13 15
4353 # Create a (secure) tmp directory for tmp files.
4356 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4360 tmp
=.
/conf$$
-$RANDOM
4361 (umask 077 && mkdir
"$tmp")
4362 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
4365 # Set up the scripts for CONFIG_HEADERS section.
4366 # No need to generate them if there are no CONFIG_HEADERS.
4367 # This happens for instance with `./config.status Makefile'.
4368 if test -n "$CONFIG_HEADERS"; then
4369 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
4373 # Transform confdefs.h into an awk script `defines.awk', embedded as
4374 # here-document in config.status, that substitutes the proper values into
4375 # config.h.in to produce config.h.
4377 # Create a delimiter string that does not exist in confdefs.h, to ease
4378 # handling of long lines.
4380 for ac_last_try
in false false
:; do
4381 ac_tt
=`sed -n "/$ac_delim/p" confdefs.h`
4382 if test -z "$ac_tt"; then
4384 elif $ac_last_try; then
4385 as_fn_error $?
"could not make $CONFIG_HEADERS" "$LINENO" 5
4387 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
4391 # For the awk script, D is an array of macro values keyed by name,
4392 # likewise P contains macro parameters if any. Preserve backslash
4393 # newline sequences.
4395 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
4397 s/.\{148\}/&'"$ac_delim"'/g
4400 s/^[ ]*#[ ]*define[ ][ ]*/ /
4407 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
4409 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
4413 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
4414 D["\1"]=" \3\\\\\\n"\\/p
4416 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
4421 s/.\{148\}/&'"$ac_delim"'/g
4426 s/["\\]/\\&/g; s/^/"/; s/$/"/p
4429 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
4431 ' <confdefs.h |
sed '
4432 s/'"$ac_delim"'/"\\\
4433 "/g' >>$CONFIG_STATUS || ac_write_fail
=1
4435 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4436 for (key in D) D_is_set[key] = 1
4439 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
4441 split(line, arg, " ")
4442 if (arg[1] == "#") {
4446 defundef = substr(arg[1], 2)
4449 split(mac1, mac2, "(") #)
4451 prefix = substr(line, 1, index(line, defundef) - 1)
4452 if (D_is_set[macro]) {
4453 # Preserve the white space surrounding the "#".
4454 print prefix "define", macro P[macro] D[macro]
4457 # Replace #undef with comments. This is necessary, for example,
4458 # in the case of _POSIX_SOURCE, which is predefined and required
4459 # on some systems where configure will not decide to define it.
4460 if (defundef == "undef") {
4461 print "/*", prefix defundef, macro, "*/"
4469 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4470 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
4471 fi # test -n "$CONFIG_HEADERS"
4474 eval set X
" :H $CONFIG_HEADERS "
4479 :[FHLC
]) ac_mode
=$ac_tag; continue;;
4481 case $ac_mode$ac_tag in
4483 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
4484 :[FH
]-) ac_tag
=-:-;;
4485 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
4502 -) ac_f
="$ac_tmp/stdin";;
4503 *) # Look for the file first in the build tree, then in the source tree
4504 # (if the path is not absolute). The absolute path cannot be DOS-style,
4505 # because $ac_f cannot contain `:'.
4509 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
4511 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4513 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4514 as_fn_append ac_file_inputs
" '$ac_f'"
4517 # Let's still pretend it is `configure' which instantiates (i.e., don't
4518 # use $as_me), people would be surprised to read:
4519 # /* config.h. Generated by config.status. */
4520 configure_input
='Generated from '`
4521 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4523 if test x
"$ac_file" != x-
; then
4524 configure_input
="$ac_file. $configure_input"
4525 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
4526 $as_echo "$as_me: creating $ac_file" >&6;}
4528 # Neutralize special characters interpreted by sed in replacement strings.
4529 case $configure_input in #(
4530 *\
&* |
*\|
* |
*\\* )
4531 ac_sed_conf_input
=`$as_echo "$configure_input" |
4532 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4533 *) ac_sed_conf_input
=$configure_input;;
4537 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
4538 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
4543 ac_dir
=`$as_dirname -- "$ac_file" ||
4544 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4545 X"$ac_file" : 'X\(//\)[^/]' \| \
4546 X"$ac_file" : 'X\(//\)$' \| \
4547 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4548 $as_echo X"$ac_file" |
4549 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4566 as_dir
="$ac_dir"; as_fn_mkdir_p
4570 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
4572 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4573 # A ".." for each directory in $ac_dir_suffix.
4574 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4575 case $ac_top_builddir_sub in
4576 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
4577 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
4580 ac_abs_top_builddir
=$ac_pwd
4581 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
4582 # for backward compatibility:
4583 ac_top_builddir
=$ac_top_build_prefix
4586 .
) # We are building in place.
4588 ac_top_srcdir
=$ac_top_builddir_sub
4589 ac_abs_top_srcdir
=$ac_pwd ;;
4590 [\\/]* | ?
:[\\/]* ) # Absolute name.
4591 ac_srcdir
=$srcdir$ac_dir_suffix;
4592 ac_top_srcdir
=$srcdir
4593 ac_abs_top_srcdir
=$srcdir ;;
4595 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
4596 ac_top_srcdir
=$ac_top_build_prefix$srcdir
4597 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
4599 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
4608 if test x
"$ac_file" != x-
; then
4610 $as_echo "/* $configure_input */" \
4611 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
4612 } >"$ac_tmp/config.h" \
4613 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5
4614 if diff "$ac_file" "$ac_tmp/config.h" >/dev
/null
2>&1; then
4615 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
4616 $as_echo "$as_me: $ac_file is unchanged" >&6;}
4619 mv "$ac_tmp/config.h" "$ac_file" \
4620 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5
4623 $as_echo "/* $configure_input */" \
4624 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
4625 || as_fn_error $?
"could not create -" "$LINENO" 5
4633 case $ac_file$ac_mode in
4634 "gm2config.aci":H
) echo timestamp
> stamp-h
;;
4642 ac_clean_files
=$ac_clean_files_save
4644 test $ac_write_fail = 0 ||
4645 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
4648 # configure is writing to config.log, and then calls config.status.
4649 # config.status does its own redirection, appending to config.log.
4650 # Unfortunately, on DOS this fails, as config.log is still kept open
4651 # by configure, so config.status won't be able to write to it; its
4652 # output is simply discarded. So we exec the FD to /dev/null,
4653 # effectively closing config.log, so it can be properly (re)opened and
4654 # appended to by config.status. When coming back to configure, we
4655 # need to make the FD available again.
4656 if test "$no_create" != yes; then
4658 ac_config_status_args
=
4659 test "$silent" = yes &&
4660 ac_config_status_args
="$ac_config_status_args --quiet"
4662 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
4664 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4665 # would make configure fail if this is the last instruction.
4666 $ac_cs_success || as_fn_exit
1
4668 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
4669 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4670 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}