2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for epichord 0.0.0.
5 # Report bugs to <unknown@somewhere.org>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in
26 *posix
*) set -o posix
;;
35 # Avoid depending upon Character Ranges.
36 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits
='0123456789'
40 as_cr_alnum
=$as_cr_Letters$as_cr_digits
42 # The user is always right.
43 if test "${PATH_SEPARATOR+set}" != set; then
44 echo "#! /bin/sh" >conf$$.sh
45 echo "exit 0" >>conf$$.sh
47 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
55 # Support unset when possible.
56 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
64 # We need space, tab and new line, in precisely that order. Quoting is
65 # there to prevent editors from complaining about space-tab.
66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
67 # splitting by setting IFS to empty value.)
72 # Find who we are. Look in the path if we contain no directory separator.
74 *[\\/]* ) as_myself
=$0 ;;
75 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
79 test -z "$as_dir" && as_dir
=.
80 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
86 # We did not find ourselves, most probably we were run as `sh COMMAND'
87 # in which case we are not to be found in the path.
88 if test "x$as_myself" = x
; then
91 if test ! -f "$as_myself"; then
92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
96 # Work around bugs in pre-3.0 UWIN ksh.
97 for as_var
in ENV MAIL MAILPATH
98 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
110 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111 eval $as_var=C
; export $as_var
113 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
117 # Required to use basename.
118 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
119 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
125 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
132 # Name of the executable.
133 as_me
=`$as_basename -- "$0" ||
134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135 X"$0" : 'X\(//\)$' \| \
136 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138 sed '/^.*\/\([^/][^/]*\)\/*$/{
156 if test "x$CONFIG_SHELL" = x
; then
157 if (eval ":") 2>/dev
/null
; then
163 if test $as_have_required = yes && (eval ":
173 as_func_ret_success () {
176 as_func_ret_failure () {
181 if as_func_success; then
185 echo as_func_success failed.
188 if as_func_failure; then
190 echo as_func_failure succeeded.
193 if as_func_ret_success; then
197 echo as_func_ret_success failed.
200 if as_func_ret_failure; then
202 echo as_func_ret_failure succeeded.
205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
209 echo positional parameters were not saved.
212 test \$exitcode = 0) || { (exit 1); exit 1; }
217 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219 ") 2> /dev
/null
; then
223 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
224 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
227 test -z "$as_dir" && as_dir
=.
230 for as_base
in sh bash ksh sh5
; do
231 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
238 for as_shell
in $as_candidate_shells $SHELL; do
239 # Try only shells that exist, to save several forks.
240 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
241 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
242 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246 # is contrary to our usage. Disable this feature.
247 alias -g '${1+"$@"}'='"$@"'
250 case `(set -o) 2>/dev/null` in
251 *posix
*) set -o posix
;;
260 CONFIG_SHELL
=$as_shell
262 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
263 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267 # is contrary to our usage. Disable this feature.
268 alias -g '${1+"$@"}'='"$@"'
271 case `(set -o) 2>/dev/null` in
272 *posix
*) set -o posix
;;
288 as_func_ret_success
() {
291 as_func_ret_failure
() {
296 if as_func_success
; then
300 echo as_func_success failed.
303 if as_func_failure
; then
305 echo as_func_failure succeeded.
308 if as_func_ret_success
; then
312 echo as_func_ret_success failed.
315 if as_func_ret_failure
; then
317 echo as_func_ret_failure succeeded.
320 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
324 echo positional parameters were not saved.
327 test $exitcode = 0) ||
{ (exit 1); exit 1; }
332 test "x$as_lineno_1" != "x$as_lineno_2" &&
333 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
344 if test "x$CONFIG_SHELL" != x
; then
345 for as_var
in BASH_ENV ENV
346 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
353 if test $as_have_required = no
; then
354 echo This
script requires a shell
more modern than all the
355 echo shells that I found on your system. Please
install a
356 echo modern shell
, or manually run the
script under such a
357 echo shell
if you
do have one.
358 { (exit 1); exit 1; }
368 (eval "as_func_return () {
377 as_func_ret_success () {
380 as_func_ret_failure () {
385 if as_func_success; then
389 echo as_func_success failed.
392 if as_func_failure; then
394 echo as_func_failure succeeded.
397 if as_func_ret_success; then
401 echo as_func_ret_success failed.
404 if as_func_ret_failure; then
406 echo as_func_ret_failure succeeded.
409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
413 echo positional parameters were not saved.
416 test \$exitcode = 0") ||
{
417 echo No shell found that supports shell functions.
418 echo Please tell autoconf@gnu.org about your system
,
419 echo including any error possibly output before this
427 test "x$as_lineno_1" != "x$as_lineno_2" &&
428 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431 # uniformly replaced by the line number. The first 'sed' inserts a
432 # line-number line after each line using $LINENO; the second 'sed'
433 # does the real work. The second script uses 'N' to pair each
434 # line-number line with the line containing $LINENO, and appends
435 # trailing '-' during substitution so that $LINENO is not a special
437 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438 # scripts with optimization help from Paolo Bonzini. Blame Lee
439 # E. McMahon (1931-1989) for sed's syntax. :-)
451 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
455 chmod +x
"$as_me.lineno" ||
456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457 { (exit 1); exit 1; }; }
459 # Don't try to exec as it changes $[0], causing all sort of problems
460 # (the dirname of $[0] is not the place where we might find the
461 # original and so on. Autoconf is especially sensitive to this).
463 # Exit status is that of the last command.
468 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
474 ECHO_C
= ECHO_N
= ECHO_T
=
478 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
485 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
486 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
492 rm -f conf$$ conf$$.exe conf$$.
file
493 if test -d conf$$.dir
; then
494 rm -f conf$$.dir
/conf$$.
file
500 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
502 # ... but there are two gotchas:
503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505 # In both cases, we have to default to `cp -p'.
506 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
508 elif ln conf$$.
file conf$$
2>/dev
/null
; then
513 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
514 rmdir conf$$.dir
2>/dev
/null
516 if mkdir
-p .
2>/dev
/null
; then
519 test -d .
/-p && rmdir .
/-p
523 if test -x / >/dev
/null
2>&1; then
526 if ls -dL / >/dev
/null
2>&1; then
533 if test -d "$1"; then
539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540 ???[sx]*):;;*)false;;esac;fi
544 as_executable_p
=$as_test_x
546 # Sed expression to map a string onto a valid CPP name.
547 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549 # Sed expression to map a string onto a valid variable name.
550 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
554 exec 7<&0 </dev
/null
6>&1
557 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
558 # so uname gets run too.
559 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
564 ac_default_prefix
=/usr
/local
566 ac_config_libobj_dir
=.
572 SHELL
=${CONFIG_SHELL-/bin/sh}
574 # Identity of this package.
575 PACKAGE_NAME
='epichord'
576 PACKAGE_TARNAME
='epichord'
577 PACKAGE_VERSION
='0.0.0'
578 PACKAGE_STRING
='epichord 0.0.0'
579 PACKAGE_BUGREPORT
='unknown@somewhere.org'
581 ac_unique_file
="src/ui.h"
582 # Factoring default headers for most tests.
583 ac_includes_default
="\
585 #ifdef HAVE_SYS_TYPES_H
586 # include <sys/types.h>
588 #ifdef HAVE_SYS_STAT_H
589 # include <sys/stat.h>
595 # ifdef HAVE_STDLIB_H
600 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
605 #ifdef HAVE_STRINGS_H
606 # include <strings.h>
608 #ifdef HAVE_INTTYPES_H
609 # include <inttypes.h>
627 program_transform_name
668 INSTALL_STRIP_PROGRAM
705 ac_precious_vars
='build_alias
719 # Initialize some variables set by options.
721 ac_init_version
=false
722 # The variables have the same names as the options, with
723 # dashes changed to underlines.
731 program_transform_name
=s
,x
,x
,
739 # Installation directory options.
740 # These are left unexpanded so users can "make install exec_prefix=/foo"
741 # and all the variables that are supposed to be based on exec_prefix
742 # by default will actually change.
743 # Use braces instead of parens because sh, perl, etc. also accept them.
744 # (The list follows the same order as the GNU Coding Standards.)
745 bindir
='${exec_prefix}/bin'
746 sbindir
='${exec_prefix}/sbin'
747 libexecdir
='${exec_prefix}/libexec'
748 datarootdir
='${prefix}/share'
749 datadir
='${datarootdir}'
750 sysconfdir
='${prefix}/etc'
751 sharedstatedir
='${prefix}/com'
752 localstatedir
='${prefix}/var'
753 includedir
='${prefix}/include'
754 oldincludedir
='/usr/include'
755 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
756 infodir
='${datarootdir}/info'
761 libdir
='${exec_prefix}/lib'
762 localedir
='${datarootdir}/locale'
763 mandir
='${datarootdir}/man'
769 # If the previous option needs an argument, assign it.
770 if test -n "$ac_prev"; then
771 eval $ac_prev=\
$ac_option
777 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
781 # Accept the important Cygnus configure options, so we can diagnose typos.
783 case $ac_dashdash$ac_option in
787 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
789 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
792 -build |
--build |
--buil |
--bui |
--bu)
793 ac_prev
=build_alias
;;
794 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
795 build_alias
=$ac_optarg ;;
797 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
798 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
799 ac_prev
=cache_file
;;
800 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
801 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
802 cache_file
=$ac_optarg ;;
805 cache_file
=config.cache
;;
807 -datadir |
--datadir |
--datadi |
--datad)
809 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
810 datadir
=$ac_optarg ;;
812 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
813 |
--dataroo |
--dataro |
--datar)
814 ac_prev
=datarootdir
;;
815 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
816 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
817 datarootdir
=$ac_optarg ;;
819 -disable-* |
--disable-*)
820 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
821 # Reject names that are not valid shell variable names.
822 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
823 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
824 { (exit 1); exit 1; }; }
825 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
826 eval enable_
$ac_feature=no
;;
828 -docdir |
--docdir |
--docdi |
--doc |
--do)
830 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
833 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
835 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
838 -enable-* |
--enable-*)
839 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
840 # Reject names that are not valid shell variable names.
841 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
842 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
843 { (exit 1); exit 1; }; }
844 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
845 eval enable_
$ac_feature=\
$ac_optarg ;;
847 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
848 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
849 |
--exec |
--exe |
--ex)
850 ac_prev
=exec_prefix
;;
851 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
852 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
853 |
--exec=* |
--exe=* |
--ex=*)
854 exec_prefix
=$ac_optarg ;;
856 -gas |
--gas |
--ga |
--g)
857 # Obsolete; use --with-gas.
860 -help |
--help |
--hel |
--he |
-h)
862 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
863 ac_init_help
=recursive
;;
864 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
865 ac_init_help
=short
;;
867 -host |
--host |
--hos |
--ho)
868 ac_prev
=host_alias
;;
869 -host=* |
--host=* |
--hos=* |
--ho=*)
870 host_alias
=$ac_optarg ;;
872 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
874 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
876 htmldir
=$ac_optarg ;;
878 -includedir |
--includedir |
--includedi |
--included |
--include \
879 |
--includ |
--inclu |
--incl |
--inc)
880 ac_prev
=includedir
;;
881 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
882 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
883 includedir
=$ac_optarg ;;
885 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
887 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
888 infodir
=$ac_optarg ;;
890 -libdir |
--libdir |
--libdi |
--libd)
892 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
895 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
896 |
--libexe |
--libex |
--libe)
897 ac_prev
=libexecdir
;;
898 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
899 |
--libexe=* |
--libex=* |
--libe=*)
900 libexecdir
=$ac_optarg ;;
902 -localedir |
--localedir |
--localedi |
--localed |
--locale)
904 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
905 localedir
=$ac_optarg ;;
907 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
908 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
909 ac_prev
=localstatedir
;;
910 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
911 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
912 localstatedir
=$ac_optarg ;;
914 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
916 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
920 # Obsolete; use --without-fp.
923 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
924 |
--no-cr |
--no-c |
-n)
927 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
928 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
931 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
932 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
933 |
--oldin |
--oldi |
--old |
--ol |
--o)
934 ac_prev
=oldincludedir
;;
935 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
936 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
937 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
938 oldincludedir
=$ac_optarg ;;
940 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
942 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
945 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
946 |
--program-pre |
--program-pr |
--program-p)
947 ac_prev
=program_prefix
;;
948 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
949 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
950 program_prefix
=$ac_optarg ;;
952 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
953 |
--program-suf |
--program-su |
--program-s)
954 ac_prev
=program_suffix
;;
955 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
956 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
957 program_suffix
=$ac_optarg ;;
959 -program-transform-name |
--program-transform-name \
960 |
--program-transform-nam |
--program-transform-na \
961 |
--program-transform-n |
--program-transform- \
962 |
--program-transform |
--program-transfor \
963 |
--program-transfo |
--program-transf \
964 |
--program-trans |
--program-tran \
965 |
--progr-tra |
--program-tr |
--program-t)
966 ac_prev
=program_transform_name
;;
967 -program-transform-name=* |
--program-transform-name=* \
968 |
--program-transform-nam=* |
--program-transform-na=* \
969 |
--program-transform-n=* |
--program-transform-=* \
970 |
--program-transform=* |
--program-transfor=* \
971 |
--program-transfo=* |
--program-transf=* \
972 |
--program-trans=* |
--program-tran=* \
973 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
974 program_transform_name
=$ac_optarg ;;
976 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
978 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
981 -psdir |
--psdir |
--psdi |
--psd |
--ps)
983 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
986 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
987 |
-silent |
--silent |
--silen |
--sile |
--sil)
990 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
992 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
994 sbindir
=$ac_optarg ;;
996 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
997 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
998 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1000 ac_prev
=sharedstatedir
;;
1001 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1002 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1003 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1005 sharedstatedir
=$ac_optarg ;;
1007 -site |
--site |
--sit)
1009 -site=* |
--site=* |
--sit=*)
1012 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1014 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1015 srcdir
=$ac_optarg ;;
1017 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1018 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1019 ac_prev
=sysconfdir
;;
1020 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1021 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1022 sysconfdir
=$ac_optarg ;;
1024 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1025 ac_prev
=target_alias
;;
1026 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1027 target_alias
=$ac_optarg ;;
1029 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1032 -version |
--version |
--versio |
--versi |
--vers |
-V)
1033 ac_init_version
=: ;;
1036 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1037 # Reject names that are not valid shell variable names.
1038 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1039 { echo "$as_me: error: invalid package name: $ac_package" >&2
1040 { (exit 1); exit 1; }; }
1041 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1042 eval with_
$ac_package=\
$ac_optarg ;;
1044 -without-* |
--without-*)
1045 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1046 # Reject names that are not valid shell variable names.
1047 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1048 { echo "$as_me: error: invalid package name: $ac_package" >&2
1049 { (exit 1); exit 1; }; }
1050 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1051 eval with_
$ac_package=no
;;
1054 # Obsolete; use --with-x.
1057 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1058 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1059 ac_prev
=x_includes
;;
1060 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1061 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1062 x_includes
=$ac_optarg ;;
1064 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1065 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1066 ac_prev
=x_libraries
;;
1067 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1068 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1069 x_libraries
=$ac_optarg ;;
1071 -*) { echo "$as_me: error: unrecognized option: $ac_option
1072 Try \`$0 --help' for more information." >&2
1073 { (exit 1); exit 1; }; }
1077 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1078 # Reject names that are not valid shell variable names.
1079 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1080 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1081 { (exit 1); exit 1; }; }
1082 eval $ac_envvar=\
$ac_optarg
1083 export $ac_envvar ;;
1086 # FIXME: should be removed in autoconf 3.0.
1087 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1088 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1089 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1090 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1096 if test -n "$ac_prev"; then
1097 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1098 { echo "$as_me: error: missing argument to $ac_option" >&2
1099 { (exit 1); exit 1; }; }
1102 # Be sure to have absolute directory names.
1103 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1104 datadir sysconfdir sharedstatedir localstatedir includedir \
1105 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1106 libdir localedir mandir
1108 eval ac_val
=\$
$ac_var
1110 [\\/$
]* | ?
:[\\/]* ) continue;;
1111 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1113 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1114 { (exit 1); exit 1; }; }
1117 # There might be people who depend on the old broken behavior: `$host'
1118 # used to hold the argument of --host etc.
1119 # FIXME: To remove some day.
1122 target
=$target_alias
1124 # FIXME: To remove some day.
1125 if test "x$host_alias" != x
; then
1126 if test "x$build_alias" = x
; then
1127 cross_compiling
=maybe
1128 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1129 If a cross compiler is detected then cross compile mode will be used." >&2
1130 elif test "x$build_alias" != "x$host_alias"; then
1136 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1138 test "$silent" = yes && exec 6>/dev
/null
1141 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1142 ac_ls_di
=`ls -di .` &&
1143 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1144 { echo "$as_me: error: Working directory cannot be determined" >&2
1145 { (exit 1); exit 1; }; }
1146 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1147 { echo "$as_me: error: pwd does not report name of working directory" >&2
1148 { (exit 1); exit 1; }; }
1151 # Find the source files, if location was not specified.
1152 if test -z "$srcdir"; then
1153 ac_srcdir_defaulted
=yes
1154 # Try the directory containing this script, then the parent directory.
1155 ac_confdir
=`$as_dirname -- "$0" ||
1156 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1157 X"$0" : 'X\(//\)[^/]' \| \
1158 X"$0" : 'X\(//\)$' \| \
1159 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1161 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1179 if test ! -r "$srcdir/$ac_unique_file"; then
1183 ac_srcdir_defaulted
=no
1185 if test ! -r "$srcdir/$ac_unique_file"; then
1186 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1187 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1188 { (exit 1); exit 1; }; }
1190 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1192 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1193 { (exit 1); exit 1; }; }
1195 # When building in place, set srcdir=.
1196 if test "$ac_abs_confdir" = "$ac_pwd"; then
1199 # Remove unnecessary trailing slashes from srcdir.
1200 # Double slashes in file names in object file debugging info
1201 # mess up M-x gdb in Emacs.
1203 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1205 for ac_var
in $ac_precious_vars; do
1206 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1207 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1208 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1209 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1213 # Report the --help message.
1215 if test "$ac_init_help" = "long"; then
1216 # Omit some internal or obsolete options to make the list less imposing.
1217 # This message is too long to be a string in the A/UX 3.1 sh.
1219 \`configure' configures epichord 0.0.0 to adapt to many kinds of systems.
1221 Usage: $0 [OPTION]... [VAR=VALUE]...
1223 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1224 VAR=VALUE. See below for descriptions of some of the useful variables.
1226 Defaults for the options are specified in brackets.
1229 -h, --help display this help and exit
1230 --help=short display options specific to this package
1231 --help=recursive display the short help of all the included packages
1232 -V, --version display version information and exit
1233 -q, --quiet, --silent do not print \`checking...' messages
1234 --cache-file=FILE cache test results in FILE [disabled]
1235 -C, --config-cache alias for \`--cache-file=config.cache'
1236 -n, --no-create do not create output files
1237 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1239 Installation directories:
1240 --prefix=PREFIX install architecture-independent files in PREFIX
1241 [$ac_default_prefix]
1242 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1245 By default, \`make install' will install all the files in
1246 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1247 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1248 for instance \`--prefix=\$HOME'.
1250 For better control, use the options below.
1252 Fine tuning of the installation directories:
1253 --bindir=DIR user executables [EPREFIX/bin]
1254 --sbindir=DIR system admin executables [EPREFIX/sbin]
1255 --libexecdir=DIR program executables [EPREFIX/libexec]
1256 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1257 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1258 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1259 --libdir=DIR object code libraries [EPREFIX/lib]
1260 --includedir=DIR C header files [PREFIX/include]
1261 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1262 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1263 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1264 --infodir=DIR info documentation [DATAROOTDIR/info]
1265 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1266 --mandir=DIR man documentation [DATAROOTDIR/man]
1267 --docdir=DIR documentation root [DATAROOTDIR/doc/epichord]
1268 --htmldir=DIR html documentation [DOCDIR]
1269 --dvidir=DIR dvi documentation [DOCDIR]
1270 --pdfdir=DIR pdf documentation [DOCDIR]
1271 --psdir=DIR ps documentation [DOCDIR]
1277 --program-prefix=PREFIX prepend PREFIX to installed program names
1278 --program-suffix=SUFFIX append SUFFIX to installed program names
1279 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1283 if test -n "$ac_init_help"; then
1284 case $ac_init_help in
1285 short | recursive
) echo "Configuration of epichord 0.0.0:";;
1290 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1291 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1292 --disable-dependency-tracking speeds up one-time build
1293 --enable-dependency-tracking do not reject slow dependency extractors
1295 Some influential environment variables
:
1296 CXX C
++ compiler
command
1297 CXXFLAGS C
++ compiler flags
1298 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1299 nonstandard directory
<lib dir
>
1300 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1301 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1302 you have headers
in a nonstandard directory
<include dir
>
1303 CC C compiler
command
1304 CFLAGS C compiler flags
1307 Use these variables to override the choices made by
`configure' or to help
1308 it to find libraries and programs with nonstandard names/locations.
1310 Report bugs to <unknown@somewhere.org>.
1315 if test "$ac_init_help" = "recursive"; then
1316 # If there are subdirs, report their specific --help.
1317 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1318 test -d "$ac_dir" || continue
1322 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1324 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1325 # A ".." for each directory in $ac_dir_suffix.
1326 ac_top_builddir_sub=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,/..,g;s,/,,'`
1327 case $ac_top_builddir_sub in
1328 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1329 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1332 ac_abs_top_builddir=$ac_pwd
1333 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1334 # for backward compatibility:
1335 ac_top_builddir=$ac_top_build_prefix
1338 .) # We are building in place.
1340 ac_top_srcdir=$ac_top_builddir_sub
1341 ac_abs_top_srcdir=$ac_pwd ;;
1342 [\\/]* | ?:[\\/]* ) # Absolute name.
1343 ac_srcdir=$srcdir$ac_dir_suffix;
1344 ac_top_srcdir=$srcdir
1345 ac_abs_top_srcdir=$srcdir ;;
1347 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1348 ac_top_srcdir=$ac_top_build_prefix$srcdir
1349 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1351 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1353 cd "$ac_dir" || { ac_status=$?; continue; }
1354 # Check for guested configure.
1355 if test -f "$ac_srcdir/configure.gnu"; then
1357 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1358 elif test -f "$ac_srcdir/configure"; then
1360 $SHELL "$ac_srcdir/configure" --help=recursive
1362 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1364 cd "$ac_pwd" || { ac_status=$?; break; }
1368 test -n "$ac_init_help" && exit $ac_status
1369 if $ac_init_version; then
1371 epichord configure 0.0.0
1372 generated by GNU Autoconf 2.61
1374 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1375 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1376 This configure script is free software; the Free Software Foundation
1377 gives unlimited permission to copy, distribute and modify it.
1381 cat >config.log <<_ACEOF
1382 This file contains any messages produced by compilers while
1383 running configure, to aid debugging if configure makes a mistake.
1385 It was created by epichord $as_me 0.0.0, which was
1386 generated by GNU Autoconf 2.61. Invocation command line was
1398 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1399 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1400 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1401 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1402 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1404 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1405 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1407 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1408 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1409 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1410 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1411 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1412 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1413 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1421 test -z "$as_dir" && as_dir=.
1422 echo "PATH: $as_dir"
1438 # Keep a trace of the command line.
1439 # Strip out --no-create and --no-recursion so they do not pile up.
1440 # Strip out --silent because we don't want to record it for future runs.
1441 # Also quote any args containing shell meta-characters.
1442 # Make two passes to allow for proper duplicate-argument suppression.
1446 ac_must_keep_next=false
1452 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1453 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1454 | -silent | --silent | --silen | --sile | --sil)
1457 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1460 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1462 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1463 if test $ac_must_keep_next = true; then
1464 ac_must_keep_next=false # Got value, back to normal.
1467 *=* | --config-cache | -C | -disable-* | --disable-* \
1468 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1469 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1470 | -with-* | --with-* | -without-* | --without-* | --x)
1471 case "$ac_configure_args0 " in
1472 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1475 -* ) ac_must_keep_next=true ;;
1478 ac_configure_args="$ac_configure_args '$ac_arg'"
1483 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1484 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1486 # When interrupted or exit'd, cleanup temporary files, and complete
1487 # config.log. We remove comments because anyway the quotes in there
1488 # would cause problems or look ugly.
1489 # WARNING: Use '\'' to represent an apostrophe within the trap.
1490 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1491 trap 'exit_status=$?
1492 # Save into config.log some information that might help in debugging.
1497 ## ---------------- ##
1498 ## Cache variables. ##
1499 ## ---------------- ##
1502 # The following way of writing the cache mishandles newlines in values,
1504 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1505 eval ac_val=\$$ac_var
1509 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1510 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1513 _ | IFS | as_nl) ;; #(
1514 *) $as_unset $ac_var ;;
1519 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1520 *${as_nl}ac_space=\ *)
1522 "s/'\''/'\''\\\\'\'''\''/g;
1523 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1526 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1534 ## ----------------- ##
1535 ## Output variables. ##
1536 ## ----------------- ##
1539 for ac_var in $ac_subst_vars
1541 eval ac_val=\$$ac_var
1543 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1545 echo "$ac_var='\''$ac_val'\''"
1549 if test -n "$ac_subst_files"; then
1551 ## ------------------- ##
1552 ## File substitutions. ##
1553 ## ------------------- ##
1556 for ac_var in $ac_subst_files
1558 eval ac_val=\$$ac_var
1560 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1562 echo "$ac_var='\''$ac_val'\''"
1567 if test -s confdefs.h; then
1577 test "$ac_signal" != 0 &&
1578 echo "$as_me: caught signal $ac_signal"
1579 echo "$as_me: exit $exit_status"
1581 rm -f core *.core core.conftest.* &&
1582 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1585 for ac_signal in 1 2 13 15; do
1586 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1590 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1591 rm -f -r conftest* confdefs.h
1593 # Predefined preprocessor variables.
1595 cat >>confdefs.h <<_ACEOF
1596 #define PACKAGE_NAME "$PACKAGE_NAME"
1600 cat >>confdefs.h <<_ACEOF
1601 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1605 cat >>confdefs.h <<_ACEOF
1606 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1610 cat >>confdefs.h <<_ACEOF
1611 #define PACKAGE_STRING "$PACKAGE_STRING"
1615 cat >>confdefs.h <<_ACEOF
1616 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1620 # Let the site file select an alternate cache file if it wants to.
1621 # Prefer explicitly selected file to automatically selected ones.
1622 if test -n "$CONFIG_SITE"; then
1623 set x "$CONFIG_SITE"
1624 elif test "x$prefix" != xNONE; then
1625 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1627 set x "$ac_default_prefix/share/config.site" \
1628 "$ac_default_prefix/etc/config.site"
1633 if test -r "$ac_site_file"; then
1634 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1635 echo "$as_me: loading site script $ac_site_file" >&6;}
1636 sed 's/^/| /' "$ac_site_file" >&5
1641 if test -r "$cache_file"; then
1642 # Some versions of bash will fail to source /dev/null (special
1643 # files actually), so we avoid doing that.
1644 if test -f "$cache_file"; then
1645 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1646 echo "$as_me: loading cache $cache_file" >&6;}
1648 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1649 *) . "./$cache_file";;
1653 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1654 echo "$as_me: creating cache $cache_file" >&6;}
1658 # Check that the precious variables saved in the cache have kept the same
1660 ac_cache_corrupted=false
1661 for ac_var in $ac_precious_vars; do
1662 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1663 eval ac_new_set=\$ac_env_${ac_var}_set
1664 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1665 eval ac_new_val=\$ac_env_${ac_var}_value
1666 case $ac_old_set,$ac_new_set in
1668 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1669 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1670 ac_cache_corrupted=: ;;
1672 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1673 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1674 ac_cache_corrupted=: ;;
1677 if test "x$ac_old_val" != "x$ac_new_val"; then
1678 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1679 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1680 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1681 echo "$as_me: former value
: $ac_old_val" >&2;}
1682 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1683 echo "$as_me: current value
: $ac_new_val" >&2;}
1684 ac_cache_corrupted=:
1687 # Pass precious variables to config.status.
1688 if test "$ac_new_set" = set; then
1690 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1691 *) ac_arg=$ac_var=$ac_new_val ;;
1693 case " $ac_configure_args " in
1694 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1695 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1699 if $ac_cache_corrupted; then
1700 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1701 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1702 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1703 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1704 { (exit 1); exit 1; }; }
1732 ac_cpp='$CPP $CPPFLAGS'
1733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1738 am__api_version="1.9"
1740 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1741 if test -f "$ac_dir/install-sh"; then
1743 ac_install_sh="$ac_aux_dir/install-sh -c"
1745 elif test -f "$ac_dir/install.sh"; then
1747 ac_install_sh="$ac_aux_dir/install.sh -c"
1749 elif test -f "$ac_dir/shtool"; then
1751 ac_install_sh="$ac_aux_dir/shtool install -c"
1755 if test -z "$ac_aux_dir"; then
1756 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1757 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1758 { (exit 1); exit 1; }; }
1761 # These three variables are undocumented and unsupported,
1762 # and are intended to be withdrawn in a future Autoconf release.
1763 # They can cause serious problems if a builder's source tree is in a directory
1764 # whose full name contains unusual characters.
1765 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1766 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1767 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1770 # Find a good install program. We prefer a C program (faster),
1771 # so one script is as good as another. But avoid the broken or
1772 # incompatible versions:
1773 # SysV /etc/install, /usr/sbin/install
1774 # SunOS /usr/etc/install
1775 # IRIX /sbin/install
1777 # AmigaOS /C/install, which installs bootblocks on floppy discs
1778 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1779 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1780 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1781 # OS/2's system install, which has a completely different semantic
1782 # ./install, which can be erroneously created by make from ./install.sh.
1783 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1784 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1785 if test -z "$INSTALL"; then
1786 if test "${ac_cv_path_install+set}" = set; then
1787 echo $ECHO_N "(cached) $ECHO_C" >&6
1789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1793 test -z "$as_dir" && as_dir=.
1794 # Account for people who put trailing slashes in PATH elements.
1796 ./ | .// | /cC/* | \
1797 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1798 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1801 # OSF1 and SCO ODT 3.0 have their own names for install.
1802 # Don't use installbsd from OSF since it installs stuff as root
1804 for ac_prog in ginstall scoinst install; do
1805 for ac_exec_ext in '' $ac_executable_extensions; do
1806 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1807 if test $ac_prog = install &&
1808 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1809 # AIX install. It has an incompatible calling convention.
1811 elif test $ac_prog = install &&
1812 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1813 # program-specific install script used by HP pwplus--don't use.
1816 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1829 if test "${ac_cv_path_install+set}" = set; then
1830 INSTALL=$ac_cv_path_install
1832 # As a last resort, use the slow shell script. Don't cache a
1833 # value for INSTALL within a source directory, because that will
1834 # break other packages using the cache if that directory is
1835 # removed, or if the value is a relative name.
1836 INSTALL=$ac_install_sh
1839 { echo "$as_me:$LINENO: result: $INSTALL" >&5
1840 echo "${ECHO_T}$INSTALL" >&6; }
1842 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1843 # It thinks the first close brace ends the variable substitution.
1844 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1846 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1848 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1850 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1851 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1854 echo timestamp > conftest.file
1855 # Do `set' in a subshell so we don't clobber the current shell
's
1856 # arguments. Must try -L first in case configure is actually a
1857 # symlink; some systems play weird games with the mod time of symlinks
1858 # (eg FreeBSD returns the mod time of the symlink's containing
1861 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1862 if test "$*" = "X"; then
1864 set X
`ls -t $srcdir/configure conftest.file`
1867 if test "$*" != "X $srcdir/configure conftest.file" \
1868 && test "$*" != "X conftest.file $srcdir/configure"; then
1870 # If neither matched, then we have a broken ls. This can happen
1871 # if, for instance, CONFIG_SHELL is bash and it inherits a
1872 # broken ls alias from the environment. This has actually
1873 # happened. Such a system could not be considered "sane".
1874 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1875 alias in your environment" >&5
1876 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1877 alias in your environment" >&2;}
1878 { (exit 1); exit 1; }; }
1881 test "$2" = conftest.
file
1887 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1888 Check your system clock" >&5
1889 echo "$as_me: error: newly created file is older than distributed files!
1890 Check your system clock" >&2;}
1891 { (exit 1); exit 1; }; }
1893 { echo "$as_me:$LINENO: result: yes" >&5
1894 echo "${ECHO_T}yes" >&6; }
1895 test "$program_prefix" != NONE
&&
1896 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
1897 # Use a double $ so make ignores it.
1898 test "$program_suffix" != NONE
&&
1899 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
1900 # Double any \ or $. echo might interpret backslashes.
1901 # By default was `s,x,x', remove it if useless.
1902 cat <<\_ACEOF
>conftest.
sed
1903 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1905 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1908 # expand $ac_aux_dir to an absolute path
1909 am_aux_dir
=`cd $ac_aux_dir && pwd`
1911 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1912 # Use eval to expand $SHELL
1913 if eval "$MISSING --run true"; then
1914 am_missing_run
="$MISSING --run "
1917 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1918 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1921 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
1922 # We used to keeping the `.' as first argument, in order to
1923 # allow $(mkdir_p) to be used without argument. As in
1924 # $(mkdir_p) $(somedir)
1925 # where $(somedir) is conditionally defined. However this is wrong
1927 # 1. if the package is installed by a user who cannot write `.'
1928 # make install will fail,
1929 # 2. the above comment should most certainly read
1930 # $(mkdir_p) $(DESTDIR)$(somedir)
1931 # so it does not work when $(somedir) is undefined and
1932 # $(DESTDIR) is not.
1933 # To support the latter case, we have to write
1934 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1935 # so the `.' trick is pointless.
1936 mkdir_p
='mkdir -p --'
1938 # On NextStep and OpenStep, the `mkdir' command does not
1939 # recognize any option. It will interpret all options as
1940 # directories to create, and then abort because `.' already
1942 for d
in .
/-p .
/--version;
1944 test -d $d && rmdir $d
1946 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1947 if test -f "$ac_aux_dir/mkinstalldirs"; then
1948 mkdir_p
='$(mkinstalldirs)'
1950 mkdir_p
='$(install_sh) -d'
1954 for ac_prog
in gawk mawk nawk
awk
1956 # Extract the first word of "$ac_prog", so it can be a program name with args.
1957 set dummy
$ac_prog; ac_word
=$2
1958 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1959 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1960 if test "${ac_cv_prog_AWK+set}" = set; then
1961 echo $ECHO_N "(cached) $ECHO_C" >&6
1963 if test -n "$AWK"; then
1964 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1966 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1970 test -z "$as_dir" && as_dir
=.
1971 for ac_exec_ext
in '' $ac_executable_extensions; do
1972 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1973 ac_cv_prog_AWK
="$ac_prog"
1974 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1984 if test -n "$AWK"; then
1985 { echo "$as_me:$LINENO: result: $AWK" >&5
1986 echo "${ECHO_T}$AWK" >&6; }
1988 { echo "$as_me:$LINENO: result: no" >&5
1989 echo "${ECHO_T}no" >&6; }
1993 test -n "$AWK" && break
1996 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1997 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
1998 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1999 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2000 echo $ECHO_N "(cached) $ECHO_C" >&6
2002 cat >conftest.
make <<\_ACEOF
2005 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2007 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2008 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2010 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2012 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2016 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2017 { echo "$as_me:$LINENO: result: yes" >&5
2018 echo "${ECHO_T}yes" >&6; }
2021 { echo "$as_me:$LINENO: result: no" >&5
2022 echo "${ECHO_T}no" >&6; }
2023 SET_MAKE
="MAKE=${MAKE-make}"
2026 rm -rf .tst
2>/dev
/null
2027 mkdir .tst
2>/dev
/null
2028 if test -d .tst
; then
2033 rmdir .tst
2>/dev
/null
2035 # test to see if srcdir already configured
2036 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2037 test -f $srcdir/config.status
; then
2038 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2039 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2040 { (exit 1); exit 1; }; }
2043 # test whether we have cygpath
2044 if test -z "$CYGPATH_W"; then
2045 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2046 CYGPATH_W
='cygpath -w'
2053 # Define the identity of the package.
2058 cat >>confdefs.h
<<_ACEOF
2059 #define PACKAGE "$PACKAGE"
2063 cat >>confdefs.h
<<_ACEOF
2064 #define VERSION "$VERSION"
2067 # Some tools Automake needs.
2069 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2072 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2075 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2078 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2081 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2083 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
2085 # Installed binaries are usually stripped using `strip' when the user
2086 # run `make install-strip'. However `strip' might not be the right
2087 # tool to use in cross-compilation environments, therefore Automake
2088 # will honor the `STRIP' environment variable to overrule this program.
2089 if test "$cross_compiling" != no
; then
2090 if test -n "$ac_tool_prefix"; then
2091 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2092 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2093 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2094 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2095 if test "${ac_cv_prog_STRIP+set}" = set; then
2096 echo $ECHO_N "(cached) $ECHO_C" >&6
2098 if test -n "$STRIP"; then
2099 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2101 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2105 test -z "$as_dir" && as_dir
=.
2106 for ac_exec_ext
in '' $ac_executable_extensions; do
2107 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2108 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2109 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2118 STRIP
=$ac_cv_prog_STRIP
2119 if test -n "$STRIP"; then
2120 { echo "$as_me:$LINENO: result: $STRIP" >&5
2121 echo "${ECHO_T}$STRIP" >&6; }
2123 { echo "$as_me:$LINENO: result: no" >&5
2124 echo "${ECHO_T}no" >&6; }
2129 if test -z "$ac_cv_prog_STRIP"; then
2131 # Extract the first word of "strip", so it can be a program name with args.
2132 set dummy strip
; ac_word
=$2
2133 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2134 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2135 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2136 echo $ECHO_N "(cached) $ECHO_C" >&6
2138 if test -n "$ac_ct_STRIP"; then
2139 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2141 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2145 test -z "$as_dir" && as_dir
=.
2146 for ac_exec_ext
in '' $ac_executable_extensions; do
2147 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2148 ac_cv_prog_ac_ct_STRIP
="strip"
2149 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2158 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2159 if test -n "$ac_ct_STRIP"; then
2160 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2161 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2163 { echo "$as_me:$LINENO: result: no" >&5
2164 echo "${ECHO_T}no" >&6; }
2167 if test "x$ac_ct_STRIP" = x
; then
2170 case $cross_compiling:$ac_tool_warned in
2172 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2173 whose name does not start with the host triplet. If you think this
2174 configuration is useful to you, please write to autoconf@gnu.org." >&5
2175 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2176 whose name does not start with the host triplet. If you think this
2177 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2178 ac_tool_warned
=yes ;;
2183 STRIP
="$ac_cv_prog_STRIP"
2187 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
2189 # We need awk for the "check" target. The system "awk" is bad on
2191 # Always define AMTAR for backward compatibility.
2193 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2195 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2202 ac_config_headers
="$ac_config_headers config.h"
2205 # Checks for programs.
2207 ac_cpp
='$CXXCPP $CPPFLAGS'
2208 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2209 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2210 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
2211 if test -z "$CXX"; then
2212 if test -n "$CCC"; then
2215 if test -n "$ac_tool_prefix"; then
2216 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
2218 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2219 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2220 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2221 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2222 if test "${ac_cv_prog_CXX+set}" = set; then
2223 echo $ECHO_N "(cached) $ECHO_C" >&6
2225 if test -n "$CXX"; then
2226 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
2228 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2232 test -z "$as_dir" && as_dir
=.
2233 for ac_exec_ext
in '' $ac_executable_extensions; do
2234 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2235 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
2236 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2246 if test -n "$CXX"; then
2247 { echo "$as_me:$LINENO: result: $CXX" >&5
2248 echo "${ECHO_T}$CXX" >&6; }
2250 { echo "$as_me:$LINENO: result: no" >&5
2251 echo "${ECHO_T}no" >&6; }
2255 test -n "$CXX" && break
2258 if test -z "$CXX"; then
2260 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
2262 # Extract the first word of "$ac_prog", so it can be a program name with args.
2263 set dummy
$ac_prog; ac_word
=$2
2264 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2265 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2266 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2267 echo $ECHO_N "(cached) $ECHO_C" >&6
2269 if test -n "$ac_ct_CXX"; then
2270 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
2272 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2276 test -z "$as_dir" && as_dir
=.
2277 for ac_exec_ext
in '' $ac_executable_extensions; do
2278 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2279 ac_cv_prog_ac_ct_CXX
="$ac_prog"
2280 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2289 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
2290 if test -n "$ac_ct_CXX"; then
2291 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2292 echo "${ECHO_T}$ac_ct_CXX" >&6; }
2294 { echo "$as_me:$LINENO: result: no" >&5
2295 echo "${ECHO_T}no" >&6; }
2299 test -n "$ac_ct_CXX" && break
2302 if test "x$ac_ct_CXX" = x
; then
2305 case $cross_compiling:$ac_tool_warned in
2307 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2308 whose name does not start with the host triplet. If you think this
2309 configuration is useful to you, please write to autoconf@gnu.org." >&5
2310 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2311 whose name does not start with the host triplet. If you think this
2312 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2313 ac_tool_warned
=yes ;;
2321 # Provide some information about the compiler.
2322 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
2323 ac_compiler
=`set X $ac_compile; echo $2`
2324 { (ac_try
="$ac_compiler --version >&5"
2326 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2327 *) ac_try_echo=$ac_try;;
2329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2330 (eval "$ac_compiler --version >&5") 2>&5
2332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2333 (exit $ac_status); }
2334 { (ac_try="$ac_compiler -v >&5"
2336 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2337 *) ac_try_echo
=$ac_try;;
2339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2340 (eval "$ac_compiler -v >&5") 2>&5
2342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2343 (exit $ac_status); }
2344 { (ac_try
="$ac_compiler -V >&5"
2346 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2347 *) ac_try_echo=$ac_try;;
2349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2350 (eval "$ac_compiler -V >&5") 2>&5
2352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2353 (exit $ac_status); }
2355 cat >conftest.$ac_ext <<_ACEOF
2358 cat confdefs.h >>conftest.$ac_ext
2359 cat >>conftest.$ac_ext <<_ACEOF
2360 /* end confdefs.h. */
2370 ac_clean_files_save=$ac_clean_files
2371 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2372 # Try to create an executable without -o first, disregard a.out.
2373 # It will help us diagnose broken compilers, and finding out an intuition
2375 { echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
2376 echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6; }
2377 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2379 # List of possible output files, starting from the most likely.
2380 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2381 # only as a last resort. b.out is created by i960 compilers.
2382 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2384 # The IRIX 6 linker writes into existing files which may not be
2385 # executable, retaining their permissions. Remove them first so a
2386 # subsequent execution test works.
2388 for ac_file in $ac_files
2391 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2392 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2397 if { (ac_try="$ac_link_default"
2399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2400 *) ac_try_echo=$ac_try;;
2402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2403 (eval "$ac_link_default") 2>&5
2405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2406 (exit $ac_status); }; then
2407 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2408 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2409 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2410 # so that the user can short-circuit this test for compilers unknown to
2412 for ac_file
in $ac_files ''
2414 test -f "$ac_file" ||
continue
2416 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
2419 # We found the default executable, but exeext='' is most
2423 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2425 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2427 # We set ac_cv_exeext here because the later test for it is not
2428 # safe: cross compilers may not add the suffix if given an `-o'
2429 # argument, so we may need to know it at that point already.
2430 # Even if this section looks crufty: it has the advantage of
2437 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2443 { echo "$as_me:$LINENO: result: $ac_file" >&5
2444 echo "${ECHO_T}$ac_file" >&6; }
2445 if test -z "$ac_file"; then
2446 echo "$as_me: failed program was:" >&5
2447 sed 's/^/| /' conftest.
$ac_ext >&5
2449 { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
2450 See \`config.log' for more details." >&5
2451 echo "$as_me: error: C++ compiler cannot create executables
2452 See \`config.log' for more details." >&2;}
2453 { (exit 77); exit 77; }; }
2456 ac_exeext
=$ac_cv_exeext
2458 # Check that the compiler produces executables we can run. If not, either
2459 # the compiler is broken, or we cross compile.
2460 { echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
2461 echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6; }
2462 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2463 # If not cross compiling, check that we can run a simple program.
2464 if test "$cross_compiling" != yes; then
2465 if { ac_try
='./$ac_file'
2466 { (case "(($ac_try" in
2467 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2468 *) ac_try_echo=$ac_try;;
2470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2471 (eval "$ac_try") 2>&5
2473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2474 (exit $ac_status); }; }; then
2477 if test "$cross_compiling" = maybe; then
2480 { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
2481 If you meant to cross compile, use \`--host'.
2482 See \`config.log' for more details.
" >&5
2483 echo "$as_me: error
: cannot run C
++ compiled programs.
2484 If you meant to cross compile
, use \
`--host'.
2485 See \`config.log
' for more details." >&2;}
2486 { (exit 1); exit 1; }; }
2490 { echo "$as_me:$LINENO: result: yes" >&5
2491 echo "${ECHO_T}yes" >&6; }
2493 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2494 ac_clean_files=$ac_clean_files_save
2495 # Check that the compiler produces executables we can run. If not, either
2496 # the compiler is broken, or we cross compile.
2497 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2498 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2499 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2500 echo "${ECHO_T}$cross_compiling" >&6; }
2502 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2503 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2504 if { (ac_try="$ac_link"
2506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2507 *) ac_try_echo=$ac_try;;
2509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2510 (eval "$ac_link") 2>&5
2512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2513 (exit $ac_status); }; then
2514 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2515 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2516 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2518 for ac_file
in conftest.exe conftest conftest.
*; do
2519 test -f "$ac_file" ||
continue
2521 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
2522 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2528 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2529 See \`config.log' for more details." >&5
2530 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2531 See \`config.log' for more details." >&2;}
2532 { (exit 1); exit 1; }; }
2535 rm -f conftest
$ac_cv_exeext
2536 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2537 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2539 rm -f conftest.
$ac_ext
2540 EXEEXT
=$ac_cv_exeext
2542 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2543 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2544 if test "${ac_cv_objext+set}" = set; then
2545 echo $ECHO_N "(cached) $ECHO_C" >&6
2547 cat >conftest.
$ac_ext <<_ACEOF
2550 cat confdefs.h
>>conftest.
$ac_ext
2551 cat >>conftest.
$ac_ext <<_ACEOF
2552 /* end confdefs.h. */
2562 rm -f conftest.o conftest.obj
2563 if { (ac_try
="$ac_compile"
2565 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2566 *) ac_try_echo=$ac_try;;
2568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2569 (eval "$ac_compile") 2>&5
2571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2572 (exit $ac_status); }; then
2573 for ac_file in conftest.o conftest.obj conftest.*; do
2574 test -f "$ac_file" || continue;
2576 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2577 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2582 echo "$as_me: failed program was:" >&5
2583 sed 's/^/| /' conftest.$ac_ext >&5
2585 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2586 See \`config.log
' for more details." >&5
2587 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2588 See \`config.log' for more details.
" >&2;}
2589 { (exit 1); exit 1; }; }
2592 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2594 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
2595 echo "${ECHO_T}$ac_cv_objext" >&6; }
2596 OBJEXT=$ac_cv_objext
2598 { echo "$as_me:$LINENO: checking whether we are using the GNU C
++ compiler
" >&5
2599 echo $ECHO_N "checking whether we are using the GNU C
++ compiler...
$ECHO_C" >&6; }
2600 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2601 echo $ECHO_N "(cached
) $ECHO_C" >&6
2603 cat >conftest.$ac_ext <<_ACEOF
2606 cat confdefs.h >>conftest.$ac_ext
2607 cat >>conftest.$ac_ext <<_ACEOF
2608 /* end confdefs.h. */
2621 rm -f conftest.$ac_objext
2622 if { (ac_try="$ac_compile"
2624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2625 *) ac_try_echo=$ac_try;;
2627 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2628 (eval "$ac_compile") 2>conftest.er1
2630 grep -v '^ *+' conftest.er1 >conftest.err
2632 cat conftest.err >&5
2633 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2634 (exit $ac_status); } && {
2635 test -z "$ac_cxx_werror_flag" ||
2636 test ! -s conftest.err
2637 } && test -s conftest.$ac_objext; then
2640 echo "$as_me: failed program was
:" >&5
2641 sed 's/^/| /' conftest.$ac_ext >&5
2646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2647 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2650 { echo "$as_me:$LINENO: result
: $ac_cv_cxx_compiler_gnu" >&5
2651 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
2652 GXX=`test $ac_compiler_gnu = yes && echo yes`
2653 ac_test_CXXFLAGS=${CXXFLAGS+set}
2654 ac_save_CXXFLAGS=$CXXFLAGS
2655 { echo "$as_me:$LINENO: checking whether
$CXX accepts
-g" >&5
2656 echo $ECHO_N "checking whether
$CXX accepts
-g...
$ECHO_C" >&6; }
2657 if test "${ac_cv_prog_cxx_g+set}" = set; then
2658 echo $ECHO_N "(cached
) $ECHO_C" >&6
2660 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
2661 ac_cxx_werror_flag=yes
2664 cat >conftest.$ac_ext <<_ACEOF
2667 cat confdefs.h >>conftest.$ac_ext
2668 cat >>conftest.$ac_ext <<_ACEOF
2669 /* end confdefs.h. */
2679 rm -f conftest.$ac_objext
2680 if { (ac_try="$ac_compile"
2682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2683 *) ac_try_echo=$ac_try;;
2685 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2686 (eval "$ac_compile") 2>conftest.er1
2688 grep -v '^ *+' conftest.er1 >conftest.err
2690 cat conftest.err >&5
2691 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2692 (exit $ac_status); } && {
2693 test -z "$ac_cxx_werror_flag" ||
2694 test ! -s conftest.err
2695 } && test -s conftest.$ac_objext; then
2696 ac_cv_prog_cxx_g=yes
2698 echo "$as_me: failed program was
:" >&5
2699 sed 's/^/| /' conftest.$ac_ext >&5
2702 cat >conftest.$ac_ext <<_ACEOF
2705 cat confdefs.h >>conftest.$ac_ext
2706 cat >>conftest.$ac_ext <<_ACEOF
2707 /* end confdefs.h. */
2717 rm -f conftest.$ac_objext
2718 if { (ac_try="$ac_compile"
2720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2721 *) ac_try_echo=$ac_try;;
2723 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2724 (eval "$ac_compile") 2>conftest.er1
2726 grep -v '^ *+' conftest.er1 >conftest.err
2728 cat conftest.err >&5
2729 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2730 (exit $ac_status); } && {
2731 test -z "$ac_cxx_werror_flag" ||
2732 test ! -s conftest.err
2733 } && test -s conftest.$ac_objext; then
2736 echo "$as_me: failed program was
:" >&5
2737 sed 's/^/| /' conftest.$ac_ext >&5
2739 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2741 cat >conftest.$ac_ext <<_ACEOF
2744 cat confdefs.h >>conftest.$ac_ext
2745 cat >>conftest.$ac_ext <<_ACEOF
2746 /* end confdefs.h. */
2756 rm -f conftest.$ac_objext
2757 if { (ac_try="$ac_compile"
2759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2760 *) ac_try_echo=$ac_try;;
2762 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2763 (eval "$ac_compile") 2>conftest.er1
2765 grep -v '^ *+' conftest.er1 >conftest.err
2767 cat conftest.err >&5
2768 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2769 (exit $ac_status); } && {
2770 test -z "$ac_cxx_werror_flag" ||
2771 test ! -s conftest.err
2772 } && test -s conftest.$ac_objext; then
2773 ac_cv_prog_cxx_g=yes
2775 echo "$as_me: failed program was
:" >&5
2776 sed 's/^/| /' conftest.$ac_ext >&5
2781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2788 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2790 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cxx_g" >&5
2791 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
2792 if test "$ac_test_CXXFLAGS" = set; then
2793 CXXFLAGS=$ac_save_CXXFLAGS
2794 elif test $ac_cv_prog_cxx_g = yes; then
2795 if test "$GXX" = yes; then
2801 if test "$GXX" = yes; then
2808 ac_cpp='$CPP $CPPFLAGS'
2809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2812 DEPDIR="${am__leading_dot}deps
"
2814 ac_config_commands="$ac_config_commands depfiles
"
2817 am_make=${MAKE-make}
2818 cat > confinc << 'END'
2823 # If we don't find an include directive, just comment out the code.
2824 { echo "$as_me:$LINENO: checking
for style of include used by
$am_make" >&5
2825 echo $ECHO_N "checking
for style of include used by
$am_make...
$ECHO_C" >&6; }
2829 # First try GNU make style include.
2830 echo "include confinc" > confmf
2831 # We grep out `Entering directory' and `Leaving directory'
2832 # messages which can occur if `w' ends up in MAKEFLAGS.
2833 # In particular we don't look at `^make:' because GNU make might
2834 # be invoked under some other name (usually "gmake"), in which
2835 # case it prints its new name instead of `make'.
2836 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2841 # Now try BSD make style include.
2842 if test "$am__include" = "#"; then
2843 echo '.include "confinc"' > confmf
2844 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2845 am__include
=.include
2852 { echo "$as_me:$LINENO: result: $_am_result" >&5
2853 echo "${ECHO_T}$_am_result" >&6; }
2854 rm -f confinc confmf
2856 # Check whether --enable-dependency-tracking was given.
2857 if test "${enable_dependency_tracking+set}" = set; then
2858 enableval
=$enable_dependency_tracking;
2861 if test "x$enable_dependency_tracking" != xno
; then
2862 am_depcomp
="$ac_aux_dir/depcomp"
2867 if test "x$enable_dependency_tracking" != xno; then
2878 depcc
="$CXX" am_compiler_list
=
2880 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2881 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
2882 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
2883 echo $ECHO_N "(cached) $ECHO_C" >&6
2885 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2886 # We make a subdir and do the tests there. Otherwise we can end up
2887 # making bogus files that we don't know about and never remove. For
2888 # instance it was reported that on HP-UX the gcc test will end up
2889 # making a dummy file named `D' -- because `-MD' means `put the output
2892 # Copy depcomp to subdir because otherwise we won't find it if we're
2893 # using a relative directory.
2894 cp "$am_depcomp" conftest.dir
2896 # We will build objects and dependencies in a subdirectory because
2897 # it helps to detect inapplicable dependency modes. For instance
2898 # both Tru64's cc and ICC support -MD to output dependencies as a
2899 # side effect of compilation, but ICC will put the dependencies in
2900 # the current directory while Tru64 will put them in the object
2904 am_cv_CXX_dependencies_compiler_type
=none
2905 if test "$am_compiler_list" = ""; then
2906 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2908 for depmode
in $am_compiler_list; do
2909 # Setup a source with many dependencies, because some compilers
2910 # like to wrap large dependency lists on column 80 (with \), and
2911 # we should not choose a depcomp mode which is confused by this.
2913 # We need to recreate these files for each test, as the compiler may
2914 # overwrite some of them when testing with obscure command lines.
2915 # This happens at least with the AIX C compiler.
2917 for i
in 1 2 3 4 5 6; do
2918 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
2919 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2920 # Solaris 8's {/usr,}/bin/sh.
2921 touch sub
/conftst
$i.h
2923 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2927 # after this tag, mechanisms are not by side-effect, so they'll
2928 # only be used when explicitly requested
2929 if test "x$enable_dependency_tracking" = xyes
; then
2937 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2938 # mode. It turns out that the SunPro C++ compiler does not properly
2939 # handle `-M -o', and we need to detect this.
2940 if depmode
=$depmode \
2941 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
2942 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
2943 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
2944 >/dev
/null
2>conftest.err
&&
2945 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
2946 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
2947 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
2948 # icc doesn't choke on unknown options, it will just issue warnings
2949 # or remarks (even with -Werror). So we grep stderr for any message
2950 # that says an option was ignored or not supported.
2951 # When given -MP, icc 7.0 and 7.1 complain thusly:
2952 # icc: Command line warning: ignoring option '-M'; no argument required
2953 # The diagnosis changed in icc 8.0:
2954 # icc: Command line remark: option '-MP' not supported
2955 if (grep 'ignoring option' conftest.err ||
2956 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
2957 am_cv_CXX_dependencies_compiler_type
=$depmode
2966 am_cv_CXX_dependencies_compiler_type
=none
2970 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
2971 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
2972 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
2977 test "x$enable_dependency_tracking" != xno \
2978 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
2979 am__fastdepCXX_TRUE
=
2980 am__fastdepCXX_FALSE
='#'
2982 am__fastdepCXX_TRUE
='#'
2983 am__fastdepCXX_FALSE
=
2989 # Checks for libraries.
2991 # Checks for header files.
2993 ac_cpp
='$CPP $CPPFLAGS'
2994 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2995 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2996 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2997 if test -n "$ac_tool_prefix"; then
2998 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2999 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3000 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3001 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3002 if test "${ac_cv_prog_CC+set}" = set; then
3003 echo $ECHO_N "(cached) $ECHO_C" >&6
3005 if test -n "$CC"; then
3006 ac_cv_prog_CC
="$CC" # Let the user override the test.
3008 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3012 test -z "$as_dir" && as_dir
=.
3013 for ac_exec_ext
in '' $ac_executable_extensions; do
3014 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3015 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3016 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3026 if test -n "$CC"; then
3027 { echo "$as_me:$LINENO: result: $CC" >&5
3028 echo "${ECHO_T}$CC" >&6; }
3030 { echo "$as_me:$LINENO: result: no" >&5
3031 echo "${ECHO_T}no" >&6; }
3036 if test -z "$ac_cv_prog_CC"; then
3038 # Extract the first word of "gcc", so it can be a program name with args.
3039 set dummy gcc
; ac_word
=$2
3040 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3041 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3042 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3043 echo $ECHO_N "(cached) $ECHO_C" >&6
3045 if test -n "$ac_ct_CC"; then
3046 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3048 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3052 test -z "$as_dir" && as_dir
=.
3053 for ac_exec_ext
in '' $ac_executable_extensions; do
3054 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3055 ac_cv_prog_ac_ct_CC
="gcc"
3056 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3065 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3066 if test -n "$ac_ct_CC"; then
3067 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3068 echo "${ECHO_T}$ac_ct_CC" >&6; }
3070 { echo "$as_me:$LINENO: result: no" >&5
3071 echo "${ECHO_T}no" >&6; }
3074 if test "x$ac_ct_CC" = x
; then
3077 case $cross_compiling:$ac_tool_warned in
3079 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3080 whose name does not start with the host triplet. If you think this
3081 configuration is useful to you, please write to autoconf@gnu.org." >&5
3082 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3083 whose name does not start with the host triplet. If you think this
3084 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3085 ac_tool_warned
=yes ;;
3093 if test -z "$CC"; then
3094 if test -n "$ac_tool_prefix"; then
3095 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3096 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3097 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3098 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3099 if test "${ac_cv_prog_CC+set}" = set; then
3100 echo $ECHO_N "(cached) $ECHO_C" >&6
3102 if test -n "$CC"; then
3103 ac_cv_prog_CC
="$CC" # Let the user override the test.
3105 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3109 test -z "$as_dir" && as_dir
=.
3110 for ac_exec_ext
in '' $ac_executable_extensions; do
3111 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3112 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3113 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3123 if test -n "$CC"; then
3124 { echo "$as_me:$LINENO: result: $CC" >&5
3125 echo "${ECHO_T}$CC" >&6; }
3127 { echo "$as_me:$LINENO: result: no" >&5
3128 echo "${ECHO_T}no" >&6; }
3134 if test -z "$CC"; then
3135 # Extract the first word of "cc", so it can be a program name with args.
3136 set dummy cc
; ac_word
=$2
3137 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3138 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3139 if test "${ac_cv_prog_CC+set}" = set; then
3140 echo $ECHO_N "(cached) $ECHO_C" >&6
3142 if test -n "$CC"; then
3143 ac_cv_prog_CC
="$CC" # Let the user override the test.
3146 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3150 test -z "$as_dir" && as_dir
=.
3151 for ac_exec_ext
in '' $ac_executable_extensions; do
3152 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3153 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3154 ac_prog_rejected
=yes
3158 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3165 if test $ac_prog_rejected = yes; then
3166 # We found a bogon in the path, so make sure we never use it.
3167 set dummy
$ac_cv_prog_CC
3169 if test $# != 0; then
3170 # We chose a different compiler from the bogus one.
3171 # However, it has the same basename, so the bogon will be chosen
3172 # first if we set CC to just the basename; use the full file name.
3174 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3180 if test -n "$CC"; then
3181 { echo "$as_me:$LINENO: result: $CC" >&5
3182 echo "${ECHO_T}$CC" >&6; }
3184 { echo "$as_me:$LINENO: result: no" >&5
3185 echo "${ECHO_T}no" >&6; }
3190 if test -z "$CC"; then
3191 if test -n "$ac_tool_prefix"; then
3192 for ac_prog
in cl.exe
3194 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3195 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3196 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3197 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3198 if test "${ac_cv_prog_CC+set}" = set; then
3199 echo $ECHO_N "(cached) $ECHO_C" >&6
3201 if test -n "$CC"; then
3202 ac_cv_prog_CC
="$CC" # Let the user override the test.
3204 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3208 test -z "$as_dir" && as_dir
=.
3209 for ac_exec_ext
in '' $ac_executable_extensions; do
3210 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3211 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3212 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3222 if test -n "$CC"; then
3223 { echo "$as_me:$LINENO: result: $CC" >&5
3224 echo "${ECHO_T}$CC" >&6; }
3226 { echo "$as_me:$LINENO: result: no" >&5
3227 echo "${ECHO_T}no" >&6; }
3231 test -n "$CC" && break
3234 if test -z "$CC"; then
3236 for ac_prog
in cl.exe
3238 # Extract the first word of "$ac_prog", so it can be a program name with args.
3239 set dummy
$ac_prog; ac_word
=$2
3240 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3241 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3242 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3243 echo $ECHO_N "(cached) $ECHO_C" >&6
3245 if test -n "$ac_ct_CC"; then
3246 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3248 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3252 test -z "$as_dir" && as_dir
=.
3253 for ac_exec_ext
in '' $ac_executable_extensions; do
3254 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3255 ac_cv_prog_ac_ct_CC
="$ac_prog"
3256 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3265 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3266 if test -n "$ac_ct_CC"; then
3267 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3268 echo "${ECHO_T}$ac_ct_CC" >&6; }
3270 { echo "$as_me:$LINENO: result: no" >&5
3271 echo "${ECHO_T}no" >&6; }
3275 test -n "$ac_ct_CC" && break
3278 if test "x$ac_ct_CC" = x
; then
3281 case $cross_compiling:$ac_tool_warned in
3283 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3284 whose name does not start with the host triplet. If you think this
3285 configuration is useful to you, please write to autoconf@gnu.org." >&5
3286 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3287 whose name does not start with the host triplet. If you think this
3288 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3289 ac_tool_warned
=yes ;;
3298 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3299 See \`config.log' for more details." >&5
3300 echo "$as_me: error: no acceptable C compiler found in \$PATH
3301 See \`config.log' for more details." >&2;}
3302 { (exit 1); exit 1; }; }
3304 # Provide some information about the compiler.
3305 echo "$as_me:$LINENO: checking for C compiler version" >&5
3306 ac_compiler
=`set X $ac_compile; echo $2`
3307 { (ac_try
="$ac_compiler --version >&5"
3309 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3310 *) ac_try_echo=$ac_try;;
3312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3313 (eval "$ac_compiler --version >&5") 2>&5
3315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3316 (exit $ac_status); }
3317 { (ac_try="$ac_compiler -v >&5"
3319 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3320 *) ac_try_echo
=$ac_try;;
3322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3323 (eval "$ac_compiler -v >&5") 2>&5
3325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3326 (exit $ac_status); }
3327 { (ac_try
="$ac_compiler -V >&5"
3329 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3330 *) ac_try_echo=$ac_try;;
3332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3333 (eval "$ac_compiler -V >&5") 2>&5
3335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3336 (exit $ac_status); }
3338 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3339 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3340 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3341 echo $ECHO_N "(cached) $ECHO_C" >&6
3343 cat >conftest.$ac_ext <<_ACEOF
3346 cat confdefs.h >>conftest.$ac_ext
3347 cat >>conftest.$ac_ext <<_ACEOF
3348 /* end confdefs.h. */
3361 rm -f conftest.$ac_objext
3362 if { (ac_try="$ac_compile"
3364 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3365 *) ac_try_echo
=$ac_try;;
3367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3368 (eval "$ac_compile") 2>conftest.er1
3370 grep -v '^ *+' conftest.er1
>conftest.err
3372 cat conftest.err
>&5
3373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3374 (exit $ac_status); } && {
3375 test -z "$ac_c_werror_flag" ||
3376 test ! -s conftest.err
3377 } && test -s conftest.
$ac_objext; then
3380 echo "$as_me: failed program was:" >&5
3381 sed 's/^/| /' conftest.
$ac_ext >&5
3386 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3387 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3390 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3391 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3392 GCC
=`test $ac_compiler_gnu = yes && echo yes`
3393 ac_test_CFLAGS
=${CFLAGS+set}
3394 ac_save_CFLAGS
=$CFLAGS
3395 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3396 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3397 if test "${ac_cv_prog_cc_g+set}" = set; then
3398 echo $ECHO_N "(cached) $ECHO_C" >&6
3400 ac_save_c_werror_flag
=$ac_c_werror_flag
3401 ac_c_werror_flag
=yes
3404 cat >conftest.
$ac_ext <<_ACEOF
3407 cat confdefs.h
>>conftest.
$ac_ext
3408 cat >>conftest.
$ac_ext <<_ACEOF
3409 /* end confdefs.h. */
3419 rm -f conftest.
$ac_objext
3420 if { (ac_try
="$ac_compile"
3422 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3423 *) ac_try_echo=$ac_try;;
3425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3426 (eval "$ac_compile") 2>conftest.er1
3428 grep -v '^ *+' conftest.er1 >conftest.err
3430 cat conftest.err >&5
3431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3432 (exit $ac_status); } && {
3433 test -z "$ac_c_werror_flag" ||
3434 test ! -s conftest.err
3435 } && test -s conftest.$ac_objext; then
3438 echo "$as_me: failed program was:" >&5
3439 sed 's/^/| /' conftest.$ac_ext >&5
3442 cat >conftest.$ac_ext <<_ACEOF
3445 cat confdefs.h >>conftest.$ac_ext
3446 cat >>conftest.$ac_ext <<_ACEOF
3447 /* end confdefs.h. */
3457 rm -f conftest.$ac_objext
3458 if { (ac_try="$ac_compile"
3460 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3461 *) ac_try_echo
=$ac_try;;
3463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3464 (eval "$ac_compile") 2>conftest.er1
3466 grep -v '^ *+' conftest.er1
>conftest.err
3468 cat conftest.err
>&5
3469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3470 (exit $ac_status); } && {
3471 test -z "$ac_c_werror_flag" ||
3472 test ! -s conftest.err
3473 } && test -s conftest.
$ac_objext; then
3476 echo "$as_me: failed program was:" >&5
3477 sed 's/^/| /' conftest.
$ac_ext >&5
3479 ac_c_werror_flag
=$ac_save_c_werror_flag
3481 cat >conftest.
$ac_ext <<_ACEOF
3484 cat confdefs.h
>>conftest.
$ac_ext
3485 cat >>conftest.
$ac_ext <<_ACEOF
3486 /* end confdefs.h. */
3496 rm -f conftest.
$ac_objext
3497 if { (ac_try
="$ac_compile"
3499 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3500 *) ac_try_echo=$ac_try;;
3502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3503 (eval "$ac_compile") 2>conftest.er1
3505 grep -v '^ *+' conftest.er1 >conftest.err
3507 cat conftest.err >&5
3508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3509 (exit $ac_status); } && {
3510 test -z "$ac_c_werror_flag" ||
3511 test ! -s conftest.err
3512 } && test -s conftest.$ac_objext; then
3515 echo "$as_me: failed program was:" >&5
3516 sed 's/^/| /' conftest.$ac_ext >&5
3521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3528 ac_c_werror_flag=$ac_save_c_werror_flag
3530 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3531 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3532 if test "$ac_test_CFLAGS" = set; then
3533 CFLAGS=$ac_save_CFLAGS
3534 elif test $ac_cv_prog_cc_g = yes; then
3535 if test "$GCC" = yes; then
3541 if test "$GCC" = yes; then
3547 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3548 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3549 if test "${ac_cv_prog_cc_c89+set}" = set; then
3550 echo $ECHO_N "(cached) $ECHO_C" >&6
3552 ac_cv_prog_cc_c89=no
3554 cat >conftest.$ac_ext <<_ACEOF
3557 cat confdefs.h >>conftest.$ac_ext
3558 cat >>conftest.$ac_ext <<_ACEOF
3559 /* end confdefs.h. */
3562 #include <sys/types.h>
3563 #include <sys/stat.h>
3564 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3565 struct buf { int x; };
3566 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3567 static char *e (p, i)
3573 static char *f (char * (*g) (char **, int), char **p, ...)
3578 s = g (p, va_arg (v,int));
3583 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3584 function prototypes and stuff, but not '\xHH' hex character constants.
3585 These don't provoke an error unfortunately, instead are silently treated
3586 as 'x'. The following induces an error, until -std is added to get
3587 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3588 array size at least. It's necessary to write '\x00'==0 to get something
3589 that's true only with -std. */
3590 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3592 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3593 inside strings and character constants. */
3595 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3597 int test (int i, double x);
3598 struct s1 {int (*f) (int a);};
3599 struct s2 {int (*f) (double a);};
3600 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3606 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3611 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3612 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3614 CC="$ac_save_CC $ac_arg"
3615 rm -f conftest.$ac_objext
3616 if { (ac_try="$ac_compile"
3618 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3619 *) ac_try_echo
=$ac_try;;
3621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3622 (eval "$ac_compile") 2>conftest.er1
3624 grep -v '^ *+' conftest.er1
>conftest.err
3626 cat conftest.err
>&5
3627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3628 (exit $ac_status); } && {
3629 test -z "$ac_c_werror_flag" ||
3630 test ! -s conftest.err
3631 } && test -s conftest.
$ac_objext; then
3632 ac_cv_prog_cc_c89
=$ac_arg
3634 echo "$as_me: failed program was:" >&5
3635 sed 's/^/| /' conftest.
$ac_ext >&5
3640 rm -f core conftest.err conftest.
$ac_objext
3641 test "x$ac_cv_prog_cc_c89" != "xno" && break
3643 rm -f conftest.
$ac_ext
3648 case "x$ac_cv_prog_cc_c89" in
3650 { echo "$as_me:$LINENO: result: none needed" >&5
3651 echo "${ECHO_T}none needed" >&6; } ;;
3653 { echo "$as_me:$LINENO: result: unsupported" >&5
3654 echo "${ECHO_T}unsupported" >&6; } ;;
3656 CC
="$CC $ac_cv_prog_cc_c89"
3657 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3658 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3663 ac_cpp
='$CPP $CPPFLAGS'
3664 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3665 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3666 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3668 depcc
="$CC" am_compiler_list
=
3670 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3671 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3672 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3673 echo $ECHO_N "(cached) $ECHO_C" >&6
3675 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3676 # We make a subdir and do the tests there. Otherwise we can end up
3677 # making bogus files that we don't know about and never remove. For
3678 # instance it was reported that on HP-UX the gcc test will end up
3679 # making a dummy file named `D' -- because `-MD' means `put the output
3682 # Copy depcomp to subdir because otherwise we won't find it if we're
3683 # using a relative directory.
3684 cp "$am_depcomp" conftest.dir
3686 # We will build objects and dependencies in a subdirectory because
3687 # it helps to detect inapplicable dependency modes. For instance
3688 # both Tru64's cc and ICC support -MD to output dependencies as a
3689 # side effect of compilation, but ICC will put the dependencies in
3690 # the current directory while Tru64 will put them in the object
3694 am_cv_CC_dependencies_compiler_type
=none
3695 if test "$am_compiler_list" = ""; then
3696 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3698 for depmode
in $am_compiler_list; do
3699 # Setup a source with many dependencies, because some compilers
3700 # like to wrap large dependency lists on column 80 (with \), and
3701 # we should not choose a depcomp mode which is confused by this.
3703 # We need to recreate these files for each test, as the compiler may
3704 # overwrite some of them when testing with obscure command lines.
3705 # This happens at least with the AIX C compiler.
3707 for i
in 1 2 3 4 5 6; do
3708 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3709 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3710 # Solaris 8's {/usr,}/bin/sh.
3711 touch sub
/conftst
$i.h
3713 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3717 # after this tag, mechanisms are not by side-effect, so they'll
3718 # only be used when explicitly requested
3719 if test "x$enable_dependency_tracking" = xyes
; then
3727 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3728 # mode. It turns out that the SunPro C++ compiler does not properly
3729 # handle `-M -o', and we need to detect this.
3730 if depmode
=$depmode \
3731 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3732 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3733 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3734 >/dev
/null
2>conftest.err
&&
3735 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3736 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3737 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3738 # icc doesn't choke on unknown options, it will just issue warnings
3739 # or remarks (even with -Werror). So we grep stderr for any message
3740 # that says an option was ignored or not supported.
3741 # When given -MP, icc 7.0 and 7.1 complain thusly:
3742 # icc: Command line warning: ignoring option '-M'; no argument required
3743 # The diagnosis changed in icc 8.0:
3744 # icc: Command line remark: option '-MP' not supported
3745 if (grep 'ignoring option' conftest.err ||
3746 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3747 am_cv_CC_dependencies_compiler_type
=$depmode
3756 am_cv_CC_dependencies_compiler_type
=none
3760 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3761 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3762 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3767 test "x$enable_dependency_tracking" != xno \
3768 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3770 am__fastdepCC_FALSE
='#'
3772 am__fastdepCC_TRUE
='#'
3773 am__fastdepCC_FALSE
=
3779 ac_cpp
='$CPP $CPPFLAGS'
3780 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3781 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3782 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3783 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3784 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3785 # On Suns, sometimes $CPP names a directory.
3786 if test -n "$CPP" && test -d "$CPP"; then
3789 if test -z "$CPP"; then
3790 if test "${ac_cv_prog_CPP+set}" = set; then
3791 echo $ECHO_N "(cached) $ECHO_C" >&6
3793 # Double quotes because CPP needs to be expanded
3794 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3797 for ac_c_preproc_warn_flag
in '' yes
3799 # Use a header file that comes with gcc, so configuring glibc
3800 # with a fresh cross-compiler works.
3801 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3802 # <limits.h> exists even on freestanding compilers.
3803 # On the NeXT, cc -E runs the code through the compiler's parser,
3804 # not just through cpp. "Syntax error" is here to catch this case.
3805 cat >conftest.
$ac_ext <<_ACEOF
3808 cat confdefs.h
>>conftest.
$ac_ext
3809 cat >>conftest.
$ac_ext <<_ACEOF
3810 /* end confdefs.h. */
3812 # include <limits.h>
3814 # include <assert.h>
3818 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3820 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3821 *) ac_try_echo=$ac_try;;
3823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3824 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3826 grep -v '^ *+' conftest.er1 >conftest.err
3828 cat conftest.err >&5
3829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3830 (exit $ac_status); } >/dev/null && {
3831 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3832 test ! -s conftest.err
3836 echo "$as_me: failed program was:" >&5
3837 sed 's/^/| /' conftest.$ac_ext >&5
3839 # Broken: fails on valid input.
3843 rm -f conftest.err conftest.$ac_ext
3845 # OK, works on sane cases. Now check whether nonexistent headers
3846 # can be detected and how.
3847 cat >conftest.$ac_ext <<_ACEOF
3850 cat confdefs.h >>conftest.$ac_ext
3851 cat >>conftest.$ac_ext <<_ACEOF
3852 /* end confdefs.h. */
3853 #include <ac_nonexistent.h>
3855 if { (ac_try="$ac_cpp conftest.$ac_ext"
3857 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3858 *) ac_try_echo
=$ac_try;;
3860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3861 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3863 grep -v '^ *+' conftest.er1
>conftest.err
3865 cat conftest.err
>&5
3866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3867 (exit $ac_status); } >/dev
/null
&& {
3868 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3869 test ! -s conftest.err
3871 # Broken: success on invalid input.
3874 echo "$as_me: failed program was:" >&5
3875 sed 's/^/| /' conftest.
$ac_ext >&5
3877 # Passes both tests.
3882 rm -f conftest.err conftest.
$ac_ext
3885 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3886 rm -f conftest.err conftest.
$ac_ext
3887 if $ac_preproc_ok; then
3899 { echo "$as_me:$LINENO: result: $CPP" >&5
3900 echo "${ECHO_T}$CPP" >&6; }
3902 for ac_c_preproc_warn_flag
in '' yes
3904 # Use a header file that comes with gcc, so configuring glibc
3905 # with a fresh cross-compiler works.
3906 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3907 # <limits.h> exists even on freestanding compilers.
3908 # On the NeXT, cc -E runs the code through the compiler's parser,
3909 # not just through cpp. "Syntax error" is here to catch this case.
3910 cat >conftest.
$ac_ext <<_ACEOF
3913 cat confdefs.h
>>conftest.
$ac_ext
3914 cat >>conftest.
$ac_ext <<_ACEOF
3915 /* end confdefs.h. */
3917 # include <limits.h>
3919 # include <assert.h>
3923 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3925 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3926 *) ac_try_echo=$ac_try;;
3928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3929 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3931 grep -v '^ *+' conftest.er1 >conftest.err
3933 cat conftest.err >&5
3934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3935 (exit $ac_status); } >/dev/null && {
3936 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3937 test ! -s conftest.err
3941 echo "$as_me: failed program was:" >&5
3942 sed 's/^/| /' conftest.$ac_ext >&5
3944 # Broken: fails on valid input.
3948 rm -f conftest.err conftest.$ac_ext
3950 # OK, works on sane cases. Now check whether nonexistent headers
3951 # can be detected and how.
3952 cat >conftest.$ac_ext <<_ACEOF
3955 cat confdefs.h >>conftest.$ac_ext
3956 cat >>conftest.$ac_ext <<_ACEOF
3957 /* end confdefs.h. */
3958 #include <ac_nonexistent.h>
3960 if { (ac_try="$ac_cpp conftest.$ac_ext"
3962 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3963 *) ac_try_echo
=$ac_try;;
3965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3966 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3968 grep -v '^ *+' conftest.er1
>conftest.err
3970 cat conftest.err
>&5
3971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3972 (exit $ac_status); } >/dev
/null
&& {
3973 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3974 test ! -s conftest.err
3976 # Broken: success on invalid input.
3979 echo "$as_me: failed program was:" >&5
3980 sed 's/^/| /' conftest.
$ac_ext >&5
3982 # Passes both tests.
3987 rm -f conftest.err conftest.
$ac_ext
3990 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3991 rm -f conftest.err conftest.
$ac_ext
3992 if $ac_preproc_ok; then
3995 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3996 See \`config.log' for more details." >&5
3997 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3998 See \`config.log' for more details." >&2;}
3999 { (exit 1); exit 1; }; }
4003 ac_cpp
='$CPP $CPPFLAGS'
4004 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4005 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4006 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4009 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4010 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4011 if test "${ac_cv_path_GREP+set}" = set; then
4012 echo $ECHO_N "(cached) $ECHO_C" >&6
4014 # Extract the first word of "grep ggrep" to use in msg output
4015 if test -z "$GREP"; then
4016 set dummy
grep ggrep
; ac_prog_name
=$2
4017 if test "${ac_cv_path_GREP+set}" = set; then
4018 echo $ECHO_N "(cached) $ECHO_C" >&6
4020 ac_path_GREP_found
=false
4021 # Loop through the user's path and test for each of PROGNAME-LIST
4022 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4023 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4026 test -z "$as_dir" && as_dir
=.
4027 for ac_prog
in grep ggrep
; do
4028 for ac_exec_ext
in '' $ac_executable_extensions; do
4029 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4030 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4031 # Check for GNU ac_path_GREP and select it if it is found.
4032 # Check for GNU $ac_path_GREP
4033 case `"$ac_path_GREP" --version 2>&1` in
4035 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4038 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4041 cat "conftest.in" "conftest.in" >"conftest.tmp"
4042 mv "conftest.tmp" "conftest.in"
4043 cp "conftest.in" "conftest.nl"
4044 echo 'GREP' >> "conftest.nl"
4045 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4046 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4047 ac_count
=`expr $ac_count + 1`
4048 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4049 # Best one so far, save it but keep looking for a better one
4050 ac_cv_path_GREP
="$ac_path_GREP"
4051 ac_path_GREP_max
=$ac_count
4053 # 10*(2^10) chars as input seems more than enough
4054 test $ac_count -gt 10 && break
4056 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4060 $ac_path_GREP_found && break 3
4070 GREP
="$ac_cv_path_GREP"
4071 if test -z "$GREP"; then
4072 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4073 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4074 { (exit 1); exit 1; }; }
4078 ac_cv_path_GREP
=$GREP
4083 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4084 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4085 GREP
="$ac_cv_path_GREP"
4088 { echo "$as_me:$LINENO: checking for egrep" >&5
4089 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4090 if test "${ac_cv_path_EGREP+set}" = set; then
4091 echo $ECHO_N "(cached) $ECHO_C" >&6
4093 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4094 then ac_cv_path_EGREP
="$GREP -E"
4096 # Extract the first word of "egrep" to use in msg output
4097 if test -z "$EGREP"; then
4098 set dummy
egrep; ac_prog_name
=$2
4099 if test "${ac_cv_path_EGREP+set}" = set; then
4100 echo $ECHO_N "(cached) $ECHO_C" >&6
4102 ac_path_EGREP_found
=false
4103 # Loop through the user's path and test for each of PROGNAME-LIST
4104 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4105 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4108 test -z "$as_dir" && as_dir
=.
4109 for ac_prog
in egrep; do
4110 for ac_exec_ext
in '' $ac_executable_extensions; do
4111 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4112 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4113 # Check for GNU ac_path_EGREP and select it if it is found.
4114 # Check for GNU $ac_path_EGREP
4115 case `"$ac_path_EGREP" --version 2>&1` in
4117 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4120 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4123 cat "conftest.in" "conftest.in" >"conftest.tmp"
4124 mv "conftest.tmp" "conftest.in"
4125 cp "conftest.in" "conftest.nl"
4126 echo 'EGREP' >> "conftest.nl"
4127 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4128 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4129 ac_count
=`expr $ac_count + 1`
4130 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4131 # Best one so far, save it but keep looking for a better one
4132 ac_cv_path_EGREP
="$ac_path_EGREP"
4133 ac_path_EGREP_max
=$ac_count
4135 # 10*(2^10) chars as input seems more than enough
4136 test $ac_count -gt 10 && break
4138 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4142 $ac_path_EGREP_found && break 3
4152 EGREP
="$ac_cv_path_EGREP"
4153 if test -z "$EGREP"; then
4154 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4155 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4156 { (exit 1); exit 1; }; }
4160 ac_cv_path_EGREP
=$EGREP
4166 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4167 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4168 EGREP
="$ac_cv_path_EGREP"
4171 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4172 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4173 if test "${ac_cv_header_stdc+set}" = set; then
4174 echo $ECHO_N "(cached) $ECHO_C" >&6
4176 cat >conftest.
$ac_ext <<_ACEOF
4179 cat confdefs.h
>>conftest.
$ac_ext
4180 cat >>conftest.
$ac_ext <<_ACEOF
4181 /* end confdefs.h. */
4195 rm -f conftest.
$ac_objext
4196 if { (ac_try
="$ac_compile"
4198 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4199 *) ac_try_echo=$ac_try;;
4201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4202 (eval "$ac_compile") 2>conftest.er1
4204 grep -v '^ *+' conftest.er1 >conftest.err
4206 cat conftest.err >&5
4207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4208 (exit $ac_status); } && {
4209 test -z "$ac_c_werror_flag" ||
4210 test ! -s conftest.err
4211 } && test -s conftest.$ac_objext; then
4212 ac_cv_header_stdc=yes
4214 echo "$as_me: failed program was:" >&5
4215 sed 's/^/| /' conftest.$ac_ext >&5
4217 ac_cv_header_stdc=no
4220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4222 if test $ac_cv_header_stdc = yes; then
4223 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4224 cat >conftest.$ac_ext <<_ACEOF
4227 cat confdefs.h >>conftest.$ac_ext
4228 cat >>conftest.$ac_ext <<_ACEOF
4229 /* end confdefs.h. */
4233 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4234 $EGREP "memchr" >/dev/null 2>&1; then
4237 ac_cv_header_stdc=no
4243 if test $ac_cv_header_stdc = yes; then
4244 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4245 cat >conftest.$ac_ext <<_ACEOF
4248 cat confdefs.h >>conftest.$ac_ext
4249 cat >>conftest.$ac_ext <<_ACEOF
4250 /* end confdefs.h. */
4254 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4255 $EGREP "free" >/dev/null 2>&1; then
4258 ac_cv_header_stdc=no
4264 if test $ac_cv_header_stdc = yes; then
4265 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4266 if test "$cross_compiling" = yes; then
4269 cat >conftest.$ac_ext <<_ACEOF
4272 cat confdefs.h >>conftest.$ac_ext
4273 cat >>conftest.$ac_ext <<_ACEOF
4274 /* end confdefs.h. */
4277 #if ((' ' & 0x0FF) == 0x020)
4278 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4279 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4281 # define ISLOWER(c) \
4282 (('a' <= (c) && (c) <= 'i') \
4283 || ('j' <= (c) && (c) <= 'r') \
4284 || ('s' <= (c) && (c) <= 'z'))
4285 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4288 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4293 for (i = 0; i < 256; i++)
4294 if (XOR (islower (i), ISLOWER (i))
4295 || toupper (i) != TOUPPER (i))
4300 rm -f conftest$ac_exeext
4301 if { (ac_try="$ac_link"
4303 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4304 *) ac_try_echo
=$ac_try;;
4306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4307 (eval "$ac_link") 2>&5
4309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4310 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4311 { (case "(($ac_try" in
4312 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4313 *) ac_try_echo=$ac_try;;
4315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4316 (eval "$ac_try") 2>&5
4318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4319 (exit $ac_status); }; }; then
4322 echo "$as_me: program exited with status $ac_status" >&5
4323 echo "$as_me: failed program was:" >&5
4324 sed 's/^/| /' conftest.$ac_ext >&5
4327 ac_cv_header_stdc=no
4329 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4335 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4336 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4337 if test $ac_cv_header_stdc = yes; then
4339 cat >>confdefs.h <<\_ACEOF
4340 #define STDC_HEADERS 1
4345 #AC_CHECK_HEADERS([arpa/inet.h stdlib.h string.h unistd.h])
4347 # Checks for typedefs, structures, and compiler characteristics.
4348 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
4349 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
4350 if test "${ac_cv_c_const+set}" = set; then
4351 echo $ECHO_N "(cached) $ECHO_C" >&6
4353 cat >conftest.$ac_ext <<_ACEOF
4356 cat confdefs.h >>conftest.$ac_ext
4357 cat >>conftest.$ac_ext <<_ACEOF
4358 /* end confdefs.h. */
4363 /* FIXME: Include the comments suggested by Paul. */
4365 /* Ultrix mips cc rejects this. */
4366 typedef int charset[2];
4368 /* SunOS 4.1.1 cc rejects this. */
4369 char const *const *pcpcc;
4371 /* NEC SVR4.0.2 mips cc rejects this. */
4372 struct point {int x, y;};
4373 static struct point const zero = {0,0};
4374 /* AIX XL C 1.02.0.0 rejects this.
4375 It does not let you subtract one const X* pointer from another in
4376 an arm of an if-expression whose if-part is not a constant
4378 const char *g = "string";
4379 pcpcc = &g + (g ? g-g : 0);
4380 /* HPUX 7.0 cc rejects these. */
4382 ppc = (char**) pcpcc;
4383 pcpcc = (char const *const *) ppc;
4384 { /* SCO 3.2v4 cc rejects this. */
4386 char const *s = 0 ? (char *) 0 : (char const *) 0;
4391 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4393 const int *foo = &x[0];
4396 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4397 typedef const int *iptr;
4401 { /* AIX XL C 1.02.0.0 rejects this saying
4402 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4403 struct s { int j; const int *ap[3]; };
4404 struct s *b; b->j = 5;
4406 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4410 return !cs[0] && !zero.x;
4417 rm -f conftest.$ac_objext
4418 if { (ac_try="$ac_compile"
4420 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4421 *) ac_try_echo
=$ac_try;;
4423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4424 (eval "$ac_compile") 2>conftest.er1
4426 grep -v '^ *+' conftest.er1
>conftest.err
4428 cat conftest.err
>&5
4429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4430 (exit $ac_status); } && {
4431 test -z "$ac_c_werror_flag" ||
4432 test ! -s conftest.err
4433 } && test -s conftest.
$ac_objext; then
4436 echo "$as_me: failed program was:" >&5
4437 sed 's/^/| /' conftest.
$ac_ext >&5
4442 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4444 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
4445 echo "${ECHO_T}$ac_cv_c_const" >&6; }
4446 if test $ac_cv_c_const = no
; then
4448 cat >>confdefs.h
<<\_ACEOF
4454 { echo "$as_me:$LINENO: checking for inline" >&5
4455 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
4456 if test "${ac_cv_c_inline+set}" = set; then
4457 echo $ECHO_N "(cached) $ECHO_C" >&6
4460 for ac_kw
in inline __inline__ __inline
; do
4461 cat >conftest.
$ac_ext <<_ACEOF
4464 cat confdefs.h
>>conftest.
$ac_ext
4465 cat >>conftest.
$ac_ext <<_ACEOF
4466 /* end confdefs.h. */
4469 static $ac_kw foo_t static_foo () {return 0; }
4470 $ac_kw foo_t foo () {return 0; }
4474 rm -f conftest.
$ac_objext
4475 if { (ac_try
="$ac_compile"
4477 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4478 *) ac_try_echo=$ac_try;;
4480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4481 (eval "$ac_compile") 2>conftest.er1
4483 grep -v '^ *+' conftest.er1 >conftest.err
4485 cat conftest.err >&5
4486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4487 (exit $ac_status); } && {
4488 test -z "$ac_c_werror_flag" ||
4489 test ! -s conftest.err
4490 } && test -s conftest.$ac_objext; then
4491 ac_cv_c_inline=$ac_kw
4493 echo "$as_me: failed program was:" >&5
4494 sed 's/^/| /' conftest.$ac_ext >&5
4499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4500 test "$ac_cv_c_inline" != no && break
4504 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
4505 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
4508 case $ac_cv_c_inline in
4511 case $ac_cv_c_inline in
4513 *) ac_val=$ac_cv_c_inline;;
4515 cat >>confdefs.h <<_ACEOF
4517 #define inline $ac_val
4523 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4533 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4534 inttypes.h stdint.h unistd.h
4536 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
4537 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4538 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4539 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4540 echo $ECHO_N "(cached) $ECHO_C" >&6
4542 cat >conftest.$ac_ext <<_ACEOF
4545 cat confdefs.h >>conftest.$ac_ext
4546 cat >>conftest.$ac_ext <<_ACEOF
4547 /* end confdefs.h. */
4548 $ac_includes_default
4550 #include <$ac_header>
4552 rm -f conftest.$ac_objext
4553 if { (ac_try="$ac_compile"
4555 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4556 *) ac_try_echo
=$ac_try;;
4558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4559 (eval "$ac_compile") 2>conftest.er1
4561 grep -v '^ *+' conftest.er1
>conftest.err
4563 cat conftest.err
>&5
4564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4565 (exit $ac_status); } && {
4566 test -z "$ac_c_werror_flag" ||
4567 test ! -s conftest.err
4568 } && test -s conftest.
$ac_objext; then
4569 eval "$as_ac_Header=yes"
4571 echo "$as_me: failed program was:" >&5
4572 sed 's/^/| /' conftest.
$ac_ext >&5
4574 eval "$as_ac_Header=no"
4577 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4579 ac_res
=`eval echo '${'$as_ac_Header'}'`
4580 { echo "$as_me:$LINENO: result: $ac_res" >&5
4581 echo "${ECHO_T}$ac_res" >&6; }
4582 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4583 cat >>confdefs.h
<<_ACEOF
4584 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4592 { echo "$as_me:$LINENO: checking for size_t" >&5
4593 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
4594 if test "${ac_cv_type_size_t+set}" = set; then
4595 echo $ECHO_N "(cached) $ECHO_C" >&6
4597 cat >conftest.
$ac_ext <<_ACEOF
4600 cat confdefs.h
>>conftest.
$ac_ext
4601 cat >>conftest.
$ac_ext <<_ACEOF
4602 /* end confdefs.h. */
4603 $ac_includes_default
4604 typedef size_t ac__type_new_;
4608 if ((ac__type_new_ *) 0)
4610 if (sizeof (ac__type_new_))
4616 rm -f conftest.
$ac_objext
4617 if { (ac_try
="$ac_compile"
4619 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4620 *) ac_try_echo=$ac_try;;
4622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4623 (eval "$ac_compile") 2>conftest.er1
4625 grep -v '^ *+' conftest.er1 >conftest.err
4627 cat conftest.err >&5
4628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4629 (exit $ac_status); } && {
4630 test -z "$ac_c_werror_flag" ||
4631 test ! -s conftest.err
4632 } && test -s conftest.$ac_objext; then
4633 ac_cv_type_size_t=yes
4635 echo "$as_me: failed program was:" >&5
4636 sed 's/^/| /' conftest.$ac_ext >&5
4638 ac_cv_type_size_t=no
4641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4643 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
4644 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
4645 if test $ac_cv_type_size_t = yes; then
4649 cat >>confdefs.h <<_ACEOF
4650 #define size_t unsigned int
4656 { echo "$as_me:$LINENO: checking for uint16_t" >&5
4657 echo $ECHO_N "checking for uint16_t... $ECHO_C" >&6; }
4658 if test "${ac_cv_c_uint16_t+set}" = set; then
4659 echo $ECHO_N "(cached) $ECHO_C" >&6
4662 for ac_type in 'uint16_t' 'unsigned int' 'unsigned long int' \
4663 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
4664 cat >conftest.$ac_ext <<_ACEOF
4667 cat confdefs.h >>conftest.$ac_ext
4668 cat >>conftest.$ac_ext <<_ACEOF
4669 /* end confdefs.h. */
4670 $ac_includes_default
4674 static int test_array [1 - 2 * !(($ac_type) -1 >> (16 - 1) == 1)];
4681 rm -f conftest.$ac_objext
4682 if { (ac_try="$ac_compile"
4684 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4685 *) ac_try_echo
=$ac_try;;
4687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4688 (eval "$ac_compile") 2>conftest.er1
4690 grep -v '^ *+' conftest.er1
>conftest.err
4692 cat conftest.err
>&5
4693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4694 (exit $ac_status); } && {
4695 test -z "$ac_c_werror_flag" ||
4696 test ! -s conftest.err
4697 } && test -s conftest.
$ac_objext; then
4699 uint16_t
) ac_cv_c_uint16_t
=yes ;;
4700 *) ac_cv_c_uint16_t
=$ac_type ;;
4704 echo "$as_me: failed program was:" >&5
4705 sed 's/^/| /' conftest.
$ac_ext >&5
4710 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4711 test "$ac_cv_c_uint16_t" != no
&& break
4714 { echo "$as_me:$LINENO: result: $ac_cv_c_uint16_t" >&5
4715 echo "${ECHO_T}$ac_cv_c_uint16_t" >&6; }
4716 case $ac_cv_c_uint16_t in #(
4721 cat >>confdefs.h
<<_ACEOF
4722 #define uint16_t $ac_cv_c_uint16_t
4728 { echo "$as_me:$LINENO: checking for uint32_t" >&5
4729 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6; }
4730 if test "${ac_cv_c_uint32_t+set}" = set; then
4731 echo $ECHO_N "(cached) $ECHO_C" >&6
4734 for ac_type
in 'uint32_t' 'unsigned int' 'unsigned long int' \
4735 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
4736 cat >conftest.
$ac_ext <<_ACEOF
4739 cat confdefs.h
>>conftest.
$ac_ext
4740 cat >>conftest.
$ac_ext <<_ACEOF
4741 /* end confdefs.h. */
4742 $ac_includes_default
4746 static int test_array [1 - 2 * !(($ac_type) -1 >> (32 - 1) == 1)];
4753 rm -f conftest.
$ac_objext
4754 if { (ac_try
="$ac_compile"
4756 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4757 *) ac_try_echo=$ac_try;;
4759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4760 (eval "$ac_compile") 2>conftest.er1
4762 grep -v '^ *+' conftest.er1 >conftest.err
4764 cat conftest.err >&5
4765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4766 (exit $ac_status); } && {
4767 test -z "$ac_c_werror_flag" ||
4768 test ! -s conftest.err
4769 } && test -s conftest.$ac_objext; then
4771 uint32_t) ac_cv_c_uint32_t=yes ;;
4772 *) ac_cv_c_uint32_t=$ac_type ;;
4776 echo "$as_me: failed program was:" >&5
4777 sed 's/^/| /' conftest.$ac_ext >&5
4782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4783 test "$ac_cv_c_uint32_t" != no && break
4786 { echo "$as_me:$LINENO: result: $ac_cv_c_uint32_t" >&5
4787 echo "${ECHO_T}$ac_cv_c_uint32_t" >&6; }
4788 case $ac_cv_c_uint32_t in #(
4792 cat >>confdefs.h <<\_ACEOF
4797 cat >>confdefs.h <<_ACEOF
4798 #define uint32_t $ac_cv_c_uint32_t
4804 { echo "$as_me:$LINENO: checking for uint64_t" >&5
4805 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6; }
4806 if test "${ac_cv_c_uint64_t+set}" = set; then
4807 echo $ECHO_N "(cached) $ECHO_C" >&6
4810 for ac_type in 'uint64_t' 'unsigned int' 'unsigned long int' \
4811 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
4812 cat >conftest.$ac_ext <<_ACEOF
4815 cat confdefs.h >>conftest.$ac_ext
4816 cat >>conftest.$ac_ext <<_ACEOF
4817 /* end confdefs.h. */
4818 $ac_includes_default
4822 static int test_array [1 - 2 * !(($ac_type) -1 >> (64 - 1) == 1)];
4829 rm -f conftest.$ac_objext
4830 if { (ac_try="$ac_compile"
4832 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4833 *) ac_try_echo
=$ac_try;;
4835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4836 (eval "$ac_compile") 2>conftest.er1
4838 grep -v '^ *+' conftest.er1
>conftest.err
4840 cat conftest.err
>&5
4841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4842 (exit $ac_status); } && {
4843 test -z "$ac_c_werror_flag" ||
4844 test ! -s conftest.err
4845 } && test -s conftest.
$ac_objext; then
4847 uint64_t
) ac_cv_c_uint64_t
=yes ;;
4848 *) ac_cv_c_uint64_t
=$ac_type ;;
4852 echo "$as_me: failed program was:" >&5
4853 sed 's/^/| /' conftest.
$ac_ext >&5
4858 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4859 test "$ac_cv_c_uint64_t" != no
&& break
4862 { echo "$as_me:$LINENO: result: $ac_cv_c_uint64_t" >&5
4863 echo "${ECHO_T}$ac_cv_c_uint64_t" >&6; }
4864 case $ac_cv_c_uint64_t in #(
4868 cat >>confdefs.h
<<\_ACEOF
4873 cat >>confdefs.h
<<_ACEOF
4874 #define uint64_t $ac_cv_c_uint64_t
4880 { echo "$as_me:$LINENO: checking for uint8_t" >&5
4881 echo $ECHO_N "checking for uint8_t... $ECHO_C" >&6; }
4882 if test "${ac_cv_c_uint8_t+set}" = set; then
4883 echo $ECHO_N "(cached) $ECHO_C" >&6
4886 for ac_type
in 'uint8_t' 'unsigned int' 'unsigned long int' \
4887 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
4888 cat >conftest.
$ac_ext <<_ACEOF
4891 cat confdefs.h
>>conftest.
$ac_ext
4892 cat >>conftest.
$ac_ext <<_ACEOF
4893 /* end confdefs.h. */
4894 $ac_includes_default
4898 static int test_array [1 - 2 * !(($ac_type) -1 >> (8 - 1) == 1)];
4905 rm -f conftest.
$ac_objext
4906 if { (ac_try
="$ac_compile"
4908 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4909 *) ac_try_echo=$ac_try;;
4911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4912 (eval "$ac_compile") 2>conftest.er1
4914 grep -v '^ *+' conftest.er1 >conftest.err
4916 cat conftest.err >&5
4917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4918 (exit $ac_status); } && {
4919 test -z "$ac_c_werror_flag" ||
4920 test ! -s conftest.err
4921 } && test -s conftest.$ac_objext; then
4923 uint8_t) ac_cv_c_uint8_t=yes ;;
4924 *) ac_cv_c_uint8_t=$ac_type ;;
4928 echo "$as_me: failed program was:" >&5
4929 sed 's/^/| /' conftest.$ac_ext >&5
4934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4935 test "$ac_cv_c_uint8_t" != no && break
4938 { echo "$as_me:$LINENO: result: $ac_cv_c_uint8_t" >&5
4939 echo "${ECHO_T}$ac_cv_c_uint8_t" >&6; }
4940 case $ac_cv_c_uint8_t in #(
4944 cat >>confdefs.h <<\_ACEOF
4949 cat >>confdefs.h <<_ACEOF
4950 #define uint8_t $ac_cv_c_uint8_t
4956 # Checks for library functions.
4958 #AC_CHECK_FUNCS([floor sqrt])
4960 if test "${ac_cv_header_jack_jack_h+set}" = set; then
4961 { echo "$as_me:$LINENO: checking for jack/jack.h" >&5
4962 echo $ECHO_N "checking for jack/jack.h... $ECHO_C" >&6; }
4963 if test "${ac_cv_header_jack_jack_h+set}" = set; then
4964 echo $ECHO_N "(cached) $ECHO_C" >&6
4966 { echo "$as_me:$LINENO: result: $ac_cv_header_jack_jack_h" >&5
4967 echo "${ECHO_T}$ac_cv_header_jack_jack_h" >&6; }
4969 # Is the header compilable?
4970 { echo "$as_me:$LINENO: checking jack/jack.h usability" >&5
4971 echo $ECHO_N "checking jack/jack.h usability... $ECHO_C" >&6; }
4972 cat >conftest.$ac_ext <<_ACEOF
4975 cat confdefs.h >>conftest.$ac_ext
4976 cat >>conftest.$ac_ext <<_ACEOF
4977 /* end confdefs.h. */
4978 $ac_includes_default
4979 #include <jack/jack.h>
4981 rm -f conftest.$ac_objext
4982 if { (ac_try="$ac_compile"
4984 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4985 *) ac_try_echo
=$ac_try;;
4987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4988 (eval "$ac_compile") 2>conftest.er1
4990 grep -v '^ *+' conftest.er1
>conftest.err
4992 cat conftest.err
>&5
4993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4994 (exit $ac_status); } && {
4995 test -z "$ac_c_werror_flag" ||
4996 test ! -s conftest.err
4997 } && test -s conftest.
$ac_objext; then
4998 ac_header_compiler
=yes
5000 echo "$as_me: failed program was:" >&5
5001 sed 's/^/| /' conftest.
$ac_ext >&5
5003 ac_header_compiler
=no
5006 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5007 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5008 echo "${ECHO_T}$ac_header_compiler" >&6; }
5010 # Is the header present?
5011 { echo "$as_me:$LINENO: checking jack/jack.h presence" >&5
5012 echo $ECHO_N "checking jack/jack.h presence... $ECHO_C" >&6; }
5013 cat >conftest.
$ac_ext <<_ACEOF
5016 cat confdefs.h
>>conftest.
$ac_ext
5017 cat >>conftest.
$ac_ext <<_ACEOF
5018 /* end confdefs.h. */
5019 #include <jack/jack.h>
5021 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5023 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5024 *) ac_try_echo=$ac_try;;
5026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5027 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5029 grep -v '^ *+' conftest.er1 >conftest.err
5031 cat conftest.err >&5
5032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5033 (exit $ac_status); } >/dev/null && {
5034 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5035 test ! -s conftest.err
5037 ac_header_preproc=yes
5039 echo "$as_me: failed program was:" >&5
5040 sed 's/^/| /' conftest.$ac_ext >&5
5042 ac_header_preproc=no
5045 rm -f conftest.err conftest.$ac_ext
5046 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5047 echo "${ECHO_T}$ac_header_preproc" >&6; }
5049 # So? What about this header?
5050 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5052 { echo "$as_me:$LINENO: WARNING: jack/jack.h: accepted by the compiler, rejected by the preprocessor!" >&5
5053 echo "$as_me: WARNING: jack/jack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
5054 { echo "$as_me:$LINENO: WARNING: jack/jack.h: proceeding with the compiler's result" >&5
5055 echo "$as_me: WARNING: jack/jack.h: proceeding with the compiler's result" >&2;}
5056 ac_header_preproc=yes
5059 { echo "$as_me:$LINENO: WARNING: jack/jack.h: present but cannot be compiled" >&5
5060 echo "$as_me: WARNING: jack/jack.h: present but cannot be compiled" >&2;}
5061 { echo "$as_me:$LINENO: WARNING: jack/jack.h: check for missing prerequisite headers?" >&5
5062 echo "$as_me: WARNING: jack/jack.h: check for missing prerequisite headers?" >&2;}
5063 { echo "$as_me:$LINENO: WARNING: jack/jack.h: see the Autoconf documentation" >&5
5064 echo "$as_me: WARNING: jack/jack.h: see the Autoconf documentation" >&2;}
5065 { echo "$as_me:$LINENO: WARNING: jack/jack.h: section \"Present But Cannot Be Compiled\"" >&5
5066 echo "$as_me: WARNING: jack/jack.h: section \"Present But Cannot Be Compiled\"" >&2;}
5067 { echo "$as_me:$LINENO: WARNING: jack/jack.h: proceeding with the preprocessor's result" >&5
5068 echo "$as_me: WARNING: jack/jack.h: proceeding with the preprocessor's result" >&2;}
5069 { echo "$as_me:$LINENO: WARNING: jack/jack.h: in the future, the compiler will take precedence" >&5
5070 echo "$as_me: WARNING: jack/jack.h: in the future, the compiler will take precedence" >&2;}
5072 ## ------------------------------------ ##
5073 ## Report this to unknown@somewhere.org ##
5074 ## ------------------------------------ ##
5076 ) | sed "s/^/$as_me: WARNING: /" >&2
5079 { echo "$as_me:$LINENO: checking for jack/jack.h" >&5
5080 echo $ECHO_N "checking for jack/jack.h... $ECHO_C" >&6; }
5081 if test "${ac_cv_header_jack_jack_h+set}" = set; then
5082 echo $ECHO_N "(cached) $ECHO_C" >&6
5084 ac_cv_header_jack_jack_h=$ac_header_preproc
5086 { echo "$as_me:$LINENO: result: $ac_cv_header_jack_jack_h" >&5
5087 echo "${ECHO_T}$ac_cv_header_jack_jack_h" >&6; }
5090 if test $ac_cv_header_jack_jack_h = yes; then
5094 { { echo "$as_me:$LINENO: error:
5095 Cannot find JACK header file.
5096 Please install JACK.
5098 echo "$as_me: error:
5099 Cannot find JACK header file.
5100 Please install JACK.
5102 { (exit 1); exit 1; }; }
5108 { echo "$as_me:$LINENO: checking for jack_midi_event_write in -ljack" >&5
5109 echo $ECHO_N "checking for jack_midi_event_write in -ljack... $ECHO_C" >&6; }
5110 if test "${ac_cv_lib_jack_jack_midi_event_write+set}" = set; then
5111 echo $ECHO_N "(cached) $ECHO_C" >&6
5113 ac_check_lib_save_LIBS=$LIBS
5115 cat >conftest.$ac_ext <<_ACEOF
5118 cat confdefs.h >>conftest.$ac_ext
5119 cat >>conftest.$ac_ext <<_ACEOF
5120 /* end confdefs.h. */
5122 /* Override any GCC internal prototype to avoid an error.
5123 Use char because int might match the return type of a GCC
5124 builtin and then its argument prototype would still apply. */
5128 char jack_midi_event_write ();
5132 return jack_midi_event_write ();
5137 rm -f conftest.$ac_objext conftest$ac_exeext
5138 if { (ac_try="$ac_link"
5140 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5141 *) ac_try_echo
=$ac_try;;
5143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5144 (eval "$ac_link") 2>conftest.er1
5146 grep -v '^ *+' conftest.er1
>conftest.err
5148 cat conftest.err
>&5
5149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5150 (exit $ac_status); } && {
5151 test -z "$ac_c_werror_flag" ||
5152 test ! -s conftest.err
5153 } && test -s conftest
$ac_exeext &&
5154 $as_test_x conftest
$ac_exeext; then
5155 ac_cv_lib_jack_jack_midi_event_write
=yes
5157 echo "$as_me: failed program was:" >&5
5158 sed 's/^/| /' conftest.
$ac_ext >&5
5160 ac_cv_lib_jack_jack_midi_event_write
=no
5163 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5164 conftest
$ac_exeext conftest.
$ac_ext
5165 LIBS
=$ac_check_lib_save_LIBS
5167 { echo "$as_me:$LINENO: result: $ac_cv_lib_jack_jack_midi_event_write" >&5
5168 echo "${ECHO_T}$ac_cv_lib_jack_jack_midi_event_write" >&6; }
5169 if test $ac_cv_lib_jack_jack_midi_event_write = yes; then
5170 cat >>confdefs.h
<<_ACEOF
5171 #define HAVE_LIBJACK 1
5178 { { echo "$as_me:$LINENO: error:
5179 JACK midi support missing.
5180 Upgrade to a recent version of JACK.
5182 echo "$as_me: error:
5183 JACK midi support missing.
5184 Upgrade to a recent version of JACK.
5186 { (exit 1); exit 1; }; }
5191 # Extract the first word of "fltk2-config", so it can be a program name with args.
5192 set dummy fltk2-config
; ac_word
=$2
5193 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5194 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5195 if test "${ac_cv_prog_fltk2found+set}" = set; then
5196 echo $ECHO_N "(cached) $ECHO_C" >&6
5198 if test -n "$fltk2found"; then
5199 ac_cv_prog_fltk2found
="$fltk2found" # Let the user override the test.
5201 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5205 test -z "$as_dir" && as_dir
=.
5206 for ac_exec_ext
in '' $ac_executable_extensions; do
5207 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5208 ac_cv_prog_fltk2found
="yes"
5209 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5216 test -z "$ac_cv_prog_fltk2found" && ac_cv_prog_fltk2found
="no"
5219 fltk2found
=$ac_cv_prog_fltk2found
5220 if test -n "$fltk2found"; then
5221 { echo "$as_me:$LINENO: result: $fltk2found" >&5
5222 echo "${ECHO_T}$fltk2found" >&6; }
5224 { echo "$as_me:$LINENO: result: no" >&5
5225 echo "${ECHO_T}no" >&6; }
5229 if test "$fltk2found" == "no"; then
5230 { { echo "$as_me:$LINENO: error:
5232 Make sure FLTK 2 is installed correctly.
5234 echo "$as_me: error:
5236 Make sure FLTK 2 is installed correctly.
5238 { (exit 1); exit 1; }; }
5241 ac_config_files
="$ac_config_files Makefile src/Makefile doc/Makefile gfx/Makefile"
5243 cat >confcache
<<\_ACEOF
5244 # This file is a shell script that caches the results of configure
5245 # tests run on this system so they can be shared between configure
5246 # scripts and configure runs, see configure's option --config-cache.
5247 # It is not useful on other systems. If it contains results you don't
5248 # want to keep, you may remove or edit it.
5250 # config.status only pays attention to the cache file if you give it
5251 # the --recheck option to rerun configure.
5253 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5254 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5259 # The following way of writing the cache mishandles newlines in values,
5260 # but we know of no workaround that is simple, portable, and efficient.
5261 # So, we kill variables containing newlines.
5262 # Ultrix sh set writes to stderr and can't be redirected directly,
5263 # and sets the high bit in the cache file unless we assign to the vars.
5265 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5266 eval ac_val
=\$
$ac_var
5270 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
5271 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
5274 _ | IFS | as_nl
) ;; #(
5275 *) $as_unset $ac_var ;;
5281 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5282 *${as_nl}ac_space
=\
*)
5283 # `set' does not quote correctly, so add quotes (double-quote
5284 # substitution turns \\\\ into \\, and sed turns \\ into \).
5287 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5290 # `set' quotes correctly as required by POSIX, so do not add quotes.
5291 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5300 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5302 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5304 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
5305 if test -w "$cache_file"; then
5306 test "x$cache_file" != "x/dev/null" &&
5307 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
5308 echo "$as_me: updating cache $cache_file" >&6;}
5309 cat confcache
>$cache_file
5311 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
5312 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5317 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
5318 # Let make expand exec_prefix.
5319 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
5321 DEFS
=-DHAVE_CONFIG_H
5325 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
5326 # 1. Remove the extension, and $U if already installed.
5327 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
5328 ac_i
=`echo "$ac_i" | sed "$ac_script"`
5329 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5330 # will be set to the directory where LIBOBJS objects are built.
5331 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5332 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
5336 LTLIBOBJS
=$ac_ltlibobjs
5339 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5340 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
5341 Usually this means the macro was only invoked conditionally." >&5
5342 echo "$as_me: error: conditional \"AMDEP\" was never defined.
5343 Usually this means the macro was only invoked conditionally." >&2;}
5344 { (exit 1); exit 1; }; }
5346 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
5347 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
5348 Usually this means the macro was only invoked conditionally." >&5
5349 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
5350 Usually this means the macro was only invoked conditionally." >&2;}
5351 { (exit 1); exit 1; }; }
5353 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5354 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
5355 Usually this means the macro was only invoked conditionally." >&5
5356 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
5357 Usually this means the macro was only invoked conditionally." >&2;}
5358 { (exit 1); exit 1; }; }
5361 : ${CONFIG_STATUS=./config.status}
5362 ac_clean_files_save
=$ac_clean_files
5363 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
5364 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5365 echo "$as_me: creating $CONFIG_STATUS" >&6;}
5366 cat >$CONFIG_STATUS <<_ACEOF
5368 # Generated by $as_me.
5369 # Run this file to recreate the current configuration.
5370 # Compiler output produced by configure, useful for debugging
5371 # configure, is in config.log if it exists.
5376 SHELL=\${CONFIG_SHELL-$SHELL}
5379 cat >>$CONFIG_STATUS <<\_ACEOF
5380 ## --------------------- ##
5381 ## M4sh Initialization. ##
5382 ## --------------------- ##
5384 # Be more Bourne compatible
5385 DUALCASE
=1; export DUALCASE
# for MKS sh
5386 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
5389 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5390 # is contrary to our usage. Disable this feature.
5391 alias -g '${1+"$@"}'='"$@"'
5392 setopt NO_GLOB_SUBST
5394 case `(set -o) 2>/dev/null` in
5395 *posix
*) set -o posix
;;
5404 # Avoid depending upon Character Ranges.
5405 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
5406 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5407 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
5408 as_cr_digits
='0123456789'
5409 as_cr_alnum
=$as_cr_Letters$as_cr_digits
5411 # The user is always right.
5412 if test "${PATH_SEPARATOR+set}" != set; then
5413 echo "#! /bin/sh" >conf$$.sh
5414 echo "exit 0" >>conf$$.sh
5416 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
5424 # Support unset when possible.
5425 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
5433 # We need space, tab and new line, in precisely that order. Quoting is
5434 # there to prevent editors from complaining about space-tab.
5435 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5436 # splitting by setting IFS to empty value.)
5441 # Find who we are. Look in the path if we contain no directory separator.
5443 *[\\/]* ) as_myself
=$0 ;;
5444 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5448 test -z "$as_dir" && as_dir
=.
5449 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
5455 # We did not find ourselves, most probably we were run as `sh COMMAND'
5456 # in which case we are not to be found in the path.
5457 if test "x$as_myself" = x
; then
5460 if test ! -f "$as_myself"; then
5461 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5462 { (exit 1); exit 1; }
5465 # Work around bugs in pre-3.0 UWIN ksh.
5466 for as_var
in ENV MAIL MAILPATH
5467 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
5475 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5476 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5477 LC_TELEPHONE LC_TIME
5479 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5480 eval $as_var=C
; export $as_var
5482 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
5486 # Required to use basename.
5487 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
5488 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
5494 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5495 as_basename
=basename
5501 # Name of the executable.
5502 as_me
=`$as_basename -- "$0" ||
5503 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5504 X"$0" : 'X\(//\)$' \| \
5505 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5507 sed '/^.*\/\([^/][^/]*\)\/*$/{
5528 test "x$as_lineno_1" != "x$as_lineno_2" &&
5529 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
5531 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5532 # uniformly replaced by the line number. The first 'sed' inserts a
5533 # line-number line after each line using $LINENO; the second 'sed'
5534 # does the real work. The second script uses 'N' to pair each
5535 # line-number line with the line containing $LINENO, and appends
5536 # trailing '-' during substitution so that $LINENO is not a special
5538 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5539 # scripts with optimization help from Paolo Bonzini. Blame Lee
5540 # E. McMahon (1931-1989) for sed's syntax. :-)
5552 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
5556 chmod +x
"$as_me.lineno" ||
5557 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
5558 { (exit 1); exit 1; }; }
5560 # Don't try to exec as it changes $[0], causing all sort of problems
5561 # (the dirname of $[0] is not the place where we might find the
5562 # original and so on. Autoconf is especially sensitive to this).
5564 # Exit status is that of the last command.
5569 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
5575 ECHO_C
= ECHO_N
= ECHO_T
=
5578 case `echo 'x\c'` in
5579 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
5586 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
5587 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
5593 rm -f conf$$ conf$$.exe conf$$.
file
5594 if test -d conf$$.dir
; then
5595 rm -f conf$$.dir
/conf$$.
file
5601 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
5603 # ... but there are two gotchas:
5604 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5605 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5606 # In both cases, we have to default to `cp -p'.
5607 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
5609 elif ln conf$$.
file conf$$
2>/dev
/null
; then
5614 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
5615 rmdir conf$$.dir
2>/dev
/null
5617 if mkdir
-p .
2>/dev
/null
; then
5620 test -d .
/-p && rmdir .
/-p
5624 if test -x / >/dev
/null
2>&1; then
5627 if ls -dL / >/dev
/null
2>&1; then
5634 if test -d "$1"; then
5640 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
5641 ???[sx]*):;;*)false;;esac;fi
5645 as_executable_p
=$as_test_x
5647 # Sed expression to map a string onto a valid CPP name.
5648 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5650 # Sed expression to map a string onto a valid variable name.
5651 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5656 # Save the log message, to keep $[0] and so on meaningful, and to
5657 # report actual input values of CONFIG_FILES etc. instead of their
5658 # values after options handling.
5660 This file was extended by epichord $as_me 0.0.0, which was
5661 generated by GNU Autoconf 2.61. Invocation command line was
5663 CONFIG_FILES = $CONFIG_FILES
5664 CONFIG_HEADERS = $CONFIG_HEADERS
5665 CONFIG_LINKS = $CONFIG_LINKS
5666 CONFIG_COMMANDS = $CONFIG_COMMANDS
5669 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5674 cat >>$CONFIG_STATUS <<_ACEOF
5675 # Files that config.status was made for.
5676 config_files="$ac_config_files"
5677 config_headers="$ac_config_headers"
5678 config_commands="$ac_config_commands"
5682 cat >>$CONFIG_STATUS <<\_ACEOF
5684 \`$as_me' instantiates files from templates according to the
5685 current configuration.
5687 Usage: $0 [OPTIONS] [FILE]...
5689 -h, --help print this help, then exit
5690 -V, --version print version number and configuration settings, then exit
5691 -q, --quiet do not print progress messages
5692 -d, --debug don't remove temporary files
5693 --recheck update $as_me by reconfiguring in the same conditions
5694 --file=FILE[:TEMPLATE]
5695 instantiate the configuration file FILE
5696 --header=FILE[:TEMPLATE]
5697 instantiate the configuration header FILE
5699 Configuration files:
5702 Configuration headers:
5705 Configuration commands:
5708 Report bugs to <bug-autoconf@gnu.org>."
5711 cat >>$CONFIG_STATUS <<_ACEOF
5713 epichord config.status 0.0.0
5714 configured by $0, generated by GNU Autoconf 2.61,
5715 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
5717 Copyright (C) 2006 Free Software Foundation, Inc.
5718 This config.status script is free software; the Free Software Foundation
5719 gives unlimited permission to copy, distribute and modify it."
5726 cat >>$CONFIG_STATUS <<\_ACEOF
5727 # If no file are specified by the user, then we need to provide default
5728 # value. By we need to know if files were specified by the user.
5734 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
5735 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
5746 # Handling of the options.
5747 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
5749 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
5750 echo "$ac_cs_version"; exit ;;
5751 --debug |
--debu |
--deb |
--de |
--d |
-d )
5753 --file |
--fil |
--fi |
--f )
5755 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
5756 ac_need_defaults
=false
;;
5757 --header |
--heade |
--head |
--hea )
5759 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
5760 ac_need_defaults
=false
;;
5762 # Conflict between --help and --header
5763 { echo "$as_me: error: ambiguous option: $1
5764 Try \`$0 --help' for more information." >&2
5765 { (exit 1); exit 1; }; };;
5766 --help |
--hel |
-h )
5767 echo "$ac_cs_usage"; exit ;;
5768 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
5769 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
5773 -*) { echo "$as_me: error: unrecognized option: $1
5774 Try \`$0 --help' for more information." >&2
5775 { (exit 1); exit 1; }; } ;;
5777 *) ac_config_targets
="$ac_config_targets $1"
5778 ac_need_defaults
=false
;;
5784 ac_configure_extra_args
=
5786 if $ac_cs_silent; then
5788 ac_configure_extra_args
="$ac_configure_extra_args --silent"
5792 cat >>$CONFIG_STATUS <<_ACEOF
5793 if \$ac_cs_recheck; then
5794 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5797 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5801 cat >>$CONFIG_STATUS <<\_ACEOF
5805 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5806 ## Running $as_me. ##
5812 cat >>$CONFIG_STATUS <<_ACEOF
5816 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5820 cat >>$CONFIG_STATUS <<\_ACEOF
5822 # Handling of arguments.
5823 for ac_config_target
in $ac_config_targets
5825 case $ac_config_target in
5826 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
5827 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
5828 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
5829 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
5830 "doc/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
5831 "gfx/Makefile") CONFIG_FILES
="$CONFIG_FILES gfx/Makefile" ;;
5833 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5834 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5835 { (exit 1); exit 1; }; };;
5840 # If the user did not use the arguments to specify the items to instantiate,
5841 # then the envvar interface is used. Set only those that are not.
5842 # We use the long form for the default assignment because of an extremely
5843 # bizarre bug on SunOS 4.1.3.
5844 if $ac_need_defaults; then
5845 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
5846 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
5847 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
5850 # Have a temporary directory for convenience. Make it in the build tree
5851 # simply because there is no reason against having it here, and in addition,
5852 # creating and moving files from /tmp can sometimes cause problems.
5853 # Hook for its removal unless debugging.
5854 # Note that there is a small window in which the directory will not be cleaned:
5855 # after its creation but before its name has been assigned to `$tmp'.
5859 trap 'exit_status=$?
5860 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5862 trap '{ (exit 1); exit 1; }' 1 2 13 15
5864 # Create a (secure) tmp directory for tmp files.
5867 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5868 test -n "$tmp" && test -d "$tmp"
5871 tmp
=.
/conf$$
-$RANDOM
5872 (umask 077 && mkdir
"$tmp")
5875 echo "$me: cannot create a temporary directory in ." >&2
5876 { (exit 1); exit 1; }
5880 # Set up the sed scripts for CONFIG_FILES section.
5883 # No need to generate the scripts if there are no CONFIG_FILES.
5884 # This happens for instance when ./config.status config.h
5885 if test -n "$CONFIG_FILES"; then
5892 for ac_last_try
in false false false false false
:; do
5893 cat >conf$
$subs.
sed <<_ACEOF
5894 SHELL!$SHELL$ac_delim
5895 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
5896 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
5897 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
5898 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
5899 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
5900 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
5901 exec_prefix!$exec_prefix$ac_delim
5902 prefix!$prefix$ac_delim
5903 program_transform_name!$program_transform_name$ac_delim
5904 bindir!$bindir$ac_delim
5905 sbindir!$sbindir$ac_delim
5906 libexecdir!$libexecdir$ac_delim
5907 datarootdir!$datarootdir$ac_delim
5908 datadir!$datadir$ac_delim
5909 sysconfdir!$sysconfdir$ac_delim
5910 sharedstatedir!$sharedstatedir$ac_delim
5911 localstatedir!$localstatedir$ac_delim
5912 includedir!$includedir$ac_delim
5913 oldincludedir!$oldincludedir$ac_delim
5914 docdir!$docdir$ac_delim
5915 infodir!$infodir$ac_delim
5916 htmldir!$htmldir$ac_delim
5917 dvidir!$dvidir$ac_delim
5918 pdfdir!$pdfdir$ac_delim
5919 psdir!$psdir$ac_delim
5920 libdir!$libdir$ac_delim
5921 localedir!$localedir$ac_delim
5922 mandir!$mandir$ac_delim
5924 ECHO_C!$ECHO_C$ac_delim
5925 ECHO_N!$ECHO_N$ac_delim
5926 ECHO_T!$ECHO_T$ac_delim
5928 build_alias!$build_alias$ac_delim
5929 host_alias!$host_alias$ac_delim
5930 target_alias!$target_alias$ac_delim
5931 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
5932 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
5933 INSTALL_DATA!$INSTALL_DATA$ac_delim
5934 CYGPATH_W!$CYGPATH_W$ac_delim
5935 PACKAGE!$PACKAGE$ac_delim
5936 VERSION!$VERSION$ac_delim
5937 ACLOCAL!$ACLOCAL$ac_delim
5938 AUTOCONF!$AUTOCONF$ac_delim
5939 AUTOMAKE!$AUTOMAKE$ac_delim
5940 AUTOHEADER!$AUTOHEADER$ac_delim
5941 MAKEINFO!$MAKEINFO$ac_delim
5942 install_sh!$install_sh$ac_delim
5943 STRIP!$STRIP$ac_delim
5944 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
5945 mkdir_p!$mkdir_p$ac_delim
5947 SET_MAKE!$SET_MAKE$ac_delim
5948 am__leading_dot!$am__leading_dot$ac_delim
5949 AMTAR!$AMTAR$ac_delim
5950 am__tar!$am__tar$ac_delim
5951 am__untar!$am__untar$ac_delim
5953 CXXFLAGS!$CXXFLAGS$ac_delim
5954 LDFLAGS!$LDFLAGS$ac_delim
5955 CPPFLAGS!$CPPFLAGS$ac_delim
5956 ac_ct_CXX!$ac_ct_CXX$ac_delim
5957 EXEEXT!$EXEEXT$ac_delim
5958 OBJEXT!$OBJEXT$ac_delim
5959 DEPDIR!$DEPDIR$ac_delim
5960 am__include!$am__include$ac_delim
5961 am__quote!$am__quote$ac_delim
5962 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
5963 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
5964 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
5965 CXXDEPMODE!$CXXDEPMODE$ac_delim
5966 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
5967 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
5969 CFLAGS!$CFLAGS$ac_delim
5970 ac_ct_CC!$ac_ct_CC$ac_delim
5971 CCDEPMODE!$CCDEPMODE$ac_delim
5972 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
5973 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
5976 EGREP!$EGREP$ac_delim
5977 fltk2found!$fltk2found$ac_delim
5978 LIBOBJS!$LIBOBJS$ac_delim
5979 LTLIBOBJS!$LTLIBOBJS$ac_delim
5982 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 86; then
5984 elif $ac_last_try; then
5985 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5986 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5987 { (exit 1); exit 1; }; }
5989 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
5993 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
5994 if test -n "$ac_eof"; then
5995 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
5996 ac_eof
=`expr $ac_eof + 1`
5999 cat >>$CONFIG_STATUS <<_ACEOF
6000 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
6001 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
6004 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
6005 s/^/s,@/; s/!/@,|#_!!_#|/
6008 s/'"$ac_delim"'$/,g/; t
6010 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
6011 ' >>$CONFIG_STATUS <conf$
$subs.
sed
6012 rm -f conf$
$subs.
sed
6013 cat >>$CONFIG_STATUS <<_ACEOF
6020 # VPATH may cause trouble with some makes, so we remove $(srcdir),
6021 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6022 # trailing colons and then remove the whole line if VPATH becomes empty
6023 # (actually we leave an empty line to preserve line numbers).
6024 if test "x$srcdir" = x.
; then
6025 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
6029 s/^\([^=]*=[ ]*\):*/\1/
6035 cat >>$CONFIG_STATUS <<\_ACEOF
6036 fi # test -n "$CONFIG_FILES"
6039 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
6042 :[FHLC
]) ac_mode
=$ac_tag; continue;;
6044 case $ac_mode$ac_tag in
6046 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
6047 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
6048 { (exit 1); exit 1; }; };;
6049 :[FH
]-) ac_tag
=-:-;;
6050 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
6067 -) ac_f
="$tmp/stdin";;
6068 *) # Look for the file first in the build tree, then in the source tree
6069 # (if the path is not absolute). The absolute path cannot be DOS-style,
6070 # because $ac_f cannot contain `:'.
6074 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
6076 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
6077 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
6078 { (exit 1); exit 1; }; };;
6080 ac_file_inputs
="$ac_file_inputs $ac_f"
6083 # Let's still pretend it is `configure' which instantiates (i.e., don't
6084 # use $as_me), people would be surprised to read:
6085 # /* config.h. Generated by config.status. */
6086 configure_input
="Generated from "`IFS=:
6087 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
6088 if test x
"$ac_file" != x-
; then
6089 configure_input
="$ac_file. $configure_input"
6090 { echo "$as_me:$LINENO: creating $ac_file" >&5
6091 echo "$as_me: creating $ac_file" >&6;}
6095 *:-:* |
*:-) cat >"$tmp/stdin";;
6100 ac_dir
=`$as_dirname -- "$ac_file" ||
6101 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6102 X"$ac_file" : 'X\(//\)[^/]' \| \
6103 X"$ac_file" : 'X\(//\)$' \| \
6104 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6106 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6125 -*) as_dir
=.
/$as_dir;;
6127 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
6131 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
6132 *) as_qdir
=$as_dir;;
6134 as_dirs
="'$as_qdir' $as_dirs"
6135 as_dir
=`$as_dirname -- "$as_dir" ||
6136 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6137 X"$as_dir" : 'X\(//\)[^/]' \| \
6138 X"$as_dir" : 'X\(//\)$' \| \
6139 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6141 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6158 test -d "$as_dir" && break
6160 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
6161 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
6162 echo "$as_me: error: cannot create directory $as_dir" >&2;}
6163 { (exit 1); exit 1; }; }; }
6167 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
6169 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6170 # A ".." for each directory in $ac_dir_suffix.
6171 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
6172 case $ac_top_builddir_sub in
6173 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
6174 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
6177 ac_abs_top_builddir
=$ac_pwd
6178 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
6179 # for backward compatibility:
6180 ac_top_builddir
=$ac_top_build_prefix
6183 .
) # We are building in place.
6185 ac_top_srcdir
=$ac_top_builddir_sub
6186 ac_abs_top_srcdir
=$ac_pwd ;;
6187 [\\/]* | ?
:[\\/]* ) # Absolute name.
6188 ac_srcdir
=$srcdir$ac_dir_suffix;
6189 ac_top_srcdir
=$srcdir
6190 ac_abs_top_srcdir
=$srcdir ;;
6192 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
6193 ac_top_srcdir
=$ac_top_build_prefix$srcdir
6194 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
6196 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
6206 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
6207 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
6211 cat >>$CONFIG_STATUS <<\_ACEOF
6212 # If the template does not know about datarootdir, expand it.
6213 # FIXME: This hack should be removed a few years after 2.60.
6214 ac_datarootdir_hack
=; ac_datarootdir_seen
=
6216 case `sed -n '/datarootdir/ {
6225 ' $ac_file_inputs` in
6226 *datarootdir
*) ac_datarootdir_seen
=yes;;
6227 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
6228 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6229 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6231 cat >>$CONFIG_STATUS <<_ACEOF
6232 ac_datarootdir_hack='
6233 s&@datadir@&$datadir&g
6234 s&@docdir@&$docdir&g
6235 s&@infodir@&$infodir&g
6236 s&@localedir@&$localedir&g
6237 s&@mandir@&$mandir&g
6238 s&\\\${datarootdir}&$datarootdir&g' ;;
6242 # Neutralize VPATH when `$srcdir' = `.'.
6243 # Shell code in configure.ac might set extrasub.
6244 # FIXME: do we really want to maintain this feature?
6245 cat >>$CONFIG_STATUS <<_ACEOF
6249 cat >>$CONFIG_STATUS <<\_ACEOF
6251 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
6252 s
&@configure_input@
&$configure_input&;t t
6253 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
6254 s
&@srcdir@
&$ac_srcdir&;t t
6255 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
6256 s
&@top_srcdir@
&$ac_top_srcdir&;t t
6257 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
6258 s
&@builddir@
&$ac_builddir&;t t
6259 s
&@abs_builddir@
&$ac_abs_builddir&;t t
6260 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
6261 s
&@INSTALL@
&$ac_INSTALL&;t t
6262 $ac_datarootdir_hack
6263 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" >$tmp/out
6265 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6266 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
6267 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
6268 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
6269 which seems to be undefined. Please make sure it is defined." >&5
6270 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
6271 which seems to be undefined. Please make sure it is defined." >&2;}
6275 -) cat "$tmp/out"; rm -f "$tmp/out";;
6276 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
6285 # Transform confdefs.h into a sed script `conftest.defines', that
6286 # substitutes the proper values into config.h.in to produce config.h.
6287 rm -f conftest.defines conftest.
tail
6288 # First, append a space to every undef/define line, to ease matching.
6289 echo 's/$/ /' >conftest.defines
6290 # Then, protect against being on the right side of a sed subst, or in
6291 # an unquoted here document, in config.status. If some macros were
6292 # called several times there might be several #defines for the same
6293 # symbol, which is useless. But do not sort them, since the last
6294 # AC_DEFINE must be honored.
6295 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
6296 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
6297 # NAME is the cpp macro being defined, VALUE is the value it is being given.
6298 # PARAMS is the parameter list in the macro definition--in most cases, it's
6299 # just an empty string.
6300 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
6301 ac_dB
='\\)[ (].*,\\1define\\2'
6309 s/^[ ]*#[ ]*define[ ][ ]*//
6314 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
6315 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
6316 ' >>conftest.defines
6318 # Remove the space that was appended to ease matching.
6319 # Then replace #undef with comments. This is necessary, for
6320 # example, in the case of _POSIX_SOURCE, which is predefined and required
6321 # on some systems where configure will not decide to define it.
6322 # (The regexp can be short, since the line contains either #define or #undef.)
6324 s,^[ #]*u.*,/* & */,' >>conftest.defines
6326 # Break up conftest.defines:
6329 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
6330 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
6331 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
6333 ac_in
='$ac_file_inputs'
6334 ac_out
='"$tmp/out1"'
6335 ac_nxt
='"$tmp/out2"'
6339 # Write a here document:
6340 cat >>$CONFIG_STATUS <<_ACEOF
6341 # First, check the format of the line:
6342 cat >"\$tmp/defines.sed" <<\\CEOF
6343 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
6344 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
6348 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
6350 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
6351 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
6352 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
6353 grep . conftest.
tail >/dev
/null ||
break
6354 rm -f conftest.defines
6355 mv conftest.
tail conftest.defines
6357 rm -f conftest.defines conftest.
tail
6359 echo "ac_result=$ac_in" >>$CONFIG_STATUS
6360 cat >>$CONFIG_STATUS <<\_ACEOF
6361 if test x
"$ac_file" != x-
; then
6362 echo "/* $configure_input */" >"$tmp/config.h"
6363 cat "$ac_result" >>"$tmp/config.h"
6364 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
6365 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6366 echo "$as_me: $ac_file is unchanged" >&6;}
6369 mv "$tmp/config.h" $ac_file
6372 echo "/* $configure_input */"
6376 # Compute $ac_file's index in $config_headers.
6378 for _am_header
in $config_headers :; do
6380 $ac_file |
$ac_file:* )
6383 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
6386 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
6387 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6388 X$ac_file : 'X\(//\)[^/]' \| \
6389 X$ac_file : 'X\(//\)$' \| \
6390 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
6392 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6408 s/.*/./; q'`/stamp-h
$_am_stamp_count
6411 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
6412 echo "$as_me: executing $ac_file commands" >&6;}
6417 case $ac_file$ac_mode in
6418 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
6419 # Strip MF so we end up with the name of the file.
6420 mf
=`echo "$mf" | sed -e 's/:.*$//'`
6421 # Check whether this is an Automake generated Makefile or not.
6422 # We used to match only the files named `Makefile.in', but
6423 # some people rename them; so instead we look at the file content.
6424 # Grep'ing the first line is not enough: some people post-process
6425 # each Makefile.in and add a new line on top of each file to say so.
6426 # So let's grep whole file.
6427 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
6428 dirpart
=`$as_dirname -- "$mf" ||
6429 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6430 X"$mf" : 'X\(//\)[^/]' \| \
6431 X"$mf" : 'X\(//\)$' \| \
6432 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6434 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6454 # Extract the definition of DEPDIR, am__include, and am__quote
6455 # from the Makefile without running `make'.
6456 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
6457 test -z "$DEPDIR" && continue
6458 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
6459 test -z "am__include" && continue
6460 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
6461 # When using ansi2knr, U may be empty or an underscore; expand it
6462 U
=`sed -n 's/^U = //p' < "$mf"`
6463 # Find all dependency output files, they are included files with
6464 # $(DEPDIR) in their names. We invoke sed twice because it is the
6465 # simplest approach to changing $(DEPDIR) to its actual value in the
6467 for file in `sed -n "
6468 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6469 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6470 # Make sure the directory exists.
6471 test -f "$dirpart/$file" && continue
6472 fdir
=`$as_dirname -- "$file" ||
6473 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6474 X"$file" : 'X\(//\)[^/]' \| \
6475 X"$file" : 'X\(//\)$' \| \
6476 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6478 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6495 { as_dir
=$dirpart/$fdir
6497 -*) as_dir
=.
/$as_dir;;
6499 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
6503 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
6504 *) as_qdir
=$as_dir;;
6506 as_dirs
="'$as_qdir' $as_dirs"
6507 as_dir
=`$as_dirname -- "$as_dir" ||
6508 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6509 X"$as_dir" : 'X\(//\)[^/]' \| \
6510 X"$as_dir" : 'X\(//\)$' \| \
6511 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6513 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6530 test -d "$as_dir" && break
6532 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
6533 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
6534 echo "$as_me: error: cannot create directory $as_dir" >&2;}
6535 { (exit 1); exit 1; }; }; }
6536 # echo "creating $dirpart/$file"
6537 echo '# dummy' > "$dirpart/$file"
6546 { (exit 0); exit 0; }
6548 chmod +x
$CONFIG_STATUS
6549 ac_clean_files
=$ac_clean_files_save
6552 # configure is writing to config.log, and then calls config.status.
6553 # config.status does its own redirection, appending to config.log.
6554 # Unfortunately, on DOS this fails, as config.log is still kept open
6555 # by configure, so config.status won't be able to write to it; its
6556 # output is simply discarded. So we exec the FD to /dev/null,
6557 # effectively closing config.log, so it can be properly (re)opened and
6558 # appended to by config.status. When coming back to configure, we
6559 # need to make the FD available again.
6560 if test "$no_create" != yes; then
6562 ac_config_status_args
=
6563 test "$silent" = yes &&
6564 ac_config_status_args
="$ac_config_status_args --quiet"
6566 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
6568 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6569 # would make configure fail if this is the last instruction.
6570 $ac_cs_success ||
{ (exit 1); exit 1; }