2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.65.
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
93 *[\\/]* ) as_myself=$0 ;;
94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98 test -z "$as_dir" && as_dir=.
99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
105 # We did not find ourselves, most probably we were run as `sh COMMAND'
106 # in which case we are not to be found in the path.
107 if test "x$as_myself" = x
; then
110 if test ! -f "$as_myself"; then
111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115 # Unset variables that we do not need and which cause bugs (e.g. in
116 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
117 # suppresses any "Segmentation fault" message there. '((' could
118 # trigger a bug in pdksh 5.2.14.
119 for as_var
in BASH_ENV ENV MAIL MAILPATH
120 do eval test x\
${$as_var+set} = xset \
121 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
134 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
136 if test "x$CONFIG_SHELL" = x
; then
137 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141 # is contrary to our usage. Disable this feature.
142 alias -g '\${1+\"\$@\"}'='\"\$@\"'
145 case \`(set -o) 2>/dev/null\` in #(
153 as_required
="as_fn_return () { (exit \$1); }
154 as_fn_success () { as_fn_return 0; }
155 as_fn_failure () { as_fn_return 1; }
156 as_fn_ret_success () { return 0; }
157 as_fn_ret_failure () { return 1; }
160 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167 exitcode=1; echo positional parameters were not saved.
169 test x\$exitcode = x0 || exit 1"
170 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
171 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
172 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
174 test \$(( 1 + 1 )) = 2 || exit 1"
175 if (eval "$as_required") 2>/dev
/null
; then :
180 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
183 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
185 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
188 test -z "$as_dir" && as_dir
=.
192 for as_base
in sh bash ksh sh5
; do
193 # Try only shells that exist, to save several forks.
194 as_shell
=$as_dir/$as_base
195 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
196 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
197 CONFIG_SHELL
=$as_shell as_have_required
=yes
198 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
206 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
207 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
208 CONFIG_SHELL
=$SHELL as_have_required
=yes
213 if test "x$CONFIG_SHELL" != x
; then :
214 # We cannot yet assume a decent shell, so we have to provide a
215 # neutralization value for shells without unset; and this also
216 # works around shells that cannot unset nonexistent variables.
219 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
221 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
224 if test x
$as_have_required = xno
; then :
225 $as_echo "$0: This script requires a shell more modern than all"
226 $as_echo "$0: the shells that I found on your system."
227 if test x
${ZSH_VERSION+set} = xset
; then
228 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
229 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
231 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
232 $0: including any error possibly output before this
233 $0: message. Then install a modern shell, or manually run
234 $0: the script under such a shell if you do have one."
240 SHELL
=${CONFIG_SHELL-/bin/sh}
242 # Unset more variables known to interfere with behavior of common tools.
243 CLICOLOR_FORCE
= GREP_OPTIONS
=
244 unset CLICOLOR_FORCE GREP_OPTIONS
246 ## --------------------- ##
247 ## M4sh Shell Functions. ##
248 ## --------------------- ##
251 # Portably unset VAR.
254 { eval $1=; unset $1;}
258 # as_fn_set_status STATUS
259 # -----------------------
260 # Set $? to STATUS, without forking.
268 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
278 # Create "$as_dir" as a directory, including parents if necessary.
283 -*) as_dir
=.
/$as_dir;;
285 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
289 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
292 as_dirs
="'$as_qdir' $as_dirs"
293 as_dir
=`$as_dirname -- "$as_dir" ||
294 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
295 X"$as_dir" : 'X\(//\)[^/]' \| \
296 X"$as_dir" : 'X\(//\)$' \| \
297 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
298 $as_echo X"$as_dir" |
299 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
316 test -d "$as_dir" && break
318 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
319 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
323 # as_fn_append VAR VALUE
324 # ----------------------
325 # Append the text in VALUE to the end of the definition contained in VAR. Take
326 # advantage of any shell optimizations that allow amortized linear growth over
327 # repeated appends, instead of the typical quadratic growth present in naive
329 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
330 eval 'as_fn_append ()
343 # Perform arithmetic evaluation on the ARGs, and store the result in the
344 # global $as_val. Take advantage of shells that can avoid forks. The arguments
345 # must be portable across $(()) and expr.
346 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
354 as_val
=`expr "$@" || test $? -eq 1`
359 # as_fn_error ERROR [LINENO LOG_FD]
360 # ---------------------------------
361 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
362 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
363 # script with status $?, using 1 if that was 0.
366 as_status
=$?
; test $as_status -eq 0 && as_status
=1
368 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
369 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
371 $as_echo "$as_me: error: $1" >&2
372 as_fn_exit
$as_status
375 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
376 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
382 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
388 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
394 as_me
=`$as_basename -- "$0" ||
395 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
396 X"$0" : 'X\(//\)$' \| \
397 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
399 sed '/^.*\/\([^/][^/]*\)\/*$/{
413 # Avoid depending upon Character Ranges.
414 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
415 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
416 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
417 as_cr_digits
='0123456789'
418 as_cr_alnum
=$as_cr_Letters$as_cr_digits
421 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
422 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
423 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
424 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
425 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
437 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
441 chmod +x
"$as_me.lineno" ||
442 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
444 # Don't try to exec as it changes $[0], causing all sort of problems
445 # (the dirname of $[0] is not the place where we might find the
446 # original and so on. Autoconf is especially sensitive to this).
448 # Exit status is that of the last command.
452 ECHO_C
= ECHO_N
= ECHO_T
=
453 case `echo -n x` in #(((((
455 case `echo 'xy\c'` in
456 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
458 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
465 rm -f conf$$ conf$$.exe conf$$.
file
466 if test -d conf$$.dir
; then
467 rm -f conf$$.dir
/conf$$.
file
470 mkdir conf$$.dir
2>/dev
/null
472 if (echo >conf$$.
file) 2>/dev
/null
; then
473 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
475 # ... but there are two gotchas:
476 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
477 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
478 # In both cases, we have to default to `cp -p'.
479 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
481 elif ln conf$$.
file conf$$
2>/dev
/null
; then
489 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
490 rmdir conf$$.dir
2>/dev
/null
492 if mkdir
-p .
2>/dev
/null
; then
493 as_mkdir_p
='mkdir -p "$as_dir"'
495 test -d .
/-p && rmdir .
/-p
499 if test -x / >/dev
/null
2>&1; then
502 if ls -dL / >/dev
/null
2>&1; then
509 if test -d "$1"; then
515 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
516 ???[sx]*):;;*)false;;esac;fi
520 as_executable_p
=$as_test_x
522 # Sed expression to map a string onto a valid CPP name.
523 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
525 # Sed expression to map a string onto a valid variable name.
526 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
529 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
533 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
534 # so uname gets run too.
535 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
540 ac_default_prefix
=/usr
/local
542 ac_config_libobj_dir
=.
549 # Identity of this package.
557 ac_unique_file
="src/evaluate/rr.c"
558 # Factoring default headers for most tests.
559 ac_includes_default
="\
561 #ifdef HAVE_SYS_TYPES_H
562 # include <sys/types.h>
564 #ifdef HAVE_SYS_STAT_H
565 # include <sys/stat.h>
571 # ifdef HAVE_STDLIB_H
576 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
581 #ifdef HAVE_STRINGS_H
582 # include <strings.h>
584 #ifdef HAVE_INTTYPES_H
585 # include <inttypes.h>
594 ac_subst_vars
='am__EXEEXT_FALSE
634 MAINTAINER_MODE_FALSE
663 INSTALL_STRIP_PROGRAM
705 program_transform_name
718 enable_option_checking
719 enable_dependency_tracking
720 enable_maintainer_mode
728 ac_precious_vars
='build_alias
743 # Initialize some variables set by options.
745 ac_init_version
=false
746 ac_unrecognized_opts
=
748 # The variables have the same names as the options, with
749 # dashes changed to underlines.
757 program_transform_name
=s
,x
,x
,
765 # Installation directory options.
766 # These are left unexpanded so users can "make install exec_prefix=/foo"
767 # and all the variables that are supposed to be based on exec_prefix
768 # by default will actually change.
769 # Use braces instead of parens because sh, perl, etc. also accept them.
770 # (The list follows the same order as the GNU Coding Standards.)
771 bindir
='${exec_prefix}/bin'
772 sbindir
='${exec_prefix}/sbin'
773 libexecdir
='${exec_prefix}/libexec'
774 datarootdir
='${prefix}/share'
775 datadir
='${datarootdir}'
776 sysconfdir
='${prefix}/etc'
777 sharedstatedir
='${prefix}/com'
778 localstatedir
='${prefix}/var'
779 includedir
='${prefix}/include'
780 oldincludedir
='/usr/include'
781 docdir
='${datarootdir}/doc/${PACKAGE}'
782 infodir
='${datarootdir}/info'
787 libdir
='${exec_prefix}/lib'
788 localedir
='${datarootdir}/locale'
789 mandir
='${datarootdir}/man'
795 # If the previous option needs an argument, assign it.
796 if test -n "$ac_prev"; then
797 eval $ac_prev=\
$ac_option
803 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
807 # Accept the important Cygnus configure options, so we can diagnose typos.
809 case $ac_dashdash$ac_option in
813 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
815 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
818 -build |
--build |
--buil |
--bui |
--bu)
819 ac_prev
=build_alias
;;
820 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
821 build_alias
=$ac_optarg ;;
823 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
824 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
825 ac_prev
=cache_file
;;
826 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
827 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
828 cache_file
=$ac_optarg ;;
831 cache_file
=config.cache
;;
833 -datadir |
--datadir |
--datadi |
--datad)
835 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
836 datadir
=$ac_optarg ;;
838 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
839 |
--dataroo |
--dataro |
--datar)
840 ac_prev
=datarootdir
;;
841 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
842 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
843 datarootdir
=$ac_optarg ;;
845 -disable-* |
--disable-*)
846 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
847 # Reject names that are not valid shell variable names.
848 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
849 as_fn_error
"invalid feature name: $ac_useropt"
850 ac_useropt_orig
=$ac_useropt
851 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
852 case $ac_user_opts in
856 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
857 ac_unrecognized_sep
=', ';;
859 eval enable_
$ac_useropt=no
;;
861 -docdir |
--docdir |
--docdi |
--doc |
--do)
863 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
866 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
868 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
871 -enable-* |
--enable-*)
872 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
873 # Reject names that are not valid shell variable names.
874 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
875 as_fn_error
"invalid feature name: $ac_useropt"
876 ac_useropt_orig
=$ac_useropt
877 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
878 case $ac_user_opts in
882 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
883 ac_unrecognized_sep
=', ';;
885 eval enable_
$ac_useropt=\
$ac_optarg ;;
887 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
888 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
889 |
--exec |
--exe |
--ex)
890 ac_prev
=exec_prefix
;;
891 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
892 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
893 |
--exec=* |
--exe=* |
--ex=*)
894 exec_prefix
=$ac_optarg ;;
896 -gas |
--gas |
--ga |
--g)
897 # Obsolete; use --with-gas.
900 -help |
--help |
--hel |
--he |
-h)
902 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
903 ac_init_help
=recursive
;;
904 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
905 ac_init_help
=short
;;
907 -host |
--host |
--hos |
--ho)
908 ac_prev
=host_alias
;;
909 -host=* |
--host=* |
--hos=* |
--ho=*)
910 host_alias
=$ac_optarg ;;
912 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
914 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
916 htmldir
=$ac_optarg ;;
918 -includedir |
--includedir |
--includedi |
--included |
--include \
919 |
--includ |
--inclu |
--incl |
--inc)
920 ac_prev
=includedir
;;
921 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
922 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
923 includedir
=$ac_optarg ;;
925 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
927 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
928 infodir
=$ac_optarg ;;
930 -libdir |
--libdir |
--libdi |
--libd)
932 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
935 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
936 |
--libexe |
--libex |
--libe)
937 ac_prev
=libexecdir
;;
938 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
939 |
--libexe=* |
--libex=* |
--libe=*)
940 libexecdir
=$ac_optarg ;;
942 -localedir |
--localedir |
--localedi |
--localed |
--locale)
944 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
945 localedir
=$ac_optarg ;;
947 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
948 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
949 ac_prev
=localstatedir
;;
950 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
951 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
952 localstatedir
=$ac_optarg ;;
954 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
956 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
960 # Obsolete; use --without-fp.
963 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
964 |
--no-cr |
--no-c |
-n)
967 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
968 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
971 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
972 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
973 |
--oldin |
--oldi |
--old |
--ol |
--o)
974 ac_prev
=oldincludedir
;;
975 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
976 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
977 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
978 oldincludedir
=$ac_optarg ;;
980 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
982 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
985 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
986 |
--program-pre |
--program-pr |
--program-p)
987 ac_prev
=program_prefix
;;
988 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
989 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
990 program_prefix
=$ac_optarg ;;
992 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
993 |
--program-suf |
--program-su |
--program-s)
994 ac_prev
=program_suffix
;;
995 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
996 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
997 program_suffix
=$ac_optarg ;;
999 -program-transform-name |
--program-transform-name \
1000 |
--program-transform-nam |
--program-transform-na \
1001 |
--program-transform-n |
--program-transform- \
1002 |
--program-transform |
--program-transfor \
1003 |
--program-transfo |
--program-transf \
1004 |
--program-trans |
--program-tran \
1005 |
--progr-tra |
--program-tr |
--program-t)
1006 ac_prev
=program_transform_name
;;
1007 -program-transform-name=* |
--program-transform-name=* \
1008 |
--program-transform-nam=* |
--program-transform-na=* \
1009 |
--program-transform-n=* |
--program-transform-=* \
1010 |
--program-transform=* |
--program-transfor=* \
1011 |
--program-transfo=* |
--program-transf=* \
1012 |
--program-trans=* |
--program-tran=* \
1013 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1014 program_transform_name
=$ac_optarg ;;
1016 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1018 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1019 pdfdir
=$ac_optarg ;;
1021 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1023 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1026 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1027 |
-silent |
--silent |
--silen |
--sile |
--sil)
1030 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1032 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1034 sbindir
=$ac_optarg ;;
1036 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1037 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1038 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1040 ac_prev
=sharedstatedir
;;
1041 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1042 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1043 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1045 sharedstatedir
=$ac_optarg ;;
1047 -site |
--site |
--sit)
1049 -site=* |
--site=* |
--sit=*)
1052 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1054 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1055 srcdir
=$ac_optarg ;;
1057 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1058 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1059 ac_prev
=sysconfdir
;;
1060 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1061 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1062 sysconfdir
=$ac_optarg ;;
1064 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1065 ac_prev
=target_alias
;;
1066 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1067 target_alias
=$ac_optarg ;;
1069 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1072 -version |
--version |
--versio |
--versi |
--vers |
-V)
1073 ac_init_version
=: ;;
1076 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1077 # Reject names that are not valid shell variable names.
1078 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1079 as_fn_error
"invalid package name: $ac_useropt"
1080 ac_useropt_orig
=$ac_useropt
1081 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1082 case $ac_user_opts in
1086 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1087 ac_unrecognized_sep
=', ';;
1089 eval with_
$ac_useropt=\
$ac_optarg ;;
1091 -without-* |
--without-*)
1092 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1093 # Reject names that are not valid shell variable names.
1094 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1095 as_fn_error
"invalid package name: $ac_useropt"
1096 ac_useropt_orig
=$ac_useropt
1097 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1098 case $ac_user_opts in
1102 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1103 ac_unrecognized_sep
=', ';;
1105 eval with_
$ac_useropt=no
;;
1108 # Obsolete; use --with-x.
1111 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1112 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1113 ac_prev
=x_includes
;;
1114 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1115 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1116 x_includes
=$ac_optarg ;;
1118 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1119 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1120 ac_prev
=x_libraries
;;
1121 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1122 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1123 x_libraries
=$ac_optarg ;;
1125 -*) as_fn_error
"unrecognized option: \`$ac_option'
1126 Try \`$0 --help' for more information."
1130 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1131 # Reject names that are not valid shell variable names.
1132 case $ac_envvar in #(
1133 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1134 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1136 eval $ac_envvar=\
$ac_optarg
1137 export $ac_envvar ;;
1140 # FIXME: should be removed in autoconf 3.0.
1141 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1142 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1143 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1144 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1150 if test -n "$ac_prev"; then
1151 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1152 as_fn_error
"missing argument to $ac_option"
1155 if test -n "$ac_unrecognized_opts"; then
1156 case $enable_option_checking in
1158 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1159 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1163 # Check all directory arguments for consistency.
1164 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1165 datadir sysconfdir sharedstatedir localstatedir includedir \
1166 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1167 libdir localedir mandir
1169 eval ac_val
=\$
$ac_var
1170 # Remove trailing slashes.
1173 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1174 eval $ac_var=\
$ac_val;;
1176 # Be sure to have absolute directory names.
1178 [\\/$
]* | ?
:[\\/]* ) continue;;
1179 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1181 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1184 # There might be people who depend on the old broken behavior: `$host'
1185 # used to hold the argument of --host etc.
1186 # FIXME: To remove some day.
1189 target
=$target_alias
1191 # FIXME: To remove some day.
1192 if test "x$host_alias" != x
; then
1193 if test "x$build_alias" = x
; then
1194 cross_compiling
=maybe
1195 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1196 If a cross compiler is detected then cross compile mode will be used." >&2
1197 elif test "x$build_alias" != "x$host_alias"; then
1203 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1205 test "$silent" = yes && exec 6>/dev
/null
1208 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1209 ac_ls_di
=`ls -di .` &&
1210 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1211 as_fn_error
"working directory cannot be determined"
1212 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1213 as_fn_error
"pwd does not report name of working directory"
1216 # Find the source files, if location was not specified.
1217 if test -z "$srcdir"; then
1218 ac_srcdir_defaulted
=yes
1219 # Try the directory containing this script, then the parent directory.
1220 ac_confdir
=`$as_dirname -- "$as_myself" ||
1221 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1222 X"$as_myself" : 'X\(//\)[^/]' \| \
1223 X"$as_myself" : 'X\(//\)$' \| \
1224 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1225 $as_echo X"$as_myself" |
1226 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1244 if test ! -r "$srcdir/$ac_unique_file"; then
1248 ac_srcdir_defaulted
=no
1250 if test ! -r "$srcdir/$ac_unique_file"; then
1251 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1252 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1254 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1256 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1258 # When building in place, set srcdir=.
1259 if test "$ac_abs_confdir" = "$ac_pwd"; then
1262 # Remove unnecessary trailing slashes from srcdir.
1263 # Double slashes in file names in object file debugging info
1264 # mess up M-x gdb in Emacs.
1266 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1268 for ac_var
in $ac_precious_vars; do
1269 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1270 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1271 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1272 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1276 # Report the --help message.
1278 if test "$ac_init_help" = "long"; then
1279 # Omit some internal or obsolete options to make the list less imposing.
1280 # This message is too long to be a string in the A/UX 3.1 sh.
1282 \`configure' configures this package to adapt to many kinds of systems.
1284 Usage: $0 [OPTION]... [VAR=VALUE]...
1286 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1287 VAR=VALUE. See below for descriptions of some of the useful variables.
1289 Defaults for the options are specified in brackets.
1292 -h, --help display this help and exit
1293 --help=short display options specific to this package
1294 --help=recursive display the short help of all the included packages
1295 -V, --version display version information and exit
1296 -q, --quiet, --silent do not print \`checking...' messages
1297 --cache-file=FILE cache test results in FILE [disabled]
1298 -C, --config-cache alias for \`--cache-file=config.cache'
1299 -n, --no-create do not create output files
1300 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1302 Installation directories:
1303 --prefix=PREFIX install architecture-independent files in PREFIX
1304 [$ac_default_prefix]
1305 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1308 By default, \`make install' will install all the files in
1309 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1310 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1311 for instance \`--prefix=\$HOME'.
1313 For better control, use the options below.
1315 Fine tuning of the installation directories:
1316 --bindir=DIR user executables [EPREFIX/bin]
1317 --sbindir=DIR system admin executables [EPREFIX/sbin]
1318 --libexecdir=DIR program executables [EPREFIX/libexec]
1319 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1320 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1321 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1322 --libdir=DIR object code libraries [EPREFIX/lib]
1323 --includedir=DIR C header files [PREFIX/include]
1324 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1325 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1326 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1327 --infodir=DIR info documentation [DATAROOTDIR/info]
1328 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1329 --mandir=DIR man documentation [DATAROOTDIR/man]
1330 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1331 --htmldir=DIR html documentation [DOCDIR]
1332 --dvidir=DIR dvi documentation [DOCDIR]
1333 --pdfdir=DIR pdf documentation [DOCDIR]
1334 --psdir=DIR ps documentation [DOCDIR]
1340 --program-prefix=PREFIX prepend PREFIX to installed program names
1341 --program-suffix=SUFFIX append SUFFIX to installed program names
1342 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1346 if test -n "$ac_init_help"; then
1351 --disable-option-checking ignore unrecognized
--enable/--with options
1352 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1353 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1354 --disable-dependency-tracking speeds up one-time build
1355 --enable-dependency-tracking do not reject slow dependency extractors
1356 --enable-maintainer-mode enable make rules and dependencies not useful
1357 (and sometimes confusing
) to the casual installer
1358 --enable-mpi enable Message Protocol Interface
(MPI
)
1359 --enable-cam enable (IEEE-1394
) camera
1360 --enable-trig enable (realtime
) triggering
1361 --disable-rta=RTATOPDIR place where the RTAI code \
1362 resides
(default
/usr
/lib
/realtime
)
1363 --enable-k=KTOPDIR place where the installed kernel \
1364 headers resides
(default
/usr
/src
/kernel-headers-2.4
.27-adeos)
1365 --enable-omp enable Open Multi-Processing
(OMP
)
1367 Some influential environment variables
:
1368 CC C compiler
command
1369 CFLAGS C compiler flags
1370 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1371 nonstandard directory
<lib dir
>
1372 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1373 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1374 you have headers
in a nonstandard directory
<include dir
>
1376 PKG_CONFIG path to pkg-config utility
1377 GLIB_CFLAGS C compiler flags
for GLIB
, overriding pkg-config
1378 GLIB_LIBS linker flags
for GLIB
, overriding pkg-config
1379 MPICC MPI C compiler
command
1381 Use these variables to override the choices made by
`configure' or to help
1382 it to find libraries and programs with nonstandard names/locations.
1384 Report bugs to the package provider.
1389 if test "$ac_init_help" = "recursive"; then
1390 # If there are subdirs, report their specific --help.
1391 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1392 test -d "$ac_dir" ||
1393 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1398 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1400 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1401 # A ".." for each directory in $ac_dir_suffix.
1402 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1403 case $ac_top_builddir_sub in
1404 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1405 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1408 ac_abs_top_builddir=$ac_pwd
1409 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1410 # for backward compatibility:
1411 ac_top_builddir=$ac_top_build_prefix
1414 .) # We are building in place.
1416 ac_top_srcdir=$ac_top_builddir_sub
1417 ac_abs_top_srcdir=$ac_pwd ;;
1418 [\\/]* | ?:[\\/]* ) # Absolute name.
1419 ac_srcdir=$srcdir$ac_dir_suffix;
1420 ac_top_srcdir=$srcdir
1421 ac_abs_top_srcdir=$srcdir ;;
1423 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1424 ac_top_srcdir=$ac_top_build_prefix$srcdir
1425 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1427 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1429 cd "$ac_dir" || { ac_status=$?; continue; }
1430 # Check for guested configure.
1431 if test -f "$ac_srcdir/configure.gnu"; then
1433 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1434 elif test -f "$ac_srcdir/configure"; then
1436 $SHELL "$ac_srcdir/configure" --help=recursive
1438 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1440 cd "$ac_pwd" || { ac_status=$?; break; }
1444 test -n "$ac_init_help" && exit $ac_status
1445 if $ac_init_version; then
1448 generated by GNU Autoconf 2.65
1450 Copyright (C) 2009 Free Software Foundation, Inc.
1451 This configure script is free software; the Free Software Foundation
1452 gives unlimited permission to copy, distribute and modify it.
1457 ## ------------------------ ##
1458 ## Autoconf initialization. ##
1459 ## ------------------------ ##
1461 # ac_fn_c_try_compile LINENO
1462 # --------------------------
1463 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1464 ac_fn_c_try_compile ()
1466 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1467 rm -f conftest.$ac_objext
1468 if { { ac_try="$ac_compile"
1470 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1471 *) ac_try_echo
=$ac_try;;
1473 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1474 $as_echo "$ac_try_echo"; } >&5
1475 (eval "$ac_compile") 2>conftest.err
1477 if test -s conftest.err
; then
1478 grep -v '^ *+' conftest.err
>conftest.er1
1479 cat conftest.er1
>&5
1480 mv -f conftest.er1 conftest.err
1482 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1483 test $ac_status = 0; } && {
1484 test -z "$ac_c_werror_flag" ||
1485 test ! -s conftest.err
1486 } && test -s conftest.
$ac_objext; then :
1489 $as_echo "$as_me: failed program was:" >&5
1490 sed 's/^/| /' conftest.
$ac_ext >&5
1494 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1495 as_fn_set_status
$ac_retval
1497 } # ac_fn_c_try_compile
1499 # ac_fn_c_try_link LINENO
1500 # -----------------------
1501 # Try to link conftest.$ac_ext, and return whether this succeeded.
1504 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1505 rm -f conftest.
$ac_objext conftest
$ac_exeext
1506 if { { ac_try
="$ac_link"
1508 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1509 *) ac_try_echo=$ac_try;;
1511 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1512 $as_echo "$ac_try_echo"; } >&5
1513 (eval "$ac_link") 2>conftest.err
1515 if test -s conftest.err; then
1516 grep -v '^ *+' conftest.err >conftest.er1
1517 cat conftest.er1 >&5
1518 mv -f conftest.er1 conftest.err
1520 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1521 test $ac_status = 0; } && {
1522 test -z "$ac_c_werror_flag" ||
1523 test ! -s conftest.err
1524 } && test -s conftest$ac_exeext && {
1525 test "$cross_compiling" = yes ||
1526 $as_test_x conftest$ac_exeext
1530 $as_echo "$as_me: failed program was:" >&5
1531 sed 's/^/| /' conftest.$ac_ext >&5
1535 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1536 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1537 # interfere with the next link command; also delete a directory that is
1538 # left behind by Apple's compiler. We do this before executing the actions.
1539 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1540 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1541 as_fn_set_status $ac_retval
1543 } # ac_fn_c_try_link
1545 # ac_fn_c_try_cpp LINENO
1546 # ----------------------
1547 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1550 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1551 if { { ac_try="$ac_cpp conftest.$ac_ext"
1553 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1554 *) ac_try_echo
=$ac_try;;
1556 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1557 $as_echo "$ac_try_echo"; } >&5
1558 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1560 if test -s conftest.err
; then
1561 grep -v '^ *+' conftest.err
>conftest.er1
1562 cat conftest.er1
>&5
1563 mv -f conftest.er1 conftest.err
1565 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1566 test $ac_status = 0; } >/dev
/null
&& {
1567 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1568 test ! -s conftest.err
1572 $as_echo "$as_me: failed program was:" >&5
1573 sed 's/^/| /' conftest.
$ac_ext >&5
1577 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1578 as_fn_set_status
$ac_retval
1582 # ac_fn_c_try_run LINENO
1583 # ----------------------
1584 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1585 # that executables *can* be run.
1588 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1589 if { { ac_try
="$ac_link"
1591 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1592 *) ac_try_echo=$ac_try;;
1594 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1595 $as_echo "$ac_try_echo"; } >&5
1596 (eval "$ac_link") 2>&5
1598 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1599 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1600 { { case "(($ac_try" in
1601 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1602 *) ac_try_echo
=$ac_try;;
1604 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1605 $as_echo "$ac_try_echo"; } >&5
1606 (eval "$ac_try") 2>&5
1608 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1609 test $ac_status = 0; }; }; then :
1612 $as_echo "$as_me: program exited with status $ac_status" >&5
1613 $as_echo "$as_me: failed program was:" >&5
1614 sed 's/^/| /' conftest.
$ac_ext >&5
1616 ac_retval
=$ac_status
1618 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1619 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1620 as_fn_set_status
$ac_retval
1624 # ac_fn_c_check_func LINENO FUNC VAR
1625 # ----------------------------------
1626 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1627 ac_fn_c_check_func
()
1629 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1631 $as_echo_n "checking for $2... " >&6; }
1632 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1633 $as_echo_n "(cached) " >&6
1635 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1636 /* end confdefs.h. */
1637 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1638 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1639 #define $2 innocuous_$2
1641 /* System header to define __stub macros and hopefully few prototypes,
1642 which can conflict with char $2 (); below.
1643 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1644 <limits.h> exists even on freestanding compilers. */
1647 # include <limits.h>
1649 # include <assert.h>
1654 /* Override any GCC internal prototype to avoid an error.
1655 Use char because int might match the return type of a GCC
1656 builtin and then its argument prototype would still apply. */
1661 /* The GNU C library defines this for functions which it implements
1662 to always fail with ENOSYS. Some functions are actually named
1663 something starting with __ and the normal name is an alias. */
1664 #if defined __stub_$2 || defined __stub___$2
1676 if ac_fn_c_try_link
"$LINENO"; then :
1681 rm -f core conftest.err conftest.
$ac_objext \
1682 conftest
$ac_exeext conftest.
$ac_ext
1685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1686 $as_echo "$ac_res" >&6; }
1687 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1689 } # ac_fn_c_check_func
1691 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1692 # -------------------------------------------
1693 # Tests whether TYPE exists after having included INCLUDES, setting cache
1694 # variable VAR accordingly.
1695 ac_fn_c_check_type
()
1697 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1699 $as_echo_n "checking for $2... " >&6; }
1700 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1701 $as_echo_n "(cached) " >&6
1704 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1705 /* end confdefs.h. */
1716 if ac_fn_c_try_compile
"$LINENO"; then :
1717 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1718 /* end confdefs.h. */
1729 if ac_fn_c_try_compile
"$LINENO"; then :
1734 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
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; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1743 } # ac_fn_c_check_type
1745 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1746 # -------------------------------------------------------
1747 # Tests whether HEADER exists and can be compiled using the include files in
1748 # INCLUDES, setting the cache variable VAR accordingly.
1749 ac_fn_c_check_header_compile
()
1751 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1753 $as_echo_n "checking for $2... " >&6; }
1754 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1755 $as_echo_n "(cached) " >&6
1757 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1758 /* end confdefs.h. */
1762 if ac_fn_c_try_compile
"$LINENO"; then :
1767 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1771 $as_echo "$ac_res" >&6; }
1772 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1774 } # ac_fn_c_check_header_compile
1776 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1777 # -------------------------------------------------------
1778 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1779 # the include files in INCLUDES and setting the cache variable VAR
1781 ac_fn_c_check_header_mongrel
()
1783 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1784 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1786 $as_echo_n "checking for $2... " >&6; }
1787 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1788 $as_echo_n "(cached) " >&6
1791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1792 $as_echo "$ac_res" >&6; }
1794 # Is the header compilable?
1795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1796 $as_echo_n "checking $2 usability... " >&6; }
1797 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1798 /* end confdefs.h. */
1802 if ac_fn_c_try_compile
"$LINENO"; then :
1803 ac_header_compiler
=yes
1805 ac_header_compiler
=no
1807 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1809 $as_echo "$ac_header_compiler" >&6; }
1811 # Is the header present?
1812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1813 $as_echo_n "checking $2 presence... " >&6; }
1814 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1815 /* end confdefs.h. */
1818 if ac_fn_c_try_cpp
"$LINENO"; then :
1819 ac_header_preproc
=yes
1821 ac_header_preproc
=no
1823 rm -f conftest.err conftest.
$ac_ext
1824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1825 $as_echo "$ac_header_preproc" >&6; }
1827 # So? What about this header?
1828 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1830 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1831 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1832 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1833 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1836 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1837 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1838 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1839 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1840 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1841 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1842 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1843 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1844 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1845 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1849 $as_echo_n "checking for $2... " >&6; }
1850 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1851 $as_echo_n "(cached) " >&6
1853 eval "$3=\$ac_header_compiler"
1856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1857 $as_echo "$ac_res" >&6; }
1859 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1861 } # ac_fn_c_check_header_mongrel
1862 cat >config.log
<<_ACEOF
1863 This file contains any messages produced by compilers while
1864 running configure, to aid debugging if configure makes a mistake.
1866 It was created by $as_me, which was
1867 generated by GNU Autoconf 2.65. Invocation command line was
1879 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1880 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1881 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1882 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1883 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1885 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1886 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1888 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1889 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1890 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1891 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1892 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1893 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1894 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1898 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1902 test -z "$as_dir" && as_dir
=.
1903 $as_echo "PATH: $as_dir"
1919 # Keep a trace of the command line.
1920 # Strip out --no-create and --no-recursion so they do not pile up.
1921 # Strip out --silent because we don't want to record it for future runs.
1922 # Also quote any args containing shell meta-characters.
1923 # Make two passes to allow for proper duplicate-argument suppression.
1927 ac_must_keep_next
=false
1933 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1934 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1935 |
-silent |
--silent |
--silen |
--sile |
--sil)
1938 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1941 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1943 as_fn_append ac_configure_args1
" '$ac_arg'"
1944 if test $ac_must_keep_next = true
; then
1945 ac_must_keep_next
=false
# Got value, back to normal.
1948 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1949 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1950 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1951 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1952 case "$ac_configure_args0 " in
1953 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1956 -* ) ac_must_keep_next
=true
;;
1959 as_fn_append ac_configure_args
" '$ac_arg'"
1964 { ac_configure_args0
=; unset ac_configure_args0
;}
1965 { ac_configure_args1
=; unset ac_configure_args1
;}
1967 # When interrupted or exit'd, cleanup temporary files, and complete
1968 # config.log. We remove comments because anyway the quotes in there
1969 # would cause problems or look ugly.
1970 # WARNING: Use '\'' to represent an apostrophe within the trap.
1971 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1972 trap 'exit_status=$?
1973 # Save into config.log some information that might help in debugging.
1978 ## ---------------- ##
1979 ## Cache variables. ##
1980 ## ---------------- ##
1983 # The following way of writing the cache mishandles newlines in values,
1985 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1986 eval ac_val=\$$ac_var
1990 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1991 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1994 _ | IFS | as_nl) ;; #(
1995 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1996 *) { eval $ac_var=; unset $ac_var;} ;;
2001 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2002 *${as_nl}ac_space=\ *)
2004 "s/'\''/'\''\\\\'\'''\''/g;
2005 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2008 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2016 ## ----------------- ##
2017 ## Output variables. ##
2018 ## ----------------- ##
2021 for ac_var in $ac_subst_vars
2023 eval ac_val=\$$ac_var
2025 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2027 $as_echo "$ac_var='\''$ac_val'\''"
2031 if test -n "$ac_subst_files"; then
2033 ## ------------------- ##
2034 ## File substitutions. ##
2035 ## ------------------- ##
2038 for ac_var
in $ac_subst_files
2040 eval ac_val
=\$
$ac_var
2042 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2044 $as_echo "$ac_var='\''$ac_val'\''"
2049 if test -s confdefs.h; then
2059 test "$ac_signal" != 0 &&
2060 $as_echo "$as_me: caught signal $ac_signal"
2061 $as_echo "$as_me: exit $exit_status"
2063 rm -f core *.core core.conftest.* &&
2064 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2067 for ac_signal
in 1 2 13 15; do
2068 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2072 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2073 rm -f -r conftest
* confdefs.h
2075 $as_echo "/* confdefs.h */" > confdefs.h
2077 # Predefined preprocessor variables.
2079 cat >>confdefs.h
<<_ACEOF
2080 #define PACKAGE_NAME "$PACKAGE_NAME"
2083 cat >>confdefs.h
<<_ACEOF
2084 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2087 cat >>confdefs.h
<<_ACEOF
2088 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2091 cat >>confdefs.h
<<_ACEOF
2092 #define PACKAGE_STRING "$PACKAGE_STRING"
2095 cat >>confdefs.h
<<_ACEOF
2096 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2099 cat >>confdefs.h
<<_ACEOF
2100 #define PACKAGE_URL "$PACKAGE_URL"
2104 # Let the site file select an alternate cache file if it wants to.
2105 # Prefer an explicitly selected file to automatically selected ones.
2108 if test -n "$CONFIG_SITE"; then
2109 ac_site_file1
=$CONFIG_SITE
2110 elif test "x$prefix" != xNONE
; then
2111 ac_site_file1
=$prefix/share
/config.site
2112 ac_site_file2
=$prefix/etc
/config.site
2114 ac_site_file1
=$ac_default_prefix/share
/config.site
2115 ac_site_file2
=$ac_default_prefix/etc
/config.site
2117 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2119 test "x$ac_site_file" = xNONE
&& continue
2120 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2121 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2122 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2123 sed 's/^/| /' "$ac_site_file" >&5
2128 if test -r "$cache_file"; then
2129 # Some versions of bash will fail to source /dev/null (special files
2130 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2131 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2132 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2133 $as_echo "$as_me: loading cache $cache_file" >&6;}
2135 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2136 *) .
"./$cache_file";;
2140 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2141 $as_echo "$as_me: creating cache $cache_file" >&6;}
2145 # Check that the precious variables saved in the cache have kept the same
2147 ac_cache_corrupted
=false
2148 for ac_var
in $ac_precious_vars; do
2149 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2150 eval ac_new_set
=\
$ac_env_${ac_var}_set
2151 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2152 eval ac_new_val
=\
$ac_env_${ac_var}_value
2153 case $ac_old_set,$ac_new_set in
2155 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2156 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2157 ac_cache_corrupted
=: ;;
2159 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2160 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2161 ac_cache_corrupted
=: ;;
2164 if test "x$ac_old_val" != "x$ac_new_val"; then
2165 # differences in whitespace do not lead to failure.
2166 ac_old_val_w
=`echo x $ac_old_val`
2167 ac_new_val_w
=`echo x $ac_new_val`
2168 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2169 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2170 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2171 ac_cache_corrupted
=:
2173 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2174 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2175 eval $ac_var=\
$ac_old_val
2177 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2178 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2179 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2180 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2183 # Pass precious variables to config.status.
2184 if test "$ac_new_set" = set; then
2186 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2187 *) ac_arg
=$ac_var=$ac_new_val ;;
2189 case " $ac_configure_args " in
2190 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2191 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2195 if $ac_cache_corrupted; then
2196 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2197 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2198 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2199 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2200 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2202 ## -------------------- ##
2203 ## Main body of script. ##
2204 ## -------------------- ##
2207 ac_cpp
='$CPP $CPPFLAGS'
2208 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2209 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2210 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2213 am__api_version
='1.11'
2216 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2217 for ac_t
in install-sh
install.sh shtool
; do
2218 if test -f "$ac_dir/$ac_t"; then
2220 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2225 if test -z "$ac_aux_dir"; then
2226 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2229 # These three variables are undocumented and unsupported,
2230 # and are intended to be withdrawn in a future Autoconf release.
2231 # They can cause serious problems if a builder's source tree is in a directory
2232 # whose full name contains unusual characters.
2233 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2234 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2235 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2238 # Find a good install program. We prefer a C program (faster),
2239 # so one script is as good as another. But avoid the broken or
2240 # incompatible versions:
2241 # SysV /etc/install, /usr/sbin/install
2242 # SunOS /usr/etc/install
2243 # IRIX /sbin/install
2245 # AmigaOS /C/install, which installs bootblocks on floppy discs
2246 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2247 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2248 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2249 # OS/2's system install, which has a completely different semantic
2250 # ./install, which can be erroneously created by make from ./install.sh.
2251 # Reject install programs that cannot install multiple files.
2252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2253 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2254 if test -z "$INSTALL"; then
2255 if test "${ac_cv_path_install+set}" = set; then :
2256 $as_echo_n "(cached) " >&6
2258 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2262 test -z "$as_dir" && as_dir
=.
2263 # Account for people who put trailing slashes in PATH elements.
2264 case $as_dir/ in #((
2265 .
/ | .
// |
/[cC
]/* | \
2266 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2267 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2270 # OSF1 and SCO ODT 3.0 have their own names for install.
2271 # Don't use installbsd from OSF since it installs stuff as root
2273 for ac_prog
in ginstall scoinst
install; do
2274 for ac_exec_ext
in '' $ac_executable_extensions; do
2275 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2276 if test $ac_prog = install &&
2277 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2278 # AIX install. It has an incompatible calling convention.
2280 elif test $ac_prog = install &&
2281 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2282 # program-specific install script used by HP pwplus--don't use.
2285 rm -rf conftest.one conftest.two conftest.dir
2286 echo one
> conftest.one
2287 echo two
> conftest.two
2289 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2290 test -s conftest.one
&& test -s conftest.two
&&
2291 test -s conftest.dir
/conftest.one
&&
2292 test -s conftest.dir
/conftest.two
2294 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2307 rm -rf conftest.one conftest.two conftest.dir
2310 if test "${ac_cv_path_install+set}" = set; then
2311 INSTALL
=$ac_cv_path_install
2313 # As a last resort, use the slow shell script. Don't cache a
2314 # value for INSTALL within a source directory, because that will
2315 # break other packages using the cache if that directory is
2316 # removed, or if the value is a relative name.
2317 INSTALL
=$ac_install_sh
2320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2321 $as_echo "$INSTALL" >&6; }
2323 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2324 # It thinks the first close brace ends the variable substitution.
2325 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2327 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2329 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2332 $as_echo_n "checking whether build environment is sane... " >&6; }
2335 echo timestamp
> conftest.
file
2336 # Reject unsafe characters in $srcdir or the absolute working directory
2337 # name. Accept space and tab only in the latter.
2341 *[\\\"\
#\$\&\'\`$am_lf]*)
2342 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
2345 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2346 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2349 # Do `set' in a subshell so we don't clobber the current shell's
2350 # arguments. Must try -L first in case configure is actually a
2351 # symlink; some systems play weird games with the mod time of symlinks
2352 # (eg FreeBSD returns the mod time of the symlink's containing
2355 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2356 if test "$*" = "X"; then
2358 set X
`ls -t "$srcdir/configure" conftest.file`
2361 if test "$*" != "X $srcdir/configure conftest.file" \
2362 && test "$*" != "X conftest.file $srcdir/configure"; then
2364 # If neither matched, then we have a broken ls. This can happen
2365 # if, for instance, CONFIG_SHELL is bash and it inherits a
2366 # broken ls alias from the environment. This has actually
2367 # happened. Such a system could not be considered "sane".
2368 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
2369 alias in your environment" "$LINENO" 5
2372 test "$2" = conftest.
file
2378 as_fn_error
"newly created file is older than distributed files!
2379 Check your system clock" "$LINENO" 5
2381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2382 $as_echo "yes" >&6; }
2383 test "$program_prefix" != NONE
&&
2384 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2385 # Use a double $ so make ignores it.
2386 test "$program_suffix" != NONE
&&
2387 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2388 # Double any \ or $.
2389 # By default was `s,x,x', remove it if useless.
2390 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2391 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2393 # expand $ac_aux_dir to an absolute path
2394 am_aux_dir
=`cd $ac_aux_dir && pwd`
2396 if test x
"${MISSING+set}" != xset
; then
2399 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2401 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2404 # Use eval to expand $SHELL
2405 if eval "$MISSING --run true"; then
2406 am_missing_run
="$MISSING --run "
2409 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2410 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2413 if test x
"${install_sh}" != xset
; then
2416 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2418 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2422 # Installed binaries are usually stripped using `strip' when the user
2423 # run `make install-strip'. However `strip' might not be the right
2424 # tool to use in cross-compilation environments, therefore Automake
2425 # will honor the `STRIP' environment variable to overrule this program.
2426 if test "$cross_compiling" != no
; then
2427 if test -n "$ac_tool_prefix"; then
2428 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2429 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2431 $as_echo_n "checking for $ac_word... " >&6; }
2432 if test "${ac_cv_prog_STRIP+set}" = set; then :
2433 $as_echo_n "(cached) " >&6
2435 if test -n "$STRIP"; then
2436 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2438 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2442 test -z "$as_dir" && as_dir
=.
2443 for ac_exec_ext
in '' $ac_executable_extensions; do
2444 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2445 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2446 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2455 STRIP
=$ac_cv_prog_STRIP
2456 if test -n "$STRIP"; then
2457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2458 $as_echo "$STRIP" >&6; }
2460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2461 $as_echo "no" >&6; }
2466 if test -z "$ac_cv_prog_STRIP"; then
2468 # Extract the first word of "strip", so it can be a program name with args.
2469 set dummy strip
; ac_word
=$2
2470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2471 $as_echo_n "checking for $ac_word... " >&6; }
2472 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2473 $as_echo_n "(cached) " >&6
2475 if test -n "$ac_ct_STRIP"; then
2476 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2478 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2482 test -z "$as_dir" && as_dir
=.
2483 for ac_exec_ext
in '' $ac_executable_extensions; do
2484 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2485 ac_cv_prog_ac_ct_STRIP
="strip"
2486 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2495 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2496 if test -n "$ac_ct_STRIP"; then
2497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2498 $as_echo "$ac_ct_STRIP" >&6; }
2500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2501 $as_echo "no" >&6; }
2504 if test "x$ac_ct_STRIP" = x
; then
2507 case $cross_compiling:$ac_tool_warned in
2509 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2510 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2511 ac_tool_warned
=yes ;;
2516 STRIP
="$ac_cv_prog_STRIP"
2520 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2523 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2524 if test -z "$MKDIR_P"; then
2525 if test "${ac_cv_path_mkdir+set}" = set; then :
2526 $as_echo_n "(cached) " >&6
2528 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2529 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2532 test -z "$as_dir" && as_dir
=.
2533 for ac_prog
in mkdir gmkdir
; do
2534 for ac_exec_ext
in '' $ac_executable_extensions; do
2535 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2536 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2537 'mkdir (GNU coreutils) '* | \
2538 'mkdir (coreutils) '* | \
2539 'mkdir (fileutils) '4.1*)
2540 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2550 test -d .
/--version && rmdir .
/--version
2551 if test "${ac_cv_path_mkdir+set}" = set; then
2552 MKDIR_P
="$ac_cv_path_mkdir -p"
2554 # As a last resort, use the slow shell script. Don't cache a
2555 # value for MKDIR_P within a source directory, because that will
2556 # break other packages using the cache if that directory is
2557 # removed, or if the value is a relative name.
2558 MKDIR_P
="$ac_install_sh -d"
2561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2562 $as_echo "$MKDIR_P" >&6; }
2566 [\\/$
]* | ?
:[\\/]*) ;;
2567 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2570 for ac_prog
in gawk mawk nawk
awk
2572 # Extract the first word of "$ac_prog", so it can be a program name with args.
2573 set dummy
$ac_prog; ac_word
=$2
2574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2575 $as_echo_n "checking for $ac_word... " >&6; }
2576 if test "${ac_cv_prog_AWK+set}" = set; then :
2577 $as_echo_n "(cached) " >&6
2579 if test -n "$AWK"; then
2580 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2582 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2586 test -z "$as_dir" && as_dir
=.
2587 for ac_exec_ext
in '' $ac_executable_extensions; do
2588 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2589 ac_cv_prog_AWK
="$ac_prog"
2590 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2600 if test -n "$AWK"; then
2601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2602 $as_echo "$AWK" >&6; }
2604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2605 $as_echo "no" >&6; }
2609 test -n "$AWK" && break
2612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2613 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2615 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2616 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2617 $as_echo_n "(cached) " >&6
2619 cat >conftest.
make <<\_ACEOF
2622 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2624 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2625 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2627 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2629 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2633 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2635 $as_echo "yes" >&6; }
2638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2639 $as_echo "no" >&6; }
2640 SET_MAKE
="MAKE=${MAKE-make}"
2643 rm -rf .tst
2>/dev
/null
2644 mkdir .tst
2>/dev
/null
2645 if test -d .tst
; then
2650 rmdir .tst
2>/dev
/null
2652 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2653 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2654 # is not polluted with repeated "-I."
2655 am__isrc
=' -I$(srcdir)'
2656 # test to see if srcdir already configured
2657 if test -f $srcdir/config.status
; then
2658 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2662 # test whether we have cygpath
2663 if test -z "$CYGPATH_W"; then
2664 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2665 CYGPATH_W
='cygpath -w'
2672 # Define the identity of the package.
2677 cat >>confdefs.h
<<_ACEOF
2678 #define PACKAGE "$PACKAGE"
2682 cat >>confdefs.h
<<_ACEOF
2683 #define VERSION "$VERSION"
2686 # Some tools Automake needs.
2688 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2691 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2694 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2697 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2700 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2702 # We need awk for the "check" target. The system "awk" is bad on
2704 # Always define AMTAR for backward compatibility.
2706 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2708 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2714 ac_config_headers
="$ac_config_headers config.h"
2717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2718 $as_echo_n "checking whether build environment is sane... " >&6; }
2721 echo timestamp
> conftest.
file
2722 # Reject unsafe characters in $srcdir or the absolute working directory
2723 # name. Accept space and tab only in the latter.
2727 *[\\\"\
#\$\&\'\`$am_lf]*)
2728 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
2731 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2732 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2735 # Do `set' in a subshell so we don't clobber the current shell's
2736 # arguments. Must try -L first in case configure is actually a
2737 # symlink; some systems play weird games with the mod time of symlinks
2738 # (eg FreeBSD returns the mod time of the symlink's containing
2741 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2742 if test "$*" = "X"; then
2744 set X
`ls -t "$srcdir/configure" conftest.file`
2747 if test "$*" != "X $srcdir/configure conftest.file" \
2748 && test "$*" != "X conftest.file $srcdir/configure"; then
2750 # If neither matched, then we have a broken ls. This can happen
2751 # if, for instance, CONFIG_SHELL is bash and it inherits a
2752 # broken ls alias from the environment. This has actually
2753 # happened. Such a system could not be considered "sane".
2754 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
2755 alias in your environment" "$LINENO" 5
2758 test "$2" = conftest.
file
2764 as_fn_error
"newly created file is older than distributed files!
2765 Check your system clock" "$LINENO" 5
2767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2768 $as_echo "yes" >&6; }
2769 DEPDIR
="${am__leading_dot}deps"
2771 ac_config_commands
="$ac_config_commands depfiles"
2774 am_make
=${MAKE-make}
2775 cat > confinc
<< 'END'
2777 @
echo this is the am__doit target
2780 # If we don't find an include directive, just comment out the code.
2781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2782 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2786 # First try GNU make style include.
2787 echo "include confinc" > confmf
2788 # Ignore all kinds of additional output from `make'.
2789 case `$am_make -s -f confmf 2> /dev/null` in #(
2790 *the\ am__doit\ target
*)
2796 # Now try BSD make style include.
2797 if test "$am__include" = "#"; then
2798 echo '.include "confinc"' > confmf
2799 case `$am_make -s -f confmf 2> /dev/null` in #(
2800 *the\ am__doit\ target
*)
2801 am__include
=.include
2809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2810 $as_echo "$_am_result" >&6; }
2811 rm -f confinc confmf
2813 # Check whether --enable-dependency-tracking was given.
2814 if test "${enable_dependency_tracking+set}" = set; then :
2815 enableval
=$enable_dependency_tracking;
2818 if test "x$enable_dependency_tracking" != xno
; then
2819 am_depcomp
="$ac_aux_dir/depcomp"
2822 if test "x$enable_dependency_tracking" != xno; then
2832 ac_cpp
='$CPP $CPPFLAGS'
2833 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2834 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2835 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2836 if test -n "$ac_tool_prefix"; then
2837 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2838 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2840 $as_echo_n "checking for $ac_word... " >&6; }
2841 if test "${ac_cv_prog_CC+set}" = set; then :
2842 $as_echo_n "(cached) " >&6
2844 if test -n "$CC"; then
2845 ac_cv_prog_CC
="$CC" # Let the user override the test.
2847 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2851 test -z "$as_dir" && as_dir
=.
2852 for ac_exec_ext
in '' $ac_executable_extensions; do
2853 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2854 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2855 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2865 if test -n "$CC"; then
2866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2867 $as_echo "$CC" >&6; }
2869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2870 $as_echo "no" >&6; }
2875 if test -z "$ac_cv_prog_CC"; then
2877 # Extract the first word of "gcc", so it can be a program name with args.
2878 set dummy gcc
; ac_word
=$2
2879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2880 $as_echo_n "checking for $ac_word... " >&6; }
2881 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2882 $as_echo_n "(cached) " >&6
2884 if test -n "$ac_ct_CC"; then
2885 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2887 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2891 test -z "$as_dir" && as_dir
=.
2892 for ac_exec_ext
in '' $ac_executable_extensions; do
2893 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2894 ac_cv_prog_ac_ct_CC
="gcc"
2895 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2904 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2905 if test -n "$ac_ct_CC"; then
2906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2907 $as_echo "$ac_ct_CC" >&6; }
2909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2910 $as_echo "no" >&6; }
2913 if test "x$ac_ct_CC" = x
; then
2916 case $cross_compiling:$ac_tool_warned in
2918 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2919 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2920 ac_tool_warned
=yes ;;
2928 if test -z "$CC"; then
2929 if test -n "$ac_tool_prefix"; then
2930 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2931 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2933 $as_echo_n "checking for $ac_word... " >&6; }
2934 if test "${ac_cv_prog_CC+set}" = set; then :
2935 $as_echo_n "(cached) " >&6
2937 if test -n "$CC"; then
2938 ac_cv_prog_CC
="$CC" # Let the user override the test.
2940 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2944 test -z "$as_dir" && as_dir
=.
2945 for ac_exec_ext
in '' $ac_executable_extensions; do
2946 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2947 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2948 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2958 if test -n "$CC"; then
2959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2960 $as_echo "$CC" >&6; }
2962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2963 $as_echo "no" >&6; }
2969 if test -z "$CC"; then
2970 # Extract the first word of "cc", so it can be a program name with args.
2971 set dummy cc
; ac_word
=$2
2972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2973 $as_echo_n "checking for $ac_word... " >&6; }
2974 if test "${ac_cv_prog_CC+set}" = set; then :
2975 $as_echo_n "(cached) " >&6
2977 if test -n "$CC"; then
2978 ac_cv_prog_CC
="$CC" # Let the user override the test.
2981 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2985 test -z "$as_dir" && as_dir
=.
2986 for ac_exec_ext
in '' $ac_executable_extensions; do
2987 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2988 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2989 ac_prog_rejected
=yes
2993 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3000 if test $ac_prog_rejected = yes; then
3001 # We found a bogon in the path, so make sure we never use it.
3002 set dummy
$ac_cv_prog_CC
3004 if test $# != 0; then
3005 # We chose a different compiler from the bogus one.
3006 # However, it has the same basename, so the bogon will be chosen
3007 # first if we set CC to just the basename; use the full file name.
3009 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3015 if test -n "$CC"; then
3016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3017 $as_echo "$CC" >&6; }
3019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3020 $as_echo "no" >&6; }
3025 if test -z "$CC"; then
3026 if test -n "$ac_tool_prefix"; then
3027 for ac_prog
in cl.exe
3029 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3030 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3032 $as_echo_n "checking for $ac_word... " >&6; }
3033 if test "${ac_cv_prog_CC+set}" = set; then :
3034 $as_echo_n "(cached) " >&6
3036 if test -n "$CC"; then
3037 ac_cv_prog_CC
="$CC" # Let the user override the test.
3039 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3043 test -z "$as_dir" && as_dir
=.
3044 for ac_exec_ext
in '' $ac_executable_extensions; do
3045 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3046 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3047 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3057 if test -n "$CC"; then
3058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3059 $as_echo "$CC" >&6; }
3061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3062 $as_echo "no" >&6; }
3066 test -n "$CC" && break
3069 if test -z "$CC"; then
3071 for ac_prog
in cl.exe
3073 # Extract the first word of "$ac_prog", so it can be a program name with args.
3074 set dummy
$ac_prog; ac_word
=$2
3075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3076 $as_echo_n "checking for $ac_word... " >&6; }
3077 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3078 $as_echo_n "(cached) " >&6
3080 if test -n "$ac_ct_CC"; then
3081 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3083 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3087 test -z "$as_dir" && as_dir
=.
3088 for ac_exec_ext
in '' $ac_executable_extensions; do
3089 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3090 ac_cv_prog_ac_ct_CC
="$ac_prog"
3091 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3100 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3101 if test -n "$ac_ct_CC"; then
3102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3103 $as_echo "$ac_ct_CC" >&6; }
3105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3106 $as_echo "no" >&6; }
3110 test -n "$ac_ct_CC" && break
3113 if test "x$ac_ct_CC" = x
; then
3116 case $cross_compiling:$ac_tool_warned in
3118 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3119 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3120 ac_tool_warned
=yes ;;
3129 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3130 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3131 as_fn_error
"no acceptable C compiler found in \$PATH
3132 See \`config.log' for more details." "$LINENO" 5; }
3134 # Provide some information about the compiler.
3135 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3138 for ac_option
in --version -v -V -qversion; do
3139 { { ac_try
="$ac_compiler $ac_option >&5"
3141 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3142 *) ac_try_echo=$ac_try;;
3144 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3145 $as_echo "$ac_try_echo"; } >&5
3146 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3148 if test -s conftest.err; then
3150 ... rest of stderr output deleted ...
3151 10q' conftest.err >conftest.er1
3152 cat conftest.er1 >&5
3154 rm -f conftest.er1 conftest.err
3155 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3156 test $ac_status = 0; }
3159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3160 /* end confdefs.h. */
3170 ac_clean_files_save=$ac_clean_files
3171 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3172 # Try to create an executable without -o first, disregard a.out.
3173 # It will help us diagnose broken compilers, and finding out an intuition
3175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3176 $as_echo_n "checking whether the C compiler works... " >&6; }
3177 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3179 # The possible output files:
3180 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3183 for ac_file in $ac_files
3186 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3187 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3192 if { { ac_try="$ac_link_default"
3194 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3195 *) ac_try_echo
=$ac_try;;
3197 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3198 $as_echo "$ac_try_echo"; } >&5
3199 (eval "$ac_link_default") 2>&5
3201 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3202 test $ac_status = 0; }; then :
3203 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3204 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3205 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3206 # so that the user can short-circuit this test for compilers unknown to
3208 for ac_file
in $ac_files ''
3210 test -f "$ac_file" ||
continue
3212 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3215 # We found the default executable, but exeext='' is most
3219 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3221 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3223 # We set ac_cv_exeext here because the later test for it is not
3224 # safe: cross compilers may not add the suffix if given an `-o'
3225 # argument, so we may need to know it at that point already.
3226 # Even if this section looks crufty: it has the advantage of
3233 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3238 if test -z "$ac_file"; then :
3239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3240 $as_echo "no" >&6; }
3241 $as_echo "$as_me: failed program was:" >&5
3242 sed 's/^/| /' conftest.
$ac_ext >&5
3244 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3245 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3246 { as_fn_set_status
77
3247 as_fn_error
"C compiler cannot create executables
3248 See \`config.log' for more details." "$LINENO" 5; }; }
3250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3251 $as_echo "yes" >&6; }
3253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3254 $as_echo_n "checking for C compiler default output file name... " >&6; }
3255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3256 $as_echo "$ac_file" >&6; }
3257 ac_exeext
=$ac_cv_exeext
3259 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3260 ac_clean_files
=$ac_clean_files_save
3261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3262 $as_echo_n "checking for suffix of executables... " >&6; }
3263 if { { ac_try
="$ac_link"
3265 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3266 *) ac_try_echo=$ac_try;;
3268 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3269 $as_echo "$ac_try_echo"; } >&5
3270 (eval "$ac_link") 2>&5
3272 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3273 test $ac_status = 0; }; then :
3274 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3275 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3276 # work properly (i.e., refer to `conftest.exe'), while it won't with
3278 for ac_file
in conftest.exe conftest conftest.
*; do
3279 test -f "$ac_file" ||
continue
3281 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3282 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3288 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3289 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3290 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3291 See \`config.log' for more details." "$LINENO" 5; }
3293 rm -f conftest conftest
$ac_cv_exeext
3294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3295 $as_echo "$ac_cv_exeext" >&6; }
3297 rm -f conftest.
$ac_ext
3298 EXEEXT
=$ac_cv_exeext
3300 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3301 /* end confdefs.h. */
3306 FILE *f = fopen ("conftest.out", "w");
3307 return ferror (f) || fclose (f) != 0;
3313 ac_clean_files
="$ac_clean_files conftest.out"
3314 # Check that the compiler produces executables we can run. If not, either
3315 # the compiler is broken, or we cross compile.
3316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3317 $as_echo_n "checking whether we are cross compiling... " >&6; }
3318 if test "$cross_compiling" != yes; then
3319 { { ac_try
="$ac_link"
3321 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3322 *) ac_try_echo=$ac_try;;
3324 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3325 $as_echo "$ac_try_echo"; } >&5
3326 (eval "$ac_link") 2>&5
3328 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3329 test $ac_status = 0; }
3330 if { ac_try='./conftest$ac_cv_exeext'
3331 { { case "(($ac_try" in
3332 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3333 *) ac_try_echo
=$ac_try;;
3335 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3336 $as_echo "$ac_try_echo"; } >&5
3337 (eval "$ac_try") 2>&5
3339 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3340 test $ac_status = 0; }; }; then
3343 if test "$cross_compiling" = maybe
; then
3346 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3347 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3348 as_fn_error
"cannot run C compiled programs.
3349 If you meant to cross compile, use \`--host'.
3350 See \`config.log' for more details." "$LINENO" 5; }
3354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3355 $as_echo "$cross_compiling" >&6; }
3357 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3358 ac_clean_files
=$ac_clean_files_save
3359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3360 $as_echo_n "checking for suffix of object files... " >&6; }
3361 if test "${ac_cv_objext+set}" = set; then :
3362 $as_echo_n "(cached) " >&6
3364 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3365 /* end confdefs.h. */
3375 rm -f conftest.o conftest.obj
3376 if { { ac_try
="$ac_compile"
3378 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3379 *) ac_try_echo=$ac_try;;
3381 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3382 $as_echo "$ac_try_echo"; } >&5
3383 (eval "$ac_compile") 2>&5
3385 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3386 test $ac_status = 0; }; then :
3387 for ac_file in conftest.o conftest.obj conftest.*; do
3388 test -f "$ac_file" || continue;
3390 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3391 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3396 $as_echo "$as_me: failed program was:" >&5
3397 sed 's/^/| /' conftest.$ac_ext >&5
3399 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3400 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3401 as_fn_error "cannot compute suffix of object files
: cannot compile
3402 See \
`config.log' for more details." "$LINENO" 5; }
3404 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3407 $as_echo "$ac_cv_objext" >&6; }
3408 OBJEXT=$ac_cv_objext
3410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3411 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3412 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3413 $as_echo_n "(cached) " >&6
3415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3416 /* end confdefs.h. */
3429 if ac_fn_c_try_compile "$LINENO"; then :
3434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3435 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3439 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3440 if test $ac_compiler_gnu = yes; then
3445 ac_test_CFLAGS=${CFLAGS+set}
3446 ac_save_CFLAGS=$CFLAGS
3447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3448 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3449 if test "${ac_cv_prog_cc_g+set}" = set; then :
3450 $as_echo_n "(cached) " >&6
3452 ac_save_c_werror_flag=$ac_c_werror_flag
3453 ac_c_werror_flag=yes
3456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3457 /* end confdefs.h. */
3467 if ac_fn_c_try_compile "$LINENO"; then :
3471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3472 /* end confdefs.h. */
3482 if ac_fn_c_try_compile "$LINENO"; then :
3485 ac_c_werror_flag=$ac_save_c_werror_flag
3487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3488 /* end confdefs.h. */
3498 if ac_fn_c_try_compile "$LINENO"; then :
3501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3506 ac_c_werror_flag=$ac_save_c_werror_flag
3508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3509 $as_echo "$ac_cv_prog_cc_g" >&6; }
3510 if test "$ac_test_CFLAGS" = set; then
3511 CFLAGS=$ac_save_CFLAGS
3512 elif test $ac_cv_prog_cc_g = yes; then
3513 if test "$GCC" = yes; then
3519 if test "$GCC" = yes; then
3525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3526 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3527 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3528 $as_echo_n "(cached) " >&6
3530 ac_cv_prog_cc_c89=no
3532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3533 /* end confdefs.h. */
3536 #include <sys/types.h>
3537 #include <sys/stat.h>
3538 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3539 struct buf { int x; };
3540 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3541 static char *e (p, i)
3547 static char *f (char * (*g) (char **, int), char **p, ...)
3552 s = g (p, va_arg (v,int));
3557 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3558 function prototypes and stuff, but not '\xHH' hex character constants.
3559 These don't provoke an error unfortunately, instead are silently treated
3560 as 'x'. The following induces an error, until -std is added to get
3561 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3562 array size at least. It's necessary to write '\x00'==0 to get something
3563 that's true only with -std. */
3564 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3566 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3567 inside strings and character constants. */
3569 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3571 int test (int i, double x);
3572 struct s1 {int (*f) (int a);};
3573 struct s2 {int (*f) (double a);};
3574 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3580 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3585 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3586 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3588 CC="$ac_save_CC $ac_arg"
3589 if ac_fn_c_try_compile "$LINENO"; then :
3590 ac_cv_prog_cc_c89=$ac_arg
3592 rm -f core conftest.err conftest.$ac_objext
3593 test "x$ac_cv_prog_cc_c89" != "xno" && break
3595 rm -f conftest.$ac_ext
3600 case "x$ac_cv_prog_cc_c89" in
3602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3603 $as_echo "none needed" >&6; } ;;
3605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3606 $as_echo "unsupported" >&6; } ;;
3608 CC="$CC $ac_cv_prog_cc_c89"
3609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3610 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3612 if test "x$ac_cv_prog_cc_c89" != xno; then :
3617 ac_cpp='$CPP $CPPFLAGS'
3618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3622 depcc="$CC" am_compiler_list=
3624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3625 $as_echo_n "checking dependency style of $depcc... " >&6; }
3626 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3627 $as_echo_n "(cached) " >&6
3629 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3630 # We make a subdir and do the tests there. Otherwise we can end up
3631 # making bogus files that we don't know about and never remove. For
3632 # instance it was reported that on HP-UX the gcc test will end up
3633 # making a dummy file named `D
' -- because `-MD' means
`put the output
3636 # Copy depcomp to subdir because otherwise we won't find it if we're
3637 # using a relative directory.
3638 cp "$am_depcomp" conftest.dir
3640 # We will build objects and dependencies in a subdirectory because
3641 # it helps to detect inapplicable dependency modes. For instance
3642 # both Tru64's cc and ICC support -MD to output dependencies as a
3643 # side effect of compilation, but ICC will put the dependencies in
3644 # the current directory while Tru64 will put them in the object
3648 am_cv_CC_dependencies_compiler_type=none
3649 if test "$am_compiler_list" = ""; then
3650 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
3653 case " $depcc " in #(
3654 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3657 for depmode in $am_compiler_list; do
3658 # Setup a source with many dependencies, because some compilers
3659 # like to wrap large dependency lists on column 80 (with \), and
3660 # we should not choose a depcomp mode which is confused by this.
3662 # We need to recreate these files for each test, as the compiler may
3663 # overwrite some of them when testing with obscure command lines.
3664 # This happens at least with the AIX C compiler.
3666 for i in 1 2 3 4 5 6; do
3667 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3668 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
3669 # Solaris 8's
{/usr
,}/bin
/sh.
3670 touch sub
/conftst
$i.h
3672 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3674 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3675 # mode. It turns out that the SunPro C++ compiler does not properly
3676 # handle `-M -o', and we need to detect this. Also, some Intel
3677 # versions had trouble with output in subdirs
3678 am__obj
=sub
/conftest.
${OBJEXT-o}
3679 am__minus_obj
="-o $am__obj"
3682 # This depmode causes a compiler race in universal mode.
3683 test "$am__universal" = false ||
continue
3686 # after this tag, mechanisms are not by side-effect, so they'll
3687 # only be used when explicitly requested
3688 if test "x$enable_dependency_tracking" = xyes
; then
3694 msvisualcpp | msvcmsys
)
3695 # This compiler won't grok `-c -o', but also, the minuso test has
3696 # not run yet. These depmodes are late enough in the game, and
3697 # so weak that their functioning should not be impacted.
3698 am__obj
=conftest.
${OBJEXT-o}
3703 if depmode
=$depmode \
3704 source=sub
/conftest.c object
=$am__obj \
3705 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3706 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
3707 >/dev
/null
2>conftest.err
&&
3708 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3709 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3710 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
3711 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3712 # icc doesn't choke on unknown options, it will just issue warnings
3713 # or remarks (even with -Werror). So we grep stderr for any message
3714 # that says an option was ignored or not supported.
3715 # When given -MP, icc 7.0 and 7.1 complain thusly:
3716 # icc: Command line warning: ignoring option '-M'; no argument required
3717 # The diagnosis changed in icc 8.0:
3718 # icc: Command line remark: option '-MP' not supported
3719 if (grep 'ignoring option' conftest.err ||
3720 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3721 am_cv_CC_dependencies_compiler_type
=$depmode
3730 am_cv_CC_dependencies_compiler_type
=none
3734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3735 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3736 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3739 test "x$enable_dependency_tracking" != xno \
3740 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3742 am__fastdepCC_FALSE
='#'
3744 am__fastdepCC_TRUE
='#'
3745 am__fastdepCC_FALSE
=
3750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
3751 $as_echo_n "checking for library containing strerror... " >&6; }
3752 if test "${ac_cv_search_strerror+set}" = set; then :
3753 $as_echo_n "(cached) " >&6
3755 ac_func_search_save_LIBS
=$LIBS
3756 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3757 /* end confdefs.h. */
3759 /* Override any GCC internal prototype to avoid an error.
3760 Use char because int might match the return type of a GCC
3761 builtin and then its argument prototype would still apply. */
3774 for ac_lib
in '' cposix
; do
3775 if test -z "$ac_lib"; then
3776 ac_res
="none required"
3779 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
3781 if ac_fn_c_try_link
"$LINENO"; then :
3782 ac_cv_search_strerror
=$ac_res
3784 rm -f core conftest.err conftest.
$ac_objext \
3786 if test "${ac_cv_search_strerror+set}" = set; then :
3790 if test "${ac_cv_search_strerror+set}" = set; then :
3793 ac_cv_search_strerror
=no
3796 LIBS
=$ac_func_search_save_LIBS
3798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
3799 $as_echo "$ac_cv_search_strerror" >&6; }
3800 ac_res
=$ac_cv_search_strerror
3801 if test "$ac_res" != no
; then :
3802 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
3808 ac_cpp
='$CPP $CPPFLAGS'
3809 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3810 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3811 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3812 if test -n "$ac_tool_prefix"; then
3813 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3814 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3816 $as_echo_n "checking for $ac_word... " >&6; }
3817 if test "${ac_cv_prog_CC+set}" = set; then :
3818 $as_echo_n "(cached) " >&6
3820 if test -n "$CC"; then
3821 ac_cv_prog_CC
="$CC" # Let the user override the test.
3823 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3827 test -z "$as_dir" && as_dir
=.
3828 for ac_exec_ext
in '' $ac_executable_extensions; do
3829 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3830 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3831 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3841 if test -n "$CC"; then
3842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3843 $as_echo "$CC" >&6; }
3845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3846 $as_echo "no" >&6; }
3851 if test -z "$ac_cv_prog_CC"; then
3853 # Extract the first word of "gcc", so it can be a program name with args.
3854 set dummy gcc
; ac_word
=$2
3855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3856 $as_echo_n "checking for $ac_word... " >&6; }
3857 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3858 $as_echo_n "(cached) " >&6
3860 if test -n "$ac_ct_CC"; then
3861 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3863 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3867 test -z "$as_dir" && as_dir
=.
3868 for ac_exec_ext
in '' $ac_executable_extensions; do
3869 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3870 ac_cv_prog_ac_ct_CC
="gcc"
3871 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3880 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3881 if test -n "$ac_ct_CC"; then
3882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3883 $as_echo "$ac_ct_CC" >&6; }
3885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3886 $as_echo "no" >&6; }
3889 if test "x$ac_ct_CC" = x
; then
3892 case $cross_compiling:$ac_tool_warned in
3894 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3895 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3896 ac_tool_warned
=yes ;;
3904 if test -z "$CC"; then
3905 if test -n "$ac_tool_prefix"; then
3906 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3907 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3909 $as_echo_n "checking for $ac_word... " >&6; }
3910 if test "${ac_cv_prog_CC+set}" = set; then :
3911 $as_echo_n "(cached) " >&6
3913 if test -n "$CC"; then
3914 ac_cv_prog_CC
="$CC" # Let the user override the test.
3916 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3920 test -z "$as_dir" && as_dir
=.
3921 for ac_exec_ext
in '' $ac_executable_extensions; do
3922 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3923 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3924 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3934 if test -n "$CC"; then
3935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3936 $as_echo "$CC" >&6; }
3938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3939 $as_echo "no" >&6; }
3945 if test -z "$CC"; then
3946 # Extract the first word of "cc", so it can be a program name with args.
3947 set dummy cc
; ac_word
=$2
3948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3949 $as_echo_n "checking for $ac_word... " >&6; }
3950 if test "${ac_cv_prog_CC+set}" = set; then :
3951 $as_echo_n "(cached) " >&6
3953 if test -n "$CC"; then
3954 ac_cv_prog_CC
="$CC" # Let the user override the test.
3957 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3961 test -z "$as_dir" && as_dir
=.
3962 for ac_exec_ext
in '' $ac_executable_extensions; do
3963 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3964 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3965 ac_prog_rejected
=yes
3969 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3976 if test $ac_prog_rejected = yes; then
3977 # We found a bogon in the path, so make sure we never use it.
3978 set dummy
$ac_cv_prog_CC
3980 if test $# != 0; then
3981 # We chose a different compiler from the bogus one.
3982 # However, it has the same basename, so the bogon will be chosen
3983 # first if we set CC to just the basename; use the full file name.
3985 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3991 if test -n "$CC"; then
3992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3993 $as_echo "$CC" >&6; }
3995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3996 $as_echo "no" >&6; }
4001 if test -z "$CC"; then
4002 if test -n "$ac_tool_prefix"; then
4003 for ac_prog
in cl.exe
4005 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4006 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4008 $as_echo_n "checking for $ac_word... " >&6; }
4009 if test "${ac_cv_prog_CC+set}" = set; then :
4010 $as_echo_n "(cached) " >&6
4012 if test -n "$CC"; then
4013 ac_cv_prog_CC
="$CC" # Let the user override the test.
4015 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4019 test -z "$as_dir" && as_dir
=.
4020 for ac_exec_ext
in '' $ac_executable_extensions; do
4021 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4022 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4023 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4033 if test -n "$CC"; then
4034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4035 $as_echo "$CC" >&6; }
4037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4038 $as_echo "no" >&6; }
4042 test -n "$CC" && break
4045 if test -z "$CC"; then
4047 for ac_prog
in cl.exe
4049 # Extract the first word of "$ac_prog", so it can be a program name with args.
4050 set dummy
$ac_prog; ac_word
=$2
4051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4052 $as_echo_n "checking for $ac_word... " >&6; }
4053 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4054 $as_echo_n "(cached) " >&6
4056 if test -n "$ac_ct_CC"; then
4057 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4059 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4063 test -z "$as_dir" && as_dir
=.
4064 for ac_exec_ext
in '' $ac_executable_extensions; do
4065 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4066 ac_cv_prog_ac_ct_CC
="$ac_prog"
4067 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4076 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4077 if test -n "$ac_ct_CC"; then
4078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4079 $as_echo "$ac_ct_CC" >&6; }
4081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4082 $as_echo "no" >&6; }
4086 test -n "$ac_ct_CC" && break
4089 if test "x$ac_ct_CC" = x
; then
4092 case $cross_compiling:$ac_tool_warned in
4094 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4095 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4096 ac_tool_warned
=yes ;;
4105 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4106 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4107 as_fn_error
"no acceptable C compiler found in \$PATH
4108 See \`config.log' for more details." "$LINENO" 5; }
4110 # Provide some information about the compiler.
4111 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4114 for ac_option
in --version -v -V -qversion; do
4115 { { ac_try
="$ac_compiler $ac_option >&5"
4117 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4118 *) ac_try_echo=$ac_try;;
4120 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4121 $as_echo "$ac_try_echo"; } >&5
4122 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4124 if test -s conftest.err; then
4126 ... rest of stderr output deleted ...
4127 10q' conftest.err >conftest.er1
4128 cat conftest.er1 >&5
4130 rm -f conftest.er1 conftest.err
4131 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4132 test $ac_status = 0; }
4135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4136 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4137 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4138 $as_echo_n "(cached) " >&6
4140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4141 /* end confdefs.h. */
4154 if ac_fn_c_try_compile "$LINENO"; then :
4159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4160 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4164 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4165 if test $ac_compiler_gnu = yes; then
4170 ac_test_CFLAGS=${CFLAGS+set}
4171 ac_save_CFLAGS=$CFLAGS
4172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4173 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4174 if test "${ac_cv_prog_cc_g+set}" = set; then :
4175 $as_echo_n "(cached) " >&6
4177 ac_save_c_werror_flag=$ac_c_werror_flag
4178 ac_c_werror_flag=yes
4181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4182 /* end confdefs.h. */
4192 if ac_fn_c_try_compile "$LINENO"; then :
4196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4197 /* end confdefs.h. */
4207 if ac_fn_c_try_compile "$LINENO"; then :
4210 ac_c_werror_flag=$ac_save_c_werror_flag
4212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4213 /* end confdefs.h. */
4223 if ac_fn_c_try_compile "$LINENO"; then :
4226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4231 ac_c_werror_flag=$ac_save_c_werror_flag
4233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4234 $as_echo "$ac_cv_prog_cc_g" >&6; }
4235 if test "$ac_test_CFLAGS" = set; then
4236 CFLAGS=$ac_save_CFLAGS
4237 elif test $ac_cv_prog_cc_g = yes; then
4238 if test "$GCC" = yes; then
4244 if test "$GCC" = yes; then
4250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4251 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4252 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4253 $as_echo_n "(cached) " >&6
4255 ac_cv_prog_cc_c89=no
4257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4258 /* end confdefs.h. */
4261 #include <sys/types.h>
4262 #include <sys/stat.h>
4263 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4264 struct buf { int x; };
4265 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4266 static char *e (p, i)
4272 static char *f (char * (*g) (char **, int), char **p, ...)
4277 s = g (p, va_arg (v,int));
4282 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4283 function prototypes and stuff, but not '\xHH' hex character constants.
4284 These don't provoke an error unfortunately, instead are silently treated
4285 as 'x'. The following induces an error, until -std is added to get
4286 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4287 array size at least. It's necessary to write '\x00'==0 to get something
4288 that's true only with -std. */
4289 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4291 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4292 inside strings and character constants. */
4294 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4296 int test (int i, double x);
4297 struct s1 {int (*f) (int a);};
4298 struct s2 {int (*f) (double a);};
4299 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4305 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4310 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4311 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4313 CC="$ac_save_CC $ac_arg"
4314 if ac_fn_c_try_compile "$LINENO"; then :
4315 ac_cv_prog_cc_c89=$ac_arg
4317 rm -f core conftest.err conftest.$ac_objext
4318 test "x$ac_cv_prog_cc_c89" != "xno" && break
4320 rm -f conftest.$ac_ext
4325 case "x$ac_cv_prog_cc_c89" in
4327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4328 $as_echo "none needed" >&6; } ;;
4330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4331 $as_echo "unsupported" >&6; } ;;
4333 CC="$CC $ac_cv_prog_cc_c89"
4334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4335 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4337 if test "x$ac_cv_prog_cc_c89" != xno; then :
4342 ac_cpp='$CPP $CPPFLAGS'
4343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4347 depcc="$CC" am_compiler_list=
4349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4350 $as_echo_n "checking dependency style of $depcc... " >&6; }
4351 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4352 $as_echo_n "(cached) " >&6
4354 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4355 # We make a subdir and do the tests there. Otherwise we can end up
4356 # making bogus files that we don't know about and never remove. For
4357 # instance it was reported that on HP-UX the gcc test will end up
4358 # making a dummy file named `D
' -- because `-MD' means
`put the output
4361 # Copy depcomp to subdir because otherwise we won't find it if we're
4362 # using a relative directory.
4363 cp "$am_depcomp" conftest.dir
4365 # We will build objects and dependencies in a subdirectory because
4366 # it helps to detect inapplicable dependency modes. For instance
4367 # both Tru64's cc and ICC support -MD to output dependencies as a
4368 # side effect of compilation, but ICC will put the dependencies in
4369 # the current directory while Tru64 will put them in the object
4373 am_cv_CC_dependencies_compiler_type=none
4374 if test "$am_compiler_list" = ""; then
4375 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4378 case " $depcc " in #(
4379 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4382 for depmode in $am_compiler_list; do
4383 # Setup a source with many dependencies, because some compilers
4384 # like to wrap large dependency lists on column 80 (with \), and
4385 # we should not choose a depcomp mode which is confused by this.
4387 # We need to recreate these files for each test, as the compiler may
4388 # overwrite some of them when testing with obscure command lines.
4389 # This happens at least with the AIX C compiler.
4391 for i in 1 2 3 4 5 6; do
4392 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4393 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
4394 # Solaris 8's
{/usr
,}/bin
/sh.
4395 touch sub
/conftst
$i.h
4397 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4399 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4400 # mode. It turns out that the SunPro C++ compiler does not properly
4401 # handle `-M -o', and we need to detect this. Also, some Intel
4402 # versions had trouble with output in subdirs
4403 am__obj
=sub
/conftest.
${OBJEXT-o}
4404 am__minus_obj
="-o $am__obj"
4407 # This depmode causes a compiler race in universal mode.
4408 test "$am__universal" = false ||
continue
4411 # after this tag, mechanisms are not by side-effect, so they'll
4412 # only be used when explicitly requested
4413 if test "x$enable_dependency_tracking" = xyes
; then
4419 msvisualcpp | msvcmsys
)
4420 # This compiler won't grok `-c -o', but also, the minuso test has
4421 # not run yet. These depmodes are late enough in the game, and
4422 # so weak that their functioning should not be impacted.
4423 am__obj
=conftest.
${OBJEXT-o}
4428 if depmode
=$depmode \
4429 source=sub
/conftest.c object
=$am__obj \
4430 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4431 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4432 >/dev
/null
2>conftest.err
&&
4433 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4434 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4435 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4436 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4437 # icc doesn't choke on unknown options, it will just issue warnings
4438 # or remarks (even with -Werror). So we grep stderr for any message
4439 # that says an option was ignored or not supported.
4440 # When given -MP, icc 7.0 and 7.1 complain thusly:
4441 # icc: Command line warning: ignoring option '-M'; no argument required
4442 # The diagnosis changed in icc 8.0:
4443 # icc: Command line remark: option '-MP' not supported
4444 if (grep 'ignoring option' conftest.err ||
4445 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4446 am_cv_CC_dependencies_compiler_type
=$depmode
4455 am_cv_CC_dependencies_compiler_type
=none
4459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4460 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4461 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4464 test "x$enable_dependency_tracking" != xno \
4465 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4467 am__fastdepCC_FALSE
='#'
4469 am__fastdepCC_TRUE
='#'
4470 am__fastdepCC_FALSE
=
4475 ac_cpp
='$CPP $CPPFLAGS'
4476 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4477 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4478 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4479 if test -n "$ac_tool_prefix"; then
4480 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4481 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4483 $as_echo_n "checking for $ac_word... " >&6; }
4484 if test "${ac_cv_prog_CC+set}" = set; then :
4485 $as_echo_n "(cached) " >&6
4487 if test -n "$CC"; then
4488 ac_cv_prog_CC
="$CC" # Let the user override the test.
4490 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4494 test -z "$as_dir" && as_dir
=.
4495 for ac_exec_ext
in '' $ac_executable_extensions; do
4496 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4497 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4498 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4508 if test -n "$CC"; then
4509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4510 $as_echo "$CC" >&6; }
4512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4513 $as_echo "no" >&6; }
4518 if test -z "$ac_cv_prog_CC"; then
4520 # Extract the first word of "gcc", so it can be a program name with args.
4521 set dummy gcc
; ac_word
=$2
4522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4523 $as_echo_n "checking for $ac_word... " >&6; }
4524 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4525 $as_echo_n "(cached) " >&6
4527 if test -n "$ac_ct_CC"; then
4528 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4530 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4534 test -z "$as_dir" && as_dir
=.
4535 for ac_exec_ext
in '' $ac_executable_extensions; do
4536 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4537 ac_cv_prog_ac_ct_CC
="gcc"
4538 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4547 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4548 if test -n "$ac_ct_CC"; then
4549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4550 $as_echo "$ac_ct_CC" >&6; }
4552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4553 $as_echo "no" >&6; }
4556 if test "x$ac_ct_CC" = x
; then
4559 case $cross_compiling:$ac_tool_warned in
4561 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4562 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4563 ac_tool_warned
=yes ;;
4571 if test -z "$CC"; then
4572 if test -n "$ac_tool_prefix"; then
4573 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4574 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4576 $as_echo_n "checking for $ac_word... " >&6; }
4577 if test "${ac_cv_prog_CC+set}" = set; then :
4578 $as_echo_n "(cached) " >&6
4580 if test -n "$CC"; then
4581 ac_cv_prog_CC
="$CC" # Let the user override the test.
4583 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4587 test -z "$as_dir" && as_dir
=.
4588 for ac_exec_ext
in '' $ac_executable_extensions; do
4589 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4590 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4591 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4601 if test -n "$CC"; then
4602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4603 $as_echo "$CC" >&6; }
4605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4606 $as_echo "no" >&6; }
4612 if test -z "$CC"; then
4613 # Extract the first word of "cc", so it can be a program name with args.
4614 set dummy cc
; ac_word
=$2
4615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4616 $as_echo_n "checking for $ac_word... " >&6; }
4617 if test "${ac_cv_prog_CC+set}" = set; then :
4618 $as_echo_n "(cached) " >&6
4620 if test -n "$CC"; then
4621 ac_cv_prog_CC
="$CC" # Let the user override the test.
4624 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4628 test -z "$as_dir" && as_dir
=.
4629 for ac_exec_ext
in '' $ac_executable_extensions; do
4630 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4631 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4632 ac_prog_rejected
=yes
4636 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4643 if test $ac_prog_rejected = yes; then
4644 # We found a bogon in the path, so make sure we never use it.
4645 set dummy
$ac_cv_prog_CC
4647 if test $# != 0; then
4648 # We chose a different compiler from the bogus one.
4649 # However, it has the same basename, so the bogon will be chosen
4650 # first if we set CC to just the basename; use the full file name.
4652 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4658 if test -n "$CC"; then
4659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4660 $as_echo "$CC" >&6; }
4662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4663 $as_echo "no" >&6; }
4668 if test -z "$CC"; then
4669 if test -n "$ac_tool_prefix"; then
4670 for ac_prog
in cl.exe
4672 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4673 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4675 $as_echo_n "checking for $ac_word... " >&6; }
4676 if test "${ac_cv_prog_CC+set}" = set; then :
4677 $as_echo_n "(cached) " >&6
4679 if test -n "$CC"; then
4680 ac_cv_prog_CC
="$CC" # Let the user override the test.
4682 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4686 test -z "$as_dir" && as_dir
=.
4687 for ac_exec_ext
in '' $ac_executable_extensions; do
4688 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4689 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4690 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4700 if test -n "$CC"; then
4701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4702 $as_echo "$CC" >&6; }
4704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4705 $as_echo "no" >&6; }
4709 test -n "$CC" && break
4712 if test -z "$CC"; then
4714 for ac_prog
in cl.exe
4716 # Extract the first word of "$ac_prog", so it can be a program name with args.
4717 set dummy
$ac_prog; ac_word
=$2
4718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4719 $as_echo_n "checking for $ac_word... " >&6; }
4720 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4721 $as_echo_n "(cached) " >&6
4723 if test -n "$ac_ct_CC"; then
4724 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4726 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4730 test -z "$as_dir" && as_dir
=.
4731 for ac_exec_ext
in '' $ac_executable_extensions; do
4732 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4733 ac_cv_prog_ac_ct_CC
="$ac_prog"
4734 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4743 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4744 if test -n "$ac_ct_CC"; then
4745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4746 $as_echo "$ac_ct_CC" >&6; }
4748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4749 $as_echo "no" >&6; }
4753 test -n "$ac_ct_CC" && break
4756 if test "x$ac_ct_CC" = x
; then
4759 case $cross_compiling:$ac_tool_warned in
4761 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4762 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4763 ac_tool_warned
=yes ;;
4772 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4773 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4774 as_fn_error
"no acceptable C compiler found in \$PATH
4775 See \`config.log' for more details." "$LINENO" 5; }
4777 # Provide some information about the compiler.
4778 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4781 for ac_option
in --version -v -V -qversion; do
4782 { { ac_try
="$ac_compiler $ac_option >&5"
4784 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4785 *) ac_try_echo=$ac_try;;
4787 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4788 $as_echo "$ac_try_echo"; } >&5
4789 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4791 if test -s conftest.err; then
4793 ... rest of stderr output deleted ...
4794 10q' conftest.err >conftest.er1
4795 cat conftest.er1 >&5
4797 rm -f conftest.er1 conftest.err
4798 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4799 test $ac_status = 0; }
4802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4803 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4804 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4805 $as_echo_n "(cached) " >&6
4807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4808 /* end confdefs.h. */
4821 if ac_fn_c_try_compile "$LINENO"; then :
4826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4827 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4831 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4832 if test $ac_compiler_gnu = yes; then
4837 ac_test_CFLAGS=${CFLAGS+set}
4838 ac_save_CFLAGS=$CFLAGS
4839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4840 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4841 if test "${ac_cv_prog_cc_g+set}" = set; then :
4842 $as_echo_n "(cached) " >&6
4844 ac_save_c_werror_flag=$ac_c_werror_flag
4845 ac_c_werror_flag=yes
4848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4849 /* end confdefs.h. */
4859 if ac_fn_c_try_compile "$LINENO"; then :
4863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4864 /* end confdefs.h. */
4874 if ac_fn_c_try_compile "$LINENO"; then :
4877 ac_c_werror_flag=$ac_save_c_werror_flag
4879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4880 /* end confdefs.h. */
4890 if ac_fn_c_try_compile "$LINENO"; then :
4893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4898 ac_c_werror_flag=$ac_save_c_werror_flag
4900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4901 $as_echo "$ac_cv_prog_cc_g" >&6; }
4902 if test "$ac_test_CFLAGS" = set; then
4903 CFLAGS=$ac_save_CFLAGS
4904 elif test $ac_cv_prog_cc_g = yes; then
4905 if test "$GCC" = yes; then
4911 if test "$GCC" = yes; then
4917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4918 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4919 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4920 $as_echo_n "(cached) " >&6
4922 ac_cv_prog_cc_c89=no
4924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4925 /* end confdefs.h. */
4928 #include <sys/types.h>
4929 #include <sys/stat.h>
4930 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4931 struct buf { int x; };
4932 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4933 static char *e (p, i)
4939 static char *f (char * (*g) (char **, int), char **p, ...)
4944 s = g (p, va_arg (v,int));
4949 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4950 function prototypes and stuff, but not '\xHH' hex character constants.
4951 These don't provoke an error unfortunately, instead are silently treated
4952 as 'x'. The following induces an error, until -std is added to get
4953 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4954 array size at least. It's necessary to write '\x00'==0 to get something
4955 that's true only with -std. */
4956 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4958 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4959 inside strings and character constants. */
4961 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4963 int test (int i, double x);
4964 struct s1 {int (*f) (int a);};
4965 struct s2 {int (*f) (double a);};
4966 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4972 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4977 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4978 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4980 CC="$ac_save_CC $ac_arg"
4981 if ac_fn_c_try_compile "$LINENO"; then :
4982 ac_cv_prog_cc_c89=$ac_arg
4984 rm -f core conftest.err conftest.$ac_objext
4985 test "x$ac_cv_prog_cc_c89" != "xno" && break
4987 rm -f conftest.$ac_ext
4992 case "x$ac_cv_prog_cc_c89" in
4994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4995 $as_echo "none needed" >&6; } ;;
4997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4998 $as_echo "unsupported" >&6; } ;;
5000 CC="$CC $ac_cv_prog_cc_c89"
5001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5002 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5004 if test "x$ac_cv_prog_cc_c89" != xno; then :
5009 ac_cpp='$CPP $CPPFLAGS'
5010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5014 depcc="$CC" am_compiler_list=
5016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5017 $as_echo_n "checking dependency style of $depcc... " >&6; }
5018 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
5019 $as_echo_n "(cached) " >&6
5021 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5022 # We make a subdir and do the tests there. Otherwise we can end up
5023 # making bogus files that we don't know about and never remove. For
5024 # instance it was reported that on HP-UX the gcc test will end up
5025 # making a dummy file named `D
' -- because `-MD' means
`put the output
5028 # Copy depcomp to subdir because otherwise we won't find it if we're
5029 # using a relative directory.
5030 cp "$am_depcomp" conftest.dir
5032 # We will build objects and dependencies in a subdirectory because
5033 # it helps to detect inapplicable dependency modes. For instance
5034 # both Tru64's cc and ICC support -MD to output dependencies as a
5035 # side effect of compilation, but ICC will put the dependencies in
5036 # the current directory while Tru64 will put them in the object
5040 am_cv_CC_dependencies_compiler_type=none
5041 if test "$am_compiler_list" = ""; then
5042 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
5045 case " $depcc " in #(
5046 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5049 for depmode in $am_compiler_list; do
5050 # Setup a source with many dependencies, because some compilers
5051 # like to wrap large dependency lists on column 80 (with \), and
5052 # we should not choose a depcomp mode which is confused by this.
5054 # We need to recreate these files for each test, as the compiler may
5055 # overwrite some of them when testing with obscure command lines.
5056 # This happens at least with the AIX C compiler.
5058 for i in 1 2 3 4 5 6; do
5059 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5060 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
5061 # Solaris 8's
{/usr
,}/bin
/sh.
5062 touch sub
/conftst
$i.h
5064 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5066 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5067 # mode. It turns out that the SunPro C++ compiler does not properly
5068 # handle `-M -o', and we need to detect this. Also, some Intel
5069 # versions had trouble with output in subdirs
5070 am__obj
=sub
/conftest.
${OBJEXT-o}
5071 am__minus_obj
="-o $am__obj"
5074 # This depmode causes a compiler race in universal mode.
5075 test "$am__universal" = false ||
continue
5078 # after this tag, mechanisms are not by side-effect, so they'll
5079 # only be used when explicitly requested
5080 if test "x$enable_dependency_tracking" = xyes
; then
5086 msvisualcpp | msvcmsys
)
5087 # This compiler won't grok `-c -o', but also, the minuso test has
5088 # not run yet. These depmodes are late enough in the game, and
5089 # so weak that their functioning should not be impacted.
5090 am__obj
=conftest.
${OBJEXT-o}
5095 if depmode
=$depmode \
5096 source=sub
/conftest.c object
=$am__obj \
5097 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5098 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
5099 >/dev
/null
2>conftest.err
&&
5100 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5101 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5102 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
5103 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5104 # icc doesn't choke on unknown options, it will just issue warnings
5105 # or remarks (even with -Werror). So we grep stderr for any message
5106 # that says an option was ignored or not supported.
5107 # When given -MP, icc 7.0 and 7.1 complain thusly:
5108 # icc: Command line warning: ignoring option '-M'; no argument required
5109 # The diagnosis changed in icc 8.0:
5110 # icc: Command line remark: option '-MP' not supported
5111 if (grep 'ignoring option' conftest.err ||
5112 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5113 am_cv_CC_dependencies_compiler_type
=$depmode
5122 am_cv_CC_dependencies_compiler_type
=none
5126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5127 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5128 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
5131 test "x$enable_dependency_tracking" != xno \
5132 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
5134 am__fastdepCC_FALSE
='#'
5136 am__fastdepCC_TRUE
='#'
5137 am__fastdepCC_FALSE
=
5142 am_cv_prog_cc_stdc
=$ac_cv_prog_cc_stdc
5145 ac_cpp
='$CPP $CPPFLAGS'
5146 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5147 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5148 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5150 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5151 # On Suns, sometimes $CPP names a directory.
5152 if test -n "$CPP" && test -d "$CPP"; then
5155 if test -z "$CPP"; then
5156 if test "${ac_cv_prog_CPP+set}" = set; then :
5157 $as_echo_n "(cached) " >&6
5159 # Double quotes because CPP needs to be expanded
5160 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5163 for ac_c_preproc_warn_flag
in '' yes
5165 # Use a header file that comes with gcc, so configuring glibc
5166 # with a fresh cross-compiler works.
5167 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5168 # <limits.h> exists even on freestanding compilers.
5169 # On the NeXT, cc -E runs the code through the compiler's parser,
5170 # not just through cpp. "Syntax error" is here to catch this case.
5171 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5172 /* end confdefs.h. */
5174 # include <limits.h>
5176 # include <assert.h>
5180 if ac_fn_c_try_cpp
"$LINENO"; then :
5183 # Broken: fails on valid input.
5186 rm -f conftest.err conftest.
$ac_ext
5188 # OK, works on sane cases. Now check whether nonexistent headers
5189 # can be detected and how.
5190 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5191 /* end confdefs.h. */
5192 #include <ac_nonexistent.h>
5194 if ac_fn_c_try_cpp
"$LINENO"; then :
5195 # Broken: success on invalid input.
5198 # Passes both tests.
5202 rm -f conftest.err conftest.
$ac_ext
5205 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5206 rm -f conftest.err conftest.
$ac_ext
5207 if $ac_preproc_ok; then :
5219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5220 $as_echo "$CPP" >&6; }
5222 for ac_c_preproc_warn_flag
in '' yes
5224 # Use a header file that comes with gcc, so configuring glibc
5225 # with a fresh cross-compiler works.
5226 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5227 # <limits.h> exists even on freestanding compilers.
5228 # On the NeXT, cc -E runs the code through the compiler's parser,
5229 # not just through cpp. "Syntax error" is here to catch this case.
5230 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5231 /* end confdefs.h. */
5233 # include <limits.h>
5235 # include <assert.h>
5239 if ac_fn_c_try_cpp
"$LINENO"; then :
5242 # Broken: fails on valid input.
5245 rm -f conftest.err conftest.
$ac_ext
5247 # OK, works on sane cases. Now check whether nonexistent headers
5248 # can be detected and how.
5249 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5250 /* end confdefs.h. */
5251 #include <ac_nonexistent.h>
5253 if ac_fn_c_try_cpp
"$LINENO"; then :
5254 # Broken: success on invalid input.
5257 # Passes both tests.
5261 rm -f conftest.err conftest.
$ac_ext
5264 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5265 rm -f conftest.err conftest.
$ac_ext
5266 if $ac_preproc_ok; then :
5269 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5270 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5271 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
5272 See \`config.log' for more details." "$LINENO" 5; }
5276 ac_cpp
='$CPP $CPPFLAGS'
5277 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5278 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5279 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5283 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5284 if test "${ac_cv_path_GREP+set}" = set; then :
5285 $as_echo_n "(cached) " >&6
5287 if test -z "$GREP"; then
5288 ac_path_GREP_found
=false
5289 # Loop through the user's path and test for each of PROGNAME-LIST
5290 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5291 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5294 test -z "$as_dir" && as_dir
=.
5295 for ac_prog
in grep ggrep
; do
5296 for ac_exec_ext
in '' $ac_executable_extensions; do
5297 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5298 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5299 # Check for GNU ac_path_GREP and select it if it is found.
5300 # Check for GNU $ac_path_GREP
5301 case `"$ac_path_GREP" --version 2>&1` in
5303 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5306 $as_echo_n 0123456789 >"conftest.in"
5309 cat "conftest.in" "conftest.in" >"conftest.tmp"
5310 mv "conftest.tmp" "conftest.in"
5311 cp "conftest.in" "conftest.nl"
5312 $as_echo 'GREP' >> "conftest.nl"
5313 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5314 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5315 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5316 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5317 # Best one so far, save it but keep looking for a better one
5318 ac_cv_path_GREP
="$ac_path_GREP"
5319 ac_path_GREP_max
=$ac_count
5321 # 10*(2^10) chars as input seems more than enough
5322 test $ac_count -gt 10 && break
5324 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5327 $ac_path_GREP_found && break 3
5332 if test -z "$ac_cv_path_GREP"; then
5333 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5336 ac_cv_path_GREP
=$GREP
5340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5341 $as_echo "$ac_cv_path_GREP" >&6; }
5342 GREP
="$ac_cv_path_GREP"
5345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5346 $as_echo_n "checking for egrep... " >&6; }
5347 if test "${ac_cv_path_EGREP+set}" = set; then :
5348 $as_echo_n "(cached) " >&6
5350 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5351 then ac_cv_path_EGREP
="$GREP -E"
5353 if test -z "$EGREP"; then
5354 ac_path_EGREP_found
=false
5355 # Loop through the user's path and test for each of PROGNAME-LIST
5356 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5357 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5360 test -z "$as_dir" && as_dir
=.
5361 for ac_prog
in egrep; do
5362 for ac_exec_ext
in '' $ac_executable_extensions; do
5363 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5364 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
5365 # Check for GNU ac_path_EGREP and select it if it is found.
5366 # Check for GNU $ac_path_EGREP
5367 case `"$ac_path_EGREP" --version 2>&1` in
5369 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5372 $as_echo_n 0123456789 >"conftest.in"
5375 cat "conftest.in" "conftest.in" >"conftest.tmp"
5376 mv "conftest.tmp" "conftest.in"
5377 cp "conftest.in" "conftest.nl"
5378 $as_echo 'EGREP' >> "conftest.nl"
5379 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5380 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5381 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5382 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5383 # Best one so far, save it but keep looking for a better one
5384 ac_cv_path_EGREP
="$ac_path_EGREP"
5385 ac_path_EGREP_max
=$ac_count
5387 # 10*(2^10) chars as input seems more than enough
5388 test $ac_count -gt 10 && break
5390 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5393 $ac_path_EGREP_found && break 3
5398 if test -z "$ac_cv_path_EGREP"; then
5399 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5402 ac_cv_path_EGREP
=$EGREP
5407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5408 $as_echo "$ac_cv_path_EGREP" >&6; }
5409 EGREP
="$ac_cv_path_EGREP"
5412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5413 $as_echo_n "checking for ANSI C header files... " >&6; }
5414 if test "${ac_cv_header_stdc+set}" = set; then :
5415 $as_echo_n "(cached) " >&6
5417 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5418 /* end confdefs.h. */
5432 if ac_fn_c_try_compile
"$LINENO"; then :
5433 ac_cv_header_stdc
=yes
5435 ac_cv_header_stdc
=no
5437 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5439 if test $ac_cv_header_stdc = yes; then
5440 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5441 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5442 /* end confdefs.h. */
5446 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5447 $EGREP "memchr" >/dev
/null
2>&1; then :
5450 ac_cv_header_stdc
=no
5456 if test $ac_cv_header_stdc = yes; then
5457 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5458 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5459 /* end confdefs.h. */
5463 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5464 $EGREP "free" >/dev
/null
2>&1; then :
5467 ac_cv_header_stdc
=no
5473 if test $ac_cv_header_stdc = yes; then
5474 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5475 if test "$cross_compiling" = yes; then :
5478 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5479 /* end confdefs.h. */
5482 #if ((' ' & 0x0FF) == 0x020)
5483 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5484 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5486 # define ISLOWER(c) \
5487 (('a' <= (c) && (c) <= 'i') \
5488 || ('j' <= (c) && (c) <= 'r') \
5489 || ('s' <= (c) && (c) <= 'z'))
5490 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5493 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5498 for (i = 0; i < 256; i++)
5499 if (XOR (islower (i), ISLOWER (i))
5500 || toupper (i) != TOUPPER (i))
5505 if ac_fn_c_try_run
"$LINENO"; then :
5508 ac_cv_header_stdc
=no
5510 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5511 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5517 $as_echo "$ac_cv_header_stdc" >&6; }
5518 if test $ac_cv_header_stdc = yes; then
5520 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5527 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5528 # Check whether --enable-maintainer-mode was given.
5529 if test "${enable_maintainer_mode+set}" = set; then :
5530 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
5532 USE_MAINTAINER_MODE
=no
5535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5536 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5537 if test $USE_MAINTAINER_MODE = yes; then
5538 MAINTAINER_MODE_TRUE
=
5539 MAINTAINER_MODE_FALSE
='#'
5541 MAINTAINER_MODE_TRUE
='#'
5542 MAINTAINER_MODE_FALSE
=
5545 MAINT
=$MAINTAINER_MODE_TRUE
5549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
5550 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
5551 if test "${ac_cv_c_const+set}" = set; then :
5552 $as_echo_n "(cached) " >&6
5554 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5555 /* end confdefs.h. */
5560 /* FIXME: Include the comments suggested by Paul. */
5562 /* Ultrix mips cc rejects this. */
5563 typedef int charset[2];
5565 /* SunOS 4.1.1 cc rejects this. */
5566 char const *const *pcpcc;
5568 /* NEC SVR4.0.2 mips cc rejects this. */
5569 struct point {int x, y;};
5570 static struct point const zero = {0,0};
5571 /* AIX XL C 1.02.0.0 rejects this.
5572 It does not let you subtract one const X* pointer from another in
5573 an arm of an if-expression whose if-part is not a constant
5575 const char *g = "string";
5576 pcpcc = &g + (g ? g-g : 0);
5577 /* HPUX 7.0 cc rejects these. */
5579 ppc = (char**) pcpcc;
5580 pcpcc = (char const *const *) ppc;
5581 { /* SCO 3.2v4 cc rejects this. */
5583 char const *s = 0 ? (char *) 0 : (char const *) 0;
5588 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
5590 const int *foo = &x[0];
5593 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
5594 typedef const int *iptr;
5598 { /* AIX XL C 1.02.0.0 rejects this saying
5599 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
5600 struct s { int j; const int *ap[3]; };
5601 struct s *b; b->j = 5;
5603 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
5607 return !cs[0] && !zero.x;
5614 if ac_fn_c_try_compile
"$LINENO"; then :
5619 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
5622 $as_echo "$ac_cv_c_const" >&6; }
5623 if test $ac_cv_c_const = no
; then
5625 $as_echo "#define const /**/" >>confdefs.h
5629 for ac_func
in vprintf
5631 ac_fn_c_check_func
"$LINENO" "vprintf" "ac_cv_func_vprintf"
5632 if test "x$ac_cv_func_vprintf" = x
""yes; then :
5633 cat >>confdefs.h
<<_ACEOF
5634 #define HAVE_VPRINTF 1
5637 ac_fn_c_check_func
"$LINENO" "_doprnt" "ac_cv_func__doprnt"
5638 if test "x$ac_cv_func__doprnt" = x
""yes; then :
5640 $as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
5648 for ac_prog
in gawk mawk nawk
awk
5650 # Extract the first word of "$ac_prog", so it can be a program name with args.
5651 set dummy
$ac_prog; ac_word
=$2
5652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5653 $as_echo_n "checking for $ac_word... " >&6; }
5654 if test "${ac_cv_prog_AWK+set}" = set; then :
5655 $as_echo_n "(cached) " >&6
5657 if test -n "$AWK"; then
5658 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
5660 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5664 test -z "$as_dir" && as_dir
=.
5665 for ac_exec_ext
in '' $ac_executable_extensions; do
5666 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5667 ac_cv_prog_AWK
="$ac_prog"
5668 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5678 if test -n "$AWK"; then
5679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
5680 $as_echo "$AWK" >&6; }
5682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5683 $as_echo "no" >&6; }
5687 test -n "$AWK" && break
5690 if test -n "$ac_tool_prefix"; then
5691 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5692 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5694 $as_echo_n "checking for $ac_word... " >&6; }
5695 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5696 $as_echo_n "(cached) " >&6
5698 if test -n "$RANLIB"; then
5699 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5701 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5705 test -z "$as_dir" && as_dir
=.
5706 for ac_exec_ext
in '' $ac_executable_extensions; do
5707 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5708 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5709 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5718 RANLIB
=$ac_cv_prog_RANLIB
5719 if test -n "$RANLIB"; then
5720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5721 $as_echo "$RANLIB" >&6; }
5723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5724 $as_echo "no" >&6; }
5729 if test -z "$ac_cv_prog_RANLIB"; then
5730 ac_ct_RANLIB
=$RANLIB
5731 # Extract the first word of "ranlib", so it can be a program name with args.
5732 set dummy ranlib
; ac_word
=$2
5733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5734 $as_echo_n "checking for $ac_word... " >&6; }
5735 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5736 $as_echo_n "(cached) " >&6
5738 if test -n "$ac_ct_RANLIB"; then
5739 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5741 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5745 test -z "$as_dir" && as_dir
=.
5746 for ac_exec_ext
in '' $ac_executable_extensions; do
5747 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5748 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5749 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5758 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5759 if test -n "$ac_ct_RANLIB"; then
5760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5761 $as_echo "$ac_ct_RANLIB" >&6; }
5763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5764 $as_echo "no" >&6; }
5767 if test "x$ac_ct_RANLIB" = x
; then
5770 case $cross_compiling:$ac_tool_warned in
5772 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5773 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5774 ac_tool_warned
=yes ;;
5776 RANLIB
=$ac_ct_RANLIB
5779 RANLIB
="$ac_cv_prog_RANLIB"
5782 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5783 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5784 inttypes.h stdint.h unistd.h
5786 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5787 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5789 eval as_val
=\$
$as_ac_Header
5790 if test "x$as_val" = x
""yes; then :
5791 cat >>confdefs.h
<<_ACEOF
5792 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5800 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
5801 if test "x$ac_cv_type_size_t" = x
""yes; then :
5805 cat >>confdefs.h
<<_ACEOF
5806 #define size_t unsigned int
5813 # Extract the first word of "gnuplot", so it can be a program name with args.
5814 set dummy gnuplot
; ac_word
=$2
5815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5816 $as_echo_n "checking for $ac_word... " >&6; }
5817 if test "${ac_cv_prog_GNUPLOT+set}" = set; then :
5818 $as_echo_n "(cached) " >&6
5820 if test -n "$GNUPLOT"; then
5821 ac_cv_prog_GNUPLOT
="$GNUPLOT" # Let the user override the test.
5823 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5827 test -z "$as_dir" && as_dir
=.
5828 for ac_exec_ext
in '' $ac_executable_extensions; do
5829 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5830 ac_cv_prog_GNUPLOT
="true"
5831 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5838 test -z "$ac_cv_prog_GNUPLOT" && ac_cv_prog_GNUPLOT
="false"
5841 GNUPLOT
=$ac_cv_prog_GNUPLOT
5842 if test -n "$GNUPLOT"; then
5843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUPLOT" >&5
5844 $as_echo "$GNUPLOT" >&6; }
5846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5847 $as_echo "no" >&6; }
5853 HAVE_GNUPLOT_FALSE
='#'
5855 HAVE_GNUPLOT_TRUE
='#'
5863 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
5864 if test -n "$ac_tool_prefix"; then
5865 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5866 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
5867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5868 $as_echo_n "checking for $ac_word... " >&6; }
5869 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
5870 $as_echo_n "(cached) " >&6
5874 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
5877 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5881 test -z "$as_dir" && as_dir
=.
5882 for ac_exec_ext
in '' $ac_executable_extensions; do
5883 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5884 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
5885 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5895 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
5896 if test -n "$PKG_CONFIG"; then
5897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5898 $as_echo "$PKG_CONFIG" >&6; }
5900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5901 $as_echo "no" >&6; }
5906 if test -z "$ac_cv_path_PKG_CONFIG"; then
5907 ac_pt_PKG_CONFIG
=$PKG_CONFIG
5908 # Extract the first word of "pkg-config", so it can be a program name with args.
5909 set dummy pkg-config
; ac_word
=$2
5910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5911 $as_echo_n "checking for $ac_word... " >&6; }
5912 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
5913 $as_echo_n "(cached) " >&6
5915 case $ac_pt_PKG_CONFIG in
5917 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
5920 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5924 test -z "$as_dir" && as_dir
=.
5925 for ac_exec_ext
in '' $ac_executable_extensions; do
5926 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5927 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
5928 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5938 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
5939 if test -n "$ac_pt_PKG_CONFIG"; then
5940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
5941 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
5943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5944 $as_echo "no" >&6; }
5947 if test "x$ac_pt_PKG_CONFIG" = x
; then
5950 case $cross_compiling:$ac_tool_warned in
5952 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5953 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5954 ac_tool_warned
=yes ;;
5956 PKG_CONFIG
=$ac_pt_PKG_CONFIG
5959 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
5963 if test -n "$PKG_CONFIG"; then
5964 _pkg_min_version
=0.9.0
5965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
5966 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
5967 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
5968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5969 $as_echo "yes" >&6; }
5971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5972 $as_echo "no" >&6; }
5979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
5980 $as_echo_n "checking for GLIB... " >&6; }
5982 if test -n "$PKG_CONFIG"; then
5983 if test -n "$GLIB_CFLAGS"; then
5984 pkg_cv_GLIB_CFLAGS
="$GLIB_CFLAGS"
5986 if test -n "$PKG_CONFIG" && \
5987 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.0.0\""; } >&5
5988 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.0.0") 2>&5
5990 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5991 test $ac_status = 0; }; then
5992 pkg_cv_GLIB_CFLAGS
=`$PKG_CONFIG --cflags "glib-2.0 >= 2.0.0" 2>/dev/null`
6000 if test -n "$PKG_CONFIG"; then
6001 if test -n "$GLIB_LIBS"; then
6002 pkg_cv_GLIB_LIBS
="$GLIB_LIBS"
6004 if test -n "$PKG_CONFIG" && \
6005 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.0.0\""; } >&5
6006 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.0.0") 2>&5
6008 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6009 test $ac_status = 0; }; then
6010 pkg_cv_GLIB_LIBS
=`$PKG_CONFIG --libs "glib-2.0 >= 2.0.0" 2>/dev/null`
6021 if test $pkg_failed = yes; then
6023 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
6024 _pkg_short_errors_supported
=yes
6026 _pkg_short_errors_supported
=no
6028 if test $_pkg_short_errors_supported = yes; then
6029 GLIB_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glib-2.0 >= 2.0.0"`
6031 GLIB_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 >= 2.0.0"`
6033 # Put the nasty error message in config.log where it belongs
6034 echo "$GLIB_PKG_ERRORS" >&5
6036 as_fn_error
"Package requirements (glib-2.0 >= 2.0.0) were not met:
6040 Consider adjusting the PKG_CONFIG_PATH environment variable if you
6041 installed software in a non-standard prefix.
6043 Alternatively, you may set the environment variables GLIB_CFLAGS
6044 and GLIB_LIBS to avoid the need to call pkg-config.
6045 See the pkg-config man page for more details.
6047 elif test $pkg_failed = untried
; then
6048 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6049 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6050 as_fn_error
"The pkg-config script could not be found or is too old. Make sure it
6051 is in your PATH or set the PKG_CONFIG environment variable to the full
6054 Alternatively, you may set the environment variables GLIB_CFLAGS
6055 and GLIB_LIBS to avoid the need to call pkg-config.
6056 See the pkg-config man page for more details.
6058 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
6059 See \`config.log' for more details." "$LINENO" 5; }
6061 GLIB_CFLAGS
=$pkg_cv_GLIB_CFLAGS
6062 GLIB_LIBS
=$pkg_cv_GLIB_LIBS
6063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6064 $as_echo "yes" >&6; }
6070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g_malloc0 in -lglib-2.0" >&5
6071 $as_echo_n "checking for g_malloc0 in -lglib-2.0... " >&6; }
6072 if test "${ac_cv_lib_glib_2_0_g_malloc0+set}" = set; then :
6073 $as_echo_n "(cached) " >&6
6075 ac_check_lib_save_LIBS
=$LIBS
6076 LIBS
="-lglib-2.0 $LIBS"
6077 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6078 /* end confdefs.h. */
6080 /* Override any GCC internal prototype to avoid an error.
6081 Use char because int might match the return type of a GCC
6082 builtin and then its argument prototype would still apply. */
6090 return g_malloc0 ();
6095 if ac_fn_c_try_link
"$LINENO"; then :
6096 ac_cv_lib_glib_2_0_g_malloc0
=yes
6098 ac_cv_lib_glib_2_0_g_malloc0
=no
6100 rm -f core conftest.err conftest.
$ac_objext \
6101 conftest
$ac_exeext conftest.
$ac_ext
6102 LIBS
=$ac_check_lib_save_LIBS
6104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_glib_2_0_g_malloc0" >&5
6105 $as_echo "$ac_cv_lib_glib_2_0_g_malloc0" >&6; }
6106 if test "x$ac_cv_lib_glib_2_0_g_malloc0" = x
""yes; then :
6107 cat >>confdefs.h
<<_ACEOF
6108 #define HAVE_LIBGLIB_2_0 1
6111 LIBS
="-lglib-2.0 $LIBS"
6114 as_fn_error
"\"libglib not installed\"" "$LINENO" 5
6118 # Extract the first word of "perl", so it can be a program name with args.
6119 set dummy perl
; ac_word
=$2
6120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6121 $as_echo_n "checking for $ac_word... " >&6; }
6122 if test "${ac_cv_prog_PERL+set}" = set; then :
6123 $as_echo_n "(cached) " >&6
6125 if test -n "$PERL"; then
6126 ac_cv_prog_PERL
="$PERL" # Let the user override the test.
6128 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6132 test -z "$as_dir" && as_dir
=.
6133 for ac_exec_ext
in '' $ac_executable_extensions; do
6134 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6135 ac_cv_prog_PERL
="true"
6136 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6143 test -z "$ac_cv_prog_PERL" && ac_cv_prog_PERL
="false"
6146 PERL
=$ac_cv_prog_PERL
6147 if test -n "$PERL"; then
6148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
6149 $as_echo "$PERL" >&6; }
6151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6152 $as_echo "no" >&6; }
6164 # Extract the first word of "python", so it can be a program name with args.
6165 set dummy python
; ac_word
=$2
6166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6167 $as_echo_n "checking for $ac_word... " >&6; }
6168 if test "${ac_cv_prog_PYTHON+set}" = set; then :
6169 $as_echo_n "(cached) " >&6
6171 if test -n "$PYTHON"; then
6172 ac_cv_prog_PYTHON
="$PYTHON" # Let the user override the test.
6174 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6178 test -z "$as_dir" && as_dir
=.
6179 for ac_exec_ext
in '' $ac_executable_extensions; do
6180 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6181 ac_cv_prog_PYTHON
="true"
6182 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6189 test -z "$ac_cv_prog_PYTHON" && ac_cv_prog_PYTHON
="false"
6192 PYTHON
=$ac_cv_prog_PYTHON
6193 if test -n "$PYTHON"; then
6194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
6195 $as_echo "$PYTHON" >&6; }
6197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6198 $as_echo "no" >&6; }
6204 HAVE_PYTHON_FALSE
='#'
6206 HAVE_PYTHON_TRUE
='#'
6210 # Extract the first word of "convert", so it can be a program name with args.
6211 set dummy convert
; ac_word
=$2
6212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6213 $as_echo_n "checking for $ac_word... " >&6; }
6214 if test "${ac_cv_prog_CONVERT+set}" = set; then :
6215 $as_echo_n "(cached) " >&6
6217 if test -n "$CONVERT"; then
6218 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
6220 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6224 test -z "$as_dir" && as_dir
=.
6225 for ac_exec_ext
in '' $ac_executable_extensions; do
6226 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6227 ac_cv_prog_CONVERT
="true"
6228 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6235 test -z "$ac_cv_prog_CONVERT" && ac_cv_prog_CONVERT
="false"
6238 CONVERT
=$ac_cv_prog_CONVERT
6239 if test -n "$CONVERT"; then
6240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6241 $as_echo "$CONVERT" >&6; }
6243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6244 $as_echo "no" >&6; }
6250 HAVE_CONVERT_FALSE
='#'
6252 HAVE_CONVERT_TRUE
='#'
6256 # Extract the first word of "plotmtv", so it can be a program name with args.
6257 set dummy plotmtv
; ac_word
=$2
6258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6259 $as_echo_n "checking for $ac_word... " >&6; }
6260 if test "${ac_cv_prog_PLOTMTV+set}" = set; then :
6261 $as_echo_n "(cached) " >&6
6263 if test -n "$PLOTMTV"; then
6264 ac_cv_prog_PLOTMTV
="$PLOTMTV" # Let the user override the test.
6266 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6270 test -z "$as_dir" && as_dir
=.
6271 for ac_exec_ext
in '' $ac_executable_extensions; do
6272 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6273 ac_cv_prog_PLOTMTV
="true"
6274 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6281 test -z "$ac_cv_prog_PLOTMTV" && ac_cv_prog_PLOTMTV
="false"
6284 PLOTMTV
=$ac_cv_prog_PLOTMTV
6285 if test -n "$PLOTMTV"; then
6286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PLOTMTV" >&5
6287 $as_echo "$PLOTMTV" >&6; }
6289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6290 $as_echo "no" >&6; }
6296 HAVE_PLOTMTV_FALSE
='#'
6298 HAVE_PLOTMTV_TRUE
='#'
6303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fftw_plan_dft_r2c_2d in -lfftw3" >&5
6304 $as_echo_n "checking for fftw_plan_dft_r2c_2d in -lfftw3... " >&6; }
6305 if test "${ac_cv_lib_fftw3_fftw_plan_dft_r2c_2d+set}" = set; then :
6306 $as_echo_n "(cached) " >&6
6308 ac_check_lib_save_LIBS
=$LIBS
6309 LIBS
="-lfftw3 $LIBS"
6310 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6311 /* end confdefs.h. */
6313 /* Override any GCC internal prototype to avoid an error.
6314 Use char because int might match the return type of a GCC
6315 builtin and then its argument prototype would still apply. */
6319 char fftw_plan_dft_r2c_2d ();
6323 return fftw_plan_dft_r2c_2d ();
6328 if ac_fn_c_try_link
"$LINENO"; then :
6329 ac_cv_lib_fftw3_fftw_plan_dft_r2c_2d
=yes
6331 ac_cv_lib_fftw3_fftw_plan_dft_r2c_2d
=no
6333 rm -f core conftest.err conftest.
$ac_objext \
6334 conftest
$ac_exeext conftest.
$ac_ext
6335 LIBS
=$ac_check_lib_save_LIBS
6337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fftw3_fftw_plan_dft_r2c_2d" >&5
6338 $as_echo "$ac_cv_lib_fftw3_fftw_plan_dft_r2c_2d" >&6; }
6339 if test "x$ac_cv_lib_fftw3_fftw_plan_dft_r2c_2d" = x
""yes; then :
6340 cat >>confdefs.h
<<_ACEOF
6341 #define HAVE_LIBFFTW3 1
6344 LIBS
="-lfftw3 $LIBS"
6347 as_fn_error
"\"libfftw3 not installed\"" "$LINENO" 5
6351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lgslcblas" >&5
6352 $as_echo_n "checking for main in -lgslcblas... " >&6; }
6353 if test "${ac_cv_lib_gslcblas_main+set}" = set; then :
6354 $as_echo_n "(cached) " >&6
6356 ac_check_lib_save_LIBS
=$LIBS
6357 LIBS
="-lgslcblas $LIBS"
6358 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6359 /* end confdefs.h. */
6370 if ac_fn_c_try_link
"$LINENO"; then :
6371 ac_cv_lib_gslcblas_main
=yes
6373 ac_cv_lib_gslcblas_main
=no
6375 rm -f core conftest.err conftest.
$ac_objext \
6376 conftest
$ac_exeext conftest.
$ac_ext
6377 LIBS
=$ac_check_lib_save_LIBS
6379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gslcblas_main" >&5
6380 $as_echo "$ac_cv_lib_gslcblas_main" >&6; }
6381 if test "x$ac_cv_lib_gslcblas_main" = x
""yes; then :
6382 cat >>confdefs.h
<<_ACEOF
6383 #define HAVE_LIBGSLCBLAS 1
6386 LIBS
="-lgslcblas $LIBS"
6389 as_fn_error
"\"libgslcblas not installed\"" "$LINENO" 5
6393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lgsl" >&5
6394 $as_echo_n "checking for main in -lgsl... " >&6; }
6395 if test "${ac_cv_lib_gsl_main+set}" = set; then :
6396 $as_echo_n "(cached) " >&6
6398 ac_check_lib_save_LIBS
=$LIBS
6400 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6401 /* end confdefs.h. */
6412 if ac_fn_c_try_link
"$LINENO"; then :
6413 ac_cv_lib_gsl_main
=yes
6415 ac_cv_lib_gsl_main
=no
6417 rm -f core conftest.err conftest.
$ac_objext \
6418 conftest
$ac_exeext conftest.
$ac_ext
6419 LIBS
=$ac_check_lib_save_LIBS
6421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gsl_main" >&5
6422 $as_echo "$ac_cv_lib_gsl_main" >&6; }
6423 if test "x$ac_cv_lib_gsl_main" = x
""yes; then :
6424 cat >>confdefs.h
<<_ACEOF
6425 #define HAVE_LIBGSL 1
6431 as_fn_error
"\"libgsl not installed\"" "$LINENO" 5
6437 # Check whether --enable-mpi was given.
6438 if test "${enable_mpi+set}" = set; then :
6439 enableval
=$enable_mpi; ENABLE_MPI
="-DENABLE_MPI"
6446 if test "${ENABLE_MPI}" == '-DENABLE_MPI'; then
6452 for ac_prog
in mpicc hcc mpcc mpcc_r mpxlc cmpicc
6454 # Extract the first word of "$ac_prog", so it can be a program name with args.
6455 set dummy
$ac_prog; ac_word
=$2
6456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6457 $as_echo_n "checking for $ac_word... " >&6; }
6458 if test "${ac_cv_prog_MPICC+set}" = set; then :
6459 $as_echo_n "(cached) " >&6
6461 if test -n "$MPICC"; then
6462 ac_cv_prog_MPICC
="$MPICC" # Let the user override the test.
6464 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6468 test -z "$as_dir" && as_dir
=.
6469 for ac_exec_ext
in '' $ac_executable_extensions; do
6470 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6471 ac_cv_prog_MPICC
="$ac_prog"
6472 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6481 MPICC
=$ac_cv_prog_MPICC
6482 if test -n "$MPICC"; then
6483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MPICC" >&5
6484 $as_echo "$MPICC" >&6; }
6486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6487 $as_echo "no" >&6; }
6491 test -n "$MPICC" && break
6493 test -n "$MPICC" || MPICC
="$CC"
6495 acx_mpi_save_CC
="$CC"
6500 if test x
= x
"$MPILIBS"; then
6501 ac_fn_c_check_func
"$LINENO" "MPI_Init" "ac_cv_func_MPI_Init"
6502 if test "x$ac_cv_func_MPI_Init" = x
""yes; then :
6507 if test x
= x
"$MPILIBS"; then
6508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MPI_Init in -lmpi" >&5
6509 $as_echo_n "checking for MPI_Init in -lmpi... " >&6; }
6510 if test "${ac_cv_lib_mpi_MPI_Init+set}" = set; then :
6511 $as_echo_n "(cached) " >&6
6513 ac_check_lib_save_LIBS
=$LIBS
6515 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6516 /* end confdefs.h. */
6518 /* Override any GCC internal prototype to avoid an error.
6519 Use char because int might match the return type of a GCC
6520 builtin and then its argument prototype would still apply. */
6533 if ac_fn_c_try_link
"$LINENO"; then :
6534 ac_cv_lib_mpi_MPI_Init
=yes
6536 ac_cv_lib_mpi_MPI_Init
=no
6538 rm -f core conftest.err conftest.
$ac_objext \
6539 conftest
$ac_exeext conftest.
$ac_ext
6540 LIBS
=$ac_check_lib_save_LIBS
6542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpi_MPI_Init" >&5
6543 $as_echo "$ac_cv_lib_mpi_MPI_Init" >&6; }
6544 if test "x$ac_cv_lib_mpi_MPI_Init" = x
""yes; then :
6549 if test x
= x
"$MPILIBS"; then
6550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MPI_Init in -lmpich" >&5
6551 $as_echo_n "checking for MPI_Init in -lmpich... " >&6; }
6552 if test "${ac_cv_lib_mpich_MPI_Init+set}" = set; then :
6553 $as_echo_n "(cached) " >&6
6555 ac_check_lib_save_LIBS
=$LIBS
6556 LIBS
="-lmpich $LIBS"
6557 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6558 /* end confdefs.h. */
6560 /* Override any GCC internal prototype to avoid an error.
6561 Use char because int might match the return type of a GCC
6562 builtin and then its argument prototype would still apply. */
6575 if ac_fn_c_try_link
"$LINENO"; then :
6576 ac_cv_lib_mpich_MPI_Init
=yes
6578 ac_cv_lib_mpich_MPI_Init
=no
6580 rm -f core conftest.err conftest.
$ac_objext \
6581 conftest
$ac_exeext conftest.
$ac_ext
6582 LIBS
=$ac_check_lib_save_LIBS
6584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpich_MPI_Init" >&5
6585 $as_echo "$ac_cv_lib_mpich_MPI_Init" >&6; }
6586 if test "x$ac_cv_lib_mpich_MPI_Init" = x
""yes; then :
6592 if test x
!= x
"$MPILIBS"; then
6593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpi.h" >&5
6594 $as_echo_n "checking for mpi.h... " >&6; }
6595 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6596 /* end confdefs.h. */
6606 if ac_fn_c_try_compile
"$LINENO"; then :
6607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6608 $as_echo "yes" >&6; }
6611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6612 $as_echo "no" >&6; }
6614 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6617 CC
="$acx_mpi_save_CC"
6621 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
6622 if test x
= x
"$MPILIBS"; then
6623 as_fn_error
"\"libmpi IS NOT installed\"" "$LINENO" 5
6626 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"libmpi HAS BEEN installed\"" >&5
6627 $as_echo "$as_me: WARNING: \"libmpi HAS BEEN installed\"" >&2;}
6633 LIBS
="$MPILIBS $LIBS"
6635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lmpi" >&5
6636 $as_echo_n "checking for main in -lmpi... " >&6; }
6637 if test "${ac_cv_lib_mpi_main+set}" = set; then :
6638 $as_echo_n "(cached) " >&6
6640 ac_check_lib_save_LIBS
=$LIBS
6642 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6643 /* end confdefs.h. */
6654 if ac_fn_c_try_link
"$LINENO"; then :
6655 ac_cv_lib_mpi_main
=yes
6657 ac_cv_lib_mpi_main
=no
6659 rm -f core conftest.err conftest.
$ac_objext \
6660 conftest
$ac_exeext conftest.
$ac_ext
6661 LIBS
=$ac_check_lib_save_LIBS
6663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpi_main" >&5
6664 $as_echo "$ac_cv_lib_mpi_main" >&6; }
6665 if test "x$ac_cv_lib_mpi_main" = x
""yes; then :
6666 cat >>confdefs.h
<<_ACEOF
6667 #define HAVE_LIBMPI 1
6673 as_fn_error
"\"libmpi not installed\"" "$LINENO" 5
6676 ac_fn_c_check_header_mongrel
"$LINENO" "mpi.h" "ac_cv_header_mpi_h" "$ac_includes_default"
6677 if test "x$ac_cv_header_mpi_h" = x
""yes; then :
6680 as_fn_error
"\"missing mpi.h\"" "$LINENO" 5
6685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gpiv_piv_mpi_bcast_pivpar in -lgpiv_mpi" >&5
6686 $as_echo_n "checking for gpiv_piv_mpi_bcast_pivpar in -lgpiv_mpi... " >&6; }
6687 if test "${ac_cv_lib_gpiv_mpi_gpiv_piv_mpi_bcast_pivpar+set}" = set; then :
6688 $as_echo_n "(cached) " >&6
6690 ac_check_lib_save_LIBS
=$LIBS
6691 LIBS
="-lgpiv_mpi $LIBS"
6692 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6693 /* end confdefs.h. */
6695 /* Override any GCC internal prototype to avoid an error.
6696 Use char because int might match the return type of a GCC
6697 builtin and then its argument prototype would still apply. */
6701 char gpiv_piv_mpi_bcast_pivpar ();
6705 return gpiv_piv_mpi_bcast_pivpar ();
6710 if ac_fn_c_try_link
"$LINENO"; then :
6711 ac_cv_lib_gpiv_mpi_gpiv_piv_mpi_bcast_pivpar
=yes
6713 ac_cv_lib_gpiv_mpi_gpiv_piv_mpi_bcast_pivpar
=no
6715 rm -f core conftest.err conftest.
$ac_objext \
6716 conftest
$ac_exeext conftest.
$ac_ext
6717 LIBS
=$ac_check_lib_save_LIBS
6719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gpiv_mpi_gpiv_piv_mpi_bcast_pivpar" >&5
6720 $as_echo "$ac_cv_lib_gpiv_mpi_gpiv_piv_mpi_bcast_pivpar" >&6; }
6721 if test "x$ac_cv_lib_gpiv_mpi_gpiv_piv_mpi_bcast_pivpar" = x
""yes; then :
6722 cat >>confdefs.h
<<_ACEOF
6723 #define HAVE_LIBGPIV_MPI 1
6726 LIBS
="-lgpiv_mpi $LIBS"
6729 as_fn_error
"\"gpiv_piv_mpi_bcast_pivpar is not working in libgpiv_mpi. \
6730 Enable MPI in libgpiv or disable it here by leaving out --enable-mpi during ./configure\"" "$LINENO" 5
6734 # Extract the first word of "mpipython", so it can be a program name with args.
6735 set dummy mpipython
; ac_word
=$2
6736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6737 $as_echo_n "checking for $ac_word... " >&6; }
6738 if test "${ac_cv_prog_MPIPYTHON+set}" = set; then :
6739 $as_echo_n "(cached) " >&6
6741 if test -n "$MPIPYTHON"; then
6742 ac_cv_prog_MPIPYTHON
="$MPIPYTHON" # Let the user override the test.
6744 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6748 test -z "$as_dir" && as_dir
=.
6749 for ac_exec_ext
in '' $ac_executable_extensions; do
6750 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6751 ac_cv_prog_MPIPYTHON
="true"
6752 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6759 test -z "$ac_cv_prog_MPIPYTHON" && ac_cv_prog_MPIPYTHON
="false"
6762 MPIPYTHON
=$ac_cv_prog_MPIPYTHON
6763 if test -n "$MPIPYTHON"; then
6764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MPIPYTHON" >&5
6765 $as_echo "$MPIPYTHON" >&6; }
6767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6768 $as_echo "no" >&6; }
6774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gpiv_warning in -lgpiv" >&5
6775 $as_echo_n "checking for gpiv_warning in -lgpiv... " >&6; }
6776 if test "${ac_cv_lib_gpiv_gpiv_warning+set}" = set; then :
6777 $as_echo_n "(cached) " >&6
6779 ac_check_lib_save_LIBS
=$LIBS
6781 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6782 /* end confdefs.h. */
6784 /* Override any GCC internal prototype to avoid an error.
6785 Use char because int might match the return type of a GCC
6786 builtin and then its argument prototype would still apply. */
6790 char gpiv_warning ();
6794 return gpiv_warning ();
6799 if ac_fn_c_try_link
"$LINENO"; then :
6800 ac_cv_lib_gpiv_gpiv_warning
=yes
6802 ac_cv_lib_gpiv_gpiv_warning
=no
6804 rm -f core conftest.err conftest.
$ac_objext \
6805 conftest
$ac_exeext conftest.
$ac_ext
6806 LIBS
=$ac_check_lib_save_LIBS
6808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gpiv_gpiv_warning" >&5
6809 $as_echo "$ac_cv_lib_gpiv_gpiv_warning" >&6; }
6810 if test "x$ac_cv_lib_gpiv_gpiv_warning" = x
""yes; then :
6811 cat >>confdefs.h
<<_ACEOF
6812 #define HAVE_LIBGPIV 1
6818 as_fn_error
"\"libgpiv has not been installed\"" "$LINENO" 5
6824 for ac_header
in stdlib.h string.h unistd.h \
6829 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6830 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6831 eval as_val
=\$
$as_ac_Header
6832 if test "x$as_val" = x
""yes; then :
6833 cat >>confdefs.h
<<_ACEOF
6834 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6845 # Check whether --enable-cam was given.
6846 if test "${enable_cam+set}" = set; then :
6847 enableval
=$enable_cam; ENABLE_CAM
="-DENABLE_CAM"
6854 # Check whether --enable-trig was given.
6855 if test "${enable_trig+set}" = set; then :
6856 enableval
=$enable_trig; ENABLE_TRIG
="-DENABLE_TRIG"
6863 if test "${ENABLE_CAM}" == '-DENABLE_CAM'; then
6864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gpiv_cam_get_camvar in -lgpiv" >&5
6865 $as_echo_n "checking for gpiv_cam_get_camvar in -lgpiv... " >&6; }
6866 if test "${ac_cv_lib_gpiv_gpiv_cam_get_camvar+set}" = set; then :
6867 $as_echo_n "(cached) " >&6
6869 ac_check_lib_save_LIBS
=$LIBS
6871 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6872 /* end confdefs.h. */
6874 /* Override any GCC internal prototype to avoid an error.
6875 Use char because int might match the return type of a GCC
6876 builtin and then its argument prototype would still apply. */
6880 char gpiv_cam_get_camvar ();
6884 return gpiv_cam_get_camvar ();
6889 if ac_fn_c_try_link
"$LINENO"; then :
6890 ac_cv_lib_gpiv_gpiv_cam_get_camvar
=yes
6892 ac_cv_lib_gpiv_gpiv_cam_get_camvar
=no
6894 rm -f core conftest.err conftest.
$ac_objext \
6895 conftest
$ac_exeext conftest.
$ac_ext
6896 LIBS
=$ac_check_lib_save_LIBS
6898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gpiv_gpiv_cam_get_camvar" >&5
6899 $as_echo "$ac_cv_lib_gpiv_gpiv_cam_get_camvar" >&6; }
6900 if test "x$ac_cv_lib_gpiv_gpiv_cam_get_camvar" = x
""yes; then :
6901 cat >>confdefs.h
<<_ACEOF
6902 #define HAVE_LIBGPIV 1
6908 as_fn_error
"\"(IEEE-1394) camera is not working in libgpiv. \
6909 Enable (IEEE-1394) camera in libgpiv or disable it here by leaving out --enable-cam during ./configure\"" "$LINENO" 5
6913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for raw1394_destroy_handle in -lraw1394" >&5
6914 $as_echo_n "checking for raw1394_destroy_handle in -lraw1394... " >&6; }
6915 if test "${ac_cv_lib_raw1394_raw1394_destroy_handle+set}" = set; then :
6916 $as_echo_n "(cached) " >&6
6918 ac_check_lib_save_LIBS
=$LIBS
6919 LIBS
="-lraw1394 $LIBS"
6920 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6921 /* end confdefs.h. */
6923 /* Override any GCC internal prototype to avoid an error.
6924 Use char because int might match the return type of a GCC
6925 builtin and then its argument prototype would still apply. */
6929 char raw1394_destroy_handle ();
6933 return raw1394_destroy_handle ();
6938 if ac_fn_c_try_link
"$LINENO"; then :
6939 ac_cv_lib_raw1394_raw1394_destroy_handle
=yes
6941 ac_cv_lib_raw1394_raw1394_destroy_handle
=no
6943 rm -f core conftest.err conftest.
$ac_objext \
6944 conftest
$ac_exeext conftest.
$ac_ext
6945 LIBS
=$ac_check_lib_save_LIBS
6947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_raw1394_raw1394_destroy_handle" >&5
6948 $as_echo "$ac_cv_lib_raw1394_raw1394_destroy_handle" >&6; }
6949 if test "x$ac_cv_lib_raw1394_raw1394_destroy_handle" = x
""yes; then :
6950 cat >>confdefs.h
<<_ACEOF
6951 #define HAVE_LIBRAW1394 1
6954 LIBS
="-lraw1394 $LIBS"
6957 as_fn_error
"\"libraw1394 not installed\"" "$LINENO" 5
6961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dc1394_create_handle in -ldc1394_control" >&5
6962 $as_echo_n "checking for dc1394_create_handle in -ldc1394_control... " >&6; }
6963 if test "${ac_cv_lib_dc1394_control_dc1394_create_handle+set}" = set; then :
6964 $as_echo_n "(cached) " >&6
6966 ac_check_lib_save_LIBS
=$LIBS
6967 LIBS
="-ldc1394_control $LIBS"
6968 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6969 /* end confdefs.h. */
6971 /* Override any GCC internal prototype to avoid an error.
6972 Use char because int might match the return type of a GCC
6973 builtin and then its argument prototype would still apply. */
6977 char dc1394_create_handle ();
6981 return dc1394_create_handle ();
6986 if ac_fn_c_try_link
"$LINENO"; then :
6987 ac_cv_lib_dc1394_control_dc1394_create_handle
=yes
6989 ac_cv_lib_dc1394_control_dc1394_create_handle
=no
6991 rm -f core conftest.err conftest.
$ac_objext \
6992 conftest
$ac_exeext conftest.
$ac_ext
6993 LIBS
=$ac_check_lib_save_LIBS
6995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dc1394_control_dc1394_create_handle" >&5
6996 $as_echo "$ac_cv_lib_dc1394_control_dc1394_create_handle" >&6; }
6997 if test "x$ac_cv_lib_dc1394_control_dc1394_create_handle" = x
""yes; then :
6998 cat >>confdefs.h
<<_ACEOF
6999 #define HAVE_LIBDC1394_CONTROL 1
7002 LIBS
="-ldc1394_control $LIBS"
7005 as_fn_error
"\"libdc1394_control not installed\"" "$LINENO" 5
7009 ac_fn_c_check_header_mongrel
"$LINENO" "libdc1394/dc1394_control.h" "ac_cv_header_libdc1394_dc1394_control_h" "$ac_includes_default"
7010 if test "x$ac_cv_header_libdc1394_dc1394_control_h" = x
""yes; then :
7013 as_fn_error
"\"missing dc1394_control.h\"" "$LINENO" 5
7018 ac_fn_c_check_header_mongrel
"$LINENO" "libraw1394/raw1394.h" "ac_cv_header_libraw1394_raw1394_h" "$ac_includes_default"
7019 if test "x$ac_cv_header_libraw1394_raw1394_h" = x
""yes; then :
7022 as_fn_error
"\"missing raw1394.h\"" "$LINENO" 5
7029 if test "${ENABLE_TRIG}" == '-DENABLE_TRIG'; then
7030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gpiv_trig_openrtfs in -lgpiv" >&5
7031 $as_echo_n "checking for gpiv_trig_openrtfs in -lgpiv... " >&6; }
7032 if test "${ac_cv_lib_gpiv_gpiv_trig_openrtfs+set}" = set; then :
7033 $as_echo_n "(cached) " >&6
7035 ac_check_lib_save_LIBS
=$LIBS
7037 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7038 /* end confdefs.h. */
7040 /* Override any GCC internal prototype to avoid an error.
7041 Use char because int might match the return type of a GCC
7042 builtin and then its argument prototype would still apply. */
7046 char gpiv_trig_openrtfs ();
7050 return gpiv_trig_openrtfs ();
7055 if ac_fn_c_try_link
"$LINENO"; then :
7056 ac_cv_lib_gpiv_gpiv_trig_openrtfs
=yes
7058 ac_cv_lib_gpiv_gpiv_trig_openrtfs
=no
7060 rm -f core conftest.err conftest.
$ac_objext \
7061 conftest
$ac_exeext conftest.
$ac_ext
7062 LIBS
=$ac_check_lib_save_LIBS
7064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gpiv_gpiv_trig_openrtfs" >&5
7065 $as_echo "$ac_cv_lib_gpiv_gpiv_trig_openrtfs" >&6; }
7066 if test "x$ac_cv_lib_gpiv_gpiv_trig_openrtfs" = x
""yes; then :
7067 cat >>confdefs.h
<<_ACEOF
7068 #define HAVE_LIBGPIV 1
7074 as_fn_error
"\"(Realtime) triggering is not working in libgpiv. \
7075 Enable (realtime) triggering in libgpiv or disable it here by leaving out --enable-trig during ./configure\"" "$LINENO" 5
7081 # Extract the first word of "gpiv_control", so it can be a program name with args.
7082 set dummy gpiv_control
; ac_word
=$2
7083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7084 $as_echo_n "checking for $ac_word... " >&6; }
7085 if test "${ac_cv_prog_CONTROL+set}" = set; then :
7086 $as_echo_n "(cached) " >&6
7088 if test -n "$CONTROL"; then
7089 ac_cv_prog_CONTROL
="$CONTROL" # Let the user override the test.
7091 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7095 test -z "$as_dir" && as_dir
=.
7096 for ac_exec_ext
in '' $ac_executable_extensions; do
7097 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7098 ac_cv_prog_CONTROL
="true"
7099 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7106 test -z "$ac_cv_prog_CONTROL" && ac_cv_prog_CONTROL
="false"
7109 CONTROL
=$ac_cv_prog_CONTROL
7110 if test -n "$CONTROL"; then
7111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONTROL" >&5
7112 $as_echo "$CONTROL" >&6; }
7114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7115 $as_echo "no" >&6; }
7121 HAVE_CONTROL_FALSE
='#'
7123 HAVE_CONTROL_TRUE
='#'
7130 # Check whether --enable-rta was given.
7131 if test "${enable_rta+set}" = set; then :
7132 enableval
=$enable_rta; RTA_TOPDIR
="$enableval"
7134 RTA_TOPDIR
="/usr/lib/realtime"
7140 # Check whether --enable-k was given.
7141 if test "${enable_k+set}" = set; then :
7142 enableval
=$enable_k; K_TOPDIR
="$enableval"
7144 K_TOPDIR
="/usr/src/kernel-headers-2.4.27-adeos"
7152 HAVE_MPIPYTHON_TRUE
=
7153 HAVE_MPIPYTHON_FALSE
='#'
7155 HAVE_MPIPYTHON_TRUE
='#'
7156 HAVE_MPIPYTHON_FALSE
=
7159 if test "${ENABLE_MPI}" == '-DENABLE_MPI'; then
7169 # Check whether --enable-omp was given.
7170 if test "${enable_omp+set}" = set; then :
7171 enableval
=$enable_omp; ENABLE_OMP
="ENABLE_OMP"
7176 if test "${ENABLE_OMP}" == 'ENABLE_OMP'; then
7179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lgomp" >&5
7180 $as_echo_n "checking for main in -lgomp... " >&6; }
7181 if test "${ac_cv_lib_gomp_main+set}" = set; then :
7182 $as_echo_n "(cached) " >&6
7184 ac_check_lib_save_LIBS
=$LIBS
7186 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7187 /* end confdefs.h. */
7198 if ac_fn_c_try_link
"$LINENO"; then :
7199 ac_cv_lib_gomp_main
=yes
7201 ac_cv_lib_gomp_main
=no
7203 rm -f core conftest.err conftest.
$ac_objext \
7204 conftest
$ac_exeext conftest.
$ac_ext
7205 LIBS
=$ac_check_lib_save_LIBS
7207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gomp_main" >&5
7208 $as_echo "$ac_cv_lib_gomp_main" >&6; }
7209 if test "x$ac_cv_lib_gomp_main" = x
""yes; then :
7210 cat >>confdefs.h
<<_ACEOF
7211 #define HAVE_LIBGOMP 1
7217 as_fn_error
"\"libgomp not installed\"" "$LINENO" 5
7220 ac_fn_c_check_header_mongrel
"$LINENO" "omp.h" "ac_cv_header_omp_h" "$ac_includes_default"
7221 if test "x$ac_cv_header_omp_h" = x
""yes; then :
7224 as_fn_error
"\"missing omp.h\"" "$LINENO" 5
7232 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
7233 # for constant arguments. Useless!
7234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
7235 $as_echo_n "checking for working alloca.h... " >&6; }
7236 if test "${ac_cv_working_alloca_h+set}" = set; then :
7237 $as_echo_n "(cached) " >&6
7239 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7240 /* end confdefs.h. */
7245 char *p = (char *) alloca (2 * sizeof (int));
7251 if ac_fn_c_try_link
"$LINENO"; then :
7252 ac_cv_working_alloca_h
=yes
7254 ac_cv_working_alloca_h
=no
7256 rm -f core conftest.err conftest.
$ac_objext \
7257 conftest
$ac_exeext conftest.
$ac_ext
7259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
7260 $as_echo "$ac_cv_working_alloca_h" >&6; }
7261 if test $ac_cv_working_alloca_h = yes; then
7263 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
7267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
7268 $as_echo_n "checking for alloca... " >&6; }
7269 if test "${ac_cv_func_alloca_works+set}" = set; then :
7270 $as_echo_n "(cached) " >&6
7272 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7273 /* end confdefs.h. */
7275 # define alloca __builtin_alloca
7278 # include <malloc.h>
7279 # define alloca _alloca
7281 # ifdef HAVE_ALLOCA_H
7282 # include <alloca.h>
7287 # ifndef alloca /* predefined by HP cc +Olibcalls */
7298 char *p = (char *) alloca (1);
7304 if ac_fn_c_try_link
"$LINENO"; then :
7305 ac_cv_func_alloca_works
=yes
7307 ac_cv_func_alloca_works
=no
7309 rm -f core conftest.err conftest.
$ac_objext \
7310 conftest
$ac_exeext conftest.
$ac_ext
7312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
7313 $as_echo "$ac_cv_func_alloca_works" >&6; }
7315 if test $ac_cv_func_alloca_works = yes; then
7317 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
7320 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
7321 # that cause trouble. Some versions do not even contain alloca or
7322 # contain a buggy version. If you still want to use their alloca,
7323 # use ar to extract alloca.o from them instead of compiling alloca.c.
7325 ALLOCA
=\
${LIBOBJDIR}alloca.
$ac_objext
7327 $as_echo "#define C_ALLOCA 1" >>confdefs.h
7330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
7331 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
7332 if test "${ac_cv_os_cray+set}" = set; then :
7333 $as_echo_n "(cached) " >&6
7335 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7336 /* end confdefs.h. */
7337 #if defined CRAY && ! defined CRAY2
7344 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7345 $EGREP "webecray" >/dev
/null
2>&1; then :
7353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
7354 $as_echo "$ac_cv_os_cray" >&6; }
7355 if test $ac_cv_os_cray = yes; then
7356 for ac_func
in _getb67 GETB67 getb67
; do
7357 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
7358 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
7359 eval as_val
=\$
$as_ac_var
7360 if test "x$as_val" = x
""yes; then :
7362 cat >>confdefs.h
<<_ACEOF
7363 #define CRAY_STACKSEG_END $ac_func
7372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
7373 $as_echo_n "checking stack direction for C alloca... " >&6; }
7374 if test "${ac_cv_c_stack_direction+set}" = set; then :
7375 $as_echo_n "(cached) " >&6
7377 if test "$cross_compiling" = yes; then :
7378 ac_cv_c_stack_direction
=0
7380 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7381 /* end confdefs.h. */
7382 $ac_includes_default
7384 find_stack_direction ()
7386 static char *addr = 0;
7391 return find_stack_direction ();
7394 return (&dummy > addr) ? 1 : -1;
7400 return find_stack_direction () < 0;
7403 if ac_fn_c_try_run
"$LINENO"; then :
7404 ac_cv_c_stack_direction
=1
7406 ac_cv_c_stack_direction
=-1
7408 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7409 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
7414 $as_echo "$ac_cv_c_stack_direction" >&6; }
7415 cat >>confdefs.h
<<_ACEOF
7416 #define STACK_DIRECTION $ac_cv_c_stack_direction
7422 ac_config_files
="$ac_config_files Makefile src/Makefile src/dac/Makefile src/image/Makefile src/evaluate/Makefile src/validate/Makefile src/post/Makefile src/misc/Makefile man/Makefile"
7424 cat >confcache
<<\_ACEOF
7425 # This file is a shell script that caches the results of configure
7426 # tests run on this system so they can be shared between configure
7427 # scripts and configure runs, see configure's option --config-cache.
7428 # It is not useful on other systems. If it contains results you don't
7429 # want to keep, you may remove or edit it.
7431 # config.status only pays attention to the cache file if you give it
7432 # the --recheck option to rerun configure.
7434 # `ac_cv_env_foo' variables (set or unset) will be overridden when
7435 # loading this file, other *unset* `ac_cv_foo' will be assigned the
7440 # The following way of writing the cache mishandles newlines in values,
7441 # but we know of no workaround that is simple, portable, and efficient.
7442 # So, we kill variables containing newlines.
7443 # Ultrix sh set writes to stderr and can't be redirected directly,
7444 # and sets the high bit in the cache file unless we assign to the vars.
7446 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
7447 eval ac_val
=\$
$ac_var
7451 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
7452 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
7455 _ | IFS | as_nl
) ;; #(
7456 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
7457 *) { eval $ac_var=; unset $ac_var;} ;;
7463 case $as_nl`(ac_space=' '; set) 2>&1` in #(
7464 *${as_nl}ac_space
=\
*)
7465 # `set' does not quote correctly, so add quotes: double-quote
7466 # substitution turns \\\\ into \\, and sed turns \\ into \.
7469 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7472 # `set' quotes correctly as required by POSIX, so do not add quotes.
7473 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
7482 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7484 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7486 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
7487 if test -w "$cache_file"; then
7488 test "x$cache_file" != "x/dev/null" &&
7489 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
7490 $as_echo "$as_me: updating cache $cache_file" >&6;}
7491 cat confcache
>$cache_file
7493 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
7494 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
7499 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
7500 # Let make expand exec_prefix.
7501 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
7503 DEFS
=-DHAVE_CONFIG_H
7507 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
7508 # 1. Remove the extension, and $U if already installed.
7509 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
7510 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
7511 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
7512 # will be set to the directory where LIBOBJS objects are built.
7513 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
7514 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
7518 LTLIBOBJS
=$ac_ltlibobjs
7521 if test -n "$EXEEXT"; then
7523 am__EXEEXT_FALSE
='#'
7529 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
7530 as_fn_error
"conditional \"AMDEP\" was never defined.
7531 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7533 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
7534 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
7535 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7537 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
7538 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
7539 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7541 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
7542 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
7543 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7545 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
7546 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
7547 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7549 if test -z "${HAVE_GNUPLOT_TRUE}" && test -z "${HAVE_GNUPLOT_FALSE}"; then
7550 as_fn_error
"conditional \"HAVE_GNUPLOT\" was never defined.
7551 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7553 if test -z "${HAVE_PERL_TRUE}" && test -z "${HAVE_PERL_FALSE}"; then
7554 as_fn_error
"conditional \"HAVE_PERL\" was never defined.
7555 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7557 if test -z "${HAVE_PYTHON_TRUE}" && test -z "${HAVE_PYTHON_FALSE}"; then
7558 as_fn_error
"conditional \"HAVE_PYTHON\" was never defined.
7559 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7561 if test -z "${HAVE_CONVERT_TRUE}" && test -z "${HAVE_CONVERT_FALSE}"; then
7562 as_fn_error
"conditional \"HAVE_CONVERT\" was never defined.
7563 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7565 if test -z "${HAVE_PLOTMTV_TRUE}" && test -z "${HAVE_PLOTMTV_FALSE}"; then
7566 as_fn_error
"conditional \"HAVE_PLOTMTV\" was never defined.
7567 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7569 if test -z "${HAVE_CONTROL_TRUE}" && test -z "${HAVE_CONTROL_FALSE}"; then
7570 as_fn_error
"conditional \"HAVE_CONTROL\" was never defined.
7571 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7573 if test -z "${HAVE_MPIPYTHON_TRUE}" && test -z "${HAVE_MPIPYTHON_FALSE}"; then
7574 as_fn_error
"conditional \"HAVE_MPIPYTHON\" was never defined.
7575 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7577 if test -z "${BUILD_MPI_TRUE}" && test -z "${BUILD_MPI_FALSE}"; then
7578 as_fn_error
"conditional \"BUILD_MPI\" was never defined.
7579 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7582 : ${CONFIG_STATUS=./config.status}
7584 ac_clean_files_save
=$ac_clean_files
7585 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
7586 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
7587 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
7589 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
7591 # Generated by $as_me.
7592 # Run this file to recreate the current configuration.
7593 # Compiler output produced by configure, useful for debugging
7594 # configure, is in config.log if it exists.
7600 SHELL=\${CONFIG_SHELL-$SHELL}
7603 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
7604 ## -------------------- ##
7605 ## M4sh Initialization. ##
7606 ## -------------------- ##
7608 # Be more Bourne compatible
7609 DUALCASE
=1; export DUALCASE
# for MKS sh
7610 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
7613 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
7614 # is contrary to our usage. Disable this feature.
7615 alias -g '${1+"$@"}'='"$@"'
7616 setopt NO_GLOB_SUBST
7618 case `(set -o) 2>/dev/null` in #(
7630 # Printing a long string crashes Solaris 7 /usr/bin/printf.
7631 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
7632 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
7633 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
7634 # Prefer a ksh shell builtin over an external printf program on Solaris,
7635 # but without wasting forks for bash or zsh.
7636 if test -z "$BASH_VERSION$ZSH_VERSION" \
7637 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
7638 as_echo='print
-r --'
7639 as_echo_n='print
-rn --'
7640 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
7641 as_echo='printf %s
\n'
7642 as_echo_n='printf %s
'
7644 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
7645 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
7646 as_echo_n='/usr
/ucb
/echo -n'
7648 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
7649 as_echo_n_body='eval
7653 expr "X$arg" : "X\\(.*\\)$as_nl";
7654 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
7656 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
7658 export as_echo_n_body
7659 as_echo_n='sh
-c $as_echo_n_body as_echo
'
7662 as_echo='sh
-c $as_echo_body as_echo
'
7665 # The user is always right.
7666 if test "${PATH_SEPARATOR+set}" != set; then
7668 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
7669 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
7676 # We need space, tab and new line, in precisely that order. Quoting is
7677 # there to prevent editors from complaining about space-tab.
7678 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
7679 # splitting by setting IFS to empty value.)
7682 # Find who we are. Look in the path if we contain no directory separator.
7684 *[\\/]* ) as_myself=$0 ;;
7685 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7689 test -z "$as_dir" && as_dir=.
7690 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7696 # We did not find ourselves, most probably we were run as `sh COMMAND'
7697 # in which case we are not to be found in the path.
7698 if test "x$as_myself" = x
; then
7701 if test ! -f "$as_myself"; then
7702 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
7706 # Unset variables that we do not need and which cause bugs (e.g. in
7707 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
7708 # suppresses any "Segmentation fault" message there. '((' could
7709 # trigger a bug in pdksh 5.2.14.
7710 for as_var
in BASH_ENV ENV MAIL MAILPATH
7711 do eval test x\
${$as_var+set} = xset \
7712 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
7725 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
7728 # as_fn_error ERROR [LINENO LOG_FD]
7729 # ---------------------------------
7730 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
7731 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
7732 # script with status $?, using 1 if that was 0.
7735 as_status
=$?
; test $as_status -eq 0 && as_status
=1
7737 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
7738 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
7740 $as_echo "$as_me: error: $1" >&2
7741 as_fn_exit
$as_status
7745 # as_fn_set_status STATUS
7746 # -----------------------
7747 # Set $? to STATUS, without forking.
7751 } # as_fn_set_status
7755 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
7765 # Portably unset VAR.
7768 { eval $1=; unset $1;}
7770 as_unset
=as_fn_unset
7771 # as_fn_append VAR VALUE
7772 # ----------------------
7773 # Append the text in VALUE to the end of the definition contained in VAR. Take
7774 # advantage of any shell optimizations that allow amortized linear growth over
7775 # repeated appends, instead of the typical quadratic growth present in naive
7777 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
7778 eval 'as_fn_append ()
7789 # as_fn_arith ARG...
7790 # ------------------
7791 # Perform arithmetic evaluation on the ARGs, and store the result in the
7792 # global $as_val. Take advantage of shells that can avoid forks. The arguments
7793 # must be portable across $(()) and expr.
7794 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
7795 eval 'as_fn_arith ()
7802 as_val
=`expr "$@" || test $? -eq 1`
7807 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
7808 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
7814 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7815 as_basename
=basename
7820 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
7826 as_me
=`$as_basename -- "$0" ||
7827 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7828 X"$0" : 'X\(//\)$' \| \
7829 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7831 sed '/^.*\/\([^/][^/]*\)\/*$/{
7845 # Avoid depending upon Character Ranges.
7846 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
7847 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7848 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
7849 as_cr_digits
='0123456789'
7850 as_cr_alnum
=$as_cr_Letters$as_cr_digits
7852 ECHO_C
= ECHO_N
= ECHO_T
=
7853 case `echo -n x` in #(((((
7855 case `echo 'xy\c'` in
7856 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
7858 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
7865 rm -f conf$$ conf$$.exe conf$$.
file
7866 if test -d conf$$.dir
; then
7867 rm -f conf$$.dir
/conf$$.
file
7870 mkdir conf$$.dir
2>/dev
/null
7872 if (echo >conf$$.
file) 2>/dev
/null
; then
7873 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
7875 # ... but there are two gotchas:
7876 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7877 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7878 # In both cases, we have to default to `cp -p'.
7879 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
7881 elif ln conf$$.
file conf$$
2>/dev
/null
; then
7889 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
7890 rmdir conf$$.dir
2>/dev
/null
7895 # Create "$as_dir" as a directory, including parents if necessary.
7900 -*) as_dir
=.
/$as_dir;;
7902 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
7906 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7907 *) as_qdir
=$as_dir;;
7909 as_dirs
="'$as_qdir' $as_dirs"
7910 as_dir
=`$as_dirname -- "$as_dir" ||
7911 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7912 X"$as_dir" : 'X\(//\)[^/]' \| \
7913 X"$as_dir" : 'X\(//\)$' \| \
7914 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7915 $as_echo X"$as_dir" |
7916 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7933 test -d "$as_dir" && break
7935 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
7936 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
7940 if mkdir
-p .
2>/dev
/null
; then
7941 as_mkdir_p
='mkdir -p "$as_dir"'
7943 test -d .
/-p && rmdir .
/-p
7947 if test -x / >/dev
/null
2>&1; then
7950 if ls -dL / >/dev
/null
2>&1; then
7957 if test -d "$1"; then
7963 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
7964 ???[sx]*):;;*)false;;esac;fi
7968 as_executable_p
=$as_test_x
7970 # Sed expression to map a string onto a valid CPP name.
7971 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7973 # Sed expression to map a string onto a valid variable name.
7974 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7978 ## ----------------------------------- ##
7979 ## Main body of $CONFIG_STATUS script. ##
7980 ## ----------------------------------- ##
7982 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
7984 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7985 # Save the log message, to keep $0 and so on meaningful, and to
7986 # report actual input values of CONFIG_FILES etc. instead of their
7987 # values after options handling.
7989 This file was extended by $as_me, which was
7990 generated by GNU Autoconf 2.65. Invocation command line was
7992 CONFIG_FILES = $CONFIG_FILES
7993 CONFIG_HEADERS = $CONFIG_HEADERS
7994 CONFIG_LINKS = $CONFIG_LINKS
7995 CONFIG_COMMANDS = $CONFIG_COMMANDS
7998 on `(hostname || uname -n) 2>/dev/null | sed 1q`
8003 case $ac_config_files in *"
8004 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
8007 case $ac_config_headers in *"
8008 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
8012 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8013 # Files that config.status was made for.
8014 config_files="$ac_config_files"
8015 config_headers="$ac_config_headers"
8016 config_commands="$ac_config_commands"
8020 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8022 \`$as_me' instantiates files and other configuration actions
8023 from templates according to the current configuration. Unless the files
8024 and actions are specified as TAGs, all are instantiated by default.
8026 Usage: $0 [OPTION]... [TAG]...
8028 -h, --help print this help, then exit
8029 -V, --version print version number and configuration settings, then exit
8030 --config print configuration, then exit
8031 -q, --quiet, --silent
8032 do not print progress messages
8033 -d, --debug don't remove temporary files
8034 --recheck update $as_me by reconfiguring in the same conditions
8035 --file=FILE[:TEMPLATE]
8036 instantiate the configuration file FILE
8037 --header=FILE[:TEMPLATE]
8038 instantiate the configuration header FILE
8040 Configuration files:
8043 Configuration headers:
8046 Configuration commands:
8049 Report bugs to the package provider."
8052 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8053 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
8056 configured by $0, generated by GNU Autoconf 2.65,
8057 with options \\"\$ac_cs_config\\"
8059 Copyright (C) 2009 Free Software Foundation, Inc.
8060 This config.status script is free software; the Free Software Foundation
8061 gives unlimited permission to copy, distribute and modify it."
8068 test -n "\$AWK" || AWK=awk
8071 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8072 # The default lists apply if the user does not specify any file.
8078 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
8079 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
8090 # Handling of the options.
8091 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
8093 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
8094 $as_echo "$ac_cs_version"; exit ;;
8095 --config |
--confi |
--conf |
--con |
--co |
--c )
8096 $as_echo "$ac_cs_config"; exit ;;
8097 --debug |
--debu |
--deb |
--de |
--d |
-d )
8099 --file |
--fil |
--fi |
--f )
8102 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8104 as_fn_append CONFIG_FILES
" '$ac_optarg'"
8105 ac_need_defaults
=false
;;
8106 --header |
--heade |
--head |
--hea )
8109 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8111 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
8112 ac_need_defaults
=false
;;
8114 # Conflict between --help and --header
8115 as_fn_error
"ambiguous option: \`$1'
8116 Try \`$0 --help' for more information.";;
8117 --help |
--hel |
-h )
8118 $as_echo "$ac_cs_usage"; exit ;;
8119 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
8120 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
8124 -*) as_fn_error
"unrecognized option: \`$1'
8125 Try \`$0 --help' for more information." ;;
8127 *) as_fn_append ac_config_targets
" $1"
8128 ac_need_defaults
=false
;;
8134 ac_configure_extra_args
=
8136 if $ac_cs_silent; then
8138 ac_configure_extra_args
="$ac_configure_extra_args --silent"
8142 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8143 if \$ac_cs_recheck; then
8144 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8146 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
8147 CONFIG_SHELL='$SHELL'
8153 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8157 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8158 ## Running $as_me. ##
8164 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8168 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
8172 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8174 # Handling of arguments.
8175 for ac_config_target
in $ac_config_targets
8177 case $ac_config_target in
8178 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
8179 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
8180 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
8181 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
8182 "src/dac/Makefile") CONFIG_FILES
="$CONFIG_FILES src/dac/Makefile" ;;
8183 "src/image/Makefile") CONFIG_FILES
="$CONFIG_FILES src/image/Makefile" ;;
8184 "src/evaluate/Makefile") CONFIG_FILES
="$CONFIG_FILES src/evaluate/Makefile" ;;
8185 "src/validate/Makefile") CONFIG_FILES
="$CONFIG_FILES src/validate/Makefile" ;;
8186 "src/post/Makefile") CONFIG_FILES
="$CONFIG_FILES src/post/Makefile" ;;
8187 "src/misc/Makefile") CONFIG_FILES
="$CONFIG_FILES src/misc/Makefile" ;;
8188 "man/Makefile") CONFIG_FILES
="$CONFIG_FILES man/Makefile" ;;
8190 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
8195 # If the user did not use the arguments to specify the items to instantiate,
8196 # then the envvar interface is used. Set only those that are not.
8197 # We use the long form for the default assignment because of an extremely
8198 # bizarre bug on SunOS 4.1.3.
8199 if $ac_need_defaults; then
8200 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
8201 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
8202 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
8205 # Have a temporary directory for convenience. Make it in the build tree
8206 # simply because there is no reason against having it here, and in addition,
8207 # creating and moving files from /tmp can sometimes cause problems.
8208 # Hook for its removal unless debugging.
8209 # Note that there is a small window in which the directory will not be cleaned:
8210 # after its creation but before its name has been assigned to `$tmp'.
8214 trap 'exit_status=$?
8215 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
8217 trap 'as_fn_exit 1' 1 2 13 15
8219 # Create a (secure) tmp directory for tmp files.
8222 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
8223 test -n "$tmp" && test -d "$tmp"
8226 tmp
=.
/conf$$
-$RANDOM
8227 (umask 077 && mkdir
"$tmp")
8228 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
8230 # Set up the scripts for CONFIG_FILES section.
8231 # No need to generate them if there are no CONFIG_FILES.
8232 # This happens for instance with `./config.status config.h'.
8233 if test -n "$CONFIG_FILES"; then
8236 ac_cr
=`echo X | tr X '\015'`
8237 # On cygwin, bash can eat \r inside `` if the user requested igncr.
8238 # But we know of no other shell where ac_cr would be empty at this
8239 # point, so we can use a bashism as a fallback.
8240 if test "x$ac_cr" = x
; then
8241 eval ac_cr
=\$
\'\\r
\'
8243 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
8244 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
8250 echo 'BEGIN {' >"$tmp/subs1.awk" &&
8255 echo "cat >conf$$subs.awk <<_ACEOF" &&
8256 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
8259 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
8260 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
8262 for ac_last_try in false false false false false :; do
8263 . ./conf$$subs.sh ||
8264 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
8266 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
8267 if test $ac_delim_n = $ac_delim_num; then
8269 elif $ac_last_try; then
8270 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
8272 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
8277 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8278 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
8282 s/^/S["/; s
/!.
*/"]=/
8292 s/\(.\{148\}\)..*/\1/
8294 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
8299 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
8306 s/\(.\{148\}\)..*/\1/
8308 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
8312 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
8317 ' <conf$$subs.awk | sed '
8322 ' >>$CONFIG_STATUS || ac_write_fail=1
8323 rm -f conf$$subs.awk
8324 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8326 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
8327 for (key in S) S_is_set[key] = 1
8333 nfields = split(line, field, "@
")
8335 len = length(field[1])
8336 for (i = 2; i < nfields; i++) {
8338 keylen = length(key)
8339 if (S_is_set[key]) {
8341 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
8342 len += length(value) + length(field[++i])
8353 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8354 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
8355 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
8358 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
8359 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
8362 # VPATH may cause trouble with some makes, so we remove $(srcdir),
8363 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
8364 # trailing colons and then remove the whole line if VPATH becomes empty
8365 # (actually we leave an empty line to preserve line numbers).
8366 if test "x
$srcdir" = x.; then
8367 ac_vpsub='/^[ ]*VPATH[ ]*=/{
8371 s/^\([^=]*=[ ]*\):*/\1/
8377 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8378 fi # test -n "$CONFIG_FILES"
8380 # Set up the scripts for CONFIG_HEADERS section.
8381 # No need to generate them if there are no CONFIG_HEADERS.
8382 # This happens for instance with `./config.status Makefile'.
8383 if test -n "$CONFIG_HEADERS"; then
8384 cat >"$tmp/defines.
awk" <<\_ACAWK ||
8388 # Transform confdefs.h into an awk script `defines.awk', embedded as
8389 # here-document in config.status, that substitutes the proper values into
8390 # config.h.in to produce config.h.
8392 # Create a delimiter string that does not exist in confdefs.h, to ease
8393 # handling of long lines.
8395 for ac_last_try in false false :; do
8396 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
8397 if test -z "$ac_t"; then
8399 elif $ac_last_try; then
8400 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
8402 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
8406 # For the awk script, D is an array of macro values keyed by name,
8407 # likewise P contains macro parameters if any. Preserve backslash
8408 # newline sequences.
8410 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
8412 s/.\{148\}/&'"$ac_delim"'/g
8415 s/^[ ]*#[ ]*define[ ][ ]*/ /
8422 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
8424 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
8428 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
8429 D["\
1"]=" \
3\\\\\\n
"\\/p
8431 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
8436 s/.\{148\}/&'"$ac_delim"'/g
8441 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
8444 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
8446 ' <confdefs.h | sed '
8447 s/'"$ac_delim"'/"\\\
8448 "/g' >>$CONFIG_STATUS || ac_write_fail=1
8450 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8451 for (key in D) D_is_set[key] = 1
8454 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
8456 split(line, arg, " ")
8457 if (arg[1] == "#") {
8461 defundef
= substr
(arg
[1], 2)
8464 split(mac1
, mac2
, "(") #)
8466 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
8467 if (D_is_set
[macro
]) {
8468 # Preserve the white space surrounding the "#".
8469 print prefix
"define", macro P
[macro
] D
[macro
]
8472 # Replace #undef with comments. This is necessary, for example,
8473 # in the case of _POSIX_SOURCE, which is predefined and required
8474 # on some systems where configure will not decide to define it.
8475 if (defundef
== "undef") {
8476 print
"/*", prefix defundef
, macro
, "*/"
8484 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8485 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
8486 fi # test -n "$CONFIG_HEADERS"
8489 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
8494 :[FHLC
]) ac_mode
=$ac_tag; continue;;
8496 case $ac_mode$ac_tag in
8498 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
8499 :[FH
]-) ac_tag
=-:-;;
8500 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
8517 -) ac_f
="$tmp/stdin";;
8518 *) # Look for the file first in the build tree, then in the source tree
8519 # (if the path is not absolute). The absolute path cannot be DOS-style,
8520 # because $ac_f cannot contain `:'.
8524 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
8526 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
8528 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
8529 as_fn_append ac_file_inputs
" '$ac_f'"
8532 # Let's still pretend it is `configure' which instantiates (i.e., don't
8533 # use $as_me), people would be surprised to read:
8534 # /* config.h. Generated by config.status. */
8535 configure_input
='Generated from '`
8536 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
8538 if test x
"$ac_file" != x-
; then
8539 configure_input
="$ac_file. $configure_input"
8540 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
8541 $as_echo "$as_me: creating $ac_file" >&6;}
8543 # Neutralize special characters interpreted by sed in replacement strings.
8544 case $configure_input in #(
8545 *\
&* |
*\|
* |
*\\* )
8546 ac_sed_conf_input
=`$as_echo "$configure_input" |
8547 sed 's/[\\\\&|]/\\\\&/g'`;; #(
8548 *) ac_sed_conf_input
=$configure_input;;
8552 *:-:* |
*:-) cat >"$tmp/stdin" \
8553 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
8558 ac_dir
=`$as_dirname -- "$ac_file" ||
8559 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8560 X"$ac_file" : 'X\(//\)[^/]' \| \
8561 X"$ac_file" : 'X\(//\)$' \| \
8562 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
8563 $as_echo X"$ac_file" |
8564 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8581 as_dir
="$ac_dir"; as_fn_mkdir_p
8585 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
8587 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
8588 # A ".." for each directory in $ac_dir_suffix.
8589 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
8590 case $ac_top_builddir_sub in
8591 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
8592 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
8595 ac_abs_top_builddir
=$ac_pwd
8596 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
8597 # for backward compatibility:
8598 ac_top_builddir
=$ac_top_build_prefix
8601 .
) # We are building in place.
8603 ac_top_srcdir
=$ac_top_builddir_sub
8604 ac_abs_top_srcdir
=$ac_pwd ;;
8605 [\\/]* | ?
:[\\/]* ) # Absolute name.
8606 ac_srcdir
=$srcdir$ac_dir_suffix;
8607 ac_top_srcdir
=$srcdir
8608 ac_abs_top_srcdir
=$srcdir ;;
8610 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
8611 ac_top_srcdir
=$ac_top_build_prefix$srcdir
8612 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
8614 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
8624 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
8625 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
8629 [\\/$
]* | ?
:[\\/]* ) ;;
8630 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
8634 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8635 # If the template does not know about datarootdir, expand it.
8636 # FIXME: This hack should be removed a few years after 2.60.
8637 ac_datarootdir_hack
=; ac_datarootdir_seen
=
8648 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
8649 *datarootdir
*) ac_datarootdir_seen
=yes;;
8650 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
8651 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
8652 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
8654 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8655 ac_datarootdir_hack='
8656 s&@datadir@&$datadir&g
8657 s&@docdir@&$docdir&g
8658 s&@infodir@&$infodir&g
8659 s&@localedir@&$localedir&g
8660 s&@mandir@&$mandir&g
8661 s&\\\${datarootdir}&$datarootdir&g' ;;
8665 # Neutralize VPATH when `$srcdir' = `.'.
8666 # Shell code in configure.ac might set extrasub.
8667 # FIXME: do we really want to maintain this feature?
8668 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8669 ac_sed_extra="$ac_vpsub
8672 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8674 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
8675 s|@configure_input@|
$ac_sed_conf_input|
;t t
8676 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
8677 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
8678 s
&@srcdir@
&$ac_srcdir&;t t
8679 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
8680 s
&@top_srcdir@
&$ac_top_srcdir&;t t
8681 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
8682 s
&@builddir@
&$ac_builddir&;t t
8683 s
&@abs_builddir@
&$ac_abs_builddir&;t t
8684 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
8685 s
&@INSTALL@
&$ac_INSTALL&;t t
8686 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
8687 $ac_datarootdir_hack
8689 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
8690 || as_fn_error "could not create
$ac_file" "$LINENO" 5
8692 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
8693 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
8694 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
8695 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
8696 which seems to be undefined. Please make sure it is defined." >&5
8697 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
8698 which seems to be undefined. Please make sure it is defined." >&2;}
8702 -) cat "$tmp/out" && rm -f "$tmp/out";;
8703 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
8705 || as_fn_error "could not create $ac_file" "$LINENO" 5
8711 if test x"$ac_file" != x-; then
8713 $as_echo "/* $configure_input */" \
8714 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
8715 } >"$tmp/config.h" \
8716 || as_fn_error "could not create $ac_file" "$LINENO" 5
8717 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
8718 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
8719 $as_echo "$as_me: $ac_file is unchanged" >&6;}
8722 mv "$tmp/config.h" "$ac_file" \
8723 || as_fn_error "could not create $ac_file" "$LINENO" 5
8726 $as_echo "/* $configure_input */" \
8727 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
8728 || as_fn_error "could not create -" "$LINENO" 5
8730 # Compute "$ac_file"'s index
in $config_headers.
8733 for _am_header
in $config_headers :; do
8735 $_am_arg |
$_am_arg:* )
8738 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
8741 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
8742 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8743 X"$_am_arg" : 'X\(//\)[^/]' \| \
8744 X"$_am_arg" : 'X\(//\)$' \| \
8745 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
8746 $as_echo X"$_am_arg" |
8747 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8763 s/.*/./; q'`/stamp-h
$_am_stamp_count
8766 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
8767 $as_echo "$as_me: executing $ac_file commands" >&6;}
8772 case $ac_file$ac_mode in
8773 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
8774 # Autoconf 2.62 quotes --file arguments for eval, but not when files
8775 # are listed without --file. Let's play safe and only enable the eval
8776 # if we detect the quoting.
8777 case $CONFIG_FILES in
8778 *\'*) eval set x
"$CONFIG_FILES" ;;
8779 *) set x
$CONFIG_FILES ;;
8784 # Strip MF so we end up with the name of the file.
8785 mf
=`echo "$mf" | sed -e 's/:.*$//'`
8786 # Check whether this is an Automake generated Makefile or not.
8787 # We used to match only the files named `Makefile.in', but
8788 # some people rename them; so instead we look at the file content.
8789 # Grep'ing the first line is not enough: some people post-process
8790 # each Makefile.in and add a new line on top of each file to say so.
8791 # Grep'ing the whole file is not good either: AIX grep has a line
8792 # limit of 2048, but all sed's we know have understand at least 4000.
8793 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
8794 dirpart
=`$as_dirname -- "$mf" ||
8795 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8796 X"$mf" : 'X\(//\)[^/]' \| \
8797 X"$mf" : 'X\(//\)$' \| \
8798 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
8800 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8820 # Extract the definition of DEPDIR, am__include, and am__quote
8821 # from the Makefile without running `make'.
8822 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
8823 test -z "$DEPDIR" && continue
8824 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
8825 test -z "am__include" && continue
8826 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
8827 # When using ansi2knr, U may be empty or an underscore; expand it
8828 U
=`sed -n 's/^U = //p' < "$mf"`
8829 # Find all dependency output files, they are included files with
8830 # $(DEPDIR) in their names. We invoke sed twice because it is the
8831 # simplest approach to changing $(DEPDIR) to its actual value in the
8833 for file in `sed -n "
8834 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
8835 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
8836 # Make sure the directory exists.
8837 test -f "$dirpart/$file" && continue
8838 fdir
=`$as_dirname -- "$file" ||
8839 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8840 X"$file" : 'X\(//\)[^/]' \| \
8841 X"$file" : 'X\(//\)$' \| \
8842 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
8844 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8861 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
8862 # echo "creating $dirpart/$file"
8863 echo '# dummy' > "$dirpart/$file"
8875 ac_clean_files
=$ac_clean_files_save
8877 test $ac_write_fail = 0 ||
8878 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
8881 # configure is writing to config.log, and then calls config.status.
8882 # config.status does its own redirection, appending to config.log.
8883 # Unfortunately, on DOS this fails, as config.log is still kept open
8884 # by configure, so config.status won't be able to write to it; its
8885 # output is simply discarded. So we exec the FD to /dev/null,
8886 # effectively closing config.log, so it can be properly (re)opened and
8887 # appended to by config.status. When coming back to configure, we
8888 # need to make the FD available again.
8889 if test "$no_create" != yes; then
8891 ac_config_status_args
=
8892 test "$silent" = yes &&
8893 ac_config_status_args
="$ac_config_status_args --quiet"
8895 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
8897 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8898 # would make configure fail if this is the last instruction.
8899 $ac_cs_success || as_fn_exit $?
8901 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
8902 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
8903 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
8907 echo "===================================================================="
8908 if test x
$PERL = xfalse
; then
8909 echo "Perl has not been found on this system."
8910 echo "Though, this is not provided for the building process"
8911 echo "Only some independant scripts will not work"
8915 if test x
$CONVERT = xfalse
; then
8916 echo "Convert has not been found on this system."
8917 echo "Though, this is not provided for the building process"
8918 echo "Only some independant scripts will not work"
8922 if test x
$PLOTMTV = xfalse
; then
8923 echo "Plotmtv has not been found on this system."
8924 echo "Though, this is not provided for the building process"
8925 echo "Only some independant scripts will not work"
8930 echo "Configuration succesfully finished"
8931 if test $ENABLE_CAM; then
8932 echo "with (IEEE-1394) camera enabled"
8935 if test $ENABLE_TRIG; then
8936 echo "with (realtime) triggering enabled."
8937 if test x
$CONTROL = xfalse
; then
8938 echo "Gpiv_control has not been found on this system, and probably gpivtrig-rtl isn't"
8939 echo "resident as well. This script eases to install and uninstall the gpivtrig-rtl"
8940 echo "and RTAI kernel modules that are needed for the triggering of camera and lasers."
8945 if test $ENABLE_MPI; then
8946 echo "Using Message Passing Interface (MPI)"
8947 echo "for processing on distributed memory systems"
8950 if test $ENABLE_OMP; then
8951 echo "Using Open Multi-Processing (OMP)"
8952 echo "for processing on shared memory systems"
8955 echo "Type 'make' and 'make install' to build and install the gpiv-tools."
8956 echo "===================================================================="