2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be more Bourne compatible
14 DUALCASE
=1; export DUALCASE
# for MKS sh
15 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
23 case `(set -o) 2>/dev/null` in
24 *posix
*) set -o posix
;;
33 # Avoid depending upon Character Ranges.
34 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
35 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
37 as_cr_digits
='0123456789'
38 as_cr_alnum
=$as_cr_Letters$as_cr_digits
40 # The user is always right.
41 if test "${PATH_SEPARATOR+set}" != set; then
42 echo "#! /bin/sh" >conf$$.sh
43 echo "exit 0" >>conf$$.sh
45 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
53 # Support unset when possible.
54 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
62 # We need space, tab and new line, in precisely that order. Quoting is
63 # there to prevent editors from complaining about space-tab.
64 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
65 # splitting by setting IFS to empty value.)
70 # Find who we are. Look in the path if we contain no directory separator.
72 *[\\/]* ) as_myself
=$0 ;;
73 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
77 test -z "$as_dir" && as_dir
=.
78 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
84 # We did not find ourselves, most probably we were run as `sh COMMAND'
85 # in which case we are not to be found in the path.
86 if test "x$as_myself" = x
; then
89 if test ! -f "$as_myself"; then
90 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
94 # Work around bugs in pre-3.0 UWIN ksh.
95 for as_var
in ENV MAIL MAILPATH
96 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
104 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
105 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109 eval $as_var=C
; export $as_var
111 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
115 # Required to use basename.
116 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
117 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
123 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
130 # Name of the executable.
131 as_me
=`$as_basename -- "$0" ||
132 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133 X"$0" : 'X\(//\)$' \| \
134 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
136 sed '/^.*\/\([^/][^/]*\)\/*$/{
154 if test "x$CONFIG_SHELL" = x
; then
155 if (eval ":") 2>/dev
/null
; then
161 if test $as_have_required = yes && (eval ":
171 as_func_ret_success () {
174 as_func_ret_failure () {
179 if as_func_success; then
183 echo as_func_success failed.
186 if as_func_failure; then
188 echo as_func_failure succeeded.
191 if as_func_ret_success; then
195 echo as_func_ret_success failed.
198 if as_func_ret_failure; then
200 echo as_func_ret_failure succeeded.
203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 echo positional parameters were not saved.
210 test \$exitcode = 0) || { (exit 1); exit 1; }
215 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
216 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
217 ") 2> /dev
/null
; then
221 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
222 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
225 test -z "$as_dir" && as_dir
=.
228 for as_base
in sh bash ksh sh5
; do
229 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
236 for as_shell
in $as_candidate_shells $SHELL; do
237 # Try only shells that exist, to save several forks.
238 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
239 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
240 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
243 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244 # is contrary to our usage. Disable this feature.
245 alias -g '${1+"$@"}'='"$@"'
248 case `(set -o) 2>/dev/null` in
249 *posix
*) set -o posix
;;
258 CONFIG_SHELL
=$as_shell
260 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
261 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
264 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
265 # is contrary to our usage. Disable this feature.
266 alias -g '${1+"$@"}'='"$@"'
269 case `(set -o) 2>/dev/null` in
270 *posix
*) set -o posix
;;
286 as_func_ret_success
() {
289 as_func_ret_failure
() {
294 if as_func_success
; then
298 echo as_func_success failed.
301 if as_func_failure
; then
303 echo as_func_failure succeeded.
306 if as_func_ret_success
; then
310 echo as_func_ret_success failed.
313 if as_func_ret_failure
; then
315 echo as_func_ret_failure succeeded.
318 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
322 echo positional parameters were not saved.
325 test $exitcode = 0) ||
{ (exit 1); exit 1; }
330 test "x$as_lineno_1" != "x$as_lineno_2" &&
331 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
342 if test "x$CONFIG_SHELL" != x
; then
343 for as_var
in BASH_ENV ENV
344 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
347 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351 if test $as_have_required = no
; then
352 echo This
script requires a shell
more modern than all the
353 echo shells that I found on your system. Please
install a
354 echo modern shell
, or manually run the
script under such a
355 echo shell
if you
do have one.
356 { (exit 1); exit 1; }
366 (eval "as_func_return () {
375 as_func_ret_success () {
378 as_func_ret_failure () {
383 if as_func_success; then
387 echo as_func_success failed.
390 if as_func_failure; then
392 echo as_func_failure succeeded.
395 if as_func_ret_success; then
399 echo as_func_ret_success failed.
402 if as_func_ret_failure; then
404 echo as_func_ret_failure succeeded.
407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 echo positional parameters were not saved.
414 test \$exitcode = 0") ||
{
415 echo No shell found that supports shell functions.
416 echo Please tell autoconf@gnu.org about your system
,
417 echo including any error possibly output before this
425 test "x$as_lineno_1" != "x$as_lineno_2" &&
426 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
428 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
429 # uniformly replaced by the line number. The first 'sed' inserts a
430 # line-number line after each line using $LINENO; the second 'sed'
431 # does the real work. The second script uses 'N' to pair each
432 # line-number line with the line containing $LINENO, and appends
433 # trailing '-' during substitution so that $LINENO is not a special
435 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
436 # scripts with optimization help from Paolo Bonzini. Blame Lee
437 # E. McMahon (1931-1989) for sed's syntax. :-)
449 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
453 chmod +x
"$as_me.lineno" ||
454 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
455 { (exit 1); exit 1; }; }
457 # Don't try to exec as it changes $[0], causing all sort of problems
458 # (the dirname of $[0] is not the place where we might find the
459 # original and so on. Autoconf is especially sensitive to this).
461 # Exit status is that of the last command.
466 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
472 ECHO_C
= ECHO_N
= ECHO_T
=
476 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
483 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
484 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
490 rm -f conf$$ conf$$.exe conf$$.
file
491 if test -d conf$$.dir
; then
492 rm -f conf$$.dir
/conf$$.
file
498 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
500 # ... but there are two gotchas:
501 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
502 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503 # In both cases, we have to default to `cp -p'.
504 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
506 elif ln conf$$.
file conf$$
2>/dev
/null
; then
511 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
512 rmdir conf$$.dir
2>/dev
/null
514 if mkdir
-p .
2>/dev
/null
; then
517 test -d .
/-p && rmdir .
/-p
521 if test -x / >/dev
/null
2>&1; then
524 if ls -dL / >/dev
/null
2>&1; then
531 if test -d "$1"; then
537 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
538 ???[sx]*):;;*)false;;esac;fi
542 as_executable_p
=$as_test_x
544 # Sed expression to map a string onto a valid CPP name.
545 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
547 # Sed expression to map a string onto a valid variable name.
548 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
552 exec 7<&0 </dev
/null
6>&1
555 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
556 # so uname gets run too.
557 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
562 ac_default_prefix
=/usr
/local
564 ac_config_libobj_dir
=.
570 SHELL
=${CONFIG_SHELL-/bin/sh}
572 # Identity of this package.
579 ac_unique_file
="src/evaluate/rr.c"
580 # Factoring default headers for most tests.
581 ac_includes_default
="\
583 #ifdef HAVE_SYS_TYPES_H
584 # include <sys/types.h>
586 #ifdef HAVE_SYS_STAT_H
587 # include <sys/stat.h>
593 # ifdef HAVE_STDLIB_H
598 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
603 #ifdef HAVE_STRINGS_H
604 # include <strings.h>
606 #ifdef HAVE_INTTYPES_H
607 # include <inttypes.h>
625 program_transform_name
666 INSTALL_STRIP_PROGRAM
694 MAINTAINER_MODE_FALSE
734 ac_precious_vars
='build_alias
749 # Initialize some variables set by options.
751 ac_init_version
=false
752 # The variables have the same names as the options, with
753 # dashes changed to underlines.
761 program_transform_name
=s
,x
,x
,
769 # Installation directory options.
770 # These are left unexpanded so users can "make install exec_prefix=/foo"
771 # and all the variables that are supposed to be based on exec_prefix
772 # by default will actually change.
773 # Use braces instead of parens because sh, perl, etc. also accept them.
774 # (The list follows the same order as the GNU Coding Standards.)
775 bindir
='${exec_prefix}/bin'
776 sbindir
='${exec_prefix}/sbin'
777 libexecdir
='${exec_prefix}/libexec'
778 datarootdir
='${prefix}/share'
779 datadir
='${datarootdir}'
780 sysconfdir
='${prefix}/etc'
781 sharedstatedir
='${prefix}/com'
782 localstatedir
='${prefix}/var'
783 includedir
='${prefix}/include'
784 oldincludedir
='/usr/include'
785 docdir
='${datarootdir}/doc/${PACKAGE}'
786 infodir
='${datarootdir}/info'
791 libdir
='${exec_prefix}/lib'
792 localedir
='${datarootdir}/locale'
793 mandir
='${datarootdir}/man'
799 # If the previous option needs an argument, assign it.
800 if test -n "$ac_prev"; then
801 eval $ac_prev=\
$ac_option
807 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
811 # Accept the important Cygnus configure options, so we can diagnose typos.
813 case $ac_dashdash$ac_option in
817 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
819 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
822 -build |
--build |
--buil |
--bui |
--bu)
823 ac_prev
=build_alias
;;
824 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
825 build_alias
=$ac_optarg ;;
827 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
828 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
829 ac_prev
=cache_file
;;
830 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
831 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
832 cache_file
=$ac_optarg ;;
835 cache_file
=config.cache
;;
837 -datadir |
--datadir |
--datadi |
--datad)
839 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
840 datadir
=$ac_optarg ;;
842 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
843 |
--dataroo |
--dataro |
--datar)
844 ac_prev
=datarootdir
;;
845 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
846 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
847 datarootdir
=$ac_optarg ;;
849 -disable-* |
--disable-*)
850 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
851 # Reject names that are not valid shell variable names.
852 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
853 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
854 { (exit 1); exit 1; }; }
855 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
856 eval enable_
$ac_feature=no
;;
858 -docdir |
--docdir |
--docdi |
--doc |
--do)
860 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
863 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
865 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
868 -enable-* |
--enable-*)
869 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
870 # Reject names that are not valid shell variable names.
871 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
872 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
873 { (exit 1); exit 1; }; }
874 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
875 eval enable_
$ac_feature=\
$ac_optarg ;;
877 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
878 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
879 |
--exec |
--exe |
--ex)
880 ac_prev
=exec_prefix
;;
881 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
882 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
883 |
--exec=* |
--exe=* |
--ex=*)
884 exec_prefix
=$ac_optarg ;;
886 -gas |
--gas |
--ga |
--g)
887 # Obsolete; use --with-gas.
890 -help |
--help |
--hel |
--he |
-h)
892 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
893 ac_init_help
=recursive
;;
894 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
895 ac_init_help
=short
;;
897 -host |
--host |
--hos |
--ho)
898 ac_prev
=host_alias
;;
899 -host=* |
--host=* |
--hos=* |
--ho=*)
900 host_alias
=$ac_optarg ;;
902 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
904 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
906 htmldir
=$ac_optarg ;;
908 -includedir |
--includedir |
--includedi |
--included |
--include \
909 |
--includ |
--inclu |
--incl |
--inc)
910 ac_prev
=includedir
;;
911 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
912 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
913 includedir
=$ac_optarg ;;
915 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
917 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
918 infodir
=$ac_optarg ;;
920 -libdir |
--libdir |
--libdi |
--libd)
922 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
925 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
926 |
--libexe |
--libex |
--libe)
927 ac_prev
=libexecdir
;;
928 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
929 |
--libexe=* |
--libex=* |
--libe=*)
930 libexecdir
=$ac_optarg ;;
932 -localedir |
--localedir |
--localedi |
--localed |
--locale)
934 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
935 localedir
=$ac_optarg ;;
937 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
938 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
939 ac_prev
=localstatedir
;;
940 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
941 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
942 localstatedir
=$ac_optarg ;;
944 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
946 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
950 # Obsolete; use --without-fp.
953 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
954 |
--no-cr |
--no-c |
-n)
957 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
958 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
961 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
962 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
963 |
--oldin |
--oldi |
--old |
--ol |
--o)
964 ac_prev
=oldincludedir
;;
965 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
966 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
967 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
968 oldincludedir
=$ac_optarg ;;
970 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
972 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
975 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
976 |
--program-pre |
--program-pr |
--program-p)
977 ac_prev
=program_prefix
;;
978 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
979 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
980 program_prefix
=$ac_optarg ;;
982 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
983 |
--program-suf |
--program-su |
--program-s)
984 ac_prev
=program_suffix
;;
985 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
986 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
987 program_suffix
=$ac_optarg ;;
989 -program-transform-name |
--program-transform-name \
990 |
--program-transform-nam |
--program-transform-na \
991 |
--program-transform-n |
--program-transform- \
992 |
--program-transform |
--program-transfor \
993 |
--program-transfo |
--program-transf \
994 |
--program-trans |
--program-tran \
995 |
--progr-tra |
--program-tr |
--program-t)
996 ac_prev
=program_transform_name
;;
997 -program-transform-name=* |
--program-transform-name=* \
998 |
--program-transform-nam=* |
--program-transform-na=* \
999 |
--program-transform-n=* |
--program-transform-=* \
1000 |
--program-transform=* |
--program-transfor=* \
1001 |
--program-transfo=* |
--program-transf=* \
1002 |
--program-trans=* |
--program-tran=* \
1003 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1004 program_transform_name
=$ac_optarg ;;
1006 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1008 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1009 pdfdir
=$ac_optarg ;;
1011 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1013 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1016 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1017 |
-silent |
--silent |
--silen |
--sile |
--sil)
1020 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1022 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1024 sbindir
=$ac_optarg ;;
1026 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1027 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1028 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1030 ac_prev
=sharedstatedir
;;
1031 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1032 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1033 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1035 sharedstatedir
=$ac_optarg ;;
1037 -site |
--site |
--sit)
1039 -site=* |
--site=* |
--sit=*)
1042 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1044 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1045 srcdir
=$ac_optarg ;;
1047 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1048 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1049 ac_prev
=sysconfdir
;;
1050 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1051 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1052 sysconfdir
=$ac_optarg ;;
1054 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1055 ac_prev
=target_alias
;;
1056 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1057 target_alias
=$ac_optarg ;;
1059 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1062 -version |
--version |
--versio |
--versi |
--vers |
-V)
1063 ac_init_version
=: ;;
1066 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1067 # Reject names that are not valid shell variable names.
1068 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1069 { echo "$as_me: error: invalid package name: $ac_package" >&2
1070 { (exit 1); exit 1; }; }
1071 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1072 eval with_
$ac_package=\
$ac_optarg ;;
1074 -without-* |
--without-*)
1075 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1076 # Reject names that are not valid shell variable names.
1077 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1078 { echo "$as_me: error: invalid package name: $ac_package" >&2
1079 { (exit 1); exit 1; }; }
1080 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1081 eval with_
$ac_package=no
;;
1084 # Obsolete; use --with-x.
1087 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1088 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1089 ac_prev
=x_includes
;;
1090 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1091 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1092 x_includes
=$ac_optarg ;;
1094 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1095 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1096 ac_prev
=x_libraries
;;
1097 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1098 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1099 x_libraries
=$ac_optarg ;;
1101 -*) { echo "$as_me: error: unrecognized option: $ac_option
1102 Try \`$0 --help' for more information." >&2
1103 { (exit 1); exit 1; }; }
1107 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1108 # Reject names that are not valid shell variable names.
1109 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1110 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1111 { (exit 1); exit 1; }; }
1112 eval $ac_envvar=\
$ac_optarg
1113 export $ac_envvar ;;
1116 # FIXME: should be removed in autoconf 3.0.
1117 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1118 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1119 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1120 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1126 if test -n "$ac_prev"; then
1127 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1128 { echo "$as_me: error: missing argument to $ac_option" >&2
1129 { (exit 1); exit 1; }; }
1132 # Be sure to have absolute directory names.
1133 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1134 datadir sysconfdir sharedstatedir localstatedir includedir \
1135 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1136 libdir localedir mandir
1138 eval ac_val
=\$
$ac_var
1140 [\\/$
]* | ?
:[\\/]* ) continue;;
1141 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1143 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1144 { (exit 1); exit 1; }; }
1147 # There might be people who depend on the old broken behavior: `$host'
1148 # used to hold the argument of --host etc.
1149 # FIXME: To remove some day.
1152 target
=$target_alias
1154 # FIXME: To remove some day.
1155 if test "x$host_alias" != x
; then
1156 if test "x$build_alias" = x
; then
1157 cross_compiling
=maybe
1158 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1159 If a cross compiler is detected then cross compile mode will be used." >&2
1160 elif test "x$build_alias" != "x$host_alias"; then
1166 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1168 test "$silent" = yes && exec 6>/dev
/null
1171 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1172 ac_ls_di
=`ls -di .` &&
1173 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1174 { echo "$as_me: error: Working directory cannot be determined" >&2
1175 { (exit 1); exit 1; }; }
1176 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1177 { echo "$as_me: error: pwd does not report name of working directory" >&2
1178 { (exit 1); exit 1; }; }
1181 # Find the source files, if location was not specified.
1182 if test -z "$srcdir"; then
1183 ac_srcdir_defaulted
=yes
1184 # Try the directory containing this script, then the parent directory.
1185 ac_confdir
=`$as_dirname -- "$0" ||
1186 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1187 X"$0" : 'X\(//\)[^/]' \| \
1188 X"$0" : 'X\(//\)$' \| \
1189 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1191 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1209 if test ! -r "$srcdir/$ac_unique_file"; then
1213 ac_srcdir_defaulted
=no
1215 if test ! -r "$srcdir/$ac_unique_file"; then
1216 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1217 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1218 { (exit 1); exit 1; }; }
1220 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1222 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1223 { (exit 1); exit 1; }; }
1225 # When building in place, set srcdir=.
1226 if test "$ac_abs_confdir" = "$ac_pwd"; then
1229 # Remove unnecessary trailing slashes from srcdir.
1230 # Double slashes in file names in object file debugging info
1231 # mess up M-x gdb in Emacs.
1233 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1235 for ac_var
in $ac_precious_vars; do
1236 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1237 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1238 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1239 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1243 # Report the --help message.
1245 if test "$ac_init_help" = "long"; then
1246 # Omit some internal or obsolete options to make the list less imposing.
1247 # This message is too long to be a string in the A/UX 3.1 sh.
1249 \`configure' configures this package to adapt to many kinds of systems.
1251 Usage: $0 [OPTION]... [VAR=VALUE]...
1253 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1254 VAR=VALUE. See below for descriptions of some of the useful variables.
1256 Defaults for the options are specified in brackets.
1259 -h, --help display this help and exit
1260 --help=short display options specific to this package
1261 --help=recursive display the short help of all the included packages
1262 -V, --version display version information and exit
1263 -q, --quiet, --silent do not print \`checking...' messages
1264 --cache-file=FILE cache test results in FILE [disabled]
1265 -C, --config-cache alias for \`--cache-file=config.cache'
1266 -n, --no-create do not create output files
1267 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1269 Installation directories:
1270 --prefix=PREFIX install architecture-independent files in PREFIX
1271 [$ac_default_prefix]
1272 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1275 By default, \`make install' will install all the files in
1276 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1277 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1278 for instance \`--prefix=\$HOME'.
1280 For better control, use the options below.
1282 Fine tuning of the installation directories:
1283 --bindir=DIR user executables [EPREFIX/bin]
1284 --sbindir=DIR system admin executables [EPREFIX/sbin]
1285 --libexecdir=DIR program executables [EPREFIX/libexec]
1286 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1287 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1288 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1289 --libdir=DIR object code libraries [EPREFIX/lib]
1290 --includedir=DIR C header files [PREFIX/include]
1291 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1292 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1293 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1294 --infodir=DIR info documentation [DATAROOTDIR/info]
1295 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1296 --mandir=DIR man documentation [DATAROOTDIR/man]
1297 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1298 --htmldir=DIR html documentation [DOCDIR]
1299 --dvidir=DIR dvi documentation [DOCDIR]
1300 --pdfdir=DIR pdf documentation [DOCDIR]
1301 --psdir=DIR ps documentation [DOCDIR]
1307 --program-prefix=PREFIX prepend PREFIX to installed program names
1308 --program-suffix=SUFFIX append SUFFIX to installed program names
1309 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1313 if test -n "$ac_init_help"; then
1318 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1319 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1320 --disable-dependency-tracking speeds up one-time build
1321 --enable-dependency-tracking do not reject slow dependency extractors
1322 --enable-maintainer-mode enable make rules and dependencies not useful
1323 (and sometimes confusing
) to the casual installer
1324 --enable-mpi enable Message Protocol Interface
(MPI
)
1325 --enable-cam enable (IEEE-1394
) camera
1326 --enable-trig enable (realtime
) triggering
1327 --disable-rta=RTATOPDIR place where the RTAI code \
1328 resides
(default
/usr
/lib
/realtime
)
1329 --enable-k=KTOPDIR place where the installed kernel \
1330 headers resides
(default
/usr
/src
/kernel-headers-2.4
.27-adeos)
1331 --enable-omp enable Open Multi-Processing
(OMP
)
1333 Some influential environment variables
:
1334 CC C compiler
command
1335 CFLAGS C compiler flags
1336 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1337 nonstandard directory
<lib dir
>
1338 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1339 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1340 you have headers
in a nonstandard directory
<include dir
>
1342 PKG_CONFIG path to pkg-config utility
1343 GLIB_CFLAGS C compiler flags
for GLIB
, overriding pkg-config
1344 GLIB_LIBS linker flags
for GLIB
, overriding pkg-config
1345 MPICC MPI C compiler
command
1347 Use these variables to override the choices made by
`configure' or to help
1348 it to find libraries and programs with nonstandard names/locations.
1354 if test "$ac_init_help" = "recursive"; then
1355 # If there are subdirs, report their specific --help.
1356 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1357 test -d "$ac_dir" || continue
1361 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1363 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1364 # A ".." for each directory in $ac_dir_suffix.
1365 ac_top_builddir_sub=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,/..,g;s,/,,'`
1366 case $ac_top_builddir_sub in
1367 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1368 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1371 ac_abs_top_builddir=$ac_pwd
1372 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1373 # for backward compatibility:
1374 ac_top_builddir=$ac_top_build_prefix
1377 .) # We are building in place.
1379 ac_top_srcdir=$ac_top_builddir_sub
1380 ac_abs_top_srcdir=$ac_pwd ;;
1381 [\\/]* | ?:[\\/]* ) # Absolute name.
1382 ac_srcdir=$srcdir$ac_dir_suffix;
1383 ac_top_srcdir=$srcdir
1384 ac_abs_top_srcdir=$srcdir ;;
1386 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1387 ac_top_srcdir=$ac_top_build_prefix$srcdir
1388 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1390 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1392 cd "$ac_dir" || { ac_status=$?; continue; }
1393 # Check for guested configure.
1394 if test -f "$ac_srcdir/configure.gnu"; then
1396 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1397 elif test -f "$ac_srcdir/configure"; then
1399 $SHELL "$ac_srcdir/configure" --help=recursive
1401 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1403 cd "$ac_pwd" || { ac_status=$?; break; }
1407 test -n "$ac_init_help" && exit $ac_status
1408 if $ac_init_version; then
1411 generated by GNU Autoconf 2.61
1413 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1414 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1415 This configure script is free software; the Free Software Foundation
1416 gives unlimited permission to copy, distribute and modify it.
1420 cat >config.log <<_ACEOF
1421 This file contains any messages produced by compilers while
1422 running configure, to aid debugging if configure makes a mistake.
1424 It was created by $as_me, which was
1425 generated by GNU Autoconf 2.61. Invocation command line was
1437 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1438 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1439 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1440 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1441 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1443 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1444 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1446 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1447 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1448 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1449 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1450 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1451 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1452 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1460 test -z "$as_dir" && as_dir=.
1461 echo "PATH: $as_dir"
1477 # Keep a trace of the command line.
1478 # Strip out --no-create and --no-recursion so they do not pile up.
1479 # Strip out --silent because we don't want to record it for future runs.
1480 # Also quote any args containing shell meta-characters.
1481 # Make two passes to allow for proper duplicate-argument suppression.
1485 ac_must_keep_next=false
1491 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1492 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1493 | -silent | --silent | --silen | --sile | --sil)
1496 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1499 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1501 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1502 if test $ac_must_keep_next = true; then
1503 ac_must_keep_next=false # Got value, back to normal.
1506 *=* | --config-cache | -C | -disable-* | --disable-* \
1507 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1508 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1509 | -with-* | --with-* | -without-* | --without-* | --x)
1510 case "$ac_configure_args0 " in
1511 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1514 -* ) ac_must_keep_next=true ;;
1517 ac_configure_args="$ac_configure_args '$ac_arg'"
1522 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1523 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1525 # When interrupted or exit'd, cleanup temporary files, and complete
1526 # config.log. We remove comments because anyway the quotes in there
1527 # would cause problems or look ugly.
1528 # WARNING: Use '\'' to represent an apostrophe within the trap.
1529 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1530 trap 'exit_status=$?
1531 # Save into config.log some information that might help in debugging.
1536 ## ---------------- ##
1537 ## Cache variables. ##
1538 ## ---------------- ##
1541 # The following way of writing the cache mishandles newlines in values,
1543 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1544 eval ac_val=\$$ac_var
1548 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1549 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1552 _ | IFS | as_nl) ;; #(
1553 *) $as_unset $ac_var ;;
1558 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1559 *${as_nl}ac_space=\ *)
1561 "s/'\''/'\''\\\\'\'''\''/g;
1562 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1565 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1573 ## ----------------- ##
1574 ## Output variables. ##
1575 ## ----------------- ##
1578 for ac_var in $ac_subst_vars
1580 eval ac_val=\$$ac_var
1582 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1584 echo "$ac_var='\''$ac_val'\''"
1588 if test -n "$ac_subst_files"; then
1590 ## ------------------- ##
1591 ## File substitutions. ##
1592 ## ------------------- ##
1595 for ac_var in $ac_subst_files
1597 eval ac_val=\$$ac_var
1599 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1601 echo "$ac_var='\''$ac_val'\''"
1606 if test -s confdefs.h; then
1616 test "$ac_signal" != 0 &&
1617 echo "$as_me: caught signal $ac_signal"
1618 echo "$as_me: exit $exit_status"
1620 rm -f core *.core core.conftest.* &&
1621 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1624 for ac_signal in 1 2 13 15; do
1625 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1629 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1630 rm -f -r conftest* confdefs.h
1632 # Predefined preprocessor variables.
1634 cat >>confdefs.h <<_ACEOF
1635 #define PACKAGE_NAME "$PACKAGE_NAME"
1639 cat >>confdefs.h <<_ACEOF
1640 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1644 cat >>confdefs.h <<_ACEOF
1645 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1649 cat >>confdefs.h <<_ACEOF
1650 #define PACKAGE_STRING "$PACKAGE_STRING"
1654 cat >>confdefs.h <<_ACEOF
1655 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1659 # Let the site file select an alternate cache file if it wants to.
1660 # Prefer explicitly selected file to automatically selected ones.
1661 if test -n "$CONFIG_SITE"; then
1662 set x "$CONFIG_SITE"
1663 elif test "x$prefix" != xNONE; then
1664 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1666 set x "$ac_default_prefix/share/config.site" \
1667 "$ac_default_prefix/etc/config.site"
1672 if test -r "$ac_site_file"; then
1673 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1674 echo "$as_me: loading site script $ac_site_file" >&6;}
1675 sed 's/^/| /' "$ac_site_file" >&5
1680 if test -r "$cache_file"; then
1681 # Some versions of bash will fail to source /dev/null (special
1682 # files actually), so we avoid doing that.
1683 if test -f "$cache_file"; then
1684 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1685 echo "$as_me: loading cache $cache_file" >&6;}
1687 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1688 *) . "./$cache_file";;
1692 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1693 echo "$as_me: creating cache $cache_file" >&6;}
1697 # Check that the precious variables saved in the cache have kept the same
1699 ac_cache_corrupted=false
1700 for ac_var in $ac_precious_vars; do
1701 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1702 eval ac_new_set=\$ac_env_${ac_var}_set
1703 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1704 eval ac_new_val=\$ac_env_${ac_var}_value
1705 case $ac_old_set,$ac_new_set in
1707 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1708 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1709 ac_cache_corrupted=: ;;
1711 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1712 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1713 ac_cache_corrupted=: ;;
1716 if test "x$ac_old_val" != "x$ac_new_val"; then
1717 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1718 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1719 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1720 echo "$as_me: former value
: $ac_old_val" >&2;}
1721 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1722 echo "$as_me: current value
: $ac_new_val" >&2;}
1723 ac_cache_corrupted=:
1726 # Pass precious variables to config.status.
1727 if test "$ac_new_set" = set; then
1729 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1730 *) ac_arg=$ac_var=$ac_new_val ;;
1732 case " $ac_configure_args " in
1733 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1734 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1738 if $ac_cache_corrupted; then
1739 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1740 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1741 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1742 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1743 { (exit 1); exit 1; }; }
1763 ac_cpp='$CPP $CPPFLAGS'
1764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1769 am__api_version="1.9"
1771 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1772 if test -f "$ac_dir/install-sh"; then
1774 ac_install_sh="$ac_aux_dir/install-sh -c"
1776 elif test -f "$ac_dir/install.sh"; then
1778 ac_install_sh="$ac_aux_dir/install.sh -c"
1780 elif test -f "$ac_dir/shtool"; then
1782 ac_install_sh="$ac_aux_dir/shtool install -c"
1786 if test -z "$ac_aux_dir"; then
1787 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1788 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1789 { (exit 1); exit 1; }; }
1792 # These three variables are undocumented and unsupported,
1793 # and are intended to be withdrawn in a future Autoconf release.
1794 # They can cause serious problems if a builder's source tree is in a directory
1795 # whose full name contains unusual characters.
1796 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1797 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1798 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1801 # Find a good install program. We prefer a C program (faster),
1802 # so one script is as good as another. But avoid the broken or
1803 # incompatible versions:
1804 # SysV /etc/install, /usr/sbin/install
1805 # SunOS /usr/etc/install
1806 # IRIX /sbin/install
1808 # AmigaOS /C/install, which installs bootblocks on floppy discs
1809 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1810 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1811 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1812 # OS/2's system install, which has a completely different semantic
1813 # ./install, which can be erroneously created by make from ./install.sh.
1814 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1815 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1816 if test -z "$INSTALL"; then
1817 if test "${ac_cv_path_install+set}" = set; then
1818 echo $ECHO_N "(cached) $ECHO_C" >&6
1820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1824 test -z "$as_dir" && as_dir=.
1825 # Account for people who put trailing slashes in PATH elements.
1827 ./ | .// | /cC/* | \
1828 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1829 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1832 # OSF1 and SCO ODT 3.0 have their own names for install.
1833 # Don't use installbsd from OSF since it installs stuff as root
1835 for ac_prog in ginstall scoinst install; do
1836 for ac_exec_ext in '' $ac_executable_extensions; do
1837 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1838 if test $ac_prog = install &&
1839 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1840 # AIX install. It has an incompatible calling convention.
1842 elif test $ac_prog = install &&
1843 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1844 # program-specific install script used by HP pwplus--don't use.
1847 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1860 if test "${ac_cv_path_install+set}" = set; then
1861 INSTALL=$ac_cv_path_install
1863 # As a last resort, use the slow shell script. Don't cache a
1864 # value for INSTALL within a source directory, because that will
1865 # break other packages using the cache if that directory is
1866 # removed, or if the value is a relative name.
1867 INSTALL=$ac_install_sh
1870 { echo "$as_me:$LINENO: result: $INSTALL" >&5
1871 echo "${ECHO_T}$INSTALL" >&6; }
1873 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1874 # It thinks the first close brace ends the variable substitution.
1875 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1877 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1879 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1881 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1882 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1885 echo timestamp > conftest.file
1886 # Do `set' in a subshell so we don't clobber the current shell
's
1887 # arguments. Must try -L first in case configure is actually a
1888 # symlink; some systems play weird games with the mod time of symlinks
1889 # (eg FreeBSD returns the mod time of the symlink's containing
1892 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1893 if test "$*" = "X"; then
1895 set X
`ls -t $srcdir/configure conftest.file`
1898 if test "$*" != "X $srcdir/configure conftest.file" \
1899 && test "$*" != "X conftest.file $srcdir/configure"; then
1901 # If neither matched, then we have a broken ls. This can happen
1902 # if, for instance, CONFIG_SHELL is bash and it inherits a
1903 # broken ls alias from the environment. This has actually
1904 # happened. Such a system could not be considered "sane".
1905 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1906 alias in your environment" >&5
1907 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1908 alias in your environment" >&2;}
1909 { (exit 1); exit 1; }; }
1912 test "$2" = conftest.
file
1918 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1919 Check your system clock" >&5
1920 echo "$as_me: error: newly created file is older than distributed files!
1921 Check your system clock" >&2;}
1922 { (exit 1); exit 1; }; }
1924 { echo "$as_me:$LINENO: result: yes" >&5
1925 echo "${ECHO_T}yes" >&6; }
1926 test "$program_prefix" != NONE
&&
1927 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
1928 # Use a double $ so make ignores it.
1929 test "$program_suffix" != NONE
&&
1930 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
1931 # Double any \ or $. echo might interpret backslashes.
1932 # By default was `s,x,x', remove it if useless.
1933 cat <<\_ACEOF
>conftest.
sed
1934 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1936 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1939 # expand $ac_aux_dir to an absolute path
1940 am_aux_dir
=`cd $ac_aux_dir && pwd`
1942 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1943 # Use eval to expand $SHELL
1944 if eval "$MISSING --run true"; then
1945 am_missing_run
="$MISSING --run "
1948 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1949 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1952 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
1953 # We used to keeping the `.' as first argument, in order to
1954 # allow $(mkdir_p) to be used without argument. As in
1955 # $(mkdir_p) $(somedir)
1956 # where $(somedir) is conditionally defined. However this is wrong
1958 # 1. if the package is installed by a user who cannot write `.'
1959 # make install will fail,
1960 # 2. the above comment should most certainly read
1961 # $(mkdir_p) $(DESTDIR)$(somedir)
1962 # so it does not work when $(somedir) is undefined and
1963 # $(DESTDIR) is not.
1964 # To support the latter case, we have to write
1965 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1966 # so the `.' trick is pointless.
1967 mkdir_p
='mkdir -p --'
1969 # On NextStep and OpenStep, the `mkdir' command does not
1970 # recognize any option. It will interpret all options as
1971 # directories to create, and then abort because `.' already
1973 for d
in .
/-p .
/--version;
1975 test -d $d && rmdir $d
1977 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1978 if test -f "$ac_aux_dir/mkinstalldirs"; then
1979 mkdir_p
='$(mkinstalldirs)'
1981 mkdir_p
='$(install_sh) -d'
1985 for ac_prog
in gawk mawk nawk
awk
1987 # Extract the first word of "$ac_prog", so it can be a program name with args.
1988 set dummy
$ac_prog; ac_word
=$2
1989 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1990 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1991 if test "${ac_cv_prog_AWK+set}" = set; then
1992 echo $ECHO_N "(cached) $ECHO_C" >&6
1994 if test -n "$AWK"; then
1995 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1997 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2001 test -z "$as_dir" && as_dir
=.
2002 for ac_exec_ext
in '' $ac_executable_extensions; do
2003 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2004 ac_cv_prog_AWK
="$ac_prog"
2005 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2015 if test -n "$AWK"; then
2016 { echo "$as_me:$LINENO: result: $AWK" >&5
2017 echo "${ECHO_T}$AWK" >&6; }
2019 { echo "$as_me:$LINENO: result: no" >&5
2020 echo "${ECHO_T}no" >&6; }
2024 test -n "$AWK" && break
2027 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2028 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2029 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2030 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2031 echo $ECHO_N "(cached) $ECHO_C" >&6
2033 cat >conftest.
make <<\_ACEOF
2036 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2038 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2039 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2041 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2043 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2047 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2048 { echo "$as_me:$LINENO: result: yes" >&5
2049 echo "${ECHO_T}yes" >&6; }
2052 { echo "$as_me:$LINENO: result: no" >&5
2053 echo "${ECHO_T}no" >&6; }
2054 SET_MAKE
="MAKE=${MAKE-make}"
2057 rm -rf .tst
2>/dev
/null
2058 mkdir .tst
2>/dev
/null
2059 if test -d .tst
; then
2064 rmdir .tst
2>/dev
/null
2066 # test to see if srcdir already configured
2067 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2068 test -f $srcdir/config.status
; then
2069 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2070 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2071 { (exit 1); exit 1; }; }
2074 # test whether we have cygpath
2075 if test -z "$CYGPATH_W"; then
2076 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2077 CYGPATH_W
='cygpath -w'
2084 # Define the identity of the package.
2089 cat >>confdefs.h
<<_ACEOF
2090 #define PACKAGE "$PACKAGE"
2094 cat >>confdefs.h
<<_ACEOF
2095 #define VERSION "$VERSION"
2098 # Some tools Automake needs.
2100 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2103 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2106 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2109 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2112 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2114 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
2116 # Installed binaries are usually stripped using `strip' when the user
2117 # run `make install-strip'. However `strip' might not be the right
2118 # tool to use in cross-compilation environments, therefore Automake
2119 # will honor the `STRIP' environment variable to overrule this program.
2120 if test "$cross_compiling" != no
; then
2121 if test -n "$ac_tool_prefix"; then
2122 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2123 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2124 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2125 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2126 if test "${ac_cv_prog_STRIP+set}" = set; then
2127 echo $ECHO_N "(cached) $ECHO_C" >&6
2129 if test -n "$STRIP"; then
2130 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2132 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2136 test -z "$as_dir" && as_dir
=.
2137 for ac_exec_ext
in '' $ac_executable_extensions; do
2138 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2139 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2140 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2149 STRIP
=$ac_cv_prog_STRIP
2150 if test -n "$STRIP"; then
2151 { echo "$as_me:$LINENO: result: $STRIP" >&5
2152 echo "${ECHO_T}$STRIP" >&6; }
2154 { echo "$as_me:$LINENO: result: no" >&5
2155 echo "${ECHO_T}no" >&6; }
2160 if test -z "$ac_cv_prog_STRIP"; then
2162 # Extract the first word of "strip", so it can be a program name with args.
2163 set dummy strip
; ac_word
=$2
2164 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2165 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2166 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2167 echo $ECHO_N "(cached) $ECHO_C" >&6
2169 if test -n "$ac_ct_STRIP"; then
2170 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2172 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2176 test -z "$as_dir" && as_dir
=.
2177 for ac_exec_ext
in '' $ac_executable_extensions; do
2178 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2179 ac_cv_prog_ac_ct_STRIP
="strip"
2180 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2189 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2190 if test -n "$ac_ct_STRIP"; then
2191 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2192 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2194 { echo "$as_me:$LINENO: result: no" >&5
2195 echo "${ECHO_T}no" >&6; }
2198 if test "x$ac_ct_STRIP" = x
; then
2201 case $cross_compiling:$ac_tool_warned in
2203 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2204 whose name does not start with the host triplet. If you think this
2205 configuration is useful to you, please write to autoconf@gnu.org." >&5
2206 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2207 whose name does not start with the host triplet. If you think this
2208 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2209 ac_tool_warned
=yes ;;
2214 STRIP
="$ac_cv_prog_STRIP"
2218 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
2220 # We need awk for the "check" target. The system "awk" is bad on
2222 # Always define AMTAR for backward compatibility.
2224 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2226 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2232 ac_config_headers
="$ac_config_headers config.h"
2235 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2236 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2239 echo timestamp
> conftest.
file
2240 # Do `set' in a subshell so we don't clobber the current shell's
2241 # arguments. Must try -L first in case configure is actually a
2242 # symlink; some systems play weird games with the mod time of symlinks
2243 # (eg FreeBSD returns the mod time of the symlink's containing
2246 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2247 if test "$*" = "X"; then
2249 set X
`ls -t $srcdir/configure conftest.file`
2252 if test "$*" != "X $srcdir/configure conftest.file" \
2253 && test "$*" != "X conftest.file $srcdir/configure"; then
2255 # If neither matched, then we have a broken ls. This can happen
2256 # if, for instance, CONFIG_SHELL is bash and it inherits a
2257 # broken ls alias from the environment. This has actually
2258 # happened. Such a system could not be considered "sane".
2259 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2260 alias in your environment" >&5
2261 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2262 alias in your environment" >&2;}
2263 { (exit 1); exit 1; }; }
2266 test "$2" = conftest.
file
2272 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2273 Check your system clock" >&5
2274 echo "$as_me: error: newly created file is older than distributed files!
2275 Check your system clock" >&2;}
2276 { (exit 1); exit 1; }; }
2278 { echo "$as_me:$LINENO: result: yes" >&5
2279 echo "${ECHO_T}yes" >&6; }
2280 DEPDIR
="${am__leading_dot}deps"
2282 ac_config_commands
="$ac_config_commands depfiles"
2285 am_make
=${MAKE-make}
2286 cat > confinc
<< 'END'
2291 # If we don't find an include directive, just comment out the code.
2292 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2293 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
2297 # First try GNU make style include.
2298 echo "include confinc" > confmf
2299 # We grep out `Entering directory' and `Leaving directory'
2300 # messages which can occur if `w' ends up in MAKEFLAGS.
2301 # In particular we don't look at `^make:' because GNU make might
2302 # be invoked under some other name (usually "gmake"), in which
2303 # case it prints its new name instead of `make'.
2304 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2309 # Now try BSD make style include.
2310 if test "$am__include" = "#"; then
2311 echo '.include "confinc"' > confmf
2312 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2313 am__include
=.include
2320 { echo "$as_me:$LINENO: result: $_am_result" >&5
2321 echo "${ECHO_T}$_am_result" >&6; }
2322 rm -f confinc confmf
2324 # Check whether --enable-dependency-tracking was given.
2325 if test "${enable_dependency_tracking+set}" = set; then
2326 enableval
=$enable_dependency_tracking;
2329 if test "x$enable_dependency_tracking" != xno
; then
2330 am_depcomp
="$ac_aux_dir/depcomp"
2335 if test "x$enable_dependency_tracking" != xno; then
2346 ac_cpp
='$CPP $CPPFLAGS'
2347 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2348 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2349 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2350 if test -n "$ac_tool_prefix"; then
2351 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2352 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2353 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2354 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2355 if test "${ac_cv_prog_CC+set}" = set; then
2356 echo $ECHO_N "(cached) $ECHO_C" >&6
2358 if test -n "$CC"; then
2359 ac_cv_prog_CC
="$CC" # Let the user override the test.
2361 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2365 test -z "$as_dir" && as_dir
=.
2366 for ac_exec_ext
in '' $ac_executable_extensions; do
2367 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2368 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2369 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2379 if test -n "$CC"; then
2380 { echo "$as_me:$LINENO: result: $CC" >&5
2381 echo "${ECHO_T}$CC" >&6; }
2383 { echo "$as_me:$LINENO: result: no" >&5
2384 echo "${ECHO_T}no" >&6; }
2389 if test -z "$ac_cv_prog_CC"; then
2391 # Extract the first word of "gcc", so it can be a program name with args.
2392 set dummy gcc
; ac_word
=$2
2393 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2394 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2395 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2396 echo $ECHO_N "(cached) $ECHO_C" >&6
2398 if test -n "$ac_ct_CC"; then
2399 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2401 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2405 test -z "$as_dir" && as_dir
=.
2406 for ac_exec_ext
in '' $ac_executable_extensions; do
2407 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2408 ac_cv_prog_ac_ct_CC
="gcc"
2409 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2418 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2419 if test -n "$ac_ct_CC"; then
2420 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2421 echo "${ECHO_T}$ac_ct_CC" >&6; }
2423 { echo "$as_me:$LINENO: result: no" >&5
2424 echo "${ECHO_T}no" >&6; }
2427 if test "x$ac_ct_CC" = x
; then
2430 case $cross_compiling:$ac_tool_warned in
2432 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2433 whose name does not start with the host triplet. If you think this
2434 configuration is useful to you, please write to autoconf@gnu.org." >&5
2435 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2436 whose name does not start with the host triplet. If you think this
2437 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2438 ac_tool_warned
=yes ;;
2446 if test -z "$CC"; then
2447 if test -n "$ac_tool_prefix"; then
2448 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2449 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2450 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2451 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2452 if test "${ac_cv_prog_CC+set}" = set; then
2453 echo $ECHO_N "(cached) $ECHO_C" >&6
2455 if test -n "$CC"; then
2456 ac_cv_prog_CC
="$CC" # Let the user override the test.
2458 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2462 test -z "$as_dir" && as_dir
=.
2463 for ac_exec_ext
in '' $ac_executable_extensions; do
2464 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2465 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2466 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2476 if test -n "$CC"; then
2477 { echo "$as_me:$LINENO: result: $CC" >&5
2478 echo "${ECHO_T}$CC" >&6; }
2480 { echo "$as_me:$LINENO: result: no" >&5
2481 echo "${ECHO_T}no" >&6; }
2487 if test -z "$CC"; then
2488 # Extract the first word of "cc", so it can be a program name with args.
2489 set dummy cc
; ac_word
=$2
2490 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2491 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2492 if test "${ac_cv_prog_CC+set}" = set; then
2493 echo $ECHO_N "(cached) $ECHO_C" >&6
2495 if test -n "$CC"; then
2496 ac_cv_prog_CC
="$CC" # Let the user override the test.
2499 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2503 test -z "$as_dir" && as_dir
=.
2504 for ac_exec_ext
in '' $ac_executable_extensions; do
2505 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2506 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2507 ac_prog_rejected
=yes
2511 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2518 if test $ac_prog_rejected = yes; then
2519 # We found a bogon in the path, so make sure we never use it.
2520 set dummy
$ac_cv_prog_CC
2522 if test $# != 0; then
2523 # We chose a different compiler from the bogus one.
2524 # However, it has the same basename, so the bogon will be chosen
2525 # first if we set CC to just the basename; use the full file name.
2527 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2533 if test -n "$CC"; then
2534 { echo "$as_me:$LINENO: result: $CC" >&5
2535 echo "${ECHO_T}$CC" >&6; }
2537 { echo "$as_me:$LINENO: result: no" >&5
2538 echo "${ECHO_T}no" >&6; }
2543 if test -z "$CC"; then
2544 if test -n "$ac_tool_prefix"; then
2545 for ac_prog
in cl.exe
2547 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2548 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2549 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2550 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2551 if test "${ac_cv_prog_CC+set}" = set; then
2552 echo $ECHO_N "(cached) $ECHO_C" >&6
2554 if test -n "$CC"; then
2555 ac_cv_prog_CC
="$CC" # Let the user override the test.
2557 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2561 test -z "$as_dir" && as_dir
=.
2562 for ac_exec_ext
in '' $ac_executable_extensions; do
2563 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2564 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2565 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2575 if test -n "$CC"; then
2576 { echo "$as_me:$LINENO: result: $CC" >&5
2577 echo "${ECHO_T}$CC" >&6; }
2579 { echo "$as_me:$LINENO: result: no" >&5
2580 echo "${ECHO_T}no" >&6; }
2584 test -n "$CC" && break
2587 if test -z "$CC"; then
2589 for ac_prog
in cl.exe
2591 # Extract the first word of "$ac_prog", so it can be a program name with args.
2592 set dummy
$ac_prog; ac_word
=$2
2593 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2594 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2595 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2596 echo $ECHO_N "(cached) $ECHO_C" >&6
2598 if test -n "$ac_ct_CC"; then
2599 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2601 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2605 test -z "$as_dir" && as_dir
=.
2606 for ac_exec_ext
in '' $ac_executable_extensions; do
2607 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2608 ac_cv_prog_ac_ct_CC
="$ac_prog"
2609 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2618 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2619 if test -n "$ac_ct_CC"; then
2620 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2621 echo "${ECHO_T}$ac_ct_CC" >&6; }
2623 { echo "$as_me:$LINENO: result: no" >&5
2624 echo "${ECHO_T}no" >&6; }
2628 test -n "$ac_ct_CC" && break
2631 if test "x$ac_ct_CC" = x
; then
2634 case $cross_compiling:$ac_tool_warned in
2636 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2637 whose name does not start with the host triplet. If you think this
2638 configuration is useful to you, please write to autoconf@gnu.org." >&5
2639 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2640 whose name does not start with the host triplet. If you think this
2641 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2642 ac_tool_warned
=yes ;;
2651 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2652 See \`config.log' for more details." >&5
2653 echo "$as_me: error: no acceptable C compiler found in \$PATH
2654 See \`config.log' for more details." >&2;}
2655 { (exit 1); exit 1; }; }
2657 # Provide some information about the compiler.
2658 echo "$as_me:$LINENO: checking for C compiler version" >&5
2659 ac_compiler
=`set X $ac_compile; echo $2`
2660 { (ac_try
="$ac_compiler --version >&5"
2662 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2663 *) ac_try_echo=$ac_try;;
2665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2666 (eval "$ac_compiler --version >&5") 2>&5
2668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2669 (exit $ac_status); }
2670 { (ac_try="$ac_compiler -v >&5"
2672 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2673 *) ac_try_echo
=$ac_try;;
2675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2676 (eval "$ac_compiler -v >&5") 2>&5
2678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2679 (exit $ac_status); }
2680 { (ac_try
="$ac_compiler -V >&5"
2682 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2683 *) ac_try_echo=$ac_try;;
2685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2686 (eval "$ac_compiler -V >&5") 2>&5
2688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2689 (exit $ac_status); }
2691 cat >conftest.$ac_ext <<_ACEOF
2694 cat confdefs.h >>conftest.$ac_ext
2695 cat >>conftest.$ac_ext <<_ACEOF
2696 /* end confdefs.h. */
2706 ac_clean_files_save=$ac_clean_files
2707 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2708 # Try to create an executable without -o first, disregard a.out.
2709 # It will help us diagnose broken compilers, and finding out an intuition
2711 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2712 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2713 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2715 # List of possible output files, starting from the most likely.
2716 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2717 # only as a last resort. b.out is created by i960 compilers.
2718 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2720 # The IRIX 6 linker writes into existing files which may not be
2721 # executable, retaining their permissions. Remove them first so a
2722 # subsequent execution test works.
2724 for ac_file in $ac_files
2727 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2728 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2733 if { (ac_try="$ac_link_default"
2735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2736 *) ac_try_echo=$ac_try;;
2738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2739 (eval "$ac_link_default") 2>&5
2741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2742 (exit $ac_status); }; then
2743 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2744 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2745 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2746 # so that the user can short-circuit this test for compilers unknown to
2748 for ac_file
in $ac_files ''
2750 test -f "$ac_file" ||
continue
2752 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
2755 # We found the default executable, but exeext='' is most
2759 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2761 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2763 # We set ac_cv_exeext here because the later test for it is not
2764 # safe: cross compilers may not add the suffix if given an `-o'
2765 # argument, so we may need to know it at that point already.
2766 # Even if this section looks crufty: it has the advantage of
2773 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2779 { echo "$as_me:$LINENO: result: $ac_file" >&5
2780 echo "${ECHO_T}$ac_file" >&6; }
2781 if test -z "$ac_file"; then
2782 echo "$as_me: failed program was:" >&5
2783 sed 's/^/| /' conftest.
$ac_ext >&5
2785 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2786 See \`config.log' for more details." >&5
2787 echo "$as_me: error: C compiler cannot create executables
2788 See \`config.log' for more details." >&2;}
2789 { (exit 77); exit 77; }; }
2792 ac_exeext
=$ac_cv_exeext
2794 # Check that the compiler produces executables we can run. If not, either
2795 # the compiler is broken, or we cross compile.
2796 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2797 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2798 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2799 # If not cross compiling, check that we can run a simple program.
2800 if test "$cross_compiling" != yes; then
2801 if { ac_try
='./$ac_file'
2802 { (case "(($ac_try" in
2803 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2804 *) ac_try_echo=$ac_try;;
2806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2807 (eval "$ac_try") 2>&5
2809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2810 (exit $ac_status); }; }; then
2813 if test "$cross_compiling" = maybe; then
2816 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2817 If you meant to cross compile, use \`--host'.
2818 See \`config.log' for more details.
" >&5
2819 echo "$as_me: error
: cannot run C compiled programs.
2820 If you meant to cross compile
, use \
`--host'.
2821 See \`config.log
' for more details." >&2;}
2822 { (exit 1); exit 1; }; }
2826 { echo "$as_me:$LINENO: result: yes" >&5
2827 echo "${ECHO_T}yes" >&6; }
2829 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2830 ac_clean_files=$ac_clean_files_save
2831 # Check that the compiler produces executables we can run. If not, either
2832 # the compiler is broken, or we cross compile.
2833 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2834 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2835 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2836 echo "${ECHO_T}$cross_compiling" >&6; }
2838 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2839 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2840 if { (ac_try="$ac_link"
2842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2843 *) ac_try_echo=$ac_try;;
2845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2846 (eval "$ac_link") 2>&5
2848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2849 (exit $ac_status); }; then
2850 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2851 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2852 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2854 for ac_file
in conftest.exe conftest conftest.
*; do
2855 test -f "$ac_file" ||
continue
2857 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
2858 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2864 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2865 See \`config.log' for more details." >&5
2866 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2867 See \`config.log' for more details." >&2;}
2868 { (exit 1); exit 1; }; }
2871 rm -f conftest
$ac_cv_exeext
2872 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2873 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2875 rm -f conftest.
$ac_ext
2876 EXEEXT
=$ac_cv_exeext
2878 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2879 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2880 if test "${ac_cv_objext+set}" = set; then
2881 echo $ECHO_N "(cached) $ECHO_C" >&6
2883 cat >conftest.
$ac_ext <<_ACEOF
2886 cat confdefs.h
>>conftest.
$ac_ext
2887 cat >>conftest.
$ac_ext <<_ACEOF
2888 /* end confdefs.h. */
2898 rm -f conftest.o conftest.obj
2899 if { (ac_try
="$ac_compile"
2901 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2902 *) ac_try_echo=$ac_try;;
2904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2905 (eval "$ac_compile") 2>&5
2907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2908 (exit $ac_status); }; then
2909 for ac_file in conftest.o conftest.obj conftest.*; do
2910 test -f "$ac_file" || continue;
2912 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2913 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2918 echo "$as_me: failed program was:" >&5
2919 sed 's/^/| /' conftest.$ac_ext >&5
2921 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2922 See \`config.log
' for more details." >&5
2923 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2924 See \`config.log' for more details.
" >&2;}
2925 { (exit 1); exit 1; }; }
2928 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2930 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
2931 echo "${ECHO_T}$ac_cv_objext" >&6; }
2932 OBJEXT=$ac_cv_objext
2934 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
2935 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
2936 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2937 echo $ECHO_N "(cached
) $ECHO_C" >&6
2939 cat >conftest.$ac_ext <<_ACEOF
2942 cat confdefs.h >>conftest.$ac_ext
2943 cat >>conftest.$ac_ext <<_ACEOF
2944 /* end confdefs.h. */
2957 rm -f conftest.$ac_objext
2958 if { (ac_try="$ac_compile"
2960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2961 *) ac_try_echo=$ac_try;;
2963 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2964 (eval "$ac_compile") 2>conftest.er1
2966 grep -v '^ *+' conftest.er1 >conftest.err
2968 cat conftest.err >&5
2969 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2970 (exit $ac_status); } && {
2971 test -z "$ac_c_werror_flag" ||
2972 test ! -s conftest.err
2973 } && test -s conftest.$ac_objext; then
2976 echo "$as_me: failed program was
:" >&5
2977 sed 's/^/| /' conftest.$ac_ext >&5
2982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2983 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2986 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
2987 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2988 GCC=`test $ac_compiler_gnu = yes && echo yes`
2989 ac_test_CFLAGS=${CFLAGS+set}
2990 ac_save_CFLAGS=$CFLAGS
2991 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
2992 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
2993 if test "${ac_cv_prog_cc_g+set}" = set; then
2994 echo $ECHO_N "(cached
) $ECHO_C" >&6
2996 ac_save_c_werror_flag=$ac_c_werror_flag
2997 ac_c_werror_flag=yes
3000 cat >conftest.$ac_ext <<_ACEOF
3003 cat confdefs.h >>conftest.$ac_ext
3004 cat >>conftest.$ac_ext <<_ACEOF
3005 /* end confdefs.h. */
3015 rm -f conftest.$ac_objext
3016 if { (ac_try="$ac_compile"
3018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3019 *) ac_try_echo=$ac_try;;
3021 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3022 (eval "$ac_compile") 2>conftest.er1
3024 grep -v '^ *+' conftest.er1 >conftest.err
3026 cat conftest.err >&5
3027 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3028 (exit $ac_status); } && {
3029 test -z "$ac_c_werror_flag" ||
3030 test ! -s conftest.err
3031 } && test -s conftest.$ac_objext; then
3034 echo "$as_me: failed program was
:" >&5
3035 sed 's/^/| /' conftest.$ac_ext >&5
3038 cat >conftest.$ac_ext <<_ACEOF
3041 cat confdefs.h >>conftest.$ac_ext
3042 cat >>conftest.$ac_ext <<_ACEOF
3043 /* end confdefs.h. */
3053 rm -f conftest.$ac_objext
3054 if { (ac_try="$ac_compile"
3056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3057 *) ac_try_echo=$ac_try;;
3059 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3060 (eval "$ac_compile") 2>conftest.er1
3062 grep -v '^ *+' conftest.er1 >conftest.err
3064 cat conftest.err >&5
3065 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3066 (exit $ac_status); } && {
3067 test -z "$ac_c_werror_flag" ||
3068 test ! -s conftest.err
3069 } && test -s conftest.$ac_objext; then
3072 echo "$as_me: failed program was
:" >&5
3073 sed 's/^/| /' conftest.$ac_ext >&5
3075 ac_c_werror_flag=$ac_save_c_werror_flag
3077 cat >conftest.$ac_ext <<_ACEOF
3080 cat confdefs.h >>conftest.$ac_ext
3081 cat >>conftest.$ac_ext <<_ACEOF
3082 /* end confdefs.h. */
3092 rm -f conftest.$ac_objext
3093 if { (ac_try="$ac_compile"
3095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3096 *) ac_try_echo=$ac_try;;
3098 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3099 (eval "$ac_compile") 2>conftest.er1
3101 grep -v '^ *+' conftest.er1 >conftest.err
3103 cat conftest.err >&5
3104 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3105 (exit $ac_status); } && {
3106 test -z "$ac_c_werror_flag" ||
3107 test ! -s conftest.err
3108 } && test -s conftest.$ac_objext; then
3111 echo "$as_me: failed program was
:" >&5
3112 sed 's/^/| /' conftest.$ac_ext >&5
3117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3124 ac_c_werror_flag=$ac_save_c_werror_flag
3126 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
3127 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3128 if test "$ac_test_CFLAGS" = set; then
3129 CFLAGS=$ac_save_CFLAGS
3130 elif test $ac_cv_prog_cc_g = yes; then
3131 if test "$GCC" = yes; then
3137 if test "$GCC" = yes; then
3143 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
3144 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
3145 if test "${ac_cv_prog_cc_c89+set}" = set; then
3146 echo $ECHO_N "(cached
) $ECHO_C" >&6
3148 ac_cv_prog_cc_c89=no
3150 cat >conftest.$ac_ext <<_ACEOF
3153 cat confdefs.h >>conftest.$ac_ext
3154 cat >>conftest.$ac_ext <<_ACEOF
3155 /* end confdefs.h. */
3158 #include <sys/types.h>
3159 #include <sys/stat.h>
3160 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3161 struct buf { int x; };
3162 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3163 static char *e (p, i)
3169 static char *f (char * (*g) (char **, int), char **p, ...)
3174 s = g (p, va_arg (v,int));
3179 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3180 function prototypes and stuff, but not '\xHH' hex character constants.
3181 These don't provoke an error unfortunately, instead are silently treated
3182 as 'x'. The following induces an error, until -std is added to get
3183 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3184 array size at least. It's necessary to write '\x00'==0 to get something
3185 that's true only with -std. */
3186 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3188 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3189 inside strings and character constants. */
3191 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3193 int test (int i, double x);
3194 struct s1 {int (*f) (int a);};
3195 struct s2 {int (*f) (double a);};
3196 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3202 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3207 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3208 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3210 CC="$ac_save_CC $ac_arg"
3211 rm -f conftest.$ac_objext
3212 if { (ac_try="$ac_compile"
3214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3215 *) ac_try_echo=$ac_try;;
3217 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3218 (eval "$ac_compile") 2>conftest.er1
3220 grep -v '^ *+' conftest.er1 >conftest.err
3222 cat conftest.err >&5
3223 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3224 (exit $ac_status); } && {
3225 test -z "$ac_c_werror_flag" ||
3226 test ! -s conftest.err
3227 } && test -s conftest.$ac_objext; then
3228 ac_cv_prog_cc_c89=$ac_arg
3230 echo "$as_me: failed program was
:" >&5
3231 sed 's/^/| /' conftest.$ac_ext >&5
3236 rm -f core conftest.err conftest.$ac_objext
3237 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3239 rm -f conftest.$ac_ext
3244 case "x
$ac_cv_prog_cc_c89" in
3246 { echo "$as_me:$LINENO: result
: none needed
" >&5
3247 echo "${ECHO_T}none needed
" >&6; } ;;
3249 { echo "$as_me:$LINENO: result
: unsupported
" >&5
3250 echo "${ECHO_T}unsupported
" >&6; } ;;
3252 CC="$CC $ac_cv_prog_cc_c89"
3253 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
3254 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3259 ac_cpp='$CPP $CPPFLAGS'
3260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3264 depcc="$CC" am_compiler_list=
3266 { echo "$as_me:$LINENO: checking dependency style of
$depcc" >&5
3267 echo $ECHO_N "checking dependency style of
$depcc...
$ECHO_C" >&6; }
3268 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3269 echo $ECHO_N "(cached
) $ECHO_C" >&6
3271 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3272 # We make a subdir and do the tests there. Otherwise we can end up
3273 # making bogus files that we don't know about and never remove. For
3274 # instance it was reported that on HP-UX the gcc test will end up
3275 # making a dummy file named `D' -- because `-MD' means `put the output
3278 # Copy depcomp to subdir because otherwise we won't find it if we're
3279 # using a relative directory.
3280 cp "$am_depcomp" conftest.dir
3282 # We will build objects and dependencies in a subdirectory because
3283 # it helps to detect inapplicable dependency modes. For instance
3284 # both Tru64's cc and ICC support -MD to output dependencies as a
3285 # side effect of compilation, but ICC will put the dependencies in
3286 # the current directory while Tru64 will put them in the object
3290 am_cv_CC_dependencies_compiler_type=none
3291 if test "$am_compiler_list" = ""; then
3292 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3294 for depmode in $am_compiler_list; do
3295 # Setup a source with many dependencies, because some compilers
3296 # like to wrap large dependency lists on column 80 (with \), and
3297 # we should not choose a depcomp mode which is confused by this.
3299 # We need to recreate these files for each test, as the compiler may
3300 # overwrite some of them when testing with obscure command lines.
3301 # This happens at least with the AIX C compiler.
3303 for i in 1 2 3 4 5 6; do
3304 echo '#include "conftst
'$i'.h
"' >> sub/conftest.c
3305 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3306 # Solaris 8's {/usr,}/bin/sh.
3307 touch sub/conftst$i.h
3309 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3313 # after this tag, mechanisms are not by side-effect, so they'll
3314 # only be used when explicitly requested
3315 if test "x
$enable_dependency_tracking" = xyes; then
3323 # We check with `-c' and `-o' for the sake of the "dashmstdout
"
3324 # mode. It turns out that the SunPro C++ compiler does not properly
3325 # handle `-M -o', and we need to detect this.
3326 if depmode=$depmode \
3327 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3328 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3329 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3330 >/dev/null 2>conftest.err &&
3331 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3332 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3333 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3334 # icc doesn't choke on unknown options, it will just issue warnings
3335 # or remarks (even with -Werror). So we grep stderr for any message
3336 # that says an option was ignored or not supported.
3337 # When given -MP, icc 7.0 and 7.1 complain thusly:
3338 # icc: Command line warning: ignoring option '-M'; no argument required
3339 # The diagnosis changed in icc 8.0:
3340 # icc: Command line remark: option '-MP' not supported
3341 if (grep 'ignoring option' conftest.err ||
3342 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3343 am_cv_CC_dependencies_compiler_type=$depmode
3352 am_cv_CC_dependencies_compiler_type=none
3356 { echo "$as_me:$LINENO: result
: $am_cv_CC_dependencies_compiler_type" >&5
3357 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3358 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3363 test "x
$enable_dependency_tracking" != xno \
3364 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3366 am__fastdepCC_FALSE='#'
3368 am__fastdepCC_TRUE='#'
3369 am__fastdepCC_FALSE=
3374 { echo "$as_me:$LINENO: checking
for library containing strerror
" >&5
3375 echo $ECHO_N "checking
for library containing strerror...
$ECHO_C" >&6; }
3376 if test "${ac_cv_search_strerror+set}" = set; then
3377 echo $ECHO_N "(cached
) $ECHO_C" >&6
3379 ac_func_search_save_LIBS=$LIBS
3380 cat >conftest.$ac_ext <<_ACEOF
3383 cat confdefs.h >>conftest.$ac_ext
3384 cat >>conftest.$ac_ext <<_ACEOF
3385 /* end confdefs.h. */
3387 /* Override any GCC internal prototype to avoid an error.
3388 Use char because int might match the return type of a GCC
3389 builtin and then its argument prototype would still apply. */
3402 for ac_lib in '' cposix; do
3403 if test -z "$ac_lib"; then
3404 ac_res="none required
"
3407 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3409 rm -f conftest.$ac_objext conftest$ac_exeext
3410 if { (ac_try="$ac_link"
3412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3413 *) ac_try_echo=$ac_try;;
3415 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3416 (eval "$ac_link") 2>conftest.er1
3418 grep -v '^ *+' conftest.er1 >conftest.err
3420 cat conftest.err >&5
3421 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3422 (exit $ac_status); } && {
3423 test -z "$ac_c_werror_flag" ||
3424 test ! -s conftest.err
3425 } && test -s conftest$ac_exeext &&
3426 $as_test_x conftest$ac_exeext; then
3427 ac_cv_search_strerror=$ac_res
3429 echo "$as_me: failed program was
:" >&5
3430 sed 's/^/| /' conftest.$ac_ext >&5
3435 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3437 if test "${ac_cv_search_strerror+set}" = set; then
3441 if test "${ac_cv_search_strerror+set}" = set; then
3444 ac_cv_search_strerror=no
3447 LIBS=$ac_func_search_save_LIBS
3449 { echo "$as_me:$LINENO: result
: $ac_cv_search_strerror" >&5
3450 echo "${ECHO_T}$ac_cv_search_strerror" >&6; }
3451 ac_res=$ac_cv_search_strerror
3452 if test "$ac_res" != no; then
3453 test "$ac_res" = "none required
" || LIBS="$ac_res $LIBS"
3459 ac_cpp='$CPP $CPPFLAGS'
3460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3463 if test -n "$ac_tool_prefix"; then
3464 # Extract the first word of "${ac_tool_prefix}gcc
", so it can be a program name with args.
3465 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3466 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3467 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3468 if test "${ac_cv_prog_CC+set}" = set; then
3469 echo $ECHO_N "(cached
) $ECHO_C" >&6
3471 if test -n "$CC"; then
3472 ac_cv_prog_CC="$CC" # Let the user override the test.
3474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3478 test -z "$as_dir" && as_dir=.
3479 for ac_exec_ext in '' $ac_executable_extensions; do
3480 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3481 ac_cv_prog_CC="${ac_tool_prefix}gcc
"
3482 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3492 if test -n "$CC"; then
3493 { echo "$as_me:$LINENO: result
: $CC" >&5
3494 echo "${ECHO_T}$CC" >&6; }
3496 { echo "$as_me:$LINENO: result
: no
" >&5
3497 echo "${ECHO_T}no
" >&6; }
3502 if test -z "$ac_cv_prog_CC"; then
3504 # Extract the first word of "gcc
", so it can be a program name with args.
3505 set dummy gcc; ac_word=$2
3506 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3507 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3508 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3509 echo $ECHO_N "(cached
) $ECHO_C" >&6
3511 if test -n "$ac_ct_CC"; then
3512 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3518 test -z "$as_dir" && as_dir=.
3519 for ac_exec_ext in '' $ac_executable_extensions; do
3520 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3521 ac_cv_prog_ac_ct_CC="gcc
"
3522 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3531 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3532 if test -n "$ac_ct_CC"; then
3533 { echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
3534 echo "${ECHO_T}$ac_ct_CC" >&6; }
3536 { echo "$as_me:$LINENO: result
: no
" >&5
3537 echo "${ECHO_T}no
" >&6; }
3540 if test "x
$ac_ct_CC" = x; then
3543 case $cross_compiling:$ac_tool_warned in
3545 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
3546 whose name does not start with the
host triplet. If you think this
3547 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
3548 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
3549 whose name does not start with the
host triplet. If you think this
3550 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
3551 ac_tool_warned=yes ;;
3559 if test -z "$CC"; then
3560 if test -n "$ac_tool_prefix"; then
3561 # Extract the first word of "${ac_tool_prefix}cc
", so it can be a program name with args.
3562 set dummy ${ac_tool_prefix}cc; ac_word=$2
3563 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3564 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3565 if test "${ac_cv_prog_CC+set}" = set; then
3566 echo $ECHO_N "(cached
) $ECHO_C" >&6
3568 if test -n "$CC"; then
3569 ac_cv_prog_CC="$CC" # Let the user override the test.
3571 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3575 test -z "$as_dir" && as_dir=.
3576 for ac_exec_ext in '' $ac_executable_extensions; do
3577 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3578 ac_cv_prog_CC="${ac_tool_prefix}cc
"
3579 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3589 if test -n "$CC"; then
3590 { echo "$as_me:$LINENO: result
: $CC" >&5
3591 echo "${ECHO_T}$CC" >&6; }
3593 { echo "$as_me:$LINENO: result
: no
" >&5
3594 echo "${ECHO_T}no
" >&6; }
3600 if test -z "$CC"; then
3601 # Extract the first word of "cc
", so it can be a program name with args.
3602 set dummy cc; ac_word=$2
3603 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3604 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3605 if test "${ac_cv_prog_CC+set}" = set; then
3606 echo $ECHO_N "(cached
) $ECHO_C" >&6
3608 if test -n "$CC"; then
3609 ac_cv_prog_CC="$CC" # Let the user override the test.
3612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3616 test -z "$as_dir" && as_dir=.
3617 for ac_exec_ext in '' $ac_executable_extensions; do
3618 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3619 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr
/ucb
/cc
"; then
3620 ac_prog_rejected=yes
3624 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3631 if test $ac_prog_rejected = yes; then
3632 # We found a bogon in the path, so make sure we never use it.
3633 set dummy $ac_cv_prog_CC
3635 if test $# != 0; then
3636 # We chose a different compiler from the bogus one.
3637 # However, it has the same basename, so the bogon will be chosen
3638 # first if we set CC to just the basename; use the full file name.
3640 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@
"
3646 if test -n "$CC"; then
3647 { echo "$as_me:$LINENO: result
: $CC" >&5
3648 echo "${ECHO_T}$CC" >&6; }
3650 { echo "$as_me:$LINENO: result
: no
" >&5
3651 echo "${ECHO_T}no
" >&6; }
3656 if test -z "$CC"; then
3657 if test -n "$ac_tool_prefix"; then
3658 for ac_prog in cl.exe
3660 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3661 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3662 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3663 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3664 if test "${ac_cv_prog_CC+set}" = set; then
3665 echo $ECHO_N "(cached
) $ECHO_C" >&6
3667 if test -n "$CC"; then
3668 ac_cv_prog_CC="$CC" # Let the user override the test.
3670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3674 test -z "$as_dir" && as_dir=.
3675 for ac_exec_ext in '' $ac_executable_extensions; do
3676 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3677 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3678 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3688 if test -n "$CC"; then
3689 { echo "$as_me:$LINENO: result
: $CC" >&5
3690 echo "${ECHO_T}$CC" >&6; }
3692 { echo "$as_me:$LINENO: result
: no
" >&5
3693 echo "${ECHO_T}no
" >&6; }
3697 test -n "$CC" && break
3700 if test -z "$CC"; then
3702 for ac_prog in cl.exe
3704 # Extract the first word of "$ac_prog", so it can be a program name with args.
3705 set dummy $ac_prog; ac_word=$2
3706 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3707 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3708 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3709 echo $ECHO_N "(cached
) $ECHO_C" >&6
3711 if test -n "$ac_ct_CC"; then
3712 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3718 test -z "$as_dir" && as_dir=.
3719 for ac_exec_ext in '' $ac_executable_extensions; do
3720 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3721 ac_cv_prog_ac_ct_CC="$ac_prog"
3722 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3731 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3732 if test -n "$ac_ct_CC"; then
3733 { echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
3734 echo "${ECHO_T}$ac_ct_CC" >&6; }
3736 { echo "$as_me:$LINENO: result
: no
" >&5
3737 echo "${ECHO_T}no
" >&6; }
3741 test -n "$ac_ct_CC" && break
3744 if test "x
$ac_ct_CC" = x; then
3747 case $cross_compiling:$ac_tool_warned in
3749 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
3750 whose name does not start with the
host triplet. If you think this
3751 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
3752 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
3753 whose name does not start with the
host triplet. If you think this
3754 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
3755 ac_tool_warned=yes ;;
3764 test -z "$CC" && { { echo "$as_me:$LINENO: error
: no acceptable C compiler found
in \
$PATH
3765 See \
`config.log' for more details." >&5
3766 echo "$as_me: error: no acceptable C compiler found in \$PATH
3767 See \`config.log
' for more details." >&2;}
3768 { (exit 1); exit 1; }; }
3770 # Provide some information about the compiler.
3771 echo "$as_me:$LINENO: checking for C compiler version" >&5
3772 ac_compiler=`set X $ac_compile; echo $2`
3773 { (ac_try="$ac_compiler --version >&5"
3775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3776 *) ac_try_echo=$ac_try;;
3778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3779 (eval "$ac_compiler --version >&5") 2>&5
3781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3782 (exit $ac_status); }
3783 { (ac_try="$ac_compiler -v >&5"
3785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3786 *) ac_try_echo=$ac_try;;
3788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3789 (eval "$ac_compiler -v >&5") 2>&5
3791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3792 (exit $ac_status); }
3793 { (ac_try="$ac_compiler -V >&5"
3795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3796 *) ac_try_echo=$ac_try;;
3798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3799 (eval "$ac_compiler -V >&5") 2>&5
3801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3802 (exit $ac_status); }
3804 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3805 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3806 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3807 echo $ECHO_N "(cached) $ECHO_C" >&6
3809 cat >conftest.$ac_ext <<_ACEOF
3812 cat confdefs.h >>conftest.$ac_ext
3813 cat >>conftest.$ac_ext <<_ACEOF
3814 /* end confdefs.h. */
3827 rm -f conftest.$ac_objext
3828 if { (ac_try="$ac_compile"
3830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3831 *) ac_try_echo=$ac_try;;
3833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3834 (eval "$ac_compile") 2>conftest.er1
3836 grep -v '^
*+' conftest.er1 >conftest.err
3838 cat conftest.err >&5
3839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3840 (exit $ac_status); } && {
3841 test -z "$ac_c_werror_flag" ||
3842 test ! -s conftest.err
3843 } && test -s conftest.$ac_objext; then
3846 echo "$as_me: failed program was:" >&5
3847 sed 's
/^
/|
/' conftest.$ac_ext >&5
3852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3853 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3856 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3857 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3858 GCC=`test $ac_compiler_gnu = yes && echo yes`
3859 ac_test_CFLAGS=${CFLAGS+set}
3860 ac_save_CFLAGS=$CFLAGS
3861 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3862 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3863 if test "${ac_cv_prog_cc_g+set}" = set; then
3864 echo $ECHO_N "(cached) $ECHO_C" >&6
3866 ac_save_c_werror_flag=$ac_c_werror_flag
3867 ac_c_werror_flag=yes
3870 cat >conftest.$ac_ext <<_ACEOF
3873 cat confdefs.h >>conftest.$ac_ext
3874 cat >>conftest.$ac_ext <<_ACEOF
3875 /* end confdefs.h. */
3885 rm -f conftest.$ac_objext
3886 if { (ac_try="$ac_compile"
3888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3889 *) ac_try_echo=$ac_try;;
3891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3892 (eval "$ac_compile") 2>conftest.er1
3894 grep -v '^
*+' conftest.er1 >conftest.err
3896 cat conftest.err >&5
3897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3898 (exit $ac_status); } && {
3899 test -z "$ac_c_werror_flag" ||
3900 test ! -s conftest.err
3901 } && test -s conftest.$ac_objext; then
3904 echo "$as_me: failed program was:" >&5
3905 sed 's
/^
/|
/' conftest.$ac_ext >&5
3908 cat >conftest.$ac_ext <<_ACEOF
3911 cat confdefs.h >>conftest.$ac_ext
3912 cat >>conftest.$ac_ext <<_ACEOF
3913 /* end confdefs.h. */
3923 rm -f conftest.$ac_objext
3924 if { (ac_try="$ac_compile"
3926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3927 *) ac_try_echo=$ac_try;;
3929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3930 (eval "$ac_compile") 2>conftest.er1
3932 grep -v '^
*+' conftest.er1 >conftest.err
3934 cat conftest.err >&5
3935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3936 (exit $ac_status); } && {
3937 test -z "$ac_c_werror_flag" ||
3938 test ! -s conftest.err
3939 } && test -s conftest.$ac_objext; then
3942 echo "$as_me: failed program was:" >&5
3943 sed 's
/^
/|
/' conftest.$ac_ext >&5
3945 ac_c_werror_flag=$ac_save_c_werror_flag
3947 cat >conftest.$ac_ext <<_ACEOF
3950 cat confdefs.h >>conftest.$ac_ext
3951 cat >>conftest.$ac_ext <<_ACEOF
3952 /* end confdefs.h. */
3962 rm -f conftest.$ac_objext
3963 if { (ac_try="$ac_compile"
3965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3966 *) ac_try_echo=$ac_try;;
3968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3969 (eval "$ac_compile") 2>conftest.er1
3971 grep -v '^
*+' conftest.er1 >conftest.err
3973 cat conftest.err >&5
3974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3975 (exit $ac_status); } && {
3976 test -z "$ac_c_werror_flag" ||
3977 test ! -s conftest.err
3978 } && test -s conftest.$ac_objext; then
3981 echo "$as_me: failed program was:" >&5
3982 sed 's
/^
/|
/' conftest.$ac_ext >&5
3987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3994 ac_c_werror_flag=$ac_save_c_werror_flag
3996 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3997 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3998 if test "$ac_test_CFLAGS" = set; then
3999 CFLAGS=$ac_save_CFLAGS
4000 elif test $ac_cv_prog_cc_g = yes; then
4001 if test "$GCC" = yes; then
4007 if test "$GCC" = yes; then
4013 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
4014 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
4015 if test "${ac_cv_prog_cc_c89+set}" = set; then
4016 echo $ECHO_N "(cached) $ECHO_C" >&6
4018 ac_cv_prog_cc_c89=no
4020 cat >conftest.$ac_ext <<_ACEOF
4023 cat confdefs.h >>conftest.$ac_ext
4024 cat >>conftest.$ac_ext <<_ACEOF
4025 /* end confdefs.h. */
4028 #include <sys/types.h>
4029 #include <sys/stat.h>
4030 /* Most of the following tests are stolen from RCS 5.7's src
/conf.sh.
*/
4031 struct buf
{ int x
; };
4032 FILE
* (*rcsopen
) (struct buf
*, struct stat
*, int
);
4033 static char
*e
(p
, i
)
4039 static char
*f
(char
* (*g
) (char
**, int
), char
**p
, ...
)
4044 s
= g
(p
, va_arg
(v
,int
));
4049 /* OSF
4.0 Compaq cc is some
sort of almost-ANSI by default. It has
4050 function prototypes and stuff
, but not
'\xHH' hex character constants.
4051 These don
't provoke an error unfortunately, instead are silently treated
4052 as 'x
'. The following induces an error, until -std is added to get
4053 proper ANSI mode. Curiously '\x00'!='x
' always comes out true, for an
4054 array size at least. It's necessary to
write '\x00'==0 to get something
4055 that
's true only with -std. */
4056 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4058 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4059 inside strings and character constants. */
4061 int xlc6_cc_array[FOO(a) == 'x
' ? 1 : -1];
4063 int test (int i, double x);
4064 struct s1 {int (*f) (int a);};
4065 struct s2 {int (*f) (double a);};
4066 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4072 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4077 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4078 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4080 CC="$ac_save_CC $ac_arg"
4081 rm -f conftest.$ac_objext
4082 if { (ac_try="$ac_compile"
4084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4085 *) ac_try_echo=$ac_try;;
4087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4088 (eval "$ac_compile") 2>conftest.er1
4090 grep -v '^
*+' conftest.er1 >conftest.err
4092 cat conftest.err >&5
4093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4094 (exit $ac_status); } && {
4095 test -z "$ac_c_werror_flag" ||
4096 test ! -s conftest.err
4097 } && test -s conftest.$ac_objext; then
4098 ac_cv_prog_cc_c89=$ac_arg
4100 echo "$as_me: failed program was:" >&5
4101 sed 's
/^
/|
/' conftest.$ac_ext >&5
4106 rm -f core conftest.err conftest.$ac_objext
4107 test "x$ac_cv_prog_cc_c89" != "xno" && break
4109 rm -f conftest.$ac_ext
4114 case "x$ac_cv_prog_cc_c89" in
4116 { echo "$as_me:$LINENO: result: none needed" >&5
4117 echo "${ECHO_T}none needed" >&6; } ;;
4119 { echo "$as_me:$LINENO: result: unsupported" >&5
4120 echo "${ECHO_T}unsupported" >&6; } ;;
4122 CC="$CC $ac_cv_prog_cc_c89"
4123 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
4124 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
4129 ac_cpp='$CPP $CPPFLAGS'
4130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
4131 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
4132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4134 depcc="$CC" am_compiler_list=
4136 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4137 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
4138 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4139 echo $ECHO_N "(cached) $ECHO_C" >&6
4141 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4142 # We make a subdir and do the tests there. Otherwise we can end up
4143 # making bogus files that we don't know about and never remove. For
4144 # instance it was reported that on HP-UX the gcc test will end up
4145 # making a dummy file named `D' -- because `-MD' means `put the output
4148 # Copy depcomp to subdir because otherwise we won't find it if we're
4149 # using a relative directory.
4150 cp "$am_depcomp" conftest.dir
4152 # We will build objects and dependencies in a subdirectory because
4153 # it helps to detect inapplicable dependency modes. For instance
4154 # both Tru64's cc and ICC support -MD to output dependencies as a
4155 # side effect of compilation, but ICC will put the dependencies in
4156 # the current directory while Tru64 will put them in the object
4160 am_cv_CC_dependencies_compiler_type
=none
4161 if test "$am_compiler_list" = ""; then
4162 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4164 for depmode
in $am_compiler_list; do
4165 # Setup a source with many dependencies, because some compilers
4166 # like to wrap large dependency lists on column 80 (with \), and
4167 # we should not choose a depcomp mode which is confused by this.
4169 # We need to recreate these files for each test, as the compiler may
4170 # overwrite some of them when testing with obscure command lines.
4171 # This happens at least with the AIX C compiler.
4173 for i
in 1 2 3 4 5 6; do
4174 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4175 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4176 # Solaris 8's {/usr,}/bin/sh.
4177 touch sub
/conftst
$i.h
4179 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4183 # after this tag, mechanisms are not by side-effect, so they'll
4184 # only be used when explicitly requested
4185 if test "x$enable_dependency_tracking" = xyes
; then
4193 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4194 # mode. It turns out that the SunPro C++ compiler does not properly
4195 # handle `-M -o', and we need to detect this.
4196 if depmode
=$depmode \
4197 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
4198 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4199 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
4200 >/dev
/null
2>conftest.err
&&
4201 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4202 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
4203 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4204 # icc doesn't choke on unknown options, it will just issue warnings
4205 # or remarks (even with -Werror). So we grep stderr for any message
4206 # that says an option was ignored or not supported.
4207 # When given -MP, icc 7.0 and 7.1 complain thusly:
4208 # icc: Command line warning: ignoring option '-M'; no argument required
4209 # The diagnosis changed in icc 8.0:
4210 # icc: Command line remark: option '-MP' not supported
4211 if (grep 'ignoring option' conftest.err ||
4212 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4213 am_cv_CC_dependencies_compiler_type
=$depmode
4222 am_cv_CC_dependencies_compiler_type
=none
4226 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4227 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
4228 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4233 test "x$enable_dependency_tracking" != xno \
4234 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4236 am__fastdepCC_FALSE
='#'
4238 am__fastdepCC_TRUE
='#'
4239 am__fastdepCC_FALSE
=
4244 ac_cpp
='$CPP $CPPFLAGS'
4245 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4246 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4247 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4248 if test -n "$ac_tool_prefix"; then
4249 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4250 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4251 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4252 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4253 if test "${ac_cv_prog_CC+set}" = set; then
4254 echo $ECHO_N "(cached) $ECHO_C" >&6
4256 if test -n "$CC"; then
4257 ac_cv_prog_CC
="$CC" # Let the user override the test.
4259 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4263 test -z "$as_dir" && as_dir
=.
4264 for ac_exec_ext
in '' $ac_executable_extensions; do
4265 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4266 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4267 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4277 if test -n "$CC"; then
4278 { echo "$as_me:$LINENO: result: $CC" >&5
4279 echo "${ECHO_T}$CC" >&6; }
4281 { echo "$as_me:$LINENO: result: no" >&5
4282 echo "${ECHO_T}no" >&6; }
4287 if test -z "$ac_cv_prog_CC"; then
4289 # Extract the first word of "gcc", so it can be a program name with args.
4290 set dummy gcc
; ac_word
=$2
4291 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4292 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4293 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4294 echo $ECHO_N "(cached) $ECHO_C" >&6
4296 if test -n "$ac_ct_CC"; then
4297 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4299 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4303 test -z "$as_dir" && as_dir
=.
4304 for ac_exec_ext
in '' $ac_executable_extensions; do
4305 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4306 ac_cv_prog_ac_ct_CC
="gcc"
4307 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4316 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4317 if test -n "$ac_ct_CC"; then
4318 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4319 echo "${ECHO_T}$ac_ct_CC" >&6; }
4321 { echo "$as_me:$LINENO: result: no" >&5
4322 echo "${ECHO_T}no" >&6; }
4325 if test "x$ac_ct_CC" = x
; then
4328 case $cross_compiling:$ac_tool_warned in
4330 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4331 whose name does not start with the host triplet. If you think this
4332 configuration is useful to you, please write to autoconf@gnu.org." >&5
4333 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4334 whose name does not start with the host triplet. If you think this
4335 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4336 ac_tool_warned
=yes ;;
4344 if test -z "$CC"; then
4345 if test -n "$ac_tool_prefix"; then
4346 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4347 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4348 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4349 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4350 if test "${ac_cv_prog_CC+set}" = set; then
4351 echo $ECHO_N "(cached) $ECHO_C" >&6
4353 if test -n "$CC"; then
4354 ac_cv_prog_CC
="$CC" # Let the user override the test.
4356 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4360 test -z "$as_dir" && as_dir
=.
4361 for ac_exec_ext
in '' $ac_executable_extensions; do
4362 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4363 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4364 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4374 if test -n "$CC"; then
4375 { echo "$as_me:$LINENO: result: $CC" >&5
4376 echo "${ECHO_T}$CC" >&6; }
4378 { echo "$as_me:$LINENO: result: no" >&5
4379 echo "${ECHO_T}no" >&6; }
4385 if test -z "$CC"; then
4386 # Extract the first word of "cc", so it can be a program name with args.
4387 set dummy cc
; ac_word
=$2
4388 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4389 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4390 if test "${ac_cv_prog_CC+set}" = set; then
4391 echo $ECHO_N "(cached) $ECHO_C" >&6
4393 if test -n "$CC"; then
4394 ac_cv_prog_CC
="$CC" # Let the user override the test.
4397 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4401 test -z "$as_dir" && as_dir
=.
4402 for ac_exec_ext
in '' $ac_executable_extensions; do
4403 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4404 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4405 ac_prog_rejected
=yes
4409 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4416 if test $ac_prog_rejected = yes; then
4417 # We found a bogon in the path, so make sure we never use it.
4418 set dummy
$ac_cv_prog_CC
4420 if test $# != 0; then
4421 # We chose a different compiler from the bogus one.
4422 # However, it has the same basename, so the bogon will be chosen
4423 # first if we set CC to just the basename; use the full file name.
4425 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4431 if test -n "$CC"; then
4432 { echo "$as_me:$LINENO: result: $CC" >&5
4433 echo "${ECHO_T}$CC" >&6; }
4435 { echo "$as_me:$LINENO: result: no" >&5
4436 echo "${ECHO_T}no" >&6; }
4441 if test -z "$CC"; then
4442 if test -n "$ac_tool_prefix"; then
4443 for ac_prog
in cl.exe
4445 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4446 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4447 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4448 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4449 if test "${ac_cv_prog_CC+set}" = set; then
4450 echo $ECHO_N "(cached) $ECHO_C" >&6
4452 if test -n "$CC"; then
4453 ac_cv_prog_CC
="$CC" # Let the user override the test.
4455 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4459 test -z "$as_dir" && as_dir
=.
4460 for ac_exec_ext
in '' $ac_executable_extensions; do
4461 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4462 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4463 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4473 if test -n "$CC"; then
4474 { echo "$as_me:$LINENO: result: $CC" >&5
4475 echo "${ECHO_T}$CC" >&6; }
4477 { echo "$as_me:$LINENO: result: no" >&5
4478 echo "${ECHO_T}no" >&6; }
4482 test -n "$CC" && break
4485 if test -z "$CC"; then
4487 for ac_prog
in cl.exe
4489 # Extract the first word of "$ac_prog", so it can be a program name with args.
4490 set dummy
$ac_prog; ac_word
=$2
4491 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4492 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4493 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4494 echo $ECHO_N "(cached) $ECHO_C" >&6
4496 if test -n "$ac_ct_CC"; then
4497 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4499 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4503 test -z "$as_dir" && as_dir
=.
4504 for ac_exec_ext
in '' $ac_executable_extensions; do
4505 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4506 ac_cv_prog_ac_ct_CC
="$ac_prog"
4507 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4516 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4517 if test -n "$ac_ct_CC"; then
4518 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4519 echo "${ECHO_T}$ac_ct_CC" >&6; }
4521 { echo "$as_me:$LINENO: result: no" >&5
4522 echo "${ECHO_T}no" >&6; }
4526 test -n "$ac_ct_CC" && break
4529 if test "x$ac_ct_CC" = x
; then
4532 case $cross_compiling:$ac_tool_warned in
4534 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4535 whose name does not start with the host triplet. If you think this
4536 configuration is useful to you, please write to autoconf@gnu.org." >&5
4537 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4538 whose name does not start with the host triplet. If you think this
4539 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4540 ac_tool_warned
=yes ;;
4549 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4550 See \`config.log' for more details." >&5
4551 echo "$as_me: error: no acceptable C compiler found in \$PATH
4552 See \`config.log' for more details." >&2;}
4553 { (exit 1); exit 1; }; }
4555 # Provide some information about the compiler.
4556 echo "$as_me:$LINENO: checking for C compiler version" >&5
4557 ac_compiler
=`set X $ac_compile; echo $2`
4558 { (ac_try
="$ac_compiler --version >&5"
4560 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4561 *) ac_try_echo=$ac_try;;
4563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4564 (eval "$ac_compiler --version >&5") 2>&5
4566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4567 (exit $ac_status); }
4568 { (ac_try="$ac_compiler -v >&5"
4570 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4571 *) ac_try_echo
=$ac_try;;
4573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4574 (eval "$ac_compiler -v >&5") 2>&5
4576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4577 (exit $ac_status); }
4578 { (ac_try
="$ac_compiler -V >&5"
4580 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4581 *) ac_try_echo=$ac_try;;
4583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4584 (eval "$ac_compiler -V >&5") 2>&5
4586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4587 (exit $ac_status); }
4589 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4590 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
4591 if test "${ac_cv_c_compiler_gnu+set}" = set; then
4592 echo $ECHO_N "(cached) $ECHO_C" >&6
4594 cat >conftest.$ac_ext <<_ACEOF
4597 cat confdefs.h >>conftest.$ac_ext
4598 cat >>conftest.$ac_ext <<_ACEOF
4599 /* end confdefs.h. */
4612 rm -f conftest.$ac_objext
4613 if { (ac_try="$ac_compile"
4615 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4616 *) ac_try_echo
=$ac_try;;
4618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4619 (eval "$ac_compile") 2>conftest.er1
4621 grep -v '^ *+' conftest.er1
>conftest.err
4623 cat conftest.err
>&5
4624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4625 (exit $ac_status); } && {
4626 test -z "$ac_c_werror_flag" ||
4627 test ! -s conftest.err
4628 } && test -s conftest.
$ac_objext; then
4631 echo "$as_me: failed program was:" >&5
4632 sed 's/^/| /' conftest.
$ac_ext >&5
4637 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4638 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
4641 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4642 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
4643 GCC
=`test $ac_compiler_gnu = yes && echo yes`
4644 ac_test_CFLAGS
=${CFLAGS+set}
4645 ac_save_CFLAGS
=$CFLAGS
4646 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4647 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
4648 if test "${ac_cv_prog_cc_g+set}" = set; then
4649 echo $ECHO_N "(cached) $ECHO_C" >&6
4651 ac_save_c_werror_flag
=$ac_c_werror_flag
4652 ac_c_werror_flag
=yes
4655 cat >conftest.
$ac_ext <<_ACEOF
4658 cat confdefs.h
>>conftest.
$ac_ext
4659 cat >>conftest.
$ac_ext <<_ACEOF
4660 /* end confdefs.h. */
4670 rm -f conftest.
$ac_objext
4671 if { (ac_try
="$ac_compile"
4673 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4674 *) ac_try_echo=$ac_try;;
4676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4677 (eval "$ac_compile") 2>conftest.er1
4679 grep -v '^ *+' conftest.er1 >conftest.err
4681 cat conftest.err >&5
4682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4683 (exit $ac_status); } && {
4684 test -z "$ac_c_werror_flag" ||
4685 test ! -s conftest.err
4686 } && test -s conftest.$ac_objext; then
4689 echo "$as_me: failed program was:" >&5
4690 sed 's/^/| /' conftest.$ac_ext >&5
4693 cat >conftest.$ac_ext <<_ACEOF
4696 cat confdefs.h >>conftest.$ac_ext
4697 cat >>conftest.$ac_ext <<_ACEOF
4698 /* end confdefs.h. */
4708 rm -f conftest.$ac_objext
4709 if { (ac_try="$ac_compile"
4711 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4712 *) ac_try_echo
=$ac_try;;
4714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4715 (eval "$ac_compile") 2>conftest.er1
4717 grep -v '^ *+' conftest.er1
>conftest.err
4719 cat conftest.err
>&5
4720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4721 (exit $ac_status); } && {
4722 test -z "$ac_c_werror_flag" ||
4723 test ! -s conftest.err
4724 } && test -s conftest.
$ac_objext; then
4727 echo "$as_me: failed program was:" >&5
4728 sed 's/^/| /' conftest.
$ac_ext >&5
4730 ac_c_werror_flag
=$ac_save_c_werror_flag
4732 cat >conftest.
$ac_ext <<_ACEOF
4735 cat confdefs.h
>>conftest.
$ac_ext
4736 cat >>conftest.
$ac_ext <<_ACEOF
4737 /* end confdefs.h. */
4747 rm -f conftest.
$ac_objext
4748 if { (ac_try
="$ac_compile"
4750 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4751 *) ac_try_echo=$ac_try;;
4753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4754 (eval "$ac_compile") 2>conftest.er1
4756 grep -v '^ *+' conftest.er1 >conftest.err
4758 cat conftest.err >&5
4759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4760 (exit $ac_status); } && {
4761 test -z "$ac_c_werror_flag" ||
4762 test ! -s conftest.err
4763 } && test -s conftest.$ac_objext; then
4766 echo "$as_me: failed program was:" >&5
4767 sed 's/^/| /' conftest.$ac_ext >&5
4772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4779 ac_c_werror_flag=$ac_save_c_werror_flag
4781 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4782 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
4783 if test "$ac_test_CFLAGS" = set; then
4784 CFLAGS=$ac_save_CFLAGS
4785 elif test $ac_cv_prog_cc_g = yes; then
4786 if test "$GCC" = yes; then
4792 if test "$GCC" = yes; then
4798 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
4799 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
4800 if test "${ac_cv_prog_cc_c89+set}" = set; then
4801 echo $ECHO_N "(cached) $ECHO_C" >&6
4803 ac_cv_prog_cc_c89=no
4805 cat >conftest.$ac_ext <<_ACEOF
4808 cat confdefs.h >>conftest.$ac_ext
4809 cat >>conftest.$ac_ext <<_ACEOF
4810 /* end confdefs.h. */
4813 #include <sys/types.h>
4814 #include <sys/stat.h>
4815 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4816 struct buf { int x; };
4817 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4818 static char *e (p, i)
4824 static char *f (char * (*g) (char **, int), char **p, ...)
4829 s = g (p, va_arg (v,int));
4834 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4835 function prototypes and stuff, but not '\xHH' hex character constants.
4836 These don't provoke an error unfortunately, instead are silently treated
4837 as 'x'. The following induces an error, until -std is added to get
4838 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4839 array size at least. It's necessary to write '\x00'==0 to get something
4840 that's true only with -std. */
4841 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4843 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4844 inside strings and character constants. */
4846 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4848 int test (int i, double x);
4849 struct s1 {int (*f) (int a);};
4850 struct s2 {int (*f) (double a);};
4851 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4857 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4862 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4863 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4865 CC="$ac_save_CC $ac_arg"
4866 rm -f conftest.$ac_objext
4867 if { (ac_try="$ac_compile"
4869 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4870 *) ac_try_echo
=$ac_try;;
4872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4873 (eval "$ac_compile") 2>conftest.er1
4875 grep -v '^ *+' conftest.er1
>conftest.err
4877 cat conftest.err
>&5
4878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4879 (exit $ac_status); } && {
4880 test -z "$ac_c_werror_flag" ||
4881 test ! -s conftest.err
4882 } && test -s conftest.
$ac_objext; then
4883 ac_cv_prog_cc_c89
=$ac_arg
4885 echo "$as_me: failed program was:" >&5
4886 sed 's/^/| /' conftest.
$ac_ext >&5
4891 rm -f core conftest.err conftest.
$ac_objext
4892 test "x$ac_cv_prog_cc_c89" != "xno" && break
4894 rm -f conftest.
$ac_ext
4899 case "x$ac_cv_prog_cc_c89" in
4901 { echo "$as_me:$LINENO: result: none needed" >&5
4902 echo "${ECHO_T}none needed" >&6; } ;;
4904 { echo "$as_me:$LINENO: result: unsupported" >&5
4905 echo "${ECHO_T}unsupported" >&6; } ;;
4907 CC
="$CC $ac_cv_prog_cc_c89"
4908 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
4909 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
4914 ac_cpp
='$CPP $CPPFLAGS'
4915 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4916 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4917 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4919 depcc
="$CC" am_compiler_list
=
4921 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4922 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
4923 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4924 echo $ECHO_N "(cached) $ECHO_C" >&6
4926 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4927 # We make a subdir and do the tests there. Otherwise we can end up
4928 # making bogus files that we don't know about and never remove. For
4929 # instance it was reported that on HP-UX the gcc test will end up
4930 # making a dummy file named `D' -- because `-MD' means `put the output
4933 # Copy depcomp to subdir because otherwise we won't find it if we're
4934 # using a relative directory.
4935 cp "$am_depcomp" conftest.dir
4937 # We will build objects and dependencies in a subdirectory because
4938 # it helps to detect inapplicable dependency modes. For instance
4939 # both Tru64's cc and ICC support -MD to output dependencies as a
4940 # side effect of compilation, but ICC will put the dependencies in
4941 # the current directory while Tru64 will put them in the object
4945 am_cv_CC_dependencies_compiler_type
=none
4946 if test "$am_compiler_list" = ""; then
4947 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4949 for depmode
in $am_compiler_list; do
4950 # Setup a source with many dependencies, because some compilers
4951 # like to wrap large dependency lists on column 80 (with \), and
4952 # we should not choose a depcomp mode which is confused by this.
4954 # We need to recreate these files for each test, as the compiler may
4955 # overwrite some of them when testing with obscure command lines.
4956 # This happens at least with the AIX C compiler.
4958 for i
in 1 2 3 4 5 6; do
4959 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4960 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4961 # Solaris 8's {/usr,}/bin/sh.
4962 touch sub
/conftst
$i.h
4964 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4968 # after this tag, mechanisms are not by side-effect, so they'll
4969 # only be used when explicitly requested
4970 if test "x$enable_dependency_tracking" = xyes
; then
4978 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4979 # mode. It turns out that the SunPro C++ compiler does not properly
4980 # handle `-M -o', and we need to detect this.
4981 if depmode
=$depmode \
4982 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
4983 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4984 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
4985 >/dev
/null
2>conftest.err
&&
4986 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4987 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
4988 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4989 # icc doesn't choke on unknown options, it will just issue warnings
4990 # or remarks (even with -Werror). So we grep stderr for any message
4991 # that says an option was ignored or not supported.
4992 # When given -MP, icc 7.0 and 7.1 complain thusly:
4993 # icc: Command line warning: ignoring option '-M'; no argument required
4994 # The diagnosis changed in icc 8.0:
4995 # icc: Command line remark: option '-MP' not supported
4996 if (grep 'ignoring option' conftest.err ||
4997 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4998 am_cv_CC_dependencies_compiler_type
=$depmode
5007 am_cv_CC_dependencies_compiler_type
=none
5011 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
5012 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
5013 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
5018 test "x$enable_dependency_tracking" != xno \
5019 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
5021 am__fastdepCC_FALSE
='#'
5023 am__fastdepCC_TRUE
='#'
5024 am__fastdepCC_FALSE
=
5029 am_cv_prog_cc_stdc
=$ac_cv_prog_cc_stdc
5032 ac_cpp
='$CPP $CPPFLAGS'
5033 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5034 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5035 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5036 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5037 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
5038 # On Suns, sometimes $CPP names a directory.
5039 if test -n "$CPP" && test -d "$CPP"; then
5042 if test -z "$CPP"; then
5043 if test "${ac_cv_prog_CPP+set}" = set; then
5044 echo $ECHO_N "(cached) $ECHO_C" >&6
5046 # Double quotes because CPP needs to be expanded
5047 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5050 for ac_c_preproc_warn_flag
in '' yes
5052 # Use a header file that comes with gcc, so configuring glibc
5053 # with a fresh cross-compiler works.
5054 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5055 # <limits.h> exists even on freestanding compilers.
5056 # On the NeXT, cc -E runs the code through the compiler's parser,
5057 # not just through cpp. "Syntax error" is here to catch this case.
5058 cat >conftest.
$ac_ext <<_ACEOF
5061 cat confdefs.h
>>conftest.
$ac_ext
5062 cat >>conftest.
$ac_ext <<_ACEOF
5063 /* end confdefs.h. */
5065 # include <limits.h>
5067 # include <assert.h>
5071 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5073 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5074 *) ac_try_echo=$ac_try;;
5076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5077 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5079 grep -v '^ *+' conftest.er1 >conftest.err
5081 cat conftest.err >&5
5082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5083 (exit $ac_status); } >/dev/null && {
5084 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5085 test ! -s conftest.err
5089 echo "$as_me: failed program was:" >&5
5090 sed 's/^/| /' conftest.$ac_ext >&5
5092 # Broken: fails on valid input.
5096 rm -f conftest.err conftest.$ac_ext
5098 # OK, works on sane cases. Now check whether nonexistent headers
5099 # can be detected and how.
5100 cat >conftest.$ac_ext <<_ACEOF
5103 cat confdefs.h >>conftest.$ac_ext
5104 cat >>conftest.$ac_ext <<_ACEOF
5105 /* end confdefs.h. */
5106 #include <ac_nonexistent.h>
5108 if { (ac_try="$ac_cpp conftest.$ac_ext"
5110 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5111 *) ac_try_echo
=$ac_try;;
5113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5114 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5116 grep -v '^ *+' conftest.er1
>conftest.err
5118 cat conftest.err
>&5
5119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5120 (exit $ac_status); } >/dev
/null
&& {
5121 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5122 test ! -s conftest.err
5124 # Broken: success on invalid input.
5127 echo "$as_me: failed program was:" >&5
5128 sed 's/^/| /' conftest.
$ac_ext >&5
5130 # Passes both tests.
5135 rm -f conftest.err conftest.
$ac_ext
5138 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5139 rm -f conftest.err conftest.
$ac_ext
5140 if $ac_preproc_ok; then
5152 { echo "$as_me:$LINENO: result: $CPP" >&5
5153 echo "${ECHO_T}$CPP" >&6; }
5155 for ac_c_preproc_warn_flag
in '' yes
5157 # Use a header file that comes with gcc, so configuring glibc
5158 # with a fresh cross-compiler works.
5159 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5160 # <limits.h> exists even on freestanding compilers.
5161 # On the NeXT, cc -E runs the code through the compiler's parser,
5162 # not just through cpp. "Syntax error" is here to catch this case.
5163 cat >conftest.
$ac_ext <<_ACEOF
5166 cat confdefs.h
>>conftest.
$ac_ext
5167 cat >>conftest.
$ac_ext <<_ACEOF
5168 /* end confdefs.h. */
5170 # include <limits.h>
5172 # include <assert.h>
5176 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5178 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5179 *) ac_try_echo=$ac_try;;
5181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5182 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5184 grep -v '^ *+' conftest.er1 >conftest.err
5186 cat conftest.err >&5
5187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5188 (exit $ac_status); } >/dev/null && {
5189 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5190 test ! -s conftest.err
5194 echo "$as_me: failed program was:" >&5
5195 sed 's/^/| /' conftest.$ac_ext >&5
5197 # Broken: fails on valid input.
5201 rm -f conftest.err conftest.$ac_ext
5203 # OK, works on sane cases. Now check whether nonexistent headers
5204 # can be detected and how.
5205 cat >conftest.$ac_ext <<_ACEOF
5208 cat confdefs.h >>conftest.$ac_ext
5209 cat >>conftest.$ac_ext <<_ACEOF
5210 /* end confdefs.h. */
5211 #include <ac_nonexistent.h>
5213 if { (ac_try="$ac_cpp conftest.$ac_ext"
5215 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5216 *) ac_try_echo
=$ac_try;;
5218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5219 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5221 grep -v '^ *+' conftest.er1
>conftest.err
5223 cat conftest.err
>&5
5224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5225 (exit $ac_status); } >/dev
/null
&& {
5226 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5227 test ! -s conftest.err
5229 # Broken: success on invalid input.
5232 echo "$as_me: failed program was:" >&5
5233 sed 's/^/| /' conftest.
$ac_ext >&5
5235 # Passes both tests.
5240 rm -f conftest.err conftest.
$ac_ext
5243 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5244 rm -f conftest.err conftest.
$ac_ext
5245 if $ac_preproc_ok; then
5248 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5249 See \`config.log' for more details." >&5
5250 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5251 See \`config.log' for more details." >&2;}
5252 { (exit 1); exit 1; }; }
5256 ac_cpp
='$CPP $CPPFLAGS'
5257 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5258 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5259 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5262 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5263 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5264 if test "${ac_cv_path_GREP+set}" = set; then
5265 echo $ECHO_N "(cached) $ECHO_C" >&6
5267 # Extract the first word of "grep ggrep" to use in msg output
5268 if test -z "$GREP"; then
5269 set dummy
grep ggrep
; ac_prog_name
=$2
5270 if test "${ac_cv_path_GREP+set}" = set; then
5271 echo $ECHO_N "(cached) $ECHO_C" >&6
5273 ac_path_GREP_found
=false
5274 # Loop through the user's path and test for each of PROGNAME-LIST
5275 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5276 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5279 test -z "$as_dir" && as_dir
=.
5280 for ac_prog
in grep ggrep
; do
5281 for ac_exec_ext
in '' $ac_executable_extensions; do
5282 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5283 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5284 # Check for GNU ac_path_GREP and select it if it is found.
5285 # Check for GNU $ac_path_GREP
5286 case `"$ac_path_GREP" --version 2>&1` in
5288 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5291 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5294 cat "conftest.in" "conftest.in" >"conftest.tmp"
5295 mv "conftest.tmp" "conftest.in"
5296 cp "conftest.in" "conftest.nl"
5297 echo 'GREP' >> "conftest.nl"
5298 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5299 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5300 ac_count
=`expr $ac_count + 1`
5301 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5302 # Best one so far, save it but keep looking for a better one
5303 ac_cv_path_GREP
="$ac_path_GREP"
5304 ac_path_GREP_max
=$ac_count
5306 # 10*(2^10) chars as input seems more than enough
5307 test $ac_count -gt 10 && break
5309 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5313 $ac_path_GREP_found && break 3
5323 GREP
="$ac_cv_path_GREP"
5324 if test -z "$GREP"; then
5325 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5326 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5327 { (exit 1); exit 1; }; }
5331 ac_cv_path_GREP
=$GREP
5336 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5337 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
5338 GREP
="$ac_cv_path_GREP"
5341 { echo "$as_me:$LINENO: checking for egrep" >&5
5342 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
5343 if test "${ac_cv_path_EGREP+set}" = set; then
5344 echo $ECHO_N "(cached) $ECHO_C" >&6
5346 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5347 then ac_cv_path_EGREP
="$GREP -E"
5349 # Extract the first word of "egrep" to use in msg output
5350 if test -z "$EGREP"; then
5351 set dummy
egrep; ac_prog_name
=$2
5352 if test "${ac_cv_path_EGREP+set}" = set; then
5353 echo $ECHO_N "(cached) $ECHO_C" >&6
5355 ac_path_EGREP_found
=false
5356 # Loop through the user's path and test for each of PROGNAME-LIST
5357 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5358 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5361 test -z "$as_dir" && as_dir
=.
5362 for ac_prog
in egrep; do
5363 for ac_exec_ext
in '' $ac_executable_extensions; do
5364 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5365 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
5366 # Check for GNU ac_path_EGREP and select it if it is found.
5367 # Check for GNU $ac_path_EGREP
5368 case `"$ac_path_EGREP" --version 2>&1` in
5370 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5373 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5376 cat "conftest.in" "conftest.in" >"conftest.tmp"
5377 mv "conftest.tmp" "conftest.in"
5378 cp "conftest.in" "conftest.nl"
5379 echo 'EGREP' >> "conftest.nl"
5380 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5381 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5382 ac_count
=`expr $ac_count + 1`
5383 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5384 # Best one so far, save it but keep looking for a better one
5385 ac_cv_path_EGREP
="$ac_path_EGREP"
5386 ac_path_EGREP_max
=$ac_count
5388 # 10*(2^10) chars as input seems more than enough
5389 test $ac_count -gt 10 && break
5391 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5395 $ac_path_EGREP_found && break 3
5405 EGREP
="$ac_cv_path_EGREP"
5406 if test -z "$EGREP"; then
5407 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5408 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5409 { (exit 1); exit 1; }; }
5413 ac_cv_path_EGREP
=$EGREP
5419 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5420 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
5421 EGREP
="$ac_cv_path_EGREP"
5424 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5425 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
5426 if test "${ac_cv_header_stdc+set}" = set; then
5427 echo $ECHO_N "(cached) $ECHO_C" >&6
5429 cat >conftest.
$ac_ext <<_ACEOF
5432 cat confdefs.h
>>conftest.
$ac_ext
5433 cat >>conftest.
$ac_ext <<_ACEOF
5434 /* end confdefs.h. */
5448 rm -f conftest.
$ac_objext
5449 if { (ac_try
="$ac_compile"
5451 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5452 *) ac_try_echo=$ac_try;;
5454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5455 (eval "$ac_compile") 2>conftest.er1
5457 grep -v '^ *+' conftest.er1 >conftest.err
5459 cat conftest.err >&5
5460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5461 (exit $ac_status); } && {
5462 test -z "$ac_c_werror_flag" ||
5463 test ! -s conftest.err
5464 } && test -s conftest.$ac_objext; then
5465 ac_cv_header_stdc=yes
5467 echo "$as_me: failed program was:" >&5
5468 sed 's/^/| /' conftest.$ac_ext >&5
5470 ac_cv_header_stdc=no
5473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5475 if test $ac_cv_header_stdc = yes; then
5476 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5477 cat >conftest.$ac_ext <<_ACEOF
5480 cat confdefs.h >>conftest.$ac_ext
5481 cat >>conftest.$ac_ext <<_ACEOF
5482 /* end confdefs.h. */
5486 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5487 $EGREP "memchr" >/dev/null 2>&1; then
5490 ac_cv_header_stdc=no
5496 if test $ac_cv_header_stdc = yes; then
5497 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5498 cat >conftest.$ac_ext <<_ACEOF
5501 cat confdefs.h >>conftest.$ac_ext
5502 cat >>conftest.$ac_ext <<_ACEOF
5503 /* end confdefs.h. */
5507 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5508 $EGREP "free" >/dev/null 2>&1; then
5511 ac_cv_header_stdc=no
5517 if test $ac_cv_header_stdc = yes; then
5518 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5519 if test "$cross_compiling" = yes; then
5522 cat >conftest.$ac_ext <<_ACEOF
5525 cat confdefs.h >>conftest.$ac_ext
5526 cat >>conftest.$ac_ext <<_ACEOF
5527 /* end confdefs.h. */
5530 #if ((' ' & 0x0FF) == 0x020)
5531 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5532 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5534 # define ISLOWER(c) \
5535 (('a' <= (c) && (c) <= 'i') \
5536 || ('j' <= (c) && (c) <= 'r') \
5537 || ('s' <= (c) && (c) <= 'z'))
5538 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5541 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5546 for (i = 0; i < 256; i++)
5547 if (XOR (islower (i), ISLOWER (i))
5548 || toupper (i) != TOUPPER (i))
5553 rm -f conftest$ac_exeext
5554 if { (ac_try="$ac_link"
5556 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5557 *) ac_try_echo
=$ac_try;;
5559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5560 (eval "$ac_link") 2>&5
5562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5563 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5564 { (case "(($ac_try" in
5565 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5566 *) ac_try_echo=$ac_try;;
5568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5569 (eval "$ac_try") 2>&5
5571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5572 (exit $ac_status); }; }; then
5575 echo "$as_me: program exited with status $ac_status" >&5
5576 echo "$as_me: failed program was:" >&5
5577 sed 's/^/| /' conftest.$ac_ext >&5
5580 ac_cv_header_stdc=no
5582 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5588 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5589 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
5590 if test $ac_cv_header_stdc = yes; then
5592 cat >>confdefs.h <<\_ACEOF
5593 #define STDC_HEADERS 1
5599 { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
5600 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
5601 # Check whether --enable-maintainer-mode was given.
5602 if test "${enable_maintainer_mode+set}" = set; then
5603 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5605 USE_MAINTAINER_MODE=no
5608 { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
5609 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
5612 if test $USE_MAINTAINER_MODE = yes; then
5613 MAINTAINER_MODE_TRUE=
5614 MAINTAINER_MODE_FALSE='#'
5616 MAINTAINER_MODE_TRUE='#'
5617 MAINTAINER_MODE_FALSE=
5620 MAINT=$MAINTAINER_MODE_TRUE
5624 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
5625 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
5626 if test "${ac_cv_c_const+set}" = set; then
5627 echo $ECHO_N "(cached) $ECHO_C" >&6
5629 cat >conftest.$ac_ext <<_ACEOF
5632 cat confdefs.h >>conftest.$ac_ext
5633 cat >>conftest.$ac_ext <<_ACEOF
5634 /* end confdefs.h. */
5639 /* FIXME: Include the comments suggested by Paul. */
5641 /* Ultrix mips cc rejects this. */
5642 typedef int charset[2];
5644 /* SunOS 4.1.1 cc rejects this. */
5645 char const *const *pcpcc;
5647 /* NEC SVR4.0.2 mips cc rejects this. */
5648 struct point {int x, y;};
5649 static struct point const zero = {0,0};
5650 /* AIX XL C 1.02.0.0 rejects this.
5651 It does not let you subtract one const X* pointer from another in
5652 an arm of an if-expression whose if-part is not a constant
5654 const char *g = "string";
5655 pcpcc = &g + (g ? g-g : 0);
5656 /* HPUX 7.0 cc rejects these. */
5658 ppc = (char**) pcpcc;
5659 pcpcc = (char const *const *) ppc;
5660 { /* SCO 3.2v4 cc rejects this. */
5662 char const *s = 0 ? (char *) 0 : (char const *) 0;
5667 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
5669 const int *foo = &x[0];
5672 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
5673 typedef const int *iptr;
5677 { /* AIX XL C 1.02.0.0 rejects this saying
5678 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
5679 struct s { int j; const int *ap[3]; };
5680 struct s *b; b->j = 5;
5682 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
5686 return !cs[0] && !zero.x;
5693 rm -f conftest.$ac_objext
5694 if { (ac_try="$ac_compile"
5696 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5697 *) ac_try_echo
=$ac_try;;
5699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5700 (eval "$ac_compile") 2>conftest.er1
5702 grep -v '^ *+' conftest.er1
>conftest.err
5704 cat conftest.err
>&5
5705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5706 (exit $ac_status); } && {
5707 test -z "$ac_c_werror_flag" ||
5708 test ! -s conftest.err
5709 } && test -s conftest.
$ac_objext; then
5712 echo "$as_me: failed program was:" >&5
5713 sed 's/^/| /' conftest.
$ac_ext >&5
5718 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5720 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
5721 echo "${ECHO_T}$ac_cv_c_const" >&6; }
5722 if test $ac_cv_c_const = no
; then
5724 cat >>confdefs.h
<<\_ACEOF
5731 for ac_func
in vprintf
5733 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5734 { echo "$as_me:$LINENO: checking for $ac_func" >&5
5735 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
5736 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5737 echo $ECHO_N "(cached) $ECHO_C" >&6
5739 cat >conftest.
$ac_ext <<_ACEOF
5742 cat confdefs.h
>>conftest.
$ac_ext
5743 cat >>conftest.
$ac_ext <<_ACEOF
5744 /* end confdefs.h. */
5745 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5746 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5747 #define $ac_func innocuous_$ac_func
5749 /* System header to define __stub macros and hopefully few prototypes,
5750 which can conflict with char $ac_func (); below.
5751 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5752 <limits.h> exists even on freestanding compilers. */
5755 # include <limits.h>
5757 # include <assert.h>
5762 /* Override any GCC internal prototype to avoid an error.
5763 Use char because int might match the return type of a GCC
5764 builtin and then its argument prototype would still apply. */
5769 /* The GNU C library defines this for functions which it implements
5770 to always fail with ENOSYS. Some functions are actually named
5771 something starting with __ and the normal name is an alias. */
5772 #if defined __stub_$ac_func || defined __stub___$ac_func
5784 rm -f conftest.
$ac_objext conftest
$ac_exeext
5785 if { (ac_try
="$ac_link"
5787 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5788 *) ac_try_echo=$ac_try;;
5790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5791 (eval "$ac_link") 2>conftest.er1
5793 grep -v '^ *+' conftest.er1 >conftest.err
5795 cat conftest.err >&5
5796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5797 (exit $ac_status); } && {
5798 test -z "$ac_c_werror_flag" ||
5799 test ! -s conftest.err
5800 } && test -s conftest$ac_exeext &&
5801 $as_test_x conftest$ac_exeext; then
5802 eval "$as_ac_var=yes"
5804 echo "$as_me: failed program was:" >&5
5805 sed 's/^/| /' conftest.$ac_ext >&5
5807 eval "$as_ac_var=no"
5810 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5811 conftest$ac_exeext conftest.$ac_ext
5813 ac_res=`eval echo '${'$as_ac_var'}'`
5814 { echo "$as_me:$LINENO: result: $ac_res" >&5
5815 echo "${ECHO_T}$ac_res" >&6; }
5816 if test `eval echo '${'$as_ac_var'}'` = yes; then
5817 cat >>confdefs.h <<_ACEOF
5818 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
5821 { echo "$as_me:$LINENO: checking for _doprnt" >&5
5822 echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6; }
5823 if test "${ac_cv_func__doprnt+set}" = set; then
5824 echo $ECHO_N "(cached) $ECHO_C" >&6
5826 cat >conftest.$ac_ext <<_ACEOF
5829 cat confdefs.h >>conftest.$ac_ext
5830 cat >>conftest.$ac_ext <<_ACEOF
5831 /* end confdefs.h. */
5832 /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
5833 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5834 #define _doprnt innocuous__doprnt
5836 /* System header to define __stub macros and hopefully few prototypes,
5837 which can conflict with char _doprnt (); below.
5838 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5839 <limits.h> exists even on freestanding compilers. */
5842 # include <limits.h>
5844 # include <assert.h>
5849 /* Override any GCC internal prototype to avoid an error.
5850 Use char because int might match the return type of a GCC
5851 builtin and then its argument prototype would still apply. */
5856 /* The GNU C library defines this for functions which it implements
5857 to always fail with ENOSYS. Some functions are actually named
5858 something starting with __ and the normal name is an alias. */
5859 #if defined __stub__doprnt || defined __stub____doprnt
5871 rm -f conftest.$ac_objext conftest$ac_exeext
5872 if { (ac_try="$ac_link"
5874 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5875 *) ac_try_echo
=$ac_try;;
5877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5878 (eval "$ac_link") 2>conftest.er1
5880 grep -v '^ *+' conftest.er1
>conftest.err
5882 cat conftest.err
>&5
5883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5884 (exit $ac_status); } && {
5885 test -z "$ac_c_werror_flag" ||
5886 test ! -s conftest.err
5887 } && test -s conftest
$ac_exeext &&
5888 $as_test_x conftest
$ac_exeext; then
5889 ac_cv_func__doprnt
=yes
5891 echo "$as_me: failed program was:" >&5
5892 sed 's/^/| /' conftest.
$ac_ext >&5
5894 ac_cv_func__doprnt
=no
5897 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5898 conftest
$ac_exeext conftest.
$ac_ext
5900 { echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
5901 echo "${ECHO_T}$ac_cv_func__doprnt" >&6; }
5902 if test $ac_cv_func__doprnt = yes; then
5904 cat >>confdefs.h
<<\_ACEOF
5905 #define HAVE_DOPRNT 1
5914 for ac_prog
in gawk mawk nawk
awk
5916 # Extract the first word of "$ac_prog", so it can be a program name with args.
5917 set dummy
$ac_prog; ac_word
=$2
5918 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5919 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5920 if test "${ac_cv_prog_AWK+set}" = set; then
5921 echo $ECHO_N "(cached) $ECHO_C" >&6
5923 if test -n "$AWK"; then
5924 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
5926 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5930 test -z "$as_dir" && as_dir
=.
5931 for ac_exec_ext
in '' $ac_executable_extensions; do
5932 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5933 ac_cv_prog_AWK
="$ac_prog"
5934 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5944 if test -n "$AWK"; then
5945 { echo "$as_me:$LINENO: result: $AWK" >&5
5946 echo "${ECHO_T}$AWK" >&6; }
5948 { echo "$as_me:$LINENO: result: no" >&5
5949 echo "${ECHO_T}no" >&6; }
5953 test -n "$AWK" && break
5956 if test -n "$ac_tool_prefix"; then
5957 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5958 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5959 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5960 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5961 if test "${ac_cv_prog_RANLIB+set}" = set; then
5962 echo $ECHO_N "(cached) $ECHO_C" >&6
5964 if test -n "$RANLIB"; then
5965 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5967 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5971 test -z "$as_dir" && as_dir
=.
5972 for ac_exec_ext
in '' $ac_executable_extensions; do
5973 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5974 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5975 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5984 RANLIB
=$ac_cv_prog_RANLIB
5985 if test -n "$RANLIB"; then
5986 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5987 echo "${ECHO_T}$RANLIB" >&6; }
5989 { echo "$as_me:$LINENO: result: no" >&5
5990 echo "${ECHO_T}no" >&6; }
5995 if test -z "$ac_cv_prog_RANLIB"; then
5996 ac_ct_RANLIB
=$RANLIB
5997 # Extract the first word of "ranlib", so it can be a program name with args.
5998 set dummy ranlib
; ac_word
=$2
5999 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6000 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6001 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6002 echo $ECHO_N "(cached) $ECHO_C" >&6
6004 if test -n "$ac_ct_RANLIB"; then
6005 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6007 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6011 test -z "$as_dir" && as_dir
=.
6012 for ac_exec_ext
in '' $ac_executable_extensions; do
6013 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6014 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6015 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6024 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6025 if test -n "$ac_ct_RANLIB"; then
6026 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6027 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
6029 { echo "$as_me:$LINENO: result: no" >&5
6030 echo "${ECHO_T}no" >&6; }
6033 if test "x$ac_ct_RANLIB" = x
; then
6036 case $cross_compiling:$ac_tool_warned in
6038 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6039 whose name does not start with the host triplet. If you think this
6040 configuration is useful to you, please write to autoconf@gnu.org." >&5
6041 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6042 whose name does not start with the host triplet. If you think this
6043 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6044 ac_tool_warned
=yes ;;
6046 RANLIB
=$ac_ct_RANLIB
6049 RANLIB
="$ac_cv_prog_RANLIB"
6052 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6062 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6063 inttypes.h stdint.h unistd.h
6065 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6066 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6067 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6068 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6069 echo $ECHO_N "(cached) $ECHO_C" >&6
6071 cat >conftest.
$ac_ext <<_ACEOF
6074 cat confdefs.h
>>conftest.
$ac_ext
6075 cat >>conftest.
$ac_ext <<_ACEOF
6076 /* end confdefs.h. */
6077 $ac_includes_default
6079 #include <$ac_header>
6081 rm -f conftest.
$ac_objext
6082 if { (ac_try
="$ac_compile"
6084 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6085 *) ac_try_echo=$ac_try;;
6087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6088 (eval "$ac_compile") 2>conftest.er1
6090 grep -v '^ *+' conftest.er1 >conftest.err
6092 cat conftest.err >&5
6093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6094 (exit $ac_status); } && {
6095 test -z "$ac_c_werror_flag" ||
6096 test ! -s conftest.err
6097 } && test -s conftest.$ac_objext; then
6098 eval "$as_ac_Header=yes"
6100 echo "$as_me: failed program was:" >&5
6101 sed 's/^/| /' conftest.$ac_ext >&5
6103 eval "$as_ac_Header=no"
6106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6108 ac_res=`eval echo '${'$as_ac_Header'}'`
6109 { echo "$as_me:$LINENO: result: $ac_res" >&5
6110 echo "${ECHO_T}$ac_res" >&6; }
6111 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6112 cat >>confdefs.h <<_ACEOF
6113 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
6121 { echo "$as_me:$LINENO: checking for size_t" >&5
6122 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
6123 if test "${ac_cv_type_size_t+set}" = set; then
6124 echo $ECHO_N "(cached) $ECHO_C" >&6
6126 cat >conftest.$ac_ext <<_ACEOF
6129 cat confdefs.h >>conftest.$ac_ext
6130 cat >>conftest.$ac_ext <<_ACEOF
6131 /* end confdefs.h. */
6132 $ac_includes_default
6133 typedef size_t ac__type_new_;
6137 if ((ac__type_new_ *) 0)
6139 if (sizeof (ac__type_new_))
6145 rm -f conftest.$ac_objext
6146 if { (ac_try="$ac_compile"
6148 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6149 *) ac_try_echo
=$ac_try;;
6151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6152 (eval "$ac_compile") 2>conftest.er1
6154 grep -v '^ *+' conftest.er1
>conftest.err
6156 cat conftest.err
>&5
6157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6158 (exit $ac_status); } && {
6159 test -z "$ac_c_werror_flag" ||
6160 test ! -s conftest.err
6161 } && test -s conftest.
$ac_objext; then
6162 ac_cv_type_size_t
=yes
6164 echo "$as_me: failed program was:" >&5
6165 sed 's/^/| /' conftest.
$ac_ext >&5
6167 ac_cv_type_size_t
=no
6170 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6172 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
6173 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
6174 if test $ac_cv_type_size_t = yes; then
6178 cat >>confdefs.h
<<_ACEOF
6179 #define size_t unsigned int
6186 # Extract the first word of "gnuplot", so it can be a program name with args.
6187 set dummy gnuplot
; ac_word
=$2
6188 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6189 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6190 if test "${ac_cv_prog_GNUPLOT+set}" = set; then
6191 echo $ECHO_N "(cached) $ECHO_C" >&6
6193 if test -n "$GNUPLOT"; then
6194 ac_cv_prog_GNUPLOT
="$GNUPLOT" # Let the user override the test.
6196 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6200 test -z "$as_dir" && as_dir
=.
6201 for ac_exec_ext
in '' $ac_executable_extensions; do
6202 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6203 ac_cv_prog_GNUPLOT
="true"
6204 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6211 test -z "$ac_cv_prog_GNUPLOT" && ac_cv_prog_GNUPLOT
="false"
6214 GNUPLOT
=$ac_cv_prog_GNUPLOT
6215 if test -n "$GNUPLOT"; then
6216 { echo "$as_me:$LINENO: result: $GNUPLOT" >&5
6217 echo "${ECHO_T}$GNUPLOT" >&6; }
6219 { echo "$as_me:$LINENO: result: no" >&5
6220 echo "${ECHO_T}no" >&6; }
6228 HAVE_GNUPLOT_FALSE
='#'
6230 HAVE_GNUPLOT_TRUE
='#'
6238 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
6239 if test -n "$ac_tool_prefix"; then
6240 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6241 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
6242 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6243 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6244 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
6245 echo $ECHO_N "(cached) $ECHO_C" >&6
6249 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
6252 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6256 test -z "$as_dir" && as_dir
=.
6257 for ac_exec_ext
in '' $ac_executable_extensions; do
6258 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6259 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
6260 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6270 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
6271 if test -n "$PKG_CONFIG"; then
6272 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6273 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6275 { echo "$as_me:$LINENO: result: no" >&5
6276 echo "${ECHO_T}no" >&6; }
6281 if test -z "$ac_cv_path_PKG_CONFIG"; then
6282 ac_pt_PKG_CONFIG
=$PKG_CONFIG
6283 # Extract the first word of "pkg-config", so it can be a program name with args.
6284 set dummy pkg-config
; ac_word
=$2
6285 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6286 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6287 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
6288 echo $ECHO_N "(cached) $ECHO_C" >&6
6290 case $ac_pt_PKG_CONFIG in
6292 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
6295 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6299 test -z "$as_dir" && as_dir
=.
6300 for ac_exec_ext
in '' $ac_executable_extensions; do
6301 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6302 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
6303 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6313 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
6314 if test -n "$ac_pt_PKG_CONFIG"; then
6315 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
6316 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
6318 { echo "$as_me:$LINENO: result: no" >&5
6319 echo "${ECHO_T}no" >&6; }
6322 if test "x$ac_pt_PKG_CONFIG" = x
; then
6325 case $cross_compiling:$ac_tool_warned in
6327 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6328 whose name does not start with the host triplet. If you think this
6329 configuration is useful to you, please write to autoconf@gnu.org." >&5
6330 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6331 whose name does not start with the host triplet. If you think this
6332 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6333 ac_tool_warned
=yes ;;
6335 PKG_CONFIG
=$ac_pt_PKG_CONFIG
6338 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
6342 if test -n "$PKG_CONFIG"; then
6343 _pkg_min_version
=0.9.0
6344 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
6345 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
6346 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
6347 { echo "$as_me:$LINENO: result: yes" >&5
6348 echo "${ECHO_T}yes" >&6; }
6350 { echo "$as_me:$LINENO: result: no" >&5
6351 echo "${ECHO_T}no" >&6; }
6358 { echo "$as_me:$LINENO: checking for GLIB" >&5
6359 echo $ECHO_N "checking for GLIB... $ECHO_C" >&6; }
6361 if test -n "$PKG_CONFIG"; then
6362 if test -n "$GLIB_CFLAGS"; then
6363 pkg_cv_GLIB_CFLAGS
="$GLIB_CFLAGS"
6365 if test -n "$PKG_CONFIG" && \
6366 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.0.0\"") >&5
6367 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.0.0") 2>&5
6369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6370 (exit $ac_status); }; then
6371 pkg_cv_GLIB_CFLAGS
=`$PKG_CONFIG --cflags "glib-2.0 >= 2.0.0" 2>/dev/null`
6379 if test -n "$PKG_CONFIG"; then
6380 if test -n "$GLIB_LIBS"; then
6381 pkg_cv_GLIB_LIBS
="$GLIB_LIBS"
6383 if test -n "$PKG_CONFIG" && \
6384 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.0.0\"") >&5
6385 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.0.0") 2>&5
6387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6388 (exit $ac_status); }; then
6389 pkg_cv_GLIB_LIBS
=`$PKG_CONFIG --libs "glib-2.0 >= 2.0.0" 2>/dev/null`
6400 if test $pkg_failed = yes; then
6402 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
6403 _pkg_short_errors_supported
=yes
6405 _pkg_short_errors_supported
=no
6407 if test $_pkg_short_errors_supported = yes; then
6408 GLIB_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glib-2.0 >= 2.0.0"`
6410 GLIB_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 >= 2.0.0"`
6412 # Put the nasty error message in config.log where it belongs
6413 echo "$GLIB_PKG_ERRORS" >&5
6415 { { echo "$as_me:$LINENO: error: Package requirements (glib-2.0 >= 2.0.0) were not met:
6419 Consider adjusting the PKG_CONFIG_PATH environment variable if you
6420 installed software in a non-standard prefix.
6422 Alternatively, you may set the environment variables GLIB_CFLAGS
6423 and GLIB_LIBS to avoid the need to call pkg-config.
6424 See the pkg-config man page for more details.
6426 echo "$as_me: error: Package requirements (glib-2.0 >= 2.0.0) were not met:
6430 Consider adjusting the PKG_CONFIG_PATH environment variable if you
6431 installed software in a non-standard prefix.
6433 Alternatively, you may set the environment variables GLIB_CFLAGS
6434 and GLIB_LIBS to avoid the need to call pkg-config.
6435 See the pkg-config man page for more details.
6437 { (exit 1); exit 1; }; }
6438 elif test $pkg_failed = untried
; then
6439 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
6440 is in your PATH or set the PKG_CONFIG environment variable to the full
6443 Alternatively, you may set the environment variables GLIB_CFLAGS
6444 and GLIB_LIBS to avoid the need to call pkg-config.
6445 See the pkg-config man page for more details.
6447 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
6448 See \`config.log' for more details." >&5
6449 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
6450 is in your PATH or set the PKG_CONFIG environment variable to the full
6453 Alternatively, you may set the environment variables GLIB_CFLAGS
6454 and GLIB_LIBS to avoid the need to call pkg-config.
6455 See the pkg-config man page for more details.
6457 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
6458 See \`config.log' for more details." >&2;}
6459 { (exit 1); exit 1; }; }
6461 GLIB_CFLAGS
=$pkg_cv_GLIB_CFLAGS
6462 GLIB_LIBS
=$pkg_cv_GLIB_LIBS
6463 { echo "$as_me:$LINENO: result: yes" >&5
6464 echo "${ECHO_T}yes" >&6; }
6471 { echo "$as_me:$LINENO: checking for g_malloc0 in -lglib-2.0" >&5
6472 echo $ECHO_N "checking for g_malloc0 in -lglib-2.0... $ECHO_C" >&6; }
6473 if test "${ac_cv_lib_glib_2_0_g_malloc0+set}" = set; then
6474 echo $ECHO_N "(cached) $ECHO_C" >&6
6476 ac_check_lib_save_LIBS
=$LIBS
6477 LIBS
="-lglib-2.0 $LIBS"
6478 cat >conftest.
$ac_ext <<_ACEOF
6481 cat confdefs.h
>>conftest.
$ac_ext
6482 cat >>conftest.
$ac_ext <<_ACEOF
6483 /* end confdefs.h. */
6485 /* Override any GCC internal prototype to avoid an error.
6486 Use char because int might match the return type of a GCC
6487 builtin and then its argument prototype would still apply. */
6495 return g_malloc0 ();
6500 rm -f conftest.
$ac_objext conftest
$ac_exeext
6501 if { (ac_try
="$ac_link"
6503 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6504 *) ac_try_echo=$ac_try;;
6506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6507 (eval "$ac_link") 2>conftest.er1
6509 grep -v '^ *+' conftest.er1 >conftest.err
6511 cat conftest.err >&5
6512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6513 (exit $ac_status); } && {
6514 test -z "$ac_c_werror_flag" ||
6515 test ! -s conftest.err
6516 } && test -s conftest$ac_exeext &&
6517 $as_test_x conftest$ac_exeext; then
6518 ac_cv_lib_glib_2_0_g_malloc0=yes
6520 echo "$as_me: failed program was:" >&5
6521 sed 's/^/| /' conftest.$ac_ext >&5
6523 ac_cv_lib_glib_2_0_g_malloc0=no
6526 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6527 conftest$ac_exeext conftest.$ac_ext
6528 LIBS=$ac_check_lib_save_LIBS
6530 { echo "$as_me:$LINENO: result: $ac_cv_lib_glib_2_0_g_malloc0" >&5
6531 echo "${ECHO_T}$ac_cv_lib_glib_2_0_g_malloc0" >&6; }
6532 if test $ac_cv_lib_glib_2_0_g_malloc0 = yes; then
6533 cat >>confdefs.h <<_ACEOF
6534 #define HAVE_LIBGLIB_2_0 1
6537 LIBS="-lglib-2.0 $LIBS"
6540 { { echo "$as_me:$LINENO: error: \"libglib not installed\"" >&5
6541 echo "$as_me: error: \"libglib not installed\"" >&2;}
6542 { (exit 1); exit 1; }; }
6546 # Extract the first word of "perl", so it can be a program name with args.
6547 set dummy perl; ac_word=$2
6548 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6549 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6550 if test "${ac_cv_prog_PERL+set}" = set; then
6551 echo $ECHO_N "(cached) $ECHO_C" >&6
6553 if test -n "$PERL"; then
6554 ac_cv_prog_PERL="$PERL" # Let the user override the test.
6556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6560 test -z "$as_dir" && as_dir=.
6561 for ac_exec_ext in '' $ac_executable_extensions; do
6562 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6563 ac_cv_prog_PERL="true"
6564 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6571 test -z "$ac_cv_prog_PERL" && ac_cv_prog_PERL="false"
6574 PERL=$ac_cv_prog_PERL
6575 if test -n "$PERL"; then
6576 { echo "$as_me:$LINENO: result: $PERL" >&5
6577 echo "${ECHO_T}$PERL" >&6; }
6579 { echo "$as_me:$LINENO: result: no" >&5
6580 echo "${ECHO_T}no" >&6; }
6594 # Extract the first word of "python", so it can be a program name with args.
6595 set dummy python; ac_word=$2
6596 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6597 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6598 if test "${ac_cv_prog_PYTHON+set}" = set; then
6599 echo $ECHO_N "(cached) $ECHO_C" >&6
6601 if test -n "$PYTHON"; then
6602 ac_cv_prog_PYTHON="$PYTHON" # Let the user override the test.
6604 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6608 test -z "$as_dir" && as_dir=.
6609 for ac_exec_ext in '' $ac_executable_extensions; do
6610 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6611 ac_cv_prog_PYTHON="true"
6612 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6619 test -z "$ac_cv_prog_PYTHON" && ac_cv_prog_PYTHON="false"
6622 PYTHON=$ac_cv_prog_PYTHON
6623 if test -n "$PYTHON"; then
6624 { echo "$as_me:$LINENO: result: $PYTHON" >&5
6625 echo "${ECHO_T}$PYTHON" >&6; }
6627 { echo "$as_me:$LINENO: result: no" >&5
6628 echo "${ECHO_T}no" >&6; }
6636 HAVE_PYTHON_FALSE='#'
6638 HAVE_PYTHON_TRUE='#'
6642 # Extract the first word of "convert", so it can be a program name with args.
6643 set dummy convert; ac_word=$2
6644 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6645 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6646 if test "${ac_cv_prog_CONVERT+set}" = set; then
6647 echo $ECHO_N "(cached) $ECHO_C" >&6
6649 if test -n "$CONVERT"; then
6650 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6656 test -z "$as_dir" && as_dir=.
6657 for ac_exec_ext in '' $ac_executable_extensions; do
6658 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6659 ac_cv_prog_CONVERT="true"
6660 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6667 test -z "$ac_cv_prog_CONVERT" && ac_cv_prog_CONVERT="false"
6670 CONVERT=$ac_cv_prog_CONVERT
6671 if test -n "$CONVERT"; then
6672 { echo "$as_me:$LINENO: result: $CONVERT" >&5
6673 echo "${ECHO_T}$CONVERT" >&6; }
6675 { echo "$as_me:$LINENO: result: no" >&5
6676 echo "${ECHO_T}no" >&6; }
6684 HAVE_CONVERT_FALSE='#'
6686 HAVE_CONVERT_TRUE='#'
6690 # Extract the first word of "plotmtv", so it can be a program name with args.
6691 set dummy plotmtv; ac_word=$2
6692 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6693 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6694 if test "${ac_cv_prog_PLOTMTV+set}" = set; then
6695 echo $ECHO_N "(cached) $ECHO_C" >&6
6697 if test -n "$PLOTMTV"; then
6698 ac_cv_prog_PLOTMTV="$PLOTMTV" # Let the user override the test.
6700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6704 test -z "$as_dir" && as_dir=.
6705 for ac_exec_ext in '' $ac_executable_extensions; do
6706 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6707 ac_cv_prog_PLOTMTV="true"
6708 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6715 test -z "$ac_cv_prog_PLOTMTV" && ac_cv_prog_PLOTMTV="false"
6718 PLOTMTV=$ac_cv_prog_PLOTMTV
6719 if test -n "$PLOTMTV"; then
6720 { echo "$as_me:$LINENO: result: $PLOTMTV" >&5
6721 echo "${ECHO_T}$PLOTMTV" >&6; }
6723 { echo "$as_me:$LINENO: result: no" >&5
6724 echo "${ECHO_T}no" >&6; }
6732 HAVE_PLOTMTV_FALSE='#'
6734 HAVE_PLOTMTV_TRUE='#'
6740 { echo "$as_me:$LINENO: checking for fftw_plan_dft_r2c_2d in -lfftw3" >&5
6741 echo $ECHO_N "checking for fftw_plan_dft_r2c_2d in -lfftw3... $ECHO_C" >&6; }
6742 if test "${ac_cv_lib_fftw3_fftw_plan_dft_r2c_2d+set}" = set; then
6743 echo $ECHO_N "(cached) $ECHO_C" >&6
6745 ac_check_lib_save_LIBS=$LIBS
6746 LIBS="-lfftw3 $LIBS"
6747 cat >conftest.$ac_ext <<_ACEOF
6750 cat confdefs.h >>conftest.$ac_ext
6751 cat >>conftest.$ac_ext <<_ACEOF
6752 /* end confdefs.h. */
6754 /* Override any GCC internal prototype to avoid an error.
6755 Use char because int might match the return type of a GCC
6756 builtin and then its argument prototype would still apply. */
6760 char fftw_plan_dft_r2c_2d ();
6764 return fftw_plan_dft_r2c_2d ();
6769 rm -f conftest.$ac_objext conftest$ac_exeext
6770 if { (ac_try="$ac_link"
6772 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6773 *) ac_try_echo
=$ac_try;;
6775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6776 (eval "$ac_link") 2>conftest.er1
6778 grep -v '^ *+' conftest.er1
>conftest.err
6780 cat conftest.err
>&5
6781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6782 (exit $ac_status); } && {
6783 test -z "$ac_c_werror_flag" ||
6784 test ! -s conftest.err
6785 } && test -s conftest
$ac_exeext &&
6786 $as_test_x conftest
$ac_exeext; then
6787 ac_cv_lib_fftw3_fftw_plan_dft_r2c_2d
=yes
6789 echo "$as_me: failed program was:" >&5
6790 sed 's/^/| /' conftest.
$ac_ext >&5
6792 ac_cv_lib_fftw3_fftw_plan_dft_r2c_2d
=no
6795 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6796 conftest
$ac_exeext conftest.
$ac_ext
6797 LIBS
=$ac_check_lib_save_LIBS
6799 { echo "$as_me:$LINENO: result: $ac_cv_lib_fftw3_fftw_plan_dft_r2c_2d" >&5
6800 echo "${ECHO_T}$ac_cv_lib_fftw3_fftw_plan_dft_r2c_2d" >&6; }
6801 if test $ac_cv_lib_fftw3_fftw_plan_dft_r2c_2d = yes; then
6802 cat >>confdefs.h
<<_ACEOF
6803 #define HAVE_LIBFFTW3 1
6806 LIBS
="-lfftw3 $LIBS"
6809 { { echo "$as_me:$LINENO: error: \"libfftw3 not installed\"" >&5
6810 echo "$as_me: error: \"libfftw3 not installed\"" >&2;}
6811 { (exit 1); exit 1; }; }
6816 { echo "$as_me:$LINENO: checking for main in -lgslcblas" >&5
6817 echo $ECHO_N "checking for main in -lgslcblas... $ECHO_C" >&6; }
6818 if test "${ac_cv_lib_gslcblas_main+set}" = set; then
6819 echo $ECHO_N "(cached) $ECHO_C" >&6
6821 ac_check_lib_save_LIBS
=$LIBS
6822 LIBS
="-lgslcblas $LIBS"
6823 cat >conftest.
$ac_ext <<_ACEOF
6826 cat confdefs.h
>>conftest.
$ac_ext
6827 cat >>conftest.
$ac_ext <<_ACEOF
6828 /* end confdefs.h. */
6839 rm -f conftest.
$ac_objext conftest
$ac_exeext
6840 if { (ac_try
="$ac_link"
6842 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6843 *) ac_try_echo=$ac_try;;
6845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6846 (eval "$ac_link") 2>conftest.er1
6848 grep -v '^ *+' conftest.er1 >conftest.err
6850 cat conftest.err >&5
6851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6852 (exit $ac_status); } && {
6853 test -z "$ac_c_werror_flag" ||
6854 test ! -s conftest.err
6855 } && test -s conftest$ac_exeext &&
6856 $as_test_x conftest$ac_exeext; then
6857 ac_cv_lib_gslcblas_main=yes
6859 echo "$as_me: failed program was:" >&5
6860 sed 's/^/| /' conftest.$ac_ext >&5
6862 ac_cv_lib_gslcblas_main=no
6865 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6866 conftest$ac_exeext conftest.$ac_ext
6867 LIBS=$ac_check_lib_save_LIBS
6869 { echo "$as_me:$LINENO: result: $ac_cv_lib_gslcblas_main" >&5
6870 echo "${ECHO_T}$ac_cv_lib_gslcblas_main" >&6; }
6871 if test $ac_cv_lib_gslcblas_main = yes; then
6872 cat >>confdefs.h <<_ACEOF
6873 #define HAVE_LIBGSLCBLAS 1
6876 LIBS="-lgslcblas $LIBS"
6879 { { echo "$as_me:$LINENO: error: \"libgslcblas not installed\"" >&5
6880 echo "$as_me: error: \"libgslcblas not installed\"" >&2;}
6881 { (exit 1); exit 1; }; }
6886 { echo "$as_me:$LINENO: checking for main in -lgsl" >&5
6887 echo $ECHO_N "checking for main in -lgsl... $ECHO_C" >&6; }
6888 if test "${ac_cv_lib_gsl_main+set}" = set; then
6889 echo $ECHO_N "(cached) $ECHO_C" >&6
6891 ac_check_lib_save_LIBS=$LIBS
6893 cat >conftest.$ac_ext <<_ACEOF
6896 cat confdefs.h >>conftest.$ac_ext
6897 cat >>conftest.$ac_ext <<_ACEOF
6898 /* end confdefs.h. */
6909 rm -f conftest.$ac_objext conftest$ac_exeext
6910 if { (ac_try="$ac_link"
6912 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6913 *) ac_try_echo
=$ac_try;;
6915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6916 (eval "$ac_link") 2>conftest.er1
6918 grep -v '^ *+' conftest.er1
>conftest.err
6920 cat conftest.err
>&5
6921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6922 (exit $ac_status); } && {
6923 test -z "$ac_c_werror_flag" ||
6924 test ! -s conftest.err
6925 } && test -s conftest
$ac_exeext &&
6926 $as_test_x conftest
$ac_exeext; then
6927 ac_cv_lib_gsl_main
=yes
6929 echo "$as_me: failed program was:" >&5
6930 sed 's/^/| /' conftest.
$ac_ext >&5
6932 ac_cv_lib_gsl_main
=no
6935 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6936 conftest
$ac_exeext conftest.
$ac_ext
6937 LIBS
=$ac_check_lib_save_LIBS
6939 { echo "$as_me:$LINENO: result: $ac_cv_lib_gsl_main" >&5
6940 echo "${ECHO_T}$ac_cv_lib_gsl_main" >&6; }
6941 if test $ac_cv_lib_gsl_main = yes; then
6942 cat >>confdefs.h
<<_ACEOF
6943 #define HAVE_LIBGSL 1
6949 { { echo "$as_me:$LINENO: error: \"libgsl not installed\"" >&5
6950 echo "$as_me: error: \"libgsl not installed\"" >&2;}
6951 { (exit 1); exit 1; }; }
6957 # Check whether --enable-mpi was given.
6958 if test "${enable_mpi+set}" = set; then
6959 enableval
=$enable_mpi; ENABLE_MPI
="-DENABLE_MPI"
6966 if test "${ENABLE_MPI}" == '-DENABLE_MPI'; then
6972 for ac_prog
in mpicc hcc mpcc mpcc_r mpxlc cmpicc
6974 # Extract the first word of "$ac_prog", so it can be a program name with args.
6975 set dummy
$ac_prog; ac_word
=$2
6976 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6977 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6978 if test "${ac_cv_prog_MPICC+set}" = set; then
6979 echo $ECHO_N "(cached) $ECHO_C" >&6
6981 if test -n "$MPICC"; then
6982 ac_cv_prog_MPICC
="$MPICC" # Let the user override the test.
6984 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6988 test -z "$as_dir" && as_dir
=.
6989 for ac_exec_ext
in '' $ac_executable_extensions; do
6990 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6991 ac_cv_prog_MPICC
="$ac_prog"
6992 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7001 MPICC
=$ac_cv_prog_MPICC
7002 if test -n "$MPICC"; then
7003 { echo "$as_me:$LINENO: result: $MPICC" >&5
7004 echo "${ECHO_T}$MPICC" >&6; }
7006 { echo "$as_me:$LINENO: result: no" >&5
7007 echo "${ECHO_T}no" >&6; }
7011 test -n "$MPICC" && break
7013 test -n "$MPICC" || MPICC
="$CC"
7015 acx_mpi_save_CC
="$CC"
7020 if test x
= x
"$MPILIBS"; then
7021 { echo "$as_me:$LINENO: checking for MPI_Init" >&5
7022 echo $ECHO_N "checking for MPI_Init... $ECHO_C" >&6; }
7023 if test "${ac_cv_func_MPI_Init+set}" = set; then
7024 echo $ECHO_N "(cached) $ECHO_C" >&6
7026 cat >conftest.
$ac_ext <<_ACEOF
7029 cat confdefs.h
>>conftest.
$ac_ext
7030 cat >>conftest.
$ac_ext <<_ACEOF
7031 /* end confdefs.h. */
7032 /* Define MPI_Init to an innocuous variant, in case <limits.h> declares MPI_Init.
7033 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7034 #define MPI_Init innocuous_MPI_Init
7036 /* System header to define __stub macros and hopefully few prototypes,
7037 which can conflict with char MPI_Init (); below.
7038 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7039 <limits.h> exists even on freestanding compilers. */
7042 # include <limits.h>
7044 # include <assert.h>
7049 /* Override any GCC internal prototype to avoid an error.
7050 Use char because int might match the return type of a GCC
7051 builtin and then its argument prototype would still apply. */
7056 /* The GNU C library defines this for functions which it implements
7057 to always fail with ENOSYS. Some functions are actually named
7058 something starting with __ and the normal name is an alias. */
7059 #if defined __stub_MPI_Init || defined __stub___MPI_Init
7071 rm -f conftest.
$ac_objext conftest
$ac_exeext
7072 if { (ac_try
="$ac_link"
7074 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7075 *) ac_try_echo=$ac_try;;
7077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7078 (eval "$ac_link") 2>conftest.er1
7080 grep -v '^ *+' conftest.er1 >conftest.err
7082 cat conftest.err >&5
7083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7084 (exit $ac_status); } && {
7085 test -z "$ac_c_werror_flag" ||
7086 test ! -s conftest.err
7087 } && test -s conftest$ac_exeext &&
7088 $as_test_x conftest$ac_exeext; then
7089 ac_cv_func_MPI_Init=yes
7091 echo "$as_me: failed program was:" >&5
7092 sed 's/^/| /' conftest.$ac_ext >&5
7094 ac_cv_func_MPI_Init=no
7097 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7098 conftest$ac_exeext conftest.$ac_ext
7100 { echo "$as_me:$LINENO: result: $ac_cv_func_MPI_Init" >&5
7101 echo "${ECHO_T}$ac_cv_func_MPI_Init" >&6; }
7102 if test $ac_cv_func_MPI_Init = yes; then
7107 if test x = x"$MPILIBS"; then
7108 { echo "$as_me:$LINENO: checking for MPI_Init in -lmpi" >&5
7109 echo $ECHO_N "checking for MPI_Init in -lmpi... $ECHO_C" >&6; }
7110 if test "${ac_cv_lib_mpi_MPI_Init+set}" = set; then
7111 echo $ECHO_N "(cached) $ECHO_C" >&6
7113 ac_check_lib_save_LIBS=$LIBS
7115 cat >conftest.$ac_ext <<_ACEOF
7118 cat confdefs.h >>conftest.$ac_ext
7119 cat >>conftest.$ac_ext <<_ACEOF
7120 /* end confdefs.h. */
7122 /* Override any GCC internal prototype to avoid an error.
7123 Use char because int might match the return type of a GCC
7124 builtin and then its argument prototype would still apply. */
7137 rm -f conftest.$ac_objext conftest$ac_exeext
7138 if { (ac_try="$ac_link"
7140 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7141 *) ac_try_echo
=$ac_try;;
7143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7144 (eval "$ac_link") 2>conftest.er1
7146 grep -v '^ *+' conftest.er1
>conftest.err
7148 cat conftest.err
>&5
7149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7150 (exit $ac_status); } && {
7151 test -z "$ac_c_werror_flag" ||
7152 test ! -s conftest.err
7153 } && test -s conftest
$ac_exeext &&
7154 $as_test_x conftest
$ac_exeext; then
7155 ac_cv_lib_mpi_MPI_Init
=yes
7157 echo "$as_me: failed program was:" >&5
7158 sed 's/^/| /' conftest.
$ac_ext >&5
7160 ac_cv_lib_mpi_MPI_Init
=no
7163 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7164 conftest
$ac_exeext conftest.
$ac_ext
7165 LIBS
=$ac_check_lib_save_LIBS
7167 { echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5
7168 echo "${ECHO_T}$ac_cv_lib_mpi_MPI_Init" >&6; }
7169 if test $ac_cv_lib_mpi_MPI_Init = yes; then
7174 if test x
= x
"$MPILIBS"; then
7175 { echo "$as_me:$LINENO: checking for MPI_Init in -lmpich" >&5
7176 echo $ECHO_N "checking for MPI_Init in -lmpich... $ECHO_C" >&6; }
7177 if test "${ac_cv_lib_mpich_MPI_Init+set}" = set; then
7178 echo $ECHO_N "(cached) $ECHO_C" >&6
7180 ac_check_lib_save_LIBS
=$LIBS
7181 LIBS
="-lmpich $LIBS"
7182 cat >conftest.
$ac_ext <<_ACEOF
7185 cat confdefs.h
>>conftest.
$ac_ext
7186 cat >>conftest.
$ac_ext <<_ACEOF
7187 /* end confdefs.h. */
7189 /* Override any GCC internal prototype to avoid an error.
7190 Use char because int might match the return type of a GCC
7191 builtin and then its argument prototype would still apply. */
7204 rm -f conftest.
$ac_objext conftest
$ac_exeext
7205 if { (ac_try
="$ac_link"
7207 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7208 *) ac_try_echo=$ac_try;;
7210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7211 (eval "$ac_link") 2>conftest.er1
7213 grep -v '^ *+' conftest.er1 >conftest.err
7215 cat conftest.err >&5
7216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7217 (exit $ac_status); } && {
7218 test -z "$ac_c_werror_flag" ||
7219 test ! -s conftest.err
7220 } && test -s conftest$ac_exeext &&
7221 $as_test_x conftest$ac_exeext; then
7222 ac_cv_lib_mpich_MPI_Init=yes
7224 echo "$as_me: failed program was:" >&5
7225 sed 's/^/| /' conftest.$ac_ext >&5
7227 ac_cv_lib_mpich_MPI_Init=no
7230 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7231 conftest$ac_exeext conftest.$ac_ext
7232 LIBS=$ac_check_lib_save_LIBS
7234 { echo "$as_me:$LINENO: result: $ac_cv_lib_mpich_MPI_Init" >&5
7235 echo "${ECHO_T}$ac_cv_lib_mpich_MPI_Init" >&6; }
7236 if test $ac_cv_lib_mpich_MPI_Init = yes; then
7242 if test x != x"$MPILIBS"; then
7243 { echo "$as_me:$LINENO: checking for mpi.h" >&5
7244 echo $ECHO_N "checking for mpi.h... $ECHO_C" >&6; }
7245 cat >conftest.$ac_ext <<_ACEOF
7248 cat confdefs.h >>conftest.$ac_ext
7249 cat >>conftest.$ac_ext <<_ACEOF
7250 /* end confdefs.h. */
7260 rm -f conftest.$ac_objext
7261 if { (ac_try="$ac_compile"
7263 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7264 *) ac_try_echo
=$ac_try;;
7266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7267 (eval "$ac_compile") 2>conftest.er1
7269 grep -v '^ *+' conftest.er1
>conftest.err
7271 cat conftest.err
>&5
7272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7273 (exit $ac_status); } && {
7274 test -z "$ac_c_werror_flag" ||
7275 test ! -s conftest.err
7276 } && test -s conftest.
$ac_objext; then
7277 { echo "$as_me:$LINENO: result: yes" >&5
7278 echo "${ECHO_T}yes" >&6; }
7280 echo "$as_me: failed program was:" >&5
7281 sed 's/^/| /' conftest.
$ac_ext >&5
7284 { echo "$as_me:$LINENO: result: no" >&5
7285 echo "${ECHO_T}no" >&6; }
7288 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7291 CC
="$acx_mpi_save_CC"
7295 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
7296 if test x
= x
"$MPILIBS"; then
7297 { { echo "$as_me:$LINENO: error: \"libmpi IS NOT installed\"" >&5
7298 echo "$as_me: error: \"libmpi IS NOT installed\"" >&2;}
7299 { (exit 1); exit 1; }; }
7302 { echo "$as_me:$LINENO: WARNING: \"libmpi HAS BEEN installed\"" >&5
7303 echo "$as_me: WARNING: \"libmpi HAS BEEN installed\"" >&2;}
7309 LIBS
="$MPILIBS $LIBS"
7312 { echo "$as_me:$LINENO: checking for main in -lmpi" >&5
7313 echo $ECHO_N "checking for main in -lmpi... $ECHO_C" >&6; }
7314 if test "${ac_cv_lib_mpi_main+set}" = set; then
7315 echo $ECHO_N "(cached) $ECHO_C" >&6
7317 ac_check_lib_save_LIBS
=$LIBS
7319 cat >conftest.
$ac_ext <<_ACEOF
7322 cat confdefs.h
>>conftest.
$ac_ext
7323 cat >>conftest.
$ac_ext <<_ACEOF
7324 /* end confdefs.h. */
7335 rm -f conftest.
$ac_objext conftest
$ac_exeext
7336 if { (ac_try
="$ac_link"
7338 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7339 *) ac_try_echo=$ac_try;;
7341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7342 (eval "$ac_link") 2>conftest.er1
7344 grep -v '^ *+' conftest.er1 >conftest.err
7346 cat conftest.err >&5
7347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7348 (exit $ac_status); } && {
7349 test -z "$ac_c_werror_flag" ||
7350 test ! -s conftest.err
7351 } && test -s conftest$ac_exeext &&
7352 $as_test_x conftest$ac_exeext; then
7353 ac_cv_lib_mpi_main=yes
7355 echo "$as_me: failed program was:" >&5
7356 sed 's/^/| /' conftest.$ac_ext >&5
7358 ac_cv_lib_mpi_main=no
7361 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7362 conftest$ac_exeext conftest.$ac_ext
7363 LIBS=$ac_check_lib_save_LIBS
7365 { echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_main" >&5
7366 echo "${ECHO_T}$ac_cv_lib_mpi_main" >&6; }
7367 if test $ac_cv_lib_mpi_main = yes; then
7368 cat >>confdefs.h <<_ACEOF
7369 #define HAVE_LIBMPI 1
7375 { { echo "$as_me:$LINENO: error: \"libmpi not installed\"" >&5
7376 echo "$as_me: error: \"libmpi not installed\"" >&2;}
7377 { (exit 1); exit 1; }; }
7380 if test "${ac_cv_header_mpi_h+set}" = set; then
7381 { echo "$as_me:$LINENO: checking for mpi.h" >&5
7382 echo $ECHO_N "checking for mpi.h... $ECHO_C" >&6; }
7383 if test "${ac_cv_header_mpi_h+set}" = set; then
7384 echo $ECHO_N "(cached) $ECHO_C" >&6
7386 { echo "$as_me:$LINENO: result: $ac_cv_header_mpi_h" >&5
7387 echo "${ECHO_T}$ac_cv_header_mpi_h" >&6; }
7389 # Is the header compilable?
7390 { echo "$as_me:$LINENO: checking mpi.h usability" >&5
7391 echo $ECHO_N "checking mpi.h usability... $ECHO_C" >&6; }
7392 cat >conftest.$ac_ext <<_ACEOF
7395 cat confdefs.h >>conftest.$ac_ext
7396 cat >>conftest.$ac_ext <<_ACEOF
7397 /* end confdefs.h. */
7398 $ac_includes_default
7401 rm -f conftest.$ac_objext
7402 if { (ac_try="$ac_compile"
7404 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7405 *) ac_try_echo
=$ac_try;;
7407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7408 (eval "$ac_compile") 2>conftest.er1
7410 grep -v '^ *+' conftest.er1
>conftest.err
7412 cat conftest.err
>&5
7413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7414 (exit $ac_status); } && {
7415 test -z "$ac_c_werror_flag" ||
7416 test ! -s conftest.err
7417 } && test -s conftest.
$ac_objext; then
7418 ac_header_compiler
=yes
7420 echo "$as_me: failed program was:" >&5
7421 sed 's/^/| /' conftest.
$ac_ext >&5
7423 ac_header_compiler
=no
7426 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7427 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7428 echo "${ECHO_T}$ac_header_compiler" >&6; }
7430 # Is the header present?
7431 { echo "$as_me:$LINENO: checking mpi.h presence" >&5
7432 echo $ECHO_N "checking mpi.h presence... $ECHO_C" >&6; }
7433 cat >conftest.
$ac_ext <<_ACEOF
7436 cat confdefs.h
>>conftest.
$ac_ext
7437 cat >>conftest.
$ac_ext <<_ACEOF
7438 /* end confdefs.h. */
7441 if { (ac_try
="$ac_cpp conftest.$ac_ext"
7443 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7444 *) ac_try_echo=$ac_try;;
7446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7447 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7449 grep -v '^ *+' conftest.er1 >conftest.err
7451 cat conftest.err >&5
7452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7453 (exit $ac_status); } >/dev/null && {
7454 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7455 test ! -s conftest.err
7457 ac_header_preproc=yes
7459 echo "$as_me: failed program was:" >&5
7460 sed 's/^/| /' conftest.$ac_ext >&5
7462 ac_header_preproc=no
7465 rm -f conftest.err conftest.$ac_ext
7466 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7467 echo "${ECHO_T}$ac_header_preproc" >&6; }
7469 # So? What about this header?
7470 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7472 { echo "$as_me:$LINENO: WARNING: mpi.h: accepted by the compiler, rejected by the preprocessor!" >&5
7473 echo "$as_me: WARNING: mpi.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
7474 { echo "$as_me:$LINENO: WARNING: mpi.h: proceeding with the compiler's result" >&5
7475 echo "$as_me: WARNING: mpi.h: proceeding with the compiler's result" >&2;}
7476 ac_header_preproc=yes
7479 { echo "$as_me:$LINENO: WARNING: mpi.h: present but cannot be compiled" >&5
7480 echo "$as_me: WARNING: mpi.h: present but cannot be compiled" >&2;}
7481 { echo "$as_me:$LINENO: WARNING: mpi.h: check for missing prerequisite headers?" >&5
7482 echo "$as_me: WARNING: mpi.h: check for missing prerequisite headers?" >&2;}
7483 { echo "$as_me:$LINENO: WARNING: mpi.h: see the Autoconf documentation" >&5
7484 echo "$as_me: WARNING: mpi.h: see the Autoconf documentation" >&2;}
7485 { echo "$as_me:$LINENO: WARNING: mpi.h: section \"Present But Cannot Be Compiled\"" >&5
7486 echo "$as_me: WARNING: mpi.h: section \"Present But Cannot Be Compiled\"" >&2;}
7487 { echo "$as_me:$LINENO: WARNING: mpi.h: proceeding with the preprocessor's result" >&5
7488 echo "$as_me: WARNING: mpi.h: proceeding with the preprocessor's result" >&2;}
7489 { echo "$as_me:$LINENO: WARNING: mpi.h: in the future, the compiler will take precedence" >&5
7490 echo "$as_me: WARNING: mpi.h: in the future, the compiler will take precedence" >&2;}
7494 { echo "$as_me:$LINENO: checking for mpi.h" >&5
7495 echo $ECHO_N "checking for mpi.h... $ECHO_C" >&6; }
7496 if test "${ac_cv_header_mpi_h+set}" = set; then
7497 echo $ECHO_N "(cached) $ECHO_C" >&6
7499 ac_cv_header_mpi_h=$ac_header_preproc
7501 { echo "$as_me:$LINENO: result: $ac_cv_header_mpi_h" >&5
7502 echo "${ECHO_T}$ac_cv_header_mpi_h" >&6; }
7505 if test $ac_cv_header_mpi_h = yes; then
7508 { { echo "$as_me:$LINENO: error: \"missing mpi.h\"" >&5
7509 echo "$as_me: error: \"missing mpi.h\"" >&2;}
7510 { (exit 1); exit 1; }; }
7516 { echo "$as_me:$LINENO: checking for gpiv_piv_mpi_bcast_pivpar in -lgpiv_mpi" >&5
7517 echo $ECHO_N "checking for gpiv_piv_mpi_bcast_pivpar in -lgpiv_mpi... $ECHO_C" >&6; }
7518 if test "${ac_cv_lib_gpiv_mpi_gpiv_piv_mpi_bcast_pivpar+set}" = set; then
7519 echo $ECHO_N "(cached) $ECHO_C" >&6
7521 ac_check_lib_save_LIBS=$LIBS
7522 LIBS="-lgpiv_mpi $LIBS"
7523 cat >conftest.$ac_ext <<_ACEOF
7526 cat confdefs.h >>conftest.$ac_ext
7527 cat >>conftest.$ac_ext <<_ACEOF
7528 /* end confdefs.h. */
7530 /* Override any GCC internal prototype to avoid an error.
7531 Use char because int might match the return type of a GCC
7532 builtin and then its argument prototype would still apply. */
7536 char gpiv_piv_mpi_bcast_pivpar ();
7540 return gpiv_piv_mpi_bcast_pivpar ();
7545 rm -f conftest.$ac_objext conftest$ac_exeext
7546 if { (ac_try="$ac_link"
7548 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7549 *) ac_try_echo
=$ac_try;;
7551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7552 (eval "$ac_link") 2>conftest.er1
7554 grep -v '^ *+' conftest.er1
>conftest.err
7556 cat conftest.err
>&5
7557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7558 (exit $ac_status); } && {
7559 test -z "$ac_c_werror_flag" ||
7560 test ! -s conftest.err
7561 } && test -s conftest
$ac_exeext &&
7562 $as_test_x conftest
$ac_exeext; then
7563 ac_cv_lib_gpiv_mpi_gpiv_piv_mpi_bcast_pivpar
=yes
7565 echo "$as_me: failed program was:" >&5
7566 sed 's/^/| /' conftest.
$ac_ext >&5
7568 ac_cv_lib_gpiv_mpi_gpiv_piv_mpi_bcast_pivpar
=no
7571 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7572 conftest
$ac_exeext conftest.
$ac_ext
7573 LIBS
=$ac_check_lib_save_LIBS
7575 { echo "$as_me:$LINENO: result: $ac_cv_lib_gpiv_mpi_gpiv_piv_mpi_bcast_pivpar" >&5
7576 echo "${ECHO_T}$ac_cv_lib_gpiv_mpi_gpiv_piv_mpi_bcast_pivpar" >&6; }
7577 if test $ac_cv_lib_gpiv_mpi_gpiv_piv_mpi_bcast_pivpar = yes; then
7578 cat >>confdefs.h
<<_ACEOF
7579 #define HAVE_LIBGPIV_MPI 1
7582 LIBS
="-lgpiv_mpi $LIBS"
7585 { { echo "$as_me:$LINENO: error: \"gpiv_piv_mpi_bcast_pivpar is not working in libgpiv_mpi. \
7586 Enable MPI in libgpiv or disable it here by leaving out --enable-mpi during ./configure\"" >&5
7587 echo "$as_me: error: \"gpiv_piv_mpi_bcast_pivpar is not working in libgpiv_mpi. \
7588 Enable MPI in libgpiv or disable it here by leaving out --enable-mpi during ./configure\"" >&2;}
7589 { (exit 1); exit 1; }; }
7593 # Extract the first word of "mpipython", so it can be a program name with args.
7594 set dummy mpipython
; ac_word
=$2
7595 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7596 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7597 if test "${ac_cv_prog_MPIPYTHON+set}" = set; then
7598 echo $ECHO_N "(cached) $ECHO_C" >&6
7600 if test -n "$MPIPYTHON"; then
7601 ac_cv_prog_MPIPYTHON
="$MPIPYTHON" # Let the user override the test.
7603 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7607 test -z "$as_dir" && as_dir
=.
7608 for ac_exec_ext
in '' $ac_executable_extensions; do
7609 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7610 ac_cv_prog_MPIPYTHON
="true"
7611 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7618 test -z "$ac_cv_prog_MPIPYTHON" && ac_cv_prog_MPIPYTHON
="false"
7621 MPIPYTHON
=$ac_cv_prog_MPIPYTHON
7622 if test -n "$MPIPYTHON"; then
7623 { echo "$as_me:$LINENO: result: $MPIPYTHON" >&5
7624 echo "${ECHO_T}$MPIPYTHON" >&6; }
7626 { echo "$as_me:$LINENO: result: no" >&5
7627 echo "${ECHO_T}no" >&6; }
7633 ## if test "${ENABLE_MPI}" != '-DENABLE_MPI'; then
7635 { echo "$as_me:$LINENO: checking for gpiv_warning in -lgpiv" >&5
7636 echo $ECHO_N "checking for gpiv_warning in -lgpiv... $ECHO_C" >&6; }
7637 if test "${ac_cv_lib_gpiv_gpiv_warning+set}" = set; then
7638 echo $ECHO_N "(cached) $ECHO_C" >&6
7640 ac_check_lib_save_LIBS
=$LIBS
7642 cat >conftest.
$ac_ext <<_ACEOF
7645 cat confdefs.h
>>conftest.
$ac_ext
7646 cat >>conftest.
$ac_ext <<_ACEOF
7647 /* end confdefs.h. */
7649 /* Override any GCC internal prototype to avoid an error.
7650 Use char because int might match the return type of a GCC
7651 builtin and then its argument prototype would still apply. */
7655 char gpiv_warning ();
7659 return gpiv_warning ();
7664 rm -f conftest.
$ac_objext conftest
$ac_exeext
7665 if { (ac_try
="$ac_link"
7667 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7668 *) ac_try_echo=$ac_try;;
7670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7671 (eval "$ac_link") 2>conftest.er1
7673 grep -v '^ *+' conftest.er1 >conftest.err
7675 cat conftest.err >&5
7676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7677 (exit $ac_status); } && {
7678 test -z "$ac_c_werror_flag" ||
7679 test ! -s conftest.err
7680 } && test -s conftest$ac_exeext &&
7681 $as_test_x conftest$ac_exeext; then
7682 ac_cv_lib_gpiv_gpiv_warning=yes
7684 echo "$as_me: failed program was:" >&5
7685 sed 's/^/| /' conftest.$ac_ext >&5
7687 ac_cv_lib_gpiv_gpiv_warning=no
7690 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7691 conftest$ac_exeext conftest.$ac_ext
7692 LIBS=$ac_check_lib_save_LIBS
7694 { echo "$as_me:$LINENO: result: $ac_cv_lib_gpiv_gpiv_warning" >&5
7695 echo "${ECHO_T}$ac_cv_lib_gpiv_gpiv_warning" >&6; }
7696 if test $ac_cv_lib_gpiv_gpiv_warning = yes; then
7697 cat >>confdefs.h <<_ACEOF
7698 #define HAVE_LIBGPIV 1
7704 { { echo "$as_me:$LINENO: error: \"libgpiv has not been installed\"" >&5
7705 echo "$as_me: error: \"libgpiv has not been installed\"" >&2;}
7706 { (exit 1); exit 1; }; }
7717 for ac_header in stdlib.h string.h unistd.h \
7722 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7723 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7724 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7725 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7726 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7727 echo $ECHO_N "(cached) $ECHO_C" >&6
7729 ac_res=`eval echo '${'$as_ac_Header'}'`
7730 { echo "$as_me:$LINENO: result: $ac_res" >&5
7731 echo "${ECHO_T}$ac_res" >&6; }
7733 # Is the header compilable?
7734 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7735 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7736 cat >conftest.$ac_ext <<_ACEOF
7739 cat confdefs.h >>conftest.$ac_ext
7740 cat >>conftest.$ac_ext <<_ACEOF
7741 /* end confdefs.h. */
7742 $ac_includes_default
7743 #include <$ac_header>
7745 rm -f conftest.$ac_objext
7746 if { (ac_try="$ac_compile"
7748 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7749 *) ac_try_echo
=$ac_try;;
7751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7752 (eval "$ac_compile") 2>conftest.er1
7754 grep -v '^ *+' conftest.er1
>conftest.err
7756 cat conftest.err
>&5
7757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7758 (exit $ac_status); } && {
7759 test -z "$ac_c_werror_flag" ||
7760 test ! -s conftest.err
7761 } && test -s conftest.
$ac_objext; then
7762 ac_header_compiler
=yes
7764 echo "$as_me: failed program was:" >&5
7765 sed 's/^/| /' conftest.
$ac_ext >&5
7767 ac_header_compiler
=no
7770 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7771 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7772 echo "${ECHO_T}$ac_header_compiler" >&6; }
7774 # Is the header present?
7775 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7776 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7777 cat >conftest.
$ac_ext <<_ACEOF
7780 cat confdefs.h
>>conftest.
$ac_ext
7781 cat >>conftest.
$ac_ext <<_ACEOF
7782 /* end confdefs.h. */
7783 #include <$ac_header>
7785 if { (ac_try
="$ac_cpp conftest.$ac_ext"
7787 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7788 *) ac_try_echo=$ac_try;;
7790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7791 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7793 grep -v '^ *+' conftest.er1 >conftest.err
7795 cat conftest.err >&5
7796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7797 (exit $ac_status); } >/dev/null && {
7798 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7799 test ! -s conftest.err
7801 ac_header_preproc=yes
7803 echo "$as_me: failed program was:" >&5
7804 sed 's/^/| /' conftest.$ac_ext >&5
7806 ac_header_preproc=no
7809 rm -f conftest.err conftest.$ac_ext
7810 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7811 echo "${ECHO_T}$ac_header_preproc" >&6; }
7813 # So? What about this header?
7814 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7816 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7817 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7818 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7819 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7820 ac_header_preproc=yes
7823 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7824 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7825 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7826 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7827 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7828 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7829 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7830 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7831 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7832 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7833 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7834 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7838 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7839 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7840 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7841 echo $ECHO_N "(cached) $ECHO_C" >&6
7843 eval "$as_ac_Header=\$ac_header_preproc"
7845 ac_res=`eval echo '${'$as_ac_Header'}'`
7846 { echo "$as_me:$LINENO: result: $ac_res" >&5
7847 echo "${ECHO_T}$ac_res" >&6; }
7850 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7851 cat >>confdefs.h <<_ACEOF
7852 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7863 # Check whether --enable-cam was given.
7864 if test "${enable_cam+set}" = set; then
7865 enableval=$enable_cam; ENABLE_CAM="-DENABLE_CAM"
7872 # Check whether --enable-trig was given.
7873 if test "${enable_trig+set}" = set; then
7874 enableval=$enable_trig; ENABLE_TRIG="-DENABLE_TRIG"
7881 if test "${ENABLE_CAM}" == '-DENABLE_CAM'; then
7883 { echo "$as_me:$LINENO: checking for gpiv_cam_get_camvar in -lgpiv" >&5
7884 echo $ECHO_N "checking for gpiv_cam_get_camvar in -lgpiv... $ECHO_C" >&6; }
7885 if test "${ac_cv_lib_gpiv_gpiv_cam_get_camvar+set}" = set; then
7886 echo $ECHO_N "(cached) $ECHO_C" >&6
7888 ac_check_lib_save_LIBS=$LIBS
7890 cat >conftest.$ac_ext <<_ACEOF
7893 cat confdefs.h >>conftest.$ac_ext
7894 cat >>conftest.$ac_ext <<_ACEOF
7895 /* end confdefs.h. */
7897 /* Override any GCC internal prototype to avoid an error.
7898 Use char because int might match the return type of a GCC
7899 builtin and then its argument prototype would still apply. */
7903 char gpiv_cam_get_camvar ();
7907 return gpiv_cam_get_camvar ();
7912 rm -f conftest.$ac_objext conftest$ac_exeext
7913 if { (ac_try="$ac_link"
7915 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7916 *) ac_try_echo
=$ac_try;;
7918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7919 (eval "$ac_link") 2>conftest.er1
7921 grep -v '^ *+' conftest.er1
>conftest.err
7923 cat conftest.err
>&5
7924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7925 (exit $ac_status); } && {
7926 test -z "$ac_c_werror_flag" ||
7927 test ! -s conftest.err
7928 } && test -s conftest
$ac_exeext &&
7929 $as_test_x conftest
$ac_exeext; then
7930 ac_cv_lib_gpiv_gpiv_cam_get_camvar
=yes
7932 echo "$as_me: failed program was:" >&5
7933 sed 's/^/| /' conftest.
$ac_ext >&5
7935 ac_cv_lib_gpiv_gpiv_cam_get_camvar
=no
7938 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7939 conftest
$ac_exeext conftest.
$ac_ext
7940 LIBS
=$ac_check_lib_save_LIBS
7942 { echo "$as_me:$LINENO: result: $ac_cv_lib_gpiv_gpiv_cam_get_camvar" >&5
7943 echo "${ECHO_T}$ac_cv_lib_gpiv_gpiv_cam_get_camvar" >&6; }
7944 if test $ac_cv_lib_gpiv_gpiv_cam_get_camvar = yes; then
7945 cat >>confdefs.h
<<_ACEOF
7946 #define HAVE_LIBGPIV 1
7952 { { echo "$as_me:$LINENO: error: \"(IEEE-1394) camera is not working in libgpiv. \
7953 Enable (IEEE-1394) camera in libgpiv or disable it here by leaving out --enable-cam during ./configure\"" >&5
7954 echo "$as_me: error: \"(IEEE-1394) camera is not working in libgpiv. \
7955 Enable (IEEE-1394) camera in libgpiv or disable it here by leaving out --enable-cam during ./configure\"" >&2;}
7956 { (exit 1); exit 1; }; }
7961 { echo "$as_me:$LINENO: checking for raw1394_destroy_handle in -lraw1394" >&5
7962 echo $ECHO_N "checking for raw1394_destroy_handle in -lraw1394... $ECHO_C" >&6; }
7963 if test "${ac_cv_lib_raw1394_raw1394_destroy_handle+set}" = set; then
7964 echo $ECHO_N "(cached) $ECHO_C" >&6
7966 ac_check_lib_save_LIBS
=$LIBS
7967 LIBS
="-lraw1394 $LIBS"
7968 cat >conftest.
$ac_ext <<_ACEOF
7971 cat confdefs.h
>>conftest.
$ac_ext
7972 cat >>conftest.
$ac_ext <<_ACEOF
7973 /* end confdefs.h. */
7975 /* Override any GCC internal prototype to avoid an error.
7976 Use char because int might match the return type of a GCC
7977 builtin and then its argument prototype would still apply. */
7981 char raw1394_destroy_handle ();
7985 return raw1394_destroy_handle ();
7990 rm -f conftest.
$ac_objext conftest
$ac_exeext
7991 if { (ac_try
="$ac_link"
7993 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7994 *) ac_try_echo=$ac_try;;
7996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7997 (eval "$ac_link") 2>conftest.er1
7999 grep -v '^ *+' conftest.er1 >conftest.err
8001 cat conftest.err >&5
8002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8003 (exit $ac_status); } && {
8004 test -z "$ac_c_werror_flag" ||
8005 test ! -s conftest.err
8006 } && test -s conftest$ac_exeext &&
8007 $as_test_x conftest$ac_exeext; then
8008 ac_cv_lib_raw1394_raw1394_destroy_handle=yes
8010 echo "$as_me: failed program was:" >&5
8011 sed 's/^/| /' conftest.$ac_ext >&5
8013 ac_cv_lib_raw1394_raw1394_destroy_handle=no
8016 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8017 conftest$ac_exeext conftest.$ac_ext
8018 LIBS=$ac_check_lib_save_LIBS
8020 { echo "$as_me:$LINENO: result: $ac_cv_lib_raw1394_raw1394_destroy_handle" >&5
8021 echo "${ECHO_T}$ac_cv_lib_raw1394_raw1394_destroy_handle" >&6; }
8022 if test $ac_cv_lib_raw1394_raw1394_destroy_handle = yes; then
8023 cat >>confdefs.h <<_ACEOF
8024 #define HAVE_LIBRAW1394 1
8027 LIBS="-lraw1394 $LIBS"
8030 { { echo "$as_me:$LINENO: error: \"libraw1394 not installed\"" >&5
8031 echo "$as_me: error: \"libraw1394 not installed\"" >&2;}
8032 { (exit 1); exit 1; }; }
8037 { echo "$as_me:$LINENO: checking for dc1394_create_handle in -ldc1394_control" >&5
8038 echo $ECHO_N "checking for dc1394_create_handle in -ldc1394_control... $ECHO_C" >&6; }
8039 if test "${ac_cv_lib_dc1394_control_dc1394_create_handle+set}" = set; then
8040 echo $ECHO_N "(cached) $ECHO_C" >&6
8042 ac_check_lib_save_LIBS=$LIBS
8043 LIBS="-ldc1394_control $LIBS"
8044 cat >conftest.$ac_ext <<_ACEOF
8047 cat confdefs.h >>conftest.$ac_ext
8048 cat >>conftest.$ac_ext <<_ACEOF
8049 /* end confdefs.h. */
8051 /* Override any GCC internal prototype to avoid an error.
8052 Use char because int might match the return type of a GCC
8053 builtin and then its argument prototype would still apply. */
8057 char dc1394_create_handle ();
8061 return dc1394_create_handle ();
8066 rm -f conftest.$ac_objext conftest$ac_exeext
8067 if { (ac_try="$ac_link"
8069 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8070 *) ac_try_echo
=$ac_try;;
8072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8073 (eval "$ac_link") 2>conftest.er1
8075 grep -v '^ *+' conftest.er1
>conftest.err
8077 cat conftest.err
>&5
8078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8079 (exit $ac_status); } && {
8080 test -z "$ac_c_werror_flag" ||
8081 test ! -s conftest.err
8082 } && test -s conftest
$ac_exeext &&
8083 $as_test_x conftest
$ac_exeext; then
8084 ac_cv_lib_dc1394_control_dc1394_create_handle
=yes
8086 echo "$as_me: failed program was:" >&5
8087 sed 's/^/| /' conftest.
$ac_ext >&5
8089 ac_cv_lib_dc1394_control_dc1394_create_handle
=no
8092 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8093 conftest
$ac_exeext conftest.
$ac_ext
8094 LIBS
=$ac_check_lib_save_LIBS
8096 { echo "$as_me:$LINENO: result: $ac_cv_lib_dc1394_control_dc1394_create_handle" >&5
8097 echo "${ECHO_T}$ac_cv_lib_dc1394_control_dc1394_create_handle" >&6; }
8098 if test $ac_cv_lib_dc1394_control_dc1394_create_handle = yes; then
8099 cat >>confdefs.h
<<_ACEOF
8100 #define HAVE_LIBDC1394_CONTROL 1
8103 LIBS
="-ldc1394_control $LIBS"
8106 { { echo "$as_me:$LINENO: error: \"libdc1394_control not installed\"" >&5
8107 echo "$as_me: error: \"libdc1394_control not installed\"" >&2;}
8108 { (exit 1); exit 1; }; }
8112 if test "${ac_cv_header_libdc1394_dc1394_control_h+set}" = set; then
8113 { echo "$as_me:$LINENO: checking for libdc1394/dc1394_control.h" >&5
8114 echo $ECHO_N "checking for libdc1394/dc1394_control.h... $ECHO_C" >&6; }
8115 if test "${ac_cv_header_libdc1394_dc1394_control_h+set}" = set; then
8116 echo $ECHO_N "(cached) $ECHO_C" >&6
8118 { echo "$as_me:$LINENO: result: $ac_cv_header_libdc1394_dc1394_control_h" >&5
8119 echo "${ECHO_T}$ac_cv_header_libdc1394_dc1394_control_h" >&6; }
8121 # Is the header compilable?
8122 { echo "$as_me:$LINENO: checking libdc1394/dc1394_control.h usability" >&5
8123 echo $ECHO_N "checking libdc1394/dc1394_control.h usability... $ECHO_C" >&6; }
8124 cat >conftest.
$ac_ext <<_ACEOF
8127 cat confdefs.h
>>conftest.
$ac_ext
8128 cat >>conftest.
$ac_ext <<_ACEOF
8129 /* end confdefs.h. */
8130 $ac_includes_default
8131 #include <libdc1394/dc1394_control.h>
8133 rm -f conftest.
$ac_objext
8134 if { (ac_try
="$ac_compile"
8136 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8137 *) ac_try_echo=$ac_try;;
8139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8140 (eval "$ac_compile") 2>conftest.er1
8142 grep -v '^ *+' conftest.er1 >conftest.err
8144 cat conftest.err >&5
8145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8146 (exit $ac_status); } && {
8147 test -z "$ac_c_werror_flag" ||
8148 test ! -s conftest.err
8149 } && test -s conftest.$ac_objext; then
8150 ac_header_compiler=yes
8152 echo "$as_me: failed program was:" >&5
8153 sed 's/^/| /' conftest.$ac_ext >&5
8155 ac_header_compiler=no
8158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8159 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8160 echo "${ECHO_T}$ac_header_compiler" >&6; }
8162 # Is the header present?
8163 { echo "$as_me:$LINENO: checking libdc1394/dc1394_control.h presence" >&5
8164 echo $ECHO_N "checking libdc1394/dc1394_control.h presence... $ECHO_C" >&6; }
8165 cat >conftest.$ac_ext <<_ACEOF
8168 cat confdefs.h >>conftest.$ac_ext
8169 cat >>conftest.$ac_ext <<_ACEOF
8170 /* end confdefs.h. */
8171 #include <libdc1394/dc1394_control.h>
8173 if { (ac_try="$ac_cpp conftest.$ac_ext"
8175 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8176 *) ac_try_echo
=$ac_try;;
8178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8179 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8181 grep -v '^ *+' conftest.er1
>conftest.err
8183 cat conftest.err
>&5
8184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8185 (exit $ac_status); } >/dev
/null
&& {
8186 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8187 test ! -s conftest.err
8189 ac_header_preproc
=yes
8191 echo "$as_me: failed program was:" >&5
8192 sed 's/^/| /' conftest.
$ac_ext >&5
8194 ac_header_preproc
=no
8197 rm -f conftest.err conftest.
$ac_ext
8198 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8199 echo "${ECHO_T}$ac_header_preproc" >&6; }
8201 # So? What about this header?
8202 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8204 { echo "$as_me:$LINENO: WARNING: libdc1394/dc1394_control.h: accepted by the compiler, rejected by the preprocessor!" >&5
8205 echo "$as_me: WARNING: libdc1394/dc1394_control.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
8206 { echo "$as_me:$LINENO: WARNING: libdc1394/dc1394_control.h: proceeding with the compiler's result" >&5
8207 echo "$as_me: WARNING: libdc1394/dc1394_control.h: proceeding with the compiler's result" >&2;}
8208 ac_header_preproc
=yes
8211 { echo "$as_me:$LINENO: WARNING: libdc1394/dc1394_control.h: present but cannot be compiled" >&5
8212 echo "$as_me: WARNING: libdc1394/dc1394_control.h: present but cannot be compiled" >&2;}
8213 { echo "$as_me:$LINENO: WARNING: libdc1394/dc1394_control.h: check for missing prerequisite headers?" >&5
8214 echo "$as_me: WARNING: libdc1394/dc1394_control.h: check for missing prerequisite headers?" >&2;}
8215 { echo "$as_me:$LINENO: WARNING: libdc1394/dc1394_control.h: see the Autoconf documentation" >&5
8216 echo "$as_me: WARNING: libdc1394/dc1394_control.h: see the Autoconf documentation" >&2;}
8217 { echo "$as_me:$LINENO: WARNING: libdc1394/dc1394_control.h: section \"Present But Cannot Be Compiled\"" >&5
8218 echo "$as_me: WARNING: libdc1394/dc1394_control.h: section \"Present But Cannot Be Compiled\"" >&2;}
8219 { echo "$as_me:$LINENO: WARNING: libdc1394/dc1394_control.h: proceeding with the preprocessor's result" >&5
8220 echo "$as_me: WARNING: libdc1394/dc1394_control.h: proceeding with the preprocessor's result" >&2;}
8221 { echo "$as_me:$LINENO: WARNING: libdc1394/dc1394_control.h: in the future, the compiler will take precedence" >&5
8222 echo "$as_me: WARNING: libdc1394/dc1394_control.h: in the future, the compiler will take precedence" >&2;}
8226 { echo "$as_me:$LINENO: checking for libdc1394/dc1394_control.h" >&5
8227 echo $ECHO_N "checking for libdc1394/dc1394_control.h... $ECHO_C" >&6; }
8228 if test "${ac_cv_header_libdc1394_dc1394_control_h+set}" = set; then
8229 echo $ECHO_N "(cached) $ECHO_C" >&6
8231 ac_cv_header_libdc1394_dc1394_control_h
=$ac_header_preproc
8233 { echo "$as_me:$LINENO: result: $ac_cv_header_libdc1394_dc1394_control_h" >&5
8234 echo "${ECHO_T}$ac_cv_header_libdc1394_dc1394_control_h" >&6; }
8237 if test $ac_cv_header_libdc1394_dc1394_control_h = yes; then
8240 { { echo "$as_me:$LINENO: error: \"missing dc1394_control.h\"" >&5
8241 echo "$as_me: error: \"missing dc1394_control.h\"" >&2;}
8242 { (exit 1); exit 1; }; }
8247 if test "${ac_cv_header_libraw1394_raw1394_h+set}" = set; then
8248 { echo "$as_me:$LINENO: checking for libraw1394/raw1394.h" >&5
8249 echo $ECHO_N "checking for libraw1394/raw1394.h... $ECHO_C" >&6; }
8250 if test "${ac_cv_header_libraw1394_raw1394_h+set}" = set; then
8251 echo $ECHO_N "(cached) $ECHO_C" >&6
8253 { echo "$as_me:$LINENO: result: $ac_cv_header_libraw1394_raw1394_h" >&5
8254 echo "${ECHO_T}$ac_cv_header_libraw1394_raw1394_h" >&6; }
8256 # Is the header compilable?
8257 { echo "$as_me:$LINENO: checking libraw1394/raw1394.h usability" >&5
8258 echo $ECHO_N "checking libraw1394/raw1394.h usability... $ECHO_C" >&6; }
8259 cat >conftest.
$ac_ext <<_ACEOF
8262 cat confdefs.h
>>conftest.
$ac_ext
8263 cat >>conftest.
$ac_ext <<_ACEOF
8264 /* end confdefs.h. */
8265 $ac_includes_default
8266 #include <libraw1394/raw1394.h>
8268 rm -f conftest.
$ac_objext
8269 if { (ac_try
="$ac_compile"
8271 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8272 *) ac_try_echo=$ac_try;;
8274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8275 (eval "$ac_compile") 2>conftest.er1
8277 grep -v '^ *+' conftest.er1 >conftest.err
8279 cat conftest.err >&5
8280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8281 (exit $ac_status); } && {
8282 test -z "$ac_c_werror_flag" ||
8283 test ! -s conftest.err
8284 } && test -s conftest.$ac_objext; then
8285 ac_header_compiler=yes
8287 echo "$as_me: failed program was:" >&5
8288 sed 's/^/| /' conftest.$ac_ext >&5
8290 ac_header_compiler=no
8293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8294 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8295 echo "${ECHO_T}$ac_header_compiler" >&6; }
8297 # Is the header present?
8298 { echo "$as_me:$LINENO: checking libraw1394/raw1394.h presence" >&5
8299 echo $ECHO_N "checking libraw1394/raw1394.h presence... $ECHO_C" >&6; }
8300 cat >conftest.$ac_ext <<_ACEOF
8303 cat confdefs.h >>conftest.$ac_ext
8304 cat >>conftest.$ac_ext <<_ACEOF
8305 /* end confdefs.h. */
8306 #include <libraw1394/raw1394.h>
8308 if { (ac_try="$ac_cpp conftest.$ac_ext"
8310 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8311 *) ac_try_echo
=$ac_try;;
8313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8314 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8316 grep -v '^ *+' conftest.er1
>conftest.err
8318 cat conftest.err
>&5
8319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8320 (exit $ac_status); } >/dev
/null
&& {
8321 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8322 test ! -s conftest.err
8324 ac_header_preproc
=yes
8326 echo "$as_me: failed program was:" >&5
8327 sed 's/^/| /' conftest.
$ac_ext >&5
8329 ac_header_preproc
=no
8332 rm -f conftest.err conftest.
$ac_ext
8333 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8334 echo "${ECHO_T}$ac_header_preproc" >&6; }
8336 # So? What about this header?
8337 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8339 { echo "$as_me:$LINENO: WARNING: libraw1394/raw1394.h: accepted by the compiler, rejected by the preprocessor!" >&5
8340 echo "$as_me: WARNING: libraw1394/raw1394.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
8341 { echo "$as_me:$LINENO: WARNING: libraw1394/raw1394.h: proceeding with the compiler's result" >&5
8342 echo "$as_me: WARNING: libraw1394/raw1394.h: proceeding with the compiler's result" >&2;}
8343 ac_header_preproc
=yes
8346 { echo "$as_me:$LINENO: WARNING: libraw1394/raw1394.h: present but cannot be compiled" >&5
8347 echo "$as_me: WARNING: libraw1394/raw1394.h: present but cannot be compiled" >&2;}
8348 { echo "$as_me:$LINENO: WARNING: libraw1394/raw1394.h: check for missing prerequisite headers?" >&5
8349 echo "$as_me: WARNING: libraw1394/raw1394.h: check for missing prerequisite headers?" >&2;}
8350 { echo "$as_me:$LINENO: WARNING: libraw1394/raw1394.h: see the Autoconf documentation" >&5
8351 echo "$as_me: WARNING: libraw1394/raw1394.h: see the Autoconf documentation" >&2;}
8352 { echo "$as_me:$LINENO: WARNING: libraw1394/raw1394.h: section \"Present But Cannot Be Compiled\"" >&5
8353 echo "$as_me: WARNING: libraw1394/raw1394.h: section \"Present But Cannot Be Compiled\"" >&2;}
8354 { echo "$as_me:$LINENO: WARNING: libraw1394/raw1394.h: proceeding with the preprocessor's result" >&5
8355 echo "$as_me: WARNING: libraw1394/raw1394.h: proceeding with the preprocessor's result" >&2;}
8356 { echo "$as_me:$LINENO: WARNING: libraw1394/raw1394.h: in the future, the compiler will take precedence" >&5
8357 echo "$as_me: WARNING: libraw1394/raw1394.h: in the future, the compiler will take precedence" >&2;}
8361 { echo "$as_me:$LINENO: checking for libraw1394/raw1394.h" >&5
8362 echo $ECHO_N "checking for libraw1394/raw1394.h... $ECHO_C" >&6; }
8363 if test "${ac_cv_header_libraw1394_raw1394_h+set}" = set; then
8364 echo $ECHO_N "(cached) $ECHO_C" >&6
8366 ac_cv_header_libraw1394_raw1394_h
=$ac_header_preproc
8368 { echo "$as_me:$LINENO: result: $ac_cv_header_libraw1394_raw1394_h" >&5
8369 echo "${ECHO_T}$ac_cv_header_libraw1394_raw1394_h" >&6; }
8372 if test $ac_cv_header_libraw1394_raw1394_h = yes; then
8375 { { echo "$as_me:$LINENO: error: \"missing raw1394.h\"" >&5
8376 echo "$as_me: error: \"missing raw1394.h\"" >&2;}
8377 { (exit 1); exit 1; }; }
8384 if test "${ENABLE_TRIG}" == '-DENABLE_TRIG'; then
8386 { echo "$as_me:$LINENO: checking for gpiv_trig_openrtfs in -lgpiv" >&5
8387 echo $ECHO_N "checking for gpiv_trig_openrtfs in -lgpiv... $ECHO_C" >&6; }
8388 if test "${ac_cv_lib_gpiv_gpiv_trig_openrtfs+set}" = set; then
8389 echo $ECHO_N "(cached) $ECHO_C" >&6
8391 ac_check_lib_save_LIBS
=$LIBS
8393 cat >conftest.
$ac_ext <<_ACEOF
8396 cat confdefs.h
>>conftest.
$ac_ext
8397 cat >>conftest.
$ac_ext <<_ACEOF
8398 /* end confdefs.h. */
8400 /* Override any GCC internal prototype to avoid an error.
8401 Use char because int might match the return type of a GCC
8402 builtin and then its argument prototype would still apply. */
8406 char gpiv_trig_openrtfs ();
8410 return gpiv_trig_openrtfs ();
8415 rm -f conftest.
$ac_objext conftest
$ac_exeext
8416 if { (ac_try
="$ac_link"
8418 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8419 *) ac_try_echo=$ac_try;;
8421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8422 (eval "$ac_link") 2>conftest.er1
8424 grep -v '^ *+' conftest.er1 >conftest.err
8426 cat conftest.err >&5
8427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8428 (exit $ac_status); } && {
8429 test -z "$ac_c_werror_flag" ||
8430 test ! -s conftest.err
8431 } && test -s conftest$ac_exeext &&
8432 $as_test_x conftest$ac_exeext; then
8433 ac_cv_lib_gpiv_gpiv_trig_openrtfs=yes
8435 echo "$as_me: failed program was:" >&5
8436 sed 's/^/| /' conftest.$ac_ext >&5
8438 ac_cv_lib_gpiv_gpiv_trig_openrtfs=no
8441 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8442 conftest$ac_exeext conftest.$ac_ext
8443 LIBS=$ac_check_lib_save_LIBS
8445 { echo "$as_me:$LINENO: result: $ac_cv_lib_gpiv_gpiv_trig_openrtfs" >&5
8446 echo "${ECHO_T}$ac_cv_lib_gpiv_gpiv_trig_openrtfs" >&6; }
8447 if test $ac_cv_lib_gpiv_gpiv_trig_openrtfs = yes; then
8448 cat >>confdefs.h <<_ACEOF
8449 #define HAVE_LIBGPIV 1
8455 { { echo "$as_me:$LINENO: error: \"(Realtime) triggering is not working in libgpiv. \
8456 Enable (realtime) triggering in libgpiv or disable it here by leaving out --enable-trig during ./configure\"" >&5
8457 echo "$as_me: error: \"(Realtime) triggering is not working in libgpiv. \
8458 Enable (realtime) triggering in libgpiv or disable it here by leaving out --enable-trig during ./configure\"" >&2;}
8459 { (exit 1); exit 1; }; }
8465 # Extract the first word of "gpiv_control", so it can be a program name with args.
8466 set dummy gpiv_control; ac_word=$2
8467 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8468 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8469 if test "${ac_cv_prog_CONTROL+set}" = set; then
8470 echo $ECHO_N "(cached) $ECHO_C" >&6
8472 if test -n "$CONTROL"; then
8473 ac_cv_prog_CONTROL="$CONTROL" # Let the user override the test.
8475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8479 test -z "$as_dir" && as_dir=.
8480 for ac_exec_ext in '' $ac_executable_extensions; do
8481 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8482 ac_cv_prog_CONTROL="true"
8483 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8490 test -z "$ac_cv_prog_CONTROL" && ac_cv_prog_CONTROL="false"
8493 CONTROL=$ac_cv_prog_CONTROL
8494 if test -n "$CONTROL"; then
8495 { echo "$as_me:$LINENO: result: $CONTROL" >&5
8496 echo "${ECHO_T}$CONTROL" >&6; }
8498 { echo "$as_me:$LINENO: result: no" >&5
8499 echo "${ECHO_T}no" >&6; }
8507 HAVE_CONTROL_FALSE='#'
8509 HAVE_CONTROL_TRUE='#'
8516 # Check whether --enable-rta was given.
8517 if test "${enable_rta+set}" = set; then
8518 enableval=$enable_rta; RTA_TOPDIR="$enableval"
8520 RTA_TOPDIR="/usr/lib/realtime"
8526 # Check whether --enable-k was given.
8527 if test "${enable_k+set}" = set; then
8528 enableval=$enable_k; K_TOPDIR="$enableval"
8530 K_TOPDIR="/usr/src/kernel-headers-2.4.27-adeos"
8540 HAVE_MPIPYTHON_TRUE=
8541 HAVE_MPIPYTHON_FALSE='#'
8543 HAVE_MPIPYTHON_TRUE='#'
8544 HAVE_MPIPYTHON_FALSE=
8549 if test "${ENABLE_MPI}" == '-DENABLE_MPI'; then
8559 # Check whether --enable-omp was given.
8560 if test "${enable_omp+set}" = set; then
8561 enableval=$enable_omp; ENABLE_OMP="ENABLE_OMP"
8566 if test "${ENABLE_OMP}" == 'ENABLE_OMP'; then
8570 { echo "$as_me:$LINENO: checking for main in -lgomp" >&5
8571 echo $ECHO_N "checking for main in -lgomp... $ECHO_C" >&6; }
8572 if test "${ac_cv_lib_gomp_main+set}" = set; then
8573 echo $ECHO_N "(cached) $ECHO_C" >&6
8575 ac_check_lib_save_LIBS=$LIBS
8577 cat >conftest.$ac_ext <<_ACEOF
8580 cat confdefs.h >>conftest.$ac_ext
8581 cat >>conftest.$ac_ext <<_ACEOF
8582 /* end confdefs.h. */
8593 rm -f conftest.$ac_objext conftest$ac_exeext
8594 if { (ac_try="$ac_link"
8596 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8597 *) ac_try_echo
=$ac_try;;
8599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8600 (eval "$ac_link") 2>conftest.er1
8602 grep -v '^ *+' conftest.er1
>conftest.err
8604 cat conftest.err
>&5
8605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8606 (exit $ac_status); } && {
8607 test -z "$ac_c_werror_flag" ||
8608 test ! -s conftest.err
8609 } && test -s conftest
$ac_exeext &&
8610 $as_test_x conftest
$ac_exeext; then
8611 ac_cv_lib_gomp_main
=yes
8613 echo "$as_me: failed program was:" >&5
8614 sed 's/^/| /' conftest.
$ac_ext >&5
8616 ac_cv_lib_gomp_main
=no
8619 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8620 conftest
$ac_exeext conftest.
$ac_ext
8621 LIBS
=$ac_check_lib_save_LIBS
8623 { echo "$as_me:$LINENO: result: $ac_cv_lib_gomp_main" >&5
8624 echo "${ECHO_T}$ac_cv_lib_gomp_main" >&6; }
8625 if test $ac_cv_lib_gomp_main = yes; then
8626 cat >>confdefs.h
<<_ACEOF
8627 #define HAVE_LIBGOMP 1
8633 { { echo "$as_me:$LINENO: error: \"libgomp not installed\"" >&5
8634 echo "$as_me: error: \"libgomp not installed\"" >&2;}
8635 { (exit 1); exit 1; }; }
8638 if test "${ac_cv_header_omp_h+set}" = set; then
8639 { echo "$as_me:$LINENO: checking for omp.h" >&5
8640 echo $ECHO_N "checking for omp.h... $ECHO_C" >&6; }
8641 if test "${ac_cv_header_omp_h+set}" = set; then
8642 echo $ECHO_N "(cached) $ECHO_C" >&6
8644 { echo "$as_me:$LINENO: result: $ac_cv_header_omp_h" >&5
8645 echo "${ECHO_T}$ac_cv_header_omp_h" >&6; }
8647 # Is the header compilable?
8648 { echo "$as_me:$LINENO: checking omp.h usability" >&5
8649 echo $ECHO_N "checking omp.h usability... $ECHO_C" >&6; }
8650 cat >conftest.
$ac_ext <<_ACEOF
8653 cat confdefs.h
>>conftest.
$ac_ext
8654 cat >>conftest.
$ac_ext <<_ACEOF
8655 /* end confdefs.h. */
8656 $ac_includes_default
8659 rm -f conftest.
$ac_objext
8660 if { (ac_try
="$ac_compile"
8662 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8663 *) ac_try_echo=$ac_try;;
8665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8666 (eval "$ac_compile") 2>conftest.er1
8668 grep -v '^ *+' conftest.er1 >conftest.err
8670 cat conftest.err >&5
8671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8672 (exit $ac_status); } && {
8673 test -z "$ac_c_werror_flag" ||
8674 test ! -s conftest.err
8675 } && test -s conftest.$ac_objext; then
8676 ac_header_compiler=yes
8678 echo "$as_me: failed program was:" >&5
8679 sed 's/^/| /' conftest.$ac_ext >&5
8681 ac_header_compiler=no
8684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8685 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8686 echo "${ECHO_T}$ac_header_compiler" >&6; }
8688 # Is the header present?
8689 { echo "$as_me:$LINENO: checking omp.h presence" >&5
8690 echo $ECHO_N "checking omp.h presence... $ECHO_C" >&6; }
8691 cat >conftest.$ac_ext <<_ACEOF
8694 cat confdefs.h >>conftest.$ac_ext
8695 cat >>conftest.$ac_ext <<_ACEOF
8696 /* end confdefs.h. */
8699 if { (ac_try="$ac_cpp conftest.$ac_ext"
8701 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8702 *) ac_try_echo
=$ac_try;;
8704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8705 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8707 grep -v '^ *+' conftest.er1
>conftest.err
8709 cat conftest.err
>&5
8710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8711 (exit $ac_status); } >/dev
/null
&& {
8712 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8713 test ! -s conftest.err
8715 ac_header_preproc
=yes
8717 echo "$as_me: failed program was:" >&5
8718 sed 's/^/| /' conftest.
$ac_ext >&5
8720 ac_header_preproc
=no
8723 rm -f conftest.err conftest.
$ac_ext
8724 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8725 echo "${ECHO_T}$ac_header_preproc" >&6; }
8727 # So? What about this header?
8728 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8730 { echo "$as_me:$LINENO: WARNING: omp.h: accepted by the compiler, rejected by the preprocessor!" >&5
8731 echo "$as_me: WARNING: omp.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
8732 { echo "$as_me:$LINENO: WARNING: omp.h: proceeding with the compiler's result" >&5
8733 echo "$as_me: WARNING: omp.h: proceeding with the compiler's result" >&2;}
8734 ac_header_preproc
=yes
8737 { echo "$as_me:$LINENO: WARNING: omp.h: present but cannot be compiled" >&5
8738 echo "$as_me: WARNING: omp.h: present but cannot be compiled" >&2;}
8739 { echo "$as_me:$LINENO: WARNING: omp.h: check for missing prerequisite headers?" >&5
8740 echo "$as_me: WARNING: omp.h: check for missing prerequisite headers?" >&2;}
8741 { echo "$as_me:$LINENO: WARNING: omp.h: see the Autoconf documentation" >&5
8742 echo "$as_me: WARNING: omp.h: see the Autoconf documentation" >&2;}
8743 { echo "$as_me:$LINENO: WARNING: omp.h: section \"Present But Cannot Be Compiled\"" >&5
8744 echo "$as_me: WARNING: omp.h: section \"Present But Cannot Be Compiled\"" >&2;}
8745 { echo "$as_me:$LINENO: WARNING: omp.h: proceeding with the preprocessor's result" >&5
8746 echo "$as_me: WARNING: omp.h: proceeding with the preprocessor's result" >&2;}
8747 { echo "$as_me:$LINENO: WARNING: omp.h: in the future, the compiler will take precedence" >&5
8748 echo "$as_me: WARNING: omp.h: in the future, the compiler will take precedence" >&2;}
8752 { echo "$as_me:$LINENO: checking for omp.h" >&5
8753 echo $ECHO_N "checking for omp.h... $ECHO_C" >&6; }
8754 if test "${ac_cv_header_omp_h+set}" = set; then
8755 echo $ECHO_N "(cached) $ECHO_C" >&6
8757 ac_cv_header_omp_h
=$ac_header_preproc
8759 { echo "$as_me:$LINENO: result: $ac_cv_header_omp_h" >&5
8760 echo "${ECHO_T}$ac_cv_header_omp_h" >&6; }
8763 if test $ac_cv_header_omp_h = yes; then
8766 { { echo "$as_me:$LINENO: error: \"missing omp.h\"" >&5
8767 echo "$as_me: error: \"missing omp.h\"" >&2;}
8768 { (exit 1); exit 1; }; }
8776 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
8777 # for constant arguments. Useless!
8778 { echo "$as_me:$LINENO: checking for working alloca.h" >&5
8779 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6; }
8780 if test "${ac_cv_working_alloca_h+set}" = set; then
8781 echo $ECHO_N "(cached) $ECHO_C" >&6
8783 cat >conftest.
$ac_ext <<_ACEOF
8786 cat confdefs.h
>>conftest.
$ac_ext
8787 cat >>conftest.
$ac_ext <<_ACEOF
8788 /* end confdefs.h. */
8793 char *p = (char *) alloca (2 * sizeof (int));
8799 rm -f conftest.
$ac_objext conftest
$ac_exeext
8800 if { (ac_try
="$ac_link"
8802 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8803 *) ac_try_echo=$ac_try;;
8805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8806 (eval "$ac_link") 2>conftest.er1
8808 grep -v '^ *+' conftest.er1 >conftest.err
8810 cat conftest.err >&5
8811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8812 (exit $ac_status); } && {
8813 test -z "$ac_c_werror_flag" ||
8814 test ! -s conftest.err
8815 } && test -s conftest$ac_exeext &&
8816 $as_test_x conftest$ac_exeext; then
8817 ac_cv_working_alloca_h=yes
8819 echo "$as_me: failed program was:" >&5
8820 sed 's/^/| /' conftest.$ac_ext >&5
8822 ac_cv_working_alloca_h=no
8825 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8826 conftest$ac_exeext conftest.$ac_ext
8828 { echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
8829 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6; }
8830 if test $ac_cv_working_alloca_h = yes; then
8832 cat >>confdefs.h <<\_ACEOF
8833 #define HAVE_ALLOCA_H 1
8838 { echo "$as_me:$LINENO: checking for alloca" >&5
8839 echo $ECHO_N "checking for alloca... $ECHO_C" >&6; }
8840 if test "${ac_cv_func_alloca_works+set}" = set; then
8841 echo $ECHO_N "(cached) $ECHO_C" >&6
8843 cat >conftest.$ac_ext <<_ACEOF
8846 cat confdefs.h >>conftest.$ac_ext
8847 cat >>conftest.$ac_ext <<_ACEOF
8848 /* end confdefs.h. */
8850 # define alloca __builtin_alloca
8853 # include <malloc.h>
8854 # define alloca _alloca
8856 # ifdef HAVE_ALLOCA_H
8857 # include <alloca.h>
8862 # ifndef alloca /* predefined by HP cc +Olibcalls */
8873 char *p = (char *) alloca (1);
8879 rm -f conftest.$ac_objext conftest$ac_exeext
8880 if { (ac_try="$ac_link"
8882 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8883 *) ac_try_echo
=$ac_try;;
8885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8886 (eval "$ac_link") 2>conftest.er1
8888 grep -v '^ *+' conftest.er1
>conftest.err
8890 cat conftest.err
>&5
8891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8892 (exit $ac_status); } && {
8893 test -z "$ac_c_werror_flag" ||
8894 test ! -s conftest.err
8895 } && test -s conftest
$ac_exeext &&
8896 $as_test_x conftest
$ac_exeext; then
8897 ac_cv_func_alloca_works
=yes
8899 echo "$as_me: failed program was:" >&5
8900 sed 's/^/| /' conftest.
$ac_ext >&5
8902 ac_cv_func_alloca_works
=no
8905 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8906 conftest
$ac_exeext conftest.
$ac_ext
8908 { echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
8909 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6; }
8911 if test $ac_cv_func_alloca_works = yes; then
8913 cat >>confdefs.h
<<\_ACEOF
8914 #define HAVE_ALLOCA 1
8918 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
8919 # that cause trouble. Some versions do not even contain alloca or
8920 # contain a buggy version. If you still want to use their alloca,
8921 # use ar to extract alloca.o from them instead of compiling alloca.c.
8923 ALLOCA
=\
${LIBOBJDIR}alloca.
$ac_objext
8925 cat >>confdefs.h
<<\_ACEOF
8930 { echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
8931 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6; }
8932 if test "${ac_cv_os_cray+set}" = set; then
8933 echo $ECHO_N "(cached) $ECHO_C" >&6
8935 cat >conftest.
$ac_ext <<_ACEOF
8938 cat confdefs.h
>>conftest.
$ac_ext
8939 cat >>conftest.
$ac_ext <<_ACEOF
8940 /* end confdefs.h. */
8941 #if defined CRAY && ! defined CRAY2
8948 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8949 $EGREP "webecray" >/dev
/null
2>&1; then
8957 { echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
8958 echo "${ECHO_T}$ac_cv_os_cray" >&6; }
8959 if test $ac_cv_os_cray = yes; then
8960 for ac_func
in _getb67 GETB67 getb67
; do
8961 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8962 { echo "$as_me:$LINENO: checking for $ac_func" >&5
8963 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
8964 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8965 echo $ECHO_N "(cached) $ECHO_C" >&6
8967 cat >conftest.
$ac_ext <<_ACEOF
8970 cat confdefs.h
>>conftest.
$ac_ext
8971 cat >>conftest.
$ac_ext <<_ACEOF
8972 /* end confdefs.h. */
8973 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8974 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8975 #define $ac_func innocuous_$ac_func
8977 /* System header to define __stub macros and hopefully few prototypes,
8978 which can conflict with char $ac_func (); below.
8979 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8980 <limits.h> exists even on freestanding compilers. */
8983 # include <limits.h>
8985 # include <assert.h>
8990 /* Override any GCC internal prototype to avoid an error.
8991 Use char because int might match the return type of a GCC
8992 builtin and then its argument prototype would still apply. */
8997 /* The GNU C library defines this for functions which it implements
8998 to always fail with ENOSYS. Some functions are actually named
8999 something starting with __ and the normal name is an alias. */
9000 #if defined __stub_$ac_func || defined __stub___$ac_func
9012 rm -f conftest.
$ac_objext conftest
$ac_exeext
9013 if { (ac_try
="$ac_link"
9015 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9016 *) ac_try_echo=$ac_try;;
9018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9019 (eval "$ac_link") 2>conftest.er1
9021 grep -v '^ *+' conftest.er1 >conftest.err
9023 cat conftest.err >&5
9024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9025 (exit $ac_status); } && {
9026 test -z "$ac_c_werror_flag" ||
9027 test ! -s conftest.err
9028 } && test -s conftest$ac_exeext &&
9029 $as_test_x conftest$ac_exeext; then
9030 eval "$as_ac_var=yes"
9032 echo "$as_me: failed program was:" >&5
9033 sed 's/^/| /' conftest.$ac_ext >&5
9035 eval "$as_ac_var=no"
9038 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9039 conftest$ac_exeext conftest.$ac_ext
9041 ac_res=`eval echo '${'$as_ac_var'}'`
9042 { echo "$as_me:$LINENO: result: $ac_res" >&5
9043 echo "${ECHO_T}$ac_res" >&6; }
9044 if test `eval echo '${'$as_ac_var'}'` = yes; then
9046 cat >>confdefs.h <<_ACEOF
9047 #define CRAY_STACKSEG_END $ac_func
9056 { echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
9057 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6; }
9058 if test "${ac_cv_c_stack_direction+set}" = set; then
9059 echo $ECHO_N "(cached) $ECHO_C" >&6
9061 if test "$cross_compiling" = yes; then
9062 ac_cv_c_stack_direction=0
9064 cat >conftest.$ac_ext <<_ACEOF
9067 cat confdefs.h >>conftest.$ac_ext
9068 cat >>conftest.$ac_ext <<_ACEOF
9069 /* end confdefs.h. */
9070 $ac_includes_default
9072 find_stack_direction ()
9074 static char *addr = 0;
9079 return find_stack_direction ();
9082 return (&dummy > addr) ? 1 : -1;
9088 return find_stack_direction () < 0;
9091 rm -f conftest$ac_exeext
9092 if { (ac_try="$ac_link"
9094 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9095 *) ac_try_echo
=$ac_try;;
9097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9098 (eval "$ac_link") 2>&5
9100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9101 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
9102 { (case "(($ac_try" in
9103 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9104 *) ac_try_echo=$ac_try;;
9106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9107 (eval "$ac_try") 2>&5
9109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9110 (exit $ac_status); }; }; then
9111 ac_cv_c_stack_direction=1
9113 echo "$as_me: program exited with status $ac_status" >&5
9114 echo "$as_me: failed program was:" >&5
9115 sed 's/^/| /' conftest.$ac_ext >&5
9118 ac_cv_c_stack_direction=-1
9120 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9125 { echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
9126 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6; }
9128 cat >>confdefs.h <<_ACEOF
9129 #define STACK_DIRECTION $ac_cv_c_stack_direction
9135 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"
9137 cat >confcache <<\_ACEOF
9138 # This file is a shell script that caches the results of configure
9139 # tests run on this system so they can be shared between configure
9140 # scripts and configure runs, see configure's option --config-cache.
9141 # It is not useful on other systems. If it contains results you don't
9142 # want to keep, you may remove or edit it.
9144 # config.status only pays attention to the cache file if you give it
9145 # the --recheck option to rerun configure.
9147 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
9148 # loading this file, other *unset* `ac_cv_foo' will be assigned the
9153 # The following way of writing the cache mishandles newlines in values,
9154 # but we know of no workaround that is simple, portable, and efficient.
9155 # So, we kill variables containing newlines.
9156 # Ultrix sh set writes to stderr and can't be redirected directly,
9157 # and sets the high bit in the cache file unless we assign to the vars.
9159 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
9160 eval ac_val
=\$
$ac_var
9164 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
9165 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
9168 _ | IFS | as_nl
) ;; #(
9169 *) $as_unset $ac_var ;;
9175 case $as_nl`(ac_space=' '; set) 2>&1` in #(
9176 *${as_nl}ac_space
=\
*)
9177 # `set' does not quote correctly, so add quotes (double-quote
9178 # substitution turns \\\\ into \\, and sed turns \\ into \).
9181 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9184 # `set' quotes correctly as required by POSIX, so do not add quotes.
9185 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
9194 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9196 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9198 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
9199 if test -w "$cache_file"; then
9200 test "x$cache_file" != "x/dev/null" &&
9201 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
9202 echo "$as_me: updating cache $cache_file" >&6;}
9203 cat confcache
>$cache_file
9205 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
9206 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
9211 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
9212 # Let make expand exec_prefix.
9213 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
9215 DEFS
=-DHAVE_CONFIG_H
9219 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
9220 # 1. Remove the extension, and $U if already installed.
9221 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
9222 ac_i
=`echo "$ac_i" | sed "$ac_script"`
9223 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
9224 # will be set to the directory where LIBOBJS objects are built.
9225 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
9226 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
9230 LTLIBOBJS
=$ac_ltlibobjs
9233 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
9234 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
9235 Usually this means the macro was only invoked conditionally." >&5
9236 echo "$as_me: error: conditional \"AMDEP\" was never defined.
9237 Usually this means the macro was only invoked conditionally." >&2;}
9238 { (exit 1); exit 1; }; }
9240 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
9241 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
9242 Usually this means the macro was only invoked conditionally." >&5
9243 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
9244 Usually this means the macro was only invoked conditionally." >&2;}
9245 { (exit 1); exit 1; }; }
9247 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
9248 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
9249 Usually this means the macro was only invoked conditionally." >&5
9250 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
9251 Usually this means the macro was only invoked conditionally." >&2;}
9252 { (exit 1); exit 1; }; }
9254 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
9255 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
9256 Usually this means the macro was only invoked conditionally." >&5
9257 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
9258 Usually this means the macro was only invoked conditionally." >&2;}
9259 { (exit 1); exit 1; }; }
9261 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
9262 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
9263 Usually this means the macro was only invoked conditionally." >&5
9264 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
9265 Usually this means the macro was only invoked conditionally." >&2;}
9266 { (exit 1); exit 1; }; }
9268 if test -z "${HAVE_GNUPLOT_TRUE}" && test -z "${HAVE_GNUPLOT_FALSE}"; then
9269 { { echo "$as_me:$LINENO: error: conditional \"HAVE_GNUPLOT\" was never defined.
9270 Usually this means the macro was only invoked conditionally." >&5
9271 echo "$as_me: error: conditional \"HAVE_GNUPLOT\" was never defined.
9272 Usually this means the macro was only invoked conditionally." >&2;}
9273 { (exit 1); exit 1; }; }
9275 if test -z "${HAVE_PERL_TRUE}" && test -z "${HAVE_PERL_FALSE}"; then
9276 { { echo "$as_me:$LINENO: error: conditional \"HAVE_PERL\" was never defined.
9277 Usually this means the macro was only invoked conditionally." >&5
9278 echo "$as_me: error: conditional \"HAVE_PERL\" was never defined.
9279 Usually this means the macro was only invoked conditionally." >&2;}
9280 { (exit 1); exit 1; }; }
9282 if test -z "${HAVE_PYTHON_TRUE}" && test -z "${HAVE_PYTHON_FALSE}"; then
9283 { { echo "$as_me:$LINENO: error: conditional \"HAVE_PYTHON\" was never defined.
9284 Usually this means the macro was only invoked conditionally." >&5
9285 echo "$as_me: error: conditional \"HAVE_PYTHON\" was never defined.
9286 Usually this means the macro was only invoked conditionally." >&2;}
9287 { (exit 1); exit 1; }; }
9289 if test -z "${HAVE_CONVERT_TRUE}" && test -z "${HAVE_CONVERT_FALSE}"; then
9290 { { echo "$as_me:$LINENO: error: conditional \"HAVE_CONVERT\" was never defined.
9291 Usually this means the macro was only invoked conditionally." >&5
9292 echo "$as_me: error: conditional \"HAVE_CONVERT\" was never defined.
9293 Usually this means the macro was only invoked conditionally." >&2;}
9294 { (exit 1); exit 1; }; }
9296 if test -z "${HAVE_PLOTMTV_TRUE}" && test -z "${HAVE_PLOTMTV_FALSE}"; then
9297 { { echo "$as_me:$LINENO: error: conditional \"HAVE_PLOTMTV\" was never defined.
9298 Usually this means the macro was only invoked conditionally." >&5
9299 echo "$as_me: error: conditional \"HAVE_PLOTMTV\" was never defined.
9300 Usually this means the macro was only invoked conditionally." >&2;}
9301 { (exit 1); exit 1; }; }
9303 if test -z "${HAVE_CONTROL_TRUE}" && test -z "${HAVE_CONTROL_FALSE}"; then
9304 { { echo "$as_me:$LINENO: error: conditional \"HAVE_CONTROL\" was never defined.
9305 Usually this means the macro was only invoked conditionally." >&5
9306 echo "$as_me: error: conditional \"HAVE_CONTROL\" was never defined.
9307 Usually this means the macro was only invoked conditionally." >&2;}
9308 { (exit 1); exit 1; }; }
9310 if test -z "${HAVE_MPIPYTHON_TRUE}" && test -z "${HAVE_MPIPYTHON_FALSE}"; then
9311 { { echo "$as_me:$LINENO: error: conditional \"HAVE_MPIPYTHON\" was never defined.
9312 Usually this means the macro was only invoked conditionally." >&5
9313 echo "$as_me: error: conditional \"HAVE_MPIPYTHON\" was never defined.
9314 Usually this means the macro was only invoked conditionally." >&2;}
9315 { (exit 1); exit 1; }; }
9317 if test -z "${BUILD_MPI_TRUE}" && test -z "${BUILD_MPI_FALSE}"; then
9318 { { echo "$as_me:$LINENO: error: conditional \"BUILD_MPI\" was never defined.
9319 Usually this means the macro was only invoked conditionally." >&5
9320 echo "$as_me: error: conditional \"BUILD_MPI\" was never defined.
9321 Usually this means the macro was only invoked conditionally." >&2;}
9322 { (exit 1); exit 1; }; }
9325 : ${CONFIG_STATUS=./config.status}
9326 ac_clean_files_save
=$ac_clean_files
9327 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
9328 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
9329 echo "$as_me: creating $CONFIG_STATUS" >&6;}
9330 cat >$CONFIG_STATUS <<_ACEOF
9332 # Generated by $as_me.
9333 # Run this file to recreate the current configuration.
9334 # Compiler output produced by configure, useful for debugging
9335 # configure, is in config.log if it exists.
9340 SHELL=\${CONFIG_SHELL-$SHELL}
9343 cat >>$CONFIG_STATUS <<\_ACEOF
9344 ## --------------------- ##
9345 ## M4sh Initialization. ##
9346 ## --------------------- ##
9348 # Be more Bourne compatible
9349 DUALCASE
=1; export DUALCASE
# for MKS sh
9350 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
9353 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
9354 # is contrary to our usage. Disable this feature.
9355 alias -g '${1+"$@"}'='"$@"'
9356 setopt NO_GLOB_SUBST
9358 case `(set -o) 2>/dev/null` in
9359 *posix
*) set -o posix
;;
9368 # Avoid depending upon Character Ranges.
9369 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
9370 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
9371 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
9372 as_cr_digits
='0123456789'
9373 as_cr_alnum
=$as_cr_Letters$as_cr_digits
9375 # The user is always right.
9376 if test "${PATH_SEPARATOR+set}" != set; then
9377 echo "#! /bin/sh" >conf$$.sh
9378 echo "exit 0" >>conf$$.sh
9380 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
9388 # Support unset when possible.
9389 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
9397 # We need space, tab and new line, in precisely that order. Quoting is
9398 # there to prevent editors from complaining about space-tab.
9399 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
9400 # splitting by setting IFS to empty value.)
9405 # Find who we are. Look in the path if we contain no directory separator.
9407 *[\\/]* ) as_myself
=$0 ;;
9408 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9412 test -z "$as_dir" && as_dir
=.
9413 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
9419 # We did not find ourselves, most probably we were run as `sh COMMAND'
9420 # in which case we are not to be found in the path.
9421 if test "x$as_myself" = x
; then
9424 if test ! -f "$as_myself"; then
9425 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
9426 { (exit 1); exit 1; }
9429 # Work around bugs in pre-3.0 UWIN ksh.
9430 for as_var
in ENV MAIL MAILPATH
9431 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
9439 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
9440 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
9441 LC_TELEPHONE LC_TIME
9443 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
9444 eval $as_var=C
; export $as_var
9446 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
9450 # Required to use basename.
9451 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
9452 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
9458 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
9459 as_basename
=basename
9465 # Name of the executable.
9466 as_me
=`$as_basename -- "$0" ||
9467 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
9468 X"$0" : 'X\(//\)$' \| \
9469 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
9471 sed '/^.*\/\([^/][^/]*\)\/*$/{
9492 test "x$as_lineno_1" != "x$as_lineno_2" &&
9493 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
9495 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
9496 # uniformly replaced by the line number. The first 'sed' inserts a
9497 # line-number line after each line using $LINENO; the second 'sed'
9498 # does the real work. The second script uses 'N' to pair each
9499 # line-number line with the line containing $LINENO, and appends
9500 # trailing '-' during substitution so that $LINENO is not a special
9502 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
9503 # scripts with optimization help from Paolo Bonzini. Blame Lee
9504 # E. McMahon (1931-1989) for sed's syntax. :-)
9516 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
9520 chmod +x
"$as_me.lineno" ||
9521 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
9522 { (exit 1); exit 1; }; }
9524 # Don't try to exec as it changes $[0], causing all sort of problems
9525 # (the dirname of $[0] is not the place where we might find the
9526 # original and so on. Autoconf is especially sensitive to this).
9528 # Exit status is that of the last command.
9533 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
9539 ECHO_C
= ECHO_N
= ECHO_T
=
9542 case `echo 'x\c'` in
9543 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
9550 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
9551 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
9557 rm -f conf$$ conf$$.exe conf$$.
file
9558 if test -d conf$$.dir
; then
9559 rm -f conf$$.dir
/conf$$.
file
9565 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
9567 # ... but there are two gotchas:
9568 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
9569 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
9570 # In both cases, we have to default to `cp -p'.
9571 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
9573 elif ln conf$$.
file conf$$
2>/dev
/null
; then
9578 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
9579 rmdir conf$$.dir
2>/dev
/null
9581 if mkdir
-p .
2>/dev
/null
; then
9584 test -d .
/-p && rmdir .
/-p
9588 if test -x / >/dev
/null
2>&1; then
9591 if ls -dL / >/dev
/null
2>&1; then
9598 if test -d "$1"; then
9604 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
9605 ???[sx]*):;;*)false;;esac;fi
9609 as_executable_p
=$as_test_x
9611 # Sed expression to map a string onto a valid CPP name.
9612 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
9614 # Sed expression to map a string onto a valid variable name.
9615 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
9620 # Save the log message, to keep $[0] and so on meaningful, and to
9621 # report actual input values of CONFIG_FILES etc. instead of their
9622 # values after options handling.
9624 This file was extended by $as_me, which was
9625 generated by GNU Autoconf 2.61. Invocation command line was
9627 CONFIG_FILES = $CONFIG_FILES
9628 CONFIG_HEADERS = $CONFIG_HEADERS
9629 CONFIG_LINKS = $CONFIG_LINKS
9630 CONFIG_COMMANDS = $CONFIG_COMMANDS
9633 on `(hostname || uname -n) 2>/dev/null | sed 1q`
9638 cat >>$CONFIG_STATUS <<_ACEOF
9639 # Files that config.status was made for.
9640 config_files="$ac_config_files"
9641 config_headers="$ac_config_headers"
9642 config_commands="$ac_config_commands"
9646 cat >>$CONFIG_STATUS <<\_ACEOF
9648 \`$as_me' instantiates files from templates according to the
9649 current configuration.
9651 Usage: $0 [OPTIONS] [FILE]...
9653 -h, --help print this help, then exit
9654 -V, --version print version number and configuration settings, then exit
9655 -q, --quiet do not print progress messages
9656 -d, --debug don't remove temporary files
9657 --recheck update $as_me by reconfiguring in the same conditions
9658 --file=FILE[:TEMPLATE]
9659 instantiate the configuration file FILE
9660 --header=FILE[:TEMPLATE]
9661 instantiate the configuration header FILE
9663 Configuration files:
9666 Configuration headers:
9669 Configuration commands:
9672 Report bugs to <bug-autoconf@gnu.org>."
9675 cat >>$CONFIG_STATUS <<_ACEOF
9678 configured by $0, generated by GNU Autoconf 2.61,
9679 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
9681 Copyright (C) 2006 Free Software Foundation, Inc.
9682 This config.status script is free software; the Free Software Foundation
9683 gives unlimited permission to copy, distribute and modify it."
9690 cat >>$CONFIG_STATUS <<\_ACEOF
9691 # If no file are specified by the user, then we need to provide default
9692 # value. By we need to know if files were specified by the user.
9698 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
9699 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
9710 # Handling of the options.
9711 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
9713 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
9714 echo "$ac_cs_version"; exit ;;
9715 --debug |
--debu |
--deb |
--de |
--d |
-d )
9717 --file |
--fil |
--fi |
--f )
9719 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
9720 ac_need_defaults
=false
;;
9721 --header |
--heade |
--head |
--hea )
9723 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
9724 ac_need_defaults
=false
;;
9726 # Conflict between --help and --header
9727 { echo "$as_me: error: ambiguous option: $1
9728 Try \`$0 --help' for more information." >&2
9729 { (exit 1); exit 1; }; };;
9730 --help |
--hel |
-h )
9731 echo "$ac_cs_usage"; exit ;;
9732 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
9733 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
9737 -*) { echo "$as_me: error: unrecognized option: $1
9738 Try \`$0 --help' for more information." >&2
9739 { (exit 1); exit 1; }; } ;;
9741 *) ac_config_targets
="$ac_config_targets $1"
9742 ac_need_defaults
=false
;;
9748 ac_configure_extra_args
=
9750 if $ac_cs_silent; then
9752 ac_configure_extra_args
="$ac_configure_extra_args --silent"
9756 cat >>$CONFIG_STATUS <<_ACEOF
9757 if \$ac_cs_recheck; then
9758 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
9761 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
9765 cat >>$CONFIG_STATUS <<\_ACEOF
9769 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
9770 ## Running $as_me. ##
9776 cat >>$CONFIG_STATUS <<_ACEOF
9780 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
9784 cat >>$CONFIG_STATUS <<\_ACEOF
9786 # Handling of arguments.
9787 for ac_config_target
in $ac_config_targets
9789 case $ac_config_target in
9790 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
9791 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
9792 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
9793 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
9794 "src/dac/Makefile") CONFIG_FILES
="$CONFIG_FILES src/dac/Makefile" ;;
9795 "src/image/Makefile") CONFIG_FILES
="$CONFIG_FILES src/image/Makefile" ;;
9796 "src/evaluate/Makefile") CONFIG_FILES
="$CONFIG_FILES src/evaluate/Makefile" ;;
9797 "src/validate/Makefile") CONFIG_FILES
="$CONFIG_FILES src/validate/Makefile" ;;
9798 "src/post/Makefile") CONFIG_FILES
="$CONFIG_FILES src/post/Makefile" ;;
9799 "src/misc/Makefile") CONFIG_FILES
="$CONFIG_FILES src/misc/Makefile" ;;
9800 "man/Makefile") CONFIG_FILES
="$CONFIG_FILES man/Makefile" ;;
9802 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
9803 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
9804 { (exit 1); exit 1; }; };;
9809 # If the user did not use the arguments to specify the items to instantiate,
9810 # then the envvar interface is used. Set only those that are not.
9811 # We use the long form for the default assignment because of an extremely
9812 # bizarre bug on SunOS 4.1.3.
9813 if $ac_need_defaults; then
9814 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
9815 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
9816 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
9819 # Have a temporary directory for convenience. Make it in the build tree
9820 # simply because there is no reason against having it here, and in addition,
9821 # creating and moving files from /tmp can sometimes cause problems.
9822 # Hook for its removal unless debugging.
9823 # Note that there is a small window in which the directory will not be cleaned:
9824 # after its creation but before its name has been assigned to `$tmp'.
9828 trap 'exit_status=$?
9829 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
9831 trap '{ (exit 1); exit 1; }' 1 2 13 15
9833 # Create a (secure) tmp directory for tmp files.
9836 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
9837 test -n "$tmp" && test -d "$tmp"
9840 tmp
=.
/conf$$
-$RANDOM
9841 (umask 077 && mkdir
"$tmp")
9844 echo "$me: cannot create a temporary directory in ." >&2
9845 { (exit 1); exit 1; }
9849 # Set up the sed scripts for CONFIG_FILES section.
9852 # No need to generate the scripts if there are no CONFIG_FILES.
9853 # This happens for instance when ./config.status config.h
9854 if test -n "$CONFIG_FILES"; then
9861 for ac_last_try
in false false false false false
:; do
9862 cat >conf$
$subs.
sed <<_ACEOF
9863 SHELL!$SHELL$ac_delim
9864 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
9865 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
9866 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
9867 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
9868 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
9869 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
9870 exec_prefix!$exec_prefix$ac_delim
9871 prefix!$prefix$ac_delim
9872 program_transform_name!$program_transform_name$ac_delim
9873 bindir!$bindir$ac_delim
9874 sbindir!$sbindir$ac_delim
9875 libexecdir!$libexecdir$ac_delim
9876 datarootdir!$datarootdir$ac_delim
9877 datadir!$datadir$ac_delim
9878 sysconfdir!$sysconfdir$ac_delim
9879 sharedstatedir!$sharedstatedir$ac_delim
9880 localstatedir!$localstatedir$ac_delim
9881 includedir!$includedir$ac_delim
9882 oldincludedir!$oldincludedir$ac_delim
9883 docdir!$docdir$ac_delim
9884 infodir!$infodir$ac_delim
9885 htmldir!$htmldir$ac_delim
9886 dvidir!$dvidir$ac_delim
9887 pdfdir!$pdfdir$ac_delim
9888 psdir!$psdir$ac_delim
9889 libdir!$libdir$ac_delim
9890 localedir!$localedir$ac_delim
9891 mandir!$mandir$ac_delim
9893 ECHO_C!$ECHO_C$ac_delim
9894 ECHO_N!$ECHO_N$ac_delim
9895 ECHO_T!$ECHO_T$ac_delim
9897 build_alias!$build_alias$ac_delim
9898 host_alias!$host_alias$ac_delim
9899 target_alias!$target_alias$ac_delim
9900 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
9901 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
9902 INSTALL_DATA!$INSTALL_DATA$ac_delim
9903 CYGPATH_W!$CYGPATH_W$ac_delim
9904 PACKAGE!$PACKAGE$ac_delim
9905 VERSION!$VERSION$ac_delim
9906 ACLOCAL!$ACLOCAL$ac_delim
9907 AUTOCONF!$AUTOCONF$ac_delim
9908 AUTOMAKE!$AUTOMAKE$ac_delim
9909 AUTOHEADER!$AUTOHEADER$ac_delim
9910 MAKEINFO!$MAKEINFO$ac_delim
9911 install_sh!$install_sh$ac_delim
9912 STRIP!$STRIP$ac_delim
9913 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
9914 mkdir_p!$mkdir_p$ac_delim
9916 SET_MAKE!$SET_MAKE$ac_delim
9917 am__leading_dot!$am__leading_dot$ac_delim
9918 AMTAR!$AMTAR$ac_delim
9919 am__tar!$am__tar$ac_delim
9920 am__untar!$am__untar$ac_delim
9922 CFLAGS!$CFLAGS$ac_delim
9923 LDFLAGS!$LDFLAGS$ac_delim
9924 CPPFLAGS!$CPPFLAGS$ac_delim
9925 ac_ct_CC!$ac_ct_CC$ac_delim
9926 EXEEXT!$EXEEXT$ac_delim
9927 OBJEXT!$OBJEXT$ac_delim
9928 DEPDIR!$DEPDIR$ac_delim
9929 am__include!$am__include$ac_delim
9930 am__quote!$am__quote$ac_delim
9931 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
9932 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
9933 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
9934 CCDEPMODE!$CCDEPMODE$ac_delim
9935 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
9936 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
9939 EGREP!$EGREP$ac_delim
9940 MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
9941 MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
9942 MAINT!$MAINT$ac_delim
9943 RANLIB!$RANLIB$ac_delim
9944 GNUPLOT!$GNUPLOT$ac_delim
9945 HAVE_GNUPLOT_TRUE!$HAVE_GNUPLOT_TRUE$ac_delim
9946 HAVE_GNUPLOT_FALSE!$HAVE_GNUPLOT_FALSE$ac_delim
9947 PKG_CONFIG!$PKG_CONFIG$ac_delim
9948 GLIB_CFLAGS!$GLIB_CFLAGS$ac_delim
9949 GLIB_LIBS!$GLIB_LIBS$ac_delim
9951 HAVE_PERL_TRUE!$HAVE_PERL_TRUE$ac_delim
9952 HAVE_PERL_FALSE!$HAVE_PERL_FALSE$ac_delim
9953 PYTHON!$PYTHON$ac_delim
9954 HAVE_PYTHON_TRUE!$HAVE_PYTHON_TRUE$ac_delim
9955 HAVE_PYTHON_FALSE!$HAVE_PYTHON_FALSE$ac_delim
9956 CONVERT!$CONVERT$ac_delim
9957 HAVE_CONVERT_TRUE!$HAVE_CONVERT_TRUE$ac_delim
9958 HAVE_CONVERT_FALSE!$HAVE_CONVERT_FALSE$ac_delim
9959 PLOTMTV!$PLOTMTV$ac_delim
9962 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
9964 elif $ac_last_try; then
9965 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
9966 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
9967 { (exit 1); exit 1; }; }
9969 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
9973 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
9974 if test -n "$ac_eof"; then
9975 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
9976 ac_eof
=`expr $ac_eof + 1`
9979 cat >>$CONFIG_STATUS <<_ACEOF
9980 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
9981 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
9984 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
9985 s/^/s,@/; s/!/@,|#_!!_#|/
9988 s/'"$ac_delim"'$/,g/; t
9990 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
9991 ' >>$CONFIG_STATUS <conf$
$subs.
sed
9992 rm -f conf$
$subs.
sed
9993 cat >>$CONFIG_STATUS <<_ACEOF
9999 for ac_last_try
in false false false false false
:; do
10000 cat >conf$
$subs.
sed <<_ACEOF
10001 HAVE_PLOTMTV_TRUE!$HAVE_PLOTMTV_TRUE$ac_delim
10002 HAVE_PLOTMTV_FALSE!$HAVE_PLOTMTV_FALSE$ac_delim
10003 ENABLE_MPI!$ENABLE_MPI$ac_delim
10004 MPICC!$MPICC$ac_delim
10005 MPILIBS!$MPILIBS$ac_delim
10006 MPIPYTHON!$MPIPYTHON$ac_delim
10007 ENABLE_CAM!$ENABLE_CAM$ac_delim
10008 ENABLE_TRIG!$ENABLE_TRIG$ac_delim
10009 CONTROL!$CONTROL$ac_delim
10010 HAVE_CONTROL_TRUE!$HAVE_CONTROL_TRUE$ac_delim
10011 HAVE_CONTROL_FALSE!$HAVE_CONTROL_FALSE$ac_delim
10012 RTA_TOPDIR!$RTA_TOPDIR$ac_delim
10013 K_TOPDIR!$K_TOPDIR$ac_delim
10014 HAVE_MPIPYTHON_TRUE!$HAVE_MPIPYTHON_TRUE$ac_delim
10015 HAVE_MPIPYTHON_FALSE!$HAVE_MPIPYTHON_FALSE$ac_delim
10016 BUILD_MPI_TRUE!$BUILD_MPI_TRUE$ac_delim
10017 BUILD_MPI_FALSE!$BUILD_MPI_FALSE$ac_delim
10018 ALLOCA!$ALLOCA$ac_delim
10019 LIBOBJS!$LIBOBJS$ac_delim
10020 LTLIBOBJS!$LTLIBOBJS$ac_delim
10023 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 20; then
10025 elif $ac_last_try; then
10026 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
10027 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
10028 { (exit 1); exit 1; }; }
10030 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
10034 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
10035 if test -n "$ac_eof"; then
10036 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
10037 ac_eof
=`expr $ac_eof + 1`
10040 cat >>$CONFIG_STATUS <<_ACEOF
10041 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
10042 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
10045 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
10046 s/^/s,@/; s/!/@,|#_!!_#|/
10049 s/'"$ac_delim"'$/,g/; t
10051 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
10052 ' >>$CONFIG_STATUS <conf$
$subs.
sed
10053 rm -f conf$
$subs.
sed
10054 cat >>$CONFIG_STATUS <<_ACEOF
10061 # VPATH may cause trouble with some makes, so we remove $(srcdir),
10062 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
10063 # trailing colons and then remove the whole line if VPATH becomes empty
10064 # (actually we leave an empty line to preserve line numbers).
10065 if test "x$srcdir" = x.
; then
10066 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
10067 s/:*\$(srcdir):*/:/
10068 s/:*\${srcdir}:*/:/
10070 s/^\([^=]*=[ ]*\):*/\1/
10076 cat >>$CONFIG_STATUS <<\_ACEOF
10077 fi # test -n "$CONFIG_FILES"
10080 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
10083 :[FHLC
]) ac_mode
=$ac_tag; continue;;
10085 case $ac_mode$ac_tag in
10087 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
10088 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
10089 { (exit 1); exit 1; }; };;
10090 :[FH
]-) ac_tag
=-:-;;
10091 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
10108 -) ac_f
="$tmp/stdin";;
10109 *) # Look for the file first in the build tree, then in the source tree
10110 # (if the path is not absolute). The absolute path cannot be DOS-style,
10111 # because $ac_f cannot contain `:'.
10115 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
10117 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
10118 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
10119 { (exit 1); exit 1; }; };;
10121 ac_file_inputs
="$ac_file_inputs $ac_f"
10124 # Let's still pretend it is `configure' which instantiates (i.e., don't
10125 # use $as_me), people would be surprised to read:
10126 # /* config.h. Generated by config.status. */
10127 configure_input
="Generated from "`IFS=:
10128 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
10129 if test x
"$ac_file" != x-
; then
10130 configure_input
="$ac_file. $configure_input"
10131 { echo "$as_me:$LINENO: creating $ac_file" >&5
10132 echo "$as_me: creating $ac_file" >&6;}
10136 *:-:* |
*:-) cat >"$tmp/stdin";;
10141 ac_dir
=`$as_dirname -- "$ac_file" ||
10142 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10143 X"$ac_file" : 'X\(//\)[^/]' \| \
10144 X"$ac_file" : 'X\(//\)$' \| \
10145 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
10147 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10151 /^X\(\/\/\)[^/].*/{
10166 -*) as_dir
=.
/$as_dir;;
10168 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
10172 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
10173 *) as_qdir
=$as_dir;;
10175 as_dirs
="'$as_qdir' $as_dirs"
10176 as_dir
=`$as_dirname -- "$as_dir" ||
10177 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10178 X"$as_dir" : 'X\(//\)[^/]' \| \
10179 X"$as_dir" : 'X\(//\)$' \| \
10180 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
10182 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10186 /^X\(\/\/\)[^/].*/{
10199 test -d "$as_dir" && break
10201 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
10202 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
10203 echo "$as_me: error: cannot create directory $as_dir" >&2;}
10204 { (exit 1); exit 1; }; }; }
10208 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
10210 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
10211 # A ".." for each directory in $ac_dir_suffix.
10212 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
10213 case $ac_top_builddir_sub in
10214 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
10215 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
10218 ac_abs_top_builddir
=$ac_pwd
10219 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
10220 # for backward compatibility:
10221 ac_top_builddir
=$ac_top_build_prefix
10224 .
) # We are building in place.
10226 ac_top_srcdir
=$ac_top_builddir_sub
10227 ac_abs_top_srcdir
=$ac_pwd ;;
10228 [\\/]* | ?
:[\\/]* ) # Absolute name.
10229 ac_srcdir
=$srcdir$ac_dir_suffix;
10230 ac_top_srcdir
=$srcdir
10231 ac_abs_top_srcdir
=$srcdir ;;
10232 *) # Relative name.
10233 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
10234 ac_top_srcdir
=$ac_top_build_prefix$srcdir
10235 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
10237 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
10247 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
10248 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
10252 cat >>$CONFIG_STATUS <<\_ACEOF
10253 # If the template does not know about datarootdir, expand it.
10254 # FIXME: This hack should be removed a few years after 2.60.
10255 ac_datarootdir_hack
=; ac_datarootdir_seen
=
10257 case `sed -n '/datarootdir/ {
10266 ' $ac_file_inputs` in
10267 *datarootdir
*) ac_datarootdir_seen
=yes;;
10268 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
10269 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
10270 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
10272 cat >>$CONFIG_STATUS <<_ACEOF
10273 ac_datarootdir_hack='
10274 s&@datadir@&$datadir&g
10275 s&@docdir@&$docdir&g
10276 s&@infodir@&$infodir&g
10277 s&@localedir@&$localedir&g
10278 s&@mandir@&$mandir&g
10279 s&\\\${datarootdir}&$datarootdir&g' ;;
10283 # Neutralize VPATH when `$srcdir' = `.'.
10284 # Shell code in configure.ac might set extrasub.
10285 # FIXME: do we really want to maintain this feature?
10286 cat >>$CONFIG_STATUS <<_ACEOF
10290 cat >>$CONFIG_STATUS <<\_ACEOF
10292 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
10293 s
&@configure_input@
&$configure_input&;t t
10294 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
10295 s
&@srcdir@
&$ac_srcdir&;t t
10296 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
10297 s
&@top_srcdir@
&$ac_top_srcdir&;t t
10298 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
10299 s
&@builddir@
&$ac_builddir&;t t
10300 s
&@abs_builddir@
&$ac_abs_builddir&;t t
10301 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
10302 s
&@INSTALL@
&$ac_INSTALL&;t t
10303 $ac_datarootdir_hack
10304 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
10306 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
10307 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
10308 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
10309 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
10310 which seems to be undefined. Please make sure it is defined." >&5
10311 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
10312 which seems to be undefined. Please make sure it is defined." >&2;}
10316 -) cat "$tmp/out"; rm -f "$tmp/out";;
10317 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
10326 # Transform confdefs.h into a sed script `conftest.defines', that
10327 # substitutes the proper values into config.h.in to produce config.h.
10328 rm -f conftest.defines conftest.
tail
10329 # First, append a space to every undef/define line, to ease matching.
10330 echo 's/$/ /' >conftest.defines
10331 # Then, protect against being on the right side of a sed subst, or in
10332 # an unquoted here document, in config.status. If some macros were
10333 # called several times there might be several #defines for the same
10334 # symbol, which is useless. But do not sort them, since the last
10335 # AC_DEFINE must be honored.
10336 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
10337 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
10338 # NAME is the cpp macro being defined, VALUE is the value it is being given.
10339 # PARAMS is the parameter list in the macro definition--in most cases, it's
10340 # just an empty string.
10341 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
10342 ac_dB
='\\)[ (].*,\\1define\\2'
10350 s/^[ ]*#[ ]*define[ ][ ]*//
10355 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
10356 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
10357 ' >>conftest.defines
10359 # Remove the space that was appended to ease matching.
10360 # Then replace #undef with comments. This is necessary, for
10361 # example, in the case of _POSIX_SOURCE, which is predefined and required
10362 # on some systems where configure will not decide to define it.
10363 # (The regexp can be short, since the line contains either #define or #undef.)
10365 s,^[ #]*u.*,/* & */,' >>conftest.defines
10367 # Break up conftest.defines:
10368 ac_max_sed_lines
=50
10370 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
10371 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
10372 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
10374 ac_in
='$ac_file_inputs'
10375 ac_out
='"$tmp/out1"'
10376 ac_nxt
='"$tmp/out2"'
10380 # Write a here document:
10381 cat >>$CONFIG_STATUS <<_ACEOF
10382 # First, check the format of the line:
10383 cat >"\$tmp/defines.sed" <<\\CEOF
10384 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
10385 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
10389 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
10391 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
10392 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
10393 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
10394 grep . conftest.
tail >/dev
/null ||
break
10395 rm -f conftest.defines
10396 mv conftest.
tail conftest.defines
10398 rm -f conftest.defines conftest.
tail
10400 echo "ac_result=$ac_in" >>$CONFIG_STATUS
10401 cat >>$CONFIG_STATUS <<\_ACEOF
10402 if test x
"$ac_file" != x-
; then
10403 echo "/* $configure_input */" >"$tmp/config.h"
10404 cat "$ac_result" >>"$tmp/config.h"
10405 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
10406 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
10407 echo "$as_me: $ac_file is unchanged" >&6;}
10410 mv "$tmp/config.h" $ac_file
10413 echo "/* $configure_input */"
10417 # Compute $ac_file's index in $config_headers.
10419 for _am_header
in $config_headers :; do
10420 case $_am_header in
10421 $ac_file |
$ac_file:* )
10424 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
10427 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
10428 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10429 X$ac_file : 'X\(//\)[^/]' \| \
10430 X$ac_file : 'X\(//\)$' \| \
10431 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
10433 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10437 /^X\(\/\/\)[^/].*/{
10449 s/.*/./; q'`/stamp-h
$_am_stamp_count
10452 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
10453 echo "$as_me: executing $ac_file commands" >&6;}
10458 case $ac_file$ac_mode in
10459 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
10460 # Strip MF so we end up with the name of the file.
10461 mf
=`echo "$mf" | sed -e 's/:.*$//'`
10462 # Check whether this is an Automake generated Makefile or not.
10463 # We used to match only the files named `Makefile.in', but
10464 # some people rename them; so instead we look at the file content.
10465 # Grep'ing the first line is not enough: some people post-process
10466 # each Makefile.in and add a new line on top of each file to say so.
10467 # So let's grep whole file.
10468 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
10469 dirpart
=`$as_dirname -- "$mf" ||
10470 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10471 X"$mf" : 'X\(//\)[^/]' \| \
10472 X"$mf" : 'X\(//\)$' \| \
10473 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
10475 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10479 /^X\(\/\/\)[^/].*/{
10495 # Extract the definition of DEPDIR, am__include, and am__quote
10496 # from the Makefile without running `make'.
10497 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
10498 test -z "$DEPDIR" && continue
10499 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
10500 test -z "am__include" && continue
10501 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
10502 # When using ansi2knr, U may be empty or an underscore; expand it
10503 U
=`sed -n 's/^U = //p' < "$mf"`
10504 # Find all dependency output files, they are included files with
10505 # $(DEPDIR) in their names. We invoke sed twice because it is the
10506 # simplest approach to changing $(DEPDIR) to its actual value in the
10508 for file in `sed -n "
10509 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
10510 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
10511 # Make sure the directory exists.
10512 test -f "$dirpart/$file" && continue
10513 fdir
=`$as_dirname -- "$file" ||
10514 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10515 X"$file" : 'X\(//\)[^/]' \| \
10516 X"$file" : 'X\(//\)$' \| \
10517 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
10519 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10523 /^X\(\/\/\)[^/].*/{
10536 { as_dir
=$dirpart/$fdir
10538 -*) as_dir
=.
/$as_dir;;
10540 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
10544 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
10545 *) as_qdir
=$as_dir;;
10547 as_dirs
="'$as_qdir' $as_dirs"
10548 as_dir
=`$as_dirname -- "$as_dir" ||
10549 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10550 X"$as_dir" : 'X\(//\)[^/]' \| \
10551 X"$as_dir" : 'X\(//\)$' \| \
10552 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
10554 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10558 /^X\(\/\/\)[^/].*/{
10571 test -d "$as_dir" && break
10573 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
10574 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
10575 echo "$as_me: error: cannot create directory $as_dir" >&2;}
10576 { (exit 1); exit 1; }; }; }
10577 # echo "creating $dirpart/$file"
10578 echo '# dummy' > "$dirpart/$file"
10587 { (exit 0); exit 0; }
10589 chmod +x
$CONFIG_STATUS
10590 ac_clean_files
=$ac_clean_files_save
10593 # configure is writing to config.log, and then calls config.status.
10594 # config.status does its own redirection, appending to config.log.
10595 # Unfortunately, on DOS this fails, as config.log is still kept open
10596 # by configure, so config.status won't be able to write to it; its
10597 # output is simply discarded. So we exec the FD to /dev/null,
10598 # effectively closing config.log, so it can be properly (re)opened and
10599 # appended to by config.status. When coming back to configure, we
10600 # need to make the FD available again.
10601 if test "$no_create" != yes; then
10603 ac_config_status_args
=
10604 test "$silent" = yes &&
10605 ac_config_status_args
="$ac_config_status_args --quiet"
10607 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
10609 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
10610 # would make configure fail if this is the last instruction.
10611 $ac_cs_success ||
{ (exit 1); exit 1; }
10615 echo "===================================================================="
10616 if test x
$PERL = xfalse
; then
10617 echo "Perl has not been found on this system."
10618 echo "Though, this is not provided for the building process"
10619 echo "Only some independant scripts will not work"
10623 if test x
$CONVERT = xfalse
; then
10624 echo "Convert has not been found on this system."
10625 echo "Though, this is not provided for the building process"
10626 echo "Only some independant scripts will not work"
10630 if test x
$PLOTMTV = xfalse
; then
10631 echo "Plotmtv has not been found on this system."
10632 echo "Though, this is not provided for the building process"
10633 echo "Only some independant scripts will not work"
10638 echo "Configuration succesfully finished"
10639 if test $ENABLE_CAM; then
10640 echo "with (IEEE-1394) camera enabled"
10643 if test $ENABLE_TRIG; then
10644 echo "with (realtime) triggering enabled."
10645 if test x
$CONTROL = xfalse
; then
10646 echo "Gpiv_control has not been found on this system, and probably gpivtrig-rtl isn't"
10647 echo "resident as well. This script eases to install and uninstall the gpivtrig-rtl"
10648 echo "and RTAI kernel modules that are needed for the triggering of camera and lasers."
10653 if test $ENABLE_MPI; then
10654 echo "Using Message Passing Interface (MPI)"
10655 echo "for processing on distributed memory systems"
10658 if test $ENABLE_OMP; then
10659 echo "Using Open Multi-Processing (OMP)"
10660 echo "for processing on shared memory systems"
10663 echo "Type 'make' and 'make install' to build and install the gpiv-tools."
10664 echo "===================================================================="