2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.63 for construo 0.2.2.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be more Bourne compatible
14 DUALCASE
=1; export DUALCASE
# for MKS sh
15 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
18 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
23 case `(set -o) 2>/dev/null` in
24 *posix
*) set -o posix
;;
33 # Avoid depending upon Character Ranges.
34 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
35 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
37 as_cr_digits
='0123456789'
38 as_cr_alnum
=$as_cr_Letters$as_cr_digits
43 # Printing a long string crashes Solaris 7 /usr/bin/printf.
44 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
45 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
46 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
47 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81 # Support unset when possible.
82 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
90 # We need space, tab and new line, in precisely that order. Quoting is
91 # there to prevent editors from complaining about space-tab.
92 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
93 # splitting by setting IFS to empty value.)
96 # Find who we are. Look in the path if we contain no directory separator.
98 *[\\/]* ) as_myself=$0 ;;
99 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
103 test -z "$as_dir" && as_dir=.
104 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
110 # We did not find ourselves, most probably we were run as `sh COMMAND'
111 # in which case we are not to be found in the path.
112 if test "x$as_myself" = x
; then
115 if test ! -f "$as_myself"; then
116 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 { (exit 1); exit 1; }
120 # Work around bugs in pre-3.0 UWIN ksh.
121 for as_var
in ENV MAIL MAILPATH
122 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
134 # Required to use basename.
135 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
136 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
142 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
149 # Name of the executable.
150 as_me
=`$as_basename -- "$0" ||
151 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
152 X"$0" : 'X\(//\)$' \| \
153 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
155 sed '/^.*\/\([^/][^/]*\)\/*$/{
173 if test "x$CONFIG_SHELL" = x
; then
174 if (eval ":") 2>/dev
/null
; then
180 if test $as_have_required = yes && (eval ":
190 as_func_ret_success () {
193 as_func_ret_failure () {
198 if as_func_success; then
202 echo as_func_success failed.
205 if as_func_failure; then
207 echo as_func_failure succeeded.
210 if as_func_ret_success; then
214 echo as_func_ret_success failed.
217 if as_func_ret_failure; then
219 echo as_func_ret_failure succeeded.
222 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
226 echo positional parameters were not saved.
229 test \$exitcode = 0) || { (exit 1); exit 1; }
234 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
235 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
236 ") 2> /dev
/null
; then
240 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
241 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
244 test -z "$as_dir" && as_dir
=.
247 for as_base
in sh bash ksh sh5
; do
248 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
255 for as_shell
in $as_candidate_shells $SHELL; do
256 # Try only shells that exist, to save several forks.
257 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
258 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
259 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
262 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
263 # is contrary to our usage. Disable this feature.
264 alias -g '${1+"$@"}'='"$@"'
267 case `(set -o) 2>/dev/null` in
268 *posix
*) set -o posix
;;
277 CONFIG_SHELL
=$as_shell
279 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
280 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
283 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
284 # is contrary to our usage. Disable this feature.
285 alias -g '${1+"$@"}'='"$@"'
288 case `(set -o) 2>/dev/null` in
289 *posix
*) set -o posix
;;
305 as_func_ret_success
() {
308 as_func_ret_failure
() {
313 if as_func_success
; then
317 echo as_func_success failed.
320 if as_func_failure
; then
322 echo as_func_failure succeeded.
325 if as_func_ret_success
; then
329 echo as_func_ret_success failed.
332 if as_func_ret_failure
; then
334 echo as_func_ret_failure succeeded.
337 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
341 echo positional parameters were not saved.
344 test $exitcode = 0) ||
{ (exit 1); exit 1; }
349 test "x$as_lineno_1" != "x$as_lineno_2" &&
350 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
361 if test "x$CONFIG_SHELL" != x
; then
362 for as_var
in BASH_ENV ENV
363 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
366 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
370 if test $as_have_required = no
; then
371 echo This
script requires a shell
more modern than all the
372 echo shells that I found on your system. Please
install a
373 echo modern shell
, or manually run the
script under such a
374 echo shell
if you
do have one.
375 { (exit 1); exit 1; }
385 (eval "as_func_return () {
394 as_func_ret_success () {
397 as_func_ret_failure () {
402 if as_func_success; then
406 echo as_func_success failed.
409 if as_func_failure; then
411 echo as_func_failure succeeded.
414 if as_func_ret_success; then
418 echo as_func_ret_success failed.
421 if as_func_ret_failure; then
423 echo as_func_ret_failure succeeded.
426 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
430 echo positional parameters were not saved.
433 test \$exitcode = 0") ||
{
434 echo No shell found that supports shell functions.
435 echo Please tell bug-autoconf@gnu.org about your system
,
436 echo including any error possibly output before this message.
437 echo This can
help us improve future autoconf versions.
438 echo Configuration will now proceed without shell functions.
445 test "x$as_lineno_1" != "x$as_lineno_2" &&
446 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
448 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
449 # uniformly replaced by the line number. The first 'sed' inserts a
450 # line-number line after each line using $LINENO; the second 'sed'
451 # does the real work. The second script uses 'N' to pair each
452 # line-number line with the line containing $LINENO, and appends
453 # trailing '-' during substitution so that $LINENO is not a special
455 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
456 # scripts with optimization help from Paolo Bonzini. Blame Lee
457 # E. McMahon (1931-1989) for sed's syntax. :-)
469 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
473 chmod +x
"$as_me.lineno" ||
474 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
475 { (exit 1); exit 1; }; }
477 # Don't try to exec as it changes $[0], causing all sort of problems
478 # (the dirname of $[0] is not the place where we might find the
479 # original and so on. Autoconf is especially sensitive to this).
481 # Exit status is that of the last command.
486 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
492 ECHO_C
= ECHO_N
= ECHO_T
=
496 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
502 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
503 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
509 rm -f conf$$ conf$$.exe conf$$.
file
510 if test -d conf$$.dir
; then
511 rm -f conf$$.dir
/conf$$.
file
514 mkdir conf$$.dir
2>/dev
/null
516 if (echo >conf$$.
file) 2>/dev
/null
; then
517 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
519 # ... but there are two gotchas:
520 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
521 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
522 # In both cases, we have to default to `cp -p'.
523 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
525 elif ln conf$$.
file conf$$
2>/dev
/null
; then
533 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
534 rmdir conf$$.dir
2>/dev
/null
536 if mkdir
-p .
2>/dev
/null
; then
539 test -d .
/-p && rmdir .
/-p
543 if test -x / >/dev
/null
2>&1; then
546 if ls -dL / >/dev
/null
2>&1; then
553 if test -d "$1"; then
559 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
560 ???[sx]*):;;*)false;;esac;fi
564 as_executable_p
=$as_test_x
566 # Sed expression to map a string onto a valid CPP name.
567 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
569 # Sed expression to map a string onto a valid variable name.
570 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
574 exec 7<&0 </dev
/null
6>&1
577 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
578 # so uname gets run too.
579 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
584 ac_default_prefix
=/usr
/local
586 ac_config_libobj_dir
=.
592 SHELL
=${CONFIG_SHELL-/bin/sh}
594 # Identity of this package.
595 PACKAGE_NAME
='construo'
596 PACKAGE_TARNAME
='construo'
597 PACKAGE_VERSION
='0.2.2'
598 PACKAGE_STRING
='construo 0.2.2'
601 ac_unique_file
="construo.hxx"
602 # Factoring default headers for most tests.
603 ac_includes_default
="\
605 #ifdef HAVE_SYS_TYPES_H
606 # include <sys/types.h>
608 #ifdef HAVE_SYS_STAT_H
609 # include <sys/stat.h>
615 # ifdef HAVE_STDLIB_H
620 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
625 #ifdef HAVE_STRINGS_H
626 # include <strings.h>
628 #ifdef HAVE_INTTYPES_H
629 # include <inttypes.h>
638 ac_subst_vars
='LTLIBOBJS
685 INSTALL_STRIP_PROGRAM
727 program_transform_name
739 enable_option_checking
740 enable_dependency_tracking
748 ac_precious_vars
='build_alias
764 # Initialize some variables set by options.
766 ac_init_version
=false
767 ac_unrecognized_opts
=
769 # The variables have the same names as the options, with
770 # dashes changed to underlines.
778 program_transform_name
=s
,x
,x
,
786 # Installation directory options.
787 # These are left unexpanded so users can "make install exec_prefix=/foo"
788 # and all the variables that are supposed to be based on exec_prefix
789 # by default will actually change.
790 # Use braces instead of parens because sh, perl, etc. also accept them.
791 # (The list follows the same order as the GNU Coding Standards.)
792 bindir
='${exec_prefix}/bin'
793 sbindir
='${exec_prefix}/sbin'
794 libexecdir
='${exec_prefix}/libexec'
795 datarootdir
='${prefix}/share'
796 datadir
='${datarootdir}'
797 sysconfdir
='${prefix}/etc'
798 sharedstatedir
='${prefix}/com'
799 localstatedir
='${prefix}/var'
800 includedir
='${prefix}/include'
801 oldincludedir
='/usr/include'
802 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
803 infodir
='${datarootdir}/info'
808 libdir
='${exec_prefix}/lib'
809 localedir
='${datarootdir}/locale'
810 mandir
='${datarootdir}/man'
816 # If the previous option needs an argument, assign it.
817 if test -n "$ac_prev"; then
818 eval $ac_prev=\
$ac_option
824 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
828 # Accept the important Cygnus configure options, so we can diagnose typos.
830 case $ac_dashdash$ac_option in
834 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
836 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
839 -build |
--build |
--buil |
--bui |
--bu)
840 ac_prev
=build_alias
;;
841 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
842 build_alias
=$ac_optarg ;;
844 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
845 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
846 ac_prev
=cache_file
;;
847 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
848 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
849 cache_file
=$ac_optarg ;;
852 cache_file
=config.cache
;;
854 -datadir |
--datadir |
--datadi |
--datad)
856 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
857 datadir
=$ac_optarg ;;
859 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
860 |
--dataroo |
--dataro |
--datar)
861 ac_prev
=datarootdir
;;
862 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
863 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
864 datarootdir
=$ac_optarg ;;
866 -disable-* |
--disable-*)
867 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
868 # Reject names that are not valid shell variable names.
869 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
870 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
871 { (exit 1); exit 1; }; }
872 ac_useropt_orig
=$ac_useropt
873 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
874 case $ac_user_opts in
878 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
879 ac_unrecognized_sep
=', ';;
881 eval enable_
$ac_useropt=no
;;
883 -docdir |
--docdir |
--docdi |
--doc |
--do)
885 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
888 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
890 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
893 -enable-* |
--enable-*)
894 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
895 # Reject names that are not valid shell variable names.
896 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
897 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
898 { (exit 1); exit 1; }; }
899 ac_useropt_orig
=$ac_useropt
900 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
901 case $ac_user_opts in
905 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
906 ac_unrecognized_sep
=', ';;
908 eval enable_
$ac_useropt=\
$ac_optarg ;;
910 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
911 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
912 |
--exec |
--exe |
--ex)
913 ac_prev
=exec_prefix
;;
914 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
915 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
916 |
--exec=* |
--exe=* |
--ex=*)
917 exec_prefix
=$ac_optarg ;;
919 -gas |
--gas |
--ga |
--g)
920 # Obsolete; use --with-gas.
923 -help |
--help |
--hel |
--he |
-h)
925 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
926 ac_init_help
=recursive
;;
927 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
928 ac_init_help
=short
;;
930 -host |
--host |
--hos |
--ho)
931 ac_prev
=host_alias
;;
932 -host=* |
--host=* |
--hos=* |
--ho=*)
933 host_alias
=$ac_optarg ;;
935 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
937 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
939 htmldir
=$ac_optarg ;;
941 -includedir |
--includedir |
--includedi |
--included |
--include \
942 |
--includ |
--inclu |
--incl |
--inc)
943 ac_prev
=includedir
;;
944 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
945 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
946 includedir
=$ac_optarg ;;
948 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
950 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
951 infodir
=$ac_optarg ;;
953 -libdir |
--libdir |
--libdi |
--libd)
955 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
958 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
959 |
--libexe |
--libex |
--libe)
960 ac_prev
=libexecdir
;;
961 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
962 |
--libexe=* |
--libex=* |
--libe=*)
963 libexecdir
=$ac_optarg ;;
965 -localedir |
--localedir |
--localedi |
--localed |
--locale)
967 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
968 localedir
=$ac_optarg ;;
970 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
971 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
972 ac_prev
=localstatedir
;;
973 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
974 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
975 localstatedir
=$ac_optarg ;;
977 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
979 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
983 # Obsolete; use --without-fp.
986 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
987 |
--no-cr |
--no-c |
-n)
990 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
991 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
994 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
995 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
996 |
--oldin |
--oldi |
--old |
--ol |
--o)
997 ac_prev
=oldincludedir
;;
998 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
999 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1000 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1001 oldincludedir
=$ac_optarg ;;
1003 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1005 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1006 prefix
=$ac_optarg ;;
1008 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1009 |
--program-pre |
--program-pr |
--program-p)
1010 ac_prev
=program_prefix
;;
1011 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1012 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1013 program_prefix
=$ac_optarg ;;
1015 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1016 |
--program-suf |
--program-su |
--program-s)
1017 ac_prev
=program_suffix
;;
1018 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1019 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1020 program_suffix
=$ac_optarg ;;
1022 -program-transform-name |
--program-transform-name \
1023 |
--program-transform-nam |
--program-transform-na \
1024 |
--program-transform-n |
--program-transform- \
1025 |
--program-transform |
--program-transfor \
1026 |
--program-transfo |
--program-transf \
1027 |
--program-trans |
--program-tran \
1028 |
--progr-tra |
--program-tr |
--program-t)
1029 ac_prev
=program_transform_name
;;
1030 -program-transform-name=* |
--program-transform-name=* \
1031 |
--program-transform-nam=* |
--program-transform-na=* \
1032 |
--program-transform-n=* |
--program-transform-=* \
1033 |
--program-transform=* |
--program-transfor=* \
1034 |
--program-transfo=* |
--program-transf=* \
1035 |
--program-trans=* |
--program-tran=* \
1036 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1037 program_transform_name
=$ac_optarg ;;
1039 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1041 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1042 pdfdir
=$ac_optarg ;;
1044 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1046 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1049 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1050 |
-silent |
--silent |
--silen |
--sile |
--sil)
1053 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1055 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1057 sbindir
=$ac_optarg ;;
1059 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1060 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1061 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1063 ac_prev
=sharedstatedir
;;
1064 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1065 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1066 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1068 sharedstatedir
=$ac_optarg ;;
1070 -site |
--site |
--sit)
1072 -site=* |
--site=* |
--sit=*)
1075 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1077 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1078 srcdir
=$ac_optarg ;;
1080 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1081 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1082 ac_prev
=sysconfdir
;;
1083 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1084 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1085 sysconfdir
=$ac_optarg ;;
1087 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1088 ac_prev
=target_alias
;;
1089 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1090 target_alias
=$ac_optarg ;;
1092 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1095 -version |
--version |
--versio |
--versi |
--vers |
-V)
1096 ac_init_version
=: ;;
1099 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1100 # Reject names that are not valid shell variable names.
1101 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1102 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1103 { (exit 1); exit 1; }; }
1104 ac_useropt_orig
=$ac_useropt
1105 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1106 case $ac_user_opts in
1110 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1111 ac_unrecognized_sep
=', ';;
1113 eval with_
$ac_useropt=\
$ac_optarg ;;
1115 -without-* |
--without-*)
1116 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1117 # Reject names that are not valid shell variable names.
1118 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1119 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1120 { (exit 1); exit 1; }; }
1121 ac_useropt_orig
=$ac_useropt
1122 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1123 case $ac_user_opts in
1127 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1128 ac_unrecognized_sep
=', ';;
1130 eval with_
$ac_useropt=no
;;
1133 # Obsolete; use --with-x.
1136 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1137 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1138 ac_prev
=x_includes
;;
1139 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1140 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1141 x_includes
=$ac_optarg ;;
1143 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1144 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1145 ac_prev
=x_libraries
;;
1146 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1147 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1148 x_libraries
=$ac_optarg ;;
1150 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1151 Try \`$0 --help' for more information." >&2
1152 { (exit 1); exit 1; }; }
1156 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1157 # Reject names that are not valid shell variable names.
1158 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1159 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1160 { (exit 1); exit 1; }; }
1161 eval $ac_envvar=\
$ac_optarg
1162 export $ac_envvar ;;
1165 # FIXME: should be removed in autoconf 3.0.
1166 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1167 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1168 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1169 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1175 if test -n "$ac_prev"; then
1176 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1177 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1178 { (exit 1); exit 1; }; }
1181 if test -n "$ac_unrecognized_opts"; then
1182 case $enable_option_checking in
1184 fatal
) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1185 { (exit 1); exit 1; }; } ;;
1186 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1190 # Check all directory arguments for consistency.
1191 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1192 datadir sysconfdir sharedstatedir localstatedir includedir \
1193 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1194 libdir localedir mandir
1196 eval ac_val
=\$
$ac_var
1197 # Remove trailing slashes.
1200 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1201 eval $ac_var=\
$ac_val;;
1203 # Be sure to have absolute directory names.
1205 [\\/$
]* | ?
:[\\/]* ) continue;;
1206 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1208 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1209 { (exit 1); exit 1; }; }
1212 # There might be people who depend on the old broken behavior: `$host'
1213 # used to hold the argument of --host etc.
1214 # FIXME: To remove some day.
1217 target
=$target_alias
1219 # FIXME: To remove some day.
1220 if test "x$host_alias" != x
; then
1221 if test "x$build_alias" = x
; then
1222 cross_compiling
=maybe
1223 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1224 If a cross compiler is detected then cross compile mode will be used." >&2
1225 elif test "x$build_alias" != "x$host_alias"; then
1231 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1233 test "$silent" = yes && exec 6>/dev
/null
1236 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1237 ac_ls_di
=`ls -di .` &&
1238 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1239 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1240 { (exit 1); exit 1; }; }
1241 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1242 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1243 { (exit 1); exit 1; }; }
1246 # Find the source files, if location was not specified.
1247 if test -z "$srcdir"; then
1248 ac_srcdir_defaulted
=yes
1249 # Try the directory containing this script, then the parent directory.
1250 ac_confdir
=`$as_dirname -- "$as_myself" ||
1251 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1252 X"$as_myself" : 'X\(//\)[^/]' \| \
1253 X"$as_myself" : 'X\(//\)$' \| \
1254 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1255 $as_echo X"$as_myself" |
1256 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1274 if test ! -r "$srcdir/$ac_unique_file"; then
1278 ac_srcdir_defaulted
=no
1280 if test ! -r "$srcdir/$ac_unique_file"; then
1281 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1282 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1283 { (exit 1); exit 1; }; }
1285 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1287 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1288 { (exit 1); exit 1; }; }
1290 # When building in place, set srcdir=.
1291 if test "$ac_abs_confdir" = "$ac_pwd"; then
1294 # Remove unnecessary trailing slashes from srcdir.
1295 # Double slashes in file names in object file debugging info
1296 # mess up M-x gdb in Emacs.
1298 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1300 for ac_var
in $ac_precious_vars; do
1301 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1302 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1303 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1304 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1308 # Report the --help message.
1310 if test "$ac_init_help" = "long"; then
1311 # Omit some internal or obsolete options to make the list less imposing.
1312 # This message is too long to be a string in the A/UX 3.1 sh.
1314 \`configure' configures construo 0.2.2 to adapt to many kinds of systems.
1316 Usage: $0 [OPTION]... [VAR=VALUE]...
1318 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1319 VAR=VALUE. See below for descriptions of some of the useful variables.
1321 Defaults for the options are specified in brackets.
1324 -h, --help display this help and exit
1325 --help=short display options specific to this package
1326 --help=recursive display the short help of all the included packages
1327 -V, --version display version information and exit
1328 -q, --quiet, --silent do not print \`checking...' messages
1329 --cache-file=FILE cache test results in FILE [disabled]
1330 -C, --config-cache alias for \`--cache-file=config.cache'
1331 -n, --no-create do not create output files
1332 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1334 Installation directories:
1335 --prefix=PREFIX install architecture-independent files in PREFIX
1336 [$ac_default_prefix]
1337 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1340 By default, \`make install' will install all the files in
1341 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1342 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1343 for instance \`--prefix=\$HOME'.
1345 For better control, use the options below.
1347 Fine tuning of the installation directories:
1348 --bindir=DIR user executables [EPREFIX/bin]
1349 --sbindir=DIR system admin executables [EPREFIX/sbin]
1350 --libexecdir=DIR program executables [EPREFIX/libexec]
1351 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1352 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1353 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1354 --libdir=DIR object code libraries [EPREFIX/lib]
1355 --includedir=DIR C header files [PREFIX/include]
1356 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1357 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1358 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1359 --infodir=DIR info documentation [DATAROOTDIR/info]
1360 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1361 --mandir=DIR man documentation [DATAROOTDIR/man]
1362 --docdir=DIR documentation root [DATAROOTDIR/doc/construo]
1363 --htmldir=DIR html documentation [DOCDIR]
1364 --dvidir=DIR dvi documentation [DOCDIR]
1365 --pdfdir=DIR pdf documentation [DOCDIR]
1366 --psdir=DIR ps documentation [DOCDIR]
1372 --program-prefix=PREFIX prepend PREFIX to installed program names
1373 --program-suffix=SUFFIX append SUFFIX to installed program names
1374 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1377 --x-includes=DIR X include files are
in DIR
1378 --x-libraries=DIR X library files are
in DIR
1382 if test -n "$ac_init_help"; then
1383 case $ac_init_help in
1384 short | recursive
) echo "Configuration of construo 0.2.2:";;
1389 --disable-option-checking ignore unrecognized
--enable/--with options
1390 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1391 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1392 --disable-dependency-tracking speeds up one-time build
1393 --enable-dependency-tracking do not reject slow dependency extractors
1394 --enable-debug enable debug support
(default
: no
)
1395 --enable-gprof enable gprof profiling
(default
: no
)
1396 --enable-fcheck enable fcheck profiling
(default
: no
)
1397 --enable-x11 enable x11 support
(default
: yes)
1398 --enable-glut enable glut support
(default
: yes)
1401 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1402 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1403 --with-x use the X Window System
1405 Some influential environment variables
:
1406 CXX C
++ compiler
command
1407 CXXFLAGS C
++ compiler flags
1408 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1409 nonstandard directory
<lib dir
>
1410 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1411 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1412 you have headers
in a nonstandard directory
<include dir
>
1413 XMKMF Path to xmkmf
, Makefile generator
for X Window System
1414 CC C compiler
command
1415 CFLAGS C compiler flags
1417 CXXCPP C
++ preprocessor
1419 Use these variables to override the choices made by
`configure' or to help
1420 it to find libraries and programs with nonstandard names/locations.
1426 if test "$ac_init_help" = "recursive"; then
1427 # If there are subdirs, report their specific --help.
1428 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1429 test -d "$ac_dir" ||
1430 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1435 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1437 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1438 # A ".." for each directory in $ac_dir_suffix.
1439 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1440 case $ac_top_builddir_sub in
1441 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1442 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1445 ac_abs_top_builddir=$ac_pwd
1446 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1447 # for backward compatibility:
1448 ac_top_builddir=$ac_top_build_prefix
1451 .) # We are building in place.
1453 ac_top_srcdir=$ac_top_builddir_sub
1454 ac_abs_top_srcdir=$ac_pwd ;;
1455 [\\/]* | ?:[\\/]* ) # Absolute name.
1456 ac_srcdir=$srcdir$ac_dir_suffix;
1457 ac_top_srcdir=$srcdir
1458 ac_abs_top_srcdir=$srcdir ;;
1460 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1461 ac_top_srcdir=$ac_top_build_prefix$srcdir
1462 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1464 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1466 cd "$ac_dir" || { ac_status=$?; continue; }
1467 # Check for guested configure.
1468 if test -f "$ac_srcdir/configure.gnu"; then
1470 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1471 elif test -f "$ac_srcdir/configure"; then
1473 $SHELL "$ac_srcdir/configure" --help=recursive
1475 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1477 cd "$ac_pwd" || { ac_status=$?; break; }
1481 test -n "$ac_init_help" && exit $ac_status
1482 if $ac_init_version; then
1484 construo configure 0.2.2
1485 generated by GNU Autoconf 2.63
1487 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1488 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1489 This configure script is free software; the Free Software Foundation
1490 gives unlimited permission to copy, distribute and modify it.
1494 cat >config.log <<_ACEOF
1495 This file contains any messages produced by compilers while
1496 running configure, to aid debugging if configure makes a mistake.
1498 It was created by construo $as_me 0.2.2, which was
1499 generated by GNU Autoconf 2.63. Invocation command line was
1511 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1512 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1513 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1514 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1515 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1517 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1518 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1520 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1521 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1522 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1523 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1524 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1525 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1526 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1534 test -z "$as_dir" && as_dir=.
1535 $as_echo "PATH: $as_dir"
1551 # Keep a trace of the command line.
1552 # Strip out --no-create and --no-recursion so they do not pile up.
1553 # Strip out --silent because we don't want to record it for future runs.
1554 # Also quote any args containing shell meta-characters.
1555 # Make two passes to allow for proper duplicate-argument suppression.
1559 ac_must_keep_next=false
1565 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1566 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1567 | -silent | --silent | --silen | --sile | --sil)
1570 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1573 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1575 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1576 if test $ac_must_keep_next = true; then
1577 ac_must_keep_next=false # Got value, back to normal.
1580 *=* | --config-cache | -C | -disable-* | --disable-* \
1581 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1582 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1583 | -with-* | --with-* | -without-* | --without-* | --x)
1584 case "$ac_configure_args0 " in
1585 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1588 -* ) ac_must_keep_next=true ;;
1591 ac_configure_args="$ac_configure_args '$ac_arg'"
1596 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1597 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1599 # When interrupted or exit'd, cleanup temporary files, and complete
1600 # config.log. We remove comments because anyway the quotes in there
1601 # would cause problems or look ugly.
1602 # WARNING: Use '\'' to represent an apostrophe within the trap.
1603 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1604 trap 'exit_status=$?
1605 # Save into config.log some information that might help in debugging.
1610 ## ---------------- ##
1611 ## Cache variables. ##
1612 ## ---------------- ##
1615 # The following way of writing the cache mishandles newlines in values,
1617 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1618 eval ac_val=\$$ac_var
1622 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1623 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1626 _ | IFS | as_nl) ;; #(
1627 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1628 *) $as_unset $ac_var ;;
1633 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1634 *${as_nl}ac_space=\ *)
1636 "s/'\''/'\''\\\\'\'''\''/g;
1637 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1640 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1648 ## ----------------- ##
1649 ## Output variables. ##
1650 ## ----------------- ##
1653 for ac_var in $ac_subst_vars
1655 eval ac_val=\$$ac_var
1657 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1659 $as_echo "$ac_var='\''$ac_val'\''"
1663 if test -n "$ac_subst_files"; then
1665 ## ------------------- ##
1666 ## File substitutions. ##
1667 ## ------------------- ##
1670 for ac_var in $ac_subst_files
1672 eval ac_val=\$$ac_var
1674 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1676 $as_echo "$ac_var='\''$ac_val'\''"
1681 if test -s confdefs.h; then
1691 test "$ac_signal" != 0 &&
1692 $as_echo "$as_me: caught signal $ac_signal"
1693 $as_echo "$as_me: exit $exit_status"
1695 rm -f core *.core core.conftest.* &&
1696 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1699 for ac_signal in 1 2 13 15; do
1700 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1704 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1705 rm -f -r conftest* confdefs.h
1707 # Predefined preprocessor variables.
1709 cat >>confdefs.h <<_ACEOF
1710 #define PACKAGE_NAME "$PACKAGE_NAME"
1714 cat >>confdefs.h <<_ACEOF
1715 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1719 cat >>confdefs.h <<_ACEOF
1720 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1724 cat >>confdefs.h <<_ACEOF
1725 #define PACKAGE_STRING "$PACKAGE_STRING"
1729 cat >>confdefs.h <<_ACEOF
1730 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1734 # Let the site file select an alternate cache file if it wants to.
1735 # Prefer an explicitly selected file to automatically selected ones.
1738 if test -n "$CONFIG_SITE"; then
1739 ac_site_file1=$CONFIG_SITE
1740 elif test "x$prefix" != xNONE; then
1741 ac_site_file1=$prefix/share/config.site
1742 ac_site_file2=$prefix/etc/config.site
1744 ac_site_file1=$ac_default_prefix/share/config.site
1745 ac_site_file2=$ac_default_prefix/etc/config.site
1747 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1749 test "x$ac_site_file" = xNONE && continue
1750 if test -r "$ac_site_file"; then
1751 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1752 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1753 sed 's/^/| /' "$ac_site_file" >&5
1758 if test -r "$cache_file"; then
1759 # Some versions of bash will fail to source /dev/null (special
1760 # files actually), so we avoid doing that.
1761 if test -f "$cache_file"; then
1762 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1763 $as_echo "$as_me: loading cache $cache_file" >&6;}
1765 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1766 *) . "./$cache_file";;
1770 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1771 $as_echo "$as_me: creating cache $cache_file" >&6;}
1775 # Check that the precious variables saved in the cache have kept the same
1777 ac_cache_corrupted=false
1778 for ac_var in $ac_precious_vars; do
1779 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1780 eval ac_new_set=\$ac_env_${ac_var}_set
1781 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1782 eval ac_new_val=\$ac_env_${ac_var}_value
1783 case $ac_old_set,$ac_new_set in
1785 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1786 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1787 ac_cache_corrupted=: ;;
1789 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1790 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1791 ac_cache_corrupted=: ;;
1794 if test "x$ac_old_val" != "x$ac_new_val"; then
1795 # differences in whitespace do not lead to failure.
1796 ac_old_val_w=`echo x
$ac_old_val`
1797 ac_new_val_w=`echo x
$ac_new_val`
1798 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1799 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1800 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1801 ac_cache_corrupted=:
1803 { $as_echo "$as_me:$LINENO: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
1804 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1805 eval $ac_var=\$ac_old_val
1807 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1808 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
1809 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1810 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1813 # Pass precious variables to config.status.
1814 if test "$ac_new_set" = set; then
1816 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1817 *) ac_arg=$ac_var=$ac_new_val ;;
1819 case " $ac_configure_args " in
1820 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1821 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1825 if $ac_cache_corrupted; then
1826 { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
1827 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1828 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1829 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1830 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&5
1831 $as_echo "$as_me: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&2;}
1832 { (exit 1); exit 1; }; }
1860 ac_cpp='$CPP $CPPFLAGS'
1861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1866 am__api_version='1.10'
1869 for ac_dir in "$srcdir" "$srcdir/..
" "$srcdir/..
/..
"; do
1870 if test -f "$ac_dir/install-sh
"; then
1872 ac_install_sh="$ac_aux_dir/install-sh
-c"
1874 elif test -f "$ac_dir/install.sh
"; then
1876 ac_install_sh="$ac_aux_dir/install.sh
-c"
1878 elif test -f "$ac_dir/shtool
"; then
1880 ac_install_sh="$ac_aux_dir/shtool
install -c"
1884 if test -z "$ac_aux_dir"; then
1885 { { $as_echo "$as_me:$LINENO: error
: cannot
find install-sh or
install.sh
in \"$srcdir\" \"$srcdir/..
\" \"$srcdir/..
/..
\"" >&5
1886 $as_echo "$as_me: error
: cannot
find install-sh or
install.sh
in \"$srcdir\" \"$srcdir/..
\" \"$srcdir/..
/..
\"" >&2;}
1887 { (exit 1); exit 1; }; }
1890 # These three variables are undocumented and unsupported,
1891 # and are intended to be withdrawn in a future Autoconf release.
1892 # They can cause serious problems if a builder's source tree is in a directory
1893 # whose full name contains unusual characters.
1894 ac_config_guess="$SHELL $ac_aux_dir/config.guess
" # Please don't use this var.
1895 ac_config_sub="$SHELL $ac_aux_dir/config.sub
" # Please don't use this var.
1896 ac_configure="$SHELL $ac_aux_dir/configure
" # Please don't use this var.
1899 # Find a good install program. We prefer a C program (faster),
1900 # so one script is as good as another. But avoid the broken or
1901 # incompatible versions:
1902 # SysV /etc/install, /usr/sbin/install
1903 # SunOS /usr/etc/install
1904 # IRIX /sbin/install
1906 # AmigaOS /C/install, which installs bootblocks on floppy discs
1907 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1908 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1909 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff
"
1910 # OS/2's system install, which has a completely different semantic
1911 # ./install, which can be erroneously created by make from ./install.sh.
1912 # Reject install programs that cannot install multiple files.
1913 { $as_echo "$as_me:$LINENO: checking
for a BSD-compatible
install" >&5
1914 $as_echo_n "checking
for a BSD-compatible
install...
" >&6; }
1915 if test -z "$INSTALL"; then
1916 if test "${ac_cv_path_install+set}" = set; then
1917 $as_echo_n "(cached
) " >&6
1919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1923 test -z "$as_dir" && as_dir=.
1924 # Account for people who put trailing slashes in PATH elements.
1926 ./ | .// | /cC/* | \
1927 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1928 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1931 # OSF1 and SCO ODT 3.0 have their own names for install.
1932 # Don't use installbsd from OSF since it installs stuff as root
1934 for ac_prog in ginstall scoinst install; do
1935 for ac_exec_ext in '' $ac_executable_extensions; do
1936 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1937 if test $ac_prog = install &&
1938 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1939 # AIX install. It has an incompatible calling convention.
1941 elif test $ac_prog = install &&
1942 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1943 # program-specific install script used by HP pwplus--don't use.
1946 rm -rf conftest.one conftest.two conftest.dir
1947 echo one > conftest.one
1948 echo two > conftest.two
1950 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir
" &&
1951 test -s conftest.one && test -s conftest.two &&
1952 test -s conftest.dir/conftest.one &&
1953 test -s conftest.dir/conftest.two
1955 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1968 rm -rf conftest.one conftest.two conftest.dir
1971 if test "${ac_cv_path_install+set}" = set; then
1972 INSTALL=$ac_cv_path_install
1974 # As a last resort, use the slow shell script. Don't cache a
1975 # value for INSTALL within a source directory, because that will
1976 # break other packages using the cache if that directory is
1977 # removed, or if the value is a relative name.
1978 INSTALL=$ac_install_sh
1981 { $as_echo "$as_me:$LINENO: result
: $INSTALL" >&5
1982 $as_echo "$INSTALL" >&6; }
1984 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1985 # It thinks the first close brace ends the variable substitution.
1986 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1988 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1990 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1992 { $as_echo "$as_me:$LINENO: checking whether build environment is sane
" >&5
1993 $as_echo_n "checking whether build environment is sane...
" >&6; }
1996 echo timestamp > conftest.file
1997 # Do `set' in a subshell so we don't clobber the current shell's
1998 # arguments. Must try -L first in case configure is actually a
1999 # symlink; some systems play weird games with the mod time of symlinks
2000 # (eg FreeBSD returns the mod time of the symlink's containing
2003 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2004 if test "$
*" = "X
"; then
2006 set X `ls -t $srcdir/configure conftest.file`
2009 if test "$
*" != "X
$srcdir/configure conftest.
file" \
2010 && test "$
*" != "X conftest.
file $srcdir/configure
"; then
2012 # If neither matched, then we have a broken ls. This can happen
2013 # if, for instance, CONFIG_SHELL is bash and it inherits a
2014 # broken ls alias from the environment. This has actually
2015 # happened. Such a system could not be considered "sane
".
2016 { { $as_echo "$as_me:$LINENO: error
: ls -t appears to fail. Make sure there is not a broken
2017 alias in your environment
" >&5
2018 $as_echo "$as_me: error
: ls -t appears to fail. Make sure there is not a broken
2019 alias in your environment
" >&2;}
2020 { (exit 1); exit 1; }; }
2023 test "$2" = conftest.file
2029 { { $as_echo "$as_me:$LINENO: error
: newly created
file is older than distributed files
!
2030 Check your system
clock" >&5
2031 $as_echo "$as_me: error
: newly created
file is older than distributed files
!
2032 Check your system
clock" >&2;}
2033 { (exit 1); exit 1; }; }
2035 { $as_echo "$as_me:$LINENO: result
: yes" >&5
2036 $as_echo "yes" >&6; }
2037 test "$program_prefix" != NONE &&
2038 program_transform_name="s
&^
&$program_prefix&;$program_transform_name"
2039 # Use a double $ so make ignores it.
2040 test "$program_suffix" != NONE &&
2041 program_transform_name="s
&\$
&$program_suffix&;$program_transform_name"
2042 # Double any \ or $.
2043 # By default was `s,x,x', remove it if useless.
2044 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2045 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2047 # expand $ac_aux_dir to an absolute path
2048 am_aux_dir=`cd $ac_aux_dir && pwd`
2050 test x"${MISSING+set}" = xset || MISSING="\
${SHELL} $am_aux_dir/missing
"
2051 # Use eval to expand $SHELL
2052 if eval "$MISSING --run true
"; then
2053 am_missing_run="$MISSING --run "
2056 { $as_echo "$as_me:$LINENO: WARNING
: \
`missing' script is too old or missing" >&5
2057 $as_echo "$as_me: WARNING: \`missing
' script is too old or missing" >&2;}
2060 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2061 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2062 if test -z "$MKDIR_P"; then
2063 if test "${ac_cv_path_mkdir+set}" = set; then
2064 $as_echo_n "(cached) " >&6
2066 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2067 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2070 test -z "$as_dir" && as_dir=.
2071 for ac_prog in mkdir gmkdir; do
2072 for ac_exec_ext in '' $ac_executable_extensions; do
2073 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2074 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2075 'mkdir
(GNU coreutils
) '* | \
2076 'mkdir
(coreutils
) '* | \
2077 'mkdir
(fileutils
) '4.1*)
2078 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2088 if test "${ac_cv_path_mkdir+set}" = set; then
2089 MKDIR_P="$ac_cv_path_mkdir -p"
2091 # As a last resort, use the slow shell script. Don't cache a
2092 # value for MKDIR_P within a source directory, because that will
2093 # break other packages using the cache if that directory is
2094 # removed, or if the value is a relative name.
2095 test -d .
/--version && rmdir .
/--version
2096 MKDIR_P
="$ac_install_sh -d"
2099 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2100 $as_echo "$MKDIR_P" >&6; }
2104 [\\/$
]* | ?
:[\\/]*) ;;
2105 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2108 for ac_prog
in gawk mawk nawk
awk
2110 # Extract the first word of "$ac_prog", so it can be a program name with args.
2111 set dummy
$ac_prog; ac_word
=$2
2112 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2113 $as_echo_n "checking for $ac_word... " >&6; }
2114 if test "${ac_cv_prog_AWK+set}" = set; then
2115 $as_echo_n "(cached) " >&6
2117 if test -n "$AWK"; then
2118 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2120 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2124 test -z "$as_dir" && as_dir
=.
2125 for ac_exec_ext
in '' $ac_executable_extensions; do
2126 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2127 ac_cv_prog_AWK
="$ac_prog"
2128 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2138 if test -n "$AWK"; then
2139 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2140 $as_echo "$AWK" >&6; }
2142 { $as_echo "$as_me:$LINENO: result: no" >&5
2143 $as_echo "no" >&6; }
2147 test -n "$AWK" && break
2150 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2151 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2153 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2154 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2155 $as_echo_n "(cached) " >&6
2157 cat >conftest.
make <<\_ACEOF
2160 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2162 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2163 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2165 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2167 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2171 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2172 { $as_echo "$as_me:$LINENO: result: yes" >&5
2173 $as_echo "yes" >&6; }
2176 { $as_echo "$as_me:$LINENO: result: no" >&5
2177 $as_echo "no" >&6; }
2178 SET_MAKE
="MAKE=${MAKE-make}"
2181 rm -rf .tst
2>/dev
/null
2182 mkdir .tst
2>/dev
/null
2183 if test -d .tst
; then
2188 rmdir .tst
2>/dev
/null
2190 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2191 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2192 # is not polluted with repeated "-I."
2193 am__isrc
=' -I$(srcdir)'
2194 # test to see if srcdir already configured
2195 if test -f $srcdir/config.status
; then
2196 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2197 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2198 { (exit 1); exit 1; }; }
2202 # test whether we have cygpath
2203 if test -z "$CYGPATH_W"; then
2204 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2205 CYGPATH_W
='cygpath -w'
2212 # Define the identity of the package.
2217 cat >>confdefs.h
<<_ACEOF
2218 #define PACKAGE "$PACKAGE"
2222 cat >>confdefs.h
<<_ACEOF
2223 #define VERSION "$VERSION"
2226 # Some tools Automake needs.
2228 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2231 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2234 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2237 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2240 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2242 install_sh
=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2244 # Installed binaries are usually stripped using `strip' when the user
2245 # run `make install-strip'. However `strip' might not be the right
2246 # tool to use in cross-compilation environments, therefore Automake
2247 # will honor the `STRIP' environment variable to overrule this program.
2248 if test "$cross_compiling" != no
; then
2249 if test -n "$ac_tool_prefix"; then
2250 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2251 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2252 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2253 $as_echo_n "checking for $ac_word... " >&6; }
2254 if test "${ac_cv_prog_STRIP+set}" = set; then
2255 $as_echo_n "(cached) " >&6
2257 if test -n "$STRIP"; then
2258 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2260 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2264 test -z "$as_dir" && as_dir
=.
2265 for ac_exec_ext
in '' $ac_executable_extensions; do
2266 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2267 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2268 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2277 STRIP
=$ac_cv_prog_STRIP
2278 if test -n "$STRIP"; then
2279 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2280 $as_echo "$STRIP" >&6; }
2282 { $as_echo "$as_me:$LINENO: result: no" >&5
2283 $as_echo "no" >&6; }
2288 if test -z "$ac_cv_prog_STRIP"; then
2290 # Extract the first word of "strip", so it can be a program name with args.
2291 set dummy strip
; ac_word
=$2
2292 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2293 $as_echo_n "checking for $ac_word... " >&6; }
2294 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2295 $as_echo_n "(cached) " >&6
2297 if test -n "$ac_ct_STRIP"; then
2298 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2300 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2304 test -z "$as_dir" && as_dir
=.
2305 for ac_exec_ext
in '' $ac_executable_extensions; do
2306 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2307 ac_cv_prog_ac_ct_STRIP
="strip"
2308 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2317 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2318 if test -n "$ac_ct_STRIP"; then
2319 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2320 $as_echo "$ac_ct_STRIP" >&6; }
2322 { $as_echo "$as_me:$LINENO: result: no" >&5
2323 $as_echo "no" >&6; }
2326 if test "x$ac_ct_STRIP" = x
; then
2329 case $cross_compiling:$ac_tool_warned in
2331 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2332 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2333 ac_tool_warned
=yes ;;
2338 STRIP
="$ac_cv_prog_STRIP"
2342 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2344 # We need awk for the "check" target. The system "awk" is bad on
2346 # Always define AMTAR for backward compatibility.
2348 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2350 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2357 ac_config_headers
="$ac_config_headers config.h"
2360 # check for some programs
2362 ac_cpp
='$CXXCPP $CPPFLAGS'
2363 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2364 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2365 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
2366 if test -z "$CXX"; then
2367 if test -n "$CCC"; then
2370 if test -n "$ac_tool_prefix"; then
2371 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
2373 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2374 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2375 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2376 $as_echo_n "checking for $ac_word... " >&6; }
2377 if test "${ac_cv_prog_CXX+set}" = set; then
2378 $as_echo_n "(cached) " >&6
2380 if test -n "$CXX"; then
2381 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
2383 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2387 test -z "$as_dir" && as_dir
=.
2388 for ac_exec_ext
in '' $ac_executable_extensions; do
2389 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2390 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
2391 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2401 if test -n "$CXX"; then
2402 { $as_echo "$as_me:$LINENO: result: $CXX" >&5
2403 $as_echo "$CXX" >&6; }
2405 { $as_echo "$as_me:$LINENO: result: no" >&5
2406 $as_echo "no" >&6; }
2410 test -n "$CXX" && break
2413 if test -z "$CXX"; then
2415 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
2417 # Extract the first word of "$ac_prog", so it can be a program name with args.
2418 set dummy
$ac_prog; ac_word
=$2
2419 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2420 $as_echo_n "checking for $ac_word... " >&6; }
2421 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2422 $as_echo_n "(cached) " >&6
2424 if test -n "$ac_ct_CXX"; then
2425 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
2427 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2431 test -z "$as_dir" && as_dir
=.
2432 for ac_exec_ext
in '' $ac_executable_extensions; do
2433 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2434 ac_cv_prog_ac_ct_CXX
="$ac_prog"
2435 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2444 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
2445 if test -n "$ac_ct_CXX"; then
2446 { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2447 $as_echo "$ac_ct_CXX" >&6; }
2449 { $as_echo "$as_me:$LINENO: result: no" >&5
2450 $as_echo "no" >&6; }
2454 test -n "$ac_ct_CXX" && break
2457 if test "x$ac_ct_CXX" = x
; then
2460 case $cross_compiling:$ac_tool_warned in
2462 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2463 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2464 ac_tool_warned
=yes ;;
2472 # Provide some information about the compiler.
2473 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
2476 { (ac_try
="$ac_compiler --version >&5"
2478 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2479 *) ac_try_echo=$ac_try;;
2481 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2482 $as_echo "$ac_try_echo") >&5
2483 (eval "$ac_compiler --version >&5") 2>&5
2485 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2486 (exit $ac_status); }
2487 { (ac_try="$ac_compiler -v >&5"
2489 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2490 *) ac_try_echo
=$ac_try;;
2492 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2493 $as_echo "$ac_try_echo") >&5
2494 (eval "$ac_compiler -v >&5") 2>&5
2496 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2497 (exit $ac_status); }
2498 { (ac_try
="$ac_compiler -V >&5"
2500 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2501 *) ac_try_echo=$ac_try;;
2503 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2504 $as_echo "$ac_try_echo") >&5
2505 (eval "$ac_compiler -V >&5") 2>&5
2507 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2508 (exit $ac_status); }
2510 cat >conftest.$ac_ext <<_ACEOF
2513 cat confdefs.h >>conftest.$ac_ext
2514 cat >>conftest.$ac_ext <<_ACEOF
2515 /* end confdefs.h. */
2525 ac_clean_files_save=$ac_clean_files
2526 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2527 # Try to create an executable without -o first, disregard a.out.
2528 # It will help us diagnose broken compilers, and finding out an intuition
2530 { $as_echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
2531 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
2532 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2534 # The possible output files:
2535 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2538 for ac_file in $ac_files
2541 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2542 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2547 if { (ac_try="$ac_link_default"
2549 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2550 *) ac_try_echo
=$ac_try;;
2552 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2553 $as_echo "$ac_try_echo") >&5
2554 (eval "$ac_link_default") 2>&5
2556 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2557 (exit $ac_status); }; then
2558 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2559 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2560 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2561 # so that the user can short-circuit this test for compilers unknown to
2563 for ac_file
in $ac_files ''
2565 test -f "$ac_file" ||
continue
2567 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
2570 # We found the default executable, but exeext='' is most
2574 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2576 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2578 # We set ac_cv_exeext here because the later test for it is not
2579 # safe: cross compilers may not add the suffix if given an `-o'
2580 # argument, so we may need to know it at that point already.
2581 # Even if this section looks crufty: it has the advantage of
2588 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2594 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2595 $as_echo "$ac_file" >&6; }
2596 if test -z "$ac_file"; then
2597 $as_echo "$as_me: failed program was:" >&5
2598 sed 's/^/| /' conftest.
$ac_ext >&5
2600 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2601 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2602 { { $as_echo "$as_me:$LINENO: error: C++ compiler cannot create executables
2603 See \`config.log' for more details." >&5
2604 $as_echo "$as_me: error: C++ compiler cannot create executables
2605 See \`config.log' for more details." >&2;}
2606 { (exit 77); exit 77; }; }; }
2609 ac_exeext
=$ac_cv_exeext
2611 # Check that the compiler produces executables we can run. If not, either
2612 # the compiler is broken, or we cross compile.
2613 { $as_echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
2614 $as_echo_n "checking whether the C++ compiler works... " >&6; }
2615 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2616 # If not cross compiling, check that we can run a simple program.
2617 if test "$cross_compiling" != yes; then
2618 if { ac_try
='./$ac_file'
2619 { (case "(($ac_try" in
2620 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2621 *) ac_try_echo=$ac_try;;
2623 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2624 $as_echo "$ac_try_echo") >&5
2625 (eval "$ac_try") 2>&5
2627 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2628 (exit $ac_status); }; }; then
2631 if test "$cross_compiling" = maybe; then
2634 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2635 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2636 { { $as_echo "$as_me:$LINENO: error
: cannot run C
++ compiled programs.
2637 If you meant to cross compile
, use \
`--host'.
2638 See \`config.log
' for more details." >&5
2639 $as_echo "$as_me: error: cannot run C++ compiled programs.
2640 If you meant to cross compile, use \`--host'.
2641 See \
`config.log' for more details." >&2;}
2642 { (exit 1); exit 1; }; }; }
2646 { $as_echo "$as_me:$LINENO: result: yes" >&5
2647 $as_echo "yes" >&6; }
2649 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2650 ac_clean_files=$ac_clean_files_save
2651 # Check that the compiler produces executables we can run. If not, either
2652 # the compiler is broken, or we cross compile.
2653 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2654 $as_echo_n "checking whether we are cross compiling... " >&6; }
2655 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
2656 $as_echo "$cross_compiling" >&6; }
2658 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
2659 $as_echo_n "checking for suffix of executables... " >&6; }
2660 if { (ac_try="$ac_link"
2662 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2663 *) ac_try_echo
=$ac_try;;
2665 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2666 $as_echo "$ac_try_echo") >&5
2667 (eval "$ac_link") 2>&5
2669 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2670 (exit $ac_status); }; then
2671 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2672 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2673 # work properly (i.e., refer to `conftest.exe'), while it won't with
2675 for ac_file
in conftest.exe conftest conftest.
*; do
2676 test -f "$ac_file" ||
continue
2678 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2679 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2685 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2686 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2687 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2688 See \`config.log' for more details." >&5
2689 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2690 See \`config.log' for more details." >&2;}
2691 { (exit 1); exit 1; }; }; }
2694 rm -f conftest
$ac_cv_exeext
2695 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2696 $as_echo "$ac_cv_exeext" >&6; }
2698 rm -f conftest.
$ac_ext
2699 EXEEXT
=$ac_cv_exeext
2701 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2702 $as_echo_n "checking for suffix of object files... " >&6; }
2703 if test "${ac_cv_objext+set}" = set; then
2704 $as_echo_n "(cached) " >&6
2706 cat >conftest.
$ac_ext <<_ACEOF
2709 cat confdefs.h
>>conftest.
$ac_ext
2710 cat >>conftest.
$ac_ext <<_ACEOF
2711 /* end confdefs.h. */
2721 rm -f conftest.o conftest.obj
2722 if { (ac_try
="$ac_compile"
2724 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2725 *) ac_try_echo=$ac_try;;
2727 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2728 $as_echo "$ac_try_echo") >&5
2729 (eval "$ac_compile") 2>&5
2731 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2732 (exit $ac_status); }; then
2733 for ac_file in conftest.o conftest.obj conftest.*; do
2734 test -f "$ac_file" || continue;
2736 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2737 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2742 $as_echo "$as_me: failed program was:" >&5
2743 sed 's/^/| /' conftest.$ac_ext >&5
2745 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2746 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2747 { { $as_echo "$as_me:$LINENO: error
: cannot compute suffix of object files
: cannot compile
2748 See \
`config.log' for more details." >&5
2749 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2750 See \`config.log
' for more details." >&2;}
2751 { (exit 1); exit 1; }; }; }
2754 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2756 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2757 $as_echo "$ac_cv_objext" >&6; }
2758 OBJEXT=$ac_cv_objext
2760 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2761 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
2762 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2763 $as_echo_n "(cached) " >&6
2765 cat >conftest.$ac_ext <<_ACEOF
2768 cat confdefs.h >>conftest.$ac_ext
2769 cat >>conftest.$ac_ext <<_ACEOF
2770 /* end confdefs.h. */
2783 rm -f conftest.$ac_objext
2784 if { (ac_try="$ac_compile"
2786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2787 *) ac_try_echo=$ac_try;;
2789 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2790 $as_echo "$ac_try_echo") >&5
2791 (eval "$ac_compile") 2>conftest.er1
2793 grep -v '^
*+' conftest.er1 >conftest.err
2795 cat conftest.err >&5
2796 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2797 (exit $ac_status); } && {
2798 test -z "$ac_cxx_werror_flag" ||
2799 test ! -s conftest.err
2800 } && test -s conftest.$ac_objext; then
2803 $as_echo "$as_me: failed program was:" >&5
2804 sed 's
/^
/|
/' conftest.$ac_ext >&5
2809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2810 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2813 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2814 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
2815 if test $ac_compiler_gnu = yes; then
2820 ac_test_CXXFLAGS=${CXXFLAGS+set}
2821 ac_save_CXXFLAGS=$CXXFLAGS
2822 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2823 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
2824 if test "${ac_cv_prog_cxx_g+set}" = set; then
2825 $as_echo_n "(cached) " >&6
2827 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
2828 ac_cxx_werror_flag=yes
2831 cat >conftest.$ac_ext <<_ACEOF
2834 cat confdefs.h >>conftest.$ac_ext
2835 cat >>conftest.$ac_ext <<_ACEOF
2836 /* end confdefs.h. */
2846 rm -f conftest.$ac_objext
2847 if { (ac_try="$ac_compile"
2849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2850 *) ac_try_echo=$ac_try;;
2852 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2853 $as_echo "$ac_try_echo") >&5
2854 (eval "$ac_compile") 2>conftest.er1
2856 grep -v '^
*+' conftest.er1 >conftest.err
2858 cat conftest.err >&5
2859 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2860 (exit $ac_status); } && {
2861 test -z "$ac_cxx_werror_flag" ||
2862 test ! -s conftest.err
2863 } && test -s conftest.$ac_objext; then
2864 ac_cv_prog_cxx_g=yes
2866 $as_echo "$as_me: failed program was:" >&5
2867 sed 's
/^
/|
/' conftest.$ac_ext >&5
2870 cat >conftest.$ac_ext <<_ACEOF
2873 cat confdefs.h >>conftest.$ac_ext
2874 cat >>conftest.$ac_ext <<_ACEOF
2875 /* end confdefs.h. */
2885 rm -f conftest.$ac_objext
2886 if { (ac_try="$ac_compile"
2888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2889 *) ac_try_echo=$ac_try;;
2891 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2892 $as_echo "$ac_try_echo") >&5
2893 (eval "$ac_compile") 2>conftest.er1
2895 grep -v '^
*+' conftest.er1 >conftest.err
2897 cat conftest.err >&5
2898 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2899 (exit $ac_status); } && {
2900 test -z "$ac_cxx_werror_flag" ||
2901 test ! -s conftest.err
2902 } && test -s conftest.$ac_objext; then
2905 $as_echo "$as_me: failed program was:" >&5
2906 sed 's
/^
/|
/' conftest.$ac_ext >&5
2908 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2910 cat >conftest.$ac_ext <<_ACEOF
2913 cat confdefs.h >>conftest.$ac_ext
2914 cat >>conftest.$ac_ext <<_ACEOF
2915 /* end confdefs.h. */
2925 rm -f conftest.$ac_objext
2926 if { (ac_try="$ac_compile"
2928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2929 *) ac_try_echo=$ac_try;;
2931 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2932 $as_echo "$ac_try_echo") >&5
2933 (eval "$ac_compile") 2>conftest.er1
2935 grep -v '^
*+' conftest.er1 >conftest.err
2937 cat conftest.err >&5
2938 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2939 (exit $ac_status); } && {
2940 test -z "$ac_cxx_werror_flag" ||
2941 test ! -s conftest.err
2942 } && test -s conftest.$ac_objext; then
2943 ac_cv_prog_cxx_g=yes
2945 $as_echo "$as_me: failed program was:" >&5
2946 sed 's
/^
/|
/' conftest.$ac_ext >&5
2951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2958 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2960 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2961 $as_echo "$ac_cv_prog_cxx_g" >&6; }
2962 if test "$ac_test_CXXFLAGS" = set; then
2963 CXXFLAGS=$ac_save_CXXFLAGS
2964 elif test $ac_cv_prog_cxx_g = yes; then
2965 if test "$GXX" = yes; then
2971 if test "$GXX" = yes; then
2978 ac_cpp='$CPP $CPPFLAGS'
2979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
2980 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
2981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2982 DEPDIR="${am__leading_dot}deps"
2984 ac_config_commands="$ac_config_commands depfiles"
2987 am_make=${MAKE-make}
2988 cat > confinc << 'END
'
2993 # If we don't
find an include directive
, just comment out the code.
2994 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2995 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2999 # First try GNU make style include.
3000 echo "include confinc" > confmf
3001 # We grep out `Entering directory' and `Leaving directory'
3002 # messages which can occur if `w' ends up in MAKEFLAGS.
3003 # In particular we don't look at `^make:' because GNU make might
3004 # be invoked under some other name (usually "gmake"), in which
3005 # case it prints its new name instead of `make'.
3006 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3011 # Now try BSD make style include.
3012 if test "$am__include" = "#"; then
3013 echo '.include "confinc"' > confmf
3014 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3015 am__include
=.include
3022 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
3023 $as_echo "$_am_result" >&6; }
3024 rm -f confinc confmf
3026 # Check whether --enable-dependency-tracking was given.
3027 if test "${enable_dependency_tracking+set}" = set; then
3028 enableval
=$enable_dependency_tracking;
3031 if test "x$enable_dependency_tracking" != xno
; then
3032 am_depcomp
="$ac_aux_dir/depcomp"
3035 if test "x$enable_dependency_tracking" != xno; then
3045 depcc
="$CXX" am_compiler_list
=
3047 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3048 $as_echo_n "checking dependency style of $depcc... " >&6; }
3049 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3050 $as_echo_n "(cached) " >&6
3052 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3053 # We make a subdir and do the tests there. Otherwise we can end up
3054 # making bogus files that we don't know about and never remove. For
3055 # instance it was reported that on HP-UX the gcc test will end up
3056 # making a dummy file named `D' -- because `-MD' means `put the output
3059 # Copy depcomp to subdir because otherwise we won't find it if we're
3060 # using a relative directory.
3061 cp "$am_depcomp" conftest.dir
3063 # We will build objects and dependencies in a subdirectory because
3064 # it helps to detect inapplicable dependency modes. For instance
3065 # both Tru64's cc and ICC support -MD to output dependencies as a
3066 # side effect of compilation, but ICC will put the dependencies in
3067 # the current directory while Tru64 will put them in the object
3071 am_cv_CXX_dependencies_compiler_type
=none
3072 if test "$am_compiler_list" = ""; then
3073 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3075 for depmode
in $am_compiler_list; do
3076 # Setup a source with many dependencies, because some compilers
3077 # like to wrap large dependency lists on column 80 (with \), and
3078 # we should not choose a depcomp mode which is confused by this.
3080 # We need to recreate these files for each test, as the compiler may
3081 # overwrite some of them when testing with obscure command lines.
3082 # This happens at least with the AIX C compiler.
3084 for i
in 1 2 3 4 5 6; do
3085 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3086 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3087 # Solaris 8's {/usr,}/bin/sh.
3088 touch sub
/conftst
$i.h
3090 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3094 # after this tag, mechanisms are not by side-effect, so they'll
3095 # only be used when explicitly requested
3096 if test "x$enable_dependency_tracking" = xyes
; then
3104 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3105 # mode. It turns out that the SunPro C++ compiler does not properly
3106 # handle `-M -o', and we need to detect this.
3107 if depmode
=$depmode \
3108 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3109 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3110 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3111 >/dev
/null
2>conftest.err
&&
3112 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3113 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3114 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3115 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3116 # icc doesn't choke on unknown options, it will just issue warnings
3117 # or remarks (even with -Werror). So we grep stderr for any message
3118 # that says an option was ignored or not supported.
3119 # When given -MP, icc 7.0 and 7.1 complain thusly:
3120 # icc: Command line warning: ignoring option '-M'; no argument required
3121 # The diagnosis changed in icc 8.0:
3122 # icc: Command line remark: option '-MP' not supported
3123 if (grep 'ignoring option' conftest.err ||
3124 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3125 am_cv_CXX_dependencies_compiler_type
=$depmode
3134 am_cv_CXX_dependencies_compiler_type
=none
3138 { $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
3139 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
3140 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
3143 test "x$enable_dependency_tracking" != xno \
3144 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
3145 am__fastdepCXX_TRUE
=
3146 am__fastdepCXX_FALSE
='#'
3148 am__fastdepCXX_TRUE
='#'
3149 am__fastdepCXX_FALSE
=
3153 if test -n "$ac_tool_prefix"; then
3154 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3155 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3156 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3157 $as_echo_n "checking for $ac_word... " >&6; }
3158 if test "${ac_cv_prog_RANLIB+set}" = set; then
3159 $as_echo_n "(cached) " >&6
3161 if test -n "$RANLIB"; then
3162 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3164 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3168 test -z "$as_dir" && as_dir
=.
3169 for ac_exec_ext
in '' $ac_executable_extensions; do
3170 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3171 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3172 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3181 RANLIB
=$ac_cv_prog_RANLIB
3182 if test -n "$RANLIB"; then
3183 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
3184 $as_echo "$RANLIB" >&6; }
3186 { $as_echo "$as_me:$LINENO: result: no" >&5
3187 $as_echo "no" >&6; }
3192 if test -z "$ac_cv_prog_RANLIB"; then
3193 ac_ct_RANLIB
=$RANLIB
3194 # Extract the first word of "ranlib", so it can be a program name with args.
3195 set dummy ranlib
; ac_word
=$2
3196 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3197 $as_echo_n "checking for $ac_word... " >&6; }
3198 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3199 $as_echo_n "(cached) " >&6
3201 if test -n "$ac_ct_RANLIB"; then
3202 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # 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_ac_ct_RANLIB
="ranlib"
3212 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3221 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3222 if test -n "$ac_ct_RANLIB"; then
3223 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3224 $as_echo "$ac_ct_RANLIB" >&6; }
3226 { $as_echo "$as_me:$LINENO: result: no" >&5
3227 $as_echo "no" >&6; }
3230 if test "x$ac_ct_RANLIB" = x
; then
3233 case $cross_compiling:$ac_tool_warned in
3235 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3236 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3237 ac_tool_warned
=yes ;;
3239 RANLIB
=$ac_ct_RANLIB
3242 RANLIB
="$ac_cv_prog_RANLIB"
3245 # Find a good install program. We prefer a C program (faster),
3246 # so one script is as good as another. But avoid the broken or
3247 # incompatible versions:
3248 # SysV /etc/install, /usr/sbin/install
3249 # SunOS /usr/etc/install
3250 # IRIX /sbin/install
3252 # AmigaOS /C/install, which installs bootblocks on floppy discs
3253 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3254 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3255 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3256 # OS/2's system install, which has a completely different semantic
3257 # ./install, which can be erroneously created by make from ./install.sh.
3258 # Reject install programs that cannot install multiple files.
3259 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3260 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3261 if test -z "$INSTALL"; then
3262 if test "${ac_cv_path_install+set}" = set; then
3263 $as_echo_n "(cached) " >&6
3265 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3269 test -z "$as_dir" && as_dir
=.
3270 # Account for people who put trailing slashes in PATH elements.
3272 .
/ | .
// |
/cC
/* | \
3273 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3274 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3277 # OSF1 and SCO ODT 3.0 have their own names for install.
3278 # Don't use installbsd from OSF since it installs stuff as root
3280 for ac_prog
in ginstall scoinst
install; do
3281 for ac_exec_ext
in '' $ac_executable_extensions; do
3282 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3283 if test $ac_prog = install &&
3284 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3285 # AIX install. It has an incompatible calling convention.
3287 elif test $ac_prog = install &&
3288 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3289 # program-specific install script used by HP pwplus--don't use.
3292 rm -rf conftest.one conftest.two conftest.dir
3293 echo one
> conftest.one
3294 echo two
> conftest.two
3296 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
3297 test -s conftest.one
&& test -s conftest.two
&&
3298 test -s conftest.dir
/conftest.one
&&
3299 test -s conftest.dir
/conftest.two
3301 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3314 rm -rf conftest.one conftest.two conftest.dir
3317 if test "${ac_cv_path_install+set}" = set; then
3318 INSTALL
=$ac_cv_path_install
3320 # As a last resort, use the slow shell script. Don't cache a
3321 # value for INSTALL within a source directory, because that will
3322 # break other packages using the cache if that directory is
3323 # removed, or if the value is a relative name.
3324 INSTALL
=$ac_install_sh
3327 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
3328 $as_echo "$INSTALL" >&6; }
3330 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3331 # It thinks the first close brace ends the variable substitution.
3332 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3334 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3336 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3339 ac_cpp
='$CPP $CPPFLAGS'
3340 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3341 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3342 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3343 if test -n "$ac_tool_prefix"; then
3344 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3345 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3346 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3347 $as_echo_n "checking for $ac_word... " >&6; }
3348 if test "${ac_cv_prog_CC+set}" = set; then
3349 $as_echo_n "(cached) " >&6
3351 if test -n "$CC"; then
3352 ac_cv_prog_CC
="$CC" # Let the user override the test.
3354 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3358 test -z "$as_dir" && as_dir
=.
3359 for ac_exec_ext
in '' $ac_executable_extensions; do
3360 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3361 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3362 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3372 if test -n "$CC"; then
3373 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3374 $as_echo "$CC" >&6; }
3376 { $as_echo "$as_me:$LINENO: result: no" >&5
3377 $as_echo "no" >&6; }
3382 if test -z "$ac_cv_prog_CC"; then
3384 # Extract the first word of "gcc", so it can be a program name with args.
3385 set dummy gcc
; ac_word
=$2
3386 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3387 $as_echo_n "checking for $ac_word... " >&6; }
3388 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3389 $as_echo_n "(cached) " >&6
3391 if test -n "$ac_ct_CC"; then
3392 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3394 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3398 test -z "$as_dir" && as_dir
=.
3399 for ac_exec_ext
in '' $ac_executable_extensions; do
3400 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3401 ac_cv_prog_ac_ct_CC
="gcc"
3402 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3411 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3412 if test -n "$ac_ct_CC"; then
3413 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3414 $as_echo "$ac_ct_CC" >&6; }
3416 { $as_echo "$as_me:$LINENO: result: no" >&5
3417 $as_echo "no" >&6; }
3420 if test "x$ac_ct_CC" = x
; then
3423 case $cross_compiling:$ac_tool_warned in
3425 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3426 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3427 ac_tool_warned
=yes ;;
3435 if test -z "$CC"; then
3436 if test -n "$ac_tool_prefix"; then
3437 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3438 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3439 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3440 $as_echo_n "checking for $ac_word... " >&6; }
3441 if test "${ac_cv_prog_CC+set}" = set; then
3442 $as_echo_n "(cached) " >&6
3444 if test -n "$CC"; then
3445 ac_cv_prog_CC
="$CC" # Let the user override the test.
3447 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3451 test -z "$as_dir" && as_dir
=.
3452 for ac_exec_ext
in '' $ac_executable_extensions; do
3453 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3454 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3455 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3465 if test -n "$CC"; then
3466 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3467 $as_echo "$CC" >&6; }
3469 { $as_echo "$as_me:$LINENO: result: no" >&5
3470 $as_echo "no" >&6; }
3476 if test -z "$CC"; then
3477 # Extract the first word of "cc", so it can be a program name with args.
3478 set dummy cc
; ac_word
=$2
3479 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3480 $as_echo_n "checking for $ac_word... " >&6; }
3481 if test "${ac_cv_prog_CC+set}" = set; then
3482 $as_echo_n "(cached) " >&6
3484 if test -n "$CC"; then
3485 ac_cv_prog_CC
="$CC" # Let the user override the test.
3488 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3492 test -z "$as_dir" && as_dir
=.
3493 for ac_exec_ext
in '' $ac_executable_extensions; do
3494 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3495 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3496 ac_prog_rejected
=yes
3500 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3507 if test $ac_prog_rejected = yes; then
3508 # We found a bogon in the path, so make sure we never use it.
3509 set dummy
$ac_cv_prog_CC
3511 if test $# != 0; then
3512 # We chose a different compiler from the bogus one.
3513 # However, it has the same basename, so the bogon will be chosen
3514 # first if we set CC to just the basename; use the full file name.
3516 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3522 if test -n "$CC"; then
3523 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3524 $as_echo "$CC" >&6; }
3526 { $as_echo "$as_me:$LINENO: result: no" >&5
3527 $as_echo "no" >&6; }
3532 if test -z "$CC"; then
3533 if test -n "$ac_tool_prefix"; then
3534 for ac_prog
in cl.exe
3536 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3537 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3538 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3539 $as_echo_n "checking for $ac_word... " >&6; }
3540 if test "${ac_cv_prog_CC+set}" = set; then
3541 $as_echo_n "(cached) " >&6
3543 if test -n "$CC"; then
3544 ac_cv_prog_CC
="$CC" # Let the user override the test.
3546 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3550 test -z "$as_dir" && as_dir
=.
3551 for ac_exec_ext
in '' $ac_executable_extensions; do
3552 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3553 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3554 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3564 if test -n "$CC"; then
3565 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3566 $as_echo "$CC" >&6; }
3568 { $as_echo "$as_me:$LINENO: result: no" >&5
3569 $as_echo "no" >&6; }
3573 test -n "$CC" && break
3576 if test -z "$CC"; then
3578 for ac_prog
in cl.exe
3580 # Extract the first word of "$ac_prog", so it can be a program name with args.
3581 set dummy
$ac_prog; ac_word
=$2
3582 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3583 $as_echo_n "checking for $ac_word... " >&6; }
3584 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3585 $as_echo_n "(cached) " >&6
3587 if test -n "$ac_ct_CC"; then
3588 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3590 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3594 test -z "$as_dir" && as_dir
=.
3595 for ac_exec_ext
in '' $ac_executable_extensions; do
3596 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3597 ac_cv_prog_ac_ct_CC
="$ac_prog"
3598 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3607 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3608 if test -n "$ac_ct_CC"; then
3609 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3610 $as_echo "$ac_ct_CC" >&6; }
3612 { $as_echo "$as_me:$LINENO: result: no" >&5
3613 $as_echo "no" >&6; }
3617 test -n "$ac_ct_CC" && break
3620 if test "x$ac_ct_CC" = x
; then
3623 case $cross_compiling:$ac_tool_warned in
3625 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3626 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3627 ac_tool_warned
=yes ;;
3636 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3637 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3638 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3639 See \`config.log' for more details." >&5
3640 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
3641 See \`config.log' for more details." >&2;}
3642 { (exit 1); exit 1; }; }; }
3644 # Provide some information about the compiler.
3645 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
3648 { (ac_try
="$ac_compiler --version >&5"
3650 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3651 *) ac_try_echo=$ac_try;;
3653 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3654 $as_echo "$ac_try_echo") >&5
3655 (eval "$ac_compiler --version >&5") 2>&5
3657 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3658 (exit $ac_status); }
3659 { (ac_try="$ac_compiler -v >&5"
3661 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3662 *) ac_try_echo
=$ac_try;;
3664 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3665 $as_echo "$ac_try_echo") >&5
3666 (eval "$ac_compiler -v >&5") 2>&5
3668 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3669 (exit $ac_status); }
3670 { (ac_try
="$ac_compiler -V >&5"
3672 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3673 *) ac_try_echo=$ac_try;;
3675 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3676 $as_echo "$ac_try_echo") >&5
3677 (eval "$ac_compiler -V >&5") 2>&5
3679 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3680 (exit $ac_status); }
3682 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3683 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3684 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3685 $as_echo_n "(cached) " >&6
3687 cat >conftest.$ac_ext <<_ACEOF
3690 cat confdefs.h >>conftest.$ac_ext
3691 cat >>conftest.$ac_ext <<_ACEOF
3692 /* end confdefs.h. */
3705 rm -f conftest.$ac_objext
3706 if { (ac_try="$ac_compile"
3708 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3709 *) ac_try_echo
=$ac_try;;
3711 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3712 $as_echo "$ac_try_echo") >&5
3713 (eval "$ac_compile") 2>conftest.er1
3715 grep -v '^ *+' conftest.er1
>conftest.err
3717 cat conftest.err
>&5
3718 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3719 (exit $ac_status); } && {
3720 test -z "$ac_c_werror_flag" ||
3721 test ! -s conftest.err
3722 } && test -s conftest.
$ac_objext; then
3725 $as_echo "$as_me: failed program was:" >&5
3726 sed 's/^/| /' conftest.
$ac_ext >&5
3731 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3732 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3735 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3736 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3737 if test $ac_compiler_gnu = yes; then
3742 ac_test_CFLAGS
=${CFLAGS+set}
3743 ac_save_CFLAGS
=$CFLAGS
3744 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3745 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3746 if test "${ac_cv_prog_cc_g+set}" = set; then
3747 $as_echo_n "(cached) " >&6
3749 ac_save_c_werror_flag
=$ac_c_werror_flag
3750 ac_c_werror_flag
=yes
3753 cat >conftest.
$ac_ext <<_ACEOF
3756 cat confdefs.h
>>conftest.
$ac_ext
3757 cat >>conftest.
$ac_ext <<_ACEOF
3758 /* end confdefs.h. */
3768 rm -f conftest.
$ac_objext
3769 if { (ac_try
="$ac_compile"
3771 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3772 *) ac_try_echo=$ac_try;;
3774 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3775 $as_echo "$ac_try_echo") >&5
3776 (eval "$ac_compile") 2>conftest.er1
3778 grep -v '^ *+' conftest.er1 >conftest.err
3780 cat conftest.err >&5
3781 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3782 (exit $ac_status); } && {
3783 test -z "$ac_c_werror_flag" ||
3784 test ! -s conftest.err
3785 } && test -s conftest.$ac_objext; then
3788 $as_echo "$as_me: failed program was:" >&5
3789 sed 's/^/| /' conftest.$ac_ext >&5
3792 cat >conftest.$ac_ext <<_ACEOF
3795 cat confdefs.h >>conftest.$ac_ext
3796 cat >>conftest.$ac_ext <<_ACEOF
3797 /* end confdefs.h. */
3807 rm -f conftest.$ac_objext
3808 if { (ac_try="$ac_compile"
3810 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3811 *) ac_try_echo
=$ac_try;;
3813 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3814 $as_echo "$ac_try_echo") >&5
3815 (eval "$ac_compile") 2>conftest.er1
3817 grep -v '^ *+' conftest.er1
>conftest.err
3819 cat conftest.err
>&5
3820 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3821 (exit $ac_status); } && {
3822 test -z "$ac_c_werror_flag" ||
3823 test ! -s conftest.err
3824 } && test -s conftest.
$ac_objext; then
3827 $as_echo "$as_me: failed program was:" >&5
3828 sed 's/^/| /' conftest.
$ac_ext >&5
3830 ac_c_werror_flag
=$ac_save_c_werror_flag
3832 cat >conftest.
$ac_ext <<_ACEOF
3835 cat confdefs.h
>>conftest.
$ac_ext
3836 cat >>conftest.
$ac_ext <<_ACEOF
3837 /* end confdefs.h. */
3847 rm -f conftest.
$ac_objext
3848 if { (ac_try
="$ac_compile"
3850 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3851 *) ac_try_echo=$ac_try;;
3853 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3854 $as_echo "$ac_try_echo") >&5
3855 (eval "$ac_compile") 2>conftest.er1
3857 grep -v '^ *+' conftest.er1 >conftest.err
3859 cat conftest.err >&5
3860 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3861 (exit $ac_status); } && {
3862 test -z "$ac_c_werror_flag" ||
3863 test ! -s conftest.err
3864 } && test -s conftest.$ac_objext; then
3867 $as_echo "$as_me: failed program was:" >&5
3868 sed 's/^/| /' conftest.$ac_ext >&5
3873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3880 ac_c_werror_flag=$ac_save_c_werror_flag
3882 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3883 $as_echo "$ac_cv_prog_cc_g" >&6; }
3884 if test "$ac_test_CFLAGS" = set; then
3885 CFLAGS=$ac_save_CFLAGS
3886 elif test $ac_cv_prog_cc_g = yes; then
3887 if test "$GCC" = yes; then
3893 if test "$GCC" = yes; then
3899 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3900 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3901 if test "${ac_cv_prog_cc_c89+set}" = set; then
3902 $as_echo_n "(cached) " >&6
3904 ac_cv_prog_cc_c89=no
3906 cat >conftest.$ac_ext <<_ACEOF
3909 cat confdefs.h >>conftest.$ac_ext
3910 cat >>conftest.$ac_ext <<_ACEOF
3911 /* end confdefs.h. */
3914 #include <sys/types.h>
3915 #include <sys/stat.h>
3916 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3917 struct buf { int x; };
3918 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3919 static char *e (p, i)
3925 static char *f (char * (*g) (char **, int), char **p, ...)
3930 s = g (p, va_arg (v,int));
3935 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3936 function prototypes and stuff, but not '\xHH' hex character constants.
3937 These don't provoke an error unfortunately, instead are silently treated
3938 as 'x'. The following induces an error, until -std is added to get
3939 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3940 array size at least. It's necessary to write '\x00'==0 to get something
3941 that's true only with -std. */
3942 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3944 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3945 inside strings and character constants. */
3947 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3949 int test (int i, double x);
3950 struct s1 {int (*f) (int a);};
3951 struct s2 {int (*f) (double a);};
3952 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3958 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3963 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3964 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3966 CC="$ac_save_CC $ac_arg"
3967 rm -f conftest.$ac_objext
3968 if { (ac_try="$ac_compile"
3970 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3971 *) ac_try_echo
=$ac_try;;
3973 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3974 $as_echo "$ac_try_echo") >&5
3975 (eval "$ac_compile") 2>conftest.er1
3977 grep -v '^ *+' conftest.er1
>conftest.err
3979 cat conftest.err
>&5
3980 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3981 (exit $ac_status); } && {
3982 test -z "$ac_c_werror_flag" ||
3983 test ! -s conftest.err
3984 } && test -s conftest.
$ac_objext; then
3985 ac_cv_prog_cc_c89
=$ac_arg
3987 $as_echo "$as_me: failed program was:" >&5
3988 sed 's/^/| /' conftest.
$ac_ext >&5
3993 rm -f core conftest.err conftest.
$ac_objext
3994 test "x$ac_cv_prog_cc_c89" != "xno" && break
3996 rm -f conftest.
$ac_ext
4001 case "x$ac_cv_prog_cc_c89" in
4003 { $as_echo "$as_me:$LINENO: result: none needed" >&5
4004 $as_echo "none needed" >&6; } ;;
4006 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
4007 $as_echo "unsupported" >&6; } ;;
4009 CC
="$CC $ac_cv_prog_cc_c89"
4010 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
4011 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4016 ac_cpp
='$CPP $CPPFLAGS'
4017 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4018 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4019 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4021 depcc
="$CC" am_compiler_list
=
4023 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4024 $as_echo_n "checking dependency style of $depcc... " >&6; }
4025 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4026 $as_echo_n "(cached) " >&6
4028 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4029 # We make a subdir and do the tests there. Otherwise we can end up
4030 # making bogus files that we don't know about and never remove. For
4031 # instance it was reported that on HP-UX the gcc test will end up
4032 # making a dummy file named `D' -- because `-MD' means `put the output
4035 # Copy depcomp to subdir because otherwise we won't find it if we're
4036 # using a relative directory.
4037 cp "$am_depcomp" conftest.dir
4039 # We will build objects and dependencies in a subdirectory because
4040 # it helps to detect inapplicable dependency modes. For instance
4041 # both Tru64's cc and ICC support -MD to output dependencies as a
4042 # side effect of compilation, but ICC will put the dependencies in
4043 # the current directory while Tru64 will put them in the object
4047 am_cv_CC_dependencies_compiler_type
=none
4048 if test "$am_compiler_list" = ""; then
4049 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4051 for depmode
in $am_compiler_list; do
4052 # Setup a source with many dependencies, because some compilers
4053 # like to wrap large dependency lists on column 80 (with \), and
4054 # we should not choose a depcomp mode which is confused by this.
4056 # We need to recreate these files for each test, as the compiler may
4057 # overwrite some of them when testing with obscure command lines.
4058 # This happens at least with the AIX C compiler.
4060 for i
in 1 2 3 4 5 6; do
4061 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4062 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4063 # Solaris 8's {/usr,}/bin/sh.
4064 touch sub
/conftst
$i.h
4066 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4070 # after this tag, mechanisms are not by side-effect, so they'll
4071 # only be used when explicitly requested
4072 if test "x$enable_dependency_tracking" = xyes
; then
4080 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4081 # mode. It turns out that the SunPro C++ compiler does not properly
4082 # handle `-M -o', and we need to detect this.
4083 if depmode
=$depmode \
4084 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
4085 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4086 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
4087 >/dev
/null
2>conftest.err
&&
4088 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4089 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4090 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
4091 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4092 # icc doesn't choke on unknown options, it will just issue warnings
4093 # or remarks (even with -Werror). So we grep stderr for any message
4094 # that says an option was ignored or not supported.
4095 # When given -MP, icc 7.0 and 7.1 complain thusly:
4096 # icc: Command line warning: ignoring option '-M'; no argument required
4097 # The diagnosis changed in icc 8.0:
4098 # icc: Command line remark: option '-MP' not supported
4099 if (grep 'ignoring option' conftest.err ||
4100 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4101 am_cv_CC_dependencies_compiler_type
=$depmode
4110 am_cv_CC_dependencies_compiler_type
=none
4114 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4115 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4116 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4119 test "x$enable_dependency_tracking" != xno \
4120 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4122 am__fastdepCC_FALSE
='#'
4124 am__fastdepCC_TRUE
='#'
4125 am__fastdepCC_FALSE
=
4131 ac_cpp
='$CPP $CPPFLAGS'
4132 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4133 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4134 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4135 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4136 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4137 # On Suns, sometimes $CPP names a directory.
4138 if test -n "$CPP" && test -d "$CPP"; then
4141 if test -z "$CPP"; then
4142 if test "${ac_cv_prog_CPP+set}" = set; then
4143 $as_echo_n "(cached) " >&6
4145 # Double quotes because CPP needs to be expanded
4146 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4149 for ac_c_preproc_warn_flag
in '' yes
4151 # Use a header file that comes with gcc, so configuring glibc
4152 # with a fresh cross-compiler works.
4153 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4154 # <limits.h> exists even on freestanding compilers.
4155 # On the NeXT, cc -E runs the code through the compiler's parser,
4156 # not just through cpp. "Syntax error" is here to catch this case.
4157 cat >conftest.
$ac_ext <<_ACEOF
4160 cat confdefs.h
>>conftest.
$ac_ext
4161 cat >>conftest.
$ac_ext <<_ACEOF
4162 /* end confdefs.h. */
4164 # include <limits.h>
4166 # include <assert.h>
4170 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4172 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4173 *) ac_try_echo=$ac_try;;
4175 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4176 $as_echo "$ac_try_echo") >&5
4177 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4179 grep -v '^ *+' conftest.er1 >conftest.err
4181 cat conftest.err >&5
4182 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4183 (exit $ac_status); } >/dev/null && {
4184 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4185 test ! -s conftest.err
4189 $as_echo "$as_me: failed program was:" >&5
4190 sed 's/^/| /' conftest.$ac_ext >&5
4192 # Broken: fails on valid input.
4196 rm -f conftest.err conftest.$ac_ext
4198 # OK, works on sane cases. Now check whether nonexistent headers
4199 # can be detected and how.
4200 cat >conftest.$ac_ext <<_ACEOF
4203 cat confdefs.h >>conftest.$ac_ext
4204 cat >>conftest.$ac_ext <<_ACEOF
4205 /* end confdefs.h. */
4206 #include <ac_nonexistent.h>
4208 if { (ac_try="$ac_cpp conftest.$ac_ext"
4210 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4211 *) ac_try_echo
=$ac_try;;
4213 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4214 $as_echo "$ac_try_echo") >&5
4215 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4217 grep -v '^ *+' conftest.er1
>conftest.err
4219 cat conftest.err
>&5
4220 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4221 (exit $ac_status); } >/dev
/null
&& {
4222 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4223 test ! -s conftest.err
4225 # Broken: success on invalid input.
4228 $as_echo "$as_me: failed program was:" >&5
4229 sed 's/^/| /' conftest.
$ac_ext >&5
4231 # Passes both tests.
4236 rm -f conftest.err conftest.
$ac_ext
4239 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4240 rm -f conftest.err conftest.
$ac_ext
4241 if $ac_preproc_ok; then
4253 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
4254 $as_echo "$CPP" >&6; }
4256 for ac_c_preproc_warn_flag
in '' yes
4258 # Use a header file that comes with gcc, so configuring glibc
4259 # with a fresh cross-compiler works.
4260 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4261 # <limits.h> exists even on freestanding compilers.
4262 # On the NeXT, cc -E runs the code through the compiler's parser,
4263 # not just through cpp. "Syntax error" is here to catch this case.
4264 cat >conftest.
$ac_ext <<_ACEOF
4267 cat confdefs.h
>>conftest.
$ac_ext
4268 cat >>conftest.
$ac_ext <<_ACEOF
4269 /* end confdefs.h. */
4271 # include <limits.h>
4273 # include <assert.h>
4277 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4279 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4280 *) ac_try_echo=$ac_try;;
4282 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4283 $as_echo "$ac_try_echo") >&5
4284 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4286 grep -v '^ *+' conftest.er1 >conftest.err
4288 cat conftest.err >&5
4289 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4290 (exit $ac_status); } >/dev/null && {
4291 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4292 test ! -s conftest.err
4296 $as_echo "$as_me: failed program was:" >&5
4297 sed 's/^/| /' conftest.$ac_ext >&5
4299 # Broken: fails on valid input.
4303 rm -f conftest.err conftest.$ac_ext
4305 # OK, works on sane cases. Now check whether nonexistent headers
4306 # can be detected and how.
4307 cat >conftest.$ac_ext <<_ACEOF
4310 cat confdefs.h >>conftest.$ac_ext
4311 cat >>conftest.$ac_ext <<_ACEOF
4312 /* end confdefs.h. */
4313 #include <ac_nonexistent.h>
4315 if { (ac_try="$ac_cpp conftest.$ac_ext"
4317 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4318 *) ac_try_echo
=$ac_try;;
4320 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4321 $as_echo "$ac_try_echo") >&5
4322 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4324 grep -v '^ *+' conftest.er1
>conftest.err
4326 cat conftest.err
>&5
4327 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4328 (exit $ac_status); } >/dev
/null
&& {
4329 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4330 test ! -s conftest.err
4332 # Broken: success on invalid input.
4335 $as_echo "$as_me: failed program was:" >&5
4336 sed 's/^/| /' conftest.
$ac_ext >&5
4338 # Passes both tests.
4343 rm -f conftest.err conftest.
$ac_ext
4346 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4347 rm -f conftest.err conftest.
$ac_ext
4348 if $ac_preproc_ok; then
4351 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4352 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4353 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4354 See \`config.log' for more details." >&5
4355 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4356 See \`config.log' for more details." >&2;}
4357 { (exit 1); exit 1; }; }; }
4361 ac_cpp
='$CPP $CPPFLAGS'
4362 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4363 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4364 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4367 { $as_echo "$as_me:$LINENO: checking for X" >&5
4368 $as_echo_n "checking for X... " >&6; }
4371 # Check whether --with-x was given.
4372 if test "${with_x+set}" = set; then
4376 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
4377 if test "x$with_x" = xno
; then
4378 # The user explicitly disabled X.
4381 case $x_includes,$x_libraries in #(
4382 *\'*) { { $as_echo "$as_me:$LINENO: error: cannot use X directory names containing '" >&5
4383 $as_echo "$as_me: error: cannot use X directory names containing '" >&2;}
4384 { (exit 1); exit 1; }; };; #(
4385 *,NONE | NONE
,*) if test "${ac_cv_have_x+set}" = set; then
4386 $as_echo_n "(cached) " >&6
4388 # One or both of the vars are not set, and there is no cached value.
4389 ac_x_includes
=no ac_x_libraries
=no
4390 rm -f -r conftest.dir
4391 if mkdir conftest.dir
; then
4393 cat >Imakefile
<<'_ACEOF'
4395 @echo incroot='${INCROOT}'
4397 @echo usrlibdir='${USRLIBDIR}'
4399 @echo libdir='${LIBDIR}'
4401 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
4402 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
4403 for ac_var
in incroot usrlibdir libdir
; do
4404 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
4406 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
4407 for ac_extension
in a so sl dylib la dll
; do
4408 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
4409 test -f "$ac_im_libdir/libX11.$ac_extension"; then
4410 ac_im_usrlibdir
=$ac_im_libdir; break
4413 # Screen out bogus values from the imake configuration. They are
4414 # bogus both because they are the default anyway, and because
4415 # using them would break gcc on systems where it needs fixed includes.
4416 case $ac_im_incroot in
4417 /usr
/include
) ac_x_includes
= ;;
4418 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
4420 case $ac_im_usrlibdir in
4421 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
4422 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
4426 rm -f -r conftest.dir
4429 # Standard set of common directories for X headers.
4430 # Check X11 before X11Rn because it is often a symlink to the current release.
4442 /usr/local/X11/include
4443 /usr/local/X11R6/include
4444 /usr/local/X11R5/include
4445 /usr/local/X11R4/include
4447 /usr/local/include/X11
4448 /usr/local/include/X11R6
4449 /usr/local/include/X11R5
4450 /usr/local/include/X11R4
4454 /usr/XFree86/include/X11
4458 /usr/unsupported/include
4460 /usr/local/x11r5/include
4461 /usr/lpp/Xamples/include
4463 /usr/openwin/include
4464 /usr/openwin/share/include'
4466 if test "$ac_x_includes" = no
; then
4467 # Guess where to find include files, by looking for Xlib.h.
4468 # First, try using that file with no special directory specified.
4469 cat >conftest.
$ac_ext <<_ACEOF
4472 cat confdefs.h
>>conftest.
$ac_ext
4473 cat >>conftest.
$ac_ext <<_ACEOF
4474 /* end confdefs.h. */
4475 #include <X11/Xlib.h>
4477 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4479 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4480 *) ac_try_echo=$ac_try;;
4482 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4483 $as_echo "$ac_try_echo") >&5
4484 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4486 grep -v '^ *+' conftest.er1 >conftest.err
4488 cat conftest.err >&5
4489 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4490 (exit $ac_status); } >/dev/null && {
4491 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4492 test ! -s conftest.err
4494 # We can compile using X headers with no special include directory.
4497 $as_echo "$as_me: failed program was:" >&5
4498 sed 's/^/| /' conftest.$ac_ext >&5
4500 for ac_dir in $ac_x_header_dirs; do
4501 if test -r "$ac_dir/X11/Xlib.h"; then
4502 ac_x_includes=$ac_dir
4508 rm -f conftest.err conftest.$ac_ext
4509 fi # $ac_x_includes = no
4511 if test "$ac_x_libraries" = no; then
4512 # Check for the libraries.
4513 # See if we find them without any special options.
4514 # Don't add to $LIBS permanently.
4517 cat >conftest.$ac_ext <<_ACEOF
4520 cat confdefs.h >>conftest.$ac_ext
4521 cat >>conftest.$ac_ext <<_ACEOF
4522 /* end confdefs.h. */
4523 #include <X11/Xlib.h>
4532 rm -f conftest.$ac_objext conftest$ac_exeext
4533 if { (ac_try="$ac_link"
4535 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4536 *) ac_try_echo
=$ac_try;;
4538 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4539 $as_echo "$ac_try_echo") >&5
4540 (eval "$ac_link") 2>conftest.er1
4542 grep -v '^ *+' conftest.er1
>conftest.err
4544 cat conftest.err
>&5
4545 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4546 (exit $ac_status); } && {
4547 test -z "$ac_c_werror_flag" ||
4548 test ! -s conftest.err
4549 } && test -s conftest
$ac_exeext && {
4550 test "$cross_compiling" = yes ||
4551 $as_test_x conftest
$ac_exeext
4554 # We can link X programs with no special library path.
4557 $as_echo "$as_me: failed program was:" >&5
4558 sed 's/^/| /' conftest.
$ac_ext >&5
4561 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
4563 # Don't even attempt the hair of trying to link an X program!
4564 for ac_extension
in a so sl dylib la dll
; do
4565 if test -r "$ac_dir/libX11.$ac_extension"; then
4566 ac_x_libraries
=$ac_dir
4573 rm -rf conftest.dSYM
4574 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4575 conftest
$ac_exeext conftest.
$ac_ext
4576 fi # $ac_x_libraries = no
4578 case $ac_x_includes,$ac_x_libraries in #(
4580 # Didn't find X, or a directory has "'" in its name.
4581 ac_cv_have_x
="have_x=no";; #(
4583 # Record where we found X for the cache.
4584 ac_cv_have_x
="have_x=yes\
4585 ac_x_includes='$ac_x_includes'\
4586 ac_x_libraries='$ac_x_libraries'"
4592 eval "$ac_cv_have_x"
4595 if test "$have_x" != yes; then
4596 { $as_echo "$as_me:$LINENO: result: $have_x" >&5
4597 $as_echo "$have_x" >&6; }
4600 # If each of the values was on the command line, it overrides each guess.
4601 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
4602 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
4603 # Update the cache value to reflect the command line values.
4604 ac_cv_have_x
="have_x=yes\
4605 ac_x_includes='$x_includes'\
4606 ac_x_libraries='$x_libraries'"
4607 { $as_echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
4608 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
4611 if test "$no_x" = yes; then
4612 # Not all programs may use this symbol, but it does not hurt to define it.
4614 cat >>confdefs.h
<<\_ACEOF
4615 #define X_DISPLAY_MISSING 1
4618 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
4620 if test -n "$x_includes"; then
4621 X_CFLAGS
="$X_CFLAGS -I$x_includes"
4624 # It would also be nice to do this for all -L options, not just this one.
4625 if test -n "$x_libraries"; then
4626 X_LIBS
="$X_LIBS -L$x_libraries"
4627 # For Solaris; some versions of Sun CC require a space after -R and
4628 # others require no space. Words are not sufficient . . . .
4629 { $as_echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
4630 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
4631 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
4632 ac_xsave_c_werror_flag
=$ac_c_werror_flag
4633 ac_c_werror_flag
=yes
4634 cat >conftest.
$ac_ext <<_ACEOF
4637 cat confdefs.h
>>conftest.
$ac_ext
4638 cat >>conftest.
$ac_ext <<_ACEOF
4639 /* end confdefs.h. */
4649 rm -f conftest.
$ac_objext conftest
$ac_exeext
4650 if { (ac_try
="$ac_link"
4652 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4653 *) ac_try_echo=$ac_try;;
4655 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4656 $as_echo "$ac_try_echo") >&5
4657 (eval "$ac_link") 2>conftest.er1
4659 grep -v '^ *+' conftest.er1 >conftest.err
4661 cat conftest.err >&5
4662 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4663 (exit $ac_status); } && {
4664 test -z "$ac_c_werror_flag" ||
4665 test ! -s conftest.err
4666 } && test -s conftest$ac_exeext && {
4667 test "$cross_compiling" = yes ||
4668 $as_test_x conftest$ac_exeext
4670 { $as_echo "$as_me:$LINENO: result: no" >&5
4671 $as_echo "no" >&6; }
4672 X_LIBS="$X_LIBS -R$x_libraries"
4674 $as_echo "$as_me: failed program was:" >&5
4675 sed 's/^/| /' conftest.$ac_ext >&5
4677 LIBS="$ac_xsave_LIBS -R $x_libraries"
4678 cat >conftest.$ac_ext <<_ACEOF
4681 cat confdefs.h >>conftest.$ac_ext
4682 cat >>conftest.$ac_ext <<_ACEOF
4683 /* end confdefs.h. */
4693 rm -f conftest.$ac_objext conftest$ac_exeext
4694 if { (ac_try="$ac_link"
4696 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4697 *) ac_try_echo
=$ac_try;;
4699 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4700 $as_echo "$ac_try_echo") >&5
4701 (eval "$ac_link") 2>conftest.er1
4703 grep -v '^ *+' conftest.er1
>conftest.err
4705 cat conftest.err
>&5
4706 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4707 (exit $ac_status); } && {
4708 test -z "$ac_c_werror_flag" ||
4709 test ! -s conftest.err
4710 } && test -s conftest
$ac_exeext && {
4711 test "$cross_compiling" = yes ||
4712 $as_test_x conftest
$ac_exeext
4714 { $as_echo "$as_me:$LINENO: result: yes" >&5
4715 $as_echo "yes" >&6; }
4716 X_LIBS
="$X_LIBS -R $x_libraries"
4718 $as_echo "$as_me: failed program was:" >&5
4719 sed 's/^/| /' conftest.
$ac_ext >&5
4721 { $as_echo "$as_me:$LINENO: result: neither works" >&5
4722 $as_echo "neither works" >&6; }
4725 rm -rf conftest.dSYM
4726 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4727 conftest
$ac_exeext conftest.
$ac_ext
4730 rm -rf conftest.dSYM
4731 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4732 conftest
$ac_exeext conftest.
$ac_ext
4733 ac_c_werror_flag
=$ac_xsave_c_werror_flag
4737 # Check for system-dependent libraries X programs must link with.
4738 # Do this before checking for the system-independent R6 libraries
4739 # (-lICE), since we may need -lsocket or whatever for X linking.
4741 if test "$ISC" = yes; then
4742 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
4744 # Martyn Johnson says this is needed for Ultrix, if the X
4745 # libraries were built with DECnet support. And Karl Berry says
4746 # the Alpha needs dnet_stub (dnet does not exist).
4747 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
4748 cat >conftest.
$ac_ext <<_ACEOF
4751 cat confdefs.h
>>conftest.
$ac_ext
4752 cat >>conftest.
$ac_ext <<_ACEOF
4753 /* end confdefs.h. */
4755 /* Override any GCC internal prototype to avoid an error.
4756 Use char because int might match the return type of a GCC
4757 builtin and then its argument prototype would still apply. */
4761 char XOpenDisplay ();
4765 return XOpenDisplay ();
4770 rm -f conftest.
$ac_objext conftest
$ac_exeext
4771 if { (ac_try
="$ac_link"
4773 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4774 *) ac_try_echo=$ac_try;;
4776 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4777 $as_echo "$ac_try_echo") >&5
4778 (eval "$ac_link") 2>conftest.er1
4780 grep -v '^ *+' conftest.er1 >conftest.err
4782 cat conftest.err >&5
4783 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4784 (exit $ac_status); } && {
4785 test -z "$ac_c_werror_flag" ||
4786 test ! -s conftest.err
4787 } && test -s conftest$ac_exeext && {
4788 test "$cross_compiling" = yes ||
4789 $as_test_x conftest$ac_exeext
4793 $as_echo "$as_me: failed program was:" >&5
4794 sed 's/^/| /' conftest.$ac_ext >&5
4796 { $as_echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4797 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
4798 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4799 $as_echo_n "(cached) " >&6
4801 ac_check_lib_save_LIBS=$LIBS
4803 cat >conftest.$ac_ext <<_ACEOF
4806 cat confdefs.h >>conftest.$ac_ext
4807 cat >>conftest.$ac_ext <<_ACEOF
4808 /* end confdefs.h. */
4810 /* Override any GCC internal prototype to avoid an error.
4811 Use char because int might match the return type of a GCC
4812 builtin and then its argument prototype would still apply. */
4820 return dnet_ntoa ();
4825 rm -f conftest.$ac_objext conftest$ac_exeext
4826 if { (ac_try="$ac_link"
4828 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4829 *) ac_try_echo
=$ac_try;;
4831 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4832 $as_echo "$ac_try_echo") >&5
4833 (eval "$ac_link") 2>conftest.er1
4835 grep -v '^ *+' conftest.er1
>conftest.err
4837 cat conftest.err
>&5
4838 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4839 (exit $ac_status); } && {
4840 test -z "$ac_c_werror_flag" ||
4841 test ! -s conftest.err
4842 } && test -s conftest
$ac_exeext && {
4843 test "$cross_compiling" = yes ||
4844 $as_test_x conftest
$ac_exeext
4846 ac_cv_lib_dnet_dnet_ntoa
=yes
4848 $as_echo "$as_me: failed program was:" >&5
4849 sed 's/^/| /' conftest.
$ac_ext >&5
4851 ac_cv_lib_dnet_dnet_ntoa
=no
4854 rm -rf conftest.dSYM
4855 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4856 conftest
$ac_exeext conftest.
$ac_ext
4857 LIBS
=$ac_check_lib_save_LIBS
4859 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4860 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4861 if test "x$ac_cv_lib_dnet_dnet_ntoa" = x
""yes; then
4862 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
4865 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
4866 { $as_echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4867 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
4868 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4869 $as_echo_n "(cached) " >&6
4871 ac_check_lib_save_LIBS
=$LIBS
4872 LIBS
="-ldnet_stub $LIBS"
4873 cat >conftest.
$ac_ext <<_ACEOF
4876 cat confdefs.h
>>conftest.
$ac_ext
4877 cat >>conftest.
$ac_ext <<_ACEOF
4878 /* end confdefs.h. */
4880 /* Override any GCC internal prototype to avoid an error.
4881 Use char because int might match the return type of a GCC
4882 builtin and then its argument prototype would still apply. */
4890 return dnet_ntoa ();
4895 rm -f conftest.
$ac_objext conftest
$ac_exeext
4896 if { (ac_try
="$ac_link"
4898 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4899 *) ac_try_echo=$ac_try;;
4901 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4902 $as_echo "$ac_try_echo") >&5
4903 (eval "$ac_link") 2>conftest.er1
4905 grep -v '^ *+' conftest.er1 >conftest.err
4907 cat conftest.err >&5
4908 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4909 (exit $ac_status); } && {
4910 test -z "$ac_c_werror_flag" ||
4911 test ! -s conftest.err
4912 } && test -s conftest$ac_exeext && {
4913 test "$cross_compiling" = yes ||
4914 $as_test_x conftest$ac_exeext
4916 ac_cv_lib_dnet_stub_dnet_ntoa=yes
4918 $as_echo "$as_me: failed program was:" >&5
4919 sed 's/^/| /' conftest.$ac_ext >&5
4921 ac_cv_lib_dnet_stub_dnet_ntoa=no
4924 rm -rf conftest.dSYM
4925 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4926 conftest$ac_exeext conftest.$ac_ext
4927 LIBS=$ac_check_lib_save_LIBS
4929 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4930 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4931 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x""yes; then
4932 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
4938 rm -rf conftest.dSYM
4939 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4940 conftest$ac_exeext conftest.$ac_ext
4941 LIBS="$ac_xsave_LIBS"
4943 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4944 # to get the SysV transport functions.
4945 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4947 # The nsl library prevents programs from opening the X display
4948 # on Irix 5.2, according to T.E. Dickey.
4949 # The functions gethostbyname, getservbyname, and inet_addr are
4950 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4951 { $as_echo "$as_me:$LINENO: checking for gethostbyname" >&5
4952 $as_echo_n "checking for gethostbyname... " >&6; }
4953 if test "${ac_cv_func_gethostbyname+set}" = set; then
4954 $as_echo_n "(cached) " >&6
4956 cat >conftest.$ac_ext <<_ACEOF
4959 cat confdefs.h >>conftest.$ac_ext
4960 cat >>conftest.$ac_ext <<_ACEOF
4961 /* end confdefs.h. */
4962 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4963 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4964 #define gethostbyname innocuous_gethostbyname
4966 /* System header to define __stub macros and hopefully few prototypes,
4967 which can conflict with char gethostbyname (); below.
4968 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4969 <limits.h> exists even on freestanding compilers. */
4972 # include <limits.h>
4974 # include <assert.h>
4977 #undef gethostbyname
4979 /* Override any GCC internal prototype to avoid an error.
4980 Use char because int might match the return type of a GCC
4981 builtin and then its argument prototype would still apply. */
4985 char gethostbyname ();
4986 /* The GNU C library defines this for functions which it implements
4987 to always fail with ENOSYS. Some functions are actually named
4988 something starting with __ and the normal name is an alias. */
4989 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4996 return gethostbyname ();
5001 rm -f conftest.$ac_objext conftest$ac_exeext
5002 if { (ac_try="$ac_link"
5004 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5005 *) ac_try_echo
=$ac_try;;
5007 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5008 $as_echo "$ac_try_echo") >&5
5009 (eval "$ac_link") 2>conftest.er1
5011 grep -v '^ *+' conftest.er1
>conftest.err
5013 cat conftest.err
>&5
5014 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5015 (exit $ac_status); } && {
5016 test -z "$ac_c_werror_flag" ||
5017 test ! -s conftest.err
5018 } && test -s conftest
$ac_exeext && {
5019 test "$cross_compiling" = yes ||
5020 $as_test_x conftest
$ac_exeext
5022 ac_cv_func_gethostbyname
=yes
5024 $as_echo "$as_me: failed program was:" >&5
5025 sed 's/^/| /' conftest.
$ac_ext >&5
5027 ac_cv_func_gethostbyname
=no
5030 rm -rf conftest.dSYM
5031 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5032 conftest
$ac_exeext conftest.
$ac_ext
5034 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
5035 $as_echo "$ac_cv_func_gethostbyname" >&6; }
5037 if test $ac_cv_func_gethostbyname = no
; then
5038 { $as_echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
5039 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
5040 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
5041 $as_echo_n "(cached) " >&6
5043 ac_check_lib_save_LIBS
=$LIBS
5045 cat >conftest.
$ac_ext <<_ACEOF
5048 cat confdefs.h
>>conftest.
$ac_ext
5049 cat >>conftest.
$ac_ext <<_ACEOF
5050 /* end confdefs.h. */
5052 /* Override any GCC internal prototype to avoid an error.
5053 Use char because int might match the return type of a GCC
5054 builtin and then its argument prototype would still apply. */
5058 char gethostbyname ();
5062 return gethostbyname ();
5067 rm -f conftest.
$ac_objext conftest
$ac_exeext
5068 if { (ac_try
="$ac_link"
5070 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5071 *) ac_try_echo=$ac_try;;
5073 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5074 $as_echo "$ac_try_echo") >&5
5075 (eval "$ac_link") 2>conftest.er1
5077 grep -v '^ *+' conftest.er1 >conftest.err
5079 cat conftest.err >&5
5080 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5081 (exit $ac_status); } && {
5082 test -z "$ac_c_werror_flag" ||
5083 test ! -s conftest.err
5084 } && test -s conftest$ac_exeext && {
5085 test "$cross_compiling" = yes ||
5086 $as_test_x conftest$ac_exeext
5088 ac_cv_lib_nsl_gethostbyname=yes
5090 $as_echo "$as_me: failed program was:" >&5
5091 sed 's/^/| /' conftest.$ac_ext >&5
5093 ac_cv_lib_nsl_gethostbyname=no
5096 rm -rf conftest.dSYM
5097 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5098 conftest$ac_exeext conftest.$ac_ext
5099 LIBS=$ac_check_lib_save_LIBS
5101 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
5102 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
5103 if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then
5104 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
5107 if test $ac_cv_lib_nsl_gethostbyname = no; then
5108 { $as_echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
5109 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
5110 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
5111 $as_echo_n "(cached) " >&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 gethostbyname ();
5132 return gethostbyname ();
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 ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5144 $as_echo "$ac_try_echo") >&5
5145 (eval "$ac_link") 2>conftest.er1
5147 grep -v '^ *+' conftest.er1
>conftest.err
5149 cat conftest.err
>&5
5150 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5151 (exit $ac_status); } && {
5152 test -z "$ac_c_werror_flag" ||
5153 test ! -s conftest.err
5154 } && test -s conftest
$ac_exeext && {
5155 test "$cross_compiling" = yes ||
5156 $as_test_x conftest
$ac_exeext
5158 ac_cv_lib_bsd_gethostbyname
=yes
5160 $as_echo "$as_me: failed program was:" >&5
5161 sed 's/^/| /' conftest.
$ac_ext >&5
5163 ac_cv_lib_bsd_gethostbyname
=no
5166 rm -rf conftest.dSYM
5167 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5168 conftest
$ac_exeext conftest.
$ac_ext
5169 LIBS
=$ac_check_lib_save_LIBS
5171 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
5172 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
5173 if test "x$ac_cv_lib_bsd_gethostbyname" = x
""yes; then
5174 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
5180 # lieder@skyler.mavd.honeywell.com says without -lsocket,
5181 # socket/setsockopt and other routines are undefined under SCO ODT
5182 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
5183 # on later versions), says Simon Leinen: it contains gethostby*
5184 # variants that don't use the name server (or something). -lsocket
5185 # must be given before -lnsl if both are needed. We assume that
5186 # if connect needs -lnsl, so does gethostbyname.
5187 { $as_echo "$as_me:$LINENO: checking for connect" >&5
5188 $as_echo_n "checking for connect... " >&6; }
5189 if test "${ac_cv_func_connect+set}" = set; then
5190 $as_echo_n "(cached) " >&6
5192 cat >conftest.
$ac_ext <<_ACEOF
5195 cat confdefs.h
>>conftest.
$ac_ext
5196 cat >>conftest.
$ac_ext <<_ACEOF
5197 /* end confdefs.h. */
5198 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
5199 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5200 #define connect innocuous_connect
5202 /* System header to define __stub macros and hopefully few prototypes,
5203 which can conflict with char connect (); below.
5204 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5205 <limits.h> exists even on freestanding compilers. */
5208 # include <limits.h>
5210 # include <assert.h>
5215 /* Override any GCC internal prototype to avoid an error.
5216 Use char because int might match the return type of a GCC
5217 builtin and then its argument prototype would still apply. */
5222 /* The GNU C library defines this for functions which it implements
5223 to always fail with ENOSYS. Some functions are actually named
5224 something starting with __ and the normal name is an alias. */
5225 #if defined __stub_connect || defined __stub___connect
5237 rm -f conftest.
$ac_objext conftest
$ac_exeext
5238 if { (ac_try
="$ac_link"
5240 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5241 *) ac_try_echo=$ac_try;;
5243 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5244 $as_echo "$ac_try_echo") >&5
5245 (eval "$ac_link") 2>conftest.er1
5247 grep -v '^ *+' conftest.er1 >conftest.err
5249 cat conftest.err >&5
5250 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5251 (exit $ac_status); } && {
5252 test -z "$ac_c_werror_flag" ||
5253 test ! -s conftest.err
5254 } && test -s conftest$ac_exeext && {
5255 test "$cross_compiling" = yes ||
5256 $as_test_x conftest$ac_exeext
5258 ac_cv_func_connect=yes
5260 $as_echo "$as_me: failed program was:" >&5
5261 sed 's/^/| /' conftest.$ac_ext >&5
5263 ac_cv_func_connect=no
5266 rm -rf conftest.dSYM
5267 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5268 conftest$ac_exeext conftest.$ac_ext
5270 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
5271 $as_echo "$ac_cv_func_connect" >&6; }
5273 if test $ac_cv_func_connect = no; then
5274 { $as_echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
5275 $as_echo_n "checking for connect in -lsocket... " >&6; }
5276 if test "${ac_cv_lib_socket_connect+set}" = set; then
5277 $as_echo_n "(cached) " >&6
5279 ac_check_lib_save_LIBS=$LIBS
5280 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
5281 cat >conftest.$ac_ext <<_ACEOF
5284 cat confdefs.h >>conftest.$ac_ext
5285 cat >>conftest.$ac_ext <<_ACEOF
5286 /* end confdefs.h. */
5288 /* Override any GCC internal prototype to avoid an error.
5289 Use char because int might match the return type of a GCC
5290 builtin and then its argument prototype would still apply. */
5303 rm -f conftest.$ac_objext conftest$ac_exeext
5304 if { (ac_try="$ac_link"
5306 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5307 *) ac_try_echo
=$ac_try;;
5309 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5310 $as_echo "$ac_try_echo") >&5
5311 (eval "$ac_link") 2>conftest.er1
5313 grep -v '^ *+' conftest.er1
>conftest.err
5315 cat conftest.err
>&5
5316 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5317 (exit $ac_status); } && {
5318 test -z "$ac_c_werror_flag" ||
5319 test ! -s conftest.err
5320 } && test -s conftest
$ac_exeext && {
5321 test "$cross_compiling" = yes ||
5322 $as_test_x conftest
$ac_exeext
5324 ac_cv_lib_socket_connect
=yes
5326 $as_echo "$as_me: failed program was:" >&5
5327 sed 's/^/| /' conftest.
$ac_ext >&5
5329 ac_cv_lib_socket_connect
=no
5332 rm -rf conftest.dSYM
5333 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5334 conftest
$ac_exeext conftest.
$ac_ext
5335 LIBS
=$ac_check_lib_save_LIBS
5337 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
5338 $as_echo "$ac_cv_lib_socket_connect" >&6; }
5339 if test "x$ac_cv_lib_socket_connect" = x
""yes; then
5340 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
5345 # Guillermo Gomez says -lposix is necessary on A/UX.
5346 { $as_echo "$as_me:$LINENO: checking for remove" >&5
5347 $as_echo_n "checking for remove... " >&6; }
5348 if test "${ac_cv_func_remove+set}" = set; then
5349 $as_echo_n "(cached) " >&6
5351 cat >conftest.
$ac_ext <<_ACEOF
5354 cat confdefs.h
>>conftest.
$ac_ext
5355 cat >>conftest.
$ac_ext <<_ACEOF
5356 /* end confdefs.h. */
5357 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
5358 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5359 #define remove innocuous_remove
5361 /* System header to define __stub macros and hopefully few prototypes,
5362 which can conflict with char remove (); below.
5363 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5364 <limits.h> exists even on freestanding compilers. */
5367 # include <limits.h>
5369 # include <assert.h>
5374 /* Override any GCC internal prototype to avoid an error.
5375 Use char because int might match the return type of a GCC
5376 builtin and then its argument prototype would still apply. */
5381 /* The GNU C library defines this for functions which it implements
5382 to always fail with ENOSYS. Some functions are actually named
5383 something starting with __ and the normal name is an alias. */
5384 #if defined __stub_remove || defined __stub___remove
5396 rm -f conftest.
$ac_objext conftest
$ac_exeext
5397 if { (ac_try
="$ac_link"
5399 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5400 *) ac_try_echo=$ac_try;;
5402 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5403 $as_echo "$ac_try_echo") >&5
5404 (eval "$ac_link") 2>conftest.er1
5406 grep -v '^ *+' conftest.er1 >conftest.err
5408 cat conftest.err >&5
5409 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5410 (exit $ac_status); } && {
5411 test -z "$ac_c_werror_flag" ||
5412 test ! -s conftest.err
5413 } && test -s conftest$ac_exeext && {
5414 test "$cross_compiling" = yes ||
5415 $as_test_x conftest$ac_exeext
5417 ac_cv_func_remove=yes
5419 $as_echo "$as_me: failed program was:" >&5
5420 sed 's/^/| /' conftest.$ac_ext >&5
5422 ac_cv_func_remove=no
5425 rm -rf conftest.dSYM
5426 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5427 conftest$ac_exeext conftest.$ac_ext
5429 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
5430 $as_echo "$ac_cv_func_remove" >&6; }
5432 if test $ac_cv_func_remove = no; then
5433 { $as_echo "$as_me:$LINENO: checking for remove in -lposix" >&5
5434 $as_echo_n "checking for remove in -lposix... " >&6; }
5435 if test "${ac_cv_lib_posix_remove+set}" = set; then
5436 $as_echo_n "(cached) " >&6
5438 ac_check_lib_save_LIBS=$LIBS
5439 LIBS="-lposix $LIBS"
5440 cat >conftest.$ac_ext <<_ACEOF
5443 cat confdefs.h >>conftest.$ac_ext
5444 cat >>conftest.$ac_ext <<_ACEOF
5445 /* end confdefs.h. */
5447 /* Override any GCC internal prototype to avoid an error.
5448 Use char because int might match the return type of a GCC
5449 builtin and then its argument prototype would still apply. */
5462 rm -f conftest.$ac_objext conftest$ac_exeext
5463 if { (ac_try="$ac_link"
5465 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5466 *) ac_try_echo
=$ac_try;;
5468 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5469 $as_echo "$ac_try_echo") >&5
5470 (eval "$ac_link") 2>conftest.er1
5472 grep -v '^ *+' conftest.er1
>conftest.err
5474 cat conftest.err
>&5
5475 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5476 (exit $ac_status); } && {
5477 test -z "$ac_c_werror_flag" ||
5478 test ! -s conftest.err
5479 } && test -s conftest
$ac_exeext && {
5480 test "$cross_compiling" = yes ||
5481 $as_test_x conftest
$ac_exeext
5483 ac_cv_lib_posix_remove
=yes
5485 $as_echo "$as_me: failed program was:" >&5
5486 sed 's/^/| /' conftest.
$ac_ext >&5
5488 ac_cv_lib_posix_remove
=no
5491 rm -rf conftest.dSYM
5492 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5493 conftest
$ac_exeext conftest.
$ac_ext
5494 LIBS
=$ac_check_lib_save_LIBS
5496 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
5497 $as_echo "$ac_cv_lib_posix_remove" >&6; }
5498 if test "x$ac_cv_lib_posix_remove" = x
""yes; then
5499 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
5504 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
5505 { $as_echo "$as_me:$LINENO: checking for shmat" >&5
5506 $as_echo_n "checking for shmat... " >&6; }
5507 if test "${ac_cv_func_shmat+set}" = set; then
5508 $as_echo_n "(cached) " >&6
5510 cat >conftest.
$ac_ext <<_ACEOF
5513 cat confdefs.h
>>conftest.
$ac_ext
5514 cat >>conftest.
$ac_ext <<_ACEOF
5515 /* end confdefs.h. */
5516 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
5517 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5518 #define shmat innocuous_shmat
5520 /* System header to define __stub macros and hopefully few prototypes,
5521 which can conflict with char shmat (); below.
5522 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5523 <limits.h> exists even on freestanding compilers. */
5526 # include <limits.h>
5528 # include <assert.h>
5533 /* Override any GCC internal prototype to avoid an error.
5534 Use char because int might match the return type of a GCC
5535 builtin and then its argument prototype would still apply. */
5540 /* The GNU C library defines this for functions which it implements
5541 to always fail with ENOSYS. Some functions are actually named
5542 something starting with __ and the normal name is an alias. */
5543 #if defined __stub_shmat || defined __stub___shmat
5555 rm -f conftest.
$ac_objext conftest
$ac_exeext
5556 if { (ac_try
="$ac_link"
5558 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5559 *) ac_try_echo=$ac_try;;
5561 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5562 $as_echo "$ac_try_echo") >&5
5563 (eval "$ac_link") 2>conftest.er1
5565 grep -v '^ *+' conftest.er1 >conftest.err
5567 cat conftest.err >&5
5568 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5569 (exit $ac_status); } && {
5570 test -z "$ac_c_werror_flag" ||
5571 test ! -s conftest.err
5572 } && test -s conftest$ac_exeext && {
5573 test "$cross_compiling" = yes ||
5574 $as_test_x conftest$ac_exeext
5576 ac_cv_func_shmat=yes
5578 $as_echo "$as_me: failed program was:" >&5
5579 sed 's/^/| /' conftest.$ac_ext >&5
5584 rm -rf conftest.dSYM
5585 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5586 conftest$ac_exeext conftest.$ac_ext
5588 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
5589 $as_echo "$ac_cv_func_shmat" >&6; }
5591 if test $ac_cv_func_shmat = no; then
5592 { $as_echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
5593 $as_echo_n "checking for shmat in -lipc... " >&6; }
5594 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
5595 $as_echo_n "(cached) " >&6
5597 ac_check_lib_save_LIBS=$LIBS
5599 cat >conftest.$ac_ext <<_ACEOF
5602 cat confdefs.h >>conftest.$ac_ext
5603 cat >>conftest.$ac_ext <<_ACEOF
5604 /* end confdefs.h. */
5606 /* Override any GCC internal prototype to avoid an error.
5607 Use char because int might match the return type of a GCC
5608 builtin and then its argument prototype would still apply. */
5621 rm -f conftest.$ac_objext conftest$ac_exeext
5622 if { (ac_try="$ac_link"
5624 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5625 *) ac_try_echo
=$ac_try;;
5627 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5628 $as_echo "$ac_try_echo") >&5
5629 (eval "$ac_link") 2>conftest.er1
5631 grep -v '^ *+' conftest.er1
>conftest.err
5633 cat conftest.err
>&5
5634 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5635 (exit $ac_status); } && {
5636 test -z "$ac_c_werror_flag" ||
5637 test ! -s conftest.err
5638 } && test -s conftest
$ac_exeext && {
5639 test "$cross_compiling" = yes ||
5640 $as_test_x conftest
$ac_exeext
5642 ac_cv_lib_ipc_shmat
=yes
5644 $as_echo "$as_me: failed program was:" >&5
5645 sed 's/^/| /' conftest.
$ac_ext >&5
5647 ac_cv_lib_ipc_shmat
=no
5650 rm -rf conftest.dSYM
5651 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5652 conftest
$ac_exeext conftest.
$ac_ext
5653 LIBS
=$ac_check_lib_save_LIBS
5655 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
5656 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
5657 if test "x$ac_cv_lib_ipc_shmat" = x
""yes; then
5658 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
5664 # Check for libraries that X11R6 Xt/Xaw programs need.
5665 ac_save_LDFLAGS
=$LDFLAGS
5666 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
5667 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
5668 # check for ICE first), but we must link in the order -lSM -lICE or
5669 # we get undefined symbols. So assume we have SM if we have ICE.
5670 # These have to be linked with before -lX11, unlike the other
5671 # libraries we check for below, so use a different variable.
5672 # John Interrante, Karl Berry
5673 { $as_echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
5674 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
5675 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
5676 $as_echo_n "(cached) " >&6
5678 ac_check_lib_save_LIBS
=$LIBS
5679 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
5680 cat >conftest.
$ac_ext <<_ACEOF
5683 cat confdefs.h
>>conftest.
$ac_ext
5684 cat >>conftest.
$ac_ext <<_ACEOF
5685 /* end confdefs.h. */
5687 /* Override any GCC internal prototype to avoid an error.
5688 Use char because int might match the return type of a GCC
5689 builtin and then its argument prototype would still apply. */
5693 char IceConnectionNumber ();
5697 return IceConnectionNumber ();
5702 rm -f conftest.
$ac_objext conftest
$ac_exeext
5703 if { (ac_try
="$ac_link"
5705 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5706 *) ac_try_echo=$ac_try;;
5708 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5709 $as_echo "$ac_try_echo") >&5
5710 (eval "$ac_link") 2>conftest.er1
5712 grep -v '^ *+' conftest.er1 >conftest.err
5714 cat conftest.err >&5
5715 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5716 (exit $ac_status); } && {
5717 test -z "$ac_c_werror_flag" ||
5718 test ! -s conftest.err
5719 } && test -s conftest$ac_exeext && {
5720 test "$cross_compiling" = yes ||
5721 $as_test_x conftest$ac_exeext
5723 ac_cv_lib_ICE_IceConnectionNumber=yes
5725 $as_echo "$as_me: failed program was:" >&5
5726 sed 's/^/| /' conftest.$ac_ext >&5
5728 ac_cv_lib_ICE_IceConnectionNumber=no
5731 rm -rf conftest.dSYM
5732 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5733 conftest$ac_exeext conftest.$ac_ext
5734 LIBS=$ac_check_lib_save_LIBS
5736 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
5737 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
5738 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x""yes; then
5739 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
5742 LDFLAGS=$ac_save_LDFLAGS
5747 ac_cpp='$CXXCPP $CPPFLAGS'
5748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5753 { $as_echo "$as_me:$LINENO: checking whether we are enabling debug-mode" >&5
5754 $as_echo_n "checking whether we are enabling debug-mode... " >&6; }
5755 # Check whether --enable-debug was given.
5756 if test "${enable_debug+set}" = set; then
5757 enableval=$enable_debug;
5762 { $as_echo "$as_me:$LINENO: result: $enable_debug" >&5
5763 $as_echo "$enable_debug" >&6; }
5765 if test x$enable_debug = xyes; then
5767 cat >>confdefs.h <<\_ACEOF
5771 CXXFLAGS="-g -O0 -Wall -Werror"
5774 { $as_echo "$as_me:$LINENO: checking whether we are enabling gprof profiling-support" >&5
5775 $as_echo_n "checking whether we are enabling gprof profiling-support... " >&6; }
5776 # Check whether --enable-gprof was given.
5777 if test "${enable_gprof+set}" = set; then
5778 enableval=$enable_gprof;
5783 { $as_echo "$as_me:$LINENO: result: $enable_gprof" >&5
5784 $as_echo "$enable_gprof" >&6; }
5786 if test x$enable_gprof = xyes; then
5787 CXXFLAGS="$CXXFLAGS -pg"
5790 { $as_echo "$as_me:$LINENO: checking whether we are enabling FunctionCheck profiling" >&5
5791 $as_echo_n "checking whether we are enabling FunctionCheck profiling... " >&6; }
5792 # Check whether --enable-fcheck was given.
5793 if test "${enable_fcheck+set}" = set; then
5794 enableval=$enable_fcheck;
5799 { $as_echo "$as_me:$LINENO: result: $enable_fcheck" >&5
5800 $as_echo "$enable_fcheck" >&6; }
5802 if test x$enable_fcheck = xyes; then
5803 CXXFLAGS="`fc-config
--cflags`"
5804 LIBS="$LIBS `fc-config
--libs`"
5807 { $as_echo "$as_me:$LINENO: checking whether we want to compile the X11 client" >&5
5808 $as_echo_n "checking whether we want to compile the X11 client... " >&6; }
5809 # Check whether --enable-x11 was given.
5810 if test "${enable_x11+set}" = set; then
5811 enableval=$enable_x11;
5816 { $as_echo "$as_me:$LINENO: result: $enable_x11" >&5
5817 $as_echo "$enable_x11" >&6; }
5819 { $as_echo "$as_me:$LINENO: checking whether we want to compile the glut client" >&5
5820 $as_echo_n "checking whether we want to compile the glut client... " >&6; }
5821 # Check whether --enable-glut was given.
5822 if test "${enable_glut+set}" = set; then
5823 enableval=$enable_glut;
5828 { $as_echo "$as_me:$LINENO: result: $enable_glut" >&5
5829 $as_echo "$enable_glut" >&6; }
5833 ac_cpp='$CXXCPP $CPPFLAGS'
5834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5837 { $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5838 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
5839 if test -z "$CXXCPP"; then
5840 if test "${ac_cv_prog_CXXCPP+set}" = set; then
5841 $as_echo_n "(cached) " >&6
5843 # Double quotes because CXXCPP needs to be expanded
5844 for CXXCPP in "$CXX -E" "/lib/cpp"
5847 for ac_cxx_preproc_warn_flag in '' yes
5849 # Use a header file that comes with gcc, so configuring glibc
5850 # with a fresh cross-compiler works.
5851 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5852 # <limits.h> exists even on freestanding compilers.
5853 # On the NeXT, cc -E runs the code through the compiler's parser,
5854 # not just through cpp. "Syntax error" is here to catch this case.
5855 cat >conftest.$ac_ext <<_ACEOF
5858 cat confdefs.h >>conftest.$ac_ext
5859 cat >>conftest.$ac_ext <<_ACEOF
5860 /* end confdefs.h. */
5862 # include <limits.h>
5864 # include <assert.h>
5868 if { (ac_try="$ac_cpp conftest.$ac_ext"
5870 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5871 *) ac_try_echo
=$ac_try;;
5873 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5874 $as_echo "$ac_try_echo") >&5
5875 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5877 grep -v '^ *+' conftest.er1
>conftest.err
5879 cat conftest.err
>&5
5880 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5881 (exit $ac_status); } >/dev
/null
&& {
5882 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5883 test ! -s conftest.err
5887 $as_echo "$as_me: failed program was:" >&5
5888 sed 's/^/| /' conftest.
$ac_ext >&5
5890 # Broken: fails on valid input.
5894 rm -f conftest.err conftest.
$ac_ext
5896 # OK, works on sane cases. Now check whether nonexistent headers
5897 # can be detected and how.
5898 cat >conftest.
$ac_ext <<_ACEOF
5901 cat confdefs.h
>>conftest.
$ac_ext
5902 cat >>conftest.
$ac_ext <<_ACEOF
5903 /* end confdefs.h. */
5904 #include <ac_nonexistent.h>
5906 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5908 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5909 *) ac_try_echo=$ac_try;;
5911 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5912 $as_echo "$ac_try_echo") >&5
5913 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5915 grep -v '^ *+' conftest.er1 >conftest.err
5917 cat conftest.err >&5
5918 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5919 (exit $ac_status); } >/dev/null && {
5920 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5921 test ! -s conftest.err
5923 # Broken: success on invalid input.
5926 $as_echo "$as_me: failed program was:" >&5
5927 sed 's/^/| /' conftest.$ac_ext >&5
5929 # Passes both tests.
5934 rm -f conftest.err conftest.$ac_ext
5937 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5938 rm -f conftest.err conftest.
$ac_ext
5939 if $ac_preproc_ok; then
5944 ac_cv_prog_CXXCPP
=$CXXCPP
5947 CXXCPP
=$ac_cv_prog_CXXCPP
5949 ac_cv_prog_CXXCPP
=$CXXCPP
5951 { $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5
5952 $as_echo "$CXXCPP" >&6; }
5954 for ac_cxx_preproc_warn_flag
in '' yes
5956 # Use a header file that comes with gcc, so configuring glibc
5957 # with a fresh cross-compiler works.
5958 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5959 # <limits.h> exists even on freestanding compilers.
5960 # On the NeXT, cc -E runs the code through the compiler's parser,
5961 # not just through cpp. "Syntax error" is here to catch this case.
5962 cat >conftest.
$ac_ext <<_ACEOF
5965 cat confdefs.h
>>conftest.
$ac_ext
5966 cat >>conftest.
$ac_ext <<_ACEOF
5967 /* end confdefs.h. */
5969 # include <limits.h>
5971 # include <assert.h>
5975 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5977 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5978 *) ac_try_echo=$ac_try;;
5980 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5981 $as_echo "$ac_try_echo") >&5
5982 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5984 grep -v '^ *+' conftest.er1 >conftest.err
5986 cat conftest.err >&5
5987 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5988 (exit $ac_status); } >/dev/null && {
5989 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5990 test ! -s conftest.err
5994 $as_echo "$as_me: failed program was:" >&5
5995 sed 's/^/| /' conftest.$ac_ext >&5
5997 # Broken: fails on valid input.
6001 rm -f conftest.err conftest.$ac_ext
6003 # OK, works on sane cases. Now check whether nonexistent headers
6004 # can be detected and how.
6005 cat >conftest.$ac_ext <<_ACEOF
6008 cat confdefs.h >>conftest.$ac_ext
6009 cat >>conftest.$ac_ext <<_ACEOF
6010 /* end confdefs.h. */
6011 #include <ac_nonexistent.h>
6013 if { (ac_try="$ac_cpp conftest.$ac_ext"
6015 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6016 *) ac_try_echo
=$ac_try;;
6018 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6019 $as_echo "$ac_try_echo") >&5
6020 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6022 grep -v '^ *+' conftest.er1
>conftest.err
6024 cat conftest.err
>&5
6025 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6026 (exit $ac_status); } >/dev
/null
&& {
6027 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6028 test ! -s conftest.err
6030 # Broken: success on invalid input.
6033 $as_echo "$as_me: failed program was:" >&5
6034 sed 's/^/| /' conftest.
$ac_ext >&5
6036 # Passes both tests.
6041 rm -f conftest.err conftest.
$ac_ext
6044 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6045 rm -f conftest.err conftest.
$ac_ext
6046 if $ac_preproc_ok; then
6049 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
6050 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6051 { { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6052 See \`config.log' for more details." >&5
6053 $as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6054 See \`config.log' for more details." >&2;}
6055 { (exit 1); exit 1; }; }; }
6059 ac_cpp
='$CXXCPP $CPPFLAGS'
6060 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6061 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6062 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6065 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
6066 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6067 if test "${ac_cv_path_GREP+set}" = set; then
6068 $as_echo_n "(cached) " >&6
6070 if test -z "$GREP"; then
6071 ac_path_GREP_found
=false
6072 # Loop through the user's path and test for each of PROGNAME-LIST
6073 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6074 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6077 test -z "$as_dir" && as_dir
=.
6078 for ac_prog
in grep ggrep
; do
6079 for ac_exec_ext
in '' $ac_executable_extensions; do
6080 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
6081 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
6082 # Check for GNU ac_path_GREP and select it if it is found.
6083 # Check for GNU $ac_path_GREP
6084 case `"$ac_path_GREP" --version 2>&1` in
6086 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
6089 $as_echo_n 0123456789 >"conftest.in"
6092 cat "conftest.in" "conftest.in" >"conftest.tmp"
6093 mv "conftest.tmp" "conftest.in"
6094 cp "conftest.in" "conftest.nl"
6095 $as_echo 'GREP' >> "conftest.nl"
6096 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6097 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6098 ac_count
=`expr $ac_count + 1`
6099 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6100 # Best one so far, save it but keep looking for a better one
6101 ac_cv_path_GREP
="$ac_path_GREP"
6102 ac_path_GREP_max
=$ac_count
6104 # 10*(2^10) chars as input seems more than enough
6105 test $ac_count -gt 10 && break
6107 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6110 $ac_path_GREP_found && break 3
6115 if test -z "$ac_cv_path_GREP"; then
6116 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6117 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6118 { (exit 1); exit 1; }; }
6121 ac_cv_path_GREP
=$GREP
6125 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
6126 $as_echo "$ac_cv_path_GREP" >&6; }
6127 GREP
="$ac_cv_path_GREP"
6130 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
6131 $as_echo_n "checking for egrep... " >&6; }
6132 if test "${ac_cv_path_EGREP+set}" = set; then
6133 $as_echo_n "(cached) " >&6
6135 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
6136 then ac_cv_path_EGREP
="$GREP -E"
6138 if test -z "$EGREP"; then
6139 ac_path_EGREP_found
=false
6140 # Loop through the user's path and test for each of PROGNAME-LIST
6141 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6142 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6145 test -z "$as_dir" && as_dir
=.
6146 for ac_prog
in egrep; do
6147 for ac_exec_ext
in '' $ac_executable_extensions; do
6148 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
6149 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
6150 # Check for GNU ac_path_EGREP and select it if it is found.
6151 # Check for GNU $ac_path_EGREP
6152 case `"$ac_path_EGREP" --version 2>&1` in
6154 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
6157 $as_echo_n 0123456789 >"conftest.in"
6160 cat "conftest.in" "conftest.in" >"conftest.tmp"
6161 mv "conftest.tmp" "conftest.in"
6162 cp "conftest.in" "conftest.nl"
6163 $as_echo 'EGREP' >> "conftest.nl"
6164 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6165 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6166 ac_count
=`expr $ac_count + 1`
6167 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6168 # Best one so far, save it but keep looking for a better one
6169 ac_cv_path_EGREP
="$ac_path_EGREP"
6170 ac_path_EGREP_max
=$ac_count
6172 # 10*(2^10) chars as input seems more than enough
6173 test $ac_count -gt 10 && break
6175 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6178 $ac_path_EGREP_found && break 3
6183 if test -z "$ac_cv_path_EGREP"; then
6184 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6185 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6186 { (exit 1); exit 1; }; }
6189 ac_cv_path_EGREP
=$EGREP
6194 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
6195 $as_echo "$ac_cv_path_EGREP" >&6; }
6196 EGREP
="$ac_cv_path_EGREP"
6199 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6200 $as_echo_n "checking for ANSI C header files... " >&6; }
6201 if test "${ac_cv_header_stdc+set}" = set; then
6202 $as_echo_n "(cached) " >&6
6204 cat >conftest.
$ac_ext <<_ACEOF
6207 cat confdefs.h
>>conftest.
$ac_ext
6208 cat >>conftest.
$ac_ext <<_ACEOF
6209 /* end confdefs.h. */
6223 rm -f conftest.
$ac_objext
6224 if { (ac_try
="$ac_compile"
6226 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6227 *) ac_try_echo=$ac_try;;
6229 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6230 $as_echo "$ac_try_echo") >&5
6231 (eval "$ac_compile") 2>conftest.er1
6233 grep -v '^ *+' conftest.er1 >conftest.err
6235 cat conftest.err >&5
6236 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6237 (exit $ac_status); } && {
6238 test -z "$ac_cxx_werror_flag" ||
6239 test ! -s conftest.err
6240 } && test -s conftest.$ac_objext; then
6241 ac_cv_header_stdc=yes
6243 $as_echo "$as_me: failed program was:" >&5
6244 sed 's/^/| /' conftest.$ac_ext >&5
6246 ac_cv_header_stdc=no
6249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6251 if test $ac_cv_header_stdc = yes; then
6252 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6253 cat >conftest.$ac_ext <<_ACEOF
6256 cat confdefs.h >>conftest.$ac_ext
6257 cat >>conftest.$ac_ext <<_ACEOF
6258 /* end confdefs.h. */
6262 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6263 $EGREP "memchr" >/dev/null 2>&1; then
6266 ac_cv_header_stdc=no
6272 if test $ac_cv_header_stdc = yes; then
6273 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6274 cat >conftest.$ac_ext <<_ACEOF
6277 cat confdefs.h >>conftest.$ac_ext
6278 cat >>conftest.$ac_ext <<_ACEOF
6279 /* end confdefs.h. */
6283 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6284 $EGREP "free" >/dev/null 2>&1; then
6287 ac_cv_header_stdc=no
6293 if test $ac_cv_header_stdc = yes; then
6294 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6295 if test "$cross_compiling" = yes; then
6298 cat >conftest.$ac_ext <<_ACEOF
6301 cat confdefs.h >>conftest.$ac_ext
6302 cat >>conftest.$ac_ext <<_ACEOF
6303 /* end confdefs.h. */
6306 #if ((' ' & 0x0FF) == 0x020)
6307 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6308 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6310 # define ISLOWER(c) \
6311 (('a' <= (c) && (c) <= 'i') \
6312 || ('j' <= (c) && (c) <= 'r') \
6313 || ('s' <= (c) && (c) <= 'z'))
6314 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6317 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6322 for (i = 0; i < 256; i++)
6323 if (XOR (islower (i), ISLOWER (i))
6324 || toupper (i) != TOUPPER (i))
6329 rm -f conftest$ac_exeext
6330 if { (ac_try="$ac_link"
6332 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6333 *) ac_try_echo
=$ac_try;;
6335 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6336 $as_echo "$ac_try_echo") >&5
6337 (eval "$ac_link") 2>&5
6339 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6340 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6341 { (case "(($ac_try" in
6342 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6343 *) ac_try_echo=$ac_try;;
6345 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6346 $as_echo "$ac_try_echo") >&5
6347 (eval "$ac_try") 2>&5
6349 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6350 (exit $ac_status); }; }; then
6353 $as_echo "$as_me: program exited with status $ac_status" >&5
6354 $as_echo "$as_me: failed program was:" >&5
6355 sed 's/^/| /' conftest.$ac_ext >&5
6358 ac_cv_header_stdc=no
6360 rm -rf conftest.dSYM
6361 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6367 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6368 $as_echo "$ac_cv_header_stdc" >&6; }
6369 if test $ac_cv_header_stdc = yes; then
6371 cat >>confdefs.h <<\_ACEOF
6372 #define STDC_HEADERS 1
6377 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6387 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6388 inttypes.h stdint.h unistd.h
6390 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
6391 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6392 $as_echo_n "checking for $ac_header... " >&6; }
6393 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6394 $as_echo_n "(cached) " >&6
6396 cat >conftest.$ac_ext <<_ACEOF
6399 cat confdefs.h >>conftest.$ac_ext
6400 cat >>conftest.$ac_ext <<_ACEOF
6401 /* end confdefs.h. */
6402 $ac_includes_default
6404 #include <$ac_header>
6406 rm -f conftest.$ac_objext
6407 if { (ac_try="$ac_compile"
6409 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6410 *) ac_try_echo
=$ac_try;;
6412 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6413 $as_echo "$ac_try_echo") >&5
6414 (eval "$ac_compile") 2>conftest.er1
6416 grep -v '^ *+' conftest.er1
>conftest.err
6418 cat conftest.err
>&5
6419 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6420 (exit $ac_status); } && {
6421 test -z "$ac_cxx_werror_flag" ||
6422 test ! -s conftest.err
6423 } && test -s conftest.
$ac_objext; then
6424 eval "$as_ac_Header=yes"
6426 $as_echo "$as_me: failed program was:" >&5
6427 sed 's/^/| /' conftest.
$ac_ext >&5
6429 eval "$as_ac_Header=no"
6432 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6434 ac_res
=`eval 'as_val=${'$as_ac_Header'}
6435 $as_echo "$as_val"'`
6436 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6437 $as_echo "$ac_res" >&6; }
6438 as_val
=`eval 'as_val=${'$as_ac_Header'}
6439 $as_echo "$as_val"'`
6440 if test "x$as_val" = x
""yes; then
6441 cat >>confdefs.h
<<_ACEOF
6442 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6450 if test "${ac_cv_header_sstream+set}" = set; then
6451 { $as_echo "$as_me:$LINENO: checking for sstream" >&5
6452 $as_echo_n "checking for sstream... " >&6; }
6453 if test "${ac_cv_header_sstream+set}" = set; then
6454 $as_echo_n "(cached) " >&6
6456 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sstream" >&5
6457 $as_echo "$ac_cv_header_sstream" >&6; }
6459 # Is the header compilable?
6460 { $as_echo "$as_me:$LINENO: checking sstream usability" >&5
6461 $as_echo_n "checking sstream usability... " >&6; }
6462 cat >conftest.
$ac_ext <<_ACEOF
6465 cat confdefs.h
>>conftest.
$ac_ext
6466 cat >>conftest.
$ac_ext <<_ACEOF
6467 /* end confdefs.h. */
6468 $ac_includes_default
6471 rm -f conftest.
$ac_objext
6472 if { (ac_try
="$ac_compile"
6474 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6475 *) ac_try_echo=$ac_try;;
6477 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6478 $as_echo "$ac_try_echo") >&5
6479 (eval "$ac_compile") 2>conftest.er1
6481 grep -v '^ *+' conftest.er1 >conftest.err
6483 cat conftest.err >&5
6484 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6485 (exit $ac_status); } && {
6486 test -z "$ac_cxx_werror_flag" ||
6487 test ! -s conftest.err
6488 } && test -s conftest.$ac_objext; then
6489 ac_header_compiler=yes
6491 $as_echo "$as_me: failed program was:" >&5
6492 sed 's/^/| /' conftest.$ac_ext >&5
6494 ac_header_compiler=no
6497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6498 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6499 $as_echo "$ac_header_compiler" >&6; }
6501 # Is the header present?
6502 { $as_echo "$as_me:$LINENO: checking sstream presence" >&5
6503 $as_echo_n "checking sstream presence... " >&6; }
6504 cat >conftest.$ac_ext <<_ACEOF
6507 cat confdefs.h >>conftest.$ac_ext
6508 cat >>conftest.$ac_ext <<_ACEOF
6509 /* end confdefs.h. */
6512 if { (ac_try="$ac_cpp conftest.$ac_ext"
6514 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6515 *) ac_try_echo
=$ac_try;;
6517 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6518 $as_echo "$ac_try_echo") >&5
6519 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6521 grep -v '^ *+' conftest.er1
>conftest.err
6523 cat conftest.err
>&5
6524 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6525 (exit $ac_status); } >/dev
/null
&& {
6526 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6527 test ! -s conftest.err
6529 ac_header_preproc
=yes
6531 $as_echo "$as_me: failed program was:" >&5
6532 sed 's/^/| /' conftest.
$ac_ext >&5
6534 ac_header_preproc
=no
6537 rm -f conftest.err conftest.
$ac_ext
6538 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6539 $as_echo "$ac_header_preproc" >&6; }
6541 # So? What about this header?
6542 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
6544 { $as_echo "$as_me:$LINENO: WARNING: sstream: accepted by the compiler, rejected by the preprocessor!" >&5
6545 $as_echo "$as_me: WARNING: sstream: accepted by the compiler, rejected by the preprocessor!" >&2;}
6546 { $as_echo "$as_me:$LINENO: WARNING: sstream: proceeding with the compiler's result" >&5
6547 $as_echo "$as_me: WARNING: sstream: proceeding with the compiler's result" >&2;}
6548 ac_header_preproc
=yes
6551 { $as_echo "$as_me:$LINENO: WARNING: sstream: present but cannot be compiled" >&5
6552 $as_echo "$as_me: WARNING: sstream: present but cannot be compiled" >&2;}
6553 { $as_echo "$as_me:$LINENO: WARNING: sstream: check for missing prerequisite headers?" >&5
6554 $as_echo "$as_me: WARNING: sstream: check for missing prerequisite headers?" >&2;}
6555 { $as_echo "$as_me:$LINENO: WARNING: sstream: see the Autoconf documentation" >&5
6556 $as_echo "$as_me: WARNING: sstream: see the Autoconf documentation" >&2;}
6557 { $as_echo "$as_me:$LINENO: WARNING: sstream: section \"Present But Cannot Be Compiled\"" >&5
6558 $as_echo "$as_me: WARNING: sstream: section \"Present But Cannot Be Compiled\"" >&2;}
6559 { $as_echo "$as_me:$LINENO: WARNING: sstream: proceeding with the preprocessor's result" >&5
6560 $as_echo "$as_me: WARNING: sstream: proceeding with the preprocessor's result" >&2;}
6561 { $as_echo "$as_me:$LINENO: WARNING: sstream: in the future, the compiler will take precedence" >&5
6562 $as_echo "$as_me: WARNING: sstream: in the future, the compiler will take precedence" >&2;}
6566 { $as_echo "$as_me:$LINENO: checking for sstream" >&5
6567 $as_echo_n "checking for sstream... " >&6; }
6568 if test "${ac_cv_header_sstream+set}" = set; then
6569 $as_echo_n "(cached) " >&6
6571 ac_cv_header_sstream
=$ac_header_preproc
6573 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sstream" >&5
6574 $as_echo "$ac_cv_header_sstream" >&6; }
6577 if test "x$ac_cv_header_sstream" = x
""yes; then
6580 { $as_echo "$as_me:$LINENO: using replacement sstream from compatlib/" >&5
6581 $as_echo "$as_me: using replacement sstream from compatlib/" >&6;}
6582 CXXFLAGS
="$CXXFLAGS -Icompatlib/"
6588 test "x$prefix" = xNONE
&& prefix
="$ac_default_prefix"
6589 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
6590 ac_define_dir
=`eval echo $datadir`
6591 ac_define_dir
=`eval echo $ac_define_dir`
6593 cat >>confdefs.h
<<_ACEOF
6594 #define DATADIR "$ac_define_dir"
6600 { $as_echo "$as_me:$LINENO: checking for gzopen in -lz" >&5
6601 $as_echo_n "checking for gzopen in -lz... " >&6; }
6602 if test "${ac_cv_lib_z_gzopen+set}" = set; then
6603 $as_echo_n "(cached) " >&6
6605 ac_check_lib_save_LIBS
=$LIBS
6607 cat >conftest.
$ac_ext <<_ACEOF
6610 cat confdefs.h
>>conftest.
$ac_ext
6611 cat >>conftest.
$ac_ext <<_ACEOF
6612 /* end confdefs.h. */
6614 /* Override any GCC internal prototype to avoid an error.
6615 Use char because int might match the return type of a GCC
6616 builtin and then its argument prototype would still apply. */
6629 rm -f conftest.
$ac_objext conftest
$ac_exeext
6630 if { (ac_try
="$ac_link"
6632 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6633 *) ac_try_echo=$ac_try;;
6635 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6636 $as_echo "$ac_try_echo") >&5
6637 (eval "$ac_link") 2>conftest.er1
6639 grep -v '^ *+' conftest.er1 >conftest.err
6641 cat conftest.err >&5
6642 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6643 (exit $ac_status); } && {
6644 test -z "$ac_cxx_werror_flag" ||
6645 test ! -s conftest.err
6646 } && test -s conftest$ac_exeext && {
6647 test "$cross_compiling" = yes ||
6648 $as_test_x conftest$ac_exeext
6650 ac_cv_lib_z_gzopen=yes
6652 $as_echo "$as_me: failed program was:" >&5
6653 sed 's/^/| /' conftest.$ac_ext >&5
6655 ac_cv_lib_z_gzopen=no
6658 rm -rf conftest.dSYM
6659 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6660 conftest$ac_exeext conftest.$ac_ext
6661 LIBS=$ac_check_lib_save_LIBS
6663 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_z_gzopen" >&5
6664 $as_echo "$ac_cv_lib_z_gzopen" >&6; }
6665 if test "x$ac_cv_lib_z_gzopen" = x""yes; then
6666 cat >>confdefs.h <<_ACEOF
6677 if test -n "$X_DISPLAY_MISSING"; then
6679 echo "### Error: Couldn't find X11 header files, probally x11-devel packages"
6680 echo "### not installed?"
6683 if test x$enable_x11 = xyes; then
6684 ConstruoTargets="$ConstruoTargets construo.x11"
6686 x11_LIBS="$x11_LIBS $X_LIBS $X_PRE_LIBS $X_EXTRA_LIBS -lX11"
6687 x11_CXXFLAGS="$CXXFLAGS $X_CFLAGS"
6690 { $as_echo "$as_me:$LINENO: checking for XMissingExtension in -lXext" >&5
6691 $as_echo_n "checking for XMissingExtension in -lXext... " >&6; }
6692 if test "${ac_cv_lib_Xext_XMissingExtension+set}" = set; then
6693 $as_echo_n "(cached) " >&6
6695 ac_check_lib_save_LIBS=$LIBS
6696 LIBS="-lXext $x11_LIBS $LIBS"
6697 cat >conftest.$ac_ext <<_ACEOF
6700 cat confdefs.h >>conftest.$ac_ext
6701 cat >>conftest.$ac_ext <<_ACEOF
6702 /* end confdefs.h. */
6704 /* Override any GCC internal prototype to avoid an error.
6705 Use char because int might match the return type of a GCC
6706 builtin and then its argument prototype would still apply. */
6710 char XMissingExtension ();
6714 return XMissingExtension ();
6719 rm -f conftest.$ac_objext conftest$ac_exeext
6720 if { (ac_try="$ac_link"
6722 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6723 *) ac_try_echo
=$ac_try;;
6725 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6726 $as_echo "$ac_try_echo") >&5
6727 (eval "$ac_link") 2>conftest.er1
6729 grep -v '^ *+' conftest.er1
>conftest.err
6731 cat conftest.err
>&5
6732 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6733 (exit $ac_status); } && {
6734 test -z "$ac_cxx_werror_flag" ||
6735 test ! -s conftest.err
6736 } && test -s conftest
$ac_exeext && {
6737 test "$cross_compiling" = yes ||
6738 $as_test_x conftest
$ac_exeext
6740 ac_cv_lib_Xext_XMissingExtension
=yes
6742 $as_echo "$as_me: failed program was:" >&5
6743 sed 's/^/| /' conftest.
$ac_ext >&5
6745 ac_cv_lib_Xext_XMissingExtension
=no
6748 rm -rf conftest.dSYM
6749 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6750 conftest
$ac_exeext conftest.
$ac_ext
6751 LIBS
=$ac_check_lib_save_LIBS
6753 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XMissingExtension" >&5
6754 $as_echo "$ac_cv_lib_Xext_XMissingExtension" >&6; }
6755 if test "x$ac_cv_lib_Xext_XMissingExtension" = x
""yes; then
6756 x11_LIBS
="$x11_LIBS -lXext"
6758 cat >>confdefs.h
<<\_ACEOF
6759 #define HAVE_LIBXEXT 1
6765 { $as_echo "$as_me:$LINENO: checking for XF86VidModeSwitchToMode in -lXxf86vm" >&5
6766 $as_echo_n "checking for XF86VidModeSwitchToMode in -lXxf86vm... " >&6; }
6767 if test "${ac_cv_lib_Xxf86vm_XF86VidModeSwitchToMode+set}" = set; then
6768 $as_echo_n "(cached) " >&6
6770 ac_check_lib_save_LIBS
=$LIBS
6771 LIBS
="-lXxf86vm $x11_LIBS $LIBS"
6772 cat >conftest.
$ac_ext <<_ACEOF
6775 cat confdefs.h
>>conftest.
$ac_ext
6776 cat >>conftest.
$ac_ext <<_ACEOF
6777 /* end confdefs.h. */
6779 /* Override any GCC internal prototype to avoid an error.
6780 Use char because int might match the return type of a GCC
6781 builtin and then its argument prototype would still apply. */
6785 char XF86VidModeSwitchToMode ();
6789 return XF86VidModeSwitchToMode ();
6794 rm -f conftest.
$ac_objext conftest
$ac_exeext
6795 if { (ac_try
="$ac_link"
6797 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6798 *) ac_try_echo=$ac_try;;
6800 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6801 $as_echo "$ac_try_echo") >&5
6802 (eval "$ac_link") 2>conftest.er1
6804 grep -v '^ *+' conftest.er1 >conftest.err
6806 cat conftest.err >&5
6807 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6808 (exit $ac_status); } && {
6809 test -z "$ac_cxx_werror_flag" ||
6810 test ! -s conftest.err
6811 } && test -s conftest$ac_exeext && {
6812 test "$cross_compiling" = yes ||
6813 $as_test_x conftest$ac_exeext
6815 ac_cv_lib_Xxf86vm_XF86VidModeSwitchToMode=yes
6817 $as_echo "$as_me: failed program was:" >&5
6818 sed 's/^/| /' conftest.$ac_ext >&5
6820 ac_cv_lib_Xxf86vm_XF86VidModeSwitchToMode=no
6823 rm -rf conftest.dSYM
6824 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6825 conftest$ac_exeext conftest.$ac_ext
6826 LIBS=$ac_check_lib_save_LIBS
6828 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeSwitchToMode" >&5
6829 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeSwitchToMode" >&6; }
6830 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeSwitchToMode" = x""yes; then
6831 x11_LIBS="$x11_LIBS -lXxf86vm"
6833 cat >>confdefs.h <<\_ACEOF
6834 #define HAVE_LIBXXF86VM 1
6843 { $as_echo "$as_me:$LINENO: checking for glutMainLoop in -lglut" >&5
6844 $as_echo_n "checking for glutMainLoop in -lglut... " >&6; }
6845 if test "${ac_cv_lib_glut_glutMainLoop+set}" = set; then
6846 $as_echo_n "(cached) " >&6
6848 ac_check_lib_save_LIBS=$LIBS
6850 cat >conftest.$ac_ext <<_ACEOF
6853 cat confdefs.h >>conftest.$ac_ext
6854 cat >>conftest.$ac_ext <<_ACEOF
6855 /* end confdefs.h. */
6857 /* Override any GCC internal prototype to avoid an error.
6858 Use char because int might match the return type of a GCC
6859 builtin and then its argument prototype would still apply. */
6863 char glutMainLoop ();
6867 return glutMainLoop ();
6872 rm -f conftest.$ac_objext conftest$ac_exeext
6873 if { (ac_try="$ac_link"
6875 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6876 *) ac_try_echo
=$ac_try;;
6878 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6879 $as_echo "$ac_try_echo") >&5
6880 (eval "$ac_link") 2>conftest.er1
6882 grep -v '^ *+' conftest.er1
>conftest.err
6884 cat conftest.err
>&5
6885 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6886 (exit $ac_status); } && {
6887 test -z "$ac_cxx_werror_flag" ||
6888 test ! -s conftest.err
6889 } && test -s conftest
$ac_exeext && {
6890 test "$cross_compiling" = yes ||
6891 $as_test_x conftest
$ac_exeext
6893 ac_cv_lib_glut_glutMainLoop
=yes
6895 $as_echo "$as_me: failed program was:" >&5
6896 sed 's/^/| /' conftest.
$ac_ext >&5
6898 ac_cv_lib_glut_glutMainLoop
=no
6901 rm -rf conftest.dSYM
6902 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6903 conftest
$ac_exeext conftest.
$ac_ext
6904 LIBS
=$ac_check_lib_save_LIBS
6906 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_glut_glutMainLoop" >&5
6907 $as_echo "$ac_cv_lib_glut_glutMainLoop" >&6; }
6908 if test "x$ac_cv_lib_glut_glutMainLoop" = x
""yes; then
6910 if test x
$enable_glut = xyes
; then
6911 ConstruoTargets
="$ConstruoTargets construo.glut"
6919 { $as_echo "$as_me:$LINENO: checking for glutMainLoop in -lfreeglut-1.3" >&5
6920 $as_echo_n "checking for glutMainLoop in -lfreeglut-1.3... " >&6; }
6921 if test "${ac_cv_lib_freeglut_1_3_glutMainLoop+set}" = set; then
6922 $as_echo_n "(cached) " >&6
6924 ac_check_lib_save_LIBS
=$LIBS
6925 LIBS
="-lfreeglut-1.3 $LIBS"
6926 cat >conftest.
$ac_ext <<_ACEOF
6929 cat confdefs.h
>>conftest.
$ac_ext
6930 cat >>conftest.
$ac_ext <<_ACEOF
6931 /* end confdefs.h. */
6933 /* Override any GCC internal prototype to avoid an error.
6934 Use char because int might match the return type of a GCC
6935 builtin and then its argument prototype would still apply. */
6939 char glutMainLoop ();
6943 return glutMainLoop ();
6948 rm -f conftest.
$ac_objext conftest
$ac_exeext
6949 if { (ac_try
="$ac_link"
6951 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6952 *) ac_try_echo=$ac_try;;
6954 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6955 $as_echo "$ac_try_echo") >&5
6956 (eval "$ac_link") 2>conftest.er1
6958 grep -v '^ *+' conftest.er1 >conftest.err
6960 cat conftest.err >&5
6961 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6962 (exit $ac_status); } && {
6963 test -z "$ac_cxx_werror_flag" ||
6964 test ! -s conftest.err
6965 } && test -s conftest$ac_exeext && {
6966 test "$cross_compiling" = yes ||
6967 $as_test_x conftest$ac_exeext
6969 ac_cv_lib_freeglut_1_3_glutMainLoop=yes
6971 $as_echo "$as_me: failed program was:" >&5
6972 sed 's/^/| /' conftest.$ac_ext >&5
6974 ac_cv_lib_freeglut_1_3_glutMainLoop=no
6977 rm -rf conftest.dSYM
6978 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6979 conftest$ac_exeext conftest.$ac_ext
6980 LIBS=$ac_check_lib_save_LIBS
6982 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_freeglut_1_3_glutMainLoop" >&5
6983 $as_echo "$ac_cv_lib_freeglut_1_3_glutMainLoop" >&6; }
6984 if test "x$ac_cv_lib_freeglut_1_3_glutMainLoop" = x""yes; then
6986 if test x$enable_glut = xyes; then
6987 ConstruoTargets="$ConstruoTargets construo.freeglut"
6989 freeglut_LIBS="-lfreeglut-1.3"
6995 if test -z "$ConstruoTargets"; then
6997 echo "ERROR: Neither X11 nor Glut could be detected, so Construo is not"
6998 echo "ERROR: buildable. You might need to install the -devel packages for"
6999 echo "ERROR: the libraries or check what else could have gone wrong."
7000 echo "ERROR: The file 'config.log' contains more details on the runed libary"
7001 echo "ERROR: checks and might help you to figure out what went wrong."
7008 ac_config_files="$ac_config_files Makefile examples/Makefile"
7010 cat >confcache <<\_ACEOF
7011 # This file is a shell script that caches the results of configure
7012 # tests run on this system so they can be shared between configure
7013 # scripts and configure runs, see configure's option --config-cache.
7014 # It is not useful on other systems. If it contains results you don't
7015 # want to keep, you may remove or edit it.
7017 # config.status only pays attention to the cache file if you give it
7018 # the --recheck option to rerun configure.
7020 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
7021 # loading this file, other *unset* `ac_cv_foo' will be assigned the
7026 # The following way of writing the cache mishandles newlines in values,
7027 # but we know of no workaround that is simple, portable, and efficient.
7028 # So, we kill variables containing newlines.
7029 # Ultrix sh set writes to stderr and can't be redirected directly,
7030 # and sets the high bit in the cache file unless we assign to the vars.
7032 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
7033 eval ac_val
=\$
$ac_var
7037 *_cv_
*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
7038 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
7041 _ | IFS | as_nl
) ;; #(
7042 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
7043 *) $as_unset $ac_var ;;
7049 case $as_nl`(ac_space=' '; set) 2>&1` in #(
7050 *${as_nl}ac_space
=\
*)
7051 # `set' does not quote correctly, so add quotes (double-quote
7052 # substitution turns \\\\ into \\, and sed turns \\ into \).
7055 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7058 # `set' quotes correctly as required by POSIX, so do not add quotes.
7059 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
7068 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7070 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7072 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
7073 if test -w "$cache_file"; then
7074 test "x$cache_file" != "x/dev/null" &&
7075 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
7076 $as_echo "$as_me: updating cache $cache_file" >&6;}
7077 cat confcache
>$cache_file
7079 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
7080 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
7085 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
7086 # Let make expand exec_prefix.
7087 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
7089 DEFS
=-DHAVE_CONFIG_H
7093 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
7094 # 1. Remove the extension, and $U if already installed.
7095 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
7096 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
7097 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
7098 # will be set to the directory where LIBOBJS objects are built.
7099 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
7100 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
7104 LTLIBOBJS
=$ac_ltlibobjs
7107 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
7108 { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
7109 Usually this means the macro was only invoked conditionally." >&5
7110 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
7111 Usually this means the macro was only invoked conditionally." >&2;}
7112 { (exit 1); exit 1; }; }
7114 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
7115 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
7116 Usually this means the macro was only invoked conditionally." >&5
7117 $as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
7118 Usually this means the macro was only invoked conditionally." >&2;}
7119 { (exit 1); exit 1; }; }
7121 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
7122 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
7123 Usually this means the macro was only invoked conditionally." >&5
7124 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
7125 Usually this means the macro was only invoked conditionally." >&2;}
7126 { (exit 1); exit 1; }; }
7129 : ${CONFIG_STATUS=./config.status}
7131 ac_clean_files_save
=$ac_clean_files
7132 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
7133 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
7134 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
7135 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7137 # Generated by $as_me.
7138 # Run this file to recreate the current configuration.
7139 # Compiler output produced by configure, useful for debugging
7140 # configure, is in config.log if it exists.
7145 SHELL=\${CONFIG_SHELL-$SHELL}
7148 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7149 ## --------------------- ##
7150 ## M4sh Initialization. ##
7151 ## --------------------- ##
7153 # Be more Bourne compatible
7154 DUALCASE
=1; export DUALCASE
# for MKS sh
7155 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
7158 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
7159 # is contrary to our usage. Disable this feature.
7160 alias -g '${1+"$@"}'='"$@"'
7161 setopt NO_GLOB_SUBST
7163 case `(set -o) 2>/dev/null` in
7164 *posix
*) set -o posix
;;
7173 # Avoid depending upon Character Ranges.
7174 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
7175 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7176 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
7177 as_cr_digits
='0123456789'
7178 as_cr_alnum
=$as_cr_Letters$as_cr_digits
7183 # Printing a long string crashes Solaris 7 /usr/bin/printf.
7184 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
7185 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
7186 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
7187 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
7188 as_echo='printf %s
\n'
7189 as_echo_n='printf %s
'
7191 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
7192 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
7193 as_echo_n='/usr
/ucb
/echo -n'
7195 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
7196 as_echo_n_body='eval
7200 expr "X$arg" : "X\\(.*\\)$as_nl";
7201 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
7203 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
7205 export as_echo_n_body
7206 as_echo_n='sh
-c $as_echo_n_body as_echo
'
7209 as_echo='sh
-c $as_echo_body as_echo
'
7212 # The user is always right.
7213 if test "${PATH_SEPARATOR+set}" != set; then
7215 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
7216 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
7221 # Support unset when possible.
7222 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
7230 # We need space, tab and new line, in precisely that order. Quoting is
7231 # there to prevent editors from complaining about space-tab.
7232 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
7233 # splitting by setting IFS to empty value.)
7236 # Find who we are. Look in the path if we contain no directory separator.
7238 *[\\/]* ) as_myself=$0 ;;
7239 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7243 test -z "$as_dir" && as_dir=.
7244 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7250 # We did not find ourselves, most probably we were run as `sh COMMAND'
7251 # in which case we are not to be found in the path.
7252 if test "x$as_myself" = x
; then
7255 if test ! -f "$as_myself"; then
7256 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
7257 { (exit 1); exit 1; }
7260 # Work around bugs in pre-3.0 UWIN ksh.
7261 for as_var
in ENV MAIL MAILPATH
7262 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
7274 # Required to use basename.
7275 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
7276 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
7282 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7283 as_basename
=basename
7289 # Name of the executable.
7290 as_me
=`$as_basename -- "$0" ||
7291 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7292 X"$0" : 'X\(//\)$' \| \
7293 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7295 sed '/^.*\/\([^/][^/]*\)\/*$/{
7316 test "x$as_lineno_1" != "x$as_lineno_2" &&
7317 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
7319 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
7320 # uniformly replaced by the line number. The first 'sed' inserts a
7321 # line-number line after each line using $LINENO; the second 'sed'
7322 # does the real work. The second script uses 'N' to pair each
7323 # line-number line with the line containing $LINENO, and appends
7324 # trailing '-' during substitution so that $LINENO is not a special
7326 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
7327 # scripts with optimization help from Paolo Bonzini. Blame Lee
7328 # E. McMahon (1931-1989) for sed's syntax. :-)
7340 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
7344 chmod +x
"$as_me.lineno" ||
7345 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
7346 { (exit 1); exit 1; }; }
7348 # Don't try to exec as it changes $[0], causing all sort of problems
7349 # (the dirname of $[0] is not the place where we might find the
7350 # original and so on. Autoconf is especially sensitive to this).
7352 # Exit status is that of the last command.
7357 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
7363 ECHO_C
= ECHO_N
= ECHO_T
=
7366 case `echo 'x\c'` in
7367 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
7373 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
7374 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
7380 rm -f conf$$ conf$$.exe conf$$.
file
7381 if test -d conf$$.dir
; then
7382 rm -f conf$$.dir
/conf$$.
file
7385 mkdir conf$$.dir
2>/dev
/null
7387 if (echo >conf$$.
file) 2>/dev
/null
; then
7388 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
7390 # ... but there are two gotchas:
7391 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7392 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7393 # In both cases, we have to default to `cp -p'.
7394 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
7396 elif ln conf$$.
file conf$$
2>/dev
/null
; then
7404 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
7405 rmdir conf$$.dir
2>/dev
/null
7407 if mkdir
-p .
2>/dev
/null
; then
7410 test -d .
/-p && rmdir .
/-p
7414 if test -x / >/dev
/null
2>&1; then
7417 if ls -dL / >/dev
/null
2>&1; then
7424 if test -d "$1"; then
7430 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
7431 ???[sx]*):;;*)false;;esac;fi
7435 as_executable_p
=$as_test_x
7437 # Sed expression to map a string onto a valid CPP name.
7438 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7440 # Sed expression to map a string onto a valid variable name.
7441 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7446 # Save the log message, to keep $[0] and so on meaningful, and to
7447 # report actual input values of CONFIG_FILES etc. instead of their
7448 # values after options handling.
7450 This file was extended by construo $as_me 0.2.2, which was
7451 generated by GNU Autoconf 2.63. Invocation command line was
7453 CONFIG_FILES = $CONFIG_FILES
7454 CONFIG_HEADERS = $CONFIG_HEADERS
7455 CONFIG_LINKS = $CONFIG_LINKS
7456 CONFIG_COMMANDS = $CONFIG_COMMANDS
7459 on `(hostname || uname -n) 2>/dev/null | sed 1q`
7464 case $ac_config_files in *"
7465 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
7468 case $ac_config_headers in *"
7469 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
7473 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7474 # Files that config.status was made for.
7475 config_files="$ac_config_files"
7476 config_headers="$ac_config_headers"
7477 config_commands="$ac_config_commands"
7481 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7483 \`$as_me' instantiates files from templates according to the
7484 current configuration.
7486 Usage: $0 [OPTION]... [FILE]...
7488 -h, --help print this help, then exit
7489 -V, --version print version number and configuration settings, then exit
7490 -q, --quiet, --silent
7491 do not print progress messages
7492 -d, --debug don't remove temporary files
7493 --recheck update $as_me by reconfiguring in the same conditions
7494 --file=FILE[:TEMPLATE]
7495 instantiate the configuration file FILE
7496 --header=FILE[:TEMPLATE]
7497 instantiate the configuration header FILE
7499 Configuration files:
7502 Configuration headers:
7505 Configuration commands:
7508 Report bugs to <bug-autoconf@gnu.org>."
7511 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7513 construo config.status 0.2.2
7514 configured by $0, generated by GNU Autoconf 2.63,
7515 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
7517 Copyright (C) 2008 Free Software Foundation, Inc.
7518 This config.status script is free software; the Free Software Foundation
7519 gives unlimited permission to copy, distribute and modify it."
7526 test -n "\$AWK" || AWK=awk
7529 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7530 # The default lists apply if the user does not specify any file.
7536 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
7537 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
7548 # Handling of the options.
7549 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
7551 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
7552 $as_echo "$ac_cs_version"; exit ;;
7553 --debug |
--debu |
--deb |
--de |
--d |
-d )
7555 --file |
--fil |
--fi |
--f )
7558 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7560 CONFIG_FILES
="$CONFIG_FILES '$ac_optarg'"
7561 ac_need_defaults
=false
;;
7562 --header |
--heade |
--head |
--hea )
7565 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7567 CONFIG_HEADERS
="$CONFIG_HEADERS '$ac_optarg'"
7568 ac_need_defaults
=false
;;
7570 # Conflict between --help and --header
7571 { $as_echo "$as_me: error: ambiguous option: $1
7572 Try \`$0 --help' for more information." >&2
7573 { (exit 1); exit 1; }; };;
7574 --help |
--hel |
-h )
7575 $as_echo "$ac_cs_usage"; exit ;;
7576 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
7577 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
7581 -*) { $as_echo "$as_me: error: unrecognized option: $1
7582 Try \`$0 --help' for more information." >&2
7583 { (exit 1); exit 1; }; } ;;
7585 *) ac_config_targets
="$ac_config_targets $1"
7586 ac_need_defaults
=false
;;
7592 ac_configure_extra_args
=
7594 if $ac_cs_silent; then
7596 ac_configure_extra_args
="$ac_configure_extra_args --silent"
7600 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7601 if \$ac_cs_recheck; then
7602 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7604 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
7605 CONFIG_SHELL='$SHELL'
7611 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7615 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7616 ## Running $as_me. ##
7622 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7626 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
7630 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7632 # Handling of arguments.
7633 for ac_config_target
in $ac_config_targets
7635 case $ac_config_target in
7636 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
7637 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
7638 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
7639 "examples/Makefile") CONFIG_FILES
="$CONFIG_FILES examples/Makefile" ;;
7641 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
7642 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
7643 { (exit 1); exit 1; }; };;
7648 # If the user did not use the arguments to specify the items to instantiate,
7649 # then the envvar interface is used. Set only those that are not.
7650 # We use the long form for the default assignment because of an extremely
7651 # bizarre bug on SunOS 4.1.3.
7652 if $ac_need_defaults; then
7653 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
7654 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
7655 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
7658 # Have a temporary directory for convenience. Make it in the build tree
7659 # simply because there is no reason against having it here, and in addition,
7660 # creating and moving files from /tmp can sometimes cause problems.
7661 # Hook for its removal unless debugging.
7662 # Note that there is a small window in which the directory will not be cleaned:
7663 # after its creation but before its name has been assigned to `$tmp'.
7667 trap 'exit_status=$?
7668 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
7670 trap '{ (exit 1); exit 1; }' 1 2 13 15
7672 # Create a (secure) tmp directory for tmp files.
7675 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7676 test -n "$tmp" && test -d "$tmp"
7679 tmp
=.
/conf$$
-$RANDOM
7680 (umask 077 && mkdir
"$tmp")
7683 $as_echo "$as_me: cannot create a temporary directory in ." >&2
7684 { (exit 1); exit 1; }
7687 # Set up the scripts for CONFIG_FILES section.
7688 # No need to generate them if there are no CONFIG_FILES.
7689 # This happens for instance with `./config.status config.h'.
7690 if test -n "$CONFIG_FILES"; then
7694 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
7695 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
7701 echo 'BEGIN {' >"$tmp/subs1.awk" &&
7706 echo "cat >conf$$subs.awk <<_ACEOF" &&
7707 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
7710 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
7711 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
7712 { (exit 1); exit 1; }; }
7713 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
7715 for ac_last_try in false false false false false :; do
7716 . ./conf$$subs.sh ||
7717 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
7718 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
7719 { (exit 1); exit 1; }; }
7721 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
7722 if test $ac_delim_n = $ac_delim_num; then
7724 elif $ac_last_try; then
7725 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
7726 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
7727 { (exit 1); exit 1; }; }
7729 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
7734 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7735 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
7739 s/^/S["/; s
/!.
*/"]=/
7749 s/\(.\{148\}\).*/\1/
7751 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
7756 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
7763 s/\(.\{148\}\).*/\1/
7765 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
7769 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
7774 ' <conf$$subs.awk | sed '
7779 ' >>$CONFIG_STATUS || ac_write_fail=1
7780 rm -f conf$$subs.awk
7781 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7783 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
7784 for (key in S) S_is_set[key] = 1
7790 nfields = split(line, field, "@
")
7792 len = length(field[1])
7793 for (i = 2; i < nfields; i++) {
7795 keylen = length(key)
7796 if (S_is_set[key]) {
7798 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
7799 len += length(value) + length(field[++i])
7810 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7811 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
7812 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
7815 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
7816 || { { $as_echo "$as_me:$LINENO: error
: could not setup config files machinery
" >&5
7817 $as_echo "$as_me: error
: could not setup config files machinery
" >&2;}
7818 { (exit 1); exit 1; }; }
7821 # VPATH may cause trouble with some makes, so we remove $(srcdir),
7822 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
7823 # trailing colons and then remove the whole line if VPATH becomes empty
7824 # (actually we leave an empty line to preserve line numbers).
7825 if test "x
$srcdir" = x.; then
7826 ac_vpsub='/^[ ]*VPATH[ ]*=/{
7830 s/^\([^=]*=[ ]*\):*/\1/
7836 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7837 fi # test -n "$CONFIG_FILES"
7839 # Set up the scripts for CONFIG_HEADERS section.
7840 # No need to generate them if there are no CONFIG_HEADERS.
7841 # This happens for instance with `./config.status Makefile'.
7842 if test -n "$CONFIG_HEADERS"; then
7843 cat >"$tmp/defines.
awk" <<\_ACAWK ||
7847 # Transform confdefs.h into an awk script `defines.awk', embedded as
7848 # here-document in config.status, that substitutes the proper values into
7849 # config.h.in to produce config.h.
7851 # Create a delimiter string that does not exist in confdefs.h, to ease
7852 # handling of long lines.
7854 for ac_last_try in false false :; do
7855 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
7856 if test -z "$ac_t"; then
7858 elif $ac_last_try; then
7859 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_HEADERS" >&5
7860 $as_echo "$as_me: error
: could not
make $CONFIG_HEADERS" >&2;}
7861 { (exit 1); exit 1; }; }
7863 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
7867 # For the awk script, D is an array of macro values keyed by name,
7868 # likewise P contains macro parameters if any. Preserve backslash
7869 # newline sequences.
7871 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
7873 s/.\{148\}/&'"$ac_delim"'/g
7876 s/^[ ]*#[ ]*define[ ][ ]*/ /
7883 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
7885 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
7889 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
7890 D["\
1"]=" \
3\\\\\\n
"\\/p
7892 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
7897 s/.\{148\}/&'"$ac_delim"'/g
7902 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
7905 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
7907 ' <confdefs.h | sed '
7908 s/'"$ac_delim"'/"\\\
7909 "/g' >>$CONFIG_STATUS || ac_write_fail=1
7911 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7912 for (key in D) D_is_set[key] = 1
7915 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
7917 split(line, arg, " ")
7918 if (arg[1] == "#") {
7922 defundef
= substr
(arg
[1], 2)
7925 split(mac1
, mac2
, "(") #)
7927 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
7928 if (D_is_set
[macro
]) {
7929 # Preserve the white space surrounding the "#".
7930 print prefix
"define", macro P
[macro
] D
[macro
]
7933 # Replace #undef with comments. This is necessary, for example,
7934 # in the case of _POSIX_SOURCE, which is predefined and required
7935 # on some systems where configure will not decide to define it.
7936 if (defundef
== "undef") {
7937 print
"/*", prefix defundef
, macro
, "*/"
7945 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7946 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
7947 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
7948 { (exit 1); exit 1; }; }
7949 fi # test -n "$CONFIG_HEADERS"
7952 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
7957 :[FHLC
]) ac_mode
=$ac_tag; continue;;
7959 case $ac_mode$ac_tag in
7961 :L
* |
:C
*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
7962 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
7963 { (exit 1); exit 1; }; };;
7964 :[FH
]-) ac_tag
=-:-;;
7965 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
7982 -) ac_f
="$tmp/stdin";;
7983 *) # Look for the file first in the build tree, then in the source tree
7984 # (if the path is not absolute). The absolute path cannot be DOS-style,
7985 # because $ac_f cannot contain `:'.
7989 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
7991 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
7992 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
7993 { (exit 1); exit 1; }; };;
7995 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
7996 ac_file_inputs
="$ac_file_inputs '$ac_f'"
7999 # Let's still pretend it is `configure' which instantiates (i.e., don't
8000 # use $as_me), people would be surprised to read:
8001 # /* config.h. Generated by config.status. */
8002 configure_input
='Generated from '`
8003 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
8005 if test x
"$ac_file" != x-
; then
8006 configure_input
="$ac_file. $configure_input"
8007 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
8008 $as_echo "$as_me: creating $ac_file" >&6;}
8010 # Neutralize special characters interpreted by sed in replacement strings.
8011 case $configure_input in #(
8012 *\
&* |
*\|
* |
*\\* )
8013 ac_sed_conf_input
=`$as_echo "$configure_input" |
8014 sed 's/[\\\\&|]/\\\\&/g'`;; #(
8015 *) ac_sed_conf_input
=$configure_input;;
8019 *:-:* |
*:-) cat >"$tmp/stdin" \
8020 ||
{ { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
8021 $as_echo "$as_me: error: could not create $ac_file" >&2;}
8022 { (exit 1); exit 1; }; } ;;
8027 ac_dir
=`$as_dirname -- "$ac_file" ||
8028 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8029 X"$ac_file" : 'X\(//\)[^/]' \| \
8030 X"$ac_file" : 'X\(//\)$' \| \
8031 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
8032 $as_echo X"$ac_file" |
8033 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8052 -*) as_dir
=.
/$as_dir;;
8054 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
8058 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
8059 *) as_qdir
=$as_dir;;
8061 as_dirs
="'$as_qdir' $as_dirs"
8062 as_dir
=`$as_dirname -- "$as_dir" ||
8063 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8064 X"$as_dir" : 'X\(//\)[^/]' \| \
8065 X"$as_dir" : 'X\(//\)$' \| \
8066 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
8067 $as_echo X"$as_dir" |
8068 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8085 test -d "$as_dir" && break
8087 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
8088 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
8089 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
8090 { (exit 1); exit 1; }; }; }
8094 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
8096 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
8097 # A ".." for each directory in $ac_dir_suffix.
8098 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
8099 case $ac_top_builddir_sub in
8100 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
8101 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
8104 ac_abs_top_builddir
=$ac_pwd
8105 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
8106 # for backward compatibility:
8107 ac_top_builddir
=$ac_top_build_prefix
8110 .
) # We are building in place.
8112 ac_top_srcdir
=$ac_top_builddir_sub
8113 ac_abs_top_srcdir
=$ac_pwd ;;
8114 [\\/]* | ?
:[\\/]* ) # Absolute name.
8115 ac_srcdir
=$srcdir$ac_dir_suffix;
8116 ac_top_srcdir
=$srcdir
8117 ac_abs_top_srcdir
=$srcdir ;;
8119 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
8120 ac_top_srcdir
=$ac_top_build_prefix$srcdir
8121 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
8123 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
8133 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
8134 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
8138 [\\/$
]* | ?
:[\\/]* ) ;;
8139 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
8143 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8144 # If the template does not know about datarootdir, expand it.
8145 # FIXME: This hack should be removed a few years after 2.60.
8146 ac_datarootdir_hack
=; ac_datarootdir_seen
=
8159 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
8160 *datarootdir
*) ac_datarootdir_seen
=yes;;
8161 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
8162 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
8163 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
8165 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8166 ac_datarootdir_hack='
8167 s&@datadir@&$datadir&g
8168 s&@docdir@&$docdir&g
8169 s&@infodir@&$infodir&g
8170 s&@localedir@&$localedir&g
8171 s&@mandir@&$mandir&g
8172 s&\\\${datarootdir}&$datarootdir&g' ;;
8176 # Neutralize VPATH when `$srcdir' = `.'.
8177 # Shell code in configure.ac might set extrasub.
8178 # FIXME: do we really want to maintain this feature?
8179 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8180 ac_sed_extra="$ac_vpsub
8183 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8185 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
8186 s|@configure_input@|
$ac_sed_conf_input|
;t t
8187 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
8188 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
8189 s
&@srcdir@
&$ac_srcdir&;t t
8190 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
8191 s
&@top_srcdir@
&$ac_top_srcdir&;t t
8192 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
8193 s
&@builddir@
&$ac_builddir&;t t
8194 s
&@abs_builddir@
&$ac_abs_builddir&;t t
8195 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
8196 s
&@INSTALL@
&$ac_INSTALL&;t t
8197 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
8198 $ac_datarootdir_hack
8200 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
8201 || { { $as_echo "$as_me:$LINENO: error
: could not create
$ac_file" >&5
8202 $as_echo "$as_me: error
: could not create
$ac_file" >&2;}
8203 { (exit 1); exit 1; }; }
8205 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
8206 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
8207 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
8208 { $as_echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
8209 which seems to be undefined. Please make sure it is defined." >&5
8210 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
8211 which seems to be undefined. Please make sure it is defined." >&2;}
8215 -) cat "$tmp/out" && rm -f "$tmp/out";;
8216 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
8218 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
8219 $as_echo "$as_me: error: could not create $ac_file" >&2;}
8220 { (exit 1); exit 1; }; }
8226 if test x"$ac_file" != x-; then
8228 $as_echo "/* $configure_input */" \
8229 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
8230 } >"$tmp/config.h" \
8231 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
8232 $as_echo "$as_me: error: could not create $ac_file" >&2;}
8233 { (exit 1); exit 1; }; }
8234 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
8235 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
8236 $as_echo "$as_me: $ac_file is unchanged" >&6;}
8239 mv "$tmp/config.h" "$ac_file" \
8240 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
8241 $as_echo "$as_me: error: could not create $ac_file" >&2;}
8242 { (exit 1); exit 1; }; }
8245 $as_echo "/* $configure_input */" \
8246 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
8247 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
8248 $as_echo "$as_me: error: could not create -" >&2;}
8249 { (exit 1); exit 1; }; }
8251 # Compute "$ac_file"'s index
in $config_headers.
8254 for _am_header
in $config_headers :; do
8256 $_am_arg |
$_am_arg:* )
8259 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
8262 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
8263 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8264 X"$_am_arg" : 'X\(//\)[^/]' \| \
8265 X"$_am_arg" : 'X\(//\)$' \| \
8266 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
8267 $as_echo X"$_am_arg" |
8268 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8284 s/.*/./; q'`/stamp-h
$_am_stamp_count
8287 :C
) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
8288 $as_echo "$as_me: executing $ac_file commands" >&6;}
8293 case $ac_file$ac_mode in
8294 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
8295 # Strip MF so we end up with the name of the file.
8296 mf
=`echo "$mf" | sed -e 's/:.*$//'`
8297 # Check whether this is an Automake generated Makefile or not.
8298 # We used to match only the files named `Makefile.in', but
8299 # some people rename them; so instead we look at the file content.
8300 # Grep'ing the first line is not enough: some people post-process
8301 # each Makefile.in and add a new line on top of each file to say so.
8302 # Grep'ing the whole file is not good either: AIX grep has a line
8303 # limit of 2048, but all sed's we know have understand at least 4000.
8304 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
8305 dirpart
=`$as_dirname -- "$mf" ||
8306 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8307 X"$mf" : 'X\(//\)[^/]' \| \
8308 X"$mf" : 'X\(//\)$' \| \
8309 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
8311 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8331 # Extract the definition of DEPDIR, am__include, and am__quote
8332 # from the Makefile without running `make'.
8333 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
8334 test -z "$DEPDIR" && continue
8335 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
8336 test -z "am__include" && continue
8337 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
8338 # When using ansi2knr, U may be empty or an underscore; expand it
8339 U
=`sed -n 's/^U = //p' < "$mf"`
8340 # Find all dependency output files, they are included files with
8341 # $(DEPDIR) in their names. We invoke sed twice because it is the
8342 # simplest approach to changing $(DEPDIR) to its actual value in the
8344 for file in `sed -n "
8345 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
8346 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
8347 # Make sure the directory exists.
8348 test -f "$dirpart/$file" && continue
8349 fdir
=`$as_dirname -- "$file" ||
8350 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8351 X"$file" : 'X\(//\)[^/]' \| \
8352 X"$file" : 'X\(//\)$' \| \
8353 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
8355 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8372 { as_dir
=$dirpart/$fdir
8374 -*) as_dir
=.
/$as_dir;;
8376 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
8380 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
8381 *) as_qdir
=$as_dir;;
8383 as_dirs
="'$as_qdir' $as_dirs"
8384 as_dir
=`$as_dirname -- "$as_dir" ||
8385 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8386 X"$as_dir" : 'X\(//\)[^/]' \| \
8387 X"$as_dir" : 'X\(//\)$' \| \
8388 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
8389 $as_echo X"$as_dir" |
8390 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8407 test -d "$as_dir" && break
8409 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
8410 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
8411 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
8412 { (exit 1); exit 1; }; }; }
8413 # echo "creating $dirpart/$file"
8414 echo '# dummy' > "$dirpart/$file"
8423 { (exit 0); exit 0; }
8425 chmod +x
$CONFIG_STATUS
8426 ac_clean_files
=$ac_clean_files_save
8428 test $ac_write_fail = 0 ||
8429 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
8430 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
8431 { (exit 1); exit 1; }; }
8434 # configure is writing to config.log, and then calls config.status.
8435 # config.status does its own redirection, appending to config.log.
8436 # Unfortunately, on DOS this fails, as config.log is still kept open
8437 # by configure, so config.status won't be able to write to it; its
8438 # output is simply discarded. So we exec the FD to /dev/null,
8439 # effectively closing config.log, so it can be properly (re)opened and
8440 # appended to by config.status. When coming back to configure, we
8441 # need to make the FD available again.
8442 if test "$no_create" != yes; then
8444 ac_config_status_args
=
8445 test "$silent" = yes &&
8446 ac_config_status_args
="$ac_config_status_args --quiet"
8448 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
8450 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8451 # would make configure fail if this is the last instruction.
8452 $ac_cs_success ||
{ (exit 1); exit 1; }
8454 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
8455 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
8456 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
8461 echo " CXXFLAGS = $CXXFLAGS"
8462 echo " LIBS = $LIBS"
8463 echo " Debugging = $enable_debug"
8464 echo " GProf = $enable_gprof"
8465 echo " FunctionCheck = $enable_fcheck"
8466 echo " Targets =$ConstruoTargets"
8468 echo "Now type 'make' and everything should work, if not, write a bug reports to:"
8470 echo " Ingo Ruhnke <grumbel@gmx.de>"