improved documentation for mpi
[gpivtools.git] / configure
blobe3bea26a6c9849c798f051ab6d3fd2ede3baf7a3
1 #! /bin/sh
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
16 emulate sh
17 NULLCMD=:
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+"$@"}'='"$@"'
21 setopt NO_GLOB_SUBST
22 else
23 case `(set -o) 2>/dev/null` in
24 *posix*) set -o posix ;;
25 esac
32 # PATH needs CR
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
44 chmod +x conf$$.sh
45 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
46 PATH_SEPARATOR=';'
47 else
48 PATH_SEPARATOR=:
50 rm -f conf$$.sh
53 # Support unset when possible.
54 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
55 as_unset=unset
56 else
57 as_unset=false
61 # IFS
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.)
66 as_nl='
68 IFS=" "" $as_nl"
70 # Find who we are. Look in the path if we contain no directory separator.
71 case $0 in
72 *[\\/]* ) as_myself=$0 ;;
73 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
74 for as_dir in $PATH
76 IFS=$as_save_IFS
77 test -z "$as_dir" && as_dir=.
78 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
79 done
80 IFS=$as_save_IFS
83 esac
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
87 as_myself=$0
89 if test ! -f "$as_myself"; then
90 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
91 { (exit 1); exit 1; }
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
97 done
98 PS1='$ '
99 PS2='> '
100 PS4='+ '
102 # NLS nuisances.
103 for as_var in \
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 \
106 LC_TELEPHONE LC_TIME
108 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109 eval $as_var=C; export $as_var
110 else
111 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
113 done
115 # Required to use basename.
116 if expr a : '\(a\)' >/dev/null 2>&1 &&
117 test "X`expr 00001 : '.*\(...\)'`" = X001; then
118 as_expr=expr
119 else
120 as_expr=false
123 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
124 as_basename=basename
125 else
126 as_basename=false
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 ||
135 echo X/"$0" |
136 sed '/^.*\/\([^/][^/]*\)\/*$/{
137 s//\1/
140 /^X\/\(\/\/\)$/{
141 s//\1/
144 /^X\/\(\/\).*/{
145 s//\1/
148 s/.*/./; q'`
150 # CDPATH.
151 $as_unset CDPATH
154 if test "x$CONFIG_SHELL" = x; then
155 if (eval ":") 2>/dev/null; then
156 as_have_required=yes
157 else
158 as_have_required=no
161 if test $as_have_required = yes && (eval ":
162 (as_func_return () {
163 (exit \$1)
165 as_func_success () {
166 as_func_return 0
168 as_func_failure () {
169 as_func_return 1
171 as_func_ret_success () {
172 return 0
174 as_func_ret_failure () {
175 return 1
178 exitcode=0
179 if as_func_success; then
181 else
182 exitcode=1
183 echo as_func_success failed.
186 if as_func_failure; then
187 exitcode=1
188 echo as_func_failure succeeded.
191 if as_func_ret_success; then
193 else
194 exitcode=1
195 echo as_func_ret_success failed.
198 if as_func_ret_failure; then
199 exitcode=1
200 echo as_func_ret_failure succeeded.
203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
205 else
206 exitcode=1
207 echo positional parameters were not saved.
210 test \$exitcode = 0) || { (exit 1); exit 1; }
213 as_lineno_1=\$LINENO
214 as_lineno_2=\$LINENO
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
219 else
220 as_candidate_shells=
221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
222 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
224 IFS=$as_save_IFS
225 test -z "$as_dir" && as_dir=.
226 case $as_dir in
228 for as_base in sh bash ksh sh5; do
229 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
230 done;;
231 esac
232 done
233 IFS=$as_save_IFS
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
241 emulate sh
242 NULLCMD=:
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+"$@"}'='"$@"'
246 setopt NO_GLOB_SUBST
247 else
248 case `(set -o) 2>/dev/null` in
249 *posix*) set -o posix ;;
250 esac
256 _ASEOF
257 }; then
258 CONFIG_SHELL=$as_shell
259 as_have_required=yes
260 if { "$as_shell" 2> /dev/null <<\_ASEOF
261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262 emulate sh
263 NULLCMD=:
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+"$@"}'='"$@"'
267 setopt NO_GLOB_SUBST
268 else
269 case `(set -o) 2>/dev/null` in
270 *posix*) set -o posix ;;
271 esac
277 (as_func_return () {
278 (exit $1)
280 as_func_success () {
281 as_func_return 0
283 as_func_failure () {
284 as_func_return 1
286 as_func_ret_success () {
287 return 0
289 as_func_ret_failure () {
290 return 1
293 exitcode=0
294 if as_func_success; then
296 else
297 exitcode=1
298 echo as_func_success failed.
301 if as_func_failure; then
302 exitcode=1
303 echo as_func_failure succeeded.
306 if as_func_ret_success; then
308 else
309 exitcode=1
310 echo as_func_ret_success failed.
313 if as_func_ret_failure; then
314 exitcode=1
315 echo as_func_ret_failure succeeded.
318 if ( set x; as_func_ret_success y && test x = "$1" ); then
320 else
321 exitcode=1
322 echo positional parameters were not saved.
325 test $exitcode = 0) || { (exit 1); exit 1; }
328 as_lineno_1=$LINENO
329 as_lineno_2=$LINENO
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; }
333 _ASEOF
334 }; then
335 break
340 done
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
345 done
346 export CONFIG_SHELL
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 () {
367 (exit \$1)
369 as_func_success () {
370 as_func_return 0
372 as_func_failure () {
373 as_func_return 1
375 as_func_ret_success () {
376 return 0
378 as_func_ret_failure () {
379 return 1
382 exitcode=0
383 if as_func_success; then
385 else
386 exitcode=1
387 echo as_func_success failed.
390 if as_func_failure; then
391 exitcode=1
392 echo as_func_failure succeeded.
395 if as_func_ret_success; then
397 else
398 exitcode=1
399 echo as_func_ret_success failed.
402 if as_func_ret_failure; then
403 exitcode=1
404 echo as_func_ret_failure succeeded.
407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
409 else
410 exitcode=1
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
418 echo message
423 as_lineno_1=$LINENO
424 as_lineno_2=$LINENO
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
434 # case at line end.
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. :-)
438 sed -n '
440 /[$]LINENO/=
441 ' <$as_myself |
442 sed '
443 s/[$]LINENO.*/&-/
444 t lineno
446 :lineno
448 :loop
449 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
450 t loop
451 s/-\n.*//
452 ' >$as_me.lineno &&
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).
460 . "./$as_me.lineno"
461 # Exit status is that of the last command.
462 exit
466 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
467 as_dirname=dirname
468 else
469 as_dirname=false
472 ECHO_C= ECHO_N= ECHO_T=
473 case `echo -n x` in
474 -n*)
475 case `echo 'x\c'` in
476 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
477 *) ECHO_C='\c';;
478 esac;;
480 ECHO_N='-n';;
481 esac
483 if expr a : '\(a\)' >/dev/null 2>&1 &&
484 test "X`expr 00001 : '.*\(...\)'`" = X001; then
485 as_expr=expr
486 else
487 as_expr=false
490 rm -f conf$$ conf$$.exe conf$$.file
491 if test -d conf$$.dir; then
492 rm -f conf$$.dir/conf$$.file
493 else
494 rm -f conf$$.dir
495 mkdir conf$$.dir
497 echo >conf$$.file
498 if ln -s conf$$.file conf$$ 2>/dev/null; then
499 as_ln_s='ln -s'
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 ||
505 as_ln_s='cp -p'
506 elif ln conf$$.file conf$$ 2>/dev/null; then
507 as_ln_s=ln
508 else
509 as_ln_s='cp -p'
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
515 as_mkdir_p=:
516 else
517 test -d ./-p && rmdir ./-p
518 as_mkdir_p=false
521 if test -x / >/dev/null 2>&1; then
522 as_test_x='test -x'
523 else
524 if ls -dL / >/dev/null 2>&1; then
525 as_ls_L_option=L
526 else
527 as_ls_L_option=
529 as_test_x='
530 eval sh -c '\''
531 if test -d "$1"; then
532 test -d "$1/.";
533 else
534 case $1 in
535 -*)set "./$1";;
536 esac;
537 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
538 ???[sx]*):;;*)false;;esac;fi
539 '\'' sh
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
554 # Name of the host.
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`
560 # Initializations.
562 ac_default_prefix=/usr/local
563 ac_clean_files=
564 ac_config_libobj_dir=.
565 LIBOBJS=
566 cross_compiling=no
567 subdirs=
568 MFLAGS=
569 MAKEFLAGS=
570 SHELL=${CONFIG_SHELL-/bin/sh}
572 # Identity of this package.
573 PACKAGE_NAME=
574 PACKAGE_TARNAME=
575 PACKAGE_VERSION=
576 PACKAGE_STRING=
577 PACKAGE_BUGREPORT=
579 ac_unique_file="src/evaluate/rr.c"
580 # Factoring default headers for most tests.
581 ac_includes_default="\
582 #include <stdio.h>
583 #ifdef HAVE_SYS_TYPES_H
584 # include <sys/types.h>
585 #endif
586 #ifdef HAVE_SYS_STAT_H
587 # include <sys/stat.h>
588 #endif
589 #ifdef STDC_HEADERS
590 # include <stdlib.h>
591 # include <stddef.h>
592 #else
593 # ifdef HAVE_STDLIB_H
594 # include <stdlib.h>
595 # endif
596 #endif
597 #ifdef HAVE_STRING_H
598 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
599 # include <memory.h>
600 # endif
601 # include <string.h>
602 #endif
603 #ifdef HAVE_STRINGS_H
604 # include <strings.h>
605 #endif
606 #ifdef HAVE_INTTYPES_H
607 # include <inttypes.h>
608 #endif
609 #ifdef HAVE_STDINT_H
610 # include <stdint.h>
611 #endif
612 #ifdef HAVE_UNISTD_H
613 # include <unistd.h>
614 #endif"
616 ac_subst_vars='SHELL
617 PATH_SEPARATOR
618 PACKAGE_NAME
619 PACKAGE_TARNAME
620 PACKAGE_VERSION
621 PACKAGE_STRING
622 PACKAGE_BUGREPORT
623 exec_prefix
624 prefix
625 program_transform_name
626 bindir
627 sbindir
628 libexecdir
629 datarootdir
630 datadir
631 sysconfdir
632 sharedstatedir
633 localstatedir
634 includedir
635 oldincludedir
636 docdir
637 infodir
638 htmldir
639 dvidir
640 pdfdir
641 psdir
642 libdir
643 localedir
644 mandir
645 DEFS
646 ECHO_C
647 ECHO_N
648 ECHO_T
649 LIBS
650 build_alias
651 host_alias
652 target_alias
653 INSTALL_PROGRAM
654 INSTALL_SCRIPT
655 INSTALL_DATA
656 CYGPATH_W
657 PACKAGE
658 VERSION
659 ACLOCAL
660 AUTOCONF
661 AUTOMAKE
662 AUTOHEADER
663 MAKEINFO
664 install_sh
665 STRIP
666 INSTALL_STRIP_PROGRAM
667 mkdir_p
669 SET_MAKE
670 am__leading_dot
671 AMTAR
672 am__tar
673 am__untar
675 CFLAGS
676 LDFLAGS
677 CPPFLAGS
678 ac_ct_CC
679 EXEEXT
680 OBJEXT
681 DEPDIR
682 am__include
683 am__quote
684 AMDEP_TRUE
685 AMDEP_FALSE
686 AMDEPBACKSLASH
687 CCDEPMODE
688 am__fastdepCC_TRUE
689 am__fastdepCC_FALSE
691 GREP
692 EGREP
693 MAINTAINER_MODE_TRUE
694 MAINTAINER_MODE_FALSE
695 MAINT
696 RANLIB
697 GNUPLOT
698 HAVE_GNUPLOT_TRUE
699 HAVE_GNUPLOT_FALSE
700 PKG_CONFIG
701 GLIB_CFLAGS
702 GLIB_LIBS
703 PERL
704 HAVE_PERL_TRUE
705 HAVE_PERL_FALSE
706 PYTHON
707 HAVE_PYTHON_TRUE
708 HAVE_PYTHON_FALSE
709 CONVERT
710 HAVE_CONVERT_TRUE
711 HAVE_CONVERT_FALSE
712 PLOTMTV
713 HAVE_PLOTMTV_TRUE
714 HAVE_PLOTMTV_FALSE
715 ENABLE_MPI
716 MPICC
717 MPILIBS
718 MPIPYTHON
719 ENABLE_CAM
720 ENABLE_TRIG
721 CONTROL
722 HAVE_CONTROL_TRUE
723 HAVE_CONTROL_FALSE
724 RTA_TOPDIR
725 K_TOPDIR
726 HAVE_MPIPYTHON_TRUE
727 HAVE_MPIPYTHON_FALSE
728 BUILD_MPI_TRUE
729 BUILD_MPI_FALSE
730 ALLOCA
731 LIBOBJS
732 LTLIBOBJS'
733 ac_subst_files=''
734 ac_precious_vars='build_alias
735 host_alias
736 target_alias
738 CFLAGS
739 LDFLAGS
740 LIBS
741 CPPFLAGS
743 PKG_CONFIG
744 GLIB_CFLAGS
745 GLIB_LIBS
746 MPICC'
749 # Initialize some variables set by options.
750 ac_init_help=
751 ac_init_version=false
752 # The variables have the same names as the options, with
753 # dashes changed to underlines.
754 cache_file=/dev/null
755 exec_prefix=NONE
756 no_create=
757 no_recursion=
758 prefix=NONE
759 program_prefix=NONE
760 program_suffix=NONE
761 program_transform_name=s,x,x,
762 silent=
763 site=
764 srcdir=
765 verbose=
766 x_includes=NONE
767 x_libraries=NONE
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'
787 htmldir='${docdir}'
788 dvidir='${docdir}'
789 pdfdir='${docdir}'
790 psdir='${docdir}'
791 libdir='${exec_prefix}/lib'
792 localedir='${datarootdir}/locale'
793 mandir='${datarootdir}/man'
795 ac_prev=
796 ac_dashdash=
797 for ac_option
799 # If the previous option needs an argument, assign it.
800 if test -n "$ac_prev"; then
801 eval $ac_prev=\$ac_option
802 ac_prev=
803 continue
806 case $ac_option in
807 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
808 *) ac_optarg=yes ;;
809 esac
811 # Accept the important Cygnus configure options, so we can diagnose typos.
813 case $ac_dashdash$ac_option in
815 ac_dashdash=yes ;;
817 -bindir | --bindir | --bindi | --bind | --bin | --bi)
818 ac_prev=bindir ;;
819 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
820 bindir=$ac_optarg ;;
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 ;;
834 --config-cache | -C)
835 cache_file=config.cache ;;
837 -datadir | --datadir | --datadi | --datad)
838 ac_prev=datadir ;;
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)
859 ac_prev=docdir ;;
860 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
861 docdir=$ac_optarg ;;
863 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
864 ac_prev=dvidir ;;
865 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
866 dvidir=$ac_optarg ;;
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.
888 with_gas=yes ;;
890 -help | --help | --hel | --he | -h)
891 ac_init_help=long ;;
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)
903 ac_prev=htmldir ;;
904 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
905 | --ht=*)
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)
916 ac_prev=infodir ;;
917 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
918 infodir=$ac_optarg ;;
920 -libdir | --libdir | --libdi | --libd)
921 ac_prev=libdir ;;
922 -libdir=* | --libdir=* | --libdi=* | --libd=*)
923 libdir=$ac_optarg ;;
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)
933 ac_prev=localedir ;;
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)
945 ac_prev=mandir ;;
946 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
947 mandir=$ac_optarg ;;
949 -nfp | --nfp | --nf)
950 # Obsolete; use --without-fp.
951 with_fp=no ;;
953 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
954 | --no-cr | --no-c | -n)
955 no_create=yes ;;
957 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
958 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
959 no_recursion=yes ;;
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)
971 ac_prev=prefix ;;
972 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
973 prefix=$ac_optarg ;;
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)
1007 ac_prev=pdfdir ;;
1008 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1009 pdfdir=$ac_optarg ;;
1011 -psdir | --psdir | --psdi | --psd | --ps)
1012 ac_prev=psdir ;;
1013 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1014 psdir=$ac_optarg ;;
1016 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1017 | -silent | --silent | --silen | --sile | --sil)
1018 silent=yes ;;
1020 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1021 ac_prev=sbindir ;;
1022 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1023 | --sbi=* | --sb=*)
1024 sbindir=$ac_optarg ;;
1026 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1027 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1028 | --sharedst | --shareds | --shared | --share | --shar \
1029 | --sha | --sh)
1030 ac_prev=sharedstatedir ;;
1031 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1032 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1033 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1034 | --sha=* | --sh=*)
1035 sharedstatedir=$ac_optarg ;;
1037 -site | --site | --sit)
1038 ac_prev=site ;;
1039 -site=* | --site=* | --sit=*)
1040 site=$ac_optarg ;;
1042 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1043 ac_prev=srcdir ;;
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)
1060 verbose=yes ;;
1062 -version | --version | --versio | --versi | --vers | -V)
1063 ac_init_version=: ;;
1065 -with-* | --with-*)
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 ;;
1083 --x)
1084 # Obsolete; use --with-x.
1085 with_x=yes ;;
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; }; }
1106 *=*)
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}
1123 esac
1124 done
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
1139 case $ac_val in
1140 [\\/$]* | ?:[\\/]* ) continue;;
1141 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1142 esac
1143 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1144 { (exit 1); exit 1; }; }
1145 done
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.
1150 build=$build_alias
1151 host=$host_alias
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
1161 cross_compiling=yes
1165 ac_tool_prefix=
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 ||
1190 echo X"$0" |
1191 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1192 s//\1/
1195 /^X\(\/\/\)[^/].*/{
1196 s//\1/
1199 /^X\(\/\/\)$/{
1200 s//\1/
1203 /^X\(\/\).*/{
1204 s//\1/
1207 s/.*/./; q'`
1208 srcdir=$ac_confdir
1209 if test ! -r "$srcdir/$ac_unique_file"; then
1210 srcdir=..
1212 else
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"
1221 ac_abs_confdir=`(
1222 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1223 { (exit 1); exit 1; }; }
1224 pwd)`
1225 # When building in place, set srcdir=.
1226 if test "$ac_abs_confdir" = "$ac_pwd"; then
1227 srcdir=.
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.
1232 case $srcdir in
1233 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1234 esac
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}
1240 done
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.
1248 cat <<_ACEOF
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.
1258 Configuration:
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
1273 [PREFIX]
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]
1302 _ACEOF
1304 cat <<\_ACEOF
1306 Program names:
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
1310 _ACEOF
1313 if test -n "$ac_init_help"; then
1315 cat <<\_ACEOF
1317 Optional Features:
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>
1341 CPP C preprocessor
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.
1350 _ACEOF
1351 ac_status=$?
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
1358 ac_builddir=.
1360 case "$ac_dir" in
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/ ;;
1369 esac ;;
1370 esac
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
1376 case $srcdir in
1377 .) # We are building in place.
1378 ac_srcdir=.
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 ;;
1385 *) # Relative name.
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 ;;
1389 esac
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
1395 echo &&
1396 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1397 elif test -f "$ac_srcdir/configure"; then
1398 echo &&
1399 $SHELL "$ac_srcdir/configure" --help=recursive
1400 else
1401 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1402 fi || ac_status=$?
1403 cd "$ac_pwd" || { ac_status=$?; break; }
1404 done
1407 test -n "$ac_init_help" && exit $ac_status
1408 if $ac_init_version; then
1409 cat <<\_ACEOF
1410 configure
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.
1417 _ACEOF
1418 exit
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
1427 $ $0 $@
1429 _ACEOF
1430 exec 5>>config.log
1432 cat <<_ASUNAME
1433 ## --------- ##
1434 ## Platform. ##
1435 ## --------- ##
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`
1454 _ASUNAME
1456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1457 for as_dir in $PATH
1459 IFS=$as_save_IFS
1460 test -z "$as_dir" && as_dir=.
1461 echo "PATH: $as_dir"
1462 done
1463 IFS=$as_save_IFS
1465 } >&5
1467 cat >&5 <<_ACEOF
1470 ## ----------- ##
1471 ## Core tests. ##
1472 ## ----------- ##
1474 _ACEOF
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.
1482 ac_configure_args=
1483 ac_configure_args0=
1484 ac_configure_args1=
1485 ac_must_keep_next=false
1486 for ac_pass in 1 2
1488 for ac_arg
1490 case $ac_arg in
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)
1494 continue ;;
1495 *\'*)
1496 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1497 esac
1498 case $ac_pass in
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.
1504 else
1505 case $ac_arg in
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 ;;
1512 esac
1514 -* ) ac_must_keep_next=true ;;
1515 esac
1517 ac_configure_args="$ac_configure_args '$ac_arg'"
1519 esac
1520 done
1521 done
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.
1533 echo
1535 cat <<\_ASBOX
1536 ## ---------------- ##
1537 ## Cache variables. ##
1538 ## ---------------- ##
1539 _ASBOX
1540 echo
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
1545 case $ac_val in #(
1546 *${as_nl}*)
1547 case $ac_var in #(
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;} ;;
1550 esac
1551 case $ac_var in #(
1552 _ | IFS | as_nl) ;; #(
1553 *) $as_unset $ac_var ;;
1554 esac ;;
1555 esac
1556 done
1557 (set) 2>&1 |
1558 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1559 *${as_nl}ac_space=\ *)
1560 sed -n \
1561 "s/'\''/'\''\\\\'\'''\''/g;
1562 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1563 ;; #(
1565 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1567 esac |
1568 sort
1570 echo
1572 cat <<\_ASBOX
1573 ## ----------------- ##
1574 ## Output variables. ##
1575 ## ----------------- ##
1576 _ASBOX
1577 echo
1578 for ac_var in $ac_subst_vars
1580 eval ac_val=\$$ac_var
1581 case $ac_val in
1582 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1583 esac
1584 echo "$ac_var='\''$ac_val'\''"
1585 done | sort
1586 echo
1588 if test -n "$ac_subst_files"; then
1589 cat <<\_ASBOX
1590 ## ------------------- ##
1591 ## File substitutions. ##
1592 ## ------------------- ##
1593 _ASBOX
1594 echo
1595 for ac_var in $ac_subst_files
1597 eval ac_val=\$$ac_var
1598 case $ac_val in
1599 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1600 esac
1601 echo "$ac_var='\''$ac_val'\''"
1602 done | sort
1603 echo
1606 if test -s confdefs.h; then
1607 cat <<\_ASBOX
1608 ## ----------- ##
1609 ## confdefs.h. ##
1610 ## ----------- ##
1611 _ASBOX
1612 echo
1613 cat confdefs.h
1614 echo
1616 test "$ac_signal" != 0 &&
1617 echo "$as_me: caught signal $ac_signal"
1618 echo "$as_me: exit $exit_status"
1619 } >&5
1620 rm -f core *.core core.conftest.* &&
1621 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1622 exit $exit_status
1624 for ac_signal in 1 2 13 15; do
1625 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1626 done
1627 ac_signal=0
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"
1636 _ACEOF
1639 cat >>confdefs.h <<_ACEOF
1640 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1641 _ACEOF
1644 cat >>confdefs.h <<_ACEOF
1645 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1646 _ACEOF
1649 cat >>confdefs.h <<_ACEOF
1650 #define PACKAGE_STRING "$PACKAGE_STRING"
1651 _ACEOF
1654 cat >>confdefs.h <<_ACEOF
1655 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1656 _ACEOF
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"
1665 else
1666 set x "$ac_default_prefix/share/config.site" \
1667 "$ac_default_prefix/etc/config.site"
1669 shift
1670 for ac_site_file
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
1676 . "$ac_site_file"
1678 done
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;}
1686 case $cache_file in
1687 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1688 *) . "./$cache_file";;
1689 esac
1691 else
1692 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1693 echo "$as_me: creating cache $cache_file" >&6;}
1694 >$cache_file
1697 # Check that the precious variables saved in the cache have kept the same
1698 # value.
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
1706 set,)
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=: ;;
1710 ,set)
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=: ;;
1714 ,);;
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=:
1724 fi;;
1725 esac
1726 # Pass precious variables to config.status.
1727 if test "$ac_new_set" = set; then
1728 case $ac_new_val in
1729 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1730 *) ac_arg=$ac_var=$ac_new_val ;;
1731 esac
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'" ;;
1735 esac
1737 done
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; }; }
1762 ac_ext=c
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"
1770 ac_aux_dir=
1771 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1772 if test -f "$ac_dir/install-sh"; then
1773 ac_aux_dir=$ac_dir
1774 ac_install_sh="$ac_aux_dir/install-sh -c"
1775 break
1776 elif test -f "$ac_dir/install.sh"; then
1777 ac_aux_dir=$ac_dir
1778 ac_install_sh="$ac_aux_dir/install.sh -c"
1779 break
1780 elif test -f "$ac_dir/shtool"; then
1781 ac_aux_dir=$ac_dir
1782 ac_install_sh="$ac_aux_dir/shtool install -c"
1783 break
1785 done
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
1807 # AIX /bin/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
1819 else
1820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1821 for as_dir in $PATH
1823 IFS=$as_save_IFS
1824 test -z "$as_dir" && as_dir=.
1825 # Account for people who put trailing slashes in PATH elements.
1826 case $as_dir/ in
1827 ./ | .// | /cC/* | \
1828 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1829 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1830 /usr/ucb/* ) ;;
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
1834 # by default.
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.
1846 else
1847 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1848 break 3
1851 done
1852 done
1854 esac
1855 done
1856 IFS=$as_save_IFS
1860 if test "${ac_cv_path_install+set}" = set; then
1861 INSTALL=$ac_cv_path_install
1862 else
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; }
1883 # Just in case
1884 sleep 1
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
1890 # directory).
1891 if (
1892 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1893 if test "$*" = "X"; then
1894 # -L didn't work.
1895 set X `ls -t $srcdir/configure conftest.file`
1897 rm -f 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
1914 then
1915 # Ok.
1917 else
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,$//
1935 _ACEOF
1936 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1937 rm -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 "
1946 else
1947 am_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
1957 # for two reasons:
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 --'
1968 else
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
1972 # exists.
1973 for d in ./-p ./--version;
1975 test -d $d && rmdir $d
1976 done
1977 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1978 if test -f "$ac_aux_dir/mkinstalldirs"; then
1979 mkdir_p='$(mkinstalldirs)'
1980 else
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
1993 else
1994 if test -n "$AWK"; then
1995 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1996 else
1997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1998 for as_dir in $PATH
2000 IFS=$as_save_IFS
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
2006 break 2
2008 done
2009 done
2010 IFS=$as_save_IFS
2014 AWK=$ac_cv_prog_AWK
2015 if test -n "$AWK"; then
2016 { echo "$as_me:$LINENO: result: $AWK" >&5
2017 echo "${ECHO_T}$AWK" >&6; }
2018 else
2019 { echo "$as_me:$LINENO: result: no" >&5
2020 echo "${ECHO_T}no" >&6; }
2024 test -n "$AWK" && break
2025 done
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
2032 else
2033 cat >conftest.make <<\_ACEOF
2034 SHELL = /bin/sh
2035 all:
2036 @echo '@@@%%%=$(MAKE)=@@@%%%'
2037 _ACEOF
2038 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2039 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2040 *@@@%%%=?*=@@@%%%*)
2041 eval ac_cv_prog_make_${ac_make}_set=yes;;
2043 eval ac_cv_prog_make_${ac_make}_set=no;;
2044 esac
2045 rm -f conftest.make
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; }
2050 SET_MAKE=
2051 else
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
2060 am__leading_dot=.
2061 else
2062 am__leading_dot=_
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'
2078 else
2079 CYGPATH_W=echo
2084 # Define the identity of the package.
2085 PACKAGE=gpivtools
2086 VERSION=0.6.0
2089 cat >>confdefs.h <<_ACEOF
2090 #define PACKAGE "$PACKAGE"
2091 _ACEOF
2094 cat >>confdefs.h <<_ACEOF
2095 #define VERSION "$VERSION"
2096 _ACEOF
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
2128 else
2129 if test -n "$STRIP"; then
2130 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2131 else
2132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2133 for as_dir in $PATH
2135 IFS=$as_save_IFS
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
2141 break 2
2143 done
2144 done
2145 IFS=$as_save_IFS
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; }
2153 else
2154 { echo "$as_me:$LINENO: result: no" >&5
2155 echo "${ECHO_T}no" >&6; }
2160 if test -z "$ac_cv_prog_STRIP"; then
2161 ac_ct_STRIP=$STRIP
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
2168 else
2169 if test -n "$ac_ct_STRIP"; then
2170 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2171 else
2172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2173 for as_dir in $PATH
2175 IFS=$as_save_IFS
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
2181 break 2
2183 done
2184 done
2185 IFS=$as_save_IFS
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; }
2193 else
2194 { echo "$as_me:$LINENO: result: no" >&5
2195 echo "${ECHO_T}no" >&6; }
2198 if test "x$ac_ct_STRIP" = x; then
2199 STRIP=":"
2200 else
2201 case $cross_compiling:$ac_tool_warned in
2202 yes:)
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 ;;
2210 esac
2211 STRIP=$ac_ct_STRIP
2213 else
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
2221 # some platforms.
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; }
2237 # Just in case
2238 sleep 1
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
2244 # directory).
2245 if (
2246 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2247 if test "$*" = "X"; then
2248 # -L didn't work.
2249 set X `ls -t $srcdir/configure conftest.file`
2251 rm -f 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
2268 then
2269 # Ok.
2271 else
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'
2287 am__doit:
2288 @echo done
2289 .PHONY: am__doit
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; }
2294 am__include="#"
2295 am__quote=
2296 _am_result=none
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
2305 am__include=include
2306 am__quote=
2307 _am_result=GNU
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
2314 am__quote="\""
2315 _am_result=BSD
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"
2331 AMDEPBACKSLASH='\'
2335 if test "x$enable_dependency_tracking" != xno; then
2336 AMDEP_TRUE=
2337 AMDEP_FALSE='#'
2338 else
2339 AMDEP_TRUE='#'
2340 AMDEP_FALSE=
2345 ac_ext=c
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
2357 else
2358 if test -n "$CC"; then
2359 ac_cv_prog_CC="$CC" # Let the user override the test.
2360 else
2361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2362 for as_dir in $PATH
2364 IFS=$as_save_IFS
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
2370 break 2
2372 done
2373 done
2374 IFS=$as_save_IFS
2378 CC=$ac_cv_prog_CC
2379 if test -n "$CC"; then
2380 { echo "$as_me:$LINENO: result: $CC" >&5
2381 echo "${ECHO_T}$CC" >&6; }
2382 else
2383 { echo "$as_me:$LINENO: result: no" >&5
2384 echo "${ECHO_T}no" >&6; }
2389 if test -z "$ac_cv_prog_CC"; then
2390 ac_ct_CC=$CC
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
2397 else
2398 if test -n "$ac_ct_CC"; then
2399 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2400 else
2401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2402 for as_dir in $PATH
2404 IFS=$as_save_IFS
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
2410 break 2
2412 done
2413 done
2414 IFS=$as_save_IFS
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; }
2422 else
2423 { echo "$as_me:$LINENO: result: no" >&5
2424 echo "${ECHO_T}no" >&6; }
2427 if test "x$ac_ct_CC" = x; then
2428 CC=""
2429 else
2430 case $cross_compiling:$ac_tool_warned in
2431 yes:)
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 ;;
2439 esac
2440 CC=$ac_ct_CC
2442 else
2443 CC="$ac_cv_prog_CC"
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
2454 else
2455 if test -n "$CC"; then
2456 ac_cv_prog_CC="$CC" # Let the user override the test.
2457 else
2458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2459 for as_dir in $PATH
2461 IFS=$as_save_IFS
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
2467 break 2
2469 done
2470 done
2471 IFS=$as_save_IFS
2475 CC=$ac_cv_prog_CC
2476 if test -n "$CC"; then
2477 { echo "$as_me:$LINENO: result: $CC" >&5
2478 echo "${ECHO_T}$CC" >&6; }
2479 else
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
2494 else
2495 if test -n "$CC"; then
2496 ac_cv_prog_CC="$CC" # Let the user override the test.
2497 else
2498 ac_prog_rejected=no
2499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2500 for as_dir in $PATH
2502 IFS=$as_save_IFS
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
2508 continue
2510 ac_cv_prog_CC="cc"
2511 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2512 break 2
2514 done
2515 done
2516 IFS=$as_save_IFS
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
2521 shift
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.
2526 shift
2527 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2532 CC=$ac_cv_prog_CC
2533 if test -n "$CC"; then
2534 { echo "$as_me:$LINENO: result: $CC" >&5
2535 echo "${ECHO_T}$CC" >&6; }
2536 else
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
2553 else
2554 if test -n "$CC"; then
2555 ac_cv_prog_CC="$CC" # Let the user override the test.
2556 else
2557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2558 for as_dir in $PATH
2560 IFS=$as_save_IFS
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
2566 break 2
2568 done
2569 done
2570 IFS=$as_save_IFS
2574 CC=$ac_cv_prog_CC
2575 if test -n "$CC"; then
2576 { echo "$as_me:$LINENO: result: $CC" >&5
2577 echo "${ECHO_T}$CC" >&6; }
2578 else
2579 { echo "$as_me:$LINENO: result: no" >&5
2580 echo "${ECHO_T}no" >&6; }
2584 test -n "$CC" && break
2585 done
2587 if test -z "$CC"; then
2588 ac_ct_CC=$CC
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
2597 else
2598 if test -n "$ac_ct_CC"; then
2599 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2600 else
2601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2602 for as_dir in $PATH
2604 IFS=$as_save_IFS
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
2610 break 2
2612 done
2613 done
2614 IFS=$as_save_IFS
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; }
2622 else
2623 { echo "$as_me:$LINENO: result: no" >&5
2624 echo "${ECHO_T}no" >&6; }
2628 test -n "$ac_ct_CC" && break
2629 done
2631 if test "x$ac_ct_CC" = x; then
2632 CC=""
2633 else
2634 case $cross_compiling:$ac_tool_warned in
2635 yes:)
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 ;;
2643 esac
2644 CC=$ac_ct_CC
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"
2661 case "(($ac_try" in
2662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2663 *) ac_try_echo=$ac_try;;
2664 esac
2665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2666 (eval "$ac_compiler --version >&5") 2>&5
2667 ac_status=$?
2668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2669 (exit $ac_status); }
2670 { (ac_try="$ac_compiler -v >&5"
2671 case "(($ac_try" in
2672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2673 *) ac_try_echo=$ac_try;;
2674 esac
2675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2676 (eval "$ac_compiler -v >&5") 2>&5
2677 ac_status=$?
2678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2679 (exit $ac_status); }
2680 { (ac_try="$ac_compiler -V >&5"
2681 case "(($ac_try" in
2682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2683 *) ac_try_echo=$ac_try;;
2684 esac
2685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2686 (eval "$ac_compiler -V >&5") 2>&5
2687 ac_status=$?
2688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2689 (exit $ac_status); }
2691 cat >conftest.$ac_ext <<_ACEOF
2692 /* confdefs.h. */
2693 _ACEOF
2694 cat confdefs.h >>conftest.$ac_ext
2695 cat >>conftest.$ac_ext <<_ACEOF
2696 /* end confdefs.h. */
2699 main ()
2703 return 0;
2705 _ACEOF
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
2710 # of exeext.
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.
2723 ac_rmfiles=
2724 for ac_file in $ac_files
2726 case $ac_file in
2727 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2728 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2729 esac
2730 done
2731 rm -f $ac_rmfiles
2733 if { (ac_try="$ac_link_default"
2734 case "(($ac_try" in
2735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2736 *) ac_try_echo=$ac_try;;
2737 esac
2738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2739 (eval "$ac_link_default") 2>&5
2740 ac_status=$?
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
2747 # Autoconf.
2748 for ac_file in $ac_files ''
2750 test -f "$ac_file" || continue
2751 case $ac_file in
2752 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2754 [ab].out )
2755 # We found the default executable, but exeext='' is most
2756 # certainly right.
2757 break;;
2758 *.* )
2759 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2760 then :; else
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
2767 # actually working.
2768 break;;
2770 break;;
2771 esac
2772 done
2773 test "$ac_cv_exeext" = no && ac_cv_exeext=
2775 else
2776 ac_file=''
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;;
2805 esac
2806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2807 (eval "$ac_try") 2>&5
2808 ac_status=$?
2809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2810 (exit $ac_status); }; }; then
2811 cross_compiling=no
2812 else
2813 if test "$cross_compiling" = maybe; then
2814 cross_compiling=yes
2815 else
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"
2841 case "(($ac_try" in
2842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2843 *) ac_try_echo=$ac_try;;
2844 esac
2845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2846 (eval "$ac_link") 2>&5
2847 ac_status=$?
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
2853 # `rm'.
2854 for ac_file in conftest.exe conftest conftest.*; do
2855 test -f "$ac_file" || continue
2856 case $ac_file in
2857 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2858 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2859 break;;
2860 * ) break;;
2861 esac
2862 done
2863 else
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
2877 ac_exeext=$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
2882 else
2883 cat >conftest.$ac_ext <<_ACEOF
2884 /* confdefs.h. */
2885 _ACEOF
2886 cat confdefs.h >>conftest.$ac_ext
2887 cat >>conftest.$ac_ext <<_ACEOF
2888 /* end confdefs.h. */
2891 main ()
2895 return 0;
2897 _ACEOF
2898 rm -f conftest.o conftest.obj
2899 if { (ac_try="$ac_compile"
2900 case "(($ac_try" in
2901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2902 *) ac_try_echo=$ac_try;;
2903 esac
2904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2905 (eval "$ac_compile") 2>&5
2906 ac_status=$?
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;
2911 case $ac_file in
2912 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2913 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2914 break;;
2915 esac
2916 done
2917 else
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
2933 ac_objext=$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
2938 else
2939 cat >conftest.$ac_ext <<_ACEOF
2940 /* confdefs.h. */
2941 _ACEOF
2942 cat confdefs.h >>conftest.$ac_ext
2943 cat >>conftest.$ac_ext <<_ACEOF
2944 /* end confdefs.h. */
2947 main ()
2949 #ifndef __GNUC__
2950 choke me
2951 #endif
2954 return 0;
2956 _ACEOF
2957 rm -f conftest.$ac_objext
2958 if { (ac_try="$ac_compile"
2959 case "(($ac_try" in
2960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2961 *) ac_try_echo=$ac_try;;
2962 esac
2963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2964 (eval "$ac_compile") 2>conftest.er1
2965 ac_status=$?
2966 grep -v '^ *+' conftest.er1 >conftest.err
2967 rm -f conftest.er1
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
2974 ac_compiler_gnu=yes
2975 else
2976 echo "$as_me: failed program was:" >&5
2977 sed 's/^/| /' conftest.$ac_ext >&5
2979 ac_compiler_gnu=no
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
2995 else
2996 ac_save_c_werror_flag=$ac_c_werror_flag
2997 ac_c_werror_flag=yes
2998 ac_cv_prog_cc_g=no
2999 CFLAGS="-g"
3000 cat >conftest.$ac_ext <<_ACEOF
3001 /* confdefs.h. */
3002 _ACEOF
3003 cat confdefs.h >>conftest.$ac_ext
3004 cat >>conftest.$ac_ext <<_ACEOF
3005 /* end confdefs.h. */
3008 main ()
3012 return 0;
3014 _ACEOF
3015 rm -f conftest.$ac_objext
3016 if { (ac_try="$ac_compile"
3017 case "(($ac_try" in
3018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3019 *) ac_try_echo=$ac_try;;
3020 esac
3021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3022 (eval "$ac_compile") 2>conftest.er1
3023 ac_status=$?
3024 grep -v '^ *+' conftest.er1 >conftest.err
3025 rm -f conftest.er1
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
3032 ac_cv_prog_cc_g=yes
3033 else
3034 echo "$as_me: failed program was:" >&5
3035 sed 's/^/| /' conftest.$ac_ext >&5
3037 CFLAGS=""
3038 cat >conftest.$ac_ext <<_ACEOF
3039 /* confdefs.h. */
3040 _ACEOF
3041 cat confdefs.h >>conftest.$ac_ext
3042 cat >>conftest.$ac_ext <<_ACEOF
3043 /* end confdefs.h. */
3046 main ()
3050 return 0;
3052 _ACEOF
3053 rm -f conftest.$ac_objext
3054 if { (ac_try="$ac_compile"
3055 case "(($ac_try" in
3056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3057 *) ac_try_echo=$ac_try;;
3058 esac
3059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3060 (eval "$ac_compile") 2>conftest.er1
3061 ac_status=$?
3062 grep -v '^ *+' conftest.er1 >conftest.err
3063 rm -f conftest.er1
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
3071 else
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
3076 CFLAGS="-g"
3077 cat >conftest.$ac_ext <<_ACEOF
3078 /* confdefs.h. */
3079 _ACEOF
3080 cat confdefs.h >>conftest.$ac_ext
3081 cat >>conftest.$ac_ext <<_ACEOF
3082 /* end confdefs.h. */
3085 main ()
3089 return 0;
3091 _ACEOF
3092 rm -f conftest.$ac_objext
3093 if { (ac_try="$ac_compile"
3094 case "(($ac_try" in
3095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3096 *) ac_try_echo=$ac_try;;
3097 esac
3098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3099 (eval "$ac_compile") 2>conftest.er1
3100 ac_status=$?
3101 grep -v '^ *+' conftest.er1 >conftest.err
3102 rm -f conftest.er1
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
3109 ac_cv_prog_cc_g=yes
3110 else
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
3132 CFLAGS="-g -O2"
3133 else
3134 CFLAGS="-g"
3136 else
3137 if test "$GCC" = yes; then
3138 CFLAGS="-O2"
3139 else
3140 CFLAGS=
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
3147 else
3148 ac_cv_prog_cc_c89=no
3149 ac_save_CC=$CC
3150 cat >conftest.$ac_ext <<_ACEOF
3151 /* confdefs.h. */
3152 _ACEOF
3153 cat confdefs.h >>conftest.$ac_ext
3154 cat >>conftest.$ac_ext <<_ACEOF
3155 /* end confdefs.h. */
3156 #include <stdarg.h>
3157 #include <stdio.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)
3164 char **p;
3165 int i;
3167 return p[i];
3169 static char *f (char * (*g) (char **, int), char **p, ...)
3171 char *s;
3172 va_list v;
3173 va_start (v,p);
3174 s = g (p, va_arg (v,int));
3175 va_end (v);
3176 return s;
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. */
3190 #define FOO(x) 'x'
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);
3197 int argc;
3198 char **argv;
3200 main ()
3202 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3204 return 0;
3206 _ACEOF
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"
3213 case "(($ac_try" in
3214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3215 *) ac_try_echo=$ac_try;;
3216 esac
3217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3218 (eval "$ac_compile") 2>conftest.er1
3219 ac_status=$?
3220 grep -v '^ *+' conftest.er1 >conftest.err
3221 rm -f conftest.er1
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
3229 else
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
3238 done
3239 rm -f conftest.$ac_ext
3240 CC=$ac_save_CC
3243 # AC_CACHE_VAL
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; } ;;
3248 xno)
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; } ;;
3255 esac
3258 ac_ext=c
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
3270 else
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
3276 # in D'.
3277 mkdir conftest.dir
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
3281 cd 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
3287 # directory.
3288 mkdir sub
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.
3302 : > sub/conftest.c
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
3308 done
3309 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3311 case $depmode in
3312 nosideeffect)
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
3316 continue
3317 else
3318 break
3321 none) break ;;
3322 esac
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
3344 break
3347 done
3349 cd ..
3350 rm -rf conftest.dir
3351 else
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
3365 am__fastdepCC_TRUE=
3366 am__fastdepCC_FALSE='#'
3367 else
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
3378 else
3379 ac_func_search_save_LIBS=$LIBS
3380 cat >conftest.$ac_ext <<_ACEOF
3381 /* confdefs.h. */
3382 _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. */
3390 #ifdef __cplusplus
3391 extern "C"
3392 #endif
3393 char strerror ();
3395 main ()
3397 return strerror ();
3399 return 0;
3401 _ACEOF
3402 for ac_lib in '' cposix; do
3403 if test -z "$ac_lib"; then
3404 ac_res="none required"
3405 else
3406 ac_res=-l$ac_lib
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"
3411 case "(($ac_try" in
3412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3413 *) ac_try_echo=$ac_try;;
3414 esac
3415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3416 (eval "$ac_link") 2>conftest.er1
3417 ac_status=$?
3418 grep -v '^ *+' conftest.er1 >conftest.err
3419 rm -f conftest.er1
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
3428 else
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 \
3436 conftest$ac_exeext
3437 if test "${ac_cv_search_strerror+set}" = set; then
3438 break
3440 done
3441 if test "${ac_cv_search_strerror+set}" = set; then
3443 else
3444 ac_cv_search_strerror=no
3446 rm conftest.$ac_ext
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"
3458 ac_ext=c
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
3470 else
3471 if test -n "$CC"; then
3472 ac_cv_prog_CC="$CC" # Let the user override the test.
3473 else
3474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3475 for as_dir in $PATH
3477 IFS=$as_save_IFS
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
3483 break 2
3485 done
3486 done
3487 IFS=$as_save_IFS
3491 CC=$ac_cv_prog_CC
3492 if test -n "$CC"; then
3493 { echo "$as_me:$LINENO: result: $CC" >&5
3494 echo "${ECHO_T}$CC" >&6; }
3495 else
3496 { echo "$as_me:$LINENO: result: no" >&5
3497 echo "${ECHO_T}no" >&6; }
3502 if test -z "$ac_cv_prog_CC"; then
3503 ac_ct_CC=$CC
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
3510 else
3511 if test -n "$ac_ct_CC"; then
3512 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3513 else
3514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3515 for as_dir in $PATH
3517 IFS=$as_save_IFS
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
3523 break 2
3525 done
3526 done
3527 IFS=$as_save_IFS
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; }
3535 else
3536 { echo "$as_me:$LINENO: result: no" >&5
3537 echo "${ECHO_T}no" >&6; }
3540 if test "x$ac_ct_CC" = x; then
3541 CC=""
3542 else
3543 case $cross_compiling:$ac_tool_warned in
3544 yes:)
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 ;;
3552 esac
3553 CC=$ac_ct_CC
3555 else
3556 CC="$ac_cv_prog_CC"
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
3567 else
3568 if test -n "$CC"; then
3569 ac_cv_prog_CC="$CC" # Let the user override the test.
3570 else
3571 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3572 for as_dir in $PATH
3574 IFS=$as_save_IFS
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
3580 break 2
3582 done
3583 done
3584 IFS=$as_save_IFS
3588 CC=$ac_cv_prog_CC
3589 if test -n "$CC"; then
3590 { echo "$as_me:$LINENO: result: $CC" >&5
3591 echo "${ECHO_T}$CC" >&6; }
3592 else
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
3607 else
3608 if test -n "$CC"; then
3609 ac_cv_prog_CC="$CC" # Let the user override the test.
3610 else
3611 ac_prog_rejected=no
3612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3613 for as_dir in $PATH
3615 IFS=$as_save_IFS
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
3621 continue
3623 ac_cv_prog_CC="cc"
3624 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3625 break 2
3627 done
3628 done
3629 IFS=$as_save_IFS
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
3634 shift
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.
3639 shift
3640 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3645 CC=$ac_cv_prog_CC
3646 if test -n "$CC"; then
3647 { echo "$as_me:$LINENO: result: $CC" >&5
3648 echo "${ECHO_T}$CC" >&6; }
3649 else
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
3666 else
3667 if test -n "$CC"; then
3668 ac_cv_prog_CC="$CC" # Let the user override the test.
3669 else
3670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3671 for as_dir in $PATH
3673 IFS=$as_save_IFS
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
3679 break 2
3681 done
3682 done
3683 IFS=$as_save_IFS
3687 CC=$ac_cv_prog_CC
3688 if test -n "$CC"; then
3689 { echo "$as_me:$LINENO: result: $CC" >&5
3690 echo "${ECHO_T}$CC" >&6; }
3691 else
3692 { echo "$as_me:$LINENO: result: no" >&5
3693 echo "${ECHO_T}no" >&6; }
3697 test -n "$CC" && break
3698 done
3700 if test -z "$CC"; then
3701 ac_ct_CC=$CC
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
3710 else
3711 if test -n "$ac_ct_CC"; then
3712 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3713 else
3714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3715 for as_dir in $PATH
3717 IFS=$as_save_IFS
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
3723 break 2
3725 done
3726 done
3727 IFS=$as_save_IFS
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; }
3735 else
3736 { echo "$as_me:$LINENO: result: no" >&5
3737 echo "${ECHO_T}no" >&6; }
3741 test -n "$ac_ct_CC" && break
3742 done
3744 if test "x$ac_ct_CC" = x; then
3745 CC=""
3746 else
3747 case $cross_compiling:$ac_tool_warned in
3748 yes:)
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 ;;
3756 esac
3757 CC=$ac_ct_CC
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"
3774 case "(($ac_try" in
3775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3776 *) ac_try_echo=$ac_try;;
3777 esac
3778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3779 (eval "$ac_compiler --version >&5") 2>&5
3780 ac_status=$?
3781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3782 (exit $ac_status); }
3783 { (ac_try="$ac_compiler -v >&5"
3784 case "(($ac_try" in
3785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3786 *) ac_try_echo=$ac_try;;
3787 esac
3788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3789 (eval "$ac_compiler -v >&5") 2>&5
3790 ac_status=$?
3791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3792 (exit $ac_status); }
3793 { (ac_try="$ac_compiler -V >&5"
3794 case "(($ac_try" in
3795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3796 *) ac_try_echo=$ac_try;;
3797 esac
3798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3799 (eval "$ac_compiler -V >&5") 2>&5
3800 ac_status=$?
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
3808 else
3809 cat >conftest.$ac_ext <<_ACEOF
3810 /* confdefs.h. */
3811 _ACEOF
3812 cat confdefs.h >>conftest.$ac_ext
3813 cat >>conftest.$ac_ext <<_ACEOF
3814 /* end confdefs.h. */
3817 main ()
3819 #ifndef __GNUC__
3820 choke me
3821 #endif
3824 return 0;
3826 _ACEOF
3827 rm -f conftest.$ac_objext
3828 if { (ac_try="$ac_compile"
3829 case "(($ac_try" in
3830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3831 *) ac_try_echo=$ac_try;;
3832 esac
3833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3834 (eval "$ac_compile") 2>conftest.er1
3835 ac_status=$?
3836 grep -v '^ *+' conftest.er1 >conftest.err
3837 rm -f conftest.er1
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
3844 ac_compiler_gnu=yes
3845 else
3846 echo "$as_me: failed program was:" >&5
3847 sed 's/^/| /' conftest.$ac_ext >&5
3849 ac_compiler_gnu=no
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
3865 else
3866 ac_save_c_werror_flag=$ac_c_werror_flag
3867 ac_c_werror_flag=yes
3868 ac_cv_prog_cc_g=no
3869 CFLAGS="-g"
3870 cat >conftest.$ac_ext <<_ACEOF
3871 /* confdefs.h. */
3872 _ACEOF
3873 cat confdefs.h >>conftest.$ac_ext
3874 cat >>conftest.$ac_ext <<_ACEOF
3875 /* end confdefs.h. */
3878 main ()
3882 return 0;
3884 _ACEOF
3885 rm -f conftest.$ac_objext
3886 if { (ac_try="$ac_compile"
3887 case "(($ac_try" in
3888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3889 *) ac_try_echo=$ac_try;;
3890 esac
3891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3892 (eval "$ac_compile") 2>conftest.er1
3893 ac_status=$?
3894 grep -v '^ *+' conftest.er1 >conftest.err
3895 rm -f conftest.er1
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
3902 ac_cv_prog_cc_g=yes
3903 else
3904 echo "$as_me: failed program was:" >&5
3905 sed 's/^/| /' conftest.$ac_ext >&5
3907 CFLAGS=""
3908 cat >conftest.$ac_ext <<_ACEOF
3909 /* confdefs.h. */
3910 _ACEOF
3911 cat confdefs.h >>conftest.$ac_ext
3912 cat >>conftest.$ac_ext <<_ACEOF
3913 /* end confdefs.h. */
3916 main ()
3920 return 0;
3922 _ACEOF
3923 rm -f conftest.$ac_objext
3924 if { (ac_try="$ac_compile"
3925 case "(($ac_try" in
3926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3927 *) ac_try_echo=$ac_try;;
3928 esac
3929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3930 (eval "$ac_compile") 2>conftest.er1
3931 ac_status=$?
3932 grep -v '^ *+' conftest.er1 >conftest.err
3933 rm -f conftest.er1
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
3941 else
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
3946 CFLAGS="-g"
3947 cat >conftest.$ac_ext <<_ACEOF
3948 /* confdefs.h. */
3949 _ACEOF
3950 cat confdefs.h >>conftest.$ac_ext
3951 cat >>conftest.$ac_ext <<_ACEOF
3952 /* end confdefs.h. */
3955 main ()
3959 return 0;
3961 _ACEOF
3962 rm -f conftest.$ac_objext
3963 if { (ac_try="$ac_compile"
3964 case "(($ac_try" in
3965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3966 *) ac_try_echo=$ac_try;;
3967 esac
3968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3969 (eval "$ac_compile") 2>conftest.er1
3970 ac_status=$?
3971 grep -v '^ *+' conftest.er1 >conftest.err
3972 rm -f conftest.er1
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
3979 ac_cv_prog_cc_g=yes
3980 else
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
4002 CFLAGS="-g -O2"
4003 else
4004 CFLAGS="-g"
4006 else
4007 if test "$GCC" = yes; then
4008 CFLAGS="-O2"
4009 else
4010 CFLAGS=
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
4017 else
4018 ac_cv_prog_cc_c89=no
4019 ac_save_CC=$CC
4020 cat >conftest.$ac_ext <<_ACEOF
4021 /* confdefs.h. */
4022 _ACEOF
4023 cat confdefs.h >>conftest.$ac_ext
4024 cat >>conftest.$ac_ext <<_ACEOF
4025 /* end confdefs.h. */
4026 #include <stdarg.h>
4027 #include <stdio.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)
4034 char **p;
4035 int i;
4037 return p[i];
4039 static char *f (char * (*g) (char **, int), char **p, ...)
4041 char *s;
4042 va_list v;
4043 va_start (v,p);
4044 s = g (p, va_arg (v,int));
4045 va_end (v);
4046 return s;
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. */
4060 #define FOO(x) 'x'
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);
4067 int argc;
4068 char **argv;
4070 main ()
4072 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4074 return 0;
4076 _ACEOF
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"
4083 case "(($ac_try" in
4084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4085 *) ac_try_echo=$ac_try;;
4086 esac
4087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4088 (eval "$ac_compile") 2>conftest.er1
4089 ac_status=$?
4090 grep -v '^ *+' conftest.er1 >conftest.err
4091 rm -f conftest.er1
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
4099 else
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
4108 done
4109 rm -f conftest.$ac_ext
4110 CC=$ac_save_CC
4113 # AC_CACHE_VAL
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; } ;;
4118 xno)
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; } ;;
4125 esac
4128 ac_ext=c
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
4140 else
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
4146 # in D'.
4147 mkdir conftest.dir
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
4151 cd 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
4157 # directory.
4158 mkdir sub
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.
4172 : > sub/conftest.c
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
4178 done
4179 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4181 case $depmode in
4182 nosideeffect)
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
4186 continue
4187 else
4188 break
4191 none) break ;;
4192 esac
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
4214 break
4217 done
4219 cd ..
4220 rm -rf conftest.dir
4221 else
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
4235 am__fastdepCC_TRUE=
4236 am__fastdepCC_FALSE='#'
4237 else
4238 am__fastdepCC_TRUE='#'
4239 am__fastdepCC_FALSE=
4243 ac_ext=c
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
4255 else
4256 if test -n "$CC"; then
4257 ac_cv_prog_CC="$CC" # Let the user override the test.
4258 else
4259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4260 for as_dir in $PATH
4262 IFS=$as_save_IFS
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
4268 break 2
4270 done
4271 done
4272 IFS=$as_save_IFS
4276 CC=$ac_cv_prog_CC
4277 if test -n "$CC"; then
4278 { echo "$as_me:$LINENO: result: $CC" >&5
4279 echo "${ECHO_T}$CC" >&6; }
4280 else
4281 { echo "$as_me:$LINENO: result: no" >&5
4282 echo "${ECHO_T}no" >&6; }
4287 if test -z "$ac_cv_prog_CC"; then
4288 ac_ct_CC=$CC
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
4295 else
4296 if test -n "$ac_ct_CC"; then
4297 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4298 else
4299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4300 for as_dir in $PATH
4302 IFS=$as_save_IFS
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
4308 break 2
4310 done
4311 done
4312 IFS=$as_save_IFS
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; }
4320 else
4321 { echo "$as_me:$LINENO: result: no" >&5
4322 echo "${ECHO_T}no" >&6; }
4325 if test "x$ac_ct_CC" = x; then
4326 CC=""
4327 else
4328 case $cross_compiling:$ac_tool_warned in
4329 yes:)
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 ;;
4337 esac
4338 CC=$ac_ct_CC
4340 else
4341 CC="$ac_cv_prog_CC"
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
4352 else
4353 if test -n "$CC"; then
4354 ac_cv_prog_CC="$CC" # Let the user override the test.
4355 else
4356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4357 for as_dir in $PATH
4359 IFS=$as_save_IFS
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
4365 break 2
4367 done
4368 done
4369 IFS=$as_save_IFS
4373 CC=$ac_cv_prog_CC
4374 if test -n "$CC"; then
4375 { echo "$as_me:$LINENO: result: $CC" >&5
4376 echo "${ECHO_T}$CC" >&6; }
4377 else
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
4392 else
4393 if test -n "$CC"; then
4394 ac_cv_prog_CC="$CC" # Let the user override the test.
4395 else
4396 ac_prog_rejected=no
4397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4398 for as_dir in $PATH
4400 IFS=$as_save_IFS
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
4406 continue
4408 ac_cv_prog_CC="cc"
4409 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4410 break 2
4412 done
4413 done
4414 IFS=$as_save_IFS
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
4419 shift
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.
4424 shift
4425 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4430 CC=$ac_cv_prog_CC
4431 if test -n "$CC"; then
4432 { echo "$as_me:$LINENO: result: $CC" >&5
4433 echo "${ECHO_T}$CC" >&6; }
4434 else
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
4451 else
4452 if test -n "$CC"; then
4453 ac_cv_prog_CC="$CC" # Let the user override the test.
4454 else
4455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4456 for as_dir in $PATH
4458 IFS=$as_save_IFS
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
4464 break 2
4466 done
4467 done
4468 IFS=$as_save_IFS
4472 CC=$ac_cv_prog_CC
4473 if test -n "$CC"; then
4474 { echo "$as_me:$LINENO: result: $CC" >&5
4475 echo "${ECHO_T}$CC" >&6; }
4476 else
4477 { echo "$as_me:$LINENO: result: no" >&5
4478 echo "${ECHO_T}no" >&6; }
4482 test -n "$CC" && break
4483 done
4485 if test -z "$CC"; then
4486 ac_ct_CC=$CC
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
4495 else
4496 if test -n "$ac_ct_CC"; then
4497 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4498 else
4499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4500 for as_dir in $PATH
4502 IFS=$as_save_IFS
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
4508 break 2
4510 done
4511 done
4512 IFS=$as_save_IFS
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; }
4520 else
4521 { echo "$as_me:$LINENO: result: no" >&5
4522 echo "${ECHO_T}no" >&6; }
4526 test -n "$ac_ct_CC" && break
4527 done
4529 if test "x$ac_ct_CC" = x; then
4530 CC=""
4531 else
4532 case $cross_compiling:$ac_tool_warned in
4533 yes:)
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 ;;
4541 esac
4542 CC=$ac_ct_CC
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"
4559 case "(($ac_try" in
4560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4561 *) ac_try_echo=$ac_try;;
4562 esac
4563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4564 (eval "$ac_compiler --version >&5") 2>&5
4565 ac_status=$?
4566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4567 (exit $ac_status); }
4568 { (ac_try="$ac_compiler -v >&5"
4569 case "(($ac_try" in
4570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4571 *) ac_try_echo=$ac_try;;
4572 esac
4573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4574 (eval "$ac_compiler -v >&5") 2>&5
4575 ac_status=$?
4576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4577 (exit $ac_status); }
4578 { (ac_try="$ac_compiler -V >&5"
4579 case "(($ac_try" in
4580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4581 *) ac_try_echo=$ac_try;;
4582 esac
4583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4584 (eval "$ac_compiler -V >&5") 2>&5
4585 ac_status=$?
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
4593 else
4594 cat >conftest.$ac_ext <<_ACEOF
4595 /* confdefs.h. */
4596 _ACEOF
4597 cat confdefs.h >>conftest.$ac_ext
4598 cat >>conftest.$ac_ext <<_ACEOF
4599 /* end confdefs.h. */
4602 main ()
4604 #ifndef __GNUC__
4605 choke me
4606 #endif
4609 return 0;
4611 _ACEOF
4612 rm -f conftest.$ac_objext
4613 if { (ac_try="$ac_compile"
4614 case "(($ac_try" in
4615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4616 *) ac_try_echo=$ac_try;;
4617 esac
4618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4619 (eval "$ac_compile") 2>conftest.er1
4620 ac_status=$?
4621 grep -v '^ *+' conftest.er1 >conftest.err
4622 rm -f conftest.er1
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
4629 ac_compiler_gnu=yes
4630 else
4631 echo "$as_me: failed program was:" >&5
4632 sed 's/^/| /' conftest.$ac_ext >&5
4634 ac_compiler_gnu=no
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
4650 else
4651 ac_save_c_werror_flag=$ac_c_werror_flag
4652 ac_c_werror_flag=yes
4653 ac_cv_prog_cc_g=no
4654 CFLAGS="-g"
4655 cat >conftest.$ac_ext <<_ACEOF
4656 /* confdefs.h. */
4657 _ACEOF
4658 cat confdefs.h >>conftest.$ac_ext
4659 cat >>conftest.$ac_ext <<_ACEOF
4660 /* end confdefs.h. */
4663 main ()
4667 return 0;
4669 _ACEOF
4670 rm -f conftest.$ac_objext
4671 if { (ac_try="$ac_compile"
4672 case "(($ac_try" in
4673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4674 *) ac_try_echo=$ac_try;;
4675 esac
4676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4677 (eval "$ac_compile") 2>conftest.er1
4678 ac_status=$?
4679 grep -v '^ *+' conftest.er1 >conftest.err
4680 rm -f conftest.er1
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
4687 ac_cv_prog_cc_g=yes
4688 else
4689 echo "$as_me: failed program was:" >&5
4690 sed 's/^/| /' conftest.$ac_ext >&5
4692 CFLAGS=""
4693 cat >conftest.$ac_ext <<_ACEOF
4694 /* confdefs.h. */
4695 _ACEOF
4696 cat confdefs.h >>conftest.$ac_ext
4697 cat >>conftest.$ac_ext <<_ACEOF
4698 /* end confdefs.h. */
4701 main ()
4705 return 0;
4707 _ACEOF
4708 rm -f conftest.$ac_objext
4709 if { (ac_try="$ac_compile"
4710 case "(($ac_try" in
4711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4712 *) ac_try_echo=$ac_try;;
4713 esac
4714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4715 (eval "$ac_compile") 2>conftest.er1
4716 ac_status=$?
4717 grep -v '^ *+' conftest.er1 >conftest.err
4718 rm -f conftest.er1
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
4726 else
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
4731 CFLAGS="-g"
4732 cat >conftest.$ac_ext <<_ACEOF
4733 /* confdefs.h. */
4734 _ACEOF
4735 cat confdefs.h >>conftest.$ac_ext
4736 cat >>conftest.$ac_ext <<_ACEOF
4737 /* end confdefs.h. */
4740 main ()
4744 return 0;
4746 _ACEOF
4747 rm -f conftest.$ac_objext
4748 if { (ac_try="$ac_compile"
4749 case "(($ac_try" in
4750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4751 *) ac_try_echo=$ac_try;;
4752 esac
4753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4754 (eval "$ac_compile") 2>conftest.er1
4755 ac_status=$?
4756 grep -v '^ *+' conftest.er1 >conftest.err
4757 rm -f conftest.er1
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
4764 ac_cv_prog_cc_g=yes
4765 else
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
4787 CFLAGS="-g -O2"
4788 else
4789 CFLAGS="-g"
4791 else
4792 if test "$GCC" = yes; then
4793 CFLAGS="-O2"
4794 else
4795 CFLAGS=
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
4802 else
4803 ac_cv_prog_cc_c89=no
4804 ac_save_CC=$CC
4805 cat >conftest.$ac_ext <<_ACEOF
4806 /* confdefs.h. */
4807 _ACEOF
4808 cat confdefs.h >>conftest.$ac_ext
4809 cat >>conftest.$ac_ext <<_ACEOF
4810 /* end confdefs.h. */
4811 #include <stdarg.h>
4812 #include <stdio.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)
4819 char **p;
4820 int i;
4822 return p[i];
4824 static char *f (char * (*g) (char **, int), char **p, ...)
4826 char *s;
4827 va_list v;
4828 va_start (v,p);
4829 s = g (p, va_arg (v,int));
4830 va_end (v);
4831 return s;
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. */
4845 #define FOO(x) 'x'
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);
4852 int argc;
4853 char **argv;
4855 main ()
4857 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4859 return 0;
4861 _ACEOF
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"
4868 case "(($ac_try" in
4869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4870 *) ac_try_echo=$ac_try;;
4871 esac
4872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4873 (eval "$ac_compile") 2>conftest.er1
4874 ac_status=$?
4875 grep -v '^ *+' conftest.er1 >conftest.err
4876 rm -f conftest.er1
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
4884 else
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
4893 done
4894 rm -f conftest.$ac_ext
4895 CC=$ac_save_CC
4898 # AC_CACHE_VAL
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; } ;;
4903 xno)
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; } ;;
4910 esac
4913 ac_ext=c
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
4925 else
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
4931 # in D'.
4932 mkdir conftest.dir
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
4936 cd 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
4942 # directory.
4943 mkdir sub
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.
4957 : > sub/conftest.c
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
4963 done
4964 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4966 case $depmode in
4967 nosideeffect)
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
4971 continue
4972 else
4973 break
4976 none) break ;;
4977 esac
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
4999 break
5002 done
5004 cd ..
5005 rm -rf conftest.dir
5006 else
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
5020 am__fastdepCC_TRUE=
5021 am__fastdepCC_FALSE='#'
5022 else
5023 am__fastdepCC_TRUE='#'
5024 am__fastdepCC_FALSE=
5029 am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
5031 ac_ext=c
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
5040 CPP=
5042 if test -z "$CPP"; then
5043 if test "${ac_cv_prog_CPP+set}" = set; then
5044 echo $ECHO_N "(cached) $ECHO_C" >&6
5045 else
5046 # Double quotes because CPP needs to be expanded
5047 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5049 ac_preproc_ok=false
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
5059 /* confdefs.h. */
5060 _ACEOF
5061 cat confdefs.h >>conftest.$ac_ext
5062 cat >>conftest.$ac_ext <<_ACEOF
5063 /* end confdefs.h. */
5064 #ifdef __STDC__
5065 # include <limits.h>
5066 #else
5067 # include <assert.h>
5068 #endif
5069 Syntax error
5070 _ACEOF
5071 if { (ac_try="$ac_cpp conftest.$ac_ext"
5072 case "(($ac_try" in
5073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5074 *) ac_try_echo=$ac_try;;
5075 esac
5076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5077 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5078 ac_status=$?
5079 grep -v '^ *+' conftest.er1 >conftest.err
5080 rm -f conftest.er1
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
5086 }; then
5088 else
5089 echo "$as_me: failed program was:" >&5
5090 sed 's/^/| /' conftest.$ac_ext >&5
5092 # Broken: fails on valid input.
5093 continue
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
5101 /* confdefs.h. */
5102 _ACEOF
5103 cat confdefs.h >>conftest.$ac_ext
5104 cat >>conftest.$ac_ext <<_ACEOF
5105 /* end confdefs.h. */
5106 #include <ac_nonexistent.h>
5107 _ACEOF
5108 if { (ac_try="$ac_cpp conftest.$ac_ext"
5109 case "(($ac_try" in
5110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5111 *) ac_try_echo=$ac_try;;
5112 esac
5113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5114 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5115 ac_status=$?
5116 grep -v '^ *+' conftest.er1 >conftest.err
5117 rm -f conftest.er1
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
5123 }; then
5124 # Broken: success on invalid input.
5125 continue
5126 else
5127 echo "$as_me: failed program was:" >&5
5128 sed 's/^/| /' conftest.$ac_ext >&5
5130 # Passes both tests.
5131 ac_preproc_ok=:
5132 break
5135 rm -f conftest.err conftest.$ac_ext
5137 done
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
5141 break
5144 done
5145 ac_cv_prog_CPP=$CPP
5148 CPP=$ac_cv_prog_CPP
5149 else
5150 ac_cv_prog_CPP=$CPP
5152 { echo "$as_me:$LINENO: result: $CPP" >&5
5153 echo "${ECHO_T}$CPP" >&6; }
5154 ac_preproc_ok=false
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
5164 /* confdefs.h. */
5165 _ACEOF
5166 cat confdefs.h >>conftest.$ac_ext
5167 cat >>conftest.$ac_ext <<_ACEOF
5168 /* end confdefs.h. */
5169 #ifdef __STDC__
5170 # include <limits.h>
5171 #else
5172 # include <assert.h>
5173 #endif
5174 Syntax error
5175 _ACEOF
5176 if { (ac_try="$ac_cpp conftest.$ac_ext"
5177 case "(($ac_try" in
5178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5179 *) ac_try_echo=$ac_try;;
5180 esac
5181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5182 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5183 ac_status=$?
5184 grep -v '^ *+' conftest.er1 >conftest.err
5185 rm -f conftest.er1
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
5191 }; then
5193 else
5194 echo "$as_me: failed program was:" >&5
5195 sed 's/^/| /' conftest.$ac_ext >&5
5197 # Broken: fails on valid input.
5198 continue
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
5206 /* confdefs.h. */
5207 _ACEOF
5208 cat confdefs.h >>conftest.$ac_ext
5209 cat >>conftest.$ac_ext <<_ACEOF
5210 /* end confdefs.h. */
5211 #include <ac_nonexistent.h>
5212 _ACEOF
5213 if { (ac_try="$ac_cpp conftest.$ac_ext"
5214 case "(($ac_try" in
5215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5216 *) ac_try_echo=$ac_try;;
5217 esac
5218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5219 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5220 ac_status=$?
5221 grep -v '^ *+' conftest.er1 >conftest.err
5222 rm -f conftest.er1
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
5228 }; then
5229 # Broken: success on invalid input.
5230 continue
5231 else
5232 echo "$as_me: failed program was:" >&5
5233 sed 's/^/| /' conftest.$ac_ext >&5
5235 # Passes both tests.
5236 ac_preproc_ok=:
5237 break
5240 rm -f conftest.err conftest.$ac_ext
5242 done
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
5247 else
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; }; }
5255 ac_ext=c
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
5266 else
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
5272 else
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/xpg4/bin
5278 IFS=$as_save_IFS
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
5287 *GNU*)
5288 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5290 ac_count=0
5291 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5292 while :
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
5308 done
5309 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5310 esac
5313 $ac_path_GREP_found && break 3
5314 done
5315 done
5317 done
5318 IFS=$as_save_IFS
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; }; }
5330 else
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
5345 else
5346 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5347 then ac_cv_path_EGREP="$GREP -E"
5348 else
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
5354 else
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/xpg4/bin
5360 IFS=$as_save_IFS
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
5369 *GNU*)
5370 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5372 ac_count=0
5373 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5374 while :
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
5390 done
5391 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5392 esac
5395 $ac_path_EGREP_found && break 3
5396 done
5397 done
5399 done
5400 IFS=$as_save_IFS
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; }; }
5412 else
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
5428 else
5429 cat >conftest.$ac_ext <<_ACEOF
5430 /* confdefs.h. */
5431 _ACEOF
5432 cat confdefs.h >>conftest.$ac_ext
5433 cat >>conftest.$ac_ext <<_ACEOF
5434 /* end confdefs.h. */
5435 #include <stdlib.h>
5436 #include <stdarg.h>
5437 #include <string.h>
5438 #include <float.h>
5441 main ()
5445 return 0;
5447 _ACEOF
5448 rm -f conftest.$ac_objext
5449 if { (ac_try="$ac_compile"
5450 case "(($ac_try" in
5451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5452 *) ac_try_echo=$ac_try;;
5453 esac
5454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5455 (eval "$ac_compile") 2>conftest.er1
5456 ac_status=$?
5457 grep -v '^ *+' conftest.er1 >conftest.err
5458 rm -f conftest.er1
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
5466 else
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
5478 /* confdefs.h. */
5479 _ACEOF
5480 cat confdefs.h >>conftest.$ac_ext
5481 cat >>conftest.$ac_ext <<_ACEOF
5482 /* end confdefs.h. */
5483 #include <string.h>
5485 _ACEOF
5486 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5487 $EGREP "memchr" >/dev/null 2>&1; then
5489 else
5490 ac_cv_header_stdc=no
5492 rm -f conftest*
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
5499 /* confdefs.h. */
5500 _ACEOF
5501 cat confdefs.h >>conftest.$ac_ext
5502 cat >>conftest.$ac_ext <<_ACEOF
5503 /* end confdefs.h. */
5504 #include <stdlib.h>
5506 _ACEOF
5507 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5508 $EGREP "free" >/dev/null 2>&1; then
5510 else
5511 ac_cv_header_stdc=no
5513 rm -f conftest*
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
5521 else
5522 cat >conftest.$ac_ext <<_ACEOF
5523 /* confdefs.h. */
5524 _ACEOF
5525 cat confdefs.h >>conftest.$ac_ext
5526 cat >>conftest.$ac_ext <<_ACEOF
5527 /* end confdefs.h. */
5528 #include <ctype.h>
5529 #include <stdlib.h>
5530 #if ((' ' & 0x0FF) == 0x020)
5531 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5532 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5533 #else
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))
5539 #endif
5541 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5543 main ()
5545 int i;
5546 for (i = 0; i < 256; i++)
5547 if (XOR (islower (i), ISLOWER (i))
5548 || toupper (i) != TOUPPER (i))
5549 return 2;
5550 return 0;
5552 _ACEOF
5553 rm -f conftest$ac_exeext
5554 if { (ac_try="$ac_link"
5555 case "(($ac_try" in
5556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5557 *) ac_try_echo=$ac_try;;
5558 esac
5559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5560 (eval "$ac_link") 2>&5
5561 ac_status=$?
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;;
5567 esac
5568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5569 (eval "$ac_try") 2>&5
5570 ac_status=$?
5571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5572 (exit $ac_status); }; }; then
5574 else
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
5579 ( exit $ac_status )
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
5594 _ACEOF
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
5604 else
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='#'
5615 else
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
5628 else
5629 cat >conftest.$ac_ext <<_ACEOF
5630 /* confdefs.h. */
5631 _ACEOF
5632 cat confdefs.h >>conftest.$ac_ext
5633 cat >>conftest.$ac_ext <<_ACEOF
5634 /* end confdefs.h. */
5637 main ()
5639 /* FIXME: Include the comments suggested by Paul. */
5640 #ifndef __cplusplus
5641 /* Ultrix mips cc rejects this. */
5642 typedef int charset[2];
5643 const charset cs;
5644 /* SunOS 4.1.1 cc rejects this. */
5645 char const *const *pcpcc;
5646 char **ppc;
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
5653 expression */
5654 const char *g = "string";
5655 pcpcc = &g + (g ? g-g : 0);
5656 /* HPUX 7.0 cc rejects these. */
5657 ++pcpcc;
5658 ppc = (char**) pcpcc;
5659 pcpcc = (char const *const *) ppc;
5660 { /* SCO 3.2v4 cc rejects this. */
5661 char *t;
5662 char const *s = 0 ? (char *) 0 : (char const *) 0;
5664 *t++ = 0;
5665 if (s) return 0;
5667 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
5668 int x[] = {25, 17};
5669 const int *foo = &x[0];
5670 ++foo;
5672 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
5673 typedef const int *iptr;
5674 iptr p = 0;
5675 ++p;
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 */
5683 const int foo = 10;
5684 if (!foo) return 0;
5686 return !cs[0] && !zero.x;
5687 #endif
5690 return 0;
5692 _ACEOF
5693 rm -f conftest.$ac_objext
5694 if { (ac_try="$ac_compile"
5695 case "(($ac_try" in
5696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5697 *) ac_try_echo=$ac_try;;
5698 esac
5699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5700 (eval "$ac_compile") 2>conftest.er1
5701 ac_status=$?
5702 grep -v '^ *+' conftest.er1 >conftest.err
5703 rm -f conftest.er1
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
5710 ac_cv_c_const=yes
5711 else
5712 echo "$as_me: failed program was:" >&5
5713 sed 's/^/| /' conftest.$ac_ext >&5
5715 ac_cv_c_const=no
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
5725 #define const
5726 _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
5738 else
5739 cat >conftest.$ac_ext <<_ACEOF
5740 /* confdefs.h. */
5741 _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. */
5754 #ifdef __STDC__
5755 # include <limits.h>
5756 #else
5757 # include <assert.h>
5758 #endif
5760 #undef $ac_func
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. */
5765 #ifdef __cplusplus
5766 extern "C"
5767 #endif
5768 char $ac_func ();
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
5773 choke me
5774 #endif
5777 main ()
5779 return $ac_func ();
5781 return 0;
5783 _ACEOF
5784 rm -f conftest.$ac_objext conftest$ac_exeext
5785 if { (ac_try="$ac_link"
5786 case "(($ac_try" in
5787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5788 *) ac_try_echo=$ac_try;;
5789 esac
5790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5791 (eval "$ac_link") 2>conftest.er1
5792 ac_status=$?
5793 grep -v '^ *+' conftest.er1 >conftest.err
5794 rm -f conftest.er1
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"
5803 else
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
5819 _ACEOF
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
5825 else
5826 cat >conftest.$ac_ext <<_ACEOF
5827 /* confdefs.h. */
5828 _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. */
5841 #ifdef __STDC__
5842 # include <limits.h>
5843 #else
5844 # include <assert.h>
5845 #endif
5847 #undef _doprnt
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. */
5852 #ifdef __cplusplus
5853 extern "C"
5854 #endif
5855 char _doprnt ();
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
5860 choke me
5861 #endif
5864 main ()
5866 return _doprnt ();
5868 return 0;
5870 _ACEOF
5871 rm -f conftest.$ac_objext conftest$ac_exeext
5872 if { (ac_try="$ac_link"
5873 case "(($ac_try" in
5874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5875 *) ac_try_echo=$ac_try;;
5876 esac
5877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5878 (eval "$ac_link") 2>conftest.er1
5879 ac_status=$?
5880 grep -v '^ *+' conftest.er1 >conftest.err
5881 rm -f conftest.er1
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
5890 else
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
5906 _ACEOF
5911 done
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
5922 else
5923 if test -n "$AWK"; then
5924 ac_cv_prog_AWK="$AWK" # Let the user override the test.
5925 else
5926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5927 for as_dir in $PATH
5929 IFS=$as_save_IFS
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
5935 break 2
5937 done
5938 done
5939 IFS=$as_save_IFS
5943 AWK=$ac_cv_prog_AWK
5944 if test -n "$AWK"; then
5945 { echo "$as_me:$LINENO: result: $AWK" >&5
5946 echo "${ECHO_T}$AWK" >&6; }
5947 else
5948 { echo "$as_me:$LINENO: result: no" >&5
5949 echo "${ECHO_T}no" >&6; }
5953 test -n "$AWK" && break
5954 done
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
5963 else
5964 if test -n "$RANLIB"; then
5965 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5966 else
5967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5968 for as_dir in $PATH
5970 IFS=$as_save_IFS
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
5976 break 2
5978 done
5979 done
5980 IFS=$as_save_IFS
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; }
5988 else
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
6003 else
6004 if test -n "$ac_ct_RANLIB"; then
6005 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6006 else
6007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6008 for as_dir in $PATH
6010 IFS=$as_save_IFS
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
6016 break 2
6018 done
6019 done
6020 IFS=$as_save_IFS
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; }
6028 else
6029 { echo "$as_me:$LINENO: result: no" >&5
6030 echo "${ECHO_T}no" >&6; }
6033 if test "x$ac_ct_RANLIB" = x; then
6034 RANLIB=":"
6035 else
6036 case $cross_compiling:$ac_tool_warned in
6037 yes:)
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 ;;
6045 esac
6046 RANLIB=$ac_ct_RANLIB
6048 else
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
6070 else
6071 cat >conftest.$ac_ext <<_ACEOF
6072 /* confdefs.h. */
6073 _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>
6080 _ACEOF
6081 rm -f conftest.$ac_objext
6082 if { (ac_try="$ac_compile"
6083 case "(($ac_try" in
6084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6085 *) ac_try_echo=$ac_try;;
6086 esac
6087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6088 (eval "$ac_compile") 2>conftest.er1
6089 ac_status=$?
6090 grep -v '^ *+' conftest.er1 >conftest.err
6091 rm -f conftest.er1
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"
6099 else
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
6114 _ACEOF
6118 done
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
6125 else
6126 cat >conftest.$ac_ext <<_ACEOF
6127 /* confdefs.h. */
6128 _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_;
6135 main ()
6137 if ((ac__type_new_ *) 0)
6138 return 0;
6139 if (sizeof (ac__type_new_))
6140 return 0;
6142 return 0;
6144 _ACEOF
6145 rm -f conftest.$ac_objext
6146 if { (ac_try="$ac_compile"
6147 case "(($ac_try" in
6148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6149 *) ac_try_echo=$ac_try;;
6150 esac
6151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6152 (eval "$ac_compile") 2>conftest.er1
6153 ac_status=$?
6154 grep -v '^ *+' conftest.er1 >conftest.err
6155 rm -f conftest.er1
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
6163 else
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
6176 else
6178 cat >>confdefs.h <<_ACEOF
6179 #define size_t unsigned int
6180 _ACEOF
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
6192 else
6193 if test -n "$GNUPLOT"; then
6194 ac_cv_prog_GNUPLOT="$GNUPLOT" # Let the user override the test.
6195 else
6196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6197 for as_dir in $PATH
6199 IFS=$as_save_IFS
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
6205 break 2
6207 done
6208 done
6209 IFS=$as_save_IFS
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; }
6218 else
6219 { echo "$as_me:$LINENO: result: no" >&5
6220 echo "${ECHO_T}no" >&6; }
6226 if $GNUPLOT; then
6227 HAVE_GNUPLOT_TRUE=
6228 HAVE_GNUPLOT_FALSE='#'
6229 else
6230 HAVE_GNUPLOT_TRUE='#'
6231 HAVE_GNUPLOT_FALSE=
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
6246 else
6247 case $PKG_CONFIG in
6248 [\\/]* | ?:[\\/]*)
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
6253 for as_dir in $PATH
6255 IFS=$as_save_IFS
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
6261 break 2
6263 done
6264 done
6265 IFS=$as_save_IFS
6268 esac
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; }
6274 else
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
6289 else
6290 case $ac_pt_PKG_CONFIG in
6291 [\\/]* | ?:[\\/]*)
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
6296 for as_dir in $PATH
6298 IFS=$as_save_IFS
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
6304 break 2
6306 done
6307 done
6308 IFS=$as_save_IFS
6311 esac
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; }
6317 else
6318 { echo "$as_me:$LINENO: result: no" >&5
6319 echo "${ECHO_T}no" >&6; }
6322 if test "x$ac_pt_PKG_CONFIG" = x; then
6323 PKG_CONFIG=""
6324 else
6325 case $cross_compiling:$ac_tool_warned in
6326 yes:)
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 ;;
6334 esac
6335 PKG_CONFIG=$ac_pt_PKG_CONFIG
6337 else
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; }
6349 else
6350 { echo "$as_me:$LINENO: result: no" >&5
6351 echo "${ECHO_T}no" >&6; }
6352 PKG_CONFIG=""
6357 pkg_failed=no
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"
6364 else
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
6368 ac_status=$?
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`
6372 else
6373 pkg_failed=yes
6376 else
6377 pkg_failed=untried
6379 if test -n "$PKG_CONFIG"; then
6380 if test -n "$GLIB_LIBS"; then
6381 pkg_cv_GLIB_LIBS="$GLIB_LIBS"
6382 else
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
6386 ac_status=$?
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`
6390 else
6391 pkg_failed=yes
6394 else
6395 pkg_failed=untried
6400 if test $pkg_failed = yes; then
6402 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
6403 _pkg_short_errors_supported=yes
6404 else
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"`
6409 else
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:
6417 $GLIB_PKG_ERRORS
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.
6425 " >&5
6426 echo "$as_me: error: Package requirements (glib-2.0 >= 2.0.0) were not met:
6428 $GLIB_PKG_ERRORS
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.
6436 " >&2;}
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
6441 path to pkg-config.
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
6451 path to pkg-config.
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; }; }
6460 else
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
6475 else
6476 ac_check_lib_save_LIBS=$LIBS
6477 LIBS="-lglib-2.0 $LIBS"
6478 cat >conftest.$ac_ext <<_ACEOF
6479 /* confdefs.h. */
6480 _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. */
6488 #ifdef __cplusplus
6489 extern "C"
6490 #endif
6491 char g_malloc0 ();
6493 main ()
6495 return g_malloc0 ();
6497 return 0;
6499 _ACEOF
6500 rm -f conftest.$ac_objext conftest$ac_exeext
6501 if { (ac_try="$ac_link"
6502 case "(($ac_try" in
6503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6504 *) ac_try_echo=$ac_try;;
6505 esac
6506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6507 (eval "$ac_link") 2>conftest.er1
6508 ac_status=$?
6509 grep -v '^ *+' conftest.er1 >conftest.err
6510 rm -f conftest.er1
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
6519 else
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
6535 _ACEOF
6537 LIBS="-lglib-2.0 $LIBS"
6539 else
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
6552 else
6553 if test -n "$PERL"; then
6554 ac_cv_prog_PERL="$PERL" # Let the user override the test.
6555 else
6556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6557 for as_dir in $PATH
6559 IFS=$as_save_IFS
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
6565 break 2
6567 done
6568 done
6569 IFS=$as_save_IFS
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; }
6578 else
6579 { echo "$as_me:$LINENO: result: no" >&5
6580 echo "${ECHO_T}no" >&6; }
6586 if $PERL; then
6587 HAVE_PERL_TRUE=
6588 HAVE_PERL_FALSE='#'
6589 else
6590 HAVE_PERL_TRUE='#'
6591 HAVE_PERL_FALSE=
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
6600 else
6601 if test -n "$PYTHON"; then
6602 ac_cv_prog_PYTHON="$PYTHON" # Let the user override the test.
6603 else
6604 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6605 for as_dir in $PATH
6607 IFS=$as_save_IFS
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
6613 break 2
6615 done
6616 done
6617 IFS=$as_save_IFS
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; }
6626 else
6627 { echo "$as_me:$LINENO: result: no" >&5
6628 echo "${ECHO_T}no" >&6; }
6634 if $PYTHON; then
6635 HAVE_PYTHON_TRUE=
6636 HAVE_PYTHON_FALSE='#'
6637 else
6638 HAVE_PYTHON_TRUE='#'
6639 HAVE_PYTHON_FALSE=
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
6648 else
6649 if test -n "$CONVERT"; then
6650 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6651 else
6652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6653 for as_dir in $PATH
6655 IFS=$as_save_IFS
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
6661 break 2
6663 done
6664 done
6665 IFS=$as_save_IFS
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; }
6674 else
6675 { echo "$as_me:$LINENO: result: no" >&5
6676 echo "${ECHO_T}no" >&6; }
6682 if $CONVERT; then
6683 HAVE_CONVERT_TRUE=
6684 HAVE_CONVERT_FALSE='#'
6685 else
6686 HAVE_CONVERT_TRUE='#'
6687 HAVE_CONVERT_FALSE=
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
6696 else
6697 if test -n "$PLOTMTV"; then
6698 ac_cv_prog_PLOTMTV="$PLOTMTV" # Let the user override the test.
6699 else
6700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6701 for as_dir in $PATH
6703 IFS=$as_save_IFS
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
6709 break 2
6711 done
6712 done
6713 IFS=$as_save_IFS
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; }
6722 else
6723 { echo "$as_me:$LINENO: result: no" >&5
6724 echo "${ECHO_T}no" >&6; }
6730 if $PLOTMTV; then
6731 HAVE_PLOTMTV_TRUE=
6732 HAVE_PLOTMTV_FALSE='#'
6733 else
6734 HAVE_PLOTMTV_TRUE='#'
6735 HAVE_PLOTMTV_FALSE=
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
6744 else
6745 ac_check_lib_save_LIBS=$LIBS
6746 LIBS="-lfftw3 $LIBS"
6747 cat >conftest.$ac_ext <<_ACEOF
6748 /* confdefs.h. */
6749 _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. */
6757 #ifdef __cplusplus
6758 extern "C"
6759 #endif
6760 char fftw_plan_dft_r2c_2d ();
6762 main ()
6764 return fftw_plan_dft_r2c_2d ();
6766 return 0;
6768 _ACEOF
6769 rm -f conftest.$ac_objext conftest$ac_exeext
6770 if { (ac_try="$ac_link"
6771 case "(($ac_try" in
6772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6773 *) ac_try_echo=$ac_try;;
6774 esac
6775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6776 (eval "$ac_link") 2>conftest.er1
6777 ac_status=$?
6778 grep -v '^ *+' conftest.er1 >conftest.err
6779 rm -f conftest.er1
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
6788 else
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
6804 _ACEOF
6806 LIBS="-lfftw3 $LIBS"
6808 else
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
6820 else
6821 ac_check_lib_save_LIBS=$LIBS
6822 LIBS="-lgslcblas $LIBS"
6823 cat >conftest.$ac_ext <<_ACEOF
6824 /* confdefs.h. */
6825 _ACEOF
6826 cat confdefs.h >>conftest.$ac_ext
6827 cat >>conftest.$ac_ext <<_ACEOF
6828 /* end confdefs.h. */
6832 main ()
6834 return main ();
6836 return 0;
6838 _ACEOF
6839 rm -f conftest.$ac_objext conftest$ac_exeext
6840 if { (ac_try="$ac_link"
6841 case "(($ac_try" in
6842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6843 *) ac_try_echo=$ac_try;;
6844 esac
6845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6846 (eval "$ac_link") 2>conftest.er1
6847 ac_status=$?
6848 grep -v '^ *+' conftest.er1 >conftest.err
6849 rm -f conftest.er1
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
6858 else
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
6874 _ACEOF
6876 LIBS="-lgslcblas $LIBS"
6878 else
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
6890 else
6891 ac_check_lib_save_LIBS=$LIBS
6892 LIBS="-lgsl $LIBS"
6893 cat >conftest.$ac_ext <<_ACEOF
6894 /* confdefs.h. */
6895 _ACEOF
6896 cat confdefs.h >>conftest.$ac_ext
6897 cat >>conftest.$ac_ext <<_ACEOF
6898 /* end confdefs.h. */
6902 main ()
6904 return main ();
6906 return 0;
6908 _ACEOF
6909 rm -f conftest.$ac_objext conftest$ac_exeext
6910 if { (ac_try="$ac_link"
6911 case "(($ac_try" in
6912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6913 *) ac_try_echo=$ac_try;;
6914 esac
6915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6916 (eval "$ac_link") 2>conftest.er1
6917 ac_status=$?
6918 grep -v '^ *+' conftest.er1 >conftest.err
6919 rm -f conftest.er1
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
6928 else
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
6944 _ACEOF
6946 LIBS="-lgsl $LIBS"
6948 else
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
6980 else
6981 if test -n "$MPICC"; then
6982 ac_cv_prog_MPICC="$MPICC" # Let the user override the test.
6983 else
6984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6985 for as_dir in $PATH
6987 IFS=$as_save_IFS
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
6993 break 2
6995 done
6996 done
6997 IFS=$as_save_IFS
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; }
7005 else
7006 { echo "$as_me:$LINENO: result: no" >&5
7007 echo "${ECHO_T}no" >&6; }
7011 test -n "$MPICC" && break
7012 done
7013 test -n "$MPICC" || MPICC="$CC"
7015 acx_mpi_save_CC="$CC"
7016 CC="$MPICC"
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
7025 else
7026 cat >conftest.$ac_ext <<_ACEOF
7027 /* confdefs.h. */
7028 _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. */
7041 #ifdef __STDC__
7042 # include <limits.h>
7043 #else
7044 # include <assert.h>
7045 #endif
7047 #undef MPI_Init
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. */
7052 #ifdef __cplusplus
7053 extern "C"
7054 #endif
7055 char MPI_Init ();
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
7060 choke me
7061 #endif
7064 main ()
7066 return MPI_Init ();
7068 return 0;
7070 _ACEOF
7071 rm -f conftest.$ac_objext conftest$ac_exeext
7072 if { (ac_try="$ac_link"
7073 case "(($ac_try" in
7074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7075 *) ac_try_echo=$ac_try;;
7076 esac
7077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7078 (eval "$ac_link") 2>conftest.er1
7079 ac_status=$?
7080 grep -v '^ *+' conftest.er1 >conftest.err
7081 rm -f conftest.er1
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
7090 else
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
7103 MPILIBS=" "
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
7112 else
7113 ac_check_lib_save_LIBS=$LIBS
7114 LIBS="-lmpi $LIBS"
7115 cat >conftest.$ac_ext <<_ACEOF
7116 /* confdefs.h. */
7117 _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. */
7125 #ifdef __cplusplus
7126 extern "C"
7127 #endif
7128 char MPI_Init ();
7130 main ()
7132 return MPI_Init ();
7134 return 0;
7136 _ACEOF
7137 rm -f conftest.$ac_objext conftest$ac_exeext
7138 if { (ac_try="$ac_link"
7139 case "(($ac_try" in
7140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7141 *) ac_try_echo=$ac_try;;
7142 esac
7143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7144 (eval "$ac_link") 2>conftest.er1
7145 ac_status=$?
7146 grep -v '^ *+' conftest.er1 >conftest.err
7147 rm -f conftest.er1
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
7156 else
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
7170 MPILIBS="-lmpi"
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
7179 else
7180 ac_check_lib_save_LIBS=$LIBS
7181 LIBS="-lmpich $LIBS"
7182 cat >conftest.$ac_ext <<_ACEOF
7183 /* confdefs.h. */
7184 _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. */
7192 #ifdef __cplusplus
7193 extern "C"
7194 #endif
7195 char MPI_Init ();
7197 main ()
7199 return MPI_Init ();
7201 return 0;
7203 _ACEOF
7204 rm -f conftest.$ac_objext conftest$ac_exeext
7205 if { (ac_try="$ac_link"
7206 case "(($ac_try" in
7207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7208 *) ac_try_echo=$ac_try;;
7209 esac
7210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7211 (eval "$ac_link") 2>conftest.er1
7212 ac_status=$?
7213 grep -v '^ *+' conftest.er1 >conftest.err
7214 rm -f conftest.er1
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
7223 else
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
7237 MPILIBS="-lmpich"
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
7246 /* confdefs.h. */
7247 _ACEOF
7248 cat confdefs.h >>conftest.$ac_ext
7249 cat >>conftest.$ac_ext <<_ACEOF
7250 /* end confdefs.h. */
7251 #include <mpi.h>
7253 main ()
7257 return 0;
7259 _ACEOF
7260 rm -f conftest.$ac_objext
7261 if { (ac_try="$ac_compile"
7262 case "(($ac_try" in
7263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7264 *) ac_try_echo=$ac_try;;
7265 esac
7266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7267 (eval "$ac_compile") 2>conftest.er1
7268 ac_status=$?
7269 grep -v '^ *+' conftest.er1 >conftest.err
7270 rm -f conftest.er1
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; }
7279 else
7280 echo "$as_me: failed program was:" >&5
7281 sed 's/^/| /' conftest.$ac_ext >&5
7283 MPILIBS=""
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; }; }
7301 else
7302 { echo "$as_me:$LINENO: WARNING: \"libmpi HAS BEEN installed\"" >&5
7303 echo "$as_me: WARNING: \"libmpi HAS BEEN installed\"" >&2;}
7308 CC="$MPICC"
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
7316 else
7317 ac_check_lib_save_LIBS=$LIBS
7318 LIBS="-lmpi $LIBS"
7319 cat >conftest.$ac_ext <<_ACEOF
7320 /* confdefs.h. */
7321 _ACEOF
7322 cat confdefs.h >>conftest.$ac_ext
7323 cat >>conftest.$ac_ext <<_ACEOF
7324 /* end confdefs.h. */
7328 main ()
7330 return main ();
7332 return 0;
7334 _ACEOF
7335 rm -f conftest.$ac_objext conftest$ac_exeext
7336 if { (ac_try="$ac_link"
7337 case "(($ac_try" in
7338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7339 *) ac_try_echo=$ac_try;;
7340 esac
7341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7342 (eval "$ac_link") 2>conftest.er1
7343 ac_status=$?
7344 grep -v '^ *+' conftest.er1 >conftest.err
7345 rm -f conftest.er1
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
7354 else
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
7370 _ACEOF
7372 LIBS="-lmpi $LIBS"
7374 else
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; }
7388 else
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
7393 /* confdefs.h. */
7394 _ACEOF
7395 cat confdefs.h >>conftest.$ac_ext
7396 cat >>conftest.$ac_ext <<_ACEOF
7397 /* end confdefs.h. */
7398 $ac_includes_default
7399 #include <mpi.h>
7400 _ACEOF
7401 rm -f conftest.$ac_objext
7402 if { (ac_try="$ac_compile"
7403 case "(($ac_try" in
7404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7405 *) ac_try_echo=$ac_try;;
7406 esac
7407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7408 (eval "$ac_compile") 2>conftest.er1
7409 ac_status=$?
7410 grep -v '^ *+' conftest.er1 >conftest.err
7411 rm -f conftest.er1
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
7419 else
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
7434 /* confdefs.h. */
7435 _ACEOF
7436 cat confdefs.h >>conftest.$ac_ext
7437 cat >>conftest.$ac_ext <<_ACEOF
7438 /* end confdefs.h. */
7439 #include <mpi.h>
7440 _ACEOF
7441 if { (ac_try="$ac_cpp conftest.$ac_ext"
7442 case "(($ac_try" in
7443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7444 *) ac_try_echo=$ac_try;;
7445 esac
7446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7447 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7448 ac_status=$?
7449 grep -v '^ *+' conftest.er1 >conftest.err
7450 rm -f conftest.er1
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
7456 }; then
7457 ac_header_preproc=yes
7458 else
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
7471 yes:no: )
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
7478 no: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;}
7493 esac
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
7498 else
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
7507 else
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
7520 else
7521 ac_check_lib_save_LIBS=$LIBS
7522 LIBS="-lgpiv_mpi $LIBS"
7523 cat >conftest.$ac_ext <<_ACEOF
7524 /* confdefs.h. */
7525 _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. */
7533 #ifdef __cplusplus
7534 extern "C"
7535 #endif
7536 char gpiv_piv_mpi_bcast_pivpar ();
7538 main ()
7540 return gpiv_piv_mpi_bcast_pivpar ();
7542 return 0;
7544 _ACEOF
7545 rm -f conftest.$ac_objext conftest$ac_exeext
7546 if { (ac_try="$ac_link"
7547 case "(($ac_try" in
7548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7549 *) ac_try_echo=$ac_try;;
7550 esac
7551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7552 (eval "$ac_link") 2>conftest.er1
7553 ac_status=$?
7554 grep -v '^ *+' conftest.er1 >conftest.err
7555 rm -f conftest.er1
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
7564 else
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
7580 _ACEOF
7582 LIBS="-lgpiv_mpi $LIBS"
7584 else
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
7599 else
7600 if test -n "$MPIPYTHON"; then
7601 ac_cv_prog_MPIPYTHON="$MPIPYTHON" # Let the user override the test.
7602 else
7603 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7604 for as_dir in $PATH
7606 IFS=$as_save_IFS
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
7612 break 2
7614 done
7615 done
7616 IFS=$as_save_IFS
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; }
7625 else
7626 { echo "$as_me:$LINENO: result: no" >&5
7627 echo "${ECHO_T}no" >&6; }
7632 else
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
7639 else
7640 ac_check_lib_save_LIBS=$LIBS
7641 LIBS="-lgpiv $LIBS"
7642 cat >conftest.$ac_ext <<_ACEOF
7643 /* confdefs.h. */
7644 _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. */
7652 #ifdef __cplusplus
7653 extern "C"
7654 #endif
7655 char gpiv_warning ();
7657 main ()
7659 return gpiv_warning ();
7661 return 0;
7663 _ACEOF
7664 rm -f conftest.$ac_objext conftest$ac_exeext
7665 if { (ac_try="$ac_link"
7666 case "(($ac_try" in
7667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7668 *) ac_try_echo=$ac_try;;
7669 esac
7670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7671 (eval "$ac_link") 2>conftest.er1
7672 ac_status=$?
7673 grep -v '^ *+' conftest.er1 >conftest.err
7674 rm -f conftest.er1
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
7683 else
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
7699 _ACEOF
7701 LIBS="-lgpiv $LIBS"
7703 else
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 \
7718 fftw3.h \
7719 gpiv.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; }
7732 else
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
7737 /* confdefs.h. */
7738 _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>
7744 _ACEOF
7745 rm -f conftest.$ac_objext
7746 if { (ac_try="$ac_compile"
7747 case "(($ac_try" in
7748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7749 *) ac_try_echo=$ac_try;;
7750 esac
7751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7752 (eval "$ac_compile") 2>conftest.er1
7753 ac_status=$?
7754 grep -v '^ *+' conftest.er1 >conftest.err
7755 rm -f conftest.er1
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
7763 else
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
7778 /* confdefs.h. */
7779 _ACEOF
7780 cat confdefs.h >>conftest.$ac_ext
7781 cat >>conftest.$ac_ext <<_ACEOF
7782 /* end confdefs.h. */
7783 #include <$ac_header>
7784 _ACEOF
7785 if { (ac_try="$ac_cpp conftest.$ac_ext"
7786 case "(($ac_try" in
7787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7788 *) ac_try_echo=$ac_try;;
7789 esac
7790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7791 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7792 ac_status=$?
7793 grep -v '^ *+' conftest.er1 >conftest.err
7794 rm -f conftest.er1
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
7800 }; then
7801 ac_header_preproc=yes
7802 else
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
7815 yes:no: )
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
7822 no: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;}
7837 esac
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
7842 else
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
7853 _ACEOF
7857 done
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
7887 else
7888 ac_check_lib_save_LIBS=$LIBS
7889 LIBS="-lgpiv $LIBS"
7890 cat >conftest.$ac_ext <<_ACEOF
7891 /* confdefs.h. */
7892 _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. */
7900 #ifdef __cplusplus
7901 extern "C"
7902 #endif
7903 char gpiv_cam_get_camvar ();
7905 main ()
7907 return gpiv_cam_get_camvar ();
7909 return 0;
7911 _ACEOF
7912 rm -f conftest.$ac_objext conftest$ac_exeext
7913 if { (ac_try="$ac_link"
7914 case "(($ac_try" in
7915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7916 *) ac_try_echo=$ac_try;;
7917 esac
7918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7919 (eval "$ac_link") 2>conftest.er1
7920 ac_status=$?
7921 grep -v '^ *+' conftest.er1 >conftest.err
7922 rm -f conftest.er1
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
7931 else
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
7947 _ACEOF
7949 LIBS="-lgpiv $LIBS"
7951 else
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
7965 else
7966 ac_check_lib_save_LIBS=$LIBS
7967 LIBS="-lraw1394 $LIBS"
7968 cat >conftest.$ac_ext <<_ACEOF
7969 /* confdefs.h. */
7970 _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. */
7978 #ifdef __cplusplus
7979 extern "C"
7980 #endif
7981 char raw1394_destroy_handle ();
7983 main ()
7985 return raw1394_destroy_handle ();
7987 return 0;
7989 _ACEOF
7990 rm -f conftest.$ac_objext conftest$ac_exeext
7991 if { (ac_try="$ac_link"
7992 case "(($ac_try" in
7993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7994 *) ac_try_echo=$ac_try;;
7995 esac
7996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7997 (eval "$ac_link") 2>conftest.er1
7998 ac_status=$?
7999 grep -v '^ *+' conftest.er1 >conftest.err
8000 rm -f conftest.er1
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
8009 else
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
8025 _ACEOF
8027 LIBS="-lraw1394 $LIBS"
8029 else
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
8041 else
8042 ac_check_lib_save_LIBS=$LIBS
8043 LIBS="-ldc1394_control $LIBS"
8044 cat >conftest.$ac_ext <<_ACEOF
8045 /* confdefs.h. */
8046 _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. */
8054 #ifdef __cplusplus
8055 extern "C"
8056 #endif
8057 char dc1394_create_handle ();
8059 main ()
8061 return dc1394_create_handle ();
8063 return 0;
8065 _ACEOF
8066 rm -f conftest.$ac_objext conftest$ac_exeext
8067 if { (ac_try="$ac_link"
8068 case "(($ac_try" in
8069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8070 *) ac_try_echo=$ac_try;;
8071 esac
8072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8073 (eval "$ac_link") 2>conftest.er1
8074 ac_status=$?
8075 grep -v '^ *+' conftest.er1 >conftest.err
8076 rm -f conftest.er1
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
8085 else
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
8101 _ACEOF
8103 LIBS="-ldc1394_control $LIBS"
8105 else
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; }
8120 else
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
8125 /* confdefs.h. */
8126 _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>
8132 _ACEOF
8133 rm -f conftest.$ac_objext
8134 if { (ac_try="$ac_compile"
8135 case "(($ac_try" in
8136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8137 *) ac_try_echo=$ac_try;;
8138 esac
8139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8140 (eval "$ac_compile") 2>conftest.er1
8141 ac_status=$?
8142 grep -v '^ *+' conftest.er1 >conftest.err
8143 rm -f conftest.er1
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
8151 else
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
8166 /* confdefs.h. */
8167 _ACEOF
8168 cat confdefs.h >>conftest.$ac_ext
8169 cat >>conftest.$ac_ext <<_ACEOF
8170 /* end confdefs.h. */
8171 #include <libdc1394/dc1394_control.h>
8172 _ACEOF
8173 if { (ac_try="$ac_cpp conftest.$ac_ext"
8174 case "(($ac_try" in
8175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8176 *) ac_try_echo=$ac_try;;
8177 esac
8178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8179 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8180 ac_status=$?
8181 grep -v '^ *+' conftest.er1 >conftest.err
8182 rm -f conftest.er1
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
8188 }; then
8189 ac_header_preproc=yes
8190 else
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
8203 yes:no: )
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
8210 no: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;}
8225 esac
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
8230 else
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
8239 else
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; }
8255 else
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
8260 /* confdefs.h. */
8261 _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>
8267 _ACEOF
8268 rm -f conftest.$ac_objext
8269 if { (ac_try="$ac_compile"
8270 case "(($ac_try" in
8271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8272 *) ac_try_echo=$ac_try;;
8273 esac
8274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8275 (eval "$ac_compile") 2>conftest.er1
8276 ac_status=$?
8277 grep -v '^ *+' conftest.er1 >conftest.err
8278 rm -f conftest.er1
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
8286 else
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
8301 /* confdefs.h. */
8302 _ACEOF
8303 cat confdefs.h >>conftest.$ac_ext
8304 cat >>conftest.$ac_ext <<_ACEOF
8305 /* end confdefs.h. */
8306 #include <libraw1394/raw1394.h>
8307 _ACEOF
8308 if { (ac_try="$ac_cpp conftest.$ac_ext"
8309 case "(($ac_try" in
8310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8311 *) ac_try_echo=$ac_try;;
8312 esac
8313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8314 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8315 ac_status=$?
8316 grep -v '^ *+' conftest.er1 >conftest.err
8317 rm -f conftest.er1
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
8323 }; then
8324 ac_header_preproc=yes
8325 else
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
8338 yes:no: )
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
8345 no: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;}
8360 esac
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
8365 else
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
8374 else
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
8390 else
8391 ac_check_lib_save_LIBS=$LIBS
8392 LIBS="-lgpiv $LIBS"
8393 cat >conftest.$ac_ext <<_ACEOF
8394 /* confdefs.h. */
8395 _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. */
8403 #ifdef __cplusplus
8404 extern "C"
8405 #endif
8406 char gpiv_trig_openrtfs ();
8408 main ()
8410 return gpiv_trig_openrtfs ();
8412 return 0;
8414 _ACEOF
8415 rm -f conftest.$ac_objext conftest$ac_exeext
8416 if { (ac_try="$ac_link"
8417 case "(($ac_try" in
8418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8419 *) ac_try_echo=$ac_try;;
8420 esac
8421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8422 (eval "$ac_link") 2>conftest.er1
8423 ac_status=$?
8424 grep -v '^ *+' conftest.er1 >conftest.err
8425 rm -f conftest.er1
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
8434 else
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
8450 _ACEOF
8452 LIBS="-lgpiv $LIBS"
8454 else
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
8471 else
8472 if test -n "$CONTROL"; then
8473 ac_cv_prog_CONTROL="$CONTROL" # Let the user override the test.
8474 else
8475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8476 for as_dir in $PATH
8478 IFS=$as_save_IFS
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
8484 break 2
8486 done
8487 done
8488 IFS=$as_save_IFS
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; }
8497 else
8498 { echo "$as_me:$LINENO: result: no" >&5
8499 echo "${ECHO_T}no" >&6; }
8505 if $CONTROL; then
8506 HAVE_CONTROL_TRUE=
8507 HAVE_CONTROL_FALSE='#'
8508 else
8509 HAVE_CONTROL_TRUE='#'
8510 HAVE_CONTROL_FALSE=
8516 # Check whether --enable-rta was given.
8517 if test "${enable_rta+set}" = set; then
8518 enableval=$enable_rta; RTA_TOPDIR="$enableval"
8519 else
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"
8529 else
8530 K_TOPDIR="/usr/src/kernel-headers-2.4.27-adeos"
8539 if $MPIPYTHON; then
8540 HAVE_MPIPYTHON_TRUE=
8541 HAVE_MPIPYTHON_FALSE='#'
8542 else
8543 HAVE_MPIPYTHON_TRUE='#'
8544 HAVE_MPIPYTHON_FALSE=
8549 if test "${ENABLE_MPI}" == '-DENABLE_MPI'; then
8550 BUILD_MPI_TRUE=
8551 BUILD_MPI_FALSE='#'
8552 else
8553 BUILD_MPI_TRUE='#'
8554 BUILD_MPI_FALSE=
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
8567 CC="$CC -fopenmp"
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
8574 else
8575 ac_check_lib_save_LIBS=$LIBS
8576 LIBS="-lgomp $LIBS"
8577 cat >conftest.$ac_ext <<_ACEOF
8578 /* confdefs.h. */
8579 _ACEOF
8580 cat confdefs.h >>conftest.$ac_ext
8581 cat >>conftest.$ac_ext <<_ACEOF
8582 /* end confdefs.h. */
8586 main ()
8588 return main ();
8590 return 0;
8592 _ACEOF
8593 rm -f conftest.$ac_objext conftest$ac_exeext
8594 if { (ac_try="$ac_link"
8595 case "(($ac_try" in
8596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8597 *) ac_try_echo=$ac_try;;
8598 esac
8599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8600 (eval "$ac_link") 2>conftest.er1
8601 ac_status=$?
8602 grep -v '^ *+' conftest.er1 >conftest.err
8603 rm -f conftest.er1
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
8612 else
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
8628 _ACEOF
8630 LIBS="-lgomp $LIBS"
8632 else
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; }
8646 else
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
8651 /* confdefs.h. */
8652 _ACEOF
8653 cat confdefs.h >>conftest.$ac_ext
8654 cat >>conftest.$ac_ext <<_ACEOF
8655 /* end confdefs.h. */
8656 $ac_includes_default
8657 #include <omp.h>
8658 _ACEOF
8659 rm -f conftest.$ac_objext
8660 if { (ac_try="$ac_compile"
8661 case "(($ac_try" in
8662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8663 *) ac_try_echo=$ac_try;;
8664 esac
8665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8666 (eval "$ac_compile") 2>conftest.er1
8667 ac_status=$?
8668 grep -v '^ *+' conftest.er1 >conftest.err
8669 rm -f conftest.er1
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
8677 else
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
8692 /* confdefs.h. */
8693 _ACEOF
8694 cat confdefs.h >>conftest.$ac_ext
8695 cat >>conftest.$ac_ext <<_ACEOF
8696 /* end confdefs.h. */
8697 #include <omp.h>
8698 _ACEOF
8699 if { (ac_try="$ac_cpp conftest.$ac_ext"
8700 case "(($ac_try" in
8701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8702 *) ac_try_echo=$ac_try;;
8703 esac
8704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8705 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8706 ac_status=$?
8707 grep -v '^ *+' conftest.er1 >conftest.err
8708 rm -f conftest.er1
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
8714 }; then
8715 ac_header_preproc=yes
8716 else
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
8729 yes:no: )
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
8736 no: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;}
8751 esac
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
8756 else
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
8765 else
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
8782 else
8783 cat >conftest.$ac_ext <<_ACEOF
8784 /* confdefs.h. */
8785 _ACEOF
8786 cat confdefs.h >>conftest.$ac_ext
8787 cat >>conftest.$ac_ext <<_ACEOF
8788 /* end confdefs.h. */
8789 #include <alloca.h>
8791 main ()
8793 char *p = (char *) alloca (2 * sizeof (int));
8794 if (p) return 0;
8796 return 0;
8798 _ACEOF
8799 rm -f conftest.$ac_objext conftest$ac_exeext
8800 if { (ac_try="$ac_link"
8801 case "(($ac_try" in
8802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8803 *) ac_try_echo=$ac_try;;
8804 esac
8805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8806 (eval "$ac_link") 2>conftest.er1
8807 ac_status=$?
8808 grep -v '^ *+' conftest.er1 >conftest.err
8809 rm -f conftest.er1
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
8818 else
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
8834 _ACEOF
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
8842 else
8843 cat >conftest.$ac_ext <<_ACEOF
8844 /* confdefs.h. */
8845 _ACEOF
8846 cat confdefs.h >>conftest.$ac_ext
8847 cat >>conftest.$ac_ext <<_ACEOF
8848 /* end confdefs.h. */
8849 #ifdef __GNUC__
8850 # define alloca __builtin_alloca
8851 #else
8852 # ifdef _MSC_VER
8853 # include <malloc.h>
8854 # define alloca _alloca
8855 # else
8856 # ifdef HAVE_ALLOCA_H
8857 # include <alloca.h>
8858 # else
8859 # ifdef _AIX
8860 #pragma alloca
8861 # else
8862 # ifndef alloca /* predefined by HP cc +Olibcalls */
8863 char *alloca ();
8864 # endif
8865 # endif
8866 # endif
8867 # endif
8868 #endif
8871 main ()
8873 char *p = (char *) alloca (1);
8874 if (p) return 0;
8876 return 0;
8878 _ACEOF
8879 rm -f conftest.$ac_objext conftest$ac_exeext
8880 if { (ac_try="$ac_link"
8881 case "(($ac_try" in
8882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8883 *) ac_try_echo=$ac_try;;
8884 esac
8885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8886 (eval "$ac_link") 2>conftest.er1
8887 ac_status=$?
8888 grep -v '^ *+' conftest.er1 >conftest.err
8889 rm -f conftest.er1
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
8898 else
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
8915 _ACEOF
8917 else
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
8926 #define C_ALLOCA 1
8927 _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
8934 else
8935 cat >conftest.$ac_ext <<_ACEOF
8936 /* confdefs.h. */
8937 _ACEOF
8938 cat confdefs.h >>conftest.$ac_ext
8939 cat >>conftest.$ac_ext <<_ACEOF
8940 /* end confdefs.h. */
8941 #if defined CRAY && ! defined CRAY2
8942 webecray
8943 #else
8944 wenotbecray
8945 #endif
8947 _ACEOF
8948 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8949 $EGREP "webecray" >/dev/null 2>&1; then
8950 ac_cv_os_cray=yes
8951 else
8952 ac_cv_os_cray=no
8954 rm -f conftest*
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
8966 else
8967 cat >conftest.$ac_ext <<_ACEOF
8968 /* confdefs.h. */
8969 _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. */
8982 #ifdef __STDC__
8983 # include <limits.h>
8984 #else
8985 # include <assert.h>
8986 #endif
8988 #undef $ac_func
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. */
8993 #ifdef __cplusplus
8994 extern "C"
8995 #endif
8996 char $ac_func ();
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
9001 choke me
9002 #endif
9005 main ()
9007 return $ac_func ();
9009 return 0;
9011 _ACEOF
9012 rm -f conftest.$ac_objext conftest$ac_exeext
9013 if { (ac_try="$ac_link"
9014 case "(($ac_try" in
9015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9016 *) ac_try_echo=$ac_try;;
9017 esac
9018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9019 (eval "$ac_link") 2>conftest.er1
9020 ac_status=$?
9021 grep -v '^ *+' conftest.er1 >conftest.err
9022 rm -f conftest.er1
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"
9031 else
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
9048 _ACEOF
9050 break
9053 done
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
9060 else
9061 if test "$cross_compiling" = yes; then
9062 ac_cv_c_stack_direction=0
9063 else
9064 cat >conftest.$ac_ext <<_ACEOF
9065 /* confdefs.h. */
9066 _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;
9075 auto char dummy;
9076 if (addr == 0)
9078 addr = &dummy;
9079 return find_stack_direction ();
9081 else
9082 return (&dummy > addr) ? 1 : -1;
9086 main ()
9088 return find_stack_direction () < 0;
9090 _ACEOF
9091 rm -f conftest$ac_exeext
9092 if { (ac_try="$ac_link"
9093 case "(($ac_try" in
9094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9095 *) ac_try_echo=$ac_try;;
9096 esac
9097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9098 (eval "$ac_link") 2>&5
9099 ac_status=$?
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;;
9105 esac
9106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9107 (eval "$ac_try") 2>&5
9108 ac_status=$?
9109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9110 (exit $ac_status); }; }; then
9111 ac_cv_c_stack_direction=1
9112 else
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
9117 ( exit $ac_status )
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
9130 _ACEOF
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
9149 # following values.
9151 _ACEOF
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
9161 case $ac_val in #(
9162 *${as_nl}*)
9163 case $ac_var in #(
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;} ;;
9166 esac
9167 case $ac_var in #(
9168 _ | IFS | as_nl) ;; #(
9169 *) $as_unset $ac_var ;;
9170 esac ;;
9171 esac
9172 done
9174 (set) 2>&1 |
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 \).
9179 sed -n \
9180 "s/'/'\\\\''/g;
9181 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9182 ;; #(
9184 # `set' quotes correctly as required by POSIX, so do not add quotes.
9185 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
9187 esac |
9188 sort
9190 sed '
9191 /^ac_cv_env_/b end
9192 t clear
9193 :clear
9194 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9195 t end
9196 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9197 :end' >>confcache
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
9204 else
9205 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
9206 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
9209 rm -f confcache
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
9217 ac_libobjs=
9218 ac_ltlibobjs=
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'
9227 done
9228 LIBOBJS=$ac_libobjs
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
9331 #! $SHELL
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.
9337 debug=false
9338 ac_cs_recheck=false
9339 ac_cs_silent=false
9340 SHELL=\${CONFIG_SHELL-$SHELL}
9341 _ACEOF
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
9351 emulate sh
9352 NULLCMD=:
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
9357 else
9358 case `(set -o) 2>/dev/null` in
9359 *posix*) set -o posix ;;
9360 esac
9367 # PATH needs CR
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
9379 chmod +x conf$$.sh
9380 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
9381 PATH_SEPARATOR=';'
9382 else
9383 PATH_SEPARATOR=:
9385 rm -f conf$$.sh
9388 # Support unset when possible.
9389 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
9390 as_unset=unset
9391 else
9392 as_unset=false
9396 # IFS
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.)
9401 as_nl='
9403 IFS=" "" $as_nl"
9405 # Find who we are. Look in the path if we contain no directory separator.
9406 case $0 in
9407 *[\\/]* ) as_myself=$0 ;;
9408 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9409 for as_dir in $PATH
9411 IFS=$as_save_IFS
9412 test -z "$as_dir" && as_dir=.
9413 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
9414 done
9415 IFS=$as_save_IFS
9418 esac
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
9422 as_myself=$0
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
9432 done
9433 PS1='$ '
9434 PS2='> '
9435 PS4='+ '
9437 # NLS nuisances.
9438 for as_var in \
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
9445 else
9446 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
9448 done
9450 # Required to use basename.
9451 if expr a : '\(a\)' >/dev/null 2>&1 &&
9452 test "X`expr 00001 : '.*\(...\)'`" = X001; then
9453 as_expr=expr
9454 else
9455 as_expr=false
9458 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
9459 as_basename=basename
9460 else
9461 as_basename=false
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 ||
9470 echo X/"$0" |
9471 sed '/^.*\/\([^/][^/]*\)\/*$/{
9472 s//\1/
9475 /^X\/\(\/\/\)$/{
9476 s//\1/
9479 /^X\/\(\/\).*/{
9480 s//\1/
9483 s/.*/./; q'`
9485 # CDPATH.
9486 $as_unset CDPATH
9490 as_lineno_1=$LINENO
9491 as_lineno_2=$LINENO
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
9501 # case at line end.
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. :-)
9505 sed -n '
9507 /[$]LINENO/=
9508 ' <$as_myself |
9509 sed '
9510 s/[$]LINENO.*/&-/
9511 t lineno
9513 :lineno
9515 :loop
9516 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
9517 t loop
9518 s/-\n.*//
9519 ' >$as_me.lineno &&
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).
9527 . "./$as_me.lineno"
9528 # Exit status is that of the last command.
9529 exit
9533 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
9534 as_dirname=dirname
9535 else
9536 as_dirname=false
9539 ECHO_C= ECHO_N= ECHO_T=
9540 case `echo -n x` in
9541 -n*)
9542 case `echo 'x\c'` in
9543 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
9544 *) ECHO_C='\c';;
9545 esac;;
9547 ECHO_N='-n';;
9548 esac
9550 if expr a : '\(a\)' >/dev/null 2>&1 &&
9551 test "X`expr 00001 : '.*\(...\)'`" = X001; then
9552 as_expr=expr
9553 else
9554 as_expr=false
9557 rm -f conf$$ conf$$.exe conf$$.file
9558 if test -d conf$$.dir; then
9559 rm -f conf$$.dir/conf$$.file
9560 else
9561 rm -f conf$$.dir
9562 mkdir conf$$.dir
9564 echo >conf$$.file
9565 if ln -s conf$$.file conf$$ 2>/dev/null; then
9566 as_ln_s='ln -s'
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 ||
9572 as_ln_s='cp -p'
9573 elif ln conf$$.file conf$$ 2>/dev/null; then
9574 as_ln_s=ln
9575 else
9576 as_ln_s='cp -p'
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
9582 as_mkdir_p=:
9583 else
9584 test -d ./-p && rmdir ./-p
9585 as_mkdir_p=false
9588 if test -x / >/dev/null 2>&1; then
9589 as_test_x='test -x'
9590 else
9591 if ls -dL / >/dev/null 2>&1; then
9592 as_ls_L_option=L
9593 else
9594 as_ls_L_option=
9596 as_test_x='
9597 eval sh -c '\''
9598 if test -d "$1"; then
9599 test -d "$1/.";
9600 else
9601 case $1 in
9602 -*)set "./$1";;
9603 esac;
9604 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
9605 ???[sx]*):;;*)false;;esac;fi
9606 '\'' sh
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'"
9618 exec 6>&1
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.
9623 ac_log="
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
9631 $ $0 $@
9633 on `(hostname || uname -n) 2>/dev/null | sed 1q`
9636 _ACEOF
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"
9644 _ACEOF
9646 cat >>$CONFIG_STATUS <<\_ACEOF
9647 ac_cs_usage="\
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:
9664 $config_files
9666 Configuration headers:
9667 $config_headers
9669 Configuration commands:
9670 $config_commands
9672 Report bugs to <bug-autoconf@gnu.org>."
9674 _ACEOF
9675 cat >>$CONFIG_STATUS <<_ACEOF
9676 ac_cs_version="\\
9677 config.status
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."
9685 ac_pwd='$ac_pwd'
9686 srcdir='$srcdir'
9687 INSTALL='$INSTALL'
9688 _ACEOF
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.
9693 ac_need_defaults=:
9694 while test $# != 0
9696 case $1 in
9697 --*=*)
9698 ac_option=`expr "X$1" : 'X\([^=]*\)='`
9699 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
9700 ac_shift=:
9703 ac_option=$1
9704 ac_optarg=$2
9705 ac_shift=shift
9707 esac
9709 case $ac_option in
9710 # Handling of the options.
9711 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
9712 ac_cs_recheck=: ;;
9713 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
9714 echo "$ac_cs_version"; exit ;;
9715 --debug | --debu | --deb | --de | --d | -d )
9716 debug=: ;;
9717 --file | --fil | --fi | --f )
9718 $ac_shift
9719 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
9720 ac_need_defaults=false;;
9721 --header | --heade | --head | --hea )
9722 $ac_shift
9723 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
9724 ac_need_defaults=false;;
9725 --he | --h)
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)
9734 ac_cs_silent=: ;;
9736 # This is an error.
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 ;;
9744 esac
9745 shift
9746 done
9748 ac_configure_extra_args=
9750 if $ac_cs_silent; then
9751 exec 6>/dev/null
9752 ac_configure_extra_args="$ac_configure_extra_args --silent"
9755 _ACEOF
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
9759 CONFIG_SHELL=$SHELL
9760 export CONFIG_SHELL
9761 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
9764 _ACEOF
9765 cat >>$CONFIG_STATUS <<\_ACEOF
9766 exec 5>>config.log
9768 echo
9769 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
9770 ## Running $as_me. ##
9771 _ASBOX
9772 echo "$ac_log"
9773 } >&5
9775 _ACEOF
9776 cat >>$CONFIG_STATUS <<_ACEOF
9778 # INIT-COMMANDS
9780 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
9782 _ACEOF
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; }; };;
9805 esac
9806 done
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'.
9825 $debug ||
9827 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"
9838 } ||
9840 tmp=./conf$$-$RANDOM
9841 (umask 077 && mkdir "$tmp")
9842 } ||
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
9856 _ACEOF
9860 ac_delim='%!_!# '
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
9892 DEFS!$DEFS$ac_delim
9893 ECHO_C!$ECHO_C$ac_delim
9894 ECHO_N!$ECHO_N$ac_delim
9895 ECHO_T!$ECHO_T$ac_delim
9896 LIBS!$LIBS$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
9915 AWK!$AWK$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
9921 CC!$CC$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
9937 CPP!$CPP$ac_delim
9938 GREP!$GREP$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
9950 PERL!$PERL$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
9960 _ACEOF
9962 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
9963 break
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; }; }
9968 else
9969 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
9971 done
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
9982 _ACEOF
9983 sed '
9984 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
9985 s/^/s,@/; s/!/@,|#_!!_#|/
9988 s/'"$ac_delim"'$/,g/; t
9989 s/$/\\/; p
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
9994 CEOF$ac_eof
9995 _ACEOF
9998 ac_delim='%!_!# '
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
10021 _ACEOF
10023 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 20; then
10024 break
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; }; }
10029 else
10030 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
10032 done
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
10043 _ACEOF
10044 sed '
10045 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
10046 s/^/s,@/; s/!/@,|#_!!_#|/
10049 s/'"$ac_delim"'$/,g/; t
10050 s/$/\\/; p
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
10055 :end
10056 s/|#_!!_#|//g
10057 CEOF$ac_eof
10058 _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}:*/:/
10069 s/:*@srcdir@:*/:/
10070 s/^\([^=]*=[ ]*\):*/\1/
10071 s/:*$//
10072 s/^[^=]*=[ ]*$//
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
10082 case $ac_tag in
10083 :[FHLC]) ac_mode=$ac_tag; continue;;
10084 esac
10085 case $ac_mode$ac_tag in
10086 :[FHL]*:*);;
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;;
10092 esac
10093 ac_save_IFS=$IFS
10094 IFS=:
10095 set x $ac_tag
10096 IFS=$ac_save_IFS
10097 shift
10098 ac_file=$1
10099 shift
10101 case $ac_mode in
10102 :L) ac_source=$1;;
10103 :[FH])
10104 ac_file_inputs=
10105 for ac_f
10107 case $ac_f 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 `:'.
10112 test -f "$ac_f" ||
10113 case $ac_f in
10114 [\\/$]*) false;;
10115 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
10116 esac ||
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; }; };;
10120 esac
10121 ac_file_inputs="$ac_file_inputs $ac_f"
10122 done
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;}
10135 case $ac_tag in
10136 *:-:* | *:-) cat >"$tmp/stdin";;
10137 esac
10139 esac
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 ||
10146 echo X"$ac_file" |
10147 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10148 s//\1/
10151 /^X\(\/\/\)[^/].*/{
10152 s//\1/
10155 /^X\(\/\/\)$/{
10156 s//\1/
10159 /^X\(\/\).*/{
10160 s//\1/
10163 s/.*/./; q'`
10164 { as_dir="$ac_dir"
10165 case $as_dir in #(
10166 -*) as_dir=./$as_dir;;
10167 esac
10168 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
10169 as_dirs=
10170 while :; do
10171 case $as_dir in #(
10172 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
10173 *) as_qdir=$as_dir;;
10174 esac
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 ||
10181 echo X"$as_dir" |
10182 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10183 s//\1/
10186 /^X\(\/\/\)[^/].*/{
10187 s//\1/
10190 /^X\(\/\/\)$/{
10191 s//\1/
10194 /^X\(\/\).*/{
10195 s//\1/
10198 s/.*/./; q'`
10199 test -d "$as_dir" && break
10200 done
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; }; }; }
10205 ac_builddir=.
10207 case "$ac_dir" in
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/ ;;
10216 esac ;;
10217 esac
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
10223 case $srcdir in
10224 .) # We are building in place.
10225 ac_srcdir=.
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 ;;
10236 esac
10237 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
10240 case $ac_mode in
10243 # CONFIG_FILE
10246 case $INSTALL in
10247 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
10248 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
10249 esac
10250 _ACEOF
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/ {
10261 /@datadir@/p
10262 /@docdir@/p
10263 /@infodir@/p
10264 /@localedir@/p
10265 /@mandir@/p
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;}
10271 _ACEOF
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' ;;
10280 esac
10281 _ACEOF
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
10287 sed "$ac_vpsub
10288 $extrasub
10289 _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;}
10314 rm -f "$tmp/stdin"
10315 case $ac_file in
10316 -) cat "$tmp/out"; rm -f "$tmp/out";;
10317 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
10318 esac
10322 # CONFIG_HEADER
10324 _ACEOF
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'
10343 ac_dC=' '
10344 ac_dD=' ,'
10346 uniq confdefs.h |
10347 sed -n '
10348 t rset
10349 :rset
10350 s/^[ ]*#[ ]*define[ ][ ]*//
10351 t ok
10354 s/[\\&,]/\\&/g
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.)
10364 echo 's/ $//
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"
10373 # et cetera.
10374 ac_in='$ac_file_inputs'
10375 ac_out='"$tmp/out1"'
10376 ac_nxt='"$tmp/out2"'
10378 while :
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
10387 :def
10388 _ACEOF
10389 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
10390 echo 'CEOF
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
10397 done
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;}
10408 else
10409 rm -f $ac_file
10410 mv "$tmp/config.h" $ac_file
10412 else
10413 echo "/* $configure_input */"
10414 cat "$ac_result"
10416 rm -f "$tmp/out12"
10417 # Compute $ac_file's index in $config_headers.
10418 _am_stamp_count=1
10419 for _am_header in $config_headers :; do
10420 case $_am_header in
10421 $ac_file | $ac_file:* )
10422 break ;;
10424 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
10425 esac
10426 done
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 ||
10432 echo X$ac_file |
10433 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10434 s//\1/
10437 /^X\(\/\/\)[^/].*/{
10438 s//\1/
10441 /^X\(\/\/\)$/{
10442 s//\1/
10445 /^X\(\/\).*/{
10446 s//\1/
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;}
10455 esac
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 ||
10474 echo X"$mf" |
10475 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10476 s//\1/
10479 /^X\(\/\/\)[^/].*/{
10480 s//\1/
10483 /^X\(\/\/\)$/{
10484 s//\1/
10487 /^X\(\/\).*/{
10488 s//\1/
10491 s/.*/./; q'`
10492 else
10493 continue
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
10507 # expansion.
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 ||
10518 echo X"$file" |
10519 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10520 s//\1/
10523 /^X\(\/\/\)[^/].*/{
10524 s//\1/
10527 /^X\(\/\/\)$/{
10528 s//\1/
10531 /^X\(\/\).*/{
10532 s//\1/
10535 s/.*/./; q'`
10536 { as_dir=$dirpart/$fdir
10537 case $as_dir in #(
10538 -*) as_dir=./$as_dir;;
10539 esac
10540 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
10541 as_dirs=
10542 while :; do
10543 case $as_dir in #(
10544 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
10545 *) as_qdir=$as_dir;;
10546 esac
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 ||
10553 echo X"$as_dir" |
10554 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10555 s//\1/
10558 /^X\(\/\/\)[^/].*/{
10559 s//\1/
10562 /^X\(\/\/\)$/{
10563 s//\1/
10566 /^X\(\/\).*/{
10567 s//\1/
10570 s/.*/./; q'`
10571 test -d "$as_dir" && break
10572 done
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"
10579 done
10580 done
10583 esac
10584 done # for ac_tag
10587 { (exit 0); exit 0; }
10588 _ACEOF
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
10602 ac_cs_success=:
10603 ac_config_status_args=
10604 test "$silent" = yes &&
10605 ac_config_status_args="$ac_config_status_args --quiet"
10606 exec 5>/dev/null
10607 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
10608 exec 5>>config.log
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"
10620 echo ""
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"
10627 echo ""
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"
10634 echo ""
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."
10649 echo ""
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 "===================================================================="