2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be more Bourne compatible
14 DUALCASE
=1; export DUALCASE
# for MKS sh
15 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
23 case `(set -o) 2>/dev/null` in
24 *posix
*) set -o posix
;;
33 # Avoid depending upon Character Ranges.
34 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
35 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
37 as_cr_digits
='0123456789'
38 as_cr_alnum
=$as_cr_Letters$as_cr_digits
40 # The user is always right.
41 if test "${PATH_SEPARATOR+set}" != set; then
42 echo "#! /bin/sh" >conf$$.sh
43 echo "exit 0" >>conf$$.sh
45 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
53 # Support unset when possible.
54 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
62 # We need space, tab and new line, in precisely that order. Quoting is
63 # there to prevent editors from complaining about space-tab.
64 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
65 # splitting by setting IFS to empty value.)
70 # Find who we are. Look in the path if we contain no directory separator.
72 *[\\/]* ) as_myself
=$0 ;;
73 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
77 test -z "$as_dir" && as_dir
=.
78 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
84 # We did not find ourselves, most probably we were run as `sh COMMAND'
85 # in which case we are not to be found in the path.
86 if test "x$as_myself" = x
; then
89 if test ! -f "$as_myself"; then
90 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
94 # Work around bugs in pre-3.0 UWIN ksh.
95 for as_var
in ENV MAIL MAILPATH
96 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
104 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
105 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109 eval $as_var=C
; export $as_var
111 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
115 # Required to use basename.
116 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
117 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
123 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
130 # Name of the executable.
131 as_me
=`$as_basename -- "$0" ||
132 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133 X"$0" : 'X\(//\)$' \| \
134 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
136 sed '/^.*\/\([^/][^/]*\)\/*$/{
154 if test "x$CONFIG_SHELL" = x
; then
155 if (eval ":") 2>/dev
/null
; then
161 if test $as_have_required = yes && (eval ":
171 as_func_ret_success () {
174 as_func_ret_failure () {
179 if as_func_success; then
183 echo as_func_success failed.
186 if as_func_failure; then
188 echo as_func_failure succeeded.
191 if as_func_ret_success; then
195 echo as_func_ret_success failed.
198 if as_func_ret_failure; then
200 echo as_func_ret_failure succeeded.
203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 echo positional parameters were not saved.
210 test \$exitcode = 0) || { (exit 1); exit 1; }
215 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
216 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
217 ") 2> /dev
/null
; then
221 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
222 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
225 test -z "$as_dir" && as_dir
=.
228 for as_base
in sh bash ksh sh5
; do
229 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
236 for as_shell
in $as_candidate_shells $SHELL; do
237 # Try only shells that exist, to save several forks.
238 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
239 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
240 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
243 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244 # is contrary to our usage. Disable this feature.
245 alias -g '${1+"$@"}'='"$@"'
248 case `(set -o) 2>/dev/null` in
249 *posix
*) set -o posix
;;
258 CONFIG_SHELL
=$as_shell
260 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
261 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
264 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
265 # is contrary to our usage. Disable this feature.
266 alias -g '${1+"$@"}'='"$@"'
269 case `(set -o) 2>/dev/null` in
270 *posix
*) set -o posix
;;
286 as_func_ret_success
() {
289 as_func_ret_failure
() {
294 if as_func_success
; then
298 echo as_func_success failed.
301 if as_func_failure
; then
303 echo as_func_failure succeeded.
306 if as_func_ret_success
; then
310 echo as_func_ret_success failed.
313 if as_func_ret_failure
; then
315 echo as_func_ret_failure succeeded.
318 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
322 echo positional parameters were not saved.
325 test $exitcode = 0) ||
{ (exit 1); exit 1; }
330 test "x$as_lineno_1" != "x$as_lineno_2" &&
331 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
342 if test "x$CONFIG_SHELL" != x
; then
343 for as_var
in BASH_ENV ENV
344 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
347 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351 if test $as_have_required = no
; then
352 echo This
script requires a shell
more modern than all the
353 echo shells that I found on your system. Please
install a
354 echo modern shell
, or manually run the
script under such a
355 echo shell
if you
do have one.
356 { (exit 1); exit 1; }
366 (eval "as_func_return () {
375 as_func_ret_success () {
378 as_func_ret_failure () {
383 if as_func_success; then
387 echo as_func_success failed.
390 if as_func_failure; then
392 echo as_func_failure succeeded.
395 if as_func_ret_success; then
399 echo as_func_ret_success failed.
402 if as_func_ret_failure; then
404 echo as_func_ret_failure succeeded.
407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 echo positional parameters were not saved.
414 test \$exitcode = 0") ||
{
415 echo No shell found that supports shell functions.
416 echo Please tell autoconf@gnu.org about your system
,
417 echo including any error possibly output before this
425 test "x$as_lineno_1" != "x$as_lineno_2" &&
426 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
428 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
429 # uniformly replaced by the line number. The first 'sed' inserts a
430 # line-number line after each line using $LINENO; the second 'sed'
431 # does the real work. The second script uses 'N' to pair each
432 # line-number line with the line containing $LINENO, and appends
433 # trailing '-' during substitution so that $LINENO is not a special
435 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
436 # scripts with optimization help from Paolo Bonzini. Blame Lee
437 # E. McMahon (1931-1989) for sed's syntax. :-)
449 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
453 chmod +x
"$as_me.lineno" ||
454 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
455 { (exit 1); exit 1; }; }
457 # Don't try to exec as it changes $[0], causing all sort of problems
458 # (the dirname of $[0] is not the place where we might find the
459 # original and so on. Autoconf is especially sensitive to this).
461 # Exit status is that of the last command.
466 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
472 ECHO_C
= ECHO_N
= ECHO_T
=
476 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
483 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
484 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
490 rm -f conf$$ conf$$.exe conf$$.
file
491 if test -d conf$$.dir
; then
492 rm -f conf$$.dir
/conf$$.
file
498 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
500 # ... but there are two gotchas:
501 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
502 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503 # In both cases, we have to default to `cp -p'.
504 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
506 elif ln conf$$.
file conf$$
2>/dev
/null
; then
511 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
512 rmdir conf$$.dir
2>/dev
/null
514 if mkdir
-p .
2>/dev
/null
; then
517 test -d .
/-p && rmdir .
/-p
521 if test -x / >/dev
/null
2>&1; then
524 if ls -dL / >/dev
/null
2>&1; then
531 if test -d "$1"; then
537 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
538 ???[sx]*):;;*)false;;esac;fi
542 as_executable_p
=$as_test_x
544 # Sed expression to map a string onto a valid CPP name.
545 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
547 # Sed expression to map a string onto a valid variable name.
548 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
552 exec 7<&0 </dev
/null
6>&1
555 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
556 # so uname gets run too.
557 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
562 ac_default_prefix
=/usr
/local
564 ac_config_libobj_dir
=.
570 SHELL
=${CONFIG_SHELL-/bin/sh}
572 # Identity of this package.
579 ac_unique_file
="wmhdplop.c"
580 # Factoring default headers for most tests.
581 ac_includes_default
="\
583 #ifdef HAVE_SYS_TYPES_H
584 # include <sys/types.h>
586 #ifdef HAVE_SYS_STAT_H
587 # include <sys/stat.h>
593 # ifdef HAVE_STDLIB_H
598 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
603 #ifdef HAVE_STRINGS_H
604 # include <strings.h>
606 #ifdef HAVE_INTTYPES_H
607 # include <inttypes.h>
625 program_transform_name
666 INSTALL_STRIP_PROGRAM
707 IMLIB2_CONFIG_IN_PATH
719 ac_precious_vars
='build_alias
734 # Initialize some variables set by options.
736 ac_init_version
=false
737 # The variables have the same names as the options, with
738 # dashes changed to underlines.
746 program_transform_name
=s
,x
,x
,
754 # Installation directory options.
755 # These are left unexpanded so users can "make install exec_prefix=/foo"
756 # and all the variables that are supposed to be based on exec_prefix
757 # by default will actually change.
758 # Use braces instead of parens because sh, perl, etc. also accept them.
759 # (The list follows the same order as the GNU Coding Standards.)
760 bindir
='${exec_prefix}/bin'
761 sbindir
='${exec_prefix}/sbin'
762 libexecdir
='${exec_prefix}/libexec'
763 datarootdir
='${prefix}/share'
764 datadir
='${datarootdir}'
765 sysconfdir
='${prefix}/etc'
766 sharedstatedir
='${prefix}/com'
767 localstatedir
='${prefix}/var'
768 includedir
='${prefix}/include'
769 oldincludedir
='/usr/include'
770 docdir
='${datarootdir}/doc/${PACKAGE}'
771 infodir
='${datarootdir}/info'
776 libdir
='${exec_prefix}/lib'
777 localedir
='${datarootdir}/locale'
778 mandir
='${datarootdir}/man'
784 # If the previous option needs an argument, assign it.
785 if test -n "$ac_prev"; then
786 eval $ac_prev=\
$ac_option
792 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
796 # Accept the important Cygnus configure options, so we can diagnose typos.
798 case $ac_dashdash$ac_option in
802 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
804 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
807 -build |
--build |
--buil |
--bui |
--bu)
808 ac_prev
=build_alias
;;
809 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
810 build_alias
=$ac_optarg ;;
812 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
813 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
814 ac_prev
=cache_file
;;
815 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
816 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
817 cache_file
=$ac_optarg ;;
820 cache_file
=config.cache
;;
822 -datadir |
--datadir |
--datadi |
--datad)
824 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
825 datadir
=$ac_optarg ;;
827 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
828 |
--dataroo |
--dataro |
--datar)
829 ac_prev
=datarootdir
;;
830 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
831 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
832 datarootdir
=$ac_optarg ;;
834 -disable-* |
--disable-*)
835 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
836 # Reject names that are not valid shell variable names.
837 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
838 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
839 { (exit 1); exit 1; }; }
840 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
841 eval enable_
$ac_feature=no
;;
843 -docdir |
--docdir |
--docdi |
--doc |
--do)
845 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
848 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
850 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
853 -enable-* |
--enable-*)
854 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
855 # Reject names that are not valid shell variable names.
856 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
857 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
858 { (exit 1); exit 1; }; }
859 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
860 eval enable_
$ac_feature=\
$ac_optarg ;;
862 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
863 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
864 |
--exec |
--exe |
--ex)
865 ac_prev
=exec_prefix
;;
866 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
867 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
868 |
--exec=* |
--exe=* |
--ex=*)
869 exec_prefix
=$ac_optarg ;;
871 -gas |
--gas |
--ga |
--g)
872 # Obsolete; use --with-gas.
875 -help |
--help |
--hel |
--he |
-h)
877 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
878 ac_init_help
=recursive
;;
879 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
880 ac_init_help
=short
;;
882 -host |
--host |
--hos |
--ho)
883 ac_prev
=host_alias
;;
884 -host=* |
--host=* |
--hos=* |
--ho=*)
885 host_alias
=$ac_optarg ;;
887 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
889 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
891 htmldir
=$ac_optarg ;;
893 -includedir |
--includedir |
--includedi |
--included |
--include \
894 |
--includ |
--inclu |
--incl |
--inc)
895 ac_prev
=includedir
;;
896 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
897 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
898 includedir
=$ac_optarg ;;
900 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
902 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
903 infodir
=$ac_optarg ;;
905 -libdir |
--libdir |
--libdi |
--libd)
907 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
910 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
911 |
--libexe |
--libex |
--libe)
912 ac_prev
=libexecdir
;;
913 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
914 |
--libexe=* |
--libex=* |
--libe=*)
915 libexecdir
=$ac_optarg ;;
917 -localedir |
--localedir |
--localedi |
--localed |
--locale)
919 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
920 localedir
=$ac_optarg ;;
922 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
923 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
924 ac_prev
=localstatedir
;;
925 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
926 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
927 localstatedir
=$ac_optarg ;;
929 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
931 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
935 # Obsolete; use --without-fp.
938 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
939 |
--no-cr |
--no-c |
-n)
942 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
943 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
946 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
947 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
948 |
--oldin |
--oldi |
--old |
--ol |
--o)
949 ac_prev
=oldincludedir
;;
950 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
951 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
952 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
953 oldincludedir
=$ac_optarg ;;
955 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
957 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
960 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
961 |
--program-pre |
--program-pr |
--program-p)
962 ac_prev
=program_prefix
;;
963 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
964 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
965 program_prefix
=$ac_optarg ;;
967 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
968 |
--program-suf |
--program-su |
--program-s)
969 ac_prev
=program_suffix
;;
970 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
971 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
972 program_suffix
=$ac_optarg ;;
974 -program-transform-name |
--program-transform-name \
975 |
--program-transform-nam |
--program-transform-na \
976 |
--program-transform-n |
--program-transform- \
977 |
--program-transform |
--program-transfor \
978 |
--program-transfo |
--program-transf \
979 |
--program-trans |
--program-tran \
980 |
--progr-tra |
--program-tr |
--program-t)
981 ac_prev
=program_transform_name
;;
982 -program-transform-name=* |
--program-transform-name=* \
983 |
--program-transform-nam=* |
--program-transform-na=* \
984 |
--program-transform-n=* |
--program-transform-=* \
985 |
--program-transform=* |
--program-transfor=* \
986 |
--program-transfo=* |
--program-transf=* \
987 |
--program-trans=* |
--program-tran=* \
988 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
989 program_transform_name
=$ac_optarg ;;
991 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
993 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
996 -psdir |
--psdir |
--psdi |
--psd |
--ps)
998 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1001 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1002 |
-silent |
--silent |
--silen |
--sile |
--sil)
1005 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1007 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1009 sbindir
=$ac_optarg ;;
1011 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1012 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1013 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1015 ac_prev
=sharedstatedir
;;
1016 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1017 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1018 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1020 sharedstatedir
=$ac_optarg ;;
1022 -site |
--site |
--sit)
1024 -site=* |
--site=* |
--sit=*)
1027 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1029 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1030 srcdir
=$ac_optarg ;;
1032 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1033 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1034 ac_prev
=sysconfdir
;;
1035 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1036 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1037 sysconfdir
=$ac_optarg ;;
1039 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1040 ac_prev
=target_alias
;;
1041 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1042 target_alias
=$ac_optarg ;;
1044 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1047 -version |
--version |
--versio |
--versi |
--vers |
-V)
1048 ac_init_version
=: ;;
1051 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1052 # Reject names that are not valid shell variable names.
1053 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1054 { echo "$as_me: error: invalid package name: $ac_package" >&2
1055 { (exit 1); exit 1; }; }
1056 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1057 eval with_
$ac_package=\
$ac_optarg ;;
1059 -without-* |
--without-*)
1060 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1061 # Reject names that are not valid shell variable names.
1062 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1063 { echo "$as_me: error: invalid package name: $ac_package" >&2
1064 { (exit 1); exit 1; }; }
1065 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1066 eval with_
$ac_package=no
;;
1069 # Obsolete; use --with-x.
1072 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1073 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1074 ac_prev
=x_includes
;;
1075 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1076 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1077 x_includes
=$ac_optarg ;;
1079 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1080 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1081 ac_prev
=x_libraries
;;
1082 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1083 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1084 x_libraries
=$ac_optarg ;;
1086 -*) { echo "$as_me: error: unrecognized option: $ac_option
1087 Try \`$0 --help' for more information." >&2
1088 { (exit 1); exit 1; }; }
1092 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1093 # Reject names that are not valid shell variable names.
1094 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1095 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1096 { (exit 1); exit 1; }; }
1097 eval $ac_envvar=\
$ac_optarg
1098 export $ac_envvar ;;
1101 # FIXME: should be removed in autoconf 3.0.
1102 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1103 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1104 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1105 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1111 if test -n "$ac_prev"; then
1112 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1113 { echo "$as_me: error: missing argument to $ac_option" >&2
1114 { (exit 1); exit 1; }; }
1117 # Be sure to have absolute directory names.
1118 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1119 datadir sysconfdir sharedstatedir localstatedir includedir \
1120 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1121 libdir localedir mandir
1123 eval ac_val
=\$
$ac_var
1125 [\\/$
]* | ?
:[\\/]* ) continue;;
1126 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1128 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1129 { (exit 1); exit 1; }; }
1132 # There might be people who depend on the old broken behavior: `$host'
1133 # used to hold the argument of --host etc.
1134 # FIXME: To remove some day.
1137 target
=$target_alias
1139 # FIXME: To remove some day.
1140 if test "x$host_alias" != x
; then
1141 if test "x$build_alias" = x
; then
1142 cross_compiling
=maybe
1143 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1144 If a cross compiler is detected then cross compile mode will be used." >&2
1145 elif test "x$build_alias" != "x$host_alias"; then
1151 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1153 test "$silent" = yes && exec 6>/dev
/null
1156 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1157 ac_ls_di
=`ls -di .` &&
1158 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1159 { echo "$as_me: error: Working directory cannot be determined" >&2
1160 { (exit 1); exit 1; }; }
1161 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1162 { echo "$as_me: error: pwd does not report name of working directory" >&2
1163 { (exit 1); exit 1; }; }
1166 # Find the source files, if location was not specified.
1167 if test -z "$srcdir"; then
1168 ac_srcdir_defaulted
=yes
1169 # Try the directory containing this script, then the parent directory.
1170 ac_confdir
=`$as_dirname -- "$0" ||
1171 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1172 X"$0" : 'X\(//\)[^/]' \| \
1173 X"$0" : 'X\(//\)$' \| \
1174 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1176 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1194 if test ! -r "$srcdir/$ac_unique_file"; then
1198 ac_srcdir_defaulted
=no
1200 if test ! -r "$srcdir/$ac_unique_file"; then
1201 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1202 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1203 { (exit 1); exit 1; }; }
1205 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1207 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1208 { (exit 1); exit 1; }; }
1210 # When building in place, set srcdir=.
1211 if test "$ac_abs_confdir" = "$ac_pwd"; then
1214 # Remove unnecessary trailing slashes from srcdir.
1215 # Double slashes in file names in object file debugging info
1216 # mess up M-x gdb in Emacs.
1218 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1220 for ac_var
in $ac_precious_vars; do
1221 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1222 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1223 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1224 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1228 # Report the --help message.
1230 if test "$ac_init_help" = "long"; then
1231 # Omit some internal or obsolete options to make the list less imposing.
1232 # This message is too long to be a string in the A/UX 3.1 sh.
1234 \`configure' configures this package to adapt to many kinds of systems.
1236 Usage: $0 [OPTION]... [VAR=VALUE]...
1238 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1239 VAR=VALUE. See below for descriptions of some of the useful variables.
1241 Defaults for the options are specified in brackets.
1244 -h, --help display this help and exit
1245 --help=short display options specific to this package
1246 --help=recursive display the short help of all the included packages
1247 -V, --version display version information and exit
1248 -q, --quiet, --silent do not print \`checking...' messages
1249 --cache-file=FILE cache test results in FILE [disabled]
1250 -C, --config-cache alias for \`--cache-file=config.cache'
1251 -n, --no-create do not create output files
1252 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1254 Installation directories:
1255 --prefix=PREFIX install architecture-independent files in PREFIX
1256 [$ac_default_prefix]
1257 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1260 By default, \`make install' will install all the files in
1261 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1262 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1263 for instance \`--prefix=\$HOME'.
1265 For better control, use the options below.
1267 Fine tuning of the installation directories:
1268 --bindir=DIR user executables [EPREFIX/bin]
1269 --sbindir=DIR system admin executables [EPREFIX/sbin]
1270 --libexecdir=DIR program executables [EPREFIX/libexec]
1271 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1272 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1273 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1274 --libdir=DIR object code libraries [EPREFIX/lib]
1275 --includedir=DIR C header files [PREFIX/include]
1276 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1277 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1278 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1279 --infodir=DIR info documentation [DATAROOTDIR/info]
1280 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1281 --mandir=DIR man documentation [DATAROOTDIR/man]
1282 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1283 --htmldir=DIR html documentation [DOCDIR]
1284 --dvidir=DIR dvi documentation [DOCDIR]
1285 --pdfdir=DIR pdf documentation [DOCDIR]
1286 --psdir=DIR ps documentation [DOCDIR]
1292 --program-prefix=PREFIX prepend PREFIX to installed program names
1293 --program-suffix=SUFFIX append SUFFIX to installed program names
1294 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1297 --x-includes=DIR X include files are
in DIR
1298 --x-libraries=DIR X library files are
in DIR
1301 --build=BUILD configure
for building on BUILD
[guessed
]
1302 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1306 if test -n "$ac_init_help"; then
1311 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1312 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1313 --enable-static[=PKGS
] build static libraries
[default
=no
]
1314 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1315 --disable-dependency-tracking speeds up one-time build
1316 --enable-dependency-tracking do not reject slow dependency extractors
1317 --enable-gkrellm build the gkrellm plugin
(requires gtk2 and gkrellm developpement files
) (Default is
yes)
1318 --disable-gkrellm do not build the gkrellm plugin
1321 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1322 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1323 --with-x use the X Window System
1325 Some influential environment variables
:
1326 CC C compiler
command
1327 CFLAGS C compiler flags
1328 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1329 nonstandard directory
<lib dir
>
1330 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1331 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1332 you have headers
in a nonstandard directory
<include dir
>
1334 XMKMF Path to xmkmf
, Makefile generator
for X Window System
1335 PKG_CONFIG path to pkg-config utility
1337 C compiler flags
for PACKAGE
, overriding pkg-config
1339 linker flags
for PACKAGE
, overriding pkg-config
1341 Use these variables to override the choices made by
`configure' or to help
1342 it to find libraries and programs with nonstandard names/locations.
1348 if test "$ac_init_help" = "recursive"; then
1349 # If there are subdirs, report their specific --help.
1350 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1351 test -d "$ac_dir" || continue
1355 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1357 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1358 # A ".." for each directory in $ac_dir_suffix.
1359 ac_top_builddir_sub=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,/..,g;s,/,,'`
1360 case $ac_top_builddir_sub in
1361 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1362 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1365 ac_abs_top_builddir=$ac_pwd
1366 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1367 # for backward compatibility:
1368 ac_top_builddir=$ac_top_build_prefix
1371 .) # We are building in place.
1373 ac_top_srcdir=$ac_top_builddir_sub
1374 ac_abs_top_srcdir=$ac_pwd ;;
1375 [\\/]* | ?:[\\/]* ) # Absolute name.
1376 ac_srcdir=$srcdir$ac_dir_suffix;
1377 ac_top_srcdir=$srcdir
1378 ac_abs_top_srcdir=$srcdir ;;
1380 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1381 ac_top_srcdir=$ac_top_build_prefix$srcdir
1382 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1384 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1386 cd "$ac_dir" || { ac_status=$?; continue; }
1387 # Check for guested configure.
1388 if test -f "$ac_srcdir/configure.gnu"; then
1390 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1391 elif test -f "$ac_srcdir/configure"; then
1393 $SHELL "$ac_srcdir/configure" --help=recursive
1395 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1397 cd "$ac_pwd" || { ac_status=$?; break; }
1401 test -n "$ac_init_help" && exit $ac_status
1402 if $ac_init_version; then
1405 generated by GNU Autoconf 2.61
1407 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1408 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1409 This configure script is free software; the Free Software Foundation
1410 gives unlimited permission to copy, distribute and modify it.
1414 cat >config.log <<_ACEOF
1415 This file contains any messages produced by compilers while
1416 running configure, to aid debugging if configure makes a mistake.
1418 It was created by $as_me, which was
1419 generated by GNU Autoconf 2.61. Invocation command line was
1431 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1432 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1433 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1434 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1435 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1437 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1438 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1440 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1441 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1442 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1443 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1444 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1445 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1446 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1454 test -z "$as_dir" && as_dir=.
1455 echo "PATH: $as_dir"
1471 # Keep a trace of the command line.
1472 # Strip out --no-create and --no-recursion so they do not pile up.
1473 # Strip out --silent because we don't want to record it for future runs.
1474 # Also quote any args containing shell meta-characters.
1475 # Make two passes to allow for proper duplicate-argument suppression.
1479 ac_must_keep_next=false
1485 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1486 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1487 | -silent | --silent | --silen | --sile | --sil)
1490 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1493 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1495 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1496 if test $ac_must_keep_next = true; then
1497 ac_must_keep_next=false # Got value, back to normal.
1500 *=* | --config-cache | -C | -disable-* | --disable-* \
1501 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1502 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1503 | -with-* | --with-* | -without-* | --without-* | --x)
1504 case "$ac_configure_args0 " in
1505 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1508 -* ) ac_must_keep_next=true ;;
1511 ac_configure_args="$ac_configure_args '$ac_arg'"
1516 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1517 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1519 # When interrupted or exit'd, cleanup temporary files, and complete
1520 # config.log. We remove comments because anyway the quotes in there
1521 # would cause problems or look ugly.
1522 # WARNING: Use '\'' to represent an apostrophe within the trap.
1523 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1524 trap 'exit_status=$?
1525 # Save into config.log some information that might help in debugging.
1530 ## ---------------- ##
1531 ## Cache variables. ##
1532 ## ---------------- ##
1535 # The following way of writing the cache mishandles newlines in values,
1537 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1538 eval ac_val=\$$ac_var
1542 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1543 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1546 _ | IFS | as_nl) ;; #(
1547 *) $as_unset $ac_var ;;
1552 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1553 *${as_nl}ac_space=\ *)
1555 "s/'\''/'\''\\\\'\'''\''/g;
1556 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1559 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1567 ## ----------------- ##
1568 ## Output variables. ##
1569 ## ----------------- ##
1572 for ac_var in $ac_subst_vars
1574 eval ac_val=\$$ac_var
1576 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1578 echo "$ac_var='\''$ac_val'\''"
1582 if test -n "$ac_subst_files"; then
1584 ## ------------------- ##
1585 ## File substitutions. ##
1586 ## ------------------- ##
1589 for ac_var in $ac_subst_files
1591 eval ac_val=\$$ac_var
1593 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1595 echo "$ac_var='\''$ac_val'\''"
1600 if test -s confdefs.h; then
1610 test "$ac_signal" != 0 &&
1611 echo "$as_me: caught signal $ac_signal"
1612 echo "$as_me: exit $exit_status"
1614 rm -f core *.core core.conftest.* &&
1615 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1618 for ac_signal in 1 2 13 15; do
1619 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1623 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1624 rm -f -r conftest* confdefs.h
1626 # Predefined preprocessor variables.
1628 cat >>confdefs.h <<_ACEOF
1629 #define PACKAGE_NAME "$PACKAGE_NAME"
1633 cat >>confdefs.h <<_ACEOF
1634 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1638 cat >>confdefs.h <<_ACEOF
1639 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1643 cat >>confdefs.h <<_ACEOF
1644 #define PACKAGE_STRING "$PACKAGE_STRING"
1648 cat >>confdefs.h <<_ACEOF
1649 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1653 # Let the site file select an alternate cache file if it wants to.
1654 # Prefer explicitly selected file to automatically selected ones.
1655 if test -n "$CONFIG_SITE"; then
1656 set x "$CONFIG_SITE"
1657 elif test "x$prefix" != xNONE; then
1658 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1660 set x "$ac_default_prefix/share/config.site" \
1661 "$ac_default_prefix/etc/config.site"
1666 if test -r "$ac_site_file"; then
1667 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1668 echo "$as_me: loading site script $ac_site_file" >&6;}
1669 sed 's/^/| /' "$ac_site_file" >&5
1674 if test -r "$cache_file"; then
1675 # Some versions of bash will fail to source /dev/null (special
1676 # files actually), so we avoid doing that.
1677 if test -f "$cache_file"; then
1678 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1679 echo "$as_me: loading cache $cache_file" >&6;}
1681 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1682 *) . "./$cache_file";;
1686 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1687 echo "$as_me: creating cache $cache_file" >&6;}
1691 # Check that the precious variables saved in the cache have kept the same
1693 ac_cache_corrupted=false
1694 for ac_var in $ac_precious_vars; do
1695 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1696 eval ac_new_set=\$ac_env_${ac_var}_set
1697 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1698 eval ac_new_val=\$ac_env_${ac_var}_value
1699 case $ac_old_set,$ac_new_set in
1701 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1702 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1703 ac_cache_corrupted=: ;;
1705 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1706 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1707 ac_cache_corrupted=: ;;
1710 if test "x$ac_old_val" != "x$ac_new_val"; then
1711 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1712 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1713 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1714 echo "$as_me: former value
: $ac_old_val" >&2;}
1715 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1716 echo "$as_me: current value
: $ac_new_val" >&2;}
1717 ac_cache_corrupted=:
1720 # Pass precious variables to config.status.
1721 if test "$ac_new_set" = set; then
1723 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1724 *) ac_arg=$ac_var=$ac_new_val ;;
1726 case " $ac_configure_args " in
1727 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1728 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1732 if $ac_cache_corrupted; then
1733 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1734 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1735 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1736 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1737 { (exit 1); exit 1; }; }
1757 ac_cpp='$CPP $CPPFLAGS'
1758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1763 am__api_version="1.9"
1765 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1766 if test -f "$ac_dir/install-sh"; then
1768 ac_install_sh="$ac_aux_dir/install-sh -c"
1770 elif test -f "$ac_dir/install.sh"; then
1772 ac_install_sh="$ac_aux_dir/install.sh -c"
1774 elif test -f "$ac_dir/shtool"; then
1776 ac_install_sh="$ac_aux_dir/shtool install -c"
1780 if test -z "$ac_aux_dir"; then
1781 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1782 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1783 { (exit 1); exit 1; }; }
1786 # These three variables are undocumented and unsupported,
1787 # and are intended to be withdrawn in a future Autoconf release.
1788 # They can cause serious problems if a builder's source tree is in a directory
1789 # whose full name contains unusual characters.
1790 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1791 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1792 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1795 # Find a good install program. We prefer a C program (faster),
1796 # so one script is as good as another. But avoid the broken or
1797 # incompatible versions:
1798 # SysV /etc/install, /usr/sbin/install
1799 # SunOS /usr/etc/install
1800 # IRIX /sbin/install
1802 # AmigaOS /C/install, which installs bootblocks on floppy discs
1803 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1804 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1805 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1806 # OS/2's system install, which has a completely different semantic
1807 # ./install, which can be erroneously created by make from ./install.sh.
1808 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1809 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1810 if test -z "$INSTALL"; then
1811 if test "${ac_cv_path_install+set}" = set; then
1812 echo $ECHO_N "(cached) $ECHO_C" >&6
1814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1818 test -z "$as_dir" && as_dir=.
1819 # Account for people who put trailing slashes in PATH elements.
1821 ./ | .// | /cC/* | \
1822 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1823 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1826 # OSF1 and SCO ODT 3.0 have their own names for install.
1827 # Don't use installbsd from OSF since it installs stuff as root
1829 for ac_prog in ginstall scoinst install; do
1830 for ac_exec_ext in '' $ac_executable_extensions; do
1831 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1832 if test $ac_prog = install &&
1833 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1834 # AIX install. It has an incompatible calling convention.
1836 elif test $ac_prog = install &&
1837 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1838 # program-specific install script used by HP pwplus--don't use.
1841 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1854 if test "${ac_cv_path_install+set}" = set; then
1855 INSTALL=$ac_cv_path_install
1857 # As a last resort, use the slow shell script. Don't cache a
1858 # value for INSTALL within a source directory, because that will
1859 # break other packages using the cache if that directory is
1860 # removed, or if the value is a relative name.
1861 INSTALL=$ac_install_sh
1864 { echo "$as_me:$LINENO: result: $INSTALL" >&5
1865 echo "${ECHO_T}$INSTALL" >&6; }
1867 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1868 # It thinks the first close brace ends the variable substitution.
1869 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1871 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1873 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1875 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1876 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1879 echo timestamp > conftest.file
1880 # Do `set' in a subshell so we don't clobber the current shell
's
1881 # arguments. Must try -L first in case configure is actually a
1882 # symlink; some systems play weird games with the mod time of symlinks
1883 # (eg FreeBSD returns the mod time of the symlink's containing
1886 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1887 if test "$*" = "X"; then
1889 set X
`ls -t $srcdir/configure conftest.file`
1892 if test "$*" != "X $srcdir/configure conftest.file" \
1893 && test "$*" != "X conftest.file $srcdir/configure"; then
1895 # If neither matched, then we have a broken ls. This can happen
1896 # if, for instance, CONFIG_SHELL is bash and it inherits a
1897 # broken ls alias from the environment. This has actually
1898 # happened. Such a system could not be considered "sane".
1899 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1900 alias in your environment" >&5
1901 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1902 alias in your environment" >&2;}
1903 { (exit 1); exit 1; }; }
1906 test "$2" = conftest.
file
1912 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1913 Check your system clock" >&5
1914 echo "$as_me: error: newly created file is older than distributed files!
1915 Check your system clock" >&2;}
1916 { (exit 1); exit 1; }; }
1918 { echo "$as_me:$LINENO: result: yes" >&5
1919 echo "${ECHO_T}yes" >&6; }
1920 test "$program_prefix" != NONE
&&
1921 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
1922 # Use a double $ so make ignores it.
1923 test "$program_suffix" != NONE
&&
1924 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
1925 # Double any \ or $. echo might interpret backslashes.
1926 # By default was `s,x,x', remove it if useless.
1927 cat <<\_ACEOF
>conftest.
sed
1928 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1930 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1933 # expand $ac_aux_dir to an absolute path
1934 am_aux_dir
=`cd $ac_aux_dir && pwd`
1936 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1937 # Use eval to expand $SHELL
1938 if eval "$MISSING --run true"; then
1939 am_missing_run
="$MISSING --run "
1942 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1943 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1946 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
1947 # We used to keeping the `.' as first argument, in order to
1948 # allow $(mkdir_p) to be used without argument. As in
1949 # $(mkdir_p) $(somedir)
1950 # where $(somedir) is conditionally defined. However this is wrong
1952 # 1. if the package is installed by a user who cannot write `.'
1953 # make install will fail,
1954 # 2. the above comment should most certainly read
1955 # $(mkdir_p) $(DESTDIR)$(somedir)
1956 # so it does not work when $(somedir) is undefined and
1957 # $(DESTDIR) is not.
1958 # To support the latter case, we have to write
1959 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1960 # so the `.' trick is pointless.
1961 mkdir_p
='mkdir -p --'
1963 # On NextStep and OpenStep, the `mkdir' command does not
1964 # recognize any option. It will interpret all options as
1965 # directories to create, and then abort because `.' already
1967 for d
in .
/-p .
/--version;
1969 test -d $d && rmdir $d
1971 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1972 if test -f "$ac_aux_dir/mkinstalldirs"; then
1973 mkdir_p
='$(mkinstalldirs)'
1975 mkdir_p
='$(install_sh) -d'
1979 for ac_prog
in gawk mawk nawk
awk
1981 # Extract the first word of "$ac_prog", so it can be a program name with args.
1982 set dummy
$ac_prog; ac_word
=$2
1983 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1984 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1985 if test "${ac_cv_prog_AWK+set}" = set; then
1986 echo $ECHO_N "(cached) $ECHO_C" >&6
1988 if test -n "$AWK"; then
1989 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1991 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1995 test -z "$as_dir" && as_dir
=.
1996 for ac_exec_ext
in '' $ac_executable_extensions; do
1997 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1998 ac_cv_prog_AWK
="$ac_prog"
1999 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2009 if test -n "$AWK"; then
2010 { echo "$as_me:$LINENO: result: $AWK" >&5
2011 echo "${ECHO_T}$AWK" >&6; }
2013 { echo "$as_me:$LINENO: result: no" >&5
2014 echo "${ECHO_T}no" >&6; }
2018 test -n "$AWK" && break
2021 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2022 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2023 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2024 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2025 echo $ECHO_N "(cached) $ECHO_C" >&6
2027 cat >conftest.
make <<\_ACEOF
2030 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2032 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2033 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2035 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2037 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2041 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2042 { echo "$as_me:$LINENO: result: yes" >&5
2043 echo "${ECHO_T}yes" >&6; }
2046 { echo "$as_me:$LINENO: result: no" >&5
2047 echo "${ECHO_T}no" >&6; }
2048 SET_MAKE
="MAKE=${MAKE-make}"
2051 rm -rf .tst
2>/dev
/null
2052 mkdir .tst
2>/dev
/null
2053 if test -d .tst
; then
2058 rmdir .tst
2>/dev
/null
2060 # test to see if srcdir already configured
2061 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2062 test -f $srcdir/config.status
; then
2063 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2064 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2065 { (exit 1); exit 1; }; }
2068 # test whether we have cygpath
2069 if test -z "$CYGPATH_W"; then
2070 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2071 CYGPATH_W
='cygpath -w'
2078 # Define the identity of the package.
2083 cat >>confdefs.h
<<_ACEOF
2084 #define PACKAGE "$PACKAGE"
2088 cat >>confdefs.h
<<_ACEOF
2089 #define VERSION "$VERSION"
2092 # Some tools Automake needs.
2094 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2097 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2100 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2103 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2106 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2108 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
2110 # Installed binaries are usually stripped using `strip' when the user
2111 # run `make install-strip'. However `strip' might not be the right
2112 # tool to use in cross-compilation environments, therefore Automake
2113 # will honor the `STRIP' environment variable to overrule this program.
2114 if test "$cross_compiling" != no
; then
2115 if test -n "$ac_tool_prefix"; then
2116 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2117 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2118 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2119 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2120 if test "${ac_cv_prog_STRIP+set}" = set; then
2121 echo $ECHO_N "(cached) $ECHO_C" >&6
2123 if test -n "$STRIP"; then
2124 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2126 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2130 test -z "$as_dir" && as_dir
=.
2131 for ac_exec_ext
in '' $ac_executable_extensions; do
2132 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2133 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2134 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2143 STRIP
=$ac_cv_prog_STRIP
2144 if test -n "$STRIP"; then
2145 { echo "$as_me:$LINENO: result: $STRIP" >&5
2146 echo "${ECHO_T}$STRIP" >&6; }
2148 { echo "$as_me:$LINENO: result: no" >&5
2149 echo "${ECHO_T}no" >&6; }
2154 if test -z "$ac_cv_prog_STRIP"; then
2156 # Extract the first word of "strip", so it can be a program name with args.
2157 set dummy strip
; ac_word
=$2
2158 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2159 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2160 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2161 echo $ECHO_N "(cached) $ECHO_C" >&6
2163 if test -n "$ac_ct_STRIP"; then
2164 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2166 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2170 test -z "$as_dir" && as_dir
=.
2171 for ac_exec_ext
in '' $ac_executable_extensions; do
2172 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2173 ac_cv_prog_ac_ct_STRIP
="strip"
2174 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2183 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2184 if test -n "$ac_ct_STRIP"; then
2185 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2186 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2188 { echo "$as_me:$LINENO: result: no" >&5
2189 echo "${ECHO_T}no" >&6; }
2192 if test "x$ac_ct_STRIP" = x
; then
2195 case $cross_compiling:$ac_tool_warned in
2197 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2198 whose name does not start with the host triplet. If you think this
2199 configuration is useful to you, please write to autoconf@gnu.org." >&5
2200 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2201 whose name does not start with the host triplet. If you think this
2202 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2203 ac_tool_warned
=yes ;;
2208 STRIP
="$ac_cv_prog_STRIP"
2212 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
2214 # We need awk for the "check" target. The system "awk" is bad on
2216 # Always define AMTAR for backward compatibility.
2218 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2220 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2226 ac_config_headers
="$ac_config_headers config.h"
2231 ISODATE
=`date +%Y-%m-%d`
2234 # Make sure we can run config.sub.
2235 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2236 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2237 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2238 { (exit 1); exit 1; }; }
2240 { echo "$as_me:$LINENO: checking build system type" >&5
2241 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2242 if test "${ac_cv_build+set}" = set; then
2243 echo $ECHO_N "(cached) $ECHO_C" >&6
2245 ac_build_alias
=$build_alias
2246 test "x$ac_build_alias" = x
&&
2247 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2248 test "x$ac_build_alias" = x
&&
2249 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2250 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2251 { (exit 1); exit 1; }; }
2252 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2253 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2254 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2255 { (exit 1); exit 1; }; }
2258 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2259 echo "${ECHO_T}$ac_cv_build" >&6; }
2260 case $ac_cv_build in
2262 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2263 echo "$as_me: error: invalid value of canonical build" >&2;}
2264 { (exit 1); exit 1; }; };;
2267 ac_save_IFS
=$IFS; IFS
='-'
2273 # Remember, the first character of IFS is used to create $*,
2274 # except with old shells:
2277 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2280 { echo "$as_me:$LINENO: checking host system type" >&5
2281 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2282 if test "${ac_cv_host+set}" = set; then
2283 echo $ECHO_N "(cached) $ECHO_C" >&6
2285 if test "x$host_alias" = x
; then
2286 ac_cv_host
=$ac_cv_build
2288 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2289 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2290 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2291 { (exit 1); exit 1; }; }
2295 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2296 echo "${ECHO_T}$ac_cv_host" >&6; }
2299 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2300 echo "$as_me: error: invalid value of canonical host" >&2;}
2301 { (exit 1); exit 1; }; };;
2304 ac_save_IFS
=$IFS; IFS
='-'
2310 # Remember, the first character of IFS is used to create $*,
2311 # except with old shells:
2314 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2318 # Check whether --enable-static was given.
2319 if test "${enable_static+set}" = set; then
2320 enableval
=$enable_static; p
=${PACKAGE-default}
2322 yes) enable_static
=yes ;;
2323 no
) enable_static
=no
;;
2326 # Look at the argument we got. We use all the common list separators.
2327 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
2328 for pkg
in $enableval; do
2330 if test "X$pkg" = "X$p"; then
2343 # Check whether --enable-shared was given.
2344 if test "${enable_shared+set}" = set; then
2345 enableval
=$enable_shared; p
=${PACKAGE-default}
2347 yes) enable_shared
=yes ;;
2348 no
) enable_shared
=no
;;
2351 # Look at the argument we got. We use all the common list separators.
2352 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
2353 for pkg
in $enableval; do
2355 if test "X$pkg" = "X$p"; then
2368 # Find a good install program. We prefer a C program (faster),
2369 # so one script is as good as another. But avoid the broken or
2370 # incompatible versions:
2371 # SysV /etc/install, /usr/sbin/install
2372 # SunOS /usr/etc/install
2373 # IRIX /sbin/install
2375 # AmigaOS /C/install, which installs bootblocks on floppy discs
2376 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2377 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2378 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2379 # OS/2's system install, which has a completely different semantic
2380 # ./install, which can be erroneously created by make from ./install.sh.
2381 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2382 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2383 if test -z "$INSTALL"; then
2384 if test "${ac_cv_path_install+set}" = set; then
2385 echo $ECHO_N "(cached) $ECHO_C" >&6
2387 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2391 test -z "$as_dir" && as_dir
=.
2392 # Account for people who put trailing slashes in PATH elements.
2394 .
/ | .
// |
/cC
/* | \
2395 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2396 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2399 # OSF1 and SCO ODT 3.0 have their own names for install.
2400 # Don't use installbsd from OSF since it installs stuff as root
2402 for ac_prog
in ginstall scoinst
install; do
2403 for ac_exec_ext
in '' $ac_executable_extensions; do
2404 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2405 if test $ac_prog = install &&
2406 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2407 # AIX install. It has an incompatible calling convention.
2409 elif test $ac_prog = install &&
2410 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2411 # program-specific install script used by HP pwplus--don't use.
2414 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2427 if test "${ac_cv_path_install+set}" = set; then
2428 INSTALL
=$ac_cv_path_install
2430 # As a last resort, use the slow shell script. Don't cache a
2431 # value for INSTALL within a source directory, because that will
2432 # break other packages using the cache if that directory is
2433 # removed, or if the value is a relative name.
2434 INSTALL
=$ac_install_sh
2437 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2438 echo "${ECHO_T}$INSTALL" >&6; }
2440 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2441 # It thinks the first close brace ends the variable substitution.
2442 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2444 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2446 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2449 ac_cpp
='$CPP $CPPFLAGS'
2450 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2451 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2452 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2453 if test -n "$ac_tool_prefix"; then
2454 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2455 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2456 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2457 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2458 if test "${ac_cv_prog_CC+set}" = set; then
2459 echo $ECHO_N "(cached) $ECHO_C" >&6
2461 if test -n "$CC"; then
2462 ac_cv_prog_CC
="$CC" # Let the user override the test.
2464 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2468 test -z "$as_dir" && as_dir
=.
2469 for ac_exec_ext
in '' $ac_executable_extensions; do
2470 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2471 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2472 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2482 if test -n "$CC"; then
2483 { echo "$as_me:$LINENO: result: $CC" >&5
2484 echo "${ECHO_T}$CC" >&6; }
2486 { echo "$as_me:$LINENO: result: no" >&5
2487 echo "${ECHO_T}no" >&6; }
2492 if test -z "$ac_cv_prog_CC"; then
2494 # Extract the first word of "gcc", so it can be a program name with args.
2495 set dummy gcc
; ac_word
=$2
2496 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2497 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2498 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2499 echo $ECHO_N "(cached) $ECHO_C" >&6
2501 if test -n "$ac_ct_CC"; then
2502 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2504 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2508 test -z "$as_dir" && as_dir
=.
2509 for ac_exec_ext
in '' $ac_executable_extensions; do
2510 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2511 ac_cv_prog_ac_ct_CC
="gcc"
2512 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2521 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2522 if test -n "$ac_ct_CC"; then
2523 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2524 echo "${ECHO_T}$ac_ct_CC" >&6; }
2526 { echo "$as_me:$LINENO: result: no" >&5
2527 echo "${ECHO_T}no" >&6; }
2530 if test "x$ac_ct_CC" = x
; then
2533 case $cross_compiling:$ac_tool_warned in
2535 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2536 whose name does not start with the host triplet. If you think this
2537 configuration is useful to you, please write to autoconf@gnu.org." >&5
2538 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2539 whose name does not start with the host triplet. If you think this
2540 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2541 ac_tool_warned
=yes ;;
2549 if test -z "$CC"; then
2550 if test -n "$ac_tool_prefix"; then
2551 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2552 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2553 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2554 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2555 if test "${ac_cv_prog_CC+set}" = set; then
2556 echo $ECHO_N "(cached) $ECHO_C" >&6
2558 if test -n "$CC"; then
2559 ac_cv_prog_CC
="$CC" # Let the user override the test.
2561 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2565 test -z "$as_dir" && as_dir
=.
2566 for ac_exec_ext
in '' $ac_executable_extensions; do
2567 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2568 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2569 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2579 if test -n "$CC"; then
2580 { echo "$as_me:$LINENO: result: $CC" >&5
2581 echo "${ECHO_T}$CC" >&6; }
2583 { echo "$as_me:$LINENO: result: no" >&5
2584 echo "${ECHO_T}no" >&6; }
2590 if test -z "$CC"; then
2591 # Extract the first word of "cc", so it can be a program name with args.
2592 set dummy cc
; ac_word
=$2
2593 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2594 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2595 if test "${ac_cv_prog_CC+set}" = set; then
2596 echo $ECHO_N "(cached) $ECHO_C" >&6
2598 if test -n "$CC"; then
2599 ac_cv_prog_CC
="$CC" # Let the user override the test.
2602 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2606 test -z "$as_dir" && as_dir
=.
2607 for ac_exec_ext
in '' $ac_executable_extensions; do
2608 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2609 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2610 ac_prog_rejected
=yes
2614 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2621 if test $ac_prog_rejected = yes; then
2622 # We found a bogon in the path, so make sure we never use it.
2623 set dummy
$ac_cv_prog_CC
2625 if test $# != 0; then
2626 # We chose a different compiler from the bogus one.
2627 # However, it has the same basename, so the bogon will be chosen
2628 # first if we set CC to just the basename; use the full file name.
2630 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2636 if test -n "$CC"; then
2637 { echo "$as_me:$LINENO: result: $CC" >&5
2638 echo "${ECHO_T}$CC" >&6; }
2640 { echo "$as_me:$LINENO: result: no" >&5
2641 echo "${ECHO_T}no" >&6; }
2646 if test -z "$CC"; then
2647 if test -n "$ac_tool_prefix"; then
2648 for ac_prog
in cl.exe
2650 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2651 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2652 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2653 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2654 if test "${ac_cv_prog_CC+set}" = set; then
2655 echo $ECHO_N "(cached) $ECHO_C" >&6
2657 if test -n "$CC"; then
2658 ac_cv_prog_CC
="$CC" # Let the user override the test.
2660 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2664 test -z "$as_dir" && as_dir
=.
2665 for ac_exec_ext
in '' $ac_executable_extensions; do
2666 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2667 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2668 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2678 if test -n "$CC"; then
2679 { echo "$as_me:$LINENO: result: $CC" >&5
2680 echo "${ECHO_T}$CC" >&6; }
2682 { echo "$as_me:$LINENO: result: no" >&5
2683 echo "${ECHO_T}no" >&6; }
2687 test -n "$CC" && break
2690 if test -z "$CC"; then
2692 for ac_prog
in cl.exe
2694 # Extract the first word of "$ac_prog", so it can be a program name with args.
2695 set dummy
$ac_prog; ac_word
=$2
2696 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2697 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2698 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2699 echo $ECHO_N "(cached) $ECHO_C" >&6
2701 if test -n "$ac_ct_CC"; then
2702 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2704 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2708 test -z "$as_dir" && as_dir
=.
2709 for ac_exec_ext
in '' $ac_executable_extensions; do
2710 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2711 ac_cv_prog_ac_ct_CC
="$ac_prog"
2712 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2721 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2722 if test -n "$ac_ct_CC"; then
2723 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2724 echo "${ECHO_T}$ac_ct_CC" >&6; }
2726 { echo "$as_me:$LINENO: result: no" >&5
2727 echo "${ECHO_T}no" >&6; }
2731 test -n "$ac_ct_CC" && break
2734 if test "x$ac_ct_CC" = x
; then
2737 case $cross_compiling:$ac_tool_warned in
2739 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2740 whose name does not start with the host triplet. If you think this
2741 configuration is useful to you, please write to autoconf@gnu.org." >&5
2742 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2743 whose name does not start with the host triplet. If you think this
2744 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2745 ac_tool_warned
=yes ;;
2754 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2755 See \`config.log' for more details." >&5
2756 echo "$as_me: error: no acceptable C compiler found in \$PATH
2757 See \`config.log' for more details." >&2;}
2758 { (exit 1); exit 1; }; }
2760 # Provide some information about the compiler.
2761 echo "$as_me:$LINENO: checking for C compiler version" >&5
2762 ac_compiler
=`set X $ac_compile; echo $2`
2763 { (ac_try
="$ac_compiler --version >&5"
2765 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2766 *) ac_try_echo=$ac_try;;
2768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2769 (eval "$ac_compiler --version >&5") 2>&5
2771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2772 (exit $ac_status); }
2773 { (ac_try="$ac_compiler -v >&5"
2775 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2776 *) ac_try_echo
=$ac_try;;
2778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2779 (eval "$ac_compiler -v >&5") 2>&5
2781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2782 (exit $ac_status); }
2783 { (ac_try
="$ac_compiler -V >&5"
2785 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2786 *) ac_try_echo=$ac_try;;
2788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2789 (eval "$ac_compiler -V >&5") 2>&5
2791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2792 (exit $ac_status); }
2794 cat >conftest.$ac_ext <<_ACEOF
2797 cat confdefs.h >>conftest.$ac_ext
2798 cat >>conftest.$ac_ext <<_ACEOF
2799 /* end confdefs.h. */
2809 ac_clean_files_save=$ac_clean_files
2810 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2811 # Try to create an executable without -o first, disregard a.out.
2812 # It will help us diagnose broken compilers, and finding out an intuition
2814 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2815 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2816 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2818 # List of possible output files, starting from the most likely.
2819 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2820 # only as a last resort. b.out is created by i960 compilers.
2821 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2823 # The IRIX 6 linker writes into existing files which may not be
2824 # executable, retaining their permissions. Remove them first so a
2825 # subsequent execution test works.
2827 for ac_file in $ac_files
2830 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2831 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2836 if { (ac_try="$ac_link_default"
2838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2839 *) ac_try_echo=$ac_try;;
2841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2842 (eval "$ac_link_default") 2>&5
2844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2845 (exit $ac_status); }; then
2846 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2847 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2848 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2849 # so that the user can short-circuit this test for compilers unknown to
2851 for ac_file
in $ac_files ''
2853 test -f "$ac_file" ||
continue
2855 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
2858 # We found the default executable, but exeext='' is most
2862 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2864 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2866 # We set ac_cv_exeext here because the later test for it is not
2867 # safe: cross compilers may not add the suffix if given an `-o'
2868 # argument, so we may need to know it at that point already.
2869 # Even if this section looks crufty: it has the advantage of
2876 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2882 { echo "$as_me:$LINENO: result: $ac_file" >&5
2883 echo "${ECHO_T}$ac_file" >&6; }
2884 if test -z "$ac_file"; then
2885 echo "$as_me: failed program was:" >&5
2886 sed 's/^/| /' conftest.
$ac_ext >&5
2888 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2889 See \`config.log' for more details." >&5
2890 echo "$as_me: error: C compiler cannot create executables
2891 See \`config.log' for more details." >&2;}
2892 { (exit 77); exit 77; }; }
2895 ac_exeext
=$ac_cv_exeext
2897 # Check that the compiler produces executables we can run. If not, either
2898 # the compiler is broken, or we cross compile.
2899 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2900 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2901 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2902 # If not cross compiling, check that we can run a simple program.
2903 if test "$cross_compiling" != yes; then
2904 if { ac_try
='./$ac_file'
2905 { (case "(($ac_try" in
2906 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2907 *) ac_try_echo=$ac_try;;
2909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2910 (eval "$ac_try") 2>&5
2912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2913 (exit $ac_status); }; }; then
2916 if test "$cross_compiling" = maybe; then
2919 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2920 If you meant to cross compile, use \`--host'.
2921 See \`config.log' for more details.
" >&5
2922 echo "$as_me: error
: cannot run C compiled programs.
2923 If you meant to cross compile
, use \
`--host'.
2924 See \`config.log
' for more details." >&2;}
2925 { (exit 1); exit 1; }; }
2929 { echo "$as_me:$LINENO: result: yes" >&5
2930 echo "${ECHO_T}yes" >&6; }
2932 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2933 ac_clean_files=$ac_clean_files_save
2934 # Check that the compiler produces executables we can run. If not, either
2935 # the compiler is broken, or we cross compile.
2936 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2937 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2938 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2939 echo "${ECHO_T}$cross_compiling" >&6; }
2941 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2942 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2943 if { (ac_try="$ac_link"
2945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2946 *) ac_try_echo=$ac_try;;
2948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2949 (eval "$ac_link") 2>&5
2951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2952 (exit $ac_status); }; then
2953 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2954 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2955 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2957 for ac_file
in conftest.exe conftest conftest.
*; do
2958 test -f "$ac_file" ||
continue
2960 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
2961 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2967 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2968 See \`config.log' for more details." >&5
2969 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2970 See \`config.log' for more details." >&2;}
2971 { (exit 1); exit 1; }; }
2974 rm -f conftest
$ac_cv_exeext
2975 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2976 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2978 rm -f conftest.
$ac_ext
2979 EXEEXT
=$ac_cv_exeext
2981 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2982 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2983 if test "${ac_cv_objext+set}" = set; then
2984 echo $ECHO_N "(cached) $ECHO_C" >&6
2986 cat >conftest.
$ac_ext <<_ACEOF
2989 cat confdefs.h
>>conftest.
$ac_ext
2990 cat >>conftest.
$ac_ext <<_ACEOF
2991 /* end confdefs.h. */
3001 rm -f conftest.o conftest.obj
3002 if { (ac_try
="$ac_compile"
3004 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3005 *) ac_try_echo=$ac_try;;
3007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3008 (eval "$ac_compile") 2>&5
3010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3011 (exit $ac_status); }; then
3012 for ac_file in conftest.o conftest.obj conftest.*; do
3013 test -f "$ac_file" || continue;
3015 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3016 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3021 echo "$as_me: failed program was:" >&5
3022 sed 's/^/| /' conftest.$ac_ext >&5
3024 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3025 See \`config.log
' for more details." >&5
3026 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3027 See \`config.log' for more details.
" >&2;}
3028 { (exit 1); exit 1; }; }
3031 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3033 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
3034 echo "${ECHO_T}$ac_cv_objext" >&6; }
3035 OBJEXT=$ac_cv_objext
3037 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
3038 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
3039 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3040 echo $ECHO_N "(cached
) $ECHO_C" >&6
3042 cat >conftest.$ac_ext <<_ACEOF
3045 cat confdefs.h >>conftest.$ac_ext
3046 cat >>conftest.$ac_ext <<_ACEOF
3047 /* end confdefs.h. */
3060 rm -f conftest.$ac_objext
3061 if { (ac_try="$ac_compile"
3063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3064 *) ac_try_echo=$ac_try;;
3066 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3067 (eval "$ac_compile") 2>conftest.er1
3069 grep -v '^ *+' conftest.er1 >conftest.err
3071 cat conftest.err >&5
3072 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3073 (exit $ac_status); } && {
3074 test -z "$ac_c_werror_flag" ||
3075 test ! -s conftest.err
3076 } && test -s conftest.$ac_objext; then
3079 echo "$as_me: failed program was
:" >&5
3080 sed 's/^/| /' conftest.$ac_ext >&5
3085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3086 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3089 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
3090 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3091 GCC=`test $ac_compiler_gnu = yes && echo yes`
3092 ac_test_CFLAGS=${CFLAGS+set}
3093 ac_save_CFLAGS=$CFLAGS
3094 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
3095 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
3096 if test "${ac_cv_prog_cc_g+set}" = set; then
3097 echo $ECHO_N "(cached
) $ECHO_C" >&6
3099 ac_save_c_werror_flag=$ac_c_werror_flag
3100 ac_c_werror_flag=yes
3103 cat >conftest.$ac_ext <<_ACEOF
3106 cat confdefs.h >>conftest.$ac_ext
3107 cat >>conftest.$ac_ext <<_ACEOF
3108 /* end confdefs.h. */
3118 rm -f conftest.$ac_objext
3119 if { (ac_try="$ac_compile"
3121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3122 *) ac_try_echo=$ac_try;;
3124 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3125 (eval "$ac_compile") 2>conftest.er1
3127 grep -v '^ *+' conftest.er1 >conftest.err
3129 cat conftest.err >&5
3130 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3131 (exit $ac_status); } && {
3132 test -z "$ac_c_werror_flag" ||
3133 test ! -s conftest.err
3134 } && test -s conftest.$ac_objext; then
3137 echo "$as_me: failed program was
:" >&5
3138 sed 's/^/| /' conftest.$ac_ext >&5
3141 cat >conftest.$ac_ext <<_ACEOF
3144 cat confdefs.h >>conftest.$ac_ext
3145 cat >>conftest.$ac_ext <<_ACEOF
3146 /* end confdefs.h. */
3156 rm -f conftest.$ac_objext
3157 if { (ac_try="$ac_compile"
3159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3160 *) ac_try_echo=$ac_try;;
3162 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3163 (eval "$ac_compile") 2>conftest.er1
3165 grep -v '^ *+' conftest.er1 >conftest.err
3167 cat conftest.err >&5
3168 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3169 (exit $ac_status); } && {
3170 test -z "$ac_c_werror_flag" ||
3171 test ! -s conftest.err
3172 } && test -s conftest.$ac_objext; then
3175 echo "$as_me: failed program was
:" >&5
3176 sed 's/^/| /' conftest.$ac_ext >&5
3178 ac_c_werror_flag=$ac_save_c_werror_flag
3180 cat >conftest.$ac_ext <<_ACEOF
3183 cat confdefs.h >>conftest.$ac_ext
3184 cat >>conftest.$ac_ext <<_ACEOF
3185 /* end confdefs.h. */
3195 rm -f conftest.$ac_objext
3196 if { (ac_try="$ac_compile"
3198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3199 *) ac_try_echo=$ac_try;;
3201 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3202 (eval "$ac_compile") 2>conftest.er1
3204 grep -v '^ *+' conftest.er1 >conftest.err
3206 cat conftest.err >&5
3207 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3208 (exit $ac_status); } && {
3209 test -z "$ac_c_werror_flag" ||
3210 test ! -s conftest.err
3211 } && test -s conftest.$ac_objext; then
3214 echo "$as_me: failed program was
:" >&5
3215 sed 's/^/| /' conftest.$ac_ext >&5
3220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3227 ac_c_werror_flag=$ac_save_c_werror_flag
3229 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
3230 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3231 if test "$ac_test_CFLAGS" = set; then
3232 CFLAGS=$ac_save_CFLAGS
3233 elif test $ac_cv_prog_cc_g = yes; then
3234 if test "$GCC" = yes; then
3240 if test "$GCC" = yes; then
3246 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
3247 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
3248 if test "${ac_cv_prog_cc_c89+set}" = set; then
3249 echo $ECHO_N "(cached
) $ECHO_C" >&6
3251 ac_cv_prog_cc_c89=no
3253 cat >conftest.$ac_ext <<_ACEOF
3256 cat confdefs.h >>conftest.$ac_ext
3257 cat >>conftest.$ac_ext <<_ACEOF
3258 /* end confdefs.h. */
3261 #include <sys/types.h>
3262 #include <sys/stat.h>
3263 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3264 struct buf { int x; };
3265 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3266 static char *e (p, i)
3272 static char *f (char * (*g) (char **, int), char **p, ...)
3277 s = g (p, va_arg (v,int));
3282 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3283 function prototypes and stuff, but not '\xHH' hex character constants.
3284 These don't provoke an error unfortunately, instead are silently treated
3285 as 'x'. The following induces an error, until -std is added to get
3286 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3287 array size at least. It's necessary to write '\x00'==0 to get something
3288 that's true only with -std. */
3289 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3291 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3292 inside strings and character constants. */
3294 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3296 int test (int i, double x);
3297 struct s1 {int (*f) (int a);};
3298 struct s2 {int (*f) (double a);};
3299 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3305 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3310 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3311 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3313 CC="$ac_save_CC $ac_arg"
3314 rm -f conftest.$ac_objext
3315 if { (ac_try="$ac_compile"
3317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3318 *) ac_try_echo=$ac_try;;
3320 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3321 (eval "$ac_compile") 2>conftest.er1
3323 grep -v '^ *+' conftest.er1 >conftest.err
3325 cat conftest.err >&5
3326 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3327 (exit $ac_status); } && {
3328 test -z "$ac_c_werror_flag" ||
3329 test ! -s conftest.err
3330 } && test -s conftest.$ac_objext; then
3331 ac_cv_prog_cc_c89=$ac_arg
3333 echo "$as_me: failed program was
:" >&5
3334 sed 's/^/| /' conftest.$ac_ext >&5
3339 rm -f core conftest.err conftest.$ac_objext
3340 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3342 rm -f conftest.$ac_ext
3347 case "x
$ac_cv_prog_cc_c89" in
3349 { echo "$as_me:$LINENO: result
: none needed
" >&5
3350 echo "${ECHO_T}none needed
" >&6; } ;;
3352 { echo "$as_me:$LINENO: result
: unsupported
" >&5
3353 echo "${ECHO_T}unsupported
" >&6; } ;;
3355 CC="$CC $ac_cv_prog_cc_c89"
3356 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
3357 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3362 ac_cpp='$CPP $CPPFLAGS'
3363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3366 DEPDIR="${am__leading_dot}deps
"
3368 ac_config_commands="$ac_config_commands depfiles
"
3371 am_make=${MAKE-make}
3372 cat > confinc << 'END'
3377 # If we don't find an include directive, just comment out the code.
3378 { echo "$as_me:$LINENO: checking
for style of include used by
$am_make" >&5
3379 echo $ECHO_N "checking
for style of include used by
$am_make...
$ECHO_C" >&6; }
3383 # First try GNU make style include.
3384 echo "include confinc" > confmf
3385 # We grep out `Entering directory' and `Leaving directory'
3386 # messages which can occur if `w' ends up in MAKEFLAGS.
3387 # In particular we don't look at `^make:' because GNU make might
3388 # be invoked under some other name (usually "gmake"), in which
3389 # case it prints its new name instead of `make'.
3390 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3395 # Now try BSD make style include.
3396 if test "$am__include" = "#"; then
3397 echo '.include "confinc"' > confmf
3398 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3399 am__include
=.include
3406 { echo "$as_me:$LINENO: result: $_am_result" >&5
3407 echo "${ECHO_T}$_am_result" >&6; }
3408 rm -f confinc confmf
3410 # Check whether --enable-dependency-tracking was given.
3411 if test "${enable_dependency_tracking+set}" = set; then
3412 enableval
=$enable_dependency_tracking;
3415 if test "x$enable_dependency_tracking" != xno
; then
3416 am_depcomp
="$ac_aux_dir/depcomp"
3421 if test "x$enable_dependency_tracking" != xno; then
3432 depcc
="$CC" am_compiler_list
=
3434 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3435 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3436 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3437 echo $ECHO_N "(cached) $ECHO_C" >&6
3439 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3440 # We make a subdir and do the tests there. Otherwise we can end up
3441 # making bogus files that we don't know about and never remove. For
3442 # instance it was reported that on HP-UX the gcc test will end up
3443 # making a dummy file named `D' -- because `-MD' means `put the output
3446 # Copy depcomp to subdir because otherwise we won't find it if we're
3447 # using a relative directory.
3448 cp "$am_depcomp" conftest.dir
3450 # We will build objects and dependencies in a subdirectory because
3451 # it helps to detect inapplicable dependency modes. For instance
3452 # both Tru64's cc and ICC support -MD to output dependencies as a
3453 # side effect of compilation, but ICC will put the dependencies in
3454 # the current directory while Tru64 will put them in the object
3458 am_cv_CC_dependencies_compiler_type
=none
3459 if test "$am_compiler_list" = ""; then
3460 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3462 for depmode
in $am_compiler_list; do
3463 # Setup a source with many dependencies, because some compilers
3464 # like to wrap large dependency lists on column 80 (with \), and
3465 # we should not choose a depcomp mode which is confused by this.
3467 # We need to recreate these files for each test, as the compiler may
3468 # overwrite some of them when testing with obscure command lines.
3469 # This happens at least with the AIX C compiler.
3471 for i
in 1 2 3 4 5 6; do
3472 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3473 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3474 # Solaris 8's {/usr,}/bin/sh.
3475 touch sub
/conftst
$i.h
3477 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3481 # after this tag, mechanisms are not by side-effect, so they'll
3482 # only be used when explicitly requested
3483 if test "x$enable_dependency_tracking" = xyes
; then
3491 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3492 # mode. It turns out that the SunPro C++ compiler does not properly
3493 # handle `-M -o', and we need to detect this.
3494 if depmode
=$depmode \
3495 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3496 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3497 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3498 >/dev
/null
2>conftest.err
&&
3499 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3500 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3501 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3502 # icc doesn't choke on unknown options, it will just issue warnings
3503 # or remarks (even with -Werror). So we grep stderr for any message
3504 # that says an option was ignored or not supported.
3505 # When given -MP, icc 7.0 and 7.1 complain thusly:
3506 # icc: Command line warning: ignoring option '-M'; no argument required
3507 # The diagnosis changed in icc 8.0:
3508 # icc: Command line remark: option '-MP' not supported
3509 if (grep 'ignoring option' conftest.err ||
3510 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3511 am_cv_CC_dependencies_compiler_type
=$depmode
3520 am_cv_CC_dependencies_compiler_type
=none
3524 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3525 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3526 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3531 test "x$enable_dependency_tracking" != xno \
3532 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3534 am__fastdepCC_FALSE
='#'
3536 am__fastdepCC_TRUE
='#'
3537 am__fastdepCC_FALSE
=
3543 ac_cpp
='$CPP $CPPFLAGS'
3544 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3545 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3546 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3547 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3548 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3549 # On Suns, sometimes $CPP names a directory.
3550 if test -n "$CPP" && test -d "$CPP"; then
3553 if test -z "$CPP"; then
3554 if test "${ac_cv_prog_CPP+set}" = set; then
3555 echo $ECHO_N "(cached) $ECHO_C" >&6
3557 # Double quotes because CPP needs to be expanded
3558 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3561 for ac_c_preproc_warn_flag
in '' yes
3563 # Use a header file that comes with gcc, so configuring glibc
3564 # with a fresh cross-compiler works.
3565 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3566 # <limits.h> exists even on freestanding compilers.
3567 # On the NeXT, cc -E runs the code through the compiler's parser,
3568 # not just through cpp. "Syntax error" is here to catch this case.
3569 cat >conftest.
$ac_ext <<_ACEOF
3572 cat confdefs.h
>>conftest.
$ac_ext
3573 cat >>conftest.
$ac_ext <<_ACEOF
3574 /* end confdefs.h. */
3576 # include <limits.h>
3578 # include <assert.h>
3582 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3584 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3585 *) ac_try_echo=$ac_try;;
3587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3588 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3590 grep -v '^ *+' conftest.er1 >conftest.err
3592 cat conftest.err >&5
3593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3594 (exit $ac_status); } >/dev/null && {
3595 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3596 test ! -s conftest.err
3600 echo "$as_me: failed program was:" >&5
3601 sed 's/^/| /' conftest.$ac_ext >&5
3603 # Broken: fails on valid input.
3607 rm -f conftest.err conftest.$ac_ext
3609 # OK, works on sane cases. Now check whether nonexistent headers
3610 # can be detected and how.
3611 cat >conftest.$ac_ext <<_ACEOF
3614 cat confdefs.h >>conftest.$ac_ext
3615 cat >>conftest.$ac_ext <<_ACEOF
3616 /* end confdefs.h. */
3617 #include <ac_nonexistent.h>
3619 if { (ac_try="$ac_cpp conftest.$ac_ext"
3621 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3622 *) ac_try_echo
=$ac_try;;
3624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3625 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3627 grep -v '^ *+' conftest.er1
>conftest.err
3629 cat conftest.err
>&5
3630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3631 (exit $ac_status); } >/dev
/null
&& {
3632 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3633 test ! -s conftest.err
3635 # Broken: success on invalid input.
3638 echo "$as_me: failed program was:" >&5
3639 sed 's/^/| /' conftest.
$ac_ext >&5
3641 # Passes both tests.
3646 rm -f conftest.err conftest.
$ac_ext
3649 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3650 rm -f conftest.err conftest.
$ac_ext
3651 if $ac_preproc_ok; then
3663 { echo "$as_me:$LINENO: result: $CPP" >&5
3664 echo "${ECHO_T}$CPP" >&6; }
3666 for ac_c_preproc_warn_flag
in '' yes
3668 # Use a header file that comes with gcc, so configuring glibc
3669 # with a fresh cross-compiler works.
3670 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3671 # <limits.h> exists even on freestanding compilers.
3672 # On the NeXT, cc -E runs the code through the compiler's parser,
3673 # not just through cpp. "Syntax error" is here to catch this case.
3674 cat >conftest.
$ac_ext <<_ACEOF
3677 cat confdefs.h
>>conftest.
$ac_ext
3678 cat >>conftest.
$ac_ext <<_ACEOF
3679 /* end confdefs.h. */
3681 # include <limits.h>
3683 # include <assert.h>
3687 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3689 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3690 *) ac_try_echo=$ac_try;;
3692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3693 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3695 grep -v '^ *+' conftest.er1 >conftest.err
3697 cat conftest.err >&5
3698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3699 (exit $ac_status); } >/dev/null && {
3700 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3701 test ! -s conftest.err
3705 echo "$as_me: failed program was:" >&5
3706 sed 's/^/| /' conftest.$ac_ext >&5
3708 # Broken: fails on valid input.
3712 rm -f conftest.err conftest.$ac_ext
3714 # OK, works on sane cases. Now check whether nonexistent headers
3715 # can be detected and how.
3716 cat >conftest.$ac_ext <<_ACEOF
3719 cat confdefs.h >>conftest.$ac_ext
3720 cat >>conftest.$ac_ext <<_ACEOF
3721 /* end confdefs.h. */
3722 #include <ac_nonexistent.h>
3724 if { (ac_try="$ac_cpp conftest.$ac_ext"
3726 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3727 *) ac_try_echo
=$ac_try;;
3729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3730 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3732 grep -v '^ *+' conftest.er1
>conftest.err
3734 cat conftest.err
>&5
3735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3736 (exit $ac_status); } >/dev
/null
&& {
3737 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3738 test ! -s conftest.err
3740 # Broken: success on invalid input.
3743 echo "$as_me: failed program was:" >&5
3744 sed 's/^/| /' conftest.
$ac_ext >&5
3746 # Passes both tests.
3751 rm -f conftest.err conftest.
$ac_ext
3754 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3755 rm -f conftest.err conftest.
$ac_ext
3756 if $ac_preproc_ok; then
3759 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3760 See \`config.log' for more details." >&5
3761 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3762 See \`config.log' for more details." >&2;}
3763 { (exit 1); exit 1; }; }
3767 ac_cpp
='$CPP $CPPFLAGS'
3768 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3769 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3770 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3773 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3774 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3775 if test "${ac_cv_path_GREP+set}" = set; then
3776 echo $ECHO_N "(cached) $ECHO_C" >&6
3778 # Extract the first word of "grep ggrep" to use in msg output
3779 if test -z "$GREP"; then
3780 set dummy
grep ggrep
; ac_prog_name
=$2
3781 if test "${ac_cv_path_GREP+set}" = set; then
3782 echo $ECHO_N "(cached) $ECHO_C" >&6
3784 ac_path_GREP_found
=false
3785 # Loop through the user's path and test for each of PROGNAME-LIST
3786 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3787 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3790 test -z "$as_dir" && as_dir
=.
3791 for ac_prog
in grep ggrep
; do
3792 for ac_exec_ext
in '' $ac_executable_extensions; do
3793 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3794 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
3795 # Check for GNU ac_path_GREP and select it if it is found.
3796 # Check for GNU $ac_path_GREP
3797 case `"$ac_path_GREP" --version 2>&1` in
3799 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3802 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3805 cat "conftest.in" "conftest.in" >"conftest.tmp"
3806 mv "conftest.tmp" "conftest.in"
3807 cp "conftest.in" "conftest.nl"
3808 echo 'GREP' >> "conftest.nl"
3809 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3810 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3811 ac_count
=`expr $ac_count + 1`
3812 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3813 # Best one so far, save it but keep looking for a better one
3814 ac_cv_path_GREP
="$ac_path_GREP"
3815 ac_path_GREP_max
=$ac_count
3817 # 10*(2^10) chars as input seems more than enough
3818 test $ac_count -gt 10 && break
3820 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3824 $ac_path_GREP_found && break 3
3834 GREP
="$ac_cv_path_GREP"
3835 if test -z "$GREP"; then
3836 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3837 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3838 { (exit 1); exit 1; }; }
3842 ac_cv_path_GREP
=$GREP
3847 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3848 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3849 GREP
="$ac_cv_path_GREP"
3852 { echo "$as_me:$LINENO: checking for egrep" >&5
3853 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3854 if test "${ac_cv_path_EGREP+set}" = set; then
3855 echo $ECHO_N "(cached) $ECHO_C" >&6
3857 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3858 then ac_cv_path_EGREP
="$GREP -E"
3860 # Extract the first word of "egrep" to use in msg output
3861 if test -z "$EGREP"; then
3862 set dummy
egrep; ac_prog_name
=$2
3863 if test "${ac_cv_path_EGREP+set}" = set; then
3864 echo $ECHO_N "(cached) $ECHO_C" >&6
3866 ac_path_EGREP_found
=false
3867 # Loop through the user's path and test for each of PROGNAME-LIST
3868 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3869 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3872 test -z "$as_dir" && as_dir
=.
3873 for ac_prog
in egrep; do
3874 for ac_exec_ext
in '' $ac_executable_extensions; do
3875 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3876 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
3877 # Check for GNU ac_path_EGREP and select it if it is found.
3878 # Check for GNU $ac_path_EGREP
3879 case `"$ac_path_EGREP" --version 2>&1` in
3881 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3884 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3887 cat "conftest.in" "conftest.in" >"conftest.tmp"
3888 mv "conftest.tmp" "conftest.in"
3889 cp "conftest.in" "conftest.nl"
3890 echo 'EGREP' >> "conftest.nl"
3891 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3892 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3893 ac_count
=`expr $ac_count + 1`
3894 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3895 # Best one so far, save it but keep looking for a better one
3896 ac_cv_path_EGREP
="$ac_path_EGREP"
3897 ac_path_EGREP_max
=$ac_count
3899 # 10*(2^10) chars as input seems more than enough
3900 test $ac_count -gt 10 && break
3902 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3906 $ac_path_EGREP_found && break 3
3916 EGREP
="$ac_cv_path_EGREP"
3917 if test -z "$EGREP"; then
3918 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3919 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3920 { (exit 1); exit 1; }; }
3924 ac_cv_path_EGREP
=$EGREP
3930 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3931 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3932 EGREP
="$ac_cv_path_EGREP"
3935 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3936 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
3937 if test "${ac_cv_header_stdc+set}" = set; then
3938 echo $ECHO_N "(cached) $ECHO_C" >&6
3940 cat >conftest.
$ac_ext <<_ACEOF
3943 cat confdefs.h
>>conftest.
$ac_ext
3944 cat >>conftest.
$ac_ext <<_ACEOF
3945 /* end confdefs.h. */
3959 rm -f conftest.
$ac_objext
3960 if { (ac_try
="$ac_compile"
3962 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3963 *) ac_try_echo=$ac_try;;
3965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3966 (eval "$ac_compile") 2>conftest.er1
3968 grep -v '^ *+' conftest.er1 >conftest.err
3970 cat conftest.err >&5
3971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3972 (exit $ac_status); } && {
3973 test -z "$ac_c_werror_flag" ||
3974 test ! -s conftest.err
3975 } && test -s conftest.$ac_objext; then
3976 ac_cv_header_stdc=yes
3978 echo "$as_me: failed program was:" >&5
3979 sed 's/^/| /' conftest.$ac_ext >&5
3981 ac_cv_header_stdc=no
3984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3986 if test $ac_cv_header_stdc = yes; then
3987 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3988 cat >conftest.$ac_ext <<_ACEOF
3991 cat confdefs.h >>conftest.$ac_ext
3992 cat >>conftest.$ac_ext <<_ACEOF
3993 /* end confdefs.h. */
3997 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3998 $EGREP "memchr" >/dev/null 2>&1; then
4001 ac_cv_header_stdc=no
4007 if test $ac_cv_header_stdc = yes; then
4008 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4009 cat >conftest.$ac_ext <<_ACEOF
4012 cat confdefs.h >>conftest.$ac_ext
4013 cat >>conftest.$ac_ext <<_ACEOF
4014 /* end confdefs.h. */
4018 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4019 $EGREP "free" >/dev/null 2>&1; then
4022 ac_cv_header_stdc=no
4028 if test $ac_cv_header_stdc = yes; then
4029 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4030 if test "$cross_compiling" = yes; then
4033 cat >conftest.$ac_ext <<_ACEOF
4036 cat confdefs.h >>conftest.$ac_ext
4037 cat >>conftest.$ac_ext <<_ACEOF
4038 /* end confdefs.h. */
4041 #if ((' ' & 0x0FF) == 0x020)
4042 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4043 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4045 # define ISLOWER(c) \
4046 (('a' <= (c) && (c) <= 'i') \
4047 || ('j' <= (c) && (c) <= 'r') \
4048 || ('s' <= (c) && (c) <= 'z'))
4049 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4052 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4057 for (i = 0; i < 256; i++)
4058 if (XOR (islower (i), ISLOWER (i))
4059 || toupper (i) != TOUPPER (i))
4064 rm -f conftest$ac_exeext
4065 if { (ac_try="$ac_link"
4067 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4068 *) ac_try_echo
=$ac_try;;
4070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4071 (eval "$ac_link") 2>&5
4073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4074 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4075 { (case "(($ac_try" in
4076 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4077 *) ac_try_echo=$ac_try;;
4079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4080 (eval "$ac_try") 2>&5
4082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4083 (exit $ac_status); }; }; then
4086 echo "$as_me: program exited with status $ac_status" >&5
4087 echo "$as_me: failed program was:" >&5
4088 sed 's/^/| /' conftest.$ac_ext >&5
4091 ac_cv_header_stdc=no
4093 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4099 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4100 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4101 if test $ac_cv_header_stdc = yes; then
4103 cat >>confdefs.h <<\_ACEOF
4104 #define STDC_HEADERS 1
4112 cat >>confdefs.h <<\_ACEOF
4113 #define ENABLE_HDDTEMP_QUERY
4117 cat >>confdefs.h <<\_ACEOF
4123 if test x$GCC = xyes; then
4124 CFLAGS="-O3 -fomit-frame-pointer -ffast-math -Wall -W";
4127 { echo "$as_me:$LINENO: checking for X" >&5
4128 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
4131 # Check whether --with-x was given.
4132 if test "${with_x+set}" = set; then
4136 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
4137 if test "x$with_x" = xno; then
4138 # The user explicitly disabled X.
4141 case $x_includes,$x_libraries in #(
4142 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
4143 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
4144 { (exit 1); exit 1; }; };; #(
4145 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
4146 echo $ECHO_N "(cached) $ECHO_C" >&6
4148 # One or both of the vars are not set, and there is no cached value.
4149 ac_x_includes=no ac_x_libraries=no
4150 rm -f -r conftest.dir
4151 if mkdir conftest.dir; then
4153 cat >Imakefile <<'_ACEOF'
4155 @echo incroot='${INCROOT}'
4157 @echo usrlibdir='${USRLIBDIR}'
4159 @echo libdir='${LIBDIR}'
4161 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
4162 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
4163 for ac_var in incroot usrlibdir libdir; do
4164 eval "ac_im_$ac_var=\`\
${MAKE-make} $ac_var 2>/dev
/null |
sed -n 's/^$ac_var=//p'\
`"
4166 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
4167 for ac_extension in a so sl; do
4168 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
4169 test -f "$ac_im_libdir/libX11.$ac_extension"; then
4170 ac_im_usrlibdir=$ac_im_libdir; break
4173 # Screen out bogus values from the imake configuration. They are
4174 # bogus both because they are the default anyway, and because
4175 # using them would break gcc on systems where it needs fixed includes.
4176 case $ac_im_incroot in
4177 /usr/include) ac_x_includes= ;;
4178 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
4180 case $ac_im_usrlibdir in
4182 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
4186 rm -f -r conftest.dir
4189 # Standard set of common directories for X headers.
4190 # Check X11 before X11Rn because it is often a symlink to the current release.
4202 /usr/local/X11/include
4203 /usr/local/X11R6/include
4204 /usr/local/X11R5/include
4205 /usr/local/X11R4/include
4207 /usr/local/include/X11
4208 /usr/local/include/X11R6
4209 /usr/local/include/X11R5
4210 /usr/local/include/X11R4
4214 /usr/XFree86/include/X11
4218 /usr/unsupported/include
4220 /usr/local/x11r5/include
4221 /usr/lpp/Xamples/include
4223 /usr/openwin/include
4224 /usr/openwin/share/include'
4226 if test "$ac_x_includes" = no; then
4227 # Guess where to find include files, by looking for Xlib.h.
4228 # First, try using that file with no special directory specified.
4229 cat >conftest.$ac_ext <<_ACEOF
4232 cat confdefs.h >>conftest.$ac_ext
4233 cat >>conftest.$ac_ext <<_ACEOF
4234 /* end confdefs.h. */
4235 #include <X11/Xlib.h>
4237 if { (ac_try="$ac_cpp conftest.$ac_ext"
4239 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4240 *) ac_try_echo
=$ac_try;;
4242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4243 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4245 grep -v '^ *+' conftest.er1
>conftest.err
4247 cat conftest.err
>&5
4248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4249 (exit $ac_status); } >/dev
/null
&& {
4250 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4251 test ! -s conftest.err
4253 # We can compile using X headers with no special include directory.
4256 echo "$as_me: failed program was:" >&5
4257 sed 's/^/| /' conftest.
$ac_ext >&5
4259 for ac_dir
in $ac_x_header_dirs; do
4260 if test -r "$ac_dir/X11/Xlib.h"; then
4261 ac_x_includes
=$ac_dir
4267 rm -f conftest.err conftest.
$ac_ext
4268 fi # $ac_x_includes = no
4270 if test "$ac_x_libraries" = no
; then
4271 # Check for the libraries.
4272 # See if we find them without any special options.
4273 # Don't add to $LIBS permanently.
4276 cat >conftest.
$ac_ext <<_ACEOF
4279 cat confdefs.h
>>conftest.
$ac_ext
4280 cat >>conftest.
$ac_ext <<_ACEOF
4281 /* end confdefs.h. */
4282 #include <X11/Xlib.h>
4291 rm -f conftest.
$ac_objext conftest
$ac_exeext
4292 if { (ac_try
="$ac_link"
4294 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4295 *) ac_try_echo=$ac_try;;
4297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4298 (eval "$ac_link") 2>conftest.er1
4300 grep -v '^ *+' conftest.er1 >conftest.err
4302 cat conftest.err >&5
4303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4304 (exit $ac_status); } && {
4305 test -z "$ac_c_werror_flag" ||
4306 test ! -s conftest.err
4307 } && test -s conftest$ac_exeext &&
4308 $as_test_x conftest$ac_exeext; then
4310 # We can link X programs with no special library path.
4313 echo "$as_me: failed program was:" >&5
4314 sed 's/^/| /' conftest.$ac_ext >&5
4317 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" |
sed s
/include
/lib
/g
`
4319 # Don't even attempt the hair of trying to link an X program!
4320 for ac_extension in a so sl; do
4321 if test -r "$ac_dir/libX11.$ac_extension"; then
4322 ac_x_libraries=$ac_dir
4329 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4330 conftest$ac_exeext conftest.$ac_ext
4331 fi # $ac_x_libraries = no
4333 case $ac_x_includes,$ac_x_libraries in #(
4335 # Didn't find X, or a directory has "'" in its name.
4336 ac_cv_have_x="have_x=no";; #(
4338 # Record where we found X for the cache.
4339 ac_cv_have_x="have_x=yes\
4340 ac_x_includes='$ac_x_includes'\
4341 ac_x_libraries='$ac_x_libraries'"
4347 eval "$ac_cv_have_x"
4350 if test "$have_x" != yes; then
4351 { echo "$as_me:$LINENO: result: $have_x" >&5
4352 echo "${ECHO_T}$have_x" >&6; }
4355 # If each of the values was on the command line, it overrides each guess.
4356 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
4357 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
4358 # Update the cache value to reflect the command line values.
4359 ac_cv_have_x="have_x=yes\
4360 ac_x_includes='$x_includes'\
4361 ac_x_libraries='$x_libraries'"
4362 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
4363 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
4366 if test "$no_x" = yes; then
4367 # Not all programs may use this symbol, but it does not hurt to define it.
4369 cat >>confdefs.h <<\_ACEOF
4370 #define X_DISPLAY_MISSING 1
4373 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
4375 if test -n "$x_includes"; then
4376 X_CFLAGS="$X_CFLAGS -I$x_includes"
4379 # It would also be nice to do this for all -L options, not just this one.
4380 if test -n "$x_libraries"; then
4381 X_LIBS="$X_LIBS -L$x_libraries"
4382 # For Solaris; some versions of Sun CC require a space after -R and
4383 # others require no space. Words are not sufficient . . . .
4384 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
4385 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
4386 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
4387 ac_xsave_c_werror_flag=$ac_c_werror_flag
4388 ac_c_werror_flag=yes
4389 cat >conftest.$ac_ext <<_ACEOF
4392 cat confdefs.h >>conftest.$ac_ext
4393 cat >>conftest.$ac_ext <<_ACEOF
4394 /* end confdefs.h. */
4404 rm -f conftest.$ac_objext conftest$ac_exeext
4405 if { (ac_try="$ac_link"
4407 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4408 *) ac_try_echo
=$ac_try;;
4410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4411 (eval "$ac_link") 2>conftest.er1
4413 grep -v '^ *+' conftest.er1
>conftest.err
4415 cat conftest.err
>&5
4416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4417 (exit $ac_status); } && {
4418 test -z "$ac_c_werror_flag" ||
4419 test ! -s conftest.err
4420 } && test -s conftest
$ac_exeext &&
4421 $as_test_x conftest
$ac_exeext; then
4422 { echo "$as_me:$LINENO: result: no" >&5
4423 echo "${ECHO_T}no" >&6; }
4424 X_LIBS
="$X_LIBS -R$x_libraries"
4426 echo "$as_me: failed program was:" >&5
4427 sed 's/^/| /' conftest.
$ac_ext >&5
4429 LIBS
="$ac_xsave_LIBS -R $x_libraries"
4430 cat >conftest.
$ac_ext <<_ACEOF
4433 cat confdefs.h
>>conftest.
$ac_ext
4434 cat >>conftest.
$ac_ext <<_ACEOF
4435 /* end confdefs.h. */
4445 rm -f conftest.
$ac_objext conftest
$ac_exeext
4446 if { (ac_try
="$ac_link"
4448 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4449 *) ac_try_echo=$ac_try;;
4451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4452 (eval "$ac_link") 2>conftest.er1
4454 grep -v '^ *+' conftest.er1 >conftest.err
4456 cat conftest.err >&5
4457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4458 (exit $ac_status); } && {
4459 test -z "$ac_c_werror_flag" ||
4460 test ! -s conftest.err
4461 } && test -s conftest$ac_exeext &&
4462 $as_test_x conftest$ac_exeext; then
4463 { echo "$as_me:$LINENO: result: yes" >&5
4464 echo "${ECHO_T}yes" >&6; }
4465 X_LIBS="$X_LIBS -R $x_libraries"
4467 echo "$as_me: failed program was:" >&5
4468 sed 's/^/| /' conftest.$ac_ext >&5
4470 { echo "$as_me:$LINENO: result: neither works" >&5
4471 echo "${ECHO_T}neither works" >&6; }
4474 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4475 conftest$ac_exeext conftest.$ac_ext
4478 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4479 conftest$ac_exeext conftest.$ac_ext
4480 ac_c_werror_flag=$ac_xsave_c_werror_flag
4484 # Check for system-dependent libraries X programs must link with.
4485 # Do this before checking for the system-independent R6 libraries
4486 # (-lICE), since we may need -lsocket or whatever for X linking.
4488 if test "$ISC" = yes; then
4489 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4491 # Martyn Johnson says this is needed for Ultrix, if the X
4492 # libraries were built with DECnet support. And Karl Berry says
4493 # the Alpha needs dnet_stub (dnet does not exist).
4494 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4495 cat >conftest.$ac_ext <<_ACEOF
4498 cat confdefs.h >>conftest.$ac_ext
4499 cat >>conftest.$ac_ext <<_ACEOF
4500 /* end confdefs.h. */
4502 /* Override any GCC internal prototype to avoid an error.
4503 Use char because int might match the return type of a GCC
4504 builtin and then its argument prototype would still apply. */
4508 char XOpenDisplay ();
4512 return XOpenDisplay ();
4517 rm -f conftest.$ac_objext conftest$ac_exeext
4518 if { (ac_try="$ac_link"
4520 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4521 *) ac_try_echo
=$ac_try;;
4523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4524 (eval "$ac_link") 2>conftest.er1
4526 grep -v '^ *+' conftest.er1
>conftest.err
4528 cat conftest.err
>&5
4529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4530 (exit $ac_status); } && {
4531 test -z "$ac_c_werror_flag" ||
4532 test ! -s conftest.err
4533 } && test -s conftest
$ac_exeext &&
4534 $as_test_x conftest
$ac_exeext; then
4537 echo "$as_me: failed program was:" >&5
4538 sed 's/^/| /' conftest.
$ac_ext >&5
4540 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4541 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4542 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4543 echo $ECHO_N "(cached) $ECHO_C" >&6
4545 ac_check_lib_save_LIBS
=$LIBS
4547 cat >conftest.
$ac_ext <<_ACEOF
4550 cat confdefs.h
>>conftest.
$ac_ext
4551 cat >>conftest.
$ac_ext <<_ACEOF
4552 /* end confdefs.h. */
4554 /* Override any GCC internal prototype to avoid an error.
4555 Use char because int might match the return type of a GCC
4556 builtin and then its argument prototype would still apply. */
4564 return dnet_ntoa ();
4569 rm -f conftest.
$ac_objext conftest
$ac_exeext
4570 if { (ac_try
="$ac_link"
4572 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4573 *) ac_try_echo=$ac_try;;
4575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4576 (eval "$ac_link") 2>conftest.er1
4578 grep -v '^ *+' conftest.er1 >conftest.err
4580 cat conftest.err >&5
4581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4582 (exit $ac_status); } && {
4583 test -z "$ac_c_werror_flag" ||
4584 test ! -s conftest.err
4585 } && test -s conftest$ac_exeext &&
4586 $as_test_x conftest$ac_exeext; then
4587 ac_cv_lib_dnet_dnet_ntoa=yes
4589 echo "$as_me: failed program was:" >&5
4590 sed 's/^/| /' conftest.$ac_ext >&5
4592 ac_cv_lib_dnet_dnet_ntoa=no
4595 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4596 conftest$ac_exeext conftest.$ac_ext
4597 LIBS=$ac_check_lib_save_LIBS
4599 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4600 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4601 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4602 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4605 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4606 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4607 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4608 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4609 echo $ECHO_N "(cached) $ECHO_C" >&6
4611 ac_check_lib_save_LIBS=$LIBS
4612 LIBS="-ldnet_stub $LIBS"
4613 cat >conftest.$ac_ext <<_ACEOF
4616 cat confdefs.h >>conftest.$ac_ext
4617 cat >>conftest.$ac_ext <<_ACEOF
4618 /* end confdefs.h. */
4620 /* Override any GCC internal prototype to avoid an error.
4621 Use char because int might match the return type of a GCC
4622 builtin and then its argument prototype would still apply. */
4630 return dnet_ntoa ();
4635 rm -f conftest.$ac_objext conftest$ac_exeext
4636 if { (ac_try="$ac_link"
4638 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4639 *) ac_try_echo
=$ac_try;;
4641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4642 (eval "$ac_link") 2>conftest.er1
4644 grep -v '^ *+' conftest.er1
>conftest.err
4646 cat conftest.err
>&5
4647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4648 (exit $ac_status); } && {
4649 test -z "$ac_c_werror_flag" ||
4650 test ! -s conftest.err
4651 } && test -s conftest
$ac_exeext &&
4652 $as_test_x conftest
$ac_exeext; then
4653 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
4655 echo "$as_me: failed program was:" >&5
4656 sed 's/^/| /' conftest.
$ac_ext >&5
4658 ac_cv_lib_dnet_stub_dnet_ntoa
=no
4661 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4662 conftest
$ac_exeext conftest.
$ac_ext
4663 LIBS
=$ac_check_lib_save_LIBS
4665 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4666 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4667 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4668 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
4674 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4675 conftest
$ac_exeext conftest.
$ac_ext
4676 LIBS
="$ac_xsave_LIBS"
4678 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4679 # to get the SysV transport functions.
4680 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4682 # The nsl library prevents programs from opening the X display
4683 # on Irix 5.2, according to T.E. Dickey.
4684 # The functions gethostbyname, getservbyname, and inet_addr are
4685 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4686 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4687 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4688 if test "${ac_cv_func_gethostbyname+set}" = set; then
4689 echo $ECHO_N "(cached) $ECHO_C" >&6
4691 cat >conftest.
$ac_ext <<_ACEOF
4694 cat confdefs.h
>>conftest.
$ac_ext
4695 cat >>conftest.
$ac_ext <<_ACEOF
4696 /* end confdefs.h. */
4697 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4698 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4699 #define gethostbyname innocuous_gethostbyname
4701 /* System header to define __stub macros and hopefully few prototypes,
4702 which can conflict with char gethostbyname (); below.
4703 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4704 <limits.h> exists even on freestanding compilers. */
4707 # include <limits.h>
4709 # include <assert.h>
4712 #undef gethostbyname
4714 /* Override any GCC internal prototype to avoid an error.
4715 Use char because int might match the return type of a GCC
4716 builtin and then its argument prototype would still apply. */
4720 char gethostbyname ();
4721 /* The GNU C library defines this for functions which it implements
4722 to always fail with ENOSYS. Some functions are actually named
4723 something starting with __ and the normal name is an alias. */
4724 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4731 return gethostbyname ();
4736 rm -f conftest.
$ac_objext conftest
$ac_exeext
4737 if { (ac_try
="$ac_link"
4739 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4740 *) ac_try_echo=$ac_try;;
4742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4743 (eval "$ac_link") 2>conftest.er1
4745 grep -v '^ *+' conftest.er1 >conftest.err
4747 cat conftest.err >&5
4748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4749 (exit $ac_status); } && {
4750 test -z "$ac_c_werror_flag" ||
4751 test ! -s conftest.err
4752 } && test -s conftest$ac_exeext &&
4753 $as_test_x conftest$ac_exeext; then
4754 ac_cv_func_gethostbyname=yes
4756 echo "$as_me: failed program was:" >&5
4757 sed 's/^/| /' conftest.$ac_ext >&5
4759 ac_cv_func_gethostbyname=no
4762 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4763 conftest$ac_exeext conftest.$ac_ext
4765 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4766 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4768 if test $ac_cv_func_gethostbyname = no; then
4769 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4770 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4771 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4772 echo $ECHO_N "(cached) $ECHO_C" >&6
4774 ac_check_lib_save_LIBS=$LIBS
4776 cat >conftest.$ac_ext <<_ACEOF
4779 cat confdefs.h >>conftest.$ac_ext
4780 cat >>conftest.$ac_ext <<_ACEOF
4781 /* end confdefs.h. */
4783 /* Override any GCC internal prototype to avoid an error.
4784 Use char because int might match the return type of a GCC
4785 builtin and then its argument prototype would still apply. */
4789 char gethostbyname ();
4793 return gethostbyname ();
4798 rm -f conftest.$ac_objext conftest$ac_exeext
4799 if { (ac_try="$ac_link"
4801 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4802 *) ac_try_echo
=$ac_try;;
4804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4805 (eval "$ac_link") 2>conftest.er1
4807 grep -v '^ *+' conftest.er1
>conftest.err
4809 cat conftest.err
>&5
4810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4811 (exit $ac_status); } && {
4812 test -z "$ac_c_werror_flag" ||
4813 test ! -s conftest.err
4814 } && test -s conftest
$ac_exeext &&
4815 $as_test_x conftest
$ac_exeext; then
4816 ac_cv_lib_nsl_gethostbyname
=yes
4818 echo "$as_me: failed program was:" >&5
4819 sed 's/^/| /' conftest.
$ac_ext >&5
4821 ac_cv_lib_nsl_gethostbyname
=no
4824 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4825 conftest
$ac_exeext conftest.
$ac_ext
4826 LIBS
=$ac_check_lib_save_LIBS
4828 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4829 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4830 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4831 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
4834 if test $ac_cv_lib_nsl_gethostbyname = no
; then
4835 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4836 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4837 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4838 echo $ECHO_N "(cached) $ECHO_C" >&6
4840 ac_check_lib_save_LIBS
=$LIBS
4842 cat >conftest.
$ac_ext <<_ACEOF
4845 cat confdefs.h
>>conftest.
$ac_ext
4846 cat >>conftest.
$ac_ext <<_ACEOF
4847 /* end confdefs.h. */
4849 /* Override any GCC internal prototype to avoid an error.
4850 Use char because int might match the return type of a GCC
4851 builtin and then its argument prototype would still apply. */
4855 char gethostbyname ();
4859 return gethostbyname ();
4864 rm -f conftest.
$ac_objext conftest
$ac_exeext
4865 if { (ac_try
="$ac_link"
4867 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4868 *) ac_try_echo=$ac_try;;
4870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4871 (eval "$ac_link") 2>conftest.er1
4873 grep -v '^ *+' conftest.er1 >conftest.err
4875 cat conftest.err >&5
4876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4877 (exit $ac_status); } && {
4878 test -z "$ac_c_werror_flag" ||
4879 test ! -s conftest.err
4880 } && test -s conftest$ac_exeext &&
4881 $as_test_x conftest$ac_exeext; then
4882 ac_cv_lib_bsd_gethostbyname=yes
4884 echo "$as_me: failed program was:" >&5
4885 sed 's/^/| /' conftest.$ac_ext >&5
4887 ac_cv_lib_bsd_gethostbyname=no
4890 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4891 conftest$ac_exeext conftest.$ac_ext
4892 LIBS=$ac_check_lib_save_LIBS
4894 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4895 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4896 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4897 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4903 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4904 # socket/setsockopt and other routines are undefined under SCO ODT
4905 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4906 # on later versions), says Simon Leinen: it contains gethostby*
4907 # variants that don't use the name server (or something). -lsocket
4908 # must be given before -lnsl if both are needed. We assume that
4909 # if connect needs -lnsl, so does gethostbyname.
4910 { echo "$as_me:$LINENO: checking for connect" >&5
4911 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4912 if test "${ac_cv_func_connect+set}" = set; then
4913 echo $ECHO_N "(cached) $ECHO_C" >&6
4915 cat >conftest.$ac_ext <<_ACEOF
4918 cat confdefs.h >>conftest.$ac_ext
4919 cat >>conftest.$ac_ext <<_ACEOF
4920 /* end confdefs.h. */
4921 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4922 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4923 #define connect innocuous_connect
4925 /* System header to define __stub macros and hopefully few prototypes,
4926 which can conflict with char connect (); below.
4927 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4928 <limits.h> exists even on freestanding compilers. */
4931 # include <limits.h>
4933 # include <assert.h>
4938 /* Override any GCC internal prototype to avoid an error.
4939 Use char because int might match the return type of a GCC
4940 builtin and then its argument prototype would still apply. */
4945 /* The GNU C library defines this for functions which it implements
4946 to always fail with ENOSYS. Some functions are actually named
4947 something starting with __ and the normal name is an alias. */
4948 #if defined __stub_connect || defined __stub___connect
4960 rm -f conftest.$ac_objext conftest$ac_exeext
4961 if { (ac_try="$ac_link"
4963 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4964 *) ac_try_echo
=$ac_try;;
4966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4967 (eval "$ac_link") 2>conftest.er1
4969 grep -v '^ *+' conftest.er1
>conftest.err
4971 cat conftest.err
>&5
4972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4973 (exit $ac_status); } && {
4974 test -z "$ac_c_werror_flag" ||
4975 test ! -s conftest.err
4976 } && test -s conftest
$ac_exeext &&
4977 $as_test_x conftest
$ac_exeext; then
4978 ac_cv_func_connect
=yes
4980 echo "$as_me: failed program was:" >&5
4981 sed 's/^/| /' conftest.
$ac_ext >&5
4983 ac_cv_func_connect
=no
4986 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4987 conftest
$ac_exeext conftest.
$ac_ext
4989 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4990 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4992 if test $ac_cv_func_connect = no
; then
4993 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4994 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4995 if test "${ac_cv_lib_socket_connect+set}" = set; then
4996 echo $ECHO_N "(cached) $ECHO_C" >&6
4998 ac_check_lib_save_LIBS
=$LIBS
4999 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
5000 cat >conftest.
$ac_ext <<_ACEOF
5003 cat confdefs.h
>>conftest.
$ac_ext
5004 cat >>conftest.
$ac_ext <<_ACEOF
5005 /* end confdefs.h. */
5007 /* Override any GCC internal prototype to avoid an error.
5008 Use char because int might match the return type of a GCC
5009 builtin and then its argument prototype would still apply. */
5022 rm -f conftest.
$ac_objext conftest
$ac_exeext
5023 if { (ac_try
="$ac_link"
5025 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5026 *) ac_try_echo=$ac_try;;
5028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5029 (eval "$ac_link") 2>conftest.er1
5031 grep -v '^ *+' conftest.er1 >conftest.err
5033 cat conftest.err >&5
5034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5035 (exit $ac_status); } && {
5036 test -z "$ac_c_werror_flag" ||
5037 test ! -s conftest.err
5038 } && test -s conftest$ac_exeext &&
5039 $as_test_x conftest$ac_exeext; then
5040 ac_cv_lib_socket_connect=yes
5042 echo "$as_me: failed program was:" >&5
5043 sed 's/^/| /' conftest.$ac_ext >&5
5045 ac_cv_lib_socket_connect=no
5048 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5049 conftest$ac_exeext conftest.$ac_ext
5050 LIBS=$ac_check_lib_save_LIBS
5052 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
5053 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
5054 if test $ac_cv_lib_socket_connect = yes; then
5055 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
5060 # Guillermo Gomez says -lposix is necessary on A/UX.
5061 { echo "$as_me:$LINENO: checking for remove" >&5
5062 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
5063 if test "${ac_cv_func_remove+set}" = set; then
5064 echo $ECHO_N "(cached) $ECHO_C" >&6
5066 cat >conftest.$ac_ext <<_ACEOF
5069 cat confdefs.h >>conftest.$ac_ext
5070 cat >>conftest.$ac_ext <<_ACEOF
5071 /* end confdefs.h. */
5072 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
5073 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5074 #define remove innocuous_remove
5076 /* System header to define __stub macros and hopefully few prototypes,
5077 which can conflict with char remove (); below.
5078 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5079 <limits.h> exists even on freestanding compilers. */
5082 # include <limits.h>
5084 # include <assert.h>
5089 /* Override any GCC internal prototype to avoid an error.
5090 Use char because int might match the return type of a GCC
5091 builtin and then its argument prototype would still apply. */
5096 /* The GNU C library defines this for functions which it implements
5097 to always fail with ENOSYS. Some functions are actually named
5098 something starting with __ and the normal name is an alias. */
5099 #if defined __stub_remove || defined __stub___remove
5111 rm -f conftest.$ac_objext conftest$ac_exeext
5112 if { (ac_try="$ac_link"
5114 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5115 *) ac_try_echo
=$ac_try;;
5117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5118 (eval "$ac_link") 2>conftest.er1
5120 grep -v '^ *+' conftest.er1
>conftest.err
5122 cat conftest.err
>&5
5123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5124 (exit $ac_status); } && {
5125 test -z "$ac_c_werror_flag" ||
5126 test ! -s conftest.err
5127 } && test -s conftest
$ac_exeext &&
5128 $as_test_x conftest
$ac_exeext; then
5129 ac_cv_func_remove
=yes
5131 echo "$as_me: failed program was:" >&5
5132 sed 's/^/| /' conftest.
$ac_ext >&5
5134 ac_cv_func_remove
=no
5137 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5138 conftest
$ac_exeext conftest.
$ac_ext
5140 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
5141 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
5143 if test $ac_cv_func_remove = no
; then
5144 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
5145 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
5146 if test "${ac_cv_lib_posix_remove+set}" = set; then
5147 echo $ECHO_N "(cached) $ECHO_C" >&6
5149 ac_check_lib_save_LIBS
=$LIBS
5150 LIBS
="-lposix $LIBS"
5151 cat >conftest.
$ac_ext <<_ACEOF
5154 cat confdefs.h
>>conftest.
$ac_ext
5155 cat >>conftest.
$ac_ext <<_ACEOF
5156 /* end confdefs.h. */
5158 /* Override any GCC internal prototype to avoid an error.
5159 Use char because int might match the return type of a GCC
5160 builtin and then its argument prototype would still apply. */
5173 rm -f conftest.
$ac_objext conftest
$ac_exeext
5174 if { (ac_try
="$ac_link"
5176 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5177 *) ac_try_echo=$ac_try;;
5179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5180 (eval "$ac_link") 2>conftest.er1
5182 grep -v '^ *+' conftest.er1 >conftest.err
5184 cat conftest.err >&5
5185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5186 (exit $ac_status); } && {
5187 test -z "$ac_c_werror_flag" ||
5188 test ! -s conftest.err
5189 } && test -s conftest$ac_exeext &&
5190 $as_test_x conftest$ac_exeext; then
5191 ac_cv_lib_posix_remove=yes
5193 echo "$as_me: failed program was:" >&5
5194 sed 's/^/| /' conftest.$ac_ext >&5
5196 ac_cv_lib_posix_remove=no
5199 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5200 conftest$ac_exeext conftest.$ac_ext
5201 LIBS=$ac_check_lib_save_LIBS
5203 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
5204 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
5205 if test $ac_cv_lib_posix_remove = yes; then
5206 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
5211 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
5212 { echo "$as_me:$LINENO: checking for shmat" >&5
5213 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
5214 if test "${ac_cv_func_shmat+set}" = set; then
5215 echo $ECHO_N "(cached) $ECHO_C" >&6
5217 cat >conftest.$ac_ext <<_ACEOF
5220 cat confdefs.h >>conftest.$ac_ext
5221 cat >>conftest.$ac_ext <<_ACEOF
5222 /* end confdefs.h. */
5223 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
5224 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5225 #define shmat innocuous_shmat
5227 /* System header to define __stub macros and hopefully few prototypes,
5228 which can conflict with char shmat (); below.
5229 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5230 <limits.h> exists even on freestanding compilers. */
5233 # include <limits.h>
5235 # include <assert.h>
5240 /* Override any GCC internal prototype to avoid an error.
5241 Use char because int might match the return type of a GCC
5242 builtin and then its argument prototype would still apply. */
5247 /* The GNU C library defines this for functions which it implements
5248 to always fail with ENOSYS. Some functions are actually named
5249 something starting with __ and the normal name is an alias. */
5250 #if defined __stub_shmat || defined __stub___shmat
5262 rm -f conftest.$ac_objext conftest$ac_exeext
5263 if { (ac_try="$ac_link"
5265 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5266 *) ac_try_echo
=$ac_try;;
5268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5269 (eval "$ac_link") 2>conftest.er1
5271 grep -v '^ *+' conftest.er1
>conftest.err
5273 cat conftest.err
>&5
5274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5275 (exit $ac_status); } && {
5276 test -z "$ac_c_werror_flag" ||
5277 test ! -s conftest.err
5278 } && test -s conftest
$ac_exeext &&
5279 $as_test_x conftest
$ac_exeext; then
5280 ac_cv_func_shmat
=yes
5282 echo "$as_me: failed program was:" >&5
5283 sed 's/^/| /' conftest.
$ac_ext >&5
5288 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5289 conftest
$ac_exeext conftest.
$ac_ext
5291 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
5292 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
5294 if test $ac_cv_func_shmat = no
; then
5295 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
5296 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
5297 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
5298 echo $ECHO_N "(cached) $ECHO_C" >&6
5300 ac_check_lib_save_LIBS
=$LIBS
5302 cat >conftest.
$ac_ext <<_ACEOF
5305 cat confdefs.h
>>conftest.
$ac_ext
5306 cat >>conftest.
$ac_ext <<_ACEOF
5307 /* end confdefs.h. */
5309 /* Override any GCC internal prototype to avoid an error.
5310 Use char because int might match the return type of a GCC
5311 builtin and then its argument prototype would still apply. */
5324 rm -f conftest.
$ac_objext conftest
$ac_exeext
5325 if { (ac_try
="$ac_link"
5327 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5328 *) ac_try_echo=$ac_try;;
5330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5331 (eval "$ac_link") 2>conftest.er1
5333 grep -v '^ *+' conftest.er1 >conftest.err
5335 cat conftest.err >&5
5336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5337 (exit $ac_status); } && {
5338 test -z "$ac_c_werror_flag" ||
5339 test ! -s conftest.err
5340 } && test -s conftest$ac_exeext &&
5341 $as_test_x conftest$ac_exeext; then
5342 ac_cv_lib_ipc_shmat=yes
5344 echo "$as_me: failed program was:" >&5
5345 sed 's/^/| /' conftest.$ac_ext >&5
5347 ac_cv_lib_ipc_shmat=no
5350 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5351 conftest$ac_exeext conftest.$ac_ext
5352 LIBS=$ac_check_lib_save_LIBS
5354 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
5355 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
5356 if test $ac_cv_lib_ipc_shmat = yes; then
5357 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
5363 # Check for libraries that X11R6 Xt/Xaw programs need.
5364 ac_save_LDFLAGS=$LDFLAGS
5365 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
5366 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
5367 # check for ICE first), but we must link in the order -lSM -lICE or
5368 # we get undefined symbols. So assume we have SM if we have ICE.
5369 # These have to be linked with before -lX11, unlike the other
5370 # libraries we check for below, so use a different variable.
5371 # John Interrante, Karl Berry
5372 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
5373 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
5374 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
5375 echo $ECHO_N "(cached) $ECHO_C" >&6
5377 ac_check_lib_save_LIBS=$LIBS
5378 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
5379 cat >conftest.$ac_ext <<_ACEOF
5382 cat confdefs.h >>conftest.$ac_ext
5383 cat >>conftest.$ac_ext <<_ACEOF
5384 /* end confdefs.h. */
5386 /* Override any GCC internal prototype to avoid an error.
5387 Use char because int might match the return type of a GCC
5388 builtin and then its argument prototype would still apply. */
5392 char IceConnectionNumber ();
5396 return IceConnectionNumber ();
5401 rm -f conftest.$ac_objext conftest$ac_exeext
5402 if { (ac_try="$ac_link"
5404 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5405 *) ac_try_echo
=$ac_try;;
5407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5408 (eval "$ac_link") 2>conftest.er1
5410 grep -v '^ *+' conftest.er1
>conftest.err
5412 cat conftest.err
>&5
5413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5414 (exit $ac_status); } && {
5415 test -z "$ac_c_werror_flag" ||
5416 test ! -s conftest.err
5417 } && test -s conftest
$ac_exeext &&
5418 $as_test_x conftest
$ac_exeext; then
5419 ac_cv_lib_ICE_IceConnectionNumber
=yes
5421 echo "$as_me: failed program was:" >&5
5422 sed 's/^/| /' conftest.
$ac_ext >&5
5424 ac_cv_lib_ICE_IceConnectionNumber
=no
5427 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5428 conftest
$ac_exeext conftest.
$ac_ext
5429 LIBS
=$ac_check_lib_save_LIBS
5431 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
5432 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
5433 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
5434 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
5437 LDFLAGS
=$ac_save_LDFLAGS
5441 if test x
$no_x = xyes
; then
5442 echo "You need to supply the path to the X headers and libraries with --x-includes=dir and --x-libraries=dir";
5446 LIBS
="${X_PRE_LIBS} ${X_LIBS} -lX11 -lXext ${LIBS} ${X_EXTRA_LIBS}"
5447 CFLAGS
="$CFLAGS $X_CFLAGS"
5449 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5459 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5460 inttypes.h stdint.h unistd.h
5462 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5463 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5464 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5465 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5466 echo $ECHO_N "(cached) $ECHO_C" >&6
5468 cat >conftest.
$ac_ext <<_ACEOF
5471 cat confdefs.h
>>conftest.
$ac_ext
5472 cat >>conftest.
$ac_ext <<_ACEOF
5473 /* end confdefs.h. */
5474 $ac_includes_default
5476 #include <$ac_header>
5478 rm -f conftest.
$ac_objext
5479 if { (ac_try
="$ac_compile"
5481 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5482 *) ac_try_echo=$ac_try;;
5484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5485 (eval "$ac_compile") 2>conftest.er1
5487 grep -v '^ *+' conftest.er1 >conftest.err
5489 cat conftest.err >&5
5490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5491 (exit $ac_status); } && {
5492 test -z "$ac_c_werror_flag" ||
5493 test ! -s conftest.err
5494 } && test -s conftest.$ac_objext; then
5495 eval "$as_ac_Header=yes"
5497 echo "$as_me: failed program was:" >&5
5498 sed 's/^/| /' conftest.$ac_ext >&5
5500 eval "$as_ac_Header=no"
5503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5505 ac_res=`eval echo '${'$as_ac_Header'}'`
5506 { echo "$as_me:$LINENO: result: $ac_res" >&5
5507 echo "${ECHO_T}$ac_res" >&6; }
5508 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5509 cat >>confdefs.h <<_ACEOF
5510 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5519 for ac_header in linux/hdreg.h
5521 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5522 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5523 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5524 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5525 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5526 echo $ECHO_N "(cached) $ECHO_C" >&6
5528 ac_res=`eval echo '${'$as_ac_Header'}'`
5529 { echo "$as_me:$LINENO: result: $ac_res" >&5
5530 echo "${ECHO_T}$ac_res" >&6; }
5532 # Is the header compilable?
5533 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5534 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5535 cat >conftest.$ac_ext <<_ACEOF
5538 cat confdefs.h >>conftest.$ac_ext
5539 cat >>conftest.$ac_ext <<_ACEOF
5540 /* end confdefs.h. */
5541 $ac_includes_default
5542 #include <$ac_header>
5544 rm -f conftest.$ac_objext
5545 if { (ac_try="$ac_compile"
5547 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5548 *) ac_try_echo
=$ac_try;;
5550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5551 (eval "$ac_compile") 2>conftest.er1
5553 grep -v '^ *+' conftest.er1
>conftest.err
5555 cat conftest.err
>&5
5556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5557 (exit $ac_status); } && {
5558 test -z "$ac_c_werror_flag" ||
5559 test ! -s conftest.err
5560 } && test -s conftest.
$ac_objext; then
5561 ac_header_compiler
=yes
5563 echo "$as_me: failed program was:" >&5
5564 sed 's/^/| /' conftest.
$ac_ext >&5
5566 ac_header_compiler
=no
5569 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5570 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5571 echo "${ECHO_T}$ac_header_compiler" >&6; }
5573 # Is the header present?
5574 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5575 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5576 cat >conftest.
$ac_ext <<_ACEOF
5579 cat confdefs.h
>>conftest.
$ac_ext
5580 cat >>conftest.
$ac_ext <<_ACEOF
5581 /* end confdefs.h. */
5582 #include <$ac_header>
5584 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5586 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5587 *) ac_try_echo=$ac_try;;
5589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5590 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5592 grep -v '^ *+' conftest.er1 >conftest.err
5594 cat conftest.err >&5
5595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5596 (exit $ac_status); } >/dev/null && {
5597 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5598 test ! -s conftest.err
5600 ac_header_preproc=yes
5602 echo "$as_me: failed program was:" >&5
5603 sed 's/^/| /' conftest.$ac_ext >&5
5605 ac_header_preproc=no
5608 rm -f conftest.err conftest.$ac_ext
5609 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5610 echo "${ECHO_T}$ac_header_preproc" >&6; }
5612 # So? What about this header?
5613 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5615 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5616 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5617 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5618 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5619 ac_header_preproc=yes
5622 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5623 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5624 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5625 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5626 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5627 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5628 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5629 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5630 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5631 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5632 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5633 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5637 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5638 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5639 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5640 echo $ECHO_N "(cached) $ECHO_C" >&6
5642 eval "$as_ac_Header=\$ac_header_preproc"
5644 ac_res=`eval echo '${'$as_ac_Header'}'`
5645 { echo "$as_me:$LINENO: result: $ac_res" >&5
5646 echo "${ECHO_T}$ac_res" >&6; }
5649 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5650 cat >>confdefs.h <<_ACEOF
5651 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5659 # Extract the first word of "imlib2-config", so it can be a program name with args.
5660 set dummy imlib2-config; ac_word=$2
5661 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5662 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5663 if test "${ac_cv_prog_IMLIB2_CONFIG_IN_PATH+set}" = set; then
5664 echo $ECHO_N "(cached) $ECHO_C" >&6
5666 if test -n "$IMLIB2_CONFIG_IN_PATH"; then
5667 ac_cv_prog_IMLIB2_CONFIG_IN_PATH="$IMLIB2_CONFIG_IN_PATH" # Let the user override the test.
5669 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5673 test -z "$as_dir" && as_dir=.
5674 for ac_exec_ext in '' $ac_executable_extensions; do
5675 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5676 ac_cv_prog_IMLIB2_CONFIG_IN_PATH="yes"
5677 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5684 test -z "$ac_cv_prog_IMLIB2_CONFIG_IN_PATH" && ac_cv_prog_IMLIB2_CONFIG_IN_PATH="no"
5687 IMLIB2_CONFIG_IN_PATH=$ac_cv_prog_IMLIB2_CONFIG_IN_PATH
5688 if test -n "$IMLIB2_CONFIG_IN_PATH"; then
5689 { echo "$as_me:$LINENO: result: $IMLIB2_CONFIG_IN_PATH" >&5
5690 echo "${ECHO_T}$IMLIB2_CONFIG_IN_PATH" >&6; }
5692 { echo "$as_me:$LINENO: result: no" >&5
5693 echo "${ECHO_T}no" >&6; }
5697 if test "x$IMLIB2_CONFIG_IN_PATH" = "xno"; then
5698 { { echo "$as_me:$LINENO: error: imlib2-config not found in PATH.. You need to install Imlib2 (and its developpement package)" >&5
5699 echo "$as_me: error: imlib2-config not found in PATH.. You need to install Imlib2 (and its developpement package)" >&2;}
5700 { (exit 1); exit 1; }; }
5702 IMLIB2_CFLAGS=$(imlib2-config --cflags)
5703 IMLIB2_LIBS=$(imlib2-config --libs)
5707 YELLOW="\\033\\1331;33m"
5708 RESET="\\033\\1330m"
5710 build_gkhdplop="yes"
5711 # Check whether --enable-gkrellm was given.
5712 if test "${enable_gkrellm+set}" = set; then
5713 enableval=$enable_gkrellm; if test "x$enableval" = "xno" ; then
5715 echo you disabled the gkhdplop gkrellm plugin
5719 build_gkhdplop="yes"
5724 if test "x$build_gkhdplop" = "xno"; then
5725 echo gkhdplop disabled...
5727 echo building with GKHDPLOP, checking for gtk2..
5728 pkg_modules="gtk+-2.0 >= 2.0.0"
5731 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
5732 if test -n "$ac_tool_prefix"; then
5733 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5734 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5735 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5736 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5737 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
5738 echo $ECHO_N "(cached) $ECHO_C" >&6
5742 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
5745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5749 test -z "$as_dir" && as_dir=.
5750 for ac_exec_ext in '' $ac_executable_extensions; do
5751 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5752 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5753 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5763 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
5764 if test -n "$PKG_CONFIG"; then
5765 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
5766 echo "${ECHO_T}$PKG_CONFIG" >&6; }
5768 { echo "$as_me:$LINENO: result: no" >&5
5769 echo "${ECHO_T}no" >&6; }
5774 if test -z "$ac_cv_path_PKG_CONFIG"; then
5775 ac_pt_PKG_CONFIG=$PKG_CONFIG
5776 # Extract the first word of "pkg-config", so it can be a program name with args.
5777 set dummy pkg-config; ac_word=$2
5778 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5779 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5780 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
5781 echo $ECHO_N "(cached) $ECHO_C" >&6
5783 case $ac_pt_PKG_CONFIG in
5785 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
5788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5792 test -z "$as_dir" && as_dir=.
5793 for ac_exec_ext in '' $ac_executable_extensions; do
5794 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5795 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5796 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5806 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
5807 if test -n "$ac_pt_PKG_CONFIG"; then
5808 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
5809 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
5811 { echo "$as_me:$LINENO: result: no" >&5
5812 echo "${ECHO_T}no" >&6; }
5815 if test "x$ac_pt_PKG_CONFIG" = x; then
5818 case $cross_compiling:$ac_tool_warned in
5820 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5821 whose name does not start with the host triplet. If you think this
5822 configuration is useful to you, please write to autoconf@gnu.org." >&5
5823 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5824 whose name does not start with the host triplet. If you think this
5825 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5826 ac_tool_warned=yes ;;
5828 PKG_CONFIG=$ac_pt_PKG_CONFIG
5831 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
5835 if test -n "$PKG_CONFIG"; then
5836 _pkg_min_version=0.9.0
5837 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
5838 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
5839 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
5840 { echo "$as_me:$LINENO: result: yes" >&5
5841 echo "${ECHO_T}yes" >&6; }
5843 { echo "$as_me:$LINENO: result: no" >&5
5844 echo "${ECHO_T}no" >&6; }
5851 { echo "$as_me:$LINENO: checking for PACKAGE" >&5
5852 echo $ECHO_N "checking for PACKAGE... $ECHO_C" >&6; }
5854 if test -n "$PKG_CONFIG"; then
5855 if test -n "$PACKAGE_CFLAGS"; then
5856 pkg_cv_PACKAGE_CFLAGS="$PACKAGE_CFLAGS"
5858 if test -n "$PKG_CONFIG" && \
5859 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$pkg_modules\"") >&5
5860 ($PKG_CONFIG --exists --print-errors "$pkg_modules") 2>&5
5862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5863 (exit $ac_status); }; then
5864 pkg_cv_PACKAGE_CFLAGS=`$PKG_CONFIG --cflags "$pkg_modules" 2>/dev
/null
`
5872 if test -n "$PKG_CONFIG"; then
5873 if test -n "$PACKAGE_LIBS"; then
5874 pkg_cv_PACKAGE_LIBS="$PACKAGE_LIBS"
5876 if test -n "$PKG_CONFIG" && \
5877 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$pkg_modules\"") >&5
5878 ($PKG_CONFIG --exists --print-errors "$pkg_modules") 2>&5
5880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5881 (exit $ac_status); }; then
5882 pkg_cv_PACKAGE_LIBS=`$PKG_CONFIG --libs "$pkg_modules" 2>/dev
/null
`
5893 if test $pkg_failed = yes; then
5895 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5896 _pkg_short_errors_supported=yes
5898 _pkg_short_errors_supported=no
5900 if test $_pkg_short_errors_supported = yes; then
5901 PACKAGE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$pkg_modules"`
5903 PACKAGE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$pkg_modules"`
5905 # Put the nasty error message in config.log where it belongs
5906 echo "$PACKAGE_PKG_ERRORS" >&5
5908 { { echo "$as_me:$LINENO: error: Package requirements ($pkg_modules) were not met:
5912 Consider adjusting the PKG_CONFIG_PATH environment variable if you
5913 installed software in a non-standard prefix.
5915 Alternatively, you may set the environment variables PACKAGE_CFLAGS
5916 and PACKAGE_LIBS to avoid the need to call pkg-config.
5917 See the pkg-config man page for more details.
5919 echo "$as_me: error: Package requirements ($pkg_modules) were not met:
5923 Consider adjusting the PKG_CONFIG_PATH environment variable if you
5924 installed software in a non-standard prefix.
5926 Alternatively, you may set the environment variables PACKAGE_CFLAGS
5927 and PACKAGE_LIBS to avoid the need to call pkg-config.
5928 See the pkg-config man page for more details.
5930 { (exit 1); exit 1; }; }
5931 elif test $pkg_failed = untried; then
5932 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
5933 is in your PATH or set the PKG_CONFIG environment variable to the full
5936 Alternatively, you may set the environment variables PACKAGE_CFLAGS
5937 and PACKAGE_LIBS to avoid the need to call pkg-config.
5938 See the pkg-config man page for more details.
5940 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
5941 See \`config.log
' for more details." >&5
5942 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
5943 is in your PATH or set the PKG_CONFIG environment variable to the full
5946 Alternatively, you may set the environment variables PACKAGE_CFLAGS
5947 and PACKAGE_LIBS to avoid the need to call pkg-config.
5948 See the pkg-config man page for more details.
5950 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
5951 See \`config.log' for more details.
" >&2;}
5952 { (exit 1); exit 1; }; }
5954 PACKAGE_CFLAGS=$pkg_cv_PACKAGE_CFLAGS
5955 PACKAGE_LIBS=$pkg_cv_PACKAGE_LIBS
5956 { echo "$as_me:$LINENO: result
: yes" >&5
5957 echo "${ECHO_T}yes" >&6; }
5960 GTK2_CFLAGS=$PACKAGE_CFLAGS;
5961 GTK2_LIBS=$PACKAGE_LIBS;
5964 SAVECPPFLAGS="$CPPFLAGS"
5965 CPPFLAGS="$CFLAGS $GTK2_CFLAGS"
5967 for ac_header in gkrellm2/gkrellm.h
5969 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
5970 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
5971 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
5972 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
5973 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
5974 echo $ECHO_N "(cached
) $ECHO_C" >&6
5976 ac_res=`eval echo '${'$as_ac_Header'}'`
5977 { echo "$as_me:$LINENO: result
: $ac_res" >&5
5978 echo "${ECHO_T}$ac_res" >&6; }
5980 # Is the header compilable?
5981 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
5982 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
5983 cat >conftest.$ac_ext <<_ACEOF
5986 cat confdefs.h >>conftest.$ac_ext
5987 cat >>conftest.$ac_ext <<_ACEOF
5988 /* end confdefs.h. */
5989 $ac_includes_default
5990 #include <$ac_header>
5992 rm -f conftest.$ac_objext
5993 if { (ac_try="$ac_compile"
5995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5996 *) ac_try_echo=$ac_try;;
5998 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
5999 (eval "$ac_compile") 2>conftest.er1
6001 grep -v '^ *+' conftest.er1 >conftest.err
6003 cat conftest.err >&5
6004 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6005 (exit $ac_status); } && {
6006 test -z "$ac_c_werror_flag" ||
6007 test ! -s conftest.err
6008 } && test -s conftest.$ac_objext; then
6009 ac_header_compiler=yes
6011 echo "$as_me: failed program was
:" >&5
6012 sed 's/^/| /' conftest.$ac_ext >&5
6014 ac_header_compiler=no
6017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6018 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
6019 echo "${ECHO_T}$ac_header_compiler" >&6; }
6021 # Is the header present?
6022 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
6023 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
6024 cat >conftest.$ac_ext <<_ACEOF
6027 cat confdefs.h >>conftest.$ac_ext
6028 cat >>conftest.$ac_ext <<_ACEOF
6029 /* end confdefs.h. */
6030 #include <$ac_header>
6032 if { (ac_try="$ac_cpp conftest.
$ac_ext"
6034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6035 *) ac_try_echo=$ac_try;;
6037 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
6038 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
6040 grep -v '^ *+' conftest.er1 >conftest.err
6042 cat conftest.err >&5
6043 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6044 (exit $ac_status); } >/dev/null && {
6045 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6046 test ! -s conftest.err
6048 ac_header_preproc=yes
6050 echo "$as_me: failed program was
:" >&5
6051 sed 's/^/| /' conftest.$ac_ext >&5
6053 ac_header_preproc=no
6056 rm -f conftest.err conftest.$ac_ext
6057 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
6058 echo "${ECHO_T}$ac_header_preproc" >&6; }
6060 # So? What about this header?
6061 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6063 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
6064 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
6065 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
6066 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
6067 ac_header_preproc=yes
6070 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
6071 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
6072 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
6073 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
6074 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
6075 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
6076 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
6077 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
6078 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
6079 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
6080 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
6081 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
6085 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
6086 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
6087 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
6088 echo $ECHO_N "(cached
) $ECHO_C" >&6
6090 eval "$as_ac_Header=\
$ac_header_preproc"
6092 ac_res=`eval echo '${'$as_ac_Header'}'`
6093 { echo "$as_me:$LINENO: result
: $ac_res" >&5
6094 echo "${ECHO_T}$ac_res" >&6; }
6097 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6098 cat >>confdefs.h <<_ACEOF
6099 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
6108 if test "x
$ok" = "x0
"; then
6109 echo -e "${YELLOW}gkrellm
2/gkrellm.h header not found or unusable
${RESET}... cannot build gkhdplop.so
"
6112 GKHDPLOP="gkhdplop.so
"
6114 CPPFLAGS="$SAVECPPFLAGS"
6119 ac_config_files="$ac_config_files Makefile
"
6121 cat >confcache <<\_ACEOF
6122 # This file is a shell script that caches the results of configure
6123 # tests run on this system so they can be shared between configure
6124 # scripts and configure runs, see configure's option --config-cache.
6125 # It is not useful on other systems. If it contains results you don't
6126 # want to keep, you may remove or edit it.
6128 # config.status only pays attention to the cache file if you give it
6129 # the --recheck option to rerun configure.
6131 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6132 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6137 # The following way of writing the cache mishandles newlines in values,
6138 # but we know of no workaround that is simple, portable, and efficient.
6139 # So, we kill variables containing newlines.
6140 # Ultrix sh set writes to stderr and can't be redirected directly,
6141 # and sets the high bit in the cache file unless we assign to the vars.
6143 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6144 eval ac_val=\$$ac_var
6148 *_cv_*) { echo "$as_me:$LINENO: WARNING
: Cache variable
$ac_var contains a newline.
" >&5
6149 echo "$as_me: WARNING
: Cache variable
$ac_var contains a newline.
" >&2;} ;;
6152 _ | IFS | as_nl) ;; #(
6153 *) $as_unset $ac_var ;;
6159 case $as_nl`(ac_space=' '; set) 2>&1` in #(
6160 *${as_nl}ac_space=\ *)
6161 # `set' does not quote correctly, so add quotes (double-quote
6162 # substitution turns \\\\ into \\, and sed turns \\ into \).
6165 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
6168 # `set' quotes correctly as required by POSIX, so do not add quotes.
6169 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
6178 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6180 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6182 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
6183 if test -w "$cache_file"; then
6184 test "x
$cache_file" != "x
/dev
/null
" &&
6185 { echo "$as_me:$LINENO: updating cache
$cache_file" >&5
6186 echo "$as_me: updating cache
$cache_file" >&6;}
6187 cat confcache >$cache_file
6189 { echo "$as_me:$LINENO: not updating unwritable cache
$cache_file" >&5
6190 echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
6195 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
6196 # Let make expand exec_prefix.
6197 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
6199 DEFS=-DHAVE_CONFIG_H
6203 for ac_i in : $LIBOBJS; do test "x
$ac_i" = x: && continue
6204 # 1. Remove the extension, and $U if already installed.
6205 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
6206 ac_i=`echo "$ac_i" | sed "$ac_script"`
6207 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
6208 # will be set to the directory where LIBOBJS objects are built.
6209 ac_libobjs="$ac_libobjs \
${LIBOBJDIR}$ac_i\
$U.
$ac_objext"
6210 ac_ltlibobjs="$ac_ltlibobjs \
${LIBOBJDIR}$ac_i"'$U.lo'
6214 LTLIBOBJS=$ac_ltlibobjs
6217 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
6218 { { echo "$as_me:$LINENO: error
: conditional
\"AMDEP
\" was never defined.
6219 Usually this means the macro was only invoked conditionally.
" >&5
6220 echo "$as_me: error
: conditional
\"AMDEP
\" was never defined.
6221 Usually this means the macro was only invoked conditionally.
" >&2;}
6222 { (exit 1); exit 1; }; }
6224 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6225 { { echo "$as_me:$LINENO: error
: conditional
\"am__fastdepCC
\" was never defined.
6226 Usually this means the macro was only invoked conditionally.
" >&5
6227 echo "$as_me: error
: conditional
\"am__fastdepCC
\" was never defined.
6228 Usually this means the macro was only invoked conditionally.
" >&2;}
6229 { (exit 1); exit 1; }; }
6232 : ${CONFIG_STATUS=./config.status}
6233 ac_clean_files_save=$ac_clean_files
6234 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6235 { echo "$as_me:$LINENO: creating
$CONFIG_STATUS" >&5
6236 echo "$as_me: creating
$CONFIG_STATUS" >&6;}
6237 cat >$CONFIG_STATUS <<_ACEOF
6239 # Generated by $as_me.
6240 # Run this file to recreate the current configuration.
6241 # Compiler output produced by configure, useful for debugging
6242 # configure, is in config.log if it exists.
6247 SHELL=\${CONFIG_SHELL-$SHELL}
6250 cat >>$CONFIG_STATUS <<\_ACEOF
6251 ## --------------------- ##
6252 ## M4sh Initialization. ##
6253 ## --------------------- ##
6255 # Be more Bourne compatible
6256 DUALCASE=1; export DUALCASE # for MKS sh
6257 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
6260 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
6261 # is contrary to our usage. Disable this feature.
6262 alias -g '${1+"$@"}'='"$@
"'
6263 setopt NO_GLOB_SUBST
6265 case `(set -o) 2>/dev/null` in
6266 *posix*) set -o posix ;;
6275 # Avoid depending upon Character Ranges.
6276 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6277 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6278 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6279 as_cr_digits='0123456789'
6280 as_cr_alnum=$as_cr_Letters$as_cr_digits
6282 # The user is always right.
6283 if test "${PATH_SEPARATOR+set}" != set; then
6284 echo "#! /bin/sh" >conf$$.sh
6285 echo "exit 0" >>conf$$.sh
6287 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6295 # Support unset when possible.
6296 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
6304 # We need space, tab and new line, in precisely that order. Quoting is
6305 # there to prevent editors from complaining about space-tab.
6306 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
6307 # splitting by setting IFS to empty value.)
6312 # Find who we are. Look in the path if we contain no directory separator.
6314 *[\\/]* ) as_myself
=$0 ;;
6315 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6319 test -z "$as_dir" && as_dir
=.
6320 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
6326 # We did not find ourselves, most probably we were run as `sh COMMAND'
6327 # in which case we are not to be found in the path.
6328 if test "x$as_myself" = x
; then
6331 if test ! -f "$as_myself"; then
6332 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6333 { (exit 1); exit 1; }
6336 # Work around bugs in pre-3.0 UWIN ksh.
6337 for as_var
in ENV MAIL MAILPATH
6338 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
6346 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
6347 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
6348 LC_TELEPHONE LC_TIME
6350 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
6351 eval $as_var=C
; export $as_var
6353 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
6357 # Required to use basename.
6358 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
6359 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
6365 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
6366 as_basename
=basename
6372 # Name of the executable.
6373 as_me
=`$as_basename -- "$0" ||
6374 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6375 X"$0" : 'X\(//\)$' \| \
6376 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6378 sed '/^.*\/\([^/][^/]*\)\/*$/{
6399 test "x$as_lineno_1" != "x$as_lineno_2" &&
6400 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
6402 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
6403 # uniformly replaced by the line number. The first 'sed' inserts a
6404 # line-number line after each line using $LINENO; the second 'sed'
6405 # does the real work. The second script uses 'N' to pair each
6406 # line-number line with the line containing $LINENO, and appends
6407 # trailing '-' during substitution so that $LINENO is not a special
6409 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
6410 # scripts with optimization help from Paolo Bonzini. Blame Lee
6411 # E. McMahon (1931-1989) for sed's syntax. :-)
6423 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
6427 chmod +x
"$as_me.lineno" ||
6428 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
6429 { (exit 1); exit 1; }; }
6431 # Don't try to exec as it changes $[0], causing all sort of problems
6432 # (the dirname of $[0] is not the place where we might find the
6433 # original and so on. Autoconf is especially sensitive to this).
6435 # Exit status is that of the last command.
6440 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
6446 ECHO_C
= ECHO_N
= ECHO_T
=
6449 case `echo 'x\c'` in
6450 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
6457 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
6458 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
6464 rm -f conf$$ conf$$.exe conf$$.
file
6465 if test -d conf$$.dir
; then
6466 rm -f conf$$.dir
/conf$$.
file
6472 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
6474 # ... but there are two gotchas:
6475 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6476 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6477 # In both cases, we have to default to `cp -p'.
6478 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
6480 elif ln conf$$.
file conf$$
2>/dev
/null
; then
6485 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
6486 rmdir conf$$.dir
2>/dev
/null
6488 if mkdir
-p .
2>/dev
/null
; then
6491 test -d .
/-p && rmdir .
/-p
6495 if test -x / >/dev
/null
2>&1; then
6498 if ls -dL / >/dev
/null
2>&1; then
6505 if test -d "$1"; then
6511 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
6512 ???[sx]*):;;*)false;;esac;fi
6516 as_executable_p
=$as_test_x
6518 # Sed expression to map a string onto a valid CPP name.
6519 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6521 # Sed expression to map a string onto a valid variable name.
6522 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6527 # Save the log message, to keep $[0] and so on meaningful, and to
6528 # report actual input values of CONFIG_FILES etc. instead of their
6529 # values after options handling.
6531 This file was extended by $as_me, which was
6532 generated by GNU Autoconf 2.61. Invocation command line was
6534 CONFIG_FILES = $CONFIG_FILES
6535 CONFIG_HEADERS = $CONFIG_HEADERS
6536 CONFIG_LINKS = $CONFIG_LINKS
6537 CONFIG_COMMANDS = $CONFIG_COMMANDS
6540 on `(hostname || uname -n) 2>/dev/null | sed 1q`
6545 cat >>$CONFIG_STATUS <<_ACEOF
6546 # Files that config.status was made for.
6547 config_files="$ac_config_files"
6548 config_headers="$ac_config_headers"
6549 config_commands="$ac_config_commands"
6553 cat >>$CONFIG_STATUS <<\_ACEOF
6555 \`$as_me' instantiates files from templates according to the
6556 current configuration.
6558 Usage: $0 [OPTIONS] [FILE]...
6560 -h, --help print this help, then exit
6561 -V, --version print version number and configuration settings, then exit
6562 -q, --quiet do not print progress messages
6563 -d, --debug don't remove temporary files
6564 --recheck update $as_me by reconfiguring in the same conditions
6565 --file=FILE[:TEMPLATE]
6566 instantiate the configuration file FILE
6567 --header=FILE[:TEMPLATE]
6568 instantiate the configuration header FILE
6570 Configuration files:
6573 Configuration headers:
6576 Configuration commands:
6579 Report bugs to <bug-autoconf@gnu.org>."
6582 cat >>$CONFIG_STATUS <<_ACEOF
6585 configured by $0, generated by GNU Autoconf 2.61,
6586 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
6588 Copyright (C) 2006 Free Software Foundation, Inc.
6589 This config.status script is free software; the Free Software Foundation
6590 gives unlimited permission to copy, distribute and modify it."
6597 cat >>$CONFIG_STATUS <<\_ACEOF
6598 # If no file are specified by the user, then we need to provide default
6599 # value. By we need to know if files were specified by the user.
6605 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
6606 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
6617 # Handling of the options.
6618 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
6620 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
6621 echo "$ac_cs_version"; exit ;;
6622 --debug |
--debu |
--deb |
--de |
--d |
-d )
6624 --file |
--fil |
--fi |
--f )
6626 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
6627 ac_need_defaults
=false
;;
6628 --header |
--heade |
--head |
--hea )
6630 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
6631 ac_need_defaults
=false
;;
6633 # Conflict between --help and --header
6634 { echo "$as_me: error: ambiguous option: $1
6635 Try \`$0 --help' for more information." >&2
6636 { (exit 1); exit 1; }; };;
6637 --help |
--hel |
-h )
6638 echo "$ac_cs_usage"; exit ;;
6639 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
6640 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
6644 -*) { echo "$as_me: error: unrecognized option: $1
6645 Try \`$0 --help' for more information." >&2
6646 { (exit 1); exit 1; }; } ;;
6648 *) ac_config_targets
="$ac_config_targets $1"
6649 ac_need_defaults
=false
;;
6655 ac_configure_extra_args
=
6657 if $ac_cs_silent; then
6659 ac_configure_extra_args
="$ac_configure_extra_args --silent"
6663 cat >>$CONFIG_STATUS <<_ACEOF
6664 if \$ac_cs_recheck; then
6665 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
6668 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6672 cat >>$CONFIG_STATUS <<\_ACEOF
6676 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6677 ## Running $as_me. ##
6683 cat >>$CONFIG_STATUS <<_ACEOF
6687 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
6691 cat >>$CONFIG_STATUS <<\_ACEOF
6693 # Handling of arguments.
6694 for ac_config_target
in $ac_config_targets
6696 case $ac_config_target in
6697 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
6698 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
6699 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
6701 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
6702 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
6703 { (exit 1); exit 1; }; };;
6708 # If the user did not use the arguments to specify the items to instantiate,
6709 # then the envvar interface is used. Set only those that are not.
6710 # We use the long form for the default assignment because of an extremely
6711 # bizarre bug on SunOS 4.1.3.
6712 if $ac_need_defaults; then
6713 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
6714 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
6715 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
6718 # Have a temporary directory for convenience. Make it in the build tree
6719 # simply because there is no reason against having it here, and in addition,
6720 # creating and moving files from /tmp can sometimes cause problems.
6721 # Hook for its removal unless debugging.
6722 # Note that there is a small window in which the directory will not be cleaned:
6723 # after its creation but before its name has been assigned to `$tmp'.
6727 trap 'exit_status=$?
6728 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
6730 trap '{ (exit 1); exit 1; }' 1 2 13 15
6732 # Create a (secure) tmp directory for tmp files.
6735 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6736 test -n "$tmp" && test -d "$tmp"
6739 tmp
=.
/conf$$
-$RANDOM
6740 (umask 077 && mkdir
"$tmp")
6743 echo "$me: cannot create a temporary directory in ." >&2
6744 { (exit 1); exit 1; }
6748 # Set up the sed scripts for CONFIG_FILES section.
6751 # No need to generate the scripts if there are no CONFIG_FILES.
6752 # This happens for instance when ./config.status config.h
6753 if test -n "$CONFIG_FILES"; then
6760 for ac_last_try
in false false false false false
:; do
6761 cat >conf$
$subs.
sed <<_ACEOF
6762 SHELL!$SHELL$ac_delim
6763 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
6764 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
6765 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
6766 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
6767 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
6768 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
6769 exec_prefix!$exec_prefix$ac_delim
6770 prefix!$prefix$ac_delim
6771 program_transform_name!$program_transform_name$ac_delim
6772 bindir!$bindir$ac_delim
6773 sbindir!$sbindir$ac_delim
6774 libexecdir!$libexecdir$ac_delim
6775 datarootdir!$datarootdir$ac_delim
6776 datadir!$datadir$ac_delim
6777 sysconfdir!$sysconfdir$ac_delim
6778 sharedstatedir!$sharedstatedir$ac_delim
6779 localstatedir!$localstatedir$ac_delim
6780 includedir!$includedir$ac_delim
6781 oldincludedir!$oldincludedir$ac_delim
6782 docdir!$docdir$ac_delim
6783 infodir!$infodir$ac_delim
6784 htmldir!$htmldir$ac_delim
6785 dvidir!$dvidir$ac_delim
6786 pdfdir!$pdfdir$ac_delim
6787 psdir!$psdir$ac_delim
6788 libdir!$libdir$ac_delim
6789 localedir!$localedir$ac_delim
6790 mandir!$mandir$ac_delim
6792 ECHO_C!$ECHO_C$ac_delim
6793 ECHO_N!$ECHO_N$ac_delim
6794 ECHO_T!$ECHO_T$ac_delim
6796 build_alias!$build_alias$ac_delim
6797 host_alias!$host_alias$ac_delim
6798 target_alias!$target_alias$ac_delim
6799 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
6800 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
6801 INSTALL_DATA!$INSTALL_DATA$ac_delim
6802 CYGPATH_W!$CYGPATH_W$ac_delim
6803 PACKAGE!$PACKAGE$ac_delim
6804 VERSION!$VERSION$ac_delim
6805 ACLOCAL!$ACLOCAL$ac_delim
6806 AUTOCONF!$AUTOCONF$ac_delim
6807 AUTOMAKE!$AUTOMAKE$ac_delim
6808 AUTOHEADER!$AUTOHEADER$ac_delim
6809 MAKEINFO!$MAKEINFO$ac_delim
6810 install_sh!$install_sh$ac_delim
6811 STRIP!$STRIP$ac_delim
6812 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
6813 mkdir_p!$mkdir_p$ac_delim
6815 SET_MAKE!$SET_MAKE$ac_delim
6816 am__leading_dot!$am__leading_dot$ac_delim
6817 AMTAR!$AMTAR$ac_delim
6818 am__tar!$am__tar$ac_delim
6819 am__untar!$am__untar$ac_delim
6820 ISODATE!$ISODATE$ac_delim
6821 build!$build$ac_delim
6822 build_cpu!$build_cpu$ac_delim
6823 build_vendor!$build_vendor$ac_delim
6824 build_os!$build_os$ac_delim
6826 host_cpu!$host_cpu$ac_delim
6827 host_vendor!$host_vendor$ac_delim
6828 host_os!$host_os$ac_delim
6830 CFLAGS!$CFLAGS$ac_delim
6831 LDFLAGS!$LDFLAGS$ac_delim
6832 CPPFLAGS!$CPPFLAGS$ac_delim
6833 ac_ct_CC!$ac_ct_CC$ac_delim
6834 EXEEXT!$EXEEXT$ac_delim
6835 OBJEXT!$OBJEXT$ac_delim
6836 DEPDIR!$DEPDIR$ac_delim
6837 am__include!$am__include$ac_delim
6838 am__quote!$am__quote$ac_delim
6839 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
6840 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
6841 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
6842 CCDEPMODE!$CCDEPMODE$ac_delim
6843 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
6844 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
6847 EGREP!$EGREP$ac_delim
6848 XMKMF!$XMKMF$ac_delim
6849 X_CFLAGS!$X_CFLAGS$ac_delim
6850 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
6851 X_LIBS!$X_LIBS$ac_delim
6852 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
6853 IMLIB2_CONFIG_IN_PATH!$IMLIB2_CONFIG_IN_PATH$ac_delim
6854 IMLIB2_CFLAGS!$IMLIB2_CFLAGS$ac_delim
6855 IMLIB2_LIBS!$IMLIB2_LIBS$ac_delim
6856 PKG_CONFIG!$PKG_CONFIG$ac_delim
6857 PACKAGE_CFLAGS!$PACKAGE_CFLAGS$ac_delim
6858 PACKAGE_LIBS!$PACKAGE_LIBS$ac_delim
6861 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
6863 elif $ac_last_try; then
6864 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
6865 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
6866 { (exit 1); exit 1; }; }
6868 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
6872 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
6873 if test -n "$ac_eof"; then
6874 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
6875 ac_eof
=`expr $ac_eof + 1`
6878 cat >>$CONFIG_STATUS <<_ACEOF
6879 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
6880 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6883 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
6884 s/^/s,@/; s/!/@,|#_!!_#|/
6887 s/'"$ac_delim"'$/,g/; t
6889 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
6890 ' >>$CONFIG_STATUS <conf$
$subs.
sed
6891 rm -f conf$
$subs.
sed
6892 cat >>$CONFIG_STATUS <<_ACEOF
6898 for ac_last_try
in false false false false false
:; do
6899 cat >conf$
$subs.
sed <<_ACEOF
6900 GTK2_CFLAGS!$GTK2_CFLAGS$ac_delim
6901 GTK2_LIBS!$GTK2_LIBS$ac_delim
6902 GKHDPLOP!$GKHDPLOP$ac_delim
6903 LIBOBJS!$LIBOBJS$ac_delim
6904 LTLIBOBJS!$LTLIBOBJS$ac_delim
6907 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 5; then
6909 elif $ac_last_try; then
6910 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
6911 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
6912 { (exit 1); exit 1; }; }
6914 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
6918 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
6919 if test -n "$ac_eof"; then
6920 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
6921 ac_eof
=`expr $ac_eof + 1`
6924 cat >>$CONFIG_STATUS <<_ACEOF
6925 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
6926 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
6929 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
6930 s/^/s,@/; s/!/@,|#_!!_#|/
6933 s/'"$ac_delim"'$/,g/; t
6935 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
6936 ' >>$CONFIG_STATUS <conf$
$subs.
sed
6937 rm -f conf$
$subs.
sed
6938 cat >>$CONFIG_STATUS <<_ACEOF
6945 # VPATH may cause trouble with some makes, so we remove $(srcdir),
6946 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6947 # trailing colons and then remove the whole line if VPATH becomes empty
6948 # (actually we leave an empty line to preserve line numbers).
6949 if test "x$srcdir" = x.
; then
6950 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
6954 s/^\([^=]*=[ ]*\):*/\1/
6960 cat >>$CONFIG_STATUS <<\_ACEOF
6961 fi # test -n "$CONFIG_FILES"
6964 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
6967 :[FHLC
]) ac_mode
=$ac_tag; continue;;
6969 case $ac_mode$ac_tag in
6971 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
6972 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
6973 { (exit 1); exit 1; }; };;
6974 :[FH
]-) ac_tag
=-:-;;
6975 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
6992 -) ac_f
="$tmp/stdin";;
6993 *) # Look for the file first in the build tree, then in the source tree
6994 # (if the path is not absolute). The absolute path cannot be DOS-style,
6995 # because $ac_f cannot contain `:'.
6999 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
7001 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
7002 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
7003 { (exit 1); exit 1; }; };;
7005 ac_file_inputs
="$ac_file_inputs $ac_f"
7008 # Let's still pretend it is `configure' which instantiates (i.e., don't
7009 # use $as_me), people would be surprised to read:
7010 # /* config.h. Generated by config.status. */
7011 configure_input
="Generated from "`IFS=:
7012 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
7013 if test x
"$ac_file" != x-
; then
7014 configure_input
="$ac_file. $configure_input"
7015 { echo "$as_me:$LINENO: creating $ac_file" >&5
7016 echo "$as_me: creating $ac_file" >&6;}
7020 *:-:* |
*:-) cat >"$tmp/stdin";;
7025 ac_dir
=`$as_dirname -- "$ac_file" ||
7026 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7027 X"$ac_file" : 'X\(//\)[^/]' \| \
7028 X"$ac_file" : 'X\(//\)$' \| \
7029 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7031 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7050 -*) as_dir
=.
/$as_dir;;
7052 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
7056 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
7057 *) as_qdir
=$as_dir;;
7059 as_dirs
="'$as_qdir' $as_dirs"
7060 as_dir
=`$as_dirname -- "$as_dir" ||
7061 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7062 X"$as_dir" : 'X\(//\)[^/]' \| \
7063 X"$as_dir" : 'X\(//\)$' \| \
7064 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7066 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7083 test -d "$as_dir" && break
7085 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
7086 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
7087 echo "$as_me: error: cannot create directory $as_dir" >&2;}
7088 { (exit 1); exit 1; }; }; }
7092 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
7094 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7095 # A ".." for each directory in $ac_dir_suffix.
7096 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
7097 case $ac_top_builddir_sub in
7098 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
7099 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
7102 ac_abs_top_builddir
=$ac_pwd
7103 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
7104 # for backward compatibility:
7105 ac_top_builddir
=$ac_top_build_prefix
7108 .
) # We are building in place.
7110 ac_top_srcdir
=$ac_top_builddir_sub
7111 ac_abs_top_srcdir
=$ac_pwd ;;
7112 [\\/]* | ?
:[\\/]* ) # Absolute name.
7113 ac_srcdir
=$srcdir$ac_dir_suffix;
7114 ac_top_srcdir
=$srcdir
7115 ac_abs_top_srcdir
=$srcdir ;;
7117 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
7118 ac_top_srcdir
=$ac_top_build_prefix$srcdir
7119 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
7121 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
7131 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
7132 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
7136 cat >>$CONFIG_STATUS <<\_ACEOF
7137 # If the template does not know about datarootdir, expand it.
7138 # FIXME: This hack should be removed a few years after 2.60.
7139 ac_datarootdir_hack
=; ac_datarootdir_seen
=
7141 case `sed -n '/datarootdir/ {
7150 ' $ac_file_inputs` in
7151 *datarootdir
*) ac_datarootdir_seen
=yes;;
7152 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
7153 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
7154 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
7156 cat >>$CONFIG_STATUS <<_ACEOF
7157 ac_datarootdir_hack='
7158 s&@datadir@&$datadir&g
7159 s&@docdir@&$docdir&g
7160 s&@infodir@&$infodir&g
7161 s&@localedir@&$localedir&g
7162 s&@mandir@&$mandir&g
7163 s&\\\${datarootdir}&$datarootdir&g' ;;
7167 # Neutralize VPATH when `$srcdir' = `.'.
7168 # Shell code in configure.ac might set extrasub.
7169 # FIXME: do we really want to maintain this feature?
7170 cat >>$CONFIG_STATUS <<_ACEOF
7174 cat >>$CONFIG_STATUS <<\_ACEOF
7176 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
7177 s
&@configure_input@
&$configure_input&;t t
7178 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
7179 s
&@srcdir@
&$ac_srcdir&;t t
7180 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
7181 s
&@top_srcdir@
&$ac_top_srcdir&;t t
7182 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
7183 s
&@builddir@
&$ac_builddir&;t t
7184 s
&@abs_builddir@
&$ac_abs_builddir&;t t
7185 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
7186 s
&@INSTALL@
&$ac_INSTALL&;t t
7187 $ac_datarootdir_hack
7188 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
7190 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7191 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
7192 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
7193 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
7194 which seems to be undefined. Please make sure it is defined." >&5
7195 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
7196 which seems to be undefined. Please make sure it is defined." >&2;}
7200 -) cat "$tmp/out"; rm -f "$tmp/out";;
7201 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
7210 # Transform confdefs.h into a sed script `conftest.defines', that
7211 # substitutes the proper values into config.h.in to produce config.h.
7212 rm -f conftest.defines conftest.
tail
7213 # First, append a space to every undef/define line, to ease matching.
7214 echo 's/$/ /' >conftest.defines
7215 # Then, protect against being on the right side of a sed subst, or in
7216 # an unquoted here document, in config.status. If some macros were
7217 # called several times there might be several #defines for the same
7218 # symbol, which is useless. But do not sort them, since the last
7219 # AC_DEFINE must be honored.
7220 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
7221 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
7222 # NAME is the cpp macro being defined, VALUE is the value it is being given.
7223 # PARAMS is the parameter list in the macro definition--in most cases, it's
7224 # just an empty string.
7225 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
7226 ac_dB
='\\)[ (].*,\\1define\\2'
7234 s/^[ ]*#[ ]*define[ ][ ]*//
7239 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
7240 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
7241 ' >>conftest.defines
7243 # Remove the space that was appended to ease matching.
7244 # Then replace #undef with comments. This is necessary, for
7245 # example, in the case of _POSIX_SOURCE, which is predefined and required
7246 # on some systems where configure will not decide to define it.
7247 # (The regexp can be short, since the line contains either #define or #undef.)
7249 s,^[ #]*u.*,/* & */,' >>conftest.defines
7251 # Break up conftest.defines:
7254 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
7255 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
7256 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
7258 ac_in
='$ac_file_inputs'
7259 ac_out
='"$tmp/out1"'
7260 ac_nxt
='"$tmp/out2"'
7264 # Write a here document:
7265 cat >>$CONFIG_STATUS <<_ACEOF
7266 # First, check the format of the line:
7267 cat >"\$tmp/defines.sed" <<\\CEOF
7268 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
7269 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
7273 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
7275 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
7276 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
7277 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
7278 grep . conftest.
tail >/dev
/null ||
break
7279 rm -f conftest.defines
7280 mv conftest.
tail conftest.defines
7282 rm -f conftest.defines conftest.
tail
7284 echo "ac_result=$ac_in" >>$CONFIG_STATUS
7285 cat >>$CONFIG_STATUS <<\_ACEOF
7286 if test x
"$ac_file" != x-
; then
7287 echo "/* $configure_input */" >"$tmp/config.h"
7288 cat "$ac_result" >>"$tmp/config.h"
7289 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
7290 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
7291 echo "$as_me: $ac_file is unchanged" >&6;}
7294 mv "$tmp/config.h" $ac_file
7297 echo "/* $configure_input */"
7301 # Compute $ac_file's index in $config_headers.
7303 for _am_header
in $config_headers :; do
7305 $ac_file |
$ac_file:* )
7308 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
7311 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
7312 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7313 X$ac_file : 'X\(//\)[^/]' \| \
7314 X$ac_file : 'X\(//\)$' \| \
7315 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
7317 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7333 s/.*/./; q'`/stamp-h
$_am_stamp_count
7336 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
7337 echo "$as_me: executing $ac_file commands" >&6;}
7342 case $ac_file$ac_mode in
7343 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
7344 # Strip MF so we end up with the name of the file.
7345 mf
=`echo "$mf" | sed -e 's/:.*$//'`
7346 # Check whether this is an Automake generated Makefile or not.
7347 # We used to match only the files named `Makefile.in', but
7348 # some people rename them; so instead we look at the file content.
7349 # Grep'ing the first line is not enough: some people post-process
7350 # each Makefile.in and add a new line on top of each file to say so.
7351 # So let's grep whole file.
7352 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
7353 dirpart
=`$as_dirname -- "$mf" ||
7354 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7355 X"$mf" : 'X\(//\)[^/]' \| \
7356 X"$mf" : 'X\(//\)$' \| \
7357 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
7359 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7379 # Extract the definition of DEPDIR, am__include, and am__quote
7380 # from the Makefile without running `make'.
7381 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
7382 test -z "$DEPDIR" && continue
7383 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
7384 test -z "am__include" && continue
7385 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
7386 # When using ansi2knr, U may be empty or an underscore; expand it
7387 U
=`sed -n 's/^U = //p' < "$mf"`
7388 # Find all dependency output files, they are included files with
7389 # $(DEPDIR) in their names. We invoke sed twice because it is the
7390 # simplest approach to changing $(DEPDIR) to its actual value in the
7392 for file in `sed -n "
7393 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
7394 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
7395 # Make sure the directory exists.
7396 test -f "$dirpart/$file" && continue
7397 fdir
=`$as_dirname -- "$file" ||
7398 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7399 X"$file" : 'X\(//\)[^/]' \| \
7400 X"$file" : 'X\(//\)$' \| \
7401 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
7403 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7420 { as_dir
=$dirpart/$fdir
7422 -*) as_dir
=.
/$as_dir;;
7424 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
7428 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
7429 *) as_qdir
=$as_dir;;
7431 as_dirs
="'$as_qdir' $as_dirs"
7432 as_dir
=`$as_dirname -- "$as_dir" ||
7433 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7434 X"$as_dir" : 'X\(//\)[^/]' \| \
7435 X"$as_dir" : 'X\(//\)$' \| \
7436 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7438 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7455 test -d "$as_dir" && break
7457 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
7458 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
7459 echo "$as_me: error: cannot create directory $as_dir" >&2;}
7460 { (exit 1); exit 1; }; }; }
7461 # echo "creating $dirpart/$file"
7462 echo '# dummy' > "$dirpart/$file"
7471 { (exit 0); exit 0; }
7473 chmod +x
$CONFIG_STATUS
7474 ac_clean_files
=$ac_clean_files_save
7477 # configure is writing to config.log, and then calls config.status.
7478 # config.status does its own redirection, appending to config.log.
7479 # Unfortunately, on DOS this fails, as config.log is still kept open
7480 # by configure, so config.status won't be able to write to it; its
7481 # output is simply discarded. So we exec the FD to /dev/null,
7482 # effectively closing config.log, so it can be properly (re)opened and
7483 # appended to by config.status. When coming back to configure, we
7484 # need to make the FD available again.
7485 if test "$no_create" != yes; then
7487 ac_config_status_args
=
7488 test "$silent" = yes &&
7489 ac_config_status_args
="$ac_config_status_args --quiet"
7491 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
7493 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7494 # would make configure fail if this is the last instruction.
7495 $ac_cs_success ||
{ (exit 1); exit 1; }
7499 echo "- - - - - - - - - - - - - - - -"
7500 echo -e "${YELLOW}wmhdplop will be built${RESET}"
7501 if test "x$build_gkhdplop" = "xno"; then
7502 echo -e "${YELLOW}gkhdplop.so will NOT be built${RESET}"
7504 echo -e "${YELLOW}gkhdplop.so will be built${RESET}"
7505 echo "Check that the plugin is working properly before installing it with:"
7506 echo " gkrellm -p ./gkhdplop.so"
7507 echo "and then install the gkrellm plugin with:"
7508 echo " mv ./gkhdplop.so ~/.gkrellm2/plugins"