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
673 program_transform_name
686 enable_option_checking
688 ac_precious_vars
='build_alias
699 # Initialize some variables set by options.
701 ac_init_version
=false
702 ac_unrecognized_opts
=
704 # The variables have the same names as the options, with
705 # dashes changed to underlines.
713 program_transform_name
=s
,x
,x
,
721 # Installation directory options.
722 # These are left unexpanded so users can "make install exec_prefix=/foo"
723 # and all the variables that are supposed to be based on exec_prefix
724 # by default will actually change.
725 # Use braces instead of parens because sh, perl, etc. also accept them.
726 # (The list follows the same order as the GNU Coding Standards.)
727 bindir
='${exec_prefix}/bin'
728 sbindir
='${exec_prefix}/sbin'
729 libexecdir
='${exec_prefix}/libexec'
730 datarootdir
='${prefix}/share'
731 datadir
='${datarootdir}'
732 sysconfdir
='${prefix}/etc'
733 sharedstatedir
='${prefix}/com'
734 localstatedir
='${prefix}/var'
735 includedir
='${prefix}/include'
736 oldincludedir
='/usr/include'
737 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
738 infodir
='${datarootdir}/info'
743 libdir
='${exec_prefix}/lib'
744 localedir
='${datarootdir}/locale'
745 mandir
='${datarootdir}/man'
751 # If the previous option needs an argument, assign it.
752 if test -n "$ac_prev"; then
753 eval $ac_prev=\
$ac_option
759 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
764 # Accept the important Cygnus configure options, so we can diagnose typos.
766 case $ac_dashdash$ac_option in
770 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
772 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
775 -build |
--build |
--buil |
--bui |
--bu)
776 ac_prev
=build_alias
;;
777 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
778 build_alias
=$ac_optarg ;;
780 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
781 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
782 ac_prev
=cache_file
;;
783 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
784 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
785 cache_file
=$ac_optarg ;;
788 cache_file
=config.cache
;;
790 -datadir |
--datadir |
--datadi |
--datad)
792 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
793 datadir
=$ac_optarg ;;
795 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
796 |
--dataroo |
--dataro |
--datar)
797 ac_prev
=datarootdir
;;
798 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
799 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
800 datarootdir
=$ac_optarg ;;
802 -disable-* |
--disable-*)
803 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
804 # Reject names that are not valid shell variable names.
805 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
806 as_fn_error $?
"invalid feature name: $ac_useropt"
807 ac_useropt_orig
=$ac_useropt
808 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
809 case $ac_user_opts in
813 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
814 ac_unrecognized_sep
=', ';;
816 eval enable_
$ac_useropt=no
;;
818 -docdir |
--docdir |
--docdi |
--doc |
--do)
820 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
823 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
825 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
828 -enable-* |
--enable-*)
829 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
830 # Reject names that are not valid shell variable names.
831 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
832 as_fn_error $?
"invalid feature name: $ac_useropt"
833 ac_useropt_orig
=$ac_useropt
834 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
835 case $ac_user_opts in
839 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
840 ac_unrecognized_sep
=', ';;
842 eval enable_
$ac_useropt=\
$ac_optarg ;;
844 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
845 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
846 |
--exec |
--exe |
--ex)
847 ac_prev
=exec_prefix
;;
848 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
849 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
850 |
--exec=* |
--exe=* |
--ex=*)
851 exec_prefix
=$ac_optarg ;;
853 -gas |
--gas |
--ga |
--g)
854 # Obsolete; use --with-gas.
857 -help |
--help |
--hel |
--he |
-h)
859 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
860 ac_init_help
=recursive
;;
861 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
862 ac_init_help
=short
;;
864 -host |
--host |
--hos |
--ho)
865 ac_prev
=host_alias
;;
866 -host=* |
--host=* |
--hos=* |
--ho=*)
867 host_alias
=$ac_optarg ;;
869 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
871 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
873 htmldir
=$ac_optarg ;;
875 -includedir |
--includedir |
--includedi |
--included |
--include \
876 |
--includ |
--inclu |
--incl |
--inc)
877 ac_prev
=includedir
;;
878 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
879 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
880 includedir
=$ac_optarg ;;
882 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
884 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
885 infodir
=$ac_optarg ;;
887 -libdir |
--libdir |
--libdi |
--libd)
889 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
892 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
893 |
--libexe |
--libex |
--libe)
894 ac_prev
=libexecdir
;;
895 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
896 |
--libexe=* |
--libex=* |
--libe=*)
897 libexecdir
=$ac_optarg ;;
899 -localedir |
--localedir |
--localedi |
--localed |
--locale)
901 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
902 localedir
=$ac_optarg ;;
904 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
905 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
906 ac_prev
=localstatedir
;;
907 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
908 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
909 localstatedir
=$ac_optarg ;;
911 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
913 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
917 # Obsolete; use --without-fp.
920 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
921 |
--no-cr |
--no-c |
-n)
924 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
925 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
928 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
929 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
930 |
--oldin |
--oldi |
--old |
--ol |
--o)
931 ac_prev
=oldincludedir
;;
932 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
933 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
934 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
935 oldincludedir
=$ac_optarg ;;
937 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
939 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
942 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
943 |
--program-pre |
--program-pr |
--program-p)
944 ac_prev
=program_prefix
;;
945 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
946 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
947 program_prefix
=$ac_optarg ;;
949 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
950 |
--program-suf |
--program-su |
--program-s)
951 ac_prev
=program_suffix
;;
952 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
953 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
954 program_suffix
=$ac_optarg ;;
956 -program-transform-name |
--program-transform-name \
957 |
--program-transform-nam |
--program-transform-na \
958 |
--program-transform-n |
--program-transform- \
959 |
--program-transform |
--program-transfor \
960 |
--program-transfo |
--program-transf \
961 |
--program-trans |
--program-tran \
962 |
--progr-tra |
--program-tr |
--program-t)
963 ac_prev
=program_transform_name
;;
964 -program-transform-name=* |
--program-transform-name=* \
965 |
--program-transform-nam=* |
--program-transform-na=* \
966 |
--program-transform-n=* |
--program-transform-=* \
967 |
--program-transform=* |
--program-transfor=* \
968 |
--program-transfo=* |
--program-transf=* \
969 |
--program-trans=* |
--program-tran=* \
970 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
971 program_transform_name
=$ac_optarg ;;
973 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
975 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
978 -psdir |
--psdir |
--psdi |
--psd |
--ps)
980 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
983 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
984 |
-silent |
--silent |
--silen |
--sile |
--sil)
987 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
989 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
991 sbindir
=$ac_optarg ;;
993 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
994 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
995 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
997 ac_prev
=sharedstatedir
;;
998 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
999 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1000 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1002 sharedstatedir
=$ac_optarg ;;
1004 -site |
--site |
--sit)
1006 -site=* |
--site=* |
--sit=*)
1009 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1011 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1012 srcdir
=$ac_optarg ;;
1014 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1015 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1016 ac_prev
=sysconfdir
;;
1017 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1018 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1019 sysconfdir
=$ac_optarg ;;
1021 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1022 ac_prev
=target_alias
;;
1023 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1024 target_alias
=$ac_optarg ;;
1026 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1029 -version |
--version |
--versio |
--versi |
--vers |
-V)
1030 ac_init_version
=: ;;
1033 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1034 # Reject names that are not valid shell variable names.
1035 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1036 as_fn_error $?
"invalid package name: $ac_useropt"
1037 ac_useropt_orig
=$ac_useropt
1038 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1039 case $ac_user_opts in
1043 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1044 ac_unrecognized_sep
=', ';;
1046 eval with_
$ac_useropt=\
$ac_optarg ;;
1048 -without-* |
--without-*)
1049 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1050 # Reject names that are not valid shell variable names.
1051 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1052 as_fn_error $?
"invalid package name: $ac_useropt"
1053 ac_useropt_orig
=$ac_useropt
1054 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1055 case $ac_user_opts in
1059 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1060 ac_unrecognized_sep
=', ';;
1062 eval with_
$ac_useropt=no
;;
1065 # Obsolete; use --with-x.
1068 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1069 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1070 ac_prev
=x_includes
;;
1071 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1072 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1073 x_includes
=$ac_optarg ;;
1075 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1076 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1077 ac_prev
=x_libraries
;;
1078 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1079 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1080 x_libraries
=$ac_optarg ;;
1082 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1083 Try \`$0 --help' for more information"
1087 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1088 # Reject names that are not valid shell variable names.
1089 case $ac_envvar in #(
1090 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1091 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1093 eval $ac_envvar=\
$ac_optarg
1094 export $ac_envvar ;;
1097 # FIXME: should be removed in autoconf 3.0.
1098 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1099 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1100 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1101 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1107 if test -n "$ac_prev"; then
1108 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1109 as_fn_error $?
"missing argument to $ac_option"
1112 if test -n "$ac_unrecognized_opts"; then
1113 case $enable_option_checking in
1115 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1116 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1120 # Check all directory arguments for consistency.
1121 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1122 datadir sysconfdir sharedstatedir localstatedir includedir \
1123 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1124 libdir localedir mandir
1126 eval ac_val
=\$
$ac_var
1127 # Remove trailing slashes.
1130 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1131 eval $ac_var=\
$ac_val;;
1133 # Be sure to have absolute directory names.
1135 [\\/$
]* | ?
:[\\/]* ) continue;;
1136 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1138 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1141 # There might be people who depend on the old broken behavior: `$host'
1142 # used to hold the argument of --host etc.
1143 # FIXME: To remove some day.
1146 target
=$target_alias
1148 # FIXME: To remove some day.
1149 if test "x$host_alias" != x
; then
1150 if test "x$build_alias" = x
; then
1151 cross_compiling
=maybe
1152 elif test "x$build_alias" != "x$host_alias"; then
1158 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1160 test "$silent" = yes && exec 6>/dev
/null
1163 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1164 ac_ls_di
=`ls -di .` &&
1165 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1166 as_fn_error $?
"working directory cannot be determined"
1167 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1168 as_fn_error $?
"pwd does not report name of working directory"
1171 # Find the source files, if location was not specified.
1172 if test -z "$srcdir"; then
1173 ac_srcdir_defaulted
=yes
1174 # Try the directory containing this script, then the parent directory.
1175 ac_confdir
=`$as_dirname -- "$as_myself" ||
1176 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1177 X"$as_myself" : 'X\(//\)[^/]' \| \
1178 X"$as_myself" : 'X\(//\)$' \| \
1179 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1180 $as_echo X"$as_myself" |
1181 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1199 if test ! -r "$srcdir/$ac_unique_file"; then
1203 ac_srcdir_defaulted
=no
1205 if test ! -r "$srcdir/$ac_unique_file"; then
1206 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1207 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1209 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1211 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1213 # When building in place, set srcdir=.
1214 if test "$ac_abs_confdir" = "$ac_pwd"; then
1217 # Remove unnecessary trailing slashes from srcdir.
1218 # Double slashes in file names in object file debugging info
1219 # mess up M-x gdb in Emacs.
1221 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1223 for ac_var
in $ac_precious_vars; do
1224 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1225 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1226 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1227 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1231 # Report the --help message.
1233 if test "$ac_init_help" = "long"; then
1234 # Omit some internal or obsolete options to make the list less imposing.
1235 # This message is too long to be a string in the A/UX 3.1 sh.
1237 \`configure' configures m2 to adapt to many kinds of systems.
1239 Usage: $0 [OPTION]... [VAR=VALUE]...
1241 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1242 VAR=VALUE. See below for descriptions of some of the useful variables.
1244 Defaults for the options are specified in brackets.
1247 -h, --help display this help and exit
1248 --help=short display options specific to this package
1249 --help=recursive display the short help of all the included packages
1250 -V, --version display version information and exit
1251 -q, --quiet, --silent do not print \`checking ...' messages
1252 --cache-file=FILE cache test results in FILE [disabled]
1253 -C, --config-cache alias for \`--cache-file=config.cache'
1254 -n, --no-create do not create output files
1255 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1257 Installation directories:
1258 --prefix=PREFIX install architecture-independent files in PREFIX
1259 [$ac_default_prefix]
1260 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1263 By default, \`make install' will install all the files in
1264 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1265 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1266 for instance \`--prefix=\$HOME'.
1268 For better control, use the options below.
1270 Fine tuning of the installation directories:
1271 --bindir=DIR user executables [EPREFIX/bin]
1272 --sbindir=DIR system admin executables [EPREFIX/sbin]
1273 --libexecdir=DIR program executables [EPREFIX/libexec]
1274 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1275 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1276 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1277 --libdir=DIR object code libraries [EPREFIX/lib]
1278 --includedir=DIR C header files [PREFIX/include]
1279 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1280 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1281 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1282 --infodir=DIR info documentation [DATAROOTDIR/info]
1283 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1284 --mandir=DIR man documentation [DATAROOTDIR/man]
1285 --docdir=DIR documentation root [DATAROOTDIR/doc/m2]
1286 --htmldir=DIR html documentation [DOCDIR]
1287 --dvidir=DIR dvi documentation [DOCDIR]
1288 --pdfdir=DIR pdf documentation [DOCDIR]
1289 --psdir=DIR ps documentation [DOCDIR]
1295 --build=BUILD configure
for building on BUILD
[guessed
]
1296 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1297 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1301 if test -n "$ac_init_help"; then
1302 case $ac_init_help in
1303 short | recursive
) echo "Configuration of m2 :";;
1307 Some influential environment variables
:
1308 CC C compiler
command
1309 CFLAGS C compiler flags
1310 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1311 nonstandard directory
<lib dir
>
1312 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1313 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1314 you have headers
in a nonstandard directory
<include dir
>
1317 Use these variables to override the choices made by
`configure' or to help
1318 it to find libraries and programs with nonstandard names/locations.
1320 Report bugs to the package provider.
1325 if test "$ac_init_help" = "recursive"; then
1326 # If there are subdirs, report their specific --help.
1327 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1328 test -d "$ac_dir" ||
1329 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1334 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1336 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1337 # A ".." for each directory in $ac_dir_suffix.
1338 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1339 case $ac_top_builddir_sub in
1340 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1341 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1344 ac_abs_top_builddir=$ac_pwd
1345 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1346 # for backward compatibility:
1347 ac_top_builddir=$ac_top_build_prefix
1350 .) # We are building in place.
1352 ac_top_srcdir=$ac_top_builddir_sub
1353 ac_abs_top_srcdir=$ac_pwd ;;
1354 [\\/]* | ?:[\\/]* ) # Absolute name.
1355 ac_srcdir=$srcdir$ac_dir_suffix;
1356 ac_top_srcdir=$srcdir
1357 ac_abs_top_srcdir=$srcdir ;;
1359 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1360 ac_top_srcdir=$ac_top_build_prefix$srcdir
1361 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1363 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1365 cd "$ac_dir" || { ac_status=$?; continue; }
1366 # Check for guested configure.
1367 if test -f "$ac_srcdir/configure.gnu"; then
1369 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1370 elif test -f "$ac_srcdir/configure"; then
1372 $SHELL "$ac_srcdir/configure" --help=recursive
1374 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1376 cd "$ac_pwd" || { ac_status=$?; break; }
1380 test -n "$ac_init_help" && exit $ac_status
1381 if $ac_init_version; then
1384 generated by GNU Autoconf 2.69
1386 Copyright (C) 2012 Free Software Foundation, Inc.
1387 This configure script is free software; the Free Software Foundation
1388 gives unlimited permission to copy, distribute and modify it.
1393 ## ------------------------ ##
1394 ## Autoconf initialization. ##
1395 ## ------------------------ ##
1397 # ac_fn_c_try_compile LINENO
1398 # --------------------------
1399 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1400 ac_fn_c_try_compile ()
1402 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1403 rm -f conftest.$ac_objext
1404 if { { ac_try="$ac_compile"
1406 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1407 *) ac_try_echo
=$ac_try;;
1409 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1410 $as_echo "$ac_try_echo"; } >&5
1411 (eval "$ac_compile") 2>conftest.err
1413 if test -s conftest.err
; then
1414 grep -v '^ *+' conftest.err
>conftest.er1
1415 cat conftest.er1
>&5
1416 mv -f conftest.er1 conftest.err
1418 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1419 test $ac_status = 0; } && {
1420 test -z "$ac_c_werror_flag" ||
1421 test ! -s conftest.err
1422 } && test -s conftest.
$ac_objext; then :
1425 $as_echo "$as_me: failed program was:" >&5
1426 sed 's/^/| /' conftest.
$ac_ext >&5
1430 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1431 as_fn_set_status
$ac_retval
1433 } # ac_fn_c_try_compile
1435 # ac_fn_c_try_link LINENO
1436 # -----------------------
1437 # Try to link conftest.$ac_ext, and return whether this succeeded.
1440 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1441 rm -f conftest.
$ac_objext conftest
$ac_exeext
1442 if { { ac_try
="$ac_link"
1444 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1445 *) ac_try_echo=$ac_try;;
1447 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1448 $as_echo "$ac_try_echo"; } >&5
1449 (eval "$ac_link") 2>conftest.err
1451 if test -s conftest.err; then
1452 grep -v '^ *+' conftest.err >conftest.er1
1453 cat conftest.er1 >&5
1454 mv -f conftest.er1 conftest.err
1456 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1457 test $ac_status = 0; } && {
1458 test -z "$ac_c_werror_flag" ||
1459 test ! -s conftest.err
1460 } && test -s conftest$ac_exeext && {
1461 test "$cross_compiling" = yes ||
1462 test -x conftest$ac_exeext
1466 $as_echo "$as_me: failed program was:" >&5
1467 sed 's/^/| /' conftest.$ac_ext >&5
1471 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1472 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1473 # interfere with the next link command; also delete a directory that is
1474 # left behind by Apple's compiler. We do this before executing the actions.
1475 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1476 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1477 as_fn_set_status $ac_retval
1479 } # ac_fn_c_try_link
1481 # ac_fn_c_check_func LINENO FUNC VAR
1482 # ----------------------------------
1483 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1484 ac_fn_c_check_func ()
1486 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1488 $as_echo_n "checking for $2... " >&6; }
1489 if eval \${$3+:} false; then :
1490 $as_echo_n "(cached) " >&6
1492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1493 /* end confdefs.h. */
1494 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1495 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1496 #define $2 innocuous_$2
1498 /* System header to define __stub macros and hopefully few prototypes,
1499 which can conflict with char $2 (); below.
1500 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1501 <limits.h> exists even on freestanding compilers. */
1504 # include <limits.h>
1506 # include <assert.h>
1511 /* Override any GCC internal prototype to avoid an error.
1512 Use char because int might match the return type of a GCC
1513 builtin and then its argument prototype would still apply. */
1518 /* The GNU C library defines this for functions which it implements
1519 to always fail with ENOSYS. Some functions are actually named
1520 something starting with __ and the normal name is an alias. */
1521 #if defined __stub_$2 || defined __stub___$2
1533 if ac_fn_c_try_link "$LINENO"; then :
1538 rm -f core conftest.err conftest.$ac_objext \
1539 conftest$ac_exeext conftest.$ac_ext
1542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1543 $as_echo "$ac_res" >&6; }
1544 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1546 } # ac_fn_c_check_func
1548 # ac_fn_c_try_cpp LINENO
1549 # ----------------------
1550 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1553 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1554 if { { ac_try="$ac_cpp conftest.$ac_ext"
1556 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1557 *) ac_try_echo
=$ac_try;;
1559 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1560 $as_echo "$ac_try_echo"; } >&5
1561 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1563 if test -s conftest.err
; then
1564 grep -v '^ *+' conftest.err
>conftest.er1
1565 cat conftest.er1
>&5
1566 mv -f conftest.er1 conftest.err
1568 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1569 test $ac_status = 0; } > conftest.i
&& {
1570 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1571 test ! -s conftest.err
1575 $as_echo "$as_me: failed program was:" >&5
1576 sed 's/^/| /' conftest.
$ac_ext >&5
1580 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1581 as_fn_set_status
$ac_retval
1585 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1586 # -------------------------------------------------------
1587 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1588 # the include files in INCLUDES and setting the cache variable VAR
1590 ac_fn_c_check_header_mongrel
()
1592 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1593 if eval \
${$3+:} false
; then :
1594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1595 $as_echo_n "checking for $2... " >&6; }
1596 if eval \
${$3+:} false
; then :
1597 $as_echo_n "(cached) " >&6
1600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1601 $as_echo "$ac_res" >&6; }
1603 # Is the header compilable?
1604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1605 $as_echo_n "checking $2 usability... " >&6; }
1606 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1607 /* end confdefs.h. */
1611 if ac_fn_c_try_compile
"$LINENO"; then :
1612 ac_header_compiler
=yes
1614 ac_header_compiler
=no
1616 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1618 $as_echo "$ac_header_compiler" >&6; }
1620 # Is the header present?
1621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1622 $as_echo_n "checking $2 presence... " >&6; }
1623 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1624 /* end confdefs.h. */
1627 if ac_fn_c_try_cpp
"$LINENO"; then :
1628 ac_header_preproc
=yes
1630 ac_header_preproc
=no
1632 rm -f conftest.err conftest.i conftest.
$ac_ext
1633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1634 $as_echo "$ac_header_preproc" >&6; }
1636 # So? What about this header?
1637 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1639 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1640 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1641 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1642 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1645 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1646 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1647 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1648 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1649 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1650 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1651 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1652 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1653 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1654 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1658 $as_echo_n "checking for $2... " >&6; }
1659 if eval \
${$3+:} false
; then :
1660 $as_echo_n "(cached) " >&6
1662 eval "$3=\$ac_header_compiler"
1665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1666 $as_echo "$ac_res" >&6; }
1668 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1670 } # ac_fn_c_check_header_mongrel
1672 # ac_fn_c_try_run LINENO
1673 # ----------------------
1674 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1675 # that executables *can* be run.
1678 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1679 if { { ac_try
="$ac_link"
1681 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1682 *) ac_try_echo=$ac_try;;
1684 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1685 $as_echo "$ac_try_echo"; } >&5
1686 (eval "$ac_link") 2>&5
1688 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1689 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1690 { { case "(($ac_try" in
1691 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1692 *) ac_try_echo
=$ac_try;;
1694 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1695 $as_echo "$ac_try_echo"; } >&5
1696 (eval "$ac_try") 2>&5
1698 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1699 test $ac_status = 0; }; }; then :
1702 $as_echo "$as_me: program exited with status $ac_status" >&5
1703 $as_echo "$as_me: failed program was:" >&5
1704 sed 's/^/| /' conftest.
$ac_ext >&5
1706 ac_retval
=$ac_status
1708 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1709 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1710 as_fn_set_status
$ac_retval
1714 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1715 # -------------------------------------------------------
1716 # Tests whether HEADER exists and can be compiled using the include files in
1717 # INCLUDES, setting the cache variable VAR accordingly.
1718 ac_fn_c_check_header_compile
()
1720 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1722 $as_echo_n "checking for $2... " >&6; }
1723 if eval \
${$3+:} false
; then :
1724 $as_echo_n "(cached) " >&6
1726 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1727 /* end confdefs.h. */
1731 if ac_fn_c_try_compile
"$LINENO"; then :
1736 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1740 $as_echo "$ac_res" >&6; }
1741 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1743 } # ac_fn_c_check_header_compile
1744 cat >config.log
<<_ACEOF
1745 This file contains any messages produced by compilers while
1746 running configure, to aid debugging if configure makes a mistake.
1748 It was created by m2 $as_me , which was
1749 generated by GNU Autoconf 2.69. Invocation command line was
1761 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1762 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1763 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1764 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1765 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1767 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1768 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1770 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1771 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1772 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1773 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1774 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1775 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1776 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1780 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1784 test -z "$as_dir" && as_dir
=.
1785 $as_echo "PATH: $as_dir"
1801 # Keep a trace of the command line.
1802 # Strip out --no-create and --no-recursion so they do not pile up.
1803 # Strip out --silent because we don't want to record it for future runs.
1804 # Also quote any args containing shell meta-characters.
1805 # Make two passes to allow for proper duplicate-argument suppression.
1809 ac_must_keep_next
=false
1815 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1816 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1817 |
-silent |
--silent |
--silen |
--sile |
--sil)
1820 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1823 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1825 as_fn_append ac_configure_args1
" '$ac_arg'"
1826 if test $ac_must_keep_next = true
; then
1827 ac_must_keep_next
=false
# Got value, back to normal.
1830 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1831 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1832 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1833 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1834 case "$ac_configure_args0 " in
1835 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1838 -* ) ac_must_keep_next
=true
;;
1841 as_fn_append ac_configure_args
" '$ac_arg'"
1846 { ac_configure_args0
=; unset ac_configure_args0
;}
1847 { ac_configure_args1
=; unset ac_configure_args1
;}
1849 # When interrupted or exit'd, cleanup temporary files, and complete
1850 # config.log. We remove comments because anyway the quotes in there
1851 # would cause problems or look ugly.
1852 # WARNING: Use '\'' to represent an apostrophe within the trap.
1853 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1854 trap 'exit_status=$?
1855 # Save into config.log some information that might help in debugging.
1859 $as_echo "## ---------------- ##
1860 ## Cache variables. ##
1861 ## ---------------- ##"
1863 # The following way of writing the cache mishandles newlines in values,
1865 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1866 eval ac_val=\$$ac_var
1870 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1871 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1874 _ | IFS | as_nl) ;; #(
1875 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1876 *) { eval $ac_var=; unset $ac_var;} ;;
1881 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1882 *${as_nl}ac_space=\ *)
1884 "s/'\''/'\''\\\\'\'''\''/g;
1885 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1888 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1895 $as_echo "## ----------------- ##
1896 ## Output variables. ##
1897 ## ----------------- ##"
1899 for ac_var in $ac_subst_vars
1901 eval ac_val=\$$ac_var
1903 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1905 $as_echo "$ac_var='\''$ac_val'\''"
1909 if test -n "$ac_subst_files"; then
1910 $as_echo "## ------------------- ##
1911 ## File substitutions. ##
1912 ## ------------------- ##"
1914 for ac_var
in $ac_subst_files
1916 eval ac_val
=\$
$ac_var
1918 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1920 $as_echo "$ac_var='\''$ac_val'\''"
1925 if test -s confdefs.h; then
1926 $as_echo "## ----------- ##
1933 test "$ac_signal" != 0 &&
1934 $as_echo "$as_me: caught signal $ac_signal"
1935 $as_echo "$as_me: exit $exit_status"
1937 rm -f core *.core core.conftest.* &&
1938 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1941 for ac_signal
in 1 2 13 15; do
1942 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1946 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1947 rm -f -r conftest
* confdefs.h
1949 $as_echo "/* confdefs.h */" > confdefs.h
1951 # Predefined preprocessor variables.
1953 cat >>confdefs.h
<<_ACEOF
1954 #define PACKAGE_NAME "$PACKAGE_NAME"
1957 cat >>confdefs.h
<<_ACEOF
1958 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1961 cat >>confdefs.h
<<_ACEOF
1962 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1965 cat >>confdefs.h
<<_ACEOF
1966 #define PACKAGE_STRING "$PACKAGE_STRING"
1969 cat >>confdefs.h
<<_ACEOF
1970 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1973 cat >>confdefs.h
<<_ACEOF
1974 #define PACKAGE_URL "$PACKAGE_URL"
1978 # Let the site file select an alternate cache file if it wants to.
1979 # Prefer an explicitly selected file to automatically selected ones.
1982 if test -n "$CONFIG_SITE"; then
1983 # We do not want a PATH search for config.site.
1984 case $CONFIG_SITE in #((
1985 -*) ac_site_file1
=.
/$CONFIG_SITE;;
1986 */*) ac_site_file1
=$CONFIG_SITE;;
1987 *) ac_site_file1
=.
/$CONFIG_SITE;;
1989 elif test "x$prefix" != xNONE
; then
1990 ac_site_file1
=$prefix/share
/config.site
1991 ac_site_file2
=$prefix/etc
/config.site
1993 ac_site_file1
=$ac_default_prefix/share
/config.site
1994 ac_site_file2
=$ac_default_prefix/etc
/config.site
1996 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
1998 test "x$ac_site_file" = xNONE
&& continue
1999 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2000 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2001 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2002 sed 's/^/| /' "$ac_site_file" >&5
2004 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2005 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2006 as_fn_error $?
"failed to load site script $ac_site_file
2007 See \`config.log' for more details" "$LINENO" 5; }
2011 if test -r "$cache_file"; then
2012 # Some versions of bash will fail to source /dev/null (special files
2013 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2014 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2015 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2016 $as_echo "$as_me: loading cache $cache_file" >&6;}
2018 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2019 *) .
"./$cache_file";;
2023 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2024 $as_echo "$as_me: creating cache $cache_file" >&6;}
2028 # Check that the precious variables saved in the cache have kept the same
2030 ac_cache_corrupted
=false
2031 for ac_var
in $ac_precious_vars; do
2032 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2033 eval ac_new_set
=\
$ac_env_${ac_var}_set
2034 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2035 eval ac_new_val
=\
$ac_env_${ac_var}_value
2036 case $ac_old_set,$ac_new_set in
2038 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2039 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2040 ac_cache_corrupted
=: ;;
2042 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2043 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2044 ac_cache_corrupted
=: ;;
2047 if test "x$ac_old_val" != "x$ac_new_val"; then
2048 # differences in whitespace do not lead to failure.
2049 ac_old_val_w
=`echo x $ac_old_val`
2050 ac_new_val_w
=`echo x $ac_new_val`
2051 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2052 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2053 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2054 ac_cache_corrupted
=:
2056 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2057 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2058 eval $ac_var=\
$ac_old_val
2060 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2061 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2062 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2063 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2066 # Pass precious variables to config.status.
2067 if test "$ac_new_set" = set; then
2069 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2070 *) ac_arg
=$ac_var=$ac_new_val ;;
2072 case " $ac_configure_args " in
2073 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2074 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2078 if $ac_cache_corrupted; then
2079 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2080 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2081 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2082 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2083 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2085 ## -------------------- ##
2086 ## Main body of script. ##
2087 ## -------------------- ##
2090 ac_cpp
='$CPP $CPPFLAGS'
2091 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2092 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2093 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2097 # Determine the host, build, and target systems
2099 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2100 if test -f "$ac_dir/install-sh"; then
2102 ac_install_sh
="$ac_aux_dir/install-sh -c"
2104 elif test -f "$ac_dir/install.sh"; then
2106 ac_install_sh
="$ac_aux_dir/install.sh -c"
2108 elif test -f "$ac_dir/shtool"; then
2110 ac_install_sh
="$ac_aux_dir/shtool install -c"
2114 if test -z "$ac_aux_dir"; then
2115 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2118 # These three variables are undocumented and unsupported,
2119 # and are intended to be withdrawn in a future Autoconf release.
2120 # They can cause serious problems if a builder's source tree is in a directory
2121 # whose full name contains unusual characters.
2122 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2123 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2124 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2127 # Make sure we can run config.sub.
2128 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2129 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2132 $as_echo_n "checking build system type... " >&6; }
2133 if ${ac_cv_build+:} false
; then :
2134 $as_echo_n "(cached) " >&6
2136 ac_build_alias
=$build_alias
2137 test "x$ac_build_alias" = x
&&
2138 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2139 test "x$ac_build_alias" = x
&&
2140 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2141 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2142 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2146 $as_echo "$ac_cv_build" >&6; }
2147 case $ac_cv_build in
2149 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2152 ac_save_IFS
=$IFS; IFS
='-'
2158 # Remember, the first character of IFS is used to create $*,
2159 # except with old shells:
2162 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2166 $as_echo_n "checking host system type... " >&6; }
2167 if ${ac_cv_host+:} false
; then :
2168 $as_echo_n "(cached) " >&6
2170 if test "x$host_alias" = x
; then
2171 ac_cv_host
=$ac_cv_build
2173 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2174 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2179 $as_echo "$ac_cv_host" >&6; }
2182 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2185 ac_save_IFS
=$IFS; IFS
='-'
2191 # Remember, the first character of IFS is used to create $*,
2192 # except with old shells:
2195 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2199 $as_echo_n "checking target system type... " >&6; }
2200 if ${ac_cv_target+:} false
; then :
2201 $as_echo_n "(cached) " >&6
2203 if test "x$target_alias" = x
; then
2204 ac_cv_target
=$ac_cv_host
2206 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2207 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2212 $as_echo "$ac_cv_target" >&6; }
2213 case $ac_cv_target in
2215 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
2217 target
=$ac_cv_target
2218 ac_save_IFS
=$IFS; IFS
='-'
2224 # Remember, the first character of IFS is used to create $*,
2225 # except with old shells:
2228 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2231 # The aliases save the names the user supplied, while $host etc.
2232 # will get canonicalized.
2233 test -n "$target_alias" &&
2234 test "$program_prefix$program_suffix$program_transform_name" = \
2236 program_prefix
=${target_alias}-
2238 for ac_prog
in realpath
2240 # Extract the first word of "$ac_prog", so it can be a program name with args.
2241 set dummy
$ac_prog; ac_word
=$2
2242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2243 $as_echo_n "checking for $ac_word... " >&6; }
2244 if ${ac_cv_prog_regex_realpath+:} false
; then :
2245 $as_echo_n "(cached) " >&6
2247 if test -n "$regex_realpath"; then
2248 ac_cv_prog_regex_realpath
="$regex_realpath" # Let the user override the test.
2250 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2254 test -z "$as_dir" && as_dir
=.
2255 for ac_exec_ext
in '' $ac_executable_extensions; do
2256 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2257 ac_cv_prog_regex_realpath
="$ac_prog"
2258 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2267 regex_realpath
=$ac_cv_prog_regex_realpath
2268 if test -n "$regex_realpath"; then
2269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $regex_realpath" >&5
2270 $as_echo "$regex_realpath" >&6; }
2272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2273 $as_echo "no" >&6; }
2277 test -n "$regex_realpath" && break
2280 if test x
$regex_realpath = "x" ; then
2281 as_fn_error $?
"realpath is required to build GNU Modula-2 (hint install coreutils)." "$LINENO" 5
2285 ac_cpp
='$CPP $CPPFLAGS'
2286 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2287 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2288 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2289 if test -n "$ac_tool_prefix"; then
2290 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2291 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2293 $as_echo_n "checking for $ac_word... " >&6; }
2294 if ${ac_cv_prog_CC+:} false
; then :
2295 $as_echo_n "(cached) " >&6
2297 if test -n "$CC"; then
2298 ac_cv_prog_CC
="$CC" # Let the user override the test.
2300 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2304 test -z "$as_dir" && as_dir
=.
2305 for ac_exec_ext
in '' $ac_executable_extensions; do
2306 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2307 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2308 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2318 if test -n "$CC"; then
2319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2320 $as_echo "$CC" >&6; }
2322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2323 $as_echo "no" >&6; }
2328 if test -z "$ac_cv_prog_CC"; then
2330 # Extract the first word of "gcc", so it can be a program name with args.
2331 set dummy gcc
; ac_word
=$2
2332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2333 $as_echo_n "checking for $ac_word... " >&6; }
2334 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2335 $as_echo_n "(cached) " >&6
2337 if test -n "$ac_ct_CC"; then
2338 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2340 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2344 test -z "$as_dir" && as_dir
=.
2345 for ac_exec_ext
in '' $ac_executable_extensions; do
2346 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2347 ac_cv_prog_ac_ct_CC
="gcc"
2348 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2357 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2358 if test -n "$ac_ct_CC"; then
2359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2360 $as_echo "$ac_ct_CC" >&6; }
2362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2363 $as_echo "no" >&6; }
2366 if test "x$ac_ct_CC" = x
; then
2369 case $cross_compiling:$ac_tool_warned in
2371 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2372 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2373 ac_tool_warned
=yes ;;
2381 if test -z "$CC"; then
2382 if test -n "$ac_tool_prefix"; then
2383 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2384 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2386 $as_echo_n "checking for $ac_word... " >&6; }
2387 if ${ac_cv_prog_CC+:} false
; then :
2388 $as_echo_n "(cached) " >&6
2390 if test -n "$CC"; then
2391 ac_cv_prog_CC
="$CC" # Let the user override the test.
2393 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2397 test -z "$as_dir" && as_dir
=.
2398 for ac_exec_ext
in '' $ac_executable_extensions; do
2399 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2400 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2401 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2411 if test -n "$CC"; then
2412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2413 $as_echo "$CC" >&6; }
2415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2416 $as_echo "no" >&6; }
2422 if test -z "$CC"; then
2423 # Extract the first word of "cc", so it can be a program name with args.
2424 set dummy cc
; ac_word
=$2
2425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2426 $as_echo_n "checking for $ac_word... " >&6; }
2427 if ${ac_cv_prog_CC+:} false
; then :
2428 $as_echo_n "(cached) " >&6
2430 if test -n "$CC"; then
2431 ac_cv_prog_CC
="$CC" # Let the user override the test.
2434 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2438 test -z "$as_dir" && as_dir
=.
2439 for ac_exec_ext
in '' $ac_executable_extensions; do
2440 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2441 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2442 ac_prog_rejected
=yes
2446 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2453 if test $ac_prog_rejected = yes; then
2454 # We found a bogon in the path, so make sure we never use it.
2455 set dummy
$ac_cv_prog_CC
2457 if test $# != 0; then
2458 # We chose a different compiler from the bogus one.
2459 # However, it has the same basename, so the bogon will be chosen
2460 # first if we set CC to just the basename; use the full file name.
2462 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2468 if test -n "$CC"; then
2469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2470 $as_echo "$CC" >&6; }
2472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2473 $as_echo "no" >&6; }
2478 if test -z "$CC"; then
2479 if test -n "$ac_tool_prefix"; then
2480 for ac_prog
in cl.exe
2482 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2483 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2485 $as_echo_n "checking for $ac_word... " >&6; }
2486 if ${ac_cv_prog_CC+:} false
; then :
2487 $as_echo_n "(cached) " >&6
2489 if test -n "$CC"; then
2490 ac_cv_prog_CC
="$CC" # Let the user override the test.
2492 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2496 test -z "$as_dir" && as_dir
=.
2497 for ac_exec_ext
in '' $ac_executable_extensions; do
2498 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2499 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2500 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2510 if test -n "$CC"; then
2511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2512 $as_echo "$CC" >&6; }
2514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2515 $as_echo "no" >&6; }
2519 test -n "$CC" && break
2522 if test -z "$CC"; then
2524 for ac_prog
in cl.exe
2526 # Extract the first word of "$ac_prog", so it can be a program name with args.
2527 set dummy
$ac_prog; ac_word
=$2
2528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2529 $as_echo_n "checking for $ac_word... " >&6; }
2530 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2531 $as_echo_n "(cached) " >&6
2533 if test -n "$ac_ct_CC"; then
2534 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2536 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2540 test -z "$as_dir" && as_dir
=.
2541 for ac_exec_ext
in '' $ac_executable_extensions; do
2542 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2543 ac_cv_prog_ac_ct_CC
="$ac_prog"
2544 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2553 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2554 if test -n "$ac_ct_CC"; then
2555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2556 $as_echo "$ac_ct_CC" >&6; }
2558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2559 $as_echo "no" >&6; }
2563 test -n "$ac_ct_CC" && break
2566 if test "x$ac_ct_CC" = x
; then
2569 case $cross_compiling:$ac_tool_warned in
2571 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2572 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2573 ac_tool_warned
=yes ;;
2582 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2583 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2584 as_fn_error $?
"no acceptable C compiler found in \$PATH
2585 See \`config.log' for more details" "$LINENO" 5; }
2587 # Provide some information about the compiler.
2588 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2591 for ac_option
in --version -v -V -qversion; do
2592 { { ac_try
="$ac_compiler $ac_option >&5"
2594 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2595 *) ac_try_echo=$ac_try;;
2597 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2598 $as_echo "$ac_try_echo"; } >&5
2599 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2601 if test -s conftest.err; then
2603 ... rest of stderr output deleted ...
2604 10q' conftest.err >conftest.er1
2605 cat conftest.er1 >&5
2607 rm -f conftest.er1 conftest.err
2608 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2609 test $ac_status = 0; }
2612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2613 /* end confdefs.h. */
2623 ac_clean_files_save=$ac_clean_files
2624 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2625 # Try to create an executable without -o first, disregard a.out.
2626 # It will help us diagnose broken compilers, and finding out an intuition
2628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2629 $as_echo_n "checking whether the C compiler works... " >&6; }
2630 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2632 # The possible output files:
2633 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2636 for ac_file in $ac_files
2639 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2640 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2645 if { { ac_try="$ac_link_default"
2647 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2648 *) ac_try_echo
=$ac_try;;
2650 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2651 $as_echo "$ac_try_echo"; } >&5
2652 (eval "$ac_link_default") 2>&5
2654 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2655 test $ac_status = 0; }; then :
2656 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2657 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2658 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2659 # so that the user can short-circuit this test for compilers unknown to
2661 for ac_file
in $ac_files ''
2663 test -f "$ac_file" ||
continue
2665 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
2668 # We found the default executable, but exeext='' is most
2672 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2674 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2676 # We set ac_cv_exeext here because the later test for it is not
2677 # safe: cross compilers may not add the suffix if given an `-o'
2678 # argument, so we may need to know it at that point already.
2679 # Even if this section looks crufty: it has the advantage of
2686 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2691 if test -z "$ac_file"; then :
2692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2693 $as_echo "no" >&6; }
2694 $as_echo "$as_me: failed program was:" >&5
2695 sed 's/^/| /' conftest.
$ac_ext >&5
2697 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2698 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2699 as_fn_error
77 "C compiler cannot create executables
2700 See \`config.log' for more details" "$LINENO" 5; }
2702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2703 $as_echo "yes" >&6; }
2705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2706 $as_echo_n "checking for C compiler default output file name... " >&6; }
2707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2708 $as_echo "$ac_file" >&6; }
2709 ac_exeext
=$ac_cv_exeext
2711 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
2712 ac_clean_files
=$ac_clean_files_save
2713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2714 $as_echo_n "checking for suffix of executables... " >&6; }
2715 if { { ac_try
="$ac_link"
2717 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2718 *) ac_try_echo=$ac_try;;
2720 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2721 $as_echo "$ac_try_echo"; } >&5
2722 (eval "$ac_link") 2>&5
2724 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2725 test $ac_status = 0; }; then :
2726 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
2727 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
2728 # work properly (i.e., refer to `conftest.exe'), while it won't with
2730 for ac_file
in conftest.exe conftest conftest.
*; do
2731 test -f "$ac_file" ||
continue
2733 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2734 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2740 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2741 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2742 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
2743 See \`config.log' for more details" "$LINENO" 5; }
2745 rm -f conftest conftest
$ac_cv_exeext
2746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2747 $as_echo "$ac_cv_exeext" >&6; }
2749 rm -f conftest.
$ac_ext
2750 EXEEXT
=$ac_cv_exeext
2752 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2753 /* end confdefs.h. */
2758 FILE *f = fopen ("conftest.out", "w");
2759 return ferror (f) || fclose (f) != 0;
2765 ac_clean_files
="$ac_clean_files conftest.out"
2766 # Check that the compiler produces executables we can run. If not, either
2767 # the compiler is broken, or we cross compile.
2768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2769 $as_echo_n "checking whether we are cross compiling... " >&6; }
2770 if test "$cross_compiling" != yes; then
2771 { { ac_try
="$ac_link"
2773 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2774 *) ac_try_echo=$ac_try;;
2776 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2777 $as_echo "$ac_try_echo"; } >&5
2778 (eval "$ac_link") 2>&5
2780 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2781 test $ac_status = 0; }
2782 if { ac_try='./conftest$ac_cv_exeext'
2783 { { case "(($ac_try" in
2784 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2785 *) ac_try_echo
=$ac_try;;
2787 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2788 $as_echo "$ac_try_echo"; } >&5
2789 (eval "$ac_try") 2>&5
2791 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2792 test $ac_status = 0; }; }; then
2795 if test "$cross_compiling" = maybe
; then
2798 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2799 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2800 as_fn_error $?
"cannot run C compiled programs.
2801 If you meant to cross compile, use \`--host'.
2802 See \`config.log' for more details" "$LINENO" 5; }
2806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2807 $as_echo "$cross_compiling" >&6; }
2809 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
2810 ac_clean_files
=$ac_clean_files_save
2811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2812 $as_echo_n "checking for suffix of object files... " >&6; }
2813 if ${ac_cv_objext+:} false
; then :
2814 $as_echo_n "(cached) " >&6
2816 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2817 /* end confdefs.h. */
2827 rm -f conftest.o conftest.obj
2828 if { { ac_try
="$ac_compile"
2830 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2831 *) ac_try_echo=$ac_try;;
2833 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2834 $as_echo "$ac_try_echo"; } >&5
2835 (eval "$ac_compile") 2>&5
2837 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2838 test $ac_status = 0; }; then :
2839 for ac_file in conftest.o conftest.obj conftest.*; do
2840 test -f "$ac_file" || continue;
2842 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2843 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2848 $as_echo "$as_me: failed program was:" >&5
2849 sed 's/^/| /' conftest.$ac_ext >&5
2851 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2852 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2853 as_fn_error $? "cannot compute suffix of object files
: cannot compile
2854 See \
`config.log' for more details" "$LINENO" 5; }
2856 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2859 $as_echo "$ac_cv_objext" >&6; }
2860 OBJEXT=$ac_cv_objext
2862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2863 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2864 if ${ac_cv_c_compiler_gnu+:} false; then :
2865 $as_echo_n "(cached) " >&6
2867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2868 /* end confdefs.h. */
2881 if ac_fn_c_try_compile "$LINENO"; then :
2886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2887 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2891 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2892 if test $ac_compiler_gnu = yes; then
2897 ac_test_CFLAGS=${CFLAGS+set}
2898 ac_save_CFLAGS=$CFLAGS
2899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2900 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2901 if ${ac_cv_prog_cc_g+:} false; then :
2902 $as_echo_n "(cached) " >&6
2904 ac_save_c_werror_flag=$ac_c_werror_flag
2905 ac_c_werror_flag=yes
2908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2909 /* end confdefs.h. */
2919 if ac_fn_c_try_compile "$LINENO"; then :
2923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2924 /* end confdefs.h. */
2934 if ac_fn_c_try_compile "$LINENO"; then :
2937 ac_c_werror_flag=$ac_save_c_werror_flag
2939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2940 /* end confdefs.h. */
2950 if ac_fn_c_try_compile "$LINENO"; then :
2953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2958 ac_c_werror_flag=$ac_save_c_werror_flag
2960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2961 $as_echo "$ac_cv_prog_cc_g" >&6; }
2962 if test "$ac_test_CFLAGS" = set; then
2963 CFLAGS=$ac_save_CFLAGS
2964 elif test $ac_cv_prog_cc_g = yes; then
2965 if test "$GCC" = yes; then
2971 if test "$GCC" = yes; then
2977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2978 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2979 if ${ac_cv_prog_cc_c89+:} false; then :
2980 $as_echo_n "(cached) " >&6
2982 ac_cv_prog_cc_c89=no
2984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2985 /* end confdefs.h. */
2989 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2990 struct buf { int x; };
2991 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2992 static char *e (p, i)
2998 static char *f (char * (*g) (char **, int), char **p, ...)
3003 s = g (p, va_arg (v,int));
3008 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3009 function prototypes and stuff, but not '\xHH' hex character constants.
3010 These don't provoke an error unfortunately, instead are silently treated
3011 as 'x'. The following induces an error, until -std is added to get
3012 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3013 array size at least. It's necessary to write '\x00'==0 to get something
3014 that's true only with -std. */
3015 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3017 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3018 inside strings and character constants. */
3020 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3022 int test (int i, double x);
3023 struct s1 {int (*f) (int a);};
3024 struct s2 {int (*f) (double a);};
3025 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3031 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3036 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3037 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3039 CC="$ac_save_CC $ac_arg"
3040 if ac_fn_c_try_compile "$LINENO"; then :
3041 ac_cv_prog_cc_c89=$ac_arg
3043 rm -f core conftest.err conftest.$ac_objext
3044 test "x$ac_cv_prog_cc_c89" != "xno" && break
3046 rm -f conftest.$ac_ext
3051 case "x$ac_cv_prog_cc_c89" in
3053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3054 $as_echo "none needed" >&6; } ;;
3056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3057 $as_echo "unsupported" >&6; } ;;
3059 CC="$CC $ac_cv_prog_cc_c89"
3060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3061 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3063 if test "x$ac_cv_prog_cc_c89" != xno; then :
3068 ac_cpp='$CPP $CPPFLAGS'
3069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3074 for ac_func in stpcpy
3076 ac_fn_c_check_func "$LINENO" "stpcpy" "ac_cv_func_stpcpy"
3077 if test "x$ac_cv_func_stpcpy" = xyes; then :
3078 cat >>confdefs.h <<_ACEOF
3079 #define HAVE_STPCPY 1
3087 ac_cpp='$CPP $CPPFLAGS'
3088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3092 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3093 # On Suns, sometimes $CPP names a directory.
3094 if test -n "$CPP" && test -d "$CPP"; then
3097 if test -z "$CPP"; then
3098 if ${ac_cv_prog_CPP+:} false; then :
3099 $as_echo_n "(cached) " >&6
3101 # Double quotes because CPP needs to be expanded
3102 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3105 for ac_c_preproc_warn_flag in '' yes
3107 # Use a header file that comes with gcc, so configuring glibc
3108 # with a fresh cross-compiler works.
3109 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3110 # <limits.h> exists even on freestanding compilers.
3111 # On the NeXT, cc -E runs the code through the compiler's parser,
3112 # not just through cpp. "Syntax error" is here to catch this case.
3113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3114 /* end confdefs.h. */
3116 # include <limits.h>
3118 # include <assert.h>
3122 if ac_fn_c_try_cpp "$LINENO"; then :
3125 # Broken: fails on valid input.
3128 rm -f conftest.err conftest.i conftest.$ac_ext
3130 # OK, works on sane cases. Now check whether nonexistent headers
3131 # can be detected and how.
3132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3133 /* end confdefs.h. */
3134 #include <ac_nonexistent.h>
3136 if ac_fn_c_try_cpp "$LINENO"; then :
3137 # Broken: success on invalid input.
3140 # Passes both tests.
3144 rm -f conftest.err conftest.i conftest.$ac_ext
3147 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3148 rm -f conftest.i conftest.err conftest.
$ac_ext
3149 if $ac_preproc_ok; then :
3161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3162 $as_echo "$CPP" >&6; }
3164 for ac_c_preproc_warn_flag
in '' yes
3166 # Use a header file that comes with gcc, so configuring glibc
3167 # with a fresh cross-compiler works.
3168 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3169 # <limits.h> exists even on freestanding compilers.
3170 # On the NeXT, cc -E runs the code through the compiler's parser,
3171 # not just through cpp. "Syntax error" is here to catch this case.
3172 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3173 /* end confdefs.h. */
3175 # include <limits.h>
3177 # include <assert.h>
3181 if ac_fn_c_try_cpp
"$LINENO"; then :
3184 # Broken: fails on valid input.
3187 rm -f conftest.err conftest.i conftest.
$ac_ext
3189 # OK, works on sane cases. Now check whether nonexistent headers
3190 # can be detected and how.
3191 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3192 /* end confdefs.h. */
3193 #include <ac_nonexistent.h>
3195 if ac_fn_c_try_cpp
"$LINENO"; then :
3196 # Broken: success on invalid input.
3199 # Passes both tests.
3203 rm -f conftest.err conftest.i conftest.
$ac_ext
3206 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3207 rm -f conftest.i conftest.err conftest.
$ac_ext
3208 if $ac_preproc_ok; then :
3211 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3212 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3213 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
3214 See \`config.log' for more details" "$LINENO" 5; }
3218 ac_cpp
='$CPP $CPPFLAGS'
3219 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3220 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3221 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3225 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3226 if ${ac_cv_path_GREP+:} false
; then :
3227 $as_echo_n "(cached) " >&6
3229 if test -z "$GREP"; then
3230 ac_path_GREP_found
=false
3231 # Loop through the user's path and test for each of PROGNAME-LIST
3232 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3233 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3236 test -z "$as_dir" && as_dir
=.
3237 for ac_prog
in grep ggrep
; do
3238 for ac_exec_ext
in '' $ac_executable_extensions; do
3239 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3240 as_fn_executable_p
"$ac_path_GREP" ||
continue
3241 # Check for GNU ac_path_GREP and select it if it is found.
3242 # Check for GNU $ac_path_GREP
3243 case `"$ac_path_GREP" --version 2>&1` in
3245 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3248 $as_echo_n 0123456789 >"conftest.in"
3251 cat "conftest.in" "conftest.in" >"conftest.tmp"
3252 mv "conftest.tmp" "conftest.in"
3253 cp "conftest.in" "conftest.nl"
3254 $as_echo 'GREP' >> "conftest.nl"
3255 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3256 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3257 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3258 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3259 # Best one so far, save it but keep looking for a better one
3260 ac_cv_path_GREP
="$ac_path_GREP"
3261 ac_path_GREP_max
=$ac_count
3263 # 10*(2^10) chars as input seems more than enough
3264 test $ac_count -gt 10 && break
3266 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3269 $ac_path_GREP_found && break 3
3274 if test -z "$ac_cv_path_GREP"; then
3275 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3278 ac_cv_path_GREP
=$GREP
3282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3283 $as_echo "$ac_cv_path_GREP" >&6; }
3284 GREP
="$ac_cv_path_GREP"
3287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3288 $as_echo_n "checking for egrep... " >&6; }
3289 if ${ac_cv_path_EGREP+:} false
; then :
3290 $as_echo_n "(cached) " >&6
3292 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3293 then ac_cv_path_EGREP
="$GREP -E"
3295 if test -z "$EGREP"; then
3296 ac_path_EGREP_found
=false
3297 # Loop through the user's path and test for each of PROGNAME-LIST
3298 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3299 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3302 test -z "$as_dir" && as_dir
=.
3303 for ac_prog
in egrep; do
3304 for ac_exec_ext
in '' $ac_executable_extensions; do
3305 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3306 as_fn_executable_p
"$ac_path_EGREP" ||
continue
3307 # Check for GNU ac_path_EGREP and select it if it is found.
3308 # Check for GNU $ac_path_EGREP
3309 case `"$ac_path_EGREP" --version 2>&1` in
3311 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3314 $as_echo_n 0123456789 >"conftest.in"
3317 cat "conftest.in" "conftest.in" >"conftest.tmp"
3318 mv "conftest.tmp" "conftest.in"
3319 cp "conftest.in" "conftest.nl"
3320 $as_echo 'EGREP' >> "conftest.nl"
3321 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3322 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3323 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3324 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3325 # Best one so far, save it but keep looking for a better one
3326 ac_cv_path_EGREP
="$ac_path_EGREP"
3327 ac_path_EGREP_max
=$ac_count
3329 # 10*(2^10) chars as input seems more than enough
3330 test $ac_count -gt 10 && break
3332 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3335 $ac_path_EGREP_found && break 3
3340 if test -z "$ac_cv_path_EGREP"; then
3341 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3344 ac_cv_path_EGREP
=$EGREP
3349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3350 $as_echo "$ac_cv_path_EGREP" >&6; }
3351 EGREP
="$ac_cv_path_EGREP"
3354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3355 $as_echo_n "checking for ANSI C header files... " >&6; }
3356 if ${ac_cv_header_stdc+:} false
; then :
3357 $as_echo_n "(cached) " >&6
3359 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3360 /* end confdefs.h. */
3374 if ac_fn_c_try_compile
"$LINENO"; then :
3375 ac_cv_header_stdc
=yes
3377 ac_cv_header_stdc
=no
3379 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3381 if test $ac_cv_header_stdc = yes; then
3382 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3383 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3384 /* end confdefs.h. */
3388 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3389 $EGREP "memchr" >/dev
/null
2>&1; then :
3392 ac_cv_header_stdc
=no
3398 if test $ac_cv_header_stdc = yes; then
3399 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3400 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3401 /* end confdefs.h. */
3405 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3406 $EGREP "free" >/dev
/null
2>&1; then :
3409 ac_cv_header_stdc
=no
3415 if test $ac_cv_header_stdc = yes; then
3416 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3417 if test "$cross_compiling" = yes; then :
3420 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3421 /* end confdefs.h. */
3424 #if ((' ' & 0x0FF) == 0x020)
3425 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3426 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3428 # define ISLOWER(c) \
3429 (('a' <= (c) && (c) <= 'i') \
3430 || ('j' <= (c) && (c) <= 'r') \
3431 || ('s' <= (c) && (c) <= 'z'))
3432 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3435 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3440 for (i = 0; i < 256; i++)
3441 if (XOR (islower (i), ISLOWER (i))
3442 || toupper (i) != TOUPPER (i))
3447 if ac_fn_c_try_run
"$LINENO"; then :
3450 ac_cv_header_stdc
=no
3452 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
3453 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
3458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3459 $as_echo "$ac_cv_header_stdc" >&6; }
3460 if test $ac_cv_header_stdc = yes; then
3462 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3466 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3467 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3468 inttypes.h stdint.h unistd.h
3470 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3471 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3473 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
3474 cat >>confdefs.h
<<_ACEOF
3475 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3483 for ac_header
in sys
/types.h
3485 ac_fn_c_check_header_mongrel
"$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$ac_includes_default"
3486 if test "x$ac_cv_header_sys_types_h" = xyes
; then :
3487 cat >>confdefs.h
<<_ACEOF
3488 #define HAVE_SYS_TYPES_H 1
3496 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
3497 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
3498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
3499 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
3500 if eval \
${$as_ac_Header+:} false
; then :
3501 $as_echo_n "(cached) " >&6
3503 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3504 /* end confdefs.h. */
3505 #include <sys/types.h>
3517 if ac_fn_c_try_compile
"$LINENO"; then :
3518 eval "$as_ac_Header=yes"
3520 eval "$as_ac_Header=no"
3522 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3524 eval ac_res
=\$
$as_ac_Header
3525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3526 $as_echo "$ac_res" >&6; }
3527 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
3528 cat >>confdefs.h
<<_ACEOF
3529 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
3532 ac_header_dirent
=$ac_hdr; break
3536 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
3537 if test $ac_header_dirent = dirent.h
; then
3538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
3539 $as_echo_n "checking for library containing opendir... " >&6; }
3540 if ${ac_cv_search_opendir+:} false
; then :
3541 $as_echo_n "(cached) " >&6
3543 ac_func_search_save_LIBS
=$LIBS
3544 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3545 /* end confdefs.h. */
3547 /* Override any GCC internal prototype to avoid an error.
3548 Use char because int might match the return type of a GCC
3549 builtin and then its argument prototype would still apply. */
3562 for ac_lib
in '' dir
; do
3563 if test -z "$ac_lib"; then
3564 ac_res
="none required"
3567 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
3569 if ac_fn_c_try_link
"$LINENO"; then :
3570 ac_cv_search_opendir
=$ac_res
3572 rm -f core conftest.err conftest.
$ac_objext \
3574 if ${ac_cv_search_opendir+:} false
; then :
3578 if ${ac_cv_search_opendir+:} false
; then :
3581 ac_cv_search_opendir
=no
3584 LIBS
=$ac_func_search_save_LIBS
3586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
3587 $as_echo "$ac_cv_search_opendir" >&6; }
3588 ac_res
=$ac_cv_search_opendir
3589 if test "$ac_res" != no
; then :
3590 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
3595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
3596 $as_echo_n "checking for library containing opendir... " >&6; }
3597 if ${ac_cv_search_opendir+:} false
; then :
3598 $as_echo_n "(cached) " >&6
3600 ac_func_search_save_LIBS
=$LIBS
3601 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3602 /* end confdefs.h. */
3604 /* Override any GCC internal prototype to avoid an error.
3605 Use char because int might match the return type of a GCC
3606 builtin and then its argument prototype would still apply. */
3619 for ac_lib
in '' x
; do
3620 if test -z "$ac_lib"; then
3621 ac_res
="none required"
3624 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
3626 if ac_fn_c_try_link
"$LINENO"; then :
3627 ac_cv_search_opendir
=$ac_res
3629 rm -f core conftest.err conftest.
$ac_objext \
3631 if ${ac_cv_search_opendir+:} false
; then :
3635 if ${ac_cv_search_opendir+:} false
; then :
3638 ac_cv_search_opendir
=no
3641 LIBS
=$ac_func_search_save_LIBS
3643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
3644 $as_echo "$ac_cv_search_opendir" >&6; }
3645 ac_res
=$ac_cv_search_opendir
3646 if test "$ac_res" != no
; then :
3647 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
3653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for opendir in -lc" >&5
3654 $as_echo_n "checking for opendir in -lc... " >&6; }
3655 if ${ac_cv_lib_c_opendir+:} false
; then :
3656 $as_echo_n "(cached) " >&6
3658 ac_check_lib_save_LIBS
=$LIBS
3660 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3661 /* end confdefs.h. */
3663 /* Override any GCC internal prototype to avoid an error.
3664 Use char because int might match the return type of a GCC
3665 builtin and then its argument prototype would still apply. */
3678 if ac_fn_c_try_link
"$LINENO"; then :
3679 ac_cv_lib_c_opendir
=yes
3681 ac_cv_lib_c_opendir
=no
3683 rm -f core conftest.err conftest.
$ac_objext \
3684 conftest
$ac_exeext conftest.
$ac_ext
3685 LIBS
=$ac_check_lib_save_LIBS
3687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_opendir" >&5
3688 $as_echo "$ac_cv_lib_c_opendir" >&6; }
3689 if test "x$ac_cv_lib_c_opendir" = xyes
; then :
3691 $as_echo "#define HAVE_OPENDIR 1" >>confdefs.h
3695 ac_config_headers
="$ac_config_headers gm2config.h"
3697 cat >confcache
<<\_ACEOF
3698 # This file is a shell script that caches the results of configure
3699 # tests run on this system so they can be shared between configure
3700 # scripts and configure runs, see configure's option --config-cache.
3701 # It is not useful on other systems. If it contains results you don't
3702 # want to keep, you may remove or edit it.
3704 # config.status only pays attention to the cache file if you give it
3705 # the --recheck option to rerun configure.
3707 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3708 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3713 # The following way of writing the cache mishandles newlines in values,
3714 # but we know of no workaround that is simple, portable, and efficient.
3715 # So, we kill variables containing newlines.
3716 # Ultrix sh set writes to stderr and can't be redirected directly,
3717 # and sets the high bit in the cache file unless we assign to the vars.
3719 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3720 eval ac_val
=\$
$ac_var
3724 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3725 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3728 _ | IFS | as_nl
) ;; #(
3729 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
3730 *) { eval $ac_var=; unset $ac_var;} ;;
3736 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3737 *${as_nl}ac_space
=\
*)
3738 # `set' does not quote correctly, so add quotes: double-quote
3739 # substitution turns \\\\ into \\, and sed turns \\ into \.
3742 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3745 # `set' quotes correctly as required by POSIX, so do not add quotes.
3746 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3755 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3757 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3759 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
3760 if test -w "$cache_file"; then
3761 if test "x$cache_file" != "x/dev/null"; then
3762 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3763 $as_echo "$as_me: updating cache $cache_file" >&6;}
3764 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
3765 cat confcache
>"$cache_file"
3767 case $cache_file in #(
3769 mv -f confcache
"$cache_file"$$
&&
3770 mv -f "$cache_file"$$
"$cache_file" ;; #(
3772 mv -f confcache
"$cache_file" ;;
3777 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3778 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3783 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
3784 # Let make expand exec_prefix.
3785 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
3787 DEFS
=-DHAVE_CONFIG_H
3792 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
3793 # 1. Remove the extension, and $U if already installed.
3794 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
3795 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
3796 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3797 # will be set to the directory where LIBOBJS objects are built.
3798 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3799 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
3803 LTLIBOBJS
=$ac_ltlibobjs
3807 : "${CONFIG_STATUS=./config.status}"
3809 ac_clean_files_save
=$ac_clean_files
3810 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
3811 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3812 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3814 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3816 # Generated by $as_me.
3817 # Run this file to recreate the current configuration.
3818 # Compiler output produced by configure, useful for debugging
3819 # configure, is in config.log if it exists.
3825 SHELL=\${CONFIG_SHELL-$SHELL}
3828 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
3829 ## -------------------- ##
3830 ## M4sh Initialization. ##
3831 ## -------------------- ##
3833 # Be more Bourne compatible
3834 DUALCASE
=1; export DUALCASE
# for MKS sh
3835 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
3838 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3839 # is contrary to our usage. Disable this feature.
3840 alias -g '${1+"$@"}'='"$@"'
3841 setopt NO_GLOB_SUBST
3843 case `(set -o) 2>/dev/null` in #(
3855 # Printing a long string crashes Solaris 7 /usr/bin/printf.
3856 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3857 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3858 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3859 # Prefer a ksh shell builtin over an external printf program on Solaris,
3860 # but without wasting forks for bash or zsh.
3861 if test -z "$BASH_VERSION$ZSH_VERSION" \
3862 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
3863 as_echo='print
-r --'
3864 as_echo_n='print
-rn --'
3865 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3866 as_echo='printf %s
\n'
3867 as_echo_n='printf %s
'
3869 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3870 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
3871 as_echo_n='/usr
/ucb
/echo -n'
3873 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3874 as_echo_n_body='eval
3878 expr "X$arg" : "X\\(.*\\)$as_nl";
3879 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3881 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
3883 export as_echo_n_body
3884 as_echo_n='sh
-c $as_echo_n_body as_echo
'
3887 as_echo='sh
-c $as_echo_body as_echo
'
3890 # The user is always right.
3891 if test "${PATH_SEPARATOR+set}" != set; then
3893 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3894 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3901 # We need space, tab and new line, in precisely that order. Quoting is
3902 # there to prevent editors from complaining about space-tab.
3903 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3904 # splitting by setting IFS to empty value.)
3907 # Find who we are. Look in the path if we contain no directory separator.
3910 *[\\/]* ) as_myself=$0 ;;
3911 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3915 test -z "$as_dir" && as_dir=.
3916 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3922 # We did not find ourselves, most probably we were run as `sh COMMAND'
3923 # in which case we are not to be found in the path.
3924 if test "x$as_myself" = x
; then
3927 if test ! -f "$as_myself"; then
3928 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3932 # Unset variables that we do not need and which cause bugs (e.g. in
3933 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
3934 # suppresses any "Segmentation fault" message there. '((' could
3935 # trigger a bug in pdksh 5.2.14.
3936 for as_var
in BASH_ENV ENV MAIL MAILPATH
3937 do eval test x\
${$as_var+set} = xset \
3938 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
3951 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
3954 # as_fn_error STATUS ERROR [LINENO LOG_FD]
3955 # ----------------------------------------
3956 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3957 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3958 # script with STATUS, using 1 if that was 0.
3961 as_status
=$1; test $as_status -eq 0 && as_status
=1
3963 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
3964 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
3966 $as_echo "$as_me: error: $2" >&2
3967 as_fn_exit
$as_status
3971 # as_fn_set_status STATUS
3972 # -----------------------
3973 # Set $? to STATUS, without forking.
3977 } # as_fn_set_status
3981 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3991 # Portably unset VAR.
3994 { eval $1=; unset $1;}
3996 as_unset
=as_fn_unset
3997 # as_fn_append VAR VALUE
3998 # ----------------------
3999 # Append the text in VALUE to the end of the definition contained in VAR. Take
4000 # advantage of any shell optimizations that allow amortized linear growth over
4001 # repeated appends, instead of the typical quadratic growth present in naive
4003 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
4004 eval 'as_fn_append ()
4015 # as_fn_arith ARG...
4016 # ------------------
4017 # Perform arithmetic evaluation on the ARGs, and store the result in the
4018 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4019 # must be portable across $(()) and expr.
4020 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
4021 eval 'as_fn_arith ()
4028 as_val
=`expr "$@" || test $? -eq 1`
4033 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
4034 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
4040 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4041 as_basename
=basename
4046 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
4052 as_me
=`$as_basename -- "$0" ||
4053 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4054 X"$0" : 'X\(//\)$' \| \
4055 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4057 sed '/^.*\/\([^/][^/]*\)\/*$/{
4071 # Avoid depending upon Character Ranges.
4072 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
4073 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4074 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
4075 as_cr_digits
='0123456789'
4076 as_cr_alnum
=$as_cr_Letters$as_cr_digits
4078 ECHO_C
= ECHO_N
= ECHO_T
=
4079 case `echo -n x` in #(((((
4081 case `echo 'xy\c'` in
4082 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
4084 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
4091 rm -f conf$$ conf$$.exe conf$$.
file
4092 if test -d conf$$.dir
; then
4093 rm -f conf$$.dir
/conf$$.
file
4096 mkdir conf$$.dir
2>/dev
/null
4098 if (echo >conf$$.
file) 2>/dev
/null
; then
4099 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
4101 # ... but there are two gotchas:
4102 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4103 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4104 # In both cases, we have to default to `cp -pR'.
4105 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
4107 elif ln conf$$.
file conf$$
2>/dev
/null
; then
4115 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
4116 rmdir conf$$.dir
2>/dev
/null
4121 # Create "$as_dir" as a directory, including parents if necessary.
4126 -*) as_dir
=.
/$as_dir;;
4128 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
4132 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4133 *) as_qdir
=$as_dir;;
4135 as_dirs
="'$as_qdir' $as_dirs"
4136 as_dir
=`$as_dirname -- "$as_dir" ||
4137 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4138 X"$as_dir" : 'X\(//\)[^/]' \| \
4139 X"$as_dir" : 'X\(//\)$' \| \
4140 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4141 $as_echo X"$as_dir" |
4142 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4159 test -d "$as_dir" && break
4161 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
4162 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
4166 if mkdir
-p .
2>/dev
/null
; then
4167 as_mkdir_p
='mkdir -p "$as_dir"'
4169 test -d .
/-p && rmdir .
/-p
4174 # as_fn_executable_p FILE
4175 # -----------------------
4176 # Test if FILE is an executable regular file.
4177 as_fn_executable_p
()
4179 test -f "$1" && test -x "$1"
4180 } # as_fn_executable_p
4182 as_executable_p
=as_fn_executable_p
4184 # Sed expression to map a string onto a valid CPP name.
4185 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4187 # Sed expression to map a string onto a valid variable name.
4188 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4192 ## ----------------------------------- ##
4193 ## Main body of $CONFIG_STATUS script. ##
4194 ## ----------------------------------- ##
4196 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
4198 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4199 # Save the log message, to keep $0 and so on meaningful, and to
4200 # report actual input values of CONFIG_FILES etc. instead of their
4201 # values after options handling.
4203 This file was extended by m2 $as_me , which was
4204 generated by GNU Autoconf 2.69. Invocation command line was
4206 CONFIG_FILES = $CONFIG_FILES
4207 CONFIG_HEADERS = $CONFIG_HEADERS
4208 CONFIG_LINKS = $CONFIG_LINKS
4209 CONFIG_COMMANDS = $CONFIG_COMMANDS
4212 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4218 case $ac_config_headers in *"
4219 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
4223 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4224 # Files that config.status was made for.
4225 config_headers="$ac_config_headers"
4229 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4231 \`$as_me' instantiates files and other configuration actions
4232 from templates according to the current configuration. Unless the files
4233 and actions are specified as TAGs, all are instantiated by default.
4235 Usage: $0 [OPTION]... [TAG]...
4237 -h, --help print this help, then exit
4238 -V, --version print version number and configuration settings, then exit
4239 --config print configuration, then exit
4240 -q, --quiet, --silent
4241 do not print progress messages
4242 -d, --debug don't remove temporary files
4243 --recheck update $as_me by reconfiguring in the same conditions
4244 --header=FILE[:TEMPLATE]
4245 instantiate the configuration header FILE
4247 Configuration headers:
4250 Report bugs to the package provider."
4253 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4254 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4257 configured by $0, generated by GNU Autoconf 2.69,
4258 with options \\"\$ac_cs_config\\"
4260 Copyright (C) 2012 Free Software Foundation, Inc.
4261 This config.status script is free software; the Free Software Foundation
4262 gives unlimited permission to copy, distribute and modify it."
4266 test -n "\$AWK" || AWK=awk
4269 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4270 # The default lists apply if the user does not specify any file.
4276 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
4277 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
4281 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
4293 # Handling of the options.
4294 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
4296 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
4297 $as_echo "$ac_cs_version"; exit ;;
4298 --config |
--confi |
--conf |
--con |
--co |
--c )
4299 $as_echo "$ac_cs_config"; exit ;;
4300 --debug |
--debu |
--deb |
--de |
--d |
-d )
4302 --header |
--heade |
--head |
--hea )
4305 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4307 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
4308 ac_need_defaults
=false
;;
4310 # Conflict between --help and --header
4311 as_fn_error $?
"ambiguous option: \`$1'
4312 Try \`$0 --help' for more information.";;
4313 --help |
--hel |
-h )
4314 $as_echo "$ac_cs_usage"; exit ;;
4315 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
4316 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
4320 -*) as_fn_error $?
"unrecognized option: \`$1'
4321 Try \`$0 --help' for more information." ;;
4323 *) as_fn_append ac_config_targets
" $1"
4324 ac_need_defaults
=false
;;
4330 ac_configure_extra_args
=
4332 if $ac_cs_silent; then
4334 ac_configure_extra_args
="$ac_configure_extra_args --silent"
4338 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4339 if \$ac_cs_recheck; then
4340 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4342 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4343 CONFIG_SHELL='$SHELL'
4349 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4353 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4354 ## Running $as_me. ##
4360 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4363 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4365 # Handling of arguments.
4366 for ac_config_target
in $ac_config_targets
4368 case $ac_config_target in
4369 "gm2config.h") CONFIG_HEADERS
="$CONFIG_HEADERS gm2config.h" ;;
4371 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4376 # If the user did not use the arguments to specify the items to instantiate,
4377 # then the envvar interface is used. Set only those that are not.
4378 # We use the long form for the default assignment because of an extremely
4379 # bizarre bug on SunOS 4.1.3.
4380 if $ac_need_defaults; then
4381 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
4384 # Have a temporary directory for convenience. Make it in the build tree
4385 # simply because there is no reason against having it here, and in addition,
4386 # creating and moving files from /tmp can sometimes cause problems.
4387 # Hook for its removal unless debugging.
4388 # Note that there is a small window in which the directory will not be cleaned:
4389 # after its creation but before its name has been assigned to `$tmp'.
4393 trap 'exit_status=$?
4395 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
4397 trap 'as_fn_exit 1' 1 2 13 15
4399 # Create a (secure) tmp directory for tmp files.
4402 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4406 tmp
=.
/conf$$
-$RANDOM
4407 (umask 077 && mkdir
"$tmp")
4408 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
4411 # Set up the scripts for CONFIG_HEADERS section.
4412 # No need to generate them if there are no CONFIG_HEADERS.
4413 # This happens for instance with `./config.status Makefile'.
4414 if test -n "$CONFIG_HEADERS"; then
4415 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
4419 # Transform confdefs.h into an awk script `defines.awk', embedded as
4420 # here-document in config.status, that substitutes the proper values into
4421 # config.h.in to produce config.h.
4423 # Create a delimiter string that does not exist in confdefs.h, to ease
4424 # handling of long lines.
4426 for ac_last_try
in false false
:; do
4427 ac_tt
=`sed -n "/$ac_delim/p" confdefs.h`
4428 if test -z "$ac_tt"; then
4430 elif $ac_last_try; then
4431 as_fn_error $?
"could not make $CONFIG_HEADERS" "$LINENO" 5
4433 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
4437 # For the awk script, D is an array of macro values keyed by name,
4438 # likewise P contains macro parameters if any. Preserve backslash
4439 # newline sequences.
4441 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
4443 s/.\{148\}/&'"$ac_delim"'/g
4446 s/^[ ]*#[ ]*define[ ][ ]*/ /
4453 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
4455 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
4459 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
4460 D["\1"]=" \3\\\\\\n"\\/p
4462 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
4467 s/.\{148\}/&'"$ac_delim"'/g
4472 s/["\\]/\\&/g; s/^/"/; s/$/"/p
4475 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
4477 ' <confdefs.h |
sed '
4478 s/'"$ac_delim"'/"\\\
4479 "/g' >>$CONFIG_STATUS || ac_write_fail
=1
4481 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4482 for (key in D) D_is_set[key] = 1
4485 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
4487 split(line, arg, " ")
4488 if (arg[1] == "#") {
4492 defundef = substr(arg[1], 2)
4495 split(mac1, mac2, "(") #)
4497 prefix = substr(line, 1, index(line, defundef) - 1)
4498 if (D_is_set[macro]) {
4499 # Preserve the white space surrounding the "#".
4500 print prefix "define", macro P[macro] D[macro]
4503 # Replace #undef with comments. This is necessary, for example,
4504 # in the case of _POSIX_SOURCE, which is predefined and required
4505 # on some systems where configure will not decide to define it.
4506 if (defundef == "undef") {
4507 print "/*", prefix defundef, macro, "*/"
4515 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4516 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
4517 fi # test -n "$CONFIG_HEADERS"
4520 eval set X
" :H $CONFIG_HEADERS "
4525 :[FHLC
]) ac_mode
=$ac_tag; continue;;
4527 case $ac_mode$ac_tag in
4529 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
4530 :[FH
]-) ac_tag
=-:-;;
4531 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
4548 -) ac_f
="$ac_tmp/stdin";;
4549 *) # Look for the file first in the build tree, then in the source tree
4550 # (if the path is not absolute). The absolute path cannot be DOS-style,
4551 # because $ac_f cannot contain `:'.
4555 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
4557 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4559 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4560 as_fn_append ac_file_inputs
" '$ac_f'"
4563 # Let's still pretend it is `configure' which instantiates (i.e., don't
4564 # use $as_me), people would be surprised to read:
4565 # /* config.h. Generated by config.status. */
4566 configure_input
='Generated from '`
4567 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4569 if test x
"$ac_file" != x-
; then
4570 configure_input
="$ac_file. $configure_input"
4571 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
4572 $as_echo "$as_me: creating $ac_file" >&6;}
4574 # Neutralize special characters interpreted by sed in replacement strings.
4575 case $configure_input in #(
4576 *\
&* |
*\|
* |
*\\* )
4577 ac_sed_conf_input
=`$as_echo "$configure_input" |
4578 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4579 *) ac_sed_conf_input
=$configure_input;;
4583 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
4584 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
4589 ac_dir
=`$as_dirname -- "$ac_file" ||
4590 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4591 X"$ac_file" : 'X\(//\)[^/]' \| \
4592 X"$ac_file" : 'X\(//\)$' \| \
4593 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4594 $as_echo X"$ac_file" |
4595 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4612 as_dir
="$ac_dir"; as_fn_mkdir_p
4616 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
4618 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4619 # A ".." for each directory in $ac_dir_suffix.
4620 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4621 case $ac_top_builddir_sub in
4622 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
4623 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
4626 ac_abs_top_builddir
=$ac_pwd
4627 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
4628 # for backward compatibility:
4629 ac_top_builddir
=$ac_top_build_prefix
4632 .
) # We are building in place.
4634 ac_top_srcdir
=$ac_top_builddir_sub
4635 ac_abs_top_srcdir
=$ac_pwd ;;
4636 [\\/]* | ?
:[\\/]* ) # Absolute name.
4637 ac_srcdir
=$srcdir$ac_dir_suffix;
4638 ac_top_srcdir
=$srcdir
4639 ac_abs_top_srcdir
=$srcdir ;;
4641 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
4642 ac_top_srcdir
=$ac_top_build_prefix$srcdir
4643 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
4645 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
4654 if test x
"$ac_file" != x-
; then
4656 $as_echo "/* $configure_input */" \
4657 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
4658 } >"$ac_tmp/config.h" \
4659 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5
4660 if diff "$ac_file" "$ac_tmp/config.h" >/dev
/null
2>&1; then
4661 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
4662 $as_echo "$as_me: $ac_file is unchanged" >&6;}
4665 mv "$ac_tmp/config.h" "$ac_file" \
4666 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5
4669 $as_echo "/* $configure_input */" \
4670 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
4671 || as_fn_error $?
"could not create -" "$LINENO" 5
4679 case $ac_file$ac_mode in
4680 "gm2config.h":H
) echo timestamp
> stamp-h
;;
4688 ac_clean_files
=$ac_clean_files_save
4690 test $ac_write_fail = 0 ||
4691 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
4694 # configure is writing to config.log, and then calls config.status.
4695 # config.status does its own redirection, appending to config.log.
4696 # Unfortunately, on DOS this fails, as config.log is still kept open
4697 # by configure, so config.status won't be able to write to it; its
4698 # output is simply discarded. So we exec the FD to /dev/null,
4699 # effectively closing config.log, so it can be properly (re)opened and
4700 # appended to by config.status. When coming back to configure, we
4701 # need to make the FD available again.
4702 if test "$no_create" != yes; then
4704 ac_config_status_args
=
4705 test "$silent" = yes &&
4706 ac_config_status_args
="$ac_config_status_args --quiet"
4708 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
4710 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4711 # would make configure fail if this is the last instruction.
4712 $ac_cs_success || as_fn_exit
1
4714 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
4715 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4716 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}