2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be more Bourne compatible
14 DUALCASE
=1; export DUALCASE
# for MKS sh
15 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
23 case `(set -o) 2>/dev/null` in
24 *posix
*) set -o posix
;;
33 # Avoid depending upon Character Ranges.
34 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
35 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
37 as_cr_digits
='0123456789'
38 as_cr_alnum
=$as_cr_Letters$as_cr_digits
40 # The user is always right.
41 if test "${PATH_SEPARATOR+set}" != set; then
42 echo "#! /bin/sh" >conf$$.sh
43 echo "exit 0" >>conf$$.sh
45 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
53 # Support unset when possible.
54 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
62 # We need space, tab and new line, in precisely that order. Quoting is
63 # there to prevent editors from complaining about space-tab.
64 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
65 # splitting by setting IFS to empty value.)
70 # Find who we are. Look in the path if we contain no directory separator.
72 *[\\/]* ) as_myself
=$0 ;;
73 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
77 test -z "$as_dir" && as_dir
=.
78 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
84 # We did not find ourselves, most probably we were run as `sh COMMAND'
85 # in which case we are not to be found in the path.
86 if test "x$as_myself" = x
; then
89 if test ! -f "$as_myself"; then
90 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
94 # Work around bugs in pre-3.0 UWIN ksh.
95 for as_var
in ENV MAIL MAILPATH
96 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
104 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
105 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109 eval $as_var=C
; export $as_var
111 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
115 # Required to use basename.
116 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
117 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
123 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
130 # Name of the executable.
131 as_me
=`$as_basename -- "$0" ||
132 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133 X"$0" : 'X\(//\)$' \| \
134 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
136 sed '/^.*\/\([^/][^/]*\)\/*$/{
154 if test "x$CONFIG_SHELL" = x
; then
155 if (eval ":") 2>/dev
/null
; then
161 if test $as_have_required = yes && (eval ":
171 as_func_ret_success () {
174 as_func_ret_failure () {
179 if as_func_success; then
183 echo as_func_success failed.
186 if as_func_failure; then
188 echo as_func_failure succeeded.
191 if as_func_ret_success; then
195 echo as_func_ret_success failed.
198 if as_func_ret_failure; then
200 echo as_func_ret_failure succeeded.
203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 echo positional parameters were not saved.
210 test \$exitcode = 0) || { (exit 1); exit 1; }
215 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
216 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
217 ") 2> /dev
/null
; then
221 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
222 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
225 test -z "$as_dir" && as_dir
=.
228 for as_base
in sh bash ksh sh5
; do
229 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
236 for as_shell
in $as_candidate_shells $SHELL; do
237 # Try only shells that exist, to save several forks.
238 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
239 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
240 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
243 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244 # is contrary to our usage. Disable this feature.
245 alias -g '${1+"$@"}'='"$@"'
248 case `(set -o) 2>/dev/null` in
249 *posix
*) set -o posix
;;
258 CONFIG_SHELL
=$as_shell
260 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
261 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
264 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
265 # is contrary to our usage. Disable this feature.
266 alias -g '${1+"$@"}'='"$@"'
269 case `(set -o) 2>/dev/null` in
270 *posix
*) set -o posix
;;
286 as_func_ret_success
() {
289 as_func_ret_failure
() {
294 if as_func_success
; then
298 echo as_func_success failed.
301 if as_func_failure
; then
303 echo as_func_failure succeeded.
306 if as_func_ret_success
; then
310 echo as_func_ret_success failed.
313 if as_func_ret_failure
; then
315 echo as_func_ret_failure succeeded.
318 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
322 echo positional parameters were not saved.
325 test $exitcode = 0) ||
{ (exit 1); exit 1; }
330 test "x$as_lineno_1" != "x$as_lineno_2" &&
331 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
342 if test "x$CONFIG_SHELL" != x
; then
343 for as_var
in BASH_ENV ENV
344 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
347 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351 if test $as_have_required = no
; then
352 echo This
script requires a shell
more modern than all the
353 echo shells that I found on your system. Please
install a
354 echo modern shell
, or manually run the
script under such a
355 echo shell
if you
do have one.
356 { (exit 1); exit 1; }
366 (eval "as_func_return () {
375 as_func_ret_success () {
378 as_func_ret_failure () {
383 if as_func_success; then
387 echo as_func_success failed.
390 if as_func_failure; then
392 echo as_func_failure succeeded.
395 if as_func_ret_success; then
399 echo as_func_ret_success failed.
402 if as_func_ret_failure; then
404 echo as_func_ret_failure succeeded.
407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 echo positional parameters were not saved.
414 test \$exitcode = 0") ||
{
415 echo No shell found that supports shell functions.
416 echo Please tell autoconf@gnu.org about your system
,
417 echo including any error possibly output before this
425 test "x$as_lineno_1" != "x$as_lineno_2" &&
426 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
428 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
429 # uniformly replaced by the line number. The first 'sed' inserts a
430 # line-number line after each line using $LINENO; the second 'sed'
431 # does the real work. The second script uses 'N' to pair each
432 # line-number line with the line containing $LINENO, and appends
433 # trailing '-' during substitution so that $LINENO is not a special
435 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
436 # scripts with optimization help from Paolo Bonzini. Blame Lee
437 # E. McMahon (1931-1989) for sed's syntax. :-)
449 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
453 chmod +x
"$as_me.lineno" ||
454 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
455 { (exit 1); exit 1; }; }
457 # Don't try to exec as it changes $[0], causing all sort of problems
458 # (the dirname of $[0] is not the place where we might find the
459 # original and so on. Autoconf is especially sensitive to this).
461 # Exit status is that of the last command.
466 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
472 ECHO_C
= ECHO_N
= ECHO_T
=
476 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
483 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
484 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
490 rm -f conf$$ conf$$.exe conf$$.
file
491 if test -d conf$$.dir
; then
492 rm -f conf$$.dir
/conf$$.
file
498 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
500 # ... but there are two gotchas:
501 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
502 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503 # In both cases, we have to default to `cp -p'.
504 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
506 elif ln conf$$.
file conf$$
2>/dev
/null
; then
511 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
512 rmdir conf$$.dir
2>/dev
/null
514 if mkdir
-p .
2>/dev
/null
; then
517 test -d .
/-p && rmdir .
/-p
521 if test -x / >/dev
/null
2>&1; then
524 if ls -dL / >/dev
/null
2>&1; then
531 if test -d "$1"; then
537 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
538 ???[sx]*):;;*)false;;esac;fi
542 as_executable_p
=$as_test_x
544 # Sed expression to map a string onto a valid CPP name.
545 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
547 # Sed expression to map a string onto a valid variable name.
548 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
552 exec 7<&0 </dev
/null
6>&1
555 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
556 # so uname gets run too.
557 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
562 ac_default_prefix
=/usr
/local
564 ac_config_libobj_dir
=.
570 SHELL
=${CONFIG_SHELL-/bin/sh}
572 # Identity of this package.
579 ac_unique_file
="src/draw.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
667 INSTALL_STRIP_PROGRAM
676 MAINTAINER_MODE_FALSE
719 MISSING_XPMTOPPM_TRUE
720 MISSING_XPMTOPPM_FALSE
723 MISSING_CONVERT_FALSE
741 MISSING_PDFLATEX_TRUE
742 MISSING_PDFLATEX_FALSE
775 ac_precious_vars
='build_alias
796 # Initialize some variables set by options.
798 ac_init_version
=false
799 # The variables have the same names as the options, with
800 # dashes changed to underlines.
808 program_transform_name
=s
,x
,x
,
816 # Installation directory options.
817 # These are left unexpanded so users can "make install exec_prefix=/foo"
818 # and all the variables that are supposed to be based on exec_prefix
819 # by default will actually change.
820 # Use braces instead of parens because sh, perl, etc. also accept them.
821 # (The list follows the same order as the GNU Coding Standards.)
822 bindir
='${exec_prefix}/bin'
823 sbindir
='${exec_prefix}/sbin'
824 libexecdir
='${exec_prefix}/libexec'
825 datarootdir
='${prefix}/share'
826 datadir
='${datarootdir}'
827 sysconfdir
='${prefix}/etc'
828 sharedstatedir
='${prefix}/com'
829 localstatedir
='${prefix}/var'
830 includedir
='${prefix}/include'
831 oldincludedir
='/usr/include'
832 docdir
='${datarootdir}/doc/${PACKAGE}'
833 infodir
='${datarootdir}/info'
838 libdir
='${exec_prefix}/lib'
839 localedir
='${datarootdir}/locale'
840 mandir
='${datarootdir}/man'
846 # If the previous option needs an argument, assign it.
847 if test -n "$ac_prev"; then
848 eval $ac_prev=\
$ac_option
854 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
858 # Accept the important Cygnus configure options, so we can diagnose typos.
860 case $ac_dashdash$ac_option in
864 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
866 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
869 -build |
--build |
--buil |
--bui |
--bu)
870 ac_prev
=build_alias
;;
871 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
872 build_alias
=$ac_optarg ;;
874 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
875 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
876 ac_prev
=cache_file
;;
877 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
878 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
879 cache_file
=$ac_optarg ;;
882 cache_file
=config.cache
;;
884 -datadir |
--datadir |
--datadi |
--datad)
886 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
887 datadir
=$ac_optarg ;;
889 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
890 |
--dataroo |
--dataro |
--datar)
891 ac_prev
=datarootdir
;;
892 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
893 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
894 datarootdir
=$ac_optarg ;;
896 -disable-* |
--disable-*)
897 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
898 # Reject names that are not valid shell variable names.
899 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
900 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
901 { (exit 1); exit 1; }; }
902 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
903 eval enable_
$ac_feature=no
;;
905 -docdir |
--docdir |
--docdi |
--doc |
--do)
907 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
910 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
912 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
915 -enable-* |
--enable-*)
916 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
917 # Reject names that are not valid shell variable names.
918 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
919 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
920 { (exit 1); exit 1; }; }
921 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
922 eval enable_
$ac_feature=\
$ac_optarg ;;
924 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
925 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
926 |
--exec |
--exe |
--ex)
927 ac_prev
=exec_prefix
;;
928 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
929 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
930 |
--exec=* |
--exe=* |
--ex=*)
931 exec_prefix
=$ac_optarg ;;
933 -gas |
--gas |
--ga |
--g)
934 # Obsolete; use --with-gas.
937 -help |
--help |
--hel |
--he |
-h)
939 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
940 ac_init_help
=recursive
;;
941 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
942 ac_init_help
=short
;;
944 -host |
--host |
--hos |
--ho)
945 ac_prev
=host_alias
;;
946 -host=* |
--host=* |
--hos=* |
--ho=*)
947 host_alias
=$ac_optarg ;;
949 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
951 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
953 htmldir
=$ac_optarg ;;
955 -includedir |
--includedir |
--includedi |
--included |
--include \
956 |
--includ |
--inclu |
--incl |
--inc)
957 ac_prev
=includedir
;;
958 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
959 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
960 includedir
=$ac_optarg ;;
962 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
964 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
965 infodir
=$ac_optarg ;;
967 -libdir |
--libdir |
--libdi |
--libd)
969 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
972 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
973 |
--libexe |
--libex |
--libe)
974 ac_prev
=libexecdir
;;
975 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
976 |
--libexe=* |
--libex=* |
--libe=*)
977 libexecdir
=$ac_optarg ;;
979 -localedir |
--localedir |
--localedi |
--localed |
--locale)
981 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
982 localedir
=$ac_optarg ;;
984 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
985 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
986 ac_prev
=localstatedir
;;
987 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
988 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
989 localstatedir
=$ac_optarg ;;
991 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
993 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
997 # Obsolete; use --without-fp.
1000 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1001 |
--no-cr |
--no-c |
-n)
1004 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1005 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1008 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1009 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1010 |
--oldin |
--oldi |
--old |
--ol |
--o)
1011 ac_prev
=oldincludedir
;;
1012 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1013 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1014 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1015 oldincludedir
=$ac_optarg ;;
1017 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1019 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1020 prefix
=$ac_optarg ;;
1022 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1023 |
--program-pre |
--program-pr |
--program-p)
1024 ac_prev
=program_prefix
;;
1025 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1026 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1027 program_prefix
=$ac_optarg ;;
1029 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1030 |
--program-suf |
--program-su |
--program-s)
1031 ac_prev
=program_suffix
;;
1032 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1033 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1034 program_suffix
=$ac_optarg ;;
1036 -program-transform-name |
--program-transform-name \
1037 |
--program-transform-nam |
--program-transform-na \
1038 |
--program-transform-n |
--program-transform- \
1039 |
--program-transform |
--program-transfor \
1040 |
--program-transfo |
--program-transf \
1041 |
--program-trans |
--program-tran \
1042 |
--progr-tra |
--program-tr |
--program-t)
1043 ac_prev
=program_transform_name
;;
1044 -program-transform-name=* |
--program-transform-name=* \
1045 |
--program-transform-nam=* |
--program-transform-na=* \
1046 |
--program-transform-n=* |
--program-transform-=* \
1047 |
--program-transform=* |
--program-transfor=* \
1048 |
--program-transfo=* |
--program-transf=* \
1049 |
--program-trans=* |
--program-tran=* \
1050 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1051 program_transform_name
=$ac_optarg ;;
1053 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1055 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1056 pdfdir
=$ac_optarg ;;
1058 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1060 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1063 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1064 |
-silent |
--silent |
--silen |
--sile |
--sil)
1067 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1069 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1071 sbindir
=$ac_optarg ;;
1073 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1074 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1075 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1077 ac_prev
=sharedstatedir
;;
1078 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1079 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1080 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1082 sharedstatedir
=$ac_optarg ;;
1084 -site |
--site |
--sit)
1086 -site=* |
--site=* |
--sit=*)
1089 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1091 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1092 srcdir
=$ac_optarg ;;
1094 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1095 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1096 ac_prev
=sysconfdir
;;
1097 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1098 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1099 sysconfdir
=$ac_optarg ;;
1101 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1102 ac_prev
=target_alias
;;
1103 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1104 target_alias
=$ac_optarg ;;
1106 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1109 -version |
--version |
--versio |
--versi |
--vers |
-V)
1110 ac_init_version
=: ;;
1113 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1114 # Reject names that are not valid shell variable names.
1115 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1116 { echo "$as_me: error: invalid package name: $ac_package" >&2
1117 { (exit 1); exit 1; }; }
1118 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1119 eval with_
$ac_package=\
$ac_optarg ;;
1121 -without-* |
--without-*)
1122 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1123 # Reject names that are not valid shell variable names.
1124 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1125 { echo "$as_me: error: invalid package name: $ac_package" >&2
1126 { (exit 1); exit 1; }; }
1127 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1128 eval with_
$ac_package=no
;;
1131 # Obsolete; use --with-x.
1134 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1135 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1136 ac_prev
=x_includes
;;
1137 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1138 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1139 x_includes
=$ac_optarg ;;
1141 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1142 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1143 ac_prev
=x_libraries
;;
1144 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1145 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1146 x_libraries
=$ac_optarg ;;
1148 -*) { echo "$as_me: error: unrecognized option: $ac_option
1149 Try \`$0 --help' for more information." >&2
1150 { (exit 1); exit 1; }; }
1154 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1155 # Reject names that are not valid shell variable names.
1156 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1157 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1158 { (exit 1); exit 1; }; }
1159 eval $ac_envvar=\
$ac_optarg
1160 export $ac_envvar ;;
1163 # FIXME: should be removed in autoconf 3.0.
1164 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1165 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1166 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1167 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1173 if test -n "$ac_prev"; then
1174 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1175 { echo "$as_me: error: missing argument to $ac_option" >&2
1176 { (exit 1); exit 1; }; }
1179 # Be sure to have absolute directory names.
1180 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1181 datadir sysconfdir sharedstatedir localstatedir includedir \
1182 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1183 libdir localedir mandir
1185 eval ac_val
=\$
$ac_var
1187 [\\/$
]* | ?
:[\\/]* ) continue;;
1188 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1190 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1191 { (exit 1); exit 1; }; }
1194 # There might be people who depend on the old broken behavior: `$host'
1195 # used to hold the argument of --host etc.
1196 # FIXME: To remove some day.
1199 target
=$target_alias
1201 # FIXME: To remove some day.
1202 if test "x$host_alias" != x
; then
1203 if test "x$build_alias" = x
; then
1204 cross_compiling
=maybe
1205 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1206 If a cross compiler is detected then cross compile mode will be used." >&2
1207 elif test "x$build_alias" != "x$host_alias"; then
1213 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1215 test "$silent" = yes && exec 6>/dev
/null
1218 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1219 ac_ls_di
=`ls -di .` &&
1220 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1221 { echo "$as_me: error: Working directory cannot be determined" >&2
1222 { (exit 1); exit 1; }; }
1223 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1224 { echo "$as_me: error: pwd does not report name of working directory" >&2
1225 { (exit 1); exit 1; }; }
1228 # Find the source files, if location was not specified.
1229 if test -z "$srcdir"; then
1230 ac_srcdir_defaulted
=yes
1231 # Try the directory containing this script, then the parent directory.
1232 ac_confdir
=`$as_dirname -- "$0" ||
1233 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1234 X"$0" : 'X\(//\)[^/]' \| \
1235 X"$0" : 'X\(//\)$' \| \
1236 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1238 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1256 if test ! -r "$srcdir/$ac_unique_file"; then
1260 ac_srcdir_defaulted
=no
1262 if test ! -r "$srcdir/$ac_unique_file"; then
1263 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1264 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1265 { (exit 1); exit 1; }; }
1267 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1269 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1270 { (exit 1); exit 1; }; }
1272 # When building in place, set srcdir=.
1273 if test "$ac_abs_confdir" = "$ac_pwd"; then
1276 # Remove unnecessary trailing slashes from srcdir.
1277 # Double slashes in file names in object file debugging info
1278 # mess up M-x gdb in Emacs.
1280 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1282 for ac_var
in $ac_precious_vars; do
1283 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1284 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1285 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1286 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1290 # Report the --help message.
1292 if test "$ac_init_help" = "long"; then
1293 # Omit some internal or obsolete options to make the list less imposing.
1294 # This message is too long to be a string in the A/UX 3.1 sh.
1296 \`configure' configures this package to adapt to many kinds of systems.
1298 Usage: $0 [OPTION]... [VAR=VALUE]...
1300 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1301 VAR=VALUE. See below for descriptions of some of the useful variables.
1303 Defaults for the options are specified in brackets.
1306 -h, --help display this help and exit
1307 --help=short display options specific to this package
1308 --help=recursive display the short help of all the included packages
1309 -V, --version display version information and exit
1310 -q, --quiet, --silent do not print \`checking...' messages
1311 --cache-file=FILE cache test results in FILE [disabled]
1312 -C, --config-cache alias for \`--cache-file=config.cache'
1313 -n, --no-create do not create output files
1314 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1316 Installation directories:
1317 --prefix=PREFIX install architecture-independent files in PREFIX
1318 [$ac_default_prefix]
1319 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1322 By default, \`make install' will install all the files in
1323 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1324 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1325 for instance \`--prefix=\$HOME'.
1327 For better control, use the options below.
1329 Fine tuning of the installation directories:
1330 --bindir=DIR user executables [EPREFIX/bin]
1331 --sbindir=DIR system admin executables [EPREFIX/sbin]
1332 --libexecdir=DIR program executables [EPREFIX/libexec]
1333 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1334 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1335 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1336 --libdir=DIR object code libraries [EPREFIX/lib]
1337 --includedir=DIR C header files [PREFIX/include]
1338 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1339 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1340 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1341 --infodir=DIR info documentation [DATAROOTDIR/info]
1342 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1343 --mandir=DIR man documentation [DATAROOTDIR/man]
1344 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1345 --htmldir=DIR html documentation [DOCDIR]
1346 --dvidir=DIR dvi documentation [DOCDIR]
1347 --pdfdir=DIR pdf documentation [DOCDIR]
1348 --psdir=DIR ps documentation [DOCDIR]
1354 --program-prefix=PREFIX prepend PREFIX to installed program names
1355 --program-suffix=SUFFIX append SUFFIX to installed program names
1356 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1359 --x-includes=DIR X include files are
in DIR
1360 --x-libraries=DIR X library files are
in DIR
1363 --build=BUILD configure
for building on BUILD
[guessed
]
1364 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1368 if test -n "$ac_init_help"; then
1373 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1374 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1375 --enable-maintainer-mode enable make rules and dependencies not useful
1376 (and sometimes confusing
) to the casual installer
1377 --disable-dependency-tracking speeds up one-time build
1378 --enable-dependency-tracking do not reject slow dependency extractors
1379 --enable-doc Build and
install the documentation
[default
=yes]
1380 --enable-dbus Enable DBUS IPC
1381 --disable-gif Disable support
for gif output when the png HID is used
[default
=include gif support
]
1382 --disable-jpeg Disable support
for JPEG output when the png HID is used
[default
=include JPEG support
]
1383 --disable-png Disable support
for PNG output when the png HID is used
[default
=include PNG support
]
1384 --disable-xrender Compile and link with Xrender default
=yes
1385 --enable-dmalloc Compile and link with dmalloc
for malloc debugging default
=no
1386 --enable-efence Link with ElectricFence
for malloc debugging default
=no
1389 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1390 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1391 --with-gui= Specify the GUI to use
: batch gtk lesstif
[default
=gtk
]
1392 --with-printer= Specify the printer
: lpr
[default
=lpr
]
1393 --with-exporters= Enable
export devices
: bom gerber nelma png ps
[default
=bom gerber nelma png ps
]
1394 --with-x use the X Window System
1396 Some influential environment variables
:
1397 CC C compiler
command
1398 CFLAGS C compiler flags
1399 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1400 nonstandard directory
<lib dir
>
1401 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1402 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1403 you have headers
in a nonstandard directory
<include dir
>
1405 YACC The
`Yet Another C Compiler' implementation to use. Defaults to
1406 the first program found out of: `bison
-y', `byacc', `yacc'.
1407 YFLAGS The list of arguments that will be passed by default to $YACC.
1408 This script will default YFLAGS to the empty string to avoid a
1409 default value of `-d' given by some make applications.
1410 PKG_CONFIG path to pkg-config utility
1411 DBUS_CFLAGS C compiler flags for DBUS, overriding pkg-config
1412 DBUS_LIBS linker flags for DBUS, overriding pkg-config
1413 XMKMF Path to xmkmf, Makefile generator for X Window System
1414 GTK_CFLAGS C compiler flags for GTK, overriding pkg-config
1415 GTK_LIBS linker flags for GTK, overriding pkg-config
1416 GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1417 GLIB_LIBS linker flags for GLIB, overriding pkg-config
1419 Use these variables to override the choices made by `configure' or to
help
1420 it to
find libraries and programs with nonstandard names
/locations.
1426 if test "$ac_init_help" = "recursive"; then
1427 # If there are subdirs, report their specific --help.
1428 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1429 test -d "$ac_dir" ||
continue
1433 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1435 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1436 # A ".." for each directory in $ac_dir_suffix.
1437 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1438 case $ac_top_builddir_sub in
1439 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1440 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1443 ac_abs_top_builddir
=$ac_pwd
1444 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1445 # for backward compatibility:
1446 ac_top_builddir
=$ac_top_build_prefix
1449 .
) # We are building in place.
1451 ac_top_srcdir
=$ac_top_builddir_sub
1452 ac_abs_top_srcdir
=$ac_pwd ;;
1453 [\\/]* | ?
:[\\/]* ) # Absolute name.
1454 ac_srcdir
=$srcdir$ac_dir_suffix;
1455 ac_top_srcdir
=$srcdir
1456 ac_abs_top_srcdir
=$srcdir ;;
1458 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1459 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1460 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1462 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1464 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1465 # Check for guested configure.
1466 if test -f "$ac_srcdir/configure.gnu"; then
1468 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1469 elif test -f "$ac_srcdir/configure"; then
1471 $SHELL "$ac_srcdir/configure" --help=recursive
1473 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1475 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1479 test -n "$ac_init_help" && exit $ac_status
1480 if $ac_init_version; then
1483 generated by GNU Autoconf
2.61
1485 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1486 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
1487 This configure
script is free software
; the Free Software Foundation
1488 gives unlimited permission to copy
, distribute and modify it.
1492 cat >config.log
<<_ACEOF
1493 This file contains any messages produced by compilers while
1494 running configure, to aid debugging if configure makes a mistake.
1496 It was created by $as_me, which was
1497 generated by GNU Autoconf 2.61. Invocation command line was
1509 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1510 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1511 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1512 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1513 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1515 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1516 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1518 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1519 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1520 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1521 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1522 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1523 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1524 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1528 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1532 test -z "$as_dir" && as_dir
=.
1533 echo "PATH: $as_dir"
1549 # Keep a trace of the command line.
1550 # Strip out --no-create and --no-recursion so they do not pile up.
1551 # Strip out --silent because we don't want to record it for future runs.
1552 # Also quote any args containing shell meta-characters.
1553 # Make two passes to allow for proper duplicate-argument suppression.
1557 ac_must_keep_next
=false
1563 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1564 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1565 |
-silent |
--silent |
--silen |
--sile |
--sil)
1568 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1571 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1573 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1574 if test $ac_must_keep_next = true
; then
1575 ac_must_keep_next
=false
# Got value, back to normal.
1578 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1579 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1580 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1581 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1582 case "$ac_configure_args0 " in
1583 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1586 -* ) ac_must_keep_next
=true
;;
1589 ac_configure_args
="$ac_configure_args '$ac_arg'"
1594 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1595 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1597 # When interrupted or exit'd, cleanup temporary files, and complete
1598 # config.log. We remove comments because anyway the quotes in there
1599 # would cause problems or look ugly.
1600 # WARNING: Use '\'' to represent an apostrophe within the trap.
1601 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1602 trap 'exit_status=$?
1603 # Save into config.log some information that might help in debugging.
1608 ## ---------------- ##
1609 ## Cache variables. ##
1610 ## ---------------- ##
1613 # The following way of writing the cache mishandles newlines in values,
1615 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1616 eval ac_val=\$$ac_var
1620 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1621 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1624 _ | IFS | as_nl) ;; #(
1625 *) $as_unset $ac_var ;;
1630 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1631 *${as_nl}ac_space=\ *)
1633 "s/'\''/'\''\\\\'\'''\''/g;
1634 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1637 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1645 ## ----------------- ##
1646 ## Output variables. ##
1647 ## ----------------- ##
1650 for ac_var in $ac_subst_vars
1652 eval ac_val=\$$ac_var
1654 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1656 echo "$ac_var='\''$ac_val'\''"
1660 if test -n "$ac_subst_files"; then
1662 ## ------------------- ##
1663 ## File substitutions. ##
1664 ## ------------------- ##
1667 for ac_var
in $ac_subst_files
1669 eval ac_val
=\$
$ac_var
1671 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1673 echo "$ac_var='\''$ac_val'\''"
1678 if test -s confdefs.h; then
1688 test "$ac_signal" != 0 &&
1689 echo "$as_me: caught signal $ac_signal"
1690 echo "$as_me: exit $exit_status"
1692 rm -f core *.core core.conftest.* &&
1693 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1696 for ac_signal
in 1 2 13 15; do
1697 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1701 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1702 rm -f -r conftest
* confdefs.h
1704 # Predefined preprocessor variables.
1706 cat >>confdefs.h
<<_ACEOF
1707 #define PACKAGE_NAME "$PACKAGE_NAME"
1711 cat >>confdefs.h
<<_ACEOF
1712 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1716 cat >>confdefs.h
<<_ACEOF
1717 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1721 cat >>confdefs.h
<<_ACEOF
1722 #define PACKAGE_STRING "$PACKAGE_STRING"
1726 cat >>confdefs.h
<<_ACEOF
1727 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1731 # Let the site file select an alternate cache file if it wants to.
1732 # Prefer explicitly selected file to automatically selected ones.
1733 if test -n "$CONFIG_SITE"; then
1734 set x
"$CONFIG_SITE"
1735 elif test "x$prefix" != xNONE
; then
1736 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
1738 set x
"$ac_default_prefix/share/config.site" \
1739 "$ac_default_prefix/etc/config.site"
1744 if test -r "$ac_site_file"; then
1745 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1746 echo "$as_me: loading site script $ac_site_file" >&6;}
1747 sed 's/^/| /' "$ac_site_file" >&5
1752 if test -r "$cache_file"; then
1753 # Some versions of bash will fail to source /dev/null (special
1754 # files actually), so we avoid doing that.
1755 if test -f "$cache_file"; then
1756 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1757 echo "$as_me: loading cache $cache_file" >&6;}
1759 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1760 *) .
"./$cache_file";;
1764 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1765 echo "$as_me: creating cache $cache_file" >&6;}
1769 # Check that the precious variables saved in the cache have kept the same
1771 ac_cache_corrupted
=false
1772 for ac_var
in $ac_precious_vars; do
1773 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1774 eval ac_new_set
=\
$ac_env_${ac_var}_set
1775 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1776 eval ac_new_val
=\
$ac_env_${ac_var}_value
1777 case $ac_old_set,$ac_new_set in
1779 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1780 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1781 ac_cache_corrupted
=: ;;
1783 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1784 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1785 ac_cache_corrupted
=: ;;
1788 if test "x$ac_old_val" != "x$ac_new_val"; then
1789 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1790 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1791 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1792 echo "$as_me: former value: $ac_old_val" >&2;}
1793 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1794 echo "$as_me: current value: $ac_new_val" >&2;}
1795 ac_cache_corrupted
=:
1798 # Pass precious variables to config.status.
1799 if test "$ac_new_set" = set; then
1801 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1802 *) ac_arg
=$ac_var=$ac_new_val ;;
1804 case " $ac_configure_args " in
1805 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1806 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1810 if $ac_cache_corrupted; then
1811 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1812 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1813 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1814 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1815 { (exit 1); exit 1; }; }
1835 ac_cpp
='$CPP $CPPFLAGS'
1836 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1837 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1838 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1841 am__api_version
='1.10'
1844 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1845 if test -f "$ac_dir/install-sh"; then
1847 ac_install_sh
="$ac_aux_dir/install-sh -c"
1849 elif test -f "$ac_dir/install.sh"; then
1851 ac_install_sh
="$ac_aux_dir/install.sh -c"
1853 elif test -f "$ac_dir/shtool"; then
1855 ac_install_sh
="$ac_aux_dir/shtool install -c"
1859 if test -z "$ac_aux_dir"; then
1860 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1861 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1862 { (exit 1); exit 1; }; }
1865 # These three variables are undocumented and unsupported,
1866 # and are intended to be withdrawn in a future Autoconf release.
1867 # They can cause serious problems if a builder's source tree is in a directory
1868 # whose full name contains unusual characters.
1869 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1870 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1871 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1874 # Find a good install program. We prefer a C program (faster),
1875 # so one script is as good as another. But avoid the broken or
1876 # incompatible versions:
1877 # SysV /etc/install, /usr/sbin/install
1878 # SunOS /usr/etc/install
1879 # IRIX /sbin/install
1881 # AmigaOS /C/install, which installs bootblocks on floppy discs
1882 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1883 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1884 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1885 # OS/2's system install, which has a completely different semantic
1886 # ./install, which can be erroneously created by make from ./install.sh.
1887 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1888 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1889 if test -z "$INSTALL"; then
1890 if test "${ac_cv_path_install+set}" = set; then
1891 echo $ECHO_N "(cached) $ECHO_C" >&6
1893 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1897 test -z "$as_dir" && as_dir
=.
1898 # Account for people who put trailing slashes in PATH elements.
1900 .
/ | .
// |
/cC
/* | \
1901 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1902 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1905 # OSF1 and SCO ODT 3.0 have their own names for install.
1906 # Don't use installbsd from OSF since it installs stuff as root
1908 for ac_prog
in ginstall scoinst
install; do
1909 for ac_exec_ext
in '' $ac_executable_extensions; do
1910 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1911 if test $ac_prog = install &&
1912 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1913 # AIX install. It has an incompatible calling convention.
1915 elif test $ac_prog = install &&
1916 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1917 # program-specific install script used by HP pwplus--don't use.
1920 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1933 if test "${ac_cv_path_install+set}" = set; then
1934 INSTALL
=$ac_cv_path_install
1936 # As a last resort, use the slow shell script. Don't cache a
1937 # value for INSTALL within a source directory, because that will
1938 # break other packages using the cache if that directory is
1939 # removed, or if the value is a relative name.
1940 INSTALL
=$ac_install_sh
1943 { echo "$as_me:$LINENO: result: $INSTALL" >&5
1944 echo "${ECHO_T}$INSTALL" >&6; }
1946 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1947 # It thinks the first close brace ends the variable substitution.
1948 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1950 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1952 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1954 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1955 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1958 echo timestamp
> conftest.
file
1959 # Do `set' in a subshell so we don't clobber the current shell's
1960 # arguments. Must try -L first in case configure is actually a
1961 # symlink; some systems play weird games with the mod time of symlinks
1962 # (eg FreeBSD returns the mod time of the symlink's containing
1965 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1966 if test "$*" = "X"; then
1968 set X
`ls -t $srcdir/configure conftest.file`
1971 if test "$*" != "X $srcdir/configure conftest.file" \
1972 && test "$*" != "X conftest.file $srcdir/configure"; then
1974 # If neither matched, then we have a broken ls. This can happen
1975 # if, for instance, CONFIG_SHELL is bash and it inherits a
1976 # broken ls alias from the environment. This has actually
1977 # happened. Such a system could not be considered "sane".
1978 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1979 alias in your environment" >&5
1980 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1981 alias in your environment" >&2;}
1982 { (exit 1); exit 1; }; }
1985 test "$2" = conftest.
file
1991 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1992 Check your system clock" >&5
1993 echo "$as_me: error: newly created file is older than distributed files!
1994 Check your system clock" >&2;}
1995 { (exit 1); exit 1; }; }
1997 { echo "$as_me:$LINENO: result: yes" >&5
1998 echo "${ECHO_T}yes" >&6; }
1999 test "$program_prefix" != NONE
&&
2000 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2001 # Use a double $ so make ignores it.
2002 test "$program_suffix" != NONE
&&
2003 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2004 # Double any \ or $. echo might interpret backslashes.
2005 # By default was `s,x,x', remove it if useless.
2006 cat <<\_ACEOF
>conftest.
sed
2007 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
2009 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
2012 # expand $ac_aux_dir to an absolute path
2013 am_aux_dir
=`cd $ac_aux_dir && pwd`
2015 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
2016 # Use eval to expand $SHELL
2017 if eval "$MISSING --run true"; then
2018 am_missing_run
="$MISSING --run "
2021 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2022 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2025 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2026 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2027 if test -z "$MKDIR_P"; then
2028 if test "${ac_cv_path_mkdir+set}" = set; then
2029 echo $ECHO_N "(cached) $ECHO_C" >&6
2031 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2032 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2035 test -z "$as_dir" && as_dir
=.
2036 for ac_prog
in mkdir gmkdir
; do
2037 for ac_exec_ext
in '' $ac_executable_extensions; do
2038 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2039 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2040 'mkdir (GNU coreutils) '* | \
2041 'mkdir (coreutils) '* | \
2042 'mkdir (fileutils) '4.1*)
2043 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2053 if test "${ac_cv_path_mkdir+set}" = set; then
2054 MKDIR_P
="$ac_cv_path_mkdir -p"
2056 # As a last resort, use the slow shell script. Don't cache a
2057 # value for MKDIR_P within a source directory, because that will
2058 # break other packages using the cache if that directory is
2059 # removed, or if the value is a relative name.
2060 test -d .
/--version && rmdir .
/--version
2061 MKDIR_P
="$ac_install_sh -d"
2064 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2065 echo "${ECHO_T}$MKDIR_P" >&6; }
2069 [\\/$
]* | ?
:[\\/]*) ;;
2070 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2073 for ac_prog
in gawk mawk nawk
awk
2075 # Extract the first word of "$ac_prog", so it can be a program name with args.
2076 set dummy
$ac_prog; ac_word
=$2
2077 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2078 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2079 if test "${ac_cv_prog_AWK+set}" = set; then
2080 echo $ECHO_N "(cached) $ECHO_C" >&6
2082 if test -n "$AWK"; then
2083 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2085 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2089 test -z "$as_dir" && as_dir
=.
2090 for ac_exec_ext
in '' $ac_executable_extensions; do
2091 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2092 ac_cv_prog_AWK
="$ac_prog"
2093 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2103 if test -n "$AWK"; then
2104 { echo "$as_me:$LINENO: result: $AWK" >&5
2105 echo "${ECHO_T}$AWK" >&6; }
2107 { echo "$as_me:$LINENO: result: no" >&5
2108 echo "${ECHO_T}no" >&6; }
2112 test -n "$AWK" && break
2115 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2116 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2117 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2118 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2119 echo $ECHO_N "(cached) $ECHO_C" >&6
2121 cat >conftest.
make <<\_ACEOF
2124 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2126 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2127 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2129 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2131 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2135 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2136 { echo "$as_me:$LINENO: result: yes" >&5
2137 echo "${ECHO_T}yes" >&6; }
2140 { echo "$as_me:$LINENO: result: no" >&5
2141 echo "${ECHO_T}no" >&6; }
2142 SET_MAKE
="MAKE=${MAKE-make}"
2145 rm -rf .tst
2>/dev
/null
2146 mkdir .tst
2>/dev
/null
2147 if test -d .tst
; then
2152 rmdir .tst
2>/dev
/null
2154 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2155 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2156 # is not polluted with repeated "-I."
2157 am__isrc
=' -I$(srcdir)'
2158 # test to see if srcdir already configured
2159 if test -f $srcdir/config.status
; then
2160 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2161 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2162 { (exit 1); exit 1; }; }
2166 # test whether we have cygpath
2167 if test -z "$CYGPATH_W"; then
2168 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2169 CYGPATH_W
='cygpath -w'
2176 # Define the identity of the package.
2181 cat >>confdefs.h
<<_ACEOF
2182 #define PACKAGE "$PACKAGE"
2186 cat >>confdefs.h
<<_ACEOF
2187 #define VERSION "$VERSION"
2190 # Some tools Automake needs.
2192 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2195 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2198 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2201 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2204 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2206 install_sh
=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2208 # Installed binaries are usually stripped using `strip' when the user
2209 # run `make install-strip'. However `strip' might not be the right
2210 # tool to use in cross-compilation environments, therefore Automake
2211 # will honor the `STRIP' environment variable to overrule this program.
2212 if test "$cross_compiling" != no
; then
2213 if test -n "$ac_tool_prefix"; then
2214 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2215 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2216 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2217 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2218 if test "${ac_cv_prog_STRIP+set}" = set; then
2219 echo $ECHO_N "(cached) $ECHO_C" >&6
2221 if test -n "$STRIP"; then
2222 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2224 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2228 test -z "$as_dir" && as_dir
=.
2229 for ac_exec_ext
in '' $ac_executable_extensions; do
2230 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2231 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2232 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2241 STRIP
=$ac_cv_prog_STRIP
2242 if test -n "$STRIP"; then
2243 { echo "$as_me:$LINENO: result: $STRIP" >&5
2244 echo "${ECHO_T}$STRIP" >&6; }
2246 { echo "$as_me:$LINENO: result: no" >&5
2247 echo "${ECHO_T}no" >&6; }
2252 if test -z "$ac_cv_prog_STRIP"; then
2254 # Extract the first word of "strip", so it can be a program name with args.
2255 set dummy strip
; ac_word
=$2
2256 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2257 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2258 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2259 echo $ECHO_N "(cached) $ECHO_C" >&6
2261 if test -n "$ac_ct_STRIP"; then
2262 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2264 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2268 test -z "$as_dir" && as_dir
=.
2269 for ac_exec_ext
in '' $ac_executable_extensions; do
2270 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2271 ac_cv_prog_ac_ct_STRIP
="strip"
2272 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2281 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2282 if test -n "$ac_ct_STRIP"; then
2283 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2284 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2286 { echo "$as_me:$LINENO: result: no" >&5
2287 echo "${ECHO_T}no" >&6; }
2290 if test "x$ac_ct_STRIP" = x
; then
2293 case $cross_compiling:$ac_tool_warned in
2295 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2296 whose name does not start with the host triplet. If you think this
2297 configuration is useful to you, please write to autoconf@gnu.org." >&5
2298 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2299 whose name does not start with the host triplet. If you think this
2300 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2301 ac_tool_warned
=yes ;;
2306 STRIP
="$ac_cv_prog_STRIP"
2310 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2312 # We need awk for the "check" target. The system "awk" is bad on
2314 # Always define AMTAR for backward compatibility.
2316 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2318 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2324 ac_config_headers
="$ac_config_headers config.h"
2327 { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2328 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
2329 # Check whether --enable-maintainer-mode was given.
2330 if test "${enable_maintainer_mode+set}" = set; then
2331 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
2333 USE_MAINTAINER_MODE
=no
2336 { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2337 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
2338 if test $USE_MAINTAINER_MODE = yes; then
2339 MAINTAINER_MODE_TRUE
=
2340 MAINTAINER_MODE_FALSE
='#'
2342 MAINTAINER_MODE_TRUE
='#'
2343 MAINTAINER_MODE_FALSE
=
2346 MAINT
=$MAINTAINER_MODE_TRUE
2350 # Make sure we can run config.sub.
2351 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2352 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2353 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2354 { (exit 1); exit 1; }; }
2356 { echo "$as_me:$LINENO: checking build system type" >&5
2357 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2358 if test "${ac_cv_build+set}" = set; then
2359 echo $ECHO_N "(cached) $ECHO_C" >&6
2361 ac_build_alias
=$build_alias
2362 test "x$ac_build_alias" = x
&&
2363 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2364 test "x$ac_build_alias" = x
&&
2365 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2366 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2367 { (exit 1); exit 1; }; }
2368 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2369 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2370 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2371 { (exit 1); exit 1; }; }
2374 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2375 echo "${ECHO_T}$ac_cv_build" >&6; }
2376 case $ac_cv_build in
2378 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2379 echo "$as_me: error: invalid value of canonical build" >&2;}
2380 { (exit 1); exit 1; }; };;
2383 ac_save_IFS
=$IFS; IFS
='-'
2389 # Remember, the first character of IFS is used to create $*,
2390 # except with old shells:
2393 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2396 { echo "$as_me:$LINENO: checking host system type" >&5
2397 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2398 if test "${ac_cv_host+set}" = set; then
2399 echo $ECHO_N "(cached) $ECHO_C" >&6
2401 if test "x$host_alias" = x
; then
2402 ac_cv_host
=$ac_cv_build
2404 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2405 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2406 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2407 { (exit 1); exit 1; }; }
2411 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2412 echo "${ECHO_T}$ac_cv_host" >&6; }
2415 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2416 echo "$as_me: error: invalid value of canonical host" >&2;}
2417 { (exit 1); exit 1; }; };;
2420 ac_save_IFS
=$IFS; IFS
='-'
2426 # Remember, the first character of IFS is used to create $*,
2427 # except with old shells:
2430 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2433 { echo "$as_me:$LINENO: checking for windows" >&5
2434 echo $ECHO_N "checking for windows... $ECHO_C" >&6; }
2435 PCB_PATH_DELIMETER
=":"
2436 PCB_DIR_SEPARATOR_S
="/"
2437 PCB_DIR_SEPARATOR_C
='/'
2440 CFLAGS
="$CFLAGS ${CYGWIN_CFLAGS}"
2441 CPPFLAGS
="$CPPFLAGS ${CYGWIN_CPPFLAGS}"
2446 CFLAGS
="$CFLAGS ${MINGW_CFLAGS:--mms-bitfields -mwindows}"
2447 CPPFLAGS
="$CPPFLAGS ${MINGW_CPPFLAGS:--mms-bitfields -mwindows}"
2455 { echo "$as_me:$LINENO: result: $WIN32" >&5
2456 echo "${ECHO_T}$WIN32" >&6; }
2458 if test x
$WIN32 = xyes
; then
2466 if test "x$WIN32" = "xyes" ; then
2467 PCB_PATH_DELIMETER
=";"
2468 PCB_DIR_SEPARATOR_S
="\\\\"
2469 PCB_DIR_SEPARATOR_C
='\\'
2473 cat >>confdefs.h
<<_ACEOF
2474 #define PCB_DIR_SEPARATOR_C '$PCB_DIR_SEPARATOR_C'
2478 cat >>confdefs.h
<<_ACEOF
2479 #define PCB_DIR_SEPARATOR_S "$PCB_DIR_SEPARATOR_S"
2483 cat >>confdefs.h
<<_ACEOF
2484 #define PCB_PATH_DELIMETER "$PCB_PATH_DELIMETER"
2490 ac_cpp
='$CPP $CPPFLAGS'
2491 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2492 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2493 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2494 if test -n "$ac_tool_prefix"; then
2495 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2496 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2497 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2498 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2499 if test "${ac_cv_prog_CC+set}" = set; then
2500 echo $ECHO_N "(cached) $ECHO_C" >&6
2502 if test -n "$CC"; then
2503 ac_cv_prog_CC
="$CC" # Let the user override the test.
2505 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2509 test -z "$as_dir" && as_dir
=.
2510 for ac_exec_ext
in '' $ac_executable_extensions; do
2511 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2512 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2513 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2523 if test -n "$CC"; then
2524 { echo "$as_me:$LINENO: result: $CC" >&5
2525 echo "${ECHO_T}$CC" >&6; }
2527 { echo "$as_me:$LINENO: result: no" >&5
2528 echo "${ECHO_T}no" >&6; }
2533 if test -z "$ac_cv_prog_CC"; then
2535 # Extract the first word of "gcc", so it can be a program name with args.
2536 set dummy gcc
; ac_word
=$2
2537 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2538 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2539 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2540 echo $ECHO_N "(cached) $ECHO_C" >&6
2542 if test -n "$ac_ct_CC"; then
2543 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2545 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2549 test -z "$as_dir" && as_dir
=.
2550 for ac_exec_ext
in '' $ac_executable_extensions; do
2551 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2552 ac_cv_prog_ac_ct_CC
="gcc"
2553 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2562 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2563 if test -n "$ac_ct_CC"; then
2564 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2565 echo "${ECHO_T}$ac_ct_CC" >&6; }
2567 { echo "$as_me:$LINENO: result: no" >&5
2568 echo "${ECHO_T}no" >&6; }
2571 if test "x$ac_ct_CC" = x
; then
2574 case $cross_compiling:$ac_tool_warned in
2576 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2577 whose name does not start with the host triplet. If you think this
2578 configuration is useful to you, please write to autoconf@gnu.org." >&5
2579 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2580 whose name does not start with the host triplet. If you think this
2581 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2582 ac_tool_warned
=yes ;;
2590 if test -z "$CC"; then
2591 if test -n "$ac_tool_prefix"; then
2592 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2593 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2594 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2595 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2596 if test "${ac_cv_prog_CC+set}" = set; then
2597 echo $ECHO_N "(cached) $ECHO_C" >&6
2599 if test -n "$CC"; then
2600 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 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2610 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2620 if test -n "$CC"; then
2621 { echo "$as_me:$LINENO: result: $CC" >&5
2622 echo "${ECHO_T}$CC" >&6; }
2624 { echo "$as_me:$LINENO: result: no" >&5
2625 echo "${ECHO_T}no" >&6; }
2631 if test -z "$CC"; then
2632 # Extract the first word of "cc", so it can be a program name with args.
2633 set dummy cc
; ac_word
=$2
2634 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2635 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2636 if test "${ac_cv_prog_CC+set}" = set; then
2637 echo $ECHO_N "(cached) $ECHO_C" >&6
2639 if test -n "$CC"; then
2640 ac_cv_prog_CC
="$CC" # Let the user override the test.
2643 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2647 test -z "$as_dir" && as_dir
=.
2648 for ac_exec_ext
in '' $ac_executable_extensions; do
2649 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2650 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2651 ac_prog_rejected
=yes
2655 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2662 if test $ac_prog_rejected = yes; then
2663 # We found a bogon in the path, so make sure we never use it.
2664 set dummy
$ac_cv_prog_CC
2666 if test $# != 0; then
2667 # We chose a different compiler from the bogus one.
2668 # However, it has the same basename, so the bogon will be chosen
2669 # first if we set CC to just the basename; use the full file name.
2671 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2677 if test -n "$CC"; then
2678 { echo "$as_me:$LINENO: result: $CC" >&5
2679 echo "${ECHO_T}$CC" >&6; }
2681 { echo "$as_me:$LINENO: result: no" >&5
2682 echo "${ECHO_T}no" >&6; }
2687 if test -z "$CC"; then
2688 if test -n "$ac_tool_prefix"; then
2689 for ac_prog
in cl.exe
2691 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2692 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2693 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2694 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2695 if test "${ac_cv_prog_CC+set}" = set; then
2696 echo $ECHO_N "(cached) $ECHO_C" >&6
2698 if test -n "$CC"; then
2699 ac_cv_prog_CC
="$CC" # Let the user override the test.
2701 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2705 test -z "$as_dir" && as_dir
=.
2706 for ac_exec_ext
in '' $ac_executable_extensions; do
2707 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2708 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2709 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2719 if test -n "$CC"; then
2720 { echo "$as_me:$LINENO: result: $CC" >&5
2721 echo "${ECHO_T}$CC" >&6; }
2723 { echo "$as_me:$LINENO: result: no" >&5
2724 echo "${ECHO_T}no" >&6; }
2728 test -n "$CC" && break
2731 if test -z "$CC"; then
2733 for ac_prog
in cl.exe
2735 # Extract the first word of "$ac_prog", so it can be a program name with args.
2736 set dummy
$ac_prog; ac_word
=$2
2737 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2738 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2739 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2740 echo $ECHO_N "(cached) $ECHO_C" >&6
2742 if test -n "$ac_ct_CC"; then
2743 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2745 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2749 test -z "$as_dir" && as_dir
=.
2750 for ac_exec_ext
in '' $ac_executable_extensions; do
2751 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2752 ac_cv_prog_ac_ct_CC
="$ac_prog"
2753 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2762 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2763 if test -n "$ac_ct_CC"; then
2764 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2765 echo "${ECHO_T}$ac_ct_CC" >&6; }
2767 { echo "$as_me:$LINENO: result: no" >&5
2768 echo "${ECHO_T}no" >&6; }
2772 test -n "$ac_ct_CC" && break
2775 if test "x$ac_ct_CC" = x
; then
2778 case $cross_compiling:$ac_tool_warned in
2780 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2781 whose name does not start with the host triplet. If you think this
2782 configuration is useful to you, please write to autoconf@gnu.org." >&5
2783 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2784 whose name does not start with the host triplet. If you think this
2785 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2786 ac_tool_warned
=yes ;;
2795 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2796 See \`config.log' for more details." >&5
2797 echo "$as_me: error: no acceptable C compiler found in \$PATH
2798 See \`config.log' for more details." >&2;}
2799 { (exit 1); exit 1; }; }
2801 # Provide some information about the compiler.
2802 echo "$as_me:$LINENO: checking for C compiler version" >&5
2803 ac_compiler
=`set X $ac_compile; echo $2`
2804 { (ac_try
="$ac_compiler --version >&5"
2806 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2807 *) ac_try_echo=$ac_try;;
2809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2810 (eval "$ac_compiler --version >&5") 2>&5
2812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2813 (exit $ac_status); }
2814 { (ac_try="$ac_compiler -v >&5"
2816 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2817 *) ac_try_echo
=$ac_try;;
2819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2820 (eval "$ac_compiler -v >&5") 2>&5
2822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2823 (exit $ac_status); }
2824 { (ac_try
="$ac_compiler -V >&5"
2826 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2827 *) ac_try_echo=$ac_try;;
2829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2830 (eval "$ac_compiler -V >&5") 2>&5
2832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2833 (exit $ac_status); }
2835 cat >conftest.$ac_ext <<_ACEOF
2838 cat confdefs.h >>conftest.$ac_ext
2839 cat >>conftest.$ac_ext <<_ACEOF
2840 /* end confdefs.h. */
2850 ac_clean_files_save=$ac_clean_files
2851 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2852 # Try to create an executable without -o first, disregard a.out.
2853 # It will help us diagnose broken compilers, and finding out an intuition
2855 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2856 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2857 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2859 # List of possible output files, starting from the most likely.
2860 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2861 # only as a last resort. b.out is created by i960 compilers.
2862 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2864 # The IRIX 6 linker writes into existing files which may not be
2865 # executable, retaining their permissions. Remove them first so a
2866 # subsequent execution test works.
2868 for ac_file in $ac_files
2871 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2872 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2877 if { (ac_try="$ac_link_default"
2879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2880 *) ac_try_echo=$ac_try;;
2882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2883 (eval "$ac_link_default") 2>&5
2885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2886 (exit $ac_status); }; then
2887 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2888 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2889 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2890 # so that the user can short-circuit this test for compilers unknown to
2892 for ac_file
in $ac_files ''
2894 test -f "$ac_file" ||
continue
2896 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
2899 # We found the default executable, but exeext='' is most
2903 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2905 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2907 # We set ac_cv_exeext here because the later test for it is not
2908 # safe: cross compilers may not add the suffix if given an `-o'
2909 # argument, so we may need to know it at that point already.
2910 # Even if this section looks crufty: it has the advantage of
2917 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2923 { echo "$as_me:$LINENO: result: $ac_file" >&5
2924 echo "${ECHO_T}$ac_file" >&6; }
2925 if test -z "$ac_file"; then
2926 echo "$as_me: failed program was:" >&5
2927 sed 's/^/| /' conftest.
$ac_ext >&5
2929 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2930 See \`config.log' for more details." >&5
2931 echo "$as_me: error: C compiler cannot create executables
2932 See \`config.log' for more details." >&2;}
2933 { (exit 77); exit 77; }; }
2936 ac_exeext
=$ac_cv_exeext
2938 # Check that the compiler produces executables we can run. If not, either
2939 # the compiler is broken, or we cross compile.
2940 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2941 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2942 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2943 # If not cross compiling, check that we can run a simple program.
2944 if test "$cross_compiling" != yes; then
2945 if { ac_try
='./$ac_file'
2946 { (case "(($ac_try" in
2947 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2948 *) ac_try_echo=$ac_try;;
2950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2951 (eval "$ac_try") 2>&5
2953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2954 (exit $ac_status); }; }; then
2957 if test "$cross_compiling" = maybe; then
2960 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2961 If you meant to cross compile, use \`--host'.
2962 See \`config.log' for more details.
" >&5
2963 echo "$as_me: error
: cannot run C compiled programs.
2964 If you meant to cross compile
, use \
`--host'.
2965 See \`config.log
' for more details." >&2;}
2966 { (exit 1); exit 1; }; }
2970 { echo "$as_me:$LINENO: result: yes" >&5
2971 echo "${ECHO_T}yes" >&6; }
2973 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2974 ac_clean_files=$ac_clean_files_save
2975 # Check that the compiler produces executables we can run. If not, either
2976 # the compiler is broken, or we cross compile.
2977 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2978 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2979 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2980 echo "${ECHO_T}$cross_compiling" >&6; }
2982 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2983 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2984 if { (ac_try="$ac_link"
2986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2987 *) ac_try_echo=$ac_try;;
2989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2990 (eval "$ac_link") 2>&5
2992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2993 (exit $ac_status); }; then
2994 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2995 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2996 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2998 for ac_file
in conftest.exe conftest conftest.
*; do
2999 test -f "$ac_file" ||
continue
3001 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
3002 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3008 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3009 See \`config.log' for more details." >&5
3010 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3011 See \`config.log' for more details." >&2;}
3012 { (exit 1); exit 1; }; }
3015 rm -f conftest
$ac_cv_exeext
3016 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3017 echo "${ECHO_T}$ac_cv_exeext" >&6; }
3019 rm -f conftest.
$ac_ext
3020 EXEEXT
=$ac_cv_exeext
3022 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
3023 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3024 if test "${ac_cv_objext+set}" = set; then
3025 echo $ECHO_N "(cached) $ECHO_C" >&6
3027 cat >conftest.
$ac_ext <<_ACEOF
3030 cat confdefs.h
>>conftest.
$ac_ext
3031 cat >>conftest.
$ac_ext <<_ACEOF
3032 /* end confdefs.h. */
3042 rm -f conftest.o conftest.obj
3043 if { (ac_try
="$ac_compile"
3045 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3046 *) ac_try_echo=$ac_try;;
3048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3049 (eval "$ac_compile") 2>&5
3051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3052 (exit $ac_status); }; then
3053 for ac_file in conftest.o conftest.obj conftest.*; do
3054 test -f "$ac_file" || continue;
3056 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3057 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3062 echo "$as_me: failed program was:" >&5
3063 sed 's/^/| /' conftest.$ac_ext >&5
3065 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3066 See \`config.log
' for more details." >&5
3067 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3068 See \`config.log' for more details.
" >&2;}
3069 { (exit 1); exit 1; }; }
3072 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3074 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
3075 echo "${ECHO_T}$ac_cv_objext" >&6; }
3076 OBJEXT=$ac_cv_objext
3078 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
3079 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
3080 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3081 echo $ECHO_N "(cached
) $ECHO_C" >&6
3083 cat >conftest.$ac_ext <<_ACEOF
3086 cat confdefs.h >>conftest.$ac_ext
3087 cat >>conftest.$ac_ext <<_ACEOF
3088 /* end confdefs.h. */
3101 rm -f conftest.$ac_objext
3102 if { (ac_try="$ac_compile"
3104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3105 *) ac_try_echo=$ac_try;;
3107 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3108 (eval "$ac_compile") 2>conftest.er1
3110 grep -v '^ *+' conftest.er1 >conftest.err
3112 cat conftest.err >&5
3113 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3114 (exit $ac_status); } && {
3115 test -z "$ac_c_werror_flag" ||
3116 test ! -s conftest.err
3117 } && test -s conftest.$ac_objext; then
3120 echo "$as_me: failed program was
:" >&5
3121 sed 's/^/| /' conftest.$ac_ext >&5
3126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3127 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3130 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
3131 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3132 GCC=`test $ac_compiler_gnu = yes && echo yes`
3133 ac_test_CFLAGS=${CFLAGS+set}
3134 ac_save_CFLAGS=$CFLAGS
3135 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
3136 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
3137 if test "${ac_cv_prog_cc_g+set}" = set; then
3138 echo $ECHO_N "(cached
) $ECHO_C" >&6
3140 ac_save_c_werror_flag=$ac_c_werror_flag
3141 ac_c_werror_flag=yes
3144 cat >conftest.$ac_ext <<_ACEOF
3147 cat confdefs.h >>conftest.$ac_ext
3148 cat >>conftest.$ac_ext <<_ACEOF
3149 /* end confdefs.h. */
3159 rm -f conftest.$ac_objext
3160 if { (ac_try="$ac_compile"
3162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3163 *) ac_try_echo=$ac_try;;
3165 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3166 (eval "$ac_compile") 2>conftest.er1
3168 grep -v '^ *+' conftest.er1 >conftest.err
3170 cat conftest.err >&5
3171 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3172 (exit $ac_status); } && {
3173 test -z "$ac_c_werror_flag" ||
3174 test ! -s conftest.err
3175 } && test -s conftest.$ac_objext; then
3178 echo "$as_me: failed program was
:" >&5
3179 sed 's/^/| /' conftest.$ac_ext >&5
3182 cat >conftest.$ac_ext <<_ACEOF
3185 cat confdefs.h >>conftest.$ac_ext
3186 cat >>conftest.$ac_ext <<_ACEOF
3187 /* end confdefs.h. */
3197 rm -f conftest.$ac_objext
3198 if { (ac_try="$ac_compile"
3200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3201 *) ac_try_echo=$ac_try;;
3203 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3204 (eval "$ac_compile") 2>conftest.er1
3206 grep -v '^ *+' conftest.er1 >conftest.err
3208 cat conftest.err >&5
3209 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3210 (exit $ac_status); } && {
3211 test -z "$ac_c_werror_flag" ||
3212 test ! -s conftest.err
3213 } && test -s conftest.$ac_objext; then
3216 echo "$as_me: failed program was
:" >&5
3217 sed 's/^/| /' conftest.$ac_ext >&5
3219 ac_c_werror_flag=$ac_save_c_werror_flag
3221 cat >conftest.$ac_ext <<_ACEOF
3224 cat confdefs.h >>conftest.$ac_ext
3225 cat >>conftest.$ac_ext <<_ACEOF
3226 /* end confdefs.h. */
3236 rm -f conftest.$ac_objext
3237 if { (ac_try="$ac_compile"
3239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3240 *) ac_try_echo=$ac_try;;
3242 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3243 (eval "$ac_compile") 2>conftest.er1
3245 grep -v '^ *+' conftest.er1 >conftest.err
3247 cat conftest.err >&5
3248 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3249 (exit $ac_status); } && {
3250 test -z "$ac_c_werror_flag" ||
3251 test ! -s conftest.err
3252 } && test -s conftest.$ac_objext; then
3255 echo "$as_me: failed program was
:" >&5
3256 sed 's/^/| /' conftest.$ac_ext >&5
3261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3268 ac_c_werror_flag=$ac_save_c_werror_flag
3270 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
3271 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3272 if test "$ac_test_CFLAGS" = set; then
3273 CFLAGS=$ac_save_CFLAGS
3274 elif test $ac_cv_prog_cc_g = yes; then
3275 if test "$GCC" = yes; then
3281 if test "$GCC" = yes; then
3287 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
3288 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
3289 if test "${ac_cv_prog_cc_c89+set}" = set; then
3290 echo $ECHO_N "(cached
) $ECHO_C" >&6
3292 ac_cv_prog_cc_c89=no
3294 cat >conftest.$ac_ext <<_ACEOF
3297 cat confdefs.h >>conftest.$ac_ext
3298 cat >>conftest.$ac_ext <<_ACEOF
3299 /* end confdefs.h. */
3302 #include <sys/types.h>
3303 #include <sys/stat.h>
3304 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3305 struct buf { int x; };
3306 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3307 static char *e (p, i)
3313 static char *f (char * (*g) (char **, int), char **p, ...)
3318 s = g (p, va_arg (v,int));
3323 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3324 function prototypes and stuff, but not '\xHH' hex character constants.
3325 These don't provoke an error unfortunately, instead are silently treated
3326 as 'x'. The following induces an error, until -std is added to get
3327 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3328 array size at least. It's necessary to write '\x00'==0 to get something
3329 that's true only with -std. */
3330 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3332 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3333 inside strings and character constants. */
3335 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3337 int test (int i, double x);
3338 struct s1 {int (*f) (int a);};
3339 struct s2 {int (*f) (double a);};
3340 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3346 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3351 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3352 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3354 CC="$ac_save_CC $ac_arg"
3355 rm -f conftest.$ac_objext
3356 if { (ac_try="$ac_compile"
3358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3359 *) ac_try_echo=$ac_try;;
3361 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3362 (eval "$ac_compile") 2>conftest.er1
3364 grep -v '^ *+' conftest.er1 >conftest.err
3366 cat conftest.err >&5
3367 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3368 (exit $ac_status); } && {
3369 test -z "$ac_c_werror_flag" ||
3370 test ! -s conftest.err
3371 } && test -s conftest.$ac_objext; then
3372 ac_cv_prog_cc_c89=$ac_arg
3374 echo "$as_me: failed program was
:" >&5
3375 sed 's/^/| /' conftest.$ac_ext >&5
3380 rm -f core conftest.err conftest.$ac_objext
3381 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3383 rm -f conftest.$ac_ext
3388 case "x
$ac_cv_prog_cc_c89" in
3390 { echo "$as_me:$LINENO: result
: none needed
" >&5
3391 echo "${ECHO_T}none needed
" >&6; } ;;
3393 { echo "$as_me:$LINENO: result
: unsupported
" >&5
3394 echo "${ECHO_T}unsupported
" >&6; } ;;
3396 CC="$CC $ac_cv_prog_cc_c89"
3397 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
3398 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3403 ac_cpp='$CPP $CPPFLAGS'
3404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3407 DEPDIR="${am__leading_dot}deps
"
3409 ac_config_commands="$ac_config_commands depfiles
"
3412 am_make=${MAKE-make}
3413 cat > confinc << 'END'
3418 # If we don't find an include directive, just comment out the code.
3419 { echo "$as_me:$LINENO: checking
for style of include used by
$am_make" >&5
3420 echo $ECHO_N "checking
for style of include used by
$am_make...
$ECHO_C" >&6; }
3424 # First try GNU make style include.
3425 echo "include confinc" > confmf
3426 # We grep out `Entering directory' and `Leaving directory'
3427 # messages which can occur if `w' ends up in MAKEFLAGS.
3428 # In particular we don't look at `^make:' because GNU make might
3429 # be invoked under some other name (usually "gmake"), in which
3430 # case it prints its new name instead of `make'.
3431 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3436 # Now try BSD make style include.
3437 if test "$am__include" = "#"; then
3438 echo '.include "confinc"' > confmf
3439 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3440 am__include
=.include
3447 { echo "$as_me:$LINENO: result: $_am_result" >&5
3448 echo "${ECHO_T}$_am_result" >&6; }
3449 rm -f confinc confmf
3451 # Check whether --enable-dependency-tracking was given.
3452 if test "${enable_dependency_tracking+set}" = set; then
3453 enableval
=$enable_dependency_tracking;
3456 if test "x$enable_dependency_tracking" != xno
; then
3457 am_depcomp
="$ac_aux_dir/depcomp"
3460 if test "x$enable_dependency_tracking" != xno; then
3470 depcc
="$CC" am_compiler_list
=
3472 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3473 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3474 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3475 echo $ECHO_N "(cached) $ECHO_C" >&6
3477 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3478 # We make a subdir and do the tests there. Otherwise we can end up
3479 # making bogus files that we don't know about and never remove. For
3480 # instance it was reported that on HP-UX the gcc test will end up
3481 # making a dummy file named `D' -- because `-MD' means `put the output
3484 # Copy depcomp to subdir because otherwise we won't find it if we're
3485 # using a relative directory.
3486 cp "$am_depcomp" conftest.dir
3488 # We will build objects and dependencies in a subdirectory because
3489 # it helps to detect inapplicable dependency modes. For instance
3490 # both Tru64's cc and ICC support -MD to output dependencies as a
3491 # side effect of compilation, but ICC will put the dependencies in
3492 # the current directory while Tru64 will put them in the object
3496 am_cv_CC_dependencies_compiler_type
=none
3497 if test "$am_compiler_list" = ""; then
3498 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3500 for depmode
in $am_compiler_list; do
3501 # Setup a source with many dependencies, because some compilers
3502 # like to wrap large dependency lists on column 80 (with \), and
3503 # we should not choose a depcomp mode which is confused by this.
3505 # We need to recreate these files for each test, as the compiler may
3506 # overwrite some of them when testing with obscure command lines.
3507 # This happens at least with the AIX C compiler.
3509 for i
in 1 2 3 4 5 6; do
3510 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3511 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3512 # Solaris 8's {/usr,}/bin/sh.
3513 touch sub
/conftst
$i.h
3515 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3519 # after this tag, mechanisms are not by side-effect, so they'll
3520 # only be used when explicitly requested
3521 if test "x$enable_dependency_tracking" = xyes
; then
3529 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3530 # mode. It turns out that the SunPro C++ compiler does not properly
3531 # handle `-M -o', and we need to detect this.
3532 if depmode
=$depmode \
3533 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3534 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3535 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3536 >/dev
/null
2>conftest.err
&&
3537 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3538 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3539 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3540 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3541 # icc doesn't choke on unknown options, it will just issue warnings
3542 # or remarks (even with -Werror). So we grep stderr for any message
3543 # that says an option was ignored or not supported.
3544 # When given -MP, icc 7.0 and 7.1 complain thusly:
3545 # icc: Command line warning: ignoring option '-M'; no argument required
3546 # The diagnosis changed in icc 8.0:
3547 # icc: Command line remark: option '-MP' not supported
3548 if (grep 'ignoring option' conftest.err ||
3549 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3550 am_cv_CC_dependencies_compiler_type
=$depmode
3559 am_cv_CC_dependencies_compiler_type
=none
3563 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3564 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3565 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3568 test "x$enable_dependency_tracking" != xno \
3569 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3571 am__fastdepCC_FALSE
='#'
3573 am__fastdepCC_TRUE
='#'
3574 am__fastdepCC_FALSE
=
3579 { echo "$as_me:$LINENO: checking for inline" >&5
3580 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
3581 if test "${ac_cv_c_inline+set}" = set; then
3582 echo $ECHO_N "(cached) $ECHO_C" >&6
3585 for ac_kw
in inline __inline__ __inline
; do
3586 cat >conftest.
$ac_ext <<_ACEOF
3589 cat confdefs.h
>>conftest.
$ac_ext
3590 cat >>conftest.
$ac_ext <<_ACEOF
3591 /* end confdefs.h. */
3594 static $ac_kw foo_t static_foo () {return 0; }
3595 $ac_kw foo_t foo () {return 0; }
3599 rm -f conftest.
$ac_objext
3600 if { (ac_try
="$ac_compile"
3602 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3603 *) ac_try_echo=$ac_try;;
3605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3606 (eval "$ac_compile") 2>conftest.er1
3608 grep -v '^ *+' conftest.er1 >conftest.err
3610 cat conftest.err >&5
3611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3612 (exit $ac_status); } && {
3613 test -z "$ac_c_werror_flag" ||
3614 test ! -s conftest.err
3615 } && test -s conftest.$ac_objext; then
3616 ac_cv_c_inline=$ac_kw
3618 echo "$as_me: failed program was:" >&5
3619 sed 's/^/| /' conftest.$ac_ext >&5
3624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3625 test "$ac_cv_c_inline" != no && break
3629 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
3630 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
3633 case $ac_cv_c_inline in
3636 case $ac_cv_c_inline in
3638 *) ac_val=$ac_cv_c_inline;;
3640 cat >>confdefs.h <<_ACEOF
3642 #define inline $ac_val
3648 case $ac_cv_prog_cc_stdc in
3649 no) ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;;
3650 *) { echo "$as_me:$LINENO: checking for $CC option to accept ISO C99" >&5
3651 echo $ECHO_N "checking for $CC option to accept ISO C99... $ECHO_C" >&6; }
3652 if test "${ac_cv_prog_cc_c99+set}" = set; then
3653 echo $ECHO_N "(cached) $ECHO_C" >&6
3655 ac_cv_prog_cc_c99=no
3657 cat >conftest.$ac_ext <<_ACEOF
3660 cat confdefs.h >>conftest.$ac_ext
3661 cat >>conftest.$ac_ext <<_ACEOF
3662 /* end confdefs.h. */
3664 #include <stdbool.h>
3669 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3670 #define debug(...) fprintf (stderr, __VA_ARGS__)
3671 #define showlist(...) puts (#__VA_ARGS__)
3672 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3674 test_varargs_macros (void)
3679 debug ("X = %d\n", x);
3680 showlist (The first, second, and third items.);
3681 report (x>y, "x is %d but y is %d", x, y);
3684 // Check long long types.
3685 #define BIG64 18446744073709551615ull
3686 #define BIG32 4294967295ul
3687 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3689 your preprocessor is broken;
3693 your preprocessor is broken;
3695 static long long int bignum = -9223372036854775807LL;
3696 static unsigned long long int ubignum = BIG64;
3698 struct incomplete_array
3706 const wchar_t *name;
3710 typedef const char *ccp;
3713 test_restrict (ccp restrict text)
3715 // See if C++-style comments work.
3716 // Iterate through items via the restricted pointer.
3717 // Also check for declarations in for loops.
3718 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3723 // Check varargs and va_copy.
3725 test_varargs (const char *format, ...)
3728 va_start (args, format);
3730 va_copy (args_copy, args);
3741 str = va_arg (args_copy, const char *);
3744 number = va_arg (args_copy, int);
3747 fnumber = va_arg (args_copy, double);
3762 _Bool success = false;
3765 if (test_restrict ("String literal") == 0)
3767 char *restrict newvar = "Another string";
3770 test_varargs ("s, d' f .", "string", 65, 34.234);
3771 test_varargs_macros ();
3773 // Check flexible array members.
3774 struct incomplete_array *ia =
3775 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3777 for (int i = 0; i < ia->datasize; ++i)
3778 ia->data[i] = i * 1.234;
3780 // Check named initializers.
3781 struct named_init ni = {
3783 .name = L"Test wide string",
3784 .average = 543.34343,
3789 int dynamic_array[ni.number];
3790 dynamic_array[ni.number - 1] = 543;
3792 // work around unused variable warnings
3793 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
3794 || dynamic_array[ni.number - 1] != 543);
3800 for ac_arg in '' -std=gnu99 -c99 -qlanglvl=extc99
3802 CC="$ac_save_CC $ac_arg"
3803 rm -f conftest.$ac_objext
3804 if { (ac_try="$ac_compile"
3806 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3807 *) ac_try_echo
=$ac_try;;
3809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3810 (eval "$ac_compile") 2>conftest.er1
3812 grep -v '^ *+' conftest.er1
>conftest.err
3814 cat conftest.err
>&5
3815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3816 (exit $ac_status); } && {
3817 test -z "$ac_c_werror_flag" ||
3818 test ! -s conftest.err
3819 } && test -s conftest.
$ac_objext; then
3820 ac_cv_prog_cc_c99
=$ac_arg
3822 echo "$as_me: failed program was:" >&5
3823 sed 's/^/| /' conftest.
$ac_ext >&5
3828 rm -f core conftest.err conftest.
$ac_objext
3829 test "x$ac_cv_prog_cc_c99" != "xno" && break
3831 rm -f conftest.
$ac_ext
3836 case "x$ac_cv_prog_cc_c99" in
3838 { echo "$as_me:$LINENO: result: none needed" >&5
3839 echo "${ECHO_T}none needed" >&6; } ;;
3841 { echo "$as_me:$LINENO: result: unsupported" >&5
3842 echo "${ECHO_T}unsupported" >&6; } ;;
3844 CC
="$CC $ac_cv_prog_cc_c99"
3845 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c99" >&5
3846 echo "${ECHO_T}$ac_cv_prog_cc_c99" >&6; } ;;
3848 if test "x$ac_cv_prog_cc_c99" != xno
; then
3849 ac_cv_prog_cc_stdc
=$ac_cv_prog_cc_c99
3851 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3852 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3853 if test "${ac_cv_prog_cc_c89+set}" = set; then
3854 echo $ECHO_N "(cached) $ECHO_C" >&6
3856 ac_cv_prog_cc_c89
=no
3858 cat >conftest.
$ac_ext <<_ACEOF
3861 cat confdefs.h
>>conftest.
$ac_ext
3862 cat >>conftest.
$ac_ext <<_ACEOF
3863 /* end confdefs.h. */
3866 #include <sys/types.h>
3867 #include <sys/stat.h>
3868 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3869 struct buf { int x; };
3870 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3871 static char *e (p, i)
3877 static char *f (char * (*g) (char **, int), char **p, ...)
3882 s = g (p, va_arg (v,int));
3887 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3888 function prototypes and stuff, but not '\xHH' hex character constants.
3889 These don't provoke an error unfortunately, instead are silently treated
3890 as 'x'. The following induces an error, until -std is added to get
3891 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3892 array size at least. It's necessary to write '\x00'==0 to get something
3893 that's true only with -std. */
3894 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3896 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3897 inside strings and character constants. */
3899 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3901 int test (int i, double x);
3902 struct s1 {int (*f) (int a);};
3903 struct s2 {int (*f) (double a);};
3904 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3910 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3915 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
3916 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3918 CC
="$ac_save_CC $ac_arg"
3919 rm -f conftest.
$ac_objext
3920 if { (ac_try
="$ac_compile"
3922 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3923 *) ac_try_echo=$ac_try;;
3925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3926 (eval "$ac_compile") 2>conftest.er1
3928 grep -v '^ *+' conftest.er1 >conftest.err
3930 cat conftest.err >&5
3931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3932 (exit $ac_status); } && {
3933 test -z "$ac_c_werror_flag" ||
3934 test ! -s conftest.err
3935 } && test -s conftest.$ac_objext; then
3936 ac_cv_prog_cc_c89=$ac_arg
3938 echo "$as_me: failed program was:" >&5
3939 sed 's/^/| /' conftest.$ac_ext >&5
3944 rm -f core conftest.err conftest.$ac_objext
3945 test "x$ac_cv_prog_cc_c89" != "xno" && break
3947 rm -f conftest.$ac_ext
3952 case "x$ac_cv_prog_cc_c89" in
3954 { echo "$as_me:$LINENO: result: none needed" >&5
3955 echo "${ECHO_T}none needed" >&6; } ;;
3957 { echo "$as_me:$LINENO: result: unsupported" >&5
3958 echo "${ECHO_T}unsupported" >&6; } ;;
3960 CC="$CC $ac_cv_prog_cc_c89"
3961 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3962 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3964 if test "x$ac_cv_prog_cc_c89" != xno; then
3965 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
3967 ac_cv_prog_cc_stdc=no
3975 { echo "$as_me:$LINENO: checking for $CC option to accept ISO Standard C" >&5
3976 echo $ECHO_N "checking for $CC option to accept ISO Standard C... $ECHO_C" >&6; }
3977 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3978 echo $ECHO_N "(cached) $ECHO_C" >&6
3981 case $ac_cv_prog_cc_stdc in
3982 no) { echo "$as_me:$LINENO: result: unsupported" >&5
3983 echo "${ECHO_T}unsupported" >&6; } ;;
3984 '') { echo "$as_me:$LINENO: result: none needed" >&5
3985 echo "${ECHO_T}none needed" >&6; } ;;
3986 *) { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3987 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6; } ;;
3991 if test "x$CC" != xcc; then
3992 { echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
3993 echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6; }
3995 { echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
3996 echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6; }
3998 set dummy $CC; ac_cc=`echo $2 |
3999 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4000 if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then
4001 echo $ECHO_N "(cached) $ECHO_C" >&6
4003 cat >conftest.$ac_ext <<_ACEOF
4006 cat confdefs.h >>conftest.$ac_ext
4007 cat >>conftest.$ac_ext <<_ACEOF
4008 /* end confdefs.h. */
4018 # Make sure it works both with $CC and with simple cc.
4019 # We do the test twice because some compilers refuse to overwrite an
4020 # existing .o file with -o, though they will create one.
4021 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4023 if { (case "(($ac_try" in
4024 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4025 *) ac_try_echo
=$ac_try;;
4027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4028 (eval "$ac_try") 2>&5
4030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4031 (exit $ac_status); } &&
4032 test -f conftest2.
$ac_objext && { (case "(($ac_try" in
4033 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4034 *) ac_try_echo=$ac_try;;
4036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4037 (eval "$ac_try") 2>&5
4039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4040 (exit $ac_status); };
4042 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
4043 if test "x$CC" != xcc; then
4044 # Test first that cc exists at all.
4045 if { ac_try='cc -c conftest.$ac_ext >&5'
4046 { (case "(($ac_try" in
4047 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4048 *) ac_try_echo
=$ac_try;;
4050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4051 (eval "$ac_try") 2>&5
4053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4054 (exit $ac_status); }; }; then
4055 ac_try
='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4057 if { (case "(($ac_try" in
4058 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4059 *) ac_try_echo=$ac_try;;
4061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4062 (eval "$ac_try") 2>&5
4064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4065 (exit $ac_status); } &&
4066 test -f conftest2.$ac_objext && { (case "(($ac_try" in
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_try") 2>&5
4073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4074 (exit $ac_status); };
4079 # cc exists but doesn't like -o.
4080 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
4085 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
4087 rm -f core conftest
*
4090 if eval test \
$ac_cv_prog_cc_${ac_cc}_c_o
= yes; then
4091 { echo "$as_me:$LINENO: result: yes" >&5
4092 echo "${ECHO_T}yes" >&6; }
4094 { echo "$as_me:$LINENO: result: no" >&5
4095 echo "${ECHO_T}no" >&6; }
4097 cat >>confdefs.h
<<\_ACEOF
4098 #define NO_MINUS_C_MINUS_O 1
4103 # FIXME: we rely on the cache variable name because
4104 # there is no other way.
4106 ac_cc
=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4107 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
4108 # Losing compiler, so override with the script.
4109 # FIXME: It is wrong to rewrite CC.
4110 # But if we don't then we get into trouble of one sort or another.
4111 # A longer-term fix would be to have automake use am__CC in this case,
4112 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4113 CC
="$am_aux_dir/compile $CC"
4118 ac_cpp
='$CPP $CPPFLAGS'
4119 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4120 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4121 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4122 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4123 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
4124 # On Suns, sometimes $CPP names a directory.
4125 if test -n "$CPP" && test -d "$CPP"; then
4128 if test -z "$CPP"; then
4129 if test "${ac_cv_prog_CPP+set}" = set; then
4130 echo $ECHO_N "(cached) $ECHO_C" >&6
4132 # Double quotes because CPP needs to be expanded
4133 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4136 for ac_c_preproc_warn_flag
in '' yes
4138 # Use a header file that comes with gcc, so configuring glibc
4139 # with a fresh cross-compiler works.
4140 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4141 # <limits.h> exists even on freestanding compilers.
4142 # On the NeXT, cc -E runs the code through the compiler's parser,
4143 # not just through cpp. "Syntax error" is here to catch this case.
4144 cat >conftest.
$ac_ext <<_ACEOF
4147 cat confdefs.h
>>conftest.
$ac_ext
4148 cat >>conftest.
$ac_ext <<_ACEOF
4149 /* end confdefs.h. */
4151 # include <limits.h>
4153 # include <assert.h>
4157 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4159 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4160 *) ac_try_echo=$ac_try;;
4162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4163 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4165 grep -v '^ *+' conftest.er1 >conftest.err
4167 cat conftest.err >&5
4168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4169 (exit $ac_status); } >/dev/null && {
4170 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4171 test ! -s conftest.err
4175 echo "$as_me: failed program was:" >&5
4176 sed 's/^/| /' conftest.$ac_ext >&5
4178 # Broken: fails on valid input.
4182 rm -f conftest.err conftest.$ac_ext
4184 # OK, works on sane cases. Now check whether nonexistent headers
4185 # can be detected and how.
4186 cat >conftest.$ac_ext <<_ACEOF
4189 cat confdefs.h >>conftest.$ac_ext
4190 cat >>conftest.$ac_ext <<_ACEOF
4191 /* end confdefs.h. */
4192 #include <ac_nonexistent.h>
4194 if { (ac_try="$ac_cpp conftest.$ac_ext"
4196 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4197 *) ac_try_echo
=$ac_try;;
4199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4200 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4202 grep -v '^ *+' conftest.er1
>conftest.err
4204 cat conftest.err
>&5
4205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4206 (exit $ac_status); } >/dev
/null
&& {
4207 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4208 test ! -s conftest.err
4210 # Broken: success on invalid input.
4213 echo "$as_me: failed program was:" >&5
4214 sed 's/^/| /' conftest.
$ac_ext >&5
4216 # Passes both tests.
4221 rm -f conftest.err conftest.
$ac_ext
4224 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4225 rm -f conftest.err conftest.
$ac_ext
4226 if $ac_preproc_ok; then
4238 { echo "$as_me:$LINENO: result: $CPP" >&5
4239 echo "${ECHO_T}$CPP" >&6; }
4241 for ac_c_preproc_warn_flag
in '' yes
4243 # Use a header file that comes with gcc, so configuring glibc
4244 # with a fresh cross-compiler works.
4245 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4246 # <limits.h> exists even on freestanding compilers.
4247 # On the NeXT, cc -E runs the code through the compiler's parser,
4248 # not just through cpp. "Syntax error" is here to catch this case.
4249 cat >conftest.
$ac_ext <<_ACEOF
4252 cat confdefs.h
>>conftest.
$ac_ext
4253 cat >>conftest.
$ac_ext <<_ACEOF
4254 /* end confdefs.h. */
4256 # include <limits.h>
4258 # include <assert.h>
4262 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4264 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4265 *) ac_try_echo=$ac_try;;
4267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4268 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4270 grep -v '^ *+' conftest.er1 >conftest.err
4272 cat conftest.err >&5
4273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4274 (exit $ac_status); } >/dev/null && {
4275 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4276 test ! -s conftest.err
4280 echo "$as_me: failed program was:" >&5
4281 sed 's/^/| /' conftest.$ac_ext >&5
4283 # Broken: fails on valid input.
4287 rm -f conftest.err conftest.$ac_ext
4289 # OK, works on sane cases. Now check whether nonexistent headers
4290 # can be detected and how.
4291 cat >conftest.$ac_ext <<_ACEOF
4294 cat confdefs.h >>conftest.$ac_ext
4295 cat >>conftest.$ac_ext <<_ACEOF
4296 /* end confdefs.h. */
4297 #include <ac_nonexistent.h>
4299 if { (ac_try="$ac_cpp conftest.$ac_ext"
4301 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4302 *) ac_try_echo
=$ac_try;;
4304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4305 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4307 grep -v '^ *+' conftest.er1
>conftest.err
4309 cat conftest.err
>&5
4310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4311 (exit $ac_status); } >/dev
/null
&& {
4312 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4313 test ! -s conftest.err
4315 # Broken: success on invalid input.
4318 echo "$as_me: failed program was:" >&5
4319 sed 's/^/| /' conftest.
$ac_ext >&5
4321 # Passes both tests.
4326 rm -f conftest.err conftest.
$ac_ext
4329 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4330 rm -f conftest.err conftest.
$ac_ext
4331 if $ac_preproc_ok; then
4334 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4335 See \`config.log' for more details." >&5
4336 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4337 See \`config.log' for more details." >&2;}
4338 { (exit 1); exit 1; }; }
4342 ac_cpp
='$CPP $CPPFLAGS'
4343 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4344 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4345 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4347 for ac_prog
in gawk mawk nawk
awk
4349 # Extract the first word of "$ac_prog", so it can be a program name with args.
4350 set dummy
$ac_prog; ac_word
=$2
4351 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4352 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4353 if test "${ac_cv_prog_AWK+set}" = set; then
4354 echo $ECHO_N "(cached) $ECHO_C" >&6
4356 if test -n "$AWK"; then
4357 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4359 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4363 test -z "$as_dir" && as_dir
=.
4364 for ac_exec_ext
in '' $ac_executable_extensions; do
4365 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4366 ac_cv_prog_AWK
="$ac_prog"
4367 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4377 if test -n "$AWK"; then
4378 { echo "$as_me:$LINENO: result: $AWK" >&5
4379 echo "${ECHO_T}$AWK" >&6; }
4381 { echo "$as_me:$LINENO: result: no" >&5
4382 echo "${ECHO_T}no" >&6; }
4386 test -n "$AWK" && break
4390 for ac_prog
in flex
lex
4392 # Extract the first word of "$ac_prog", so it can be a program name with args.
4393 set dummy
$ac_prog; ac_word
=$2
4394 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4395 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4396 if test "${ac_cv_prog_LEX+set}" = set; then
4397 echo $ECHO_N "(cached) $ECHO_C" >&6
4399 if test -n "$LEX"; then
4400 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
4402 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4406 test -z "$as_dir" && as_dir
=.
4407 for ac_exec_ext
in '' $ac_executable_extensions; do
4408 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4409 ac_cv_prog_LEX
="$ac_prog"
4410 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4420 if test -n "$LEX"; then
4421 { echo "$as_me:$LINENO: result: $LEX" >&5
4422 echo "${ECHO_T}$LEX" >&6; }
4424 { echo "$as_me:$LINENO: result: no" >&5
4425 echo "${ECHO_T}no" >&6; }
4429 test -n "$LEX" && break
4431 test -n "$LEX" || LEX
=":"
4433 if test "x$LEX" != "x:"; then
4434 cat >conftest.l
<<_ACEOF
4440 e { yyless (input () != 0); }
4441 f { unput (yytext[0]); }
4442 . { BEGIN INITIAL; }
4444 #ifdef YYTEXT_POINTER
4445 extern char *yytext;
4450 return ! yylex () + ! yywrap ();
4453 { (ac_try
="$LEX conftest.l"
4455 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4456 *) ac_try_echo=$ac_try;;
4458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4459 (eval "$LEX conftest.l") 2>&5
4461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4462 (exit $ac_status); }
4463 { echo "$as_me:$LINENO: checking lex output file root" >&5
4464 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6; }
4465 if test "${ac_cv_prog_lex_root+set}" = set; then
4466 echo $ECHO_N "(cached) $ECHO_C" >&6
4469 if test -f lex.yy.c; then
4470 ac_cv_prog_lex_root=lex.yy
4471 elif test -f lexyy.c; then
4472 ac_cv_prog_lex_root=lexyy
4474 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
4475 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
4476 { (exit 1); exit 1; }; }
4479 { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
4480 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6; }
4481 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
4483 if test -z "${LEXLIB+set}"; then
4484 { echo "$as_me:$LINENO: checking lex library" >&5
4485 echo $ECHO_N "checking lex library... $ECHO_C" >&6; }
4486 if test "${ac_cv_lib_lex+set}" = set; then
4487 echo $ECHO_N "(cached) $ECHO_C" >&6
4491 ac_cv_lib_lex='none needed'
4492 for ac_lib in '' -lfl -ll; do
4493 LIBS="$ac_lib $ac_save_LIBS"
4494 cat >conftest.$ac_ext <<_ACEOF
4495 `cat $LEX_OUTPUT_ROOT.c
`
4497 rm -f conftest.$ac_objext conftest$ac_exeext
4498 if { (ac_try="$ac_link"
4500 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4501 *) ac_try_echo
=$ac_try;;
4503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4504 (eval "$ac_link") 2>conftest.er1
4506 grep -v '^ *+' conftest.er1
>conftest.err
4508 cat conftest.err
>&5
4509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4510 (exit $ac_status); } && {
4511 test -z "$ac_c_werror_flag" ||
4512 test ! -s conftest.err
4513 } && test -s conftest
$ac_exeext &&
4514 $as_test_x conftest
$ac_exeext; then
4515 ac_cv_lib_lex
=$ac_lib
4517 echo "$as_me: failed program was:" >&5
4518 sed 's/^/| /' conftest.
$ac_ext >&5
4523 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4524 conftest
$ac_exeext conftest.
$ac_ext
4525 test "$ac_cv_lib_lex" != 'none needed' && break
4530 { echo "$as_me:$LINENO: result: $ac_cv_lib_lex" >&5
4531 echo "${ECHO_T}$ac_cv_lib_lex" >&6; }
4532 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB
=$ac_cv_lib_lex
4536 { echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
4537 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6; }
4538 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
4539 echo $ECHO_N "(cached) $ECHO_C" >&6
4541 # POSIX says lex can declare yytext either as a pointer or an array; the
4542 # default is implementation-dependent. Figure out which it is, since
4543 # not all implementations provide the %pointer and %array declarations.
4544 ac_cv_prog_lex_yytext_pointer
=no
4546 LIBS
="$LEXLIB $ac_save_LIBS"
4547 cat >conftest.
$ac_ext <<_ACEOF
4548 #define YYTEXT_POINTER 1
4549 `cat $LEX_OUTPUT_ROOT.c`
4551 rm -f conftest.
$ac_objext conftest
$ac_exeext
4552 if { (ac_try
="$ac_link"
4554 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4555 *) ac_try_echo=$ac_try;;
4557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4558 (eval "$ac_link") 2>conftest.er1
4560 grep -v '^ *+' conftest.er1 >conftest.err
4562 cat conftest.err >&5
4563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4564 (exit $ac_status); } && {
4565 test -z "$ac_c_werror_flag" ||
4566 test ! -s conftest.err
4567 } && test -s conftest$ac_exeext &&
4568 $as_test_x conftest$ac_exeext; then
4569 ac_cv_prog_lex_yytext_pointer=yes
4571 echo "$as_me: failed program was:" >&5
4572 sed 's/^/| /' conftest.$ac_ext >&5
4577 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4578 conftest$ac_exeext conftest.$ac_ext
4582 { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
4583 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6; }
4584 if test $ac_cv_prog_lex_yytext_pointer = yes; then
4586 cat >>confdefs.h <<\_ACEOF
4587 #define YYTEXT_POINTER 1
4591 rm -f conftest.l $LEX_OUTPUT_ROOT.c
4594 if test "$LEX" = :; then
4595 LEX=${am_missing_run}flex
4597 # Extract the first word of "$LEX", so it can be a program name with args.
4598 set dummy $LEX; ac_word=$2
4599 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4600 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4601 if test "${ac_cv_path_LEX_PATH+set}" = set; then
4602 echo $ECHO_N "(cached) $ECHO_C" >&6
4606 ac_cv_path_LEX_PATH="$LEX_PATH" # Let the user override the test with a path.
4609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4613 test -z "$as_dir" && as_dir=.
4614 for ac_exec_ext in '' $ac_executable_extensions; do
4615 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4616 ac_cv_path_LEX_PATH="$as_dir/$ac_word$ac_exec_ext"
4617 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4624 test -z "$ac_cv_path_LEX_PATH" && ac_cv_path_LEX_PATH="notfound"
4628 LEX_PATH=$ac_cv_path_LEX_PATH
4629 if test -n "$LEX_PATH"; then
4630 { echo "$as_me:$LINENO: result: $LEX_PATH" >&5
4631 echo "${ECHO_T}$LEX_PATH" >&6; }
4633 { echo "$as_me:$LINENO: result: no" >&5
4634 echo "${ECHO_T}no" >&6; }
4638 if test "$LEX_PATH" = "notfound" ; then
4639 { { echo "$as_me:$LINENO: error: Couldn't find a usable lex program.
4640 Please install flex which is available from
4641 ftp://ftp.gnu.org/pub/non-gnu/flex/
4643 echo "$as_me: error: Couldn't find a usable lex program.
4644 Please install flex which is available from
4645 ftp://ftp.gnu.org/pub/non-gnu/flex/
4647 { (exit 1); exit 1; }; }
4651 for ac_prog in 'bison -y' byacc
4653 # Extract the first word of "$ac_prog", so it can be a program name with args.
4654 set dummy $ac_prog; ac_word=$2
4655 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4656 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4657 if test "${ac_cv_prog_YACC+set}" = set; then
4658 echo $ECHO_N "(cached) $ECHO_C" >&6
4660 if test -n "$YACC"; then
4661 ac_cv_prog_YACC="$YACC" # Let the user override the test.
4663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4667 test -z "$as_dir" && as_dir=.
4668 for ac_exec_ext in '' $ac_executable_extensions; do
4669 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4670 ac_cv_prog_YACC="$ac_prog"
4671 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4680 YACC=$ac_cv_prog_YACC
4681 if test -n "$YACC"; then
4682 { echo "$as_me:$LINENO: result: $YACC" >&5
4683 echo "${ECHO_T}$YACC" >&6; }
4685 { echo "$as_me:$LINENO: result: no" >&5
4686 echo "${ECHO_T}no" >&6; }
4690 test -n "$YACC" && break
4692 test -n "$YACC" || YACC="yacc"
4694 # Extract the first word of "$YACC", so it can be a program name with args.
4695 set dummy $YACC; ac_word=$2
4696 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4697 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4698 if test "${ac_cv_path_YACC_PATH+set}" = set; then
4699 echo $ECHO_N "(cached) $ECHO_C" >&6
4703 ac_cv_path_YACC_PATH="$YACC_PATH" # Let the user override the test with a path.
4706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4710 test -z "$as_dir" && as_dir=.
4711 for ac_exec_ext in '' $ac_executable_extensions; do
4712 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4713 ac_cv_path_YACC_PATH="$as_dir/$ac_word$ac_exec_ext"
4714 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4721 test -z "$ac_cv_path_YACC_PATH" && ac_cv_path_YACC_PATH="notfound"
4725 YACC_PATH=$ac_cv_path_YACC_PATH
4726 if test -n "$YACC_PATH"; then
4727 { echo "$as_me:$LINENO: result: $YACC_PATH" >&5
4728 echo "${ECHO_T}$YACC_PATH" >&6; }
4730 { echo "$as_me:$LINENO: result: no" >&5
4731 echo "${ECHO_T}no" >&6; }
4735 if test "$YACC_PATH" = "notfound" ; then
4736 { { echo "$as_me:$LINENO: error: Couldn't find a usable yacc program.
4737 Please install bison which is available from
4738 ftp://ftp.gnu.org/pub/gnu/bison/
4740 echo "$as_me: error: Couldn't find a usable yacc program.
4741 Please install bison which is available from
4742 ftp://ftp.gnu.org/pub/gnu/bison/
4744 { (exit 1); exit 1; }; }
4747 # Find a good install program. We prefer a C program (faster),
4748 # so one script is as good as another. But avoid the broken or
4749 # incompatible versions:
4750 # SysV /etc/install, /usr/sbin/install
4751 # SunOS /usr/etc/install
4752 # IRIX /sbin/install
4754 # AmigaOS /C/install, which installs bootblocks on floppy discs
4755 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4756 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4757 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4758 # OS/2's system install, which has a completely different semantic
4759 # ./install, which can be erroneously created by make from ./install.sh.
4760 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4761 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
4762 if test -z "$INSTALL"; then
4763 if test "${ac_cv_path_install+set}" = set; then
4764 echo $ECHO_N "(cached) $ECHO_C" >&6
4766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4770 test -z "$as_dir" && as_dir=.
4771 # Account for people who put trailing slashes in PATH elements.
4773 ./ | .// | /cC/* | \
4774 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4775 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
4778 # OSF1 and SCO ODT 3.0 have their own names for install.
4779 # Don't use installbsd from OSF since it installs stuff as root
4781 for ac_prog in ginstall scoinst install; do
4782 for ac_exec_ext in '' $ac_executable_extensions; do
4783 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4784 if test $ac_prog = install &&
4785 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4786 # AIX install. It has an incompatible calling convention.
4788 elif test $ac_prog = install &&
4789 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4790 # program-specific install script used by HP pwplus--don't use.
4793 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4806 if test "${ac_cv_path_install+set}" = set; then
4807 INSTALL=$ac_cv_path_install
4809 # As a last resort, use the slow shell script. Don't cache a
4810 # value for INSTALL within a source directory, because that will
4811 # break other packages using the cache if that directory is
4812 # removed, or if the value is a relative name.
4813 INSTALL=$ac_install_sh
4816 { echo "$as_me:$LINENO: result: $INSTALL" >&5
4817 echo "${ECHO_T}$INSTALL" >&6; }
4819 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4820 # It thinks the first close brace ends the variable substitution.
4821 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4823 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4825 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4827 if test -n "$ac_tool_prefix"; then
4828 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4829 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4830 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4831 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4832 if test "${ac_cv_prog_RANLIB+set}" = set; then
4833 echo $ECHO_N "(cached) $ECHO_C" >&6
4835 if test -n "$RANLIB"; then
4836 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4842 test -z "$as_dir" && as_dir=.
4843 for ac_exec_ext in '' $ac_executable_extensions; do
4844 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4845 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4846 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4855 RANLIB=$ac_cv_prog_RANLIB
4856 if test -n "$RANLIB"; then
4857 { echo "$as_me:$LINENO: result: $RANLIB" >&5
4858 echo "${ECHO_T}$RANLIB" >&6; }
4860 { echo "$as_me:$LINENO: result: no" >&5
4861 echo "${ECHO_T}no" >&6; }
4866 if test -z "$ac_cv_prog_RANLIB"; then
4867 ac_ct_RANLIB=$RANLIB
4868 # Extract the first word of "ranlib", so it can be a program name with args.
4869 set dummy ranlib; ac_word=$2
4870 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4871 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4872 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4873 echo $ECHO_N "(cached) $ECHO_C" >&6
4875 if test -n "$ac_ct_RANLIB"; then
4876 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4882 test -z "$as_dir" && as_dir=.
4883 for ac_exec_ext in '' $ac_executable_extensions; do
4884 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4885 ac_cv_prog_ac_ct_RANLIB="ranlib"
4886 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4895 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4896 if test -n "$ac_ct_RANLIB"; then
4897 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4898 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
4900 { echo "$as_me:$LINENO: result: no" >&5
4901 echo "${ECHO_T}no" >&6; }
4904 if test "x$ac_ct_RANLIB" = x; then
4907 case $cross_compiling:$ac_tool_warned in
4909 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4910 whose name does not start with the host triplet. If you think this
4911 configuration is useful to you, please write to autoconf@gnu.org." >&5
4912 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4913 whose name does not start with the host triplet. If you think this
4914 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4915 ac_tool_warned=yes ;;
4917 RANLIB=$ac_ct_RANLIB
4920 RANLIB="$ac_cv_prog_RANLIB"
4925 # Used for building the win32 icons.
4927 # Extract the first word of "tgif", so it can be a program name with args.
4928 set dummy tgif; ac_word=$2
4929 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4930 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4931 if test "${ac_cv_path_TGIF+set}" = set; then
4932 echo $ECHO_N "(cached) $ECHO_C" >&6
4936 ac_cv_path_TGIF="$TGIF" # Let the user override the test with a path.
4939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4943 test -z "$as_dir" && as_dir=.
4944 for ac_exec_ext in '' $ac_executable_extensions; do
4945 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4946 ac_cv_path_TGIF="$as_dir/$ac_word$ac_exec_ext"
4947 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4954 test -z "$ac_cv_path_TGIF" && ac_cv_path_TGIF="notfound"
4958 TGIF=$ac_cv_path_TGIF
4959 if test -n "$TGIF"; then
4960 { echo "$as_me:$LINENO: result: $TGIF" >&5
4961 echo "${ECHO_T}$TGIF" >&6; }
4963 { echo "$as_me:$LINENO: result: no" >&5
4964 echo "${ECHO_T}no" >&6; }
4968 if test x$TGIF = xnotfound; then
4970 MISSING_TGIF_FALSE='#'
4972 MISSING_TGIF_TRUE='#'
4976 # Extract the first word of "xpmtoppm", so it can be a program name with args.
4977 set dummy xpmtoppm; ac_word=$2
4978 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4979 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4980 if test "${ac_cv_path_XPMTOPPM+set}" = set; then
4981 echo $ECHO_N "(cached) $ECHO_C" >&6
4985 ac_cv_path_XPMTOPPM="$XPMTOPPM" # Let the user override the test with a path.
4988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4992 test -z "$as_dir" && as_dir=.
4993 for ac_exec_ext in '' $ac_executable_extensions; do
4994 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4995 ac_cv_path_XPMTOPPM="$as_dir/$ac_word$ac_exec_ext"
4996 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5003 test -z "$ac_cv_path_XPMTOPPM" && ac_cv_path_XPMTOPPM="notfound"
5007 XPMTOPPM=$ac_cv_path_XPMTOPPM
5008 if test -n "$XPMTOPPM"; then
5009 { echo "$as_me:$LINENO: result: $XPMTOPPM" >&5
5010 echo "${ECHO_T}$XPMTOPPM" >&6; }
5012 { echo "$as_me:$LINENO: result: no" >&5
5013 echo "${ECHO_T}no" >&6; }
5017 # Extract the first word of "ppmtowinicon", so it can be a program name with args.
5018 set dummy ppmtowinicon; ac_word=$2
5019 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5020 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5021 if test "${ac_cv_path_PPMTOWINICON+set}" = set; then
5022 echo $ECHO_N "(cached) $ECHO_C" >&6
5024 case $PPMTOWINICON in
5026 ac_cv_path_PPMTOWINICON="$PPMTOWINICON" # Let the user override the test with a path.
5029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5033 test -z "$as_dir" && as_dir=.
5034 for ac_exec_ext in '' $ac_executable_extensions; do
5035 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5036 ac_cv_path_PPMTOWINICON="$as_dir/$ac_word$ac_exec_ext"
5037 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5044 test -z "$ac_cv_path_PPMTOWINICON" && ac_cv_path_PPMTOWINICON="notfound"
5048 PPMTOWINICON=$ac_cv_path_PPMTOWINICON
5049 if test -n "$PPMTOWINICON"; then
5050 { echo "$as_me:$LINENO: result: $PPMTOWINICON" >&5
5051 echo "${ECHO_T}$PPMTOWINICON" >&6; }
5053 { echo "$as_me:$LINENO: result: no" >&5
5054 echo "${ECHO_T}no" >&6; }
5058 if test x$PPMTOWINICON = xnotfound -o x$XPMTOPPM = xnotfound; then
5059 MISSING_XPMTOPPM_TRUE=
5060 MISSING_XPMTOPPM_FALSE='#'
5062 MISSING_XPMTOPPM_TRUE='#'
5063 MISSING_XPMTOPPM_FALSE=
5066 # Extract the first word of "convert", so it can be a program name with args.
5067 set dummy convert; ac_word=$2
5068 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5069 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5070 if test "${ac_cv_path_CONVERT+set}" = set; then
5071 echo $ECHO_N "(cached) $ECHO_C" >&6
5075 ac_cv_path_CONVERT="$CONVERT" # Let the user override the test with a path.
5078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5082 test -z "$as_dir" && as_dir=.
5083 for ac_exec_ext in '' $ac_executable_extensions; do
5084 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5085 ac_cv_path_CONVERT="$as_dir/$ac_word$ac_exec_ext"
5086 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5093 test -z "$ac_cv_path_CONVERT" && ac_cv_path_CONVERT="notfound"
5097 CONVERT=$ac_cv_path_CONVERT
5098 if test -n "$CONVERT"; then
5099 { echo "$as_me:$LINENO: result: $CONVERT" >&5
5100 echo "${ECHO_T}$CONVERT" >&6; }
5102 { echo "$as_me:$LINENO: result: no" >&5
5103 echo "${ECHO_T}no" >&6; }
5107 if test x$CONVERT = xnotfound; then
5108 MISSING_CONVERT_TRUE=
5109 MISSING_CONVERT_FALSE='#'
5111 MISSING_CONVERT_TRUE='#'
5112 MISSING_CONVERT_FALSE=
5118 { echo "$as_me:$LINENO: checking if the documentation should be built" >&5
5119 echo $ECHO_N "checking if the documentation should be built... $ECHO_C" >&6; }
5120 # Check whether --enable-doc was given.
5121 if test "${enable_doc+set}" = set; then
5122 enableval=$enable_doc;
5123 if test "X$enable_doc" = "Xno" ; then
5125 { echo "$as_me:$LINENO: result: no" >&5
5126 echo "${ECHO_T}no" >&6; }
5130 { echo "$as_me:$LINENO: result: yes" >&5
5131 echo "${ECHO_T}yes" >&6; }
5138 { echo "$as_me:$LINENO: result: yes" >&5
5139 echo "${ECHO_T}yes" >&6; }
5146 if test "X$docs_yesno" = "Xyes" -a "X$USE_MAINTAINER_MODE" = "Xyes" ; then
5147 for ac_prog in makeinfo
5149 # Extract the first word of "$ac_prog", so it can be a program name with args.
5150 set dummy $ac_prog; ac_word=$2
5151 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5152 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5153 if test "${ac_cv_prog_MKINFO+set}" = set; then
5154 echo $ECHO_N "(cached) $ECHO_C" >&6
5156 if test -n "$MKINFO"; then
5157 ac_cv_prog_MKINFO="$MKINFO" # Let the user override the test.
5159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5163 test -z "$as_dir" && as_dir=.
5164 for ac_exec_ext in '' $ac_executable_extensions; do
5165 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5166 ac_cv_prog_MKINFO="$ac_prog"
5167 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5176 MKINFO=$ac_cv_prog_MKINFO
5177 if test -n "$MKINFO"; then
5178 { echo "$as_me:$LINENO: result: $MKINFO" >&5
5179 echo "${ECHO_T}$MKINFO" >&6; }
5181 { echo "$as_me:$LINENO: result: no" >&5
5182 echo "${ECHO_T}no" >&6; }
5186 test -n "$MKINFO" && break
5188 test -n "$MKINFO" || MKINFO="no"
5190 if test "X$MKINFO" != "Xno"; then
5191 { echo "$as_me:$LINENO: checking for GNU makeinfo version >= 4.6" >&5
5192 echo $ECHO_N "checking for GNU makeinfo version >= 4.6... $ECHO_C" >&6; }
5193 v=`$MKINFO --version |
grep "GNU texinfo"`
5194 if test $? -ne 0; then
5195 { echo "$as_me:$LINENO: result: non-GNU" >&5
5196 echo "${ECHO_T}non-GNU" >&6; }
5200 if test "X$MKINFO" != "Xno"; then
5201 vmajor=`echo "$v" |
sed 's/.* \([0-9]*\)\.\([0-9]*\)$/\1/'`
5202 vminor=`echo "$v" |
sed 's/.* \([0-9]*\)\.\([0-9]*\)$/\2/'`
5203 { echo "$as_me:$LINENO: result: $vmajor.$vminor" >&5
5204 echo "${ECHO_T}$vmajor.$vminor" >&6; }
5205 if test "$vmajor" -lt 4 \
5206 || (test "$vmajor" -eq 4 && test "$vminor" -lt 6); then
5210 if test "X$MKINFO" = "Xno"; then
5211 { { echo "$as_me:$LINENO: error: You have requested a maintainer-mode build and a build
5212 of the documentation. For this to work, you must have version 4.6 or newer of
5213 the GNU texinfo package. You seem to have
5218 echo "$as_me: error: You have requested a maintainer-mode build and a build
5219 of the documentation. For this to work, you must have version 4.6 or newer of
5220 the GNU texinfo package. You seem to have
5225 { (exit 1); exit 1; }; }
5228 # Extract the first word of "perl", so it can be a program name with args.
5229 set dummy perl; ac_word=$2
5230 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5231 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5232 if test "${ac_cv_path_PERL+set}" = set; then
5233 echo $ECHO_N "(cached) $ECHO_C" >&6
5237 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
5240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5244 test -z "$as_dir" && as_dir=.
5245 for ac_exec_ext in '' $ac_executable_extensions; do
5246 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5247 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
5248 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5255 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="notfound"
5259 PERL=$ac_cv_path_PERL
5260 if test -n "$PERL"; then
5261 { echo "$as_me:$LINENO: result: $PERL" >&5
5262 echo "${ECHO_T}$PERL" >&6; }
5264 { echo "$as_me:$LINENO: result: no" >&5
5265 echo "${ECHO_T}no" >&6; }
5269 if test "X$PERL" = "Xnotfound"; then
5270 { { echo "$as_me:$LINENO: error: You have requested a maintainer-mode build and a build
5271 of the documentation. For this to work, you must have perl installed.
5273 echo "$as_me: error: You have requested a maintainer-mode build and a build
5274 of the documentation. For this to work, you must have perl installed.
5276 { (exit 1); exit 1; }; }
5280 # FIXME: for now, only try to add -rdynamic if we're using gcc. We really
5281 # need to figure out what the correct test is here. In the mean time, this
5282 # should let things build with SunPRO again.
5283 if test "x$GCC" = "xyes"; then
5284 { echo "$as_me:$LINENO: checking If the compiler accepts -rdynamic" >&5
5285 echo $ECHO_N "checking If the compiler accepts -rdynamic... $ECHO_C" >&6; }
5286 old_LDFLAGS="$LDFLAGS"
5287 LDFLAGS="$LDFLAGS -rdynamic"
5288 cat >conftest.$ac_ext <<_ACEOF
5291 rm -f conftest.$ac_objext conftest$ac_exeext
5292 if { (ac_try="$ac_link"
5294 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5295 *) ac_try_echo
=$ac_try;;
5297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5298 (eval "$ac_link") 2>conftest.er1
5300 grep -v '^ *+' conftest.er1
>conftest.err
5302 cat conftest.err
>&5
5303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5304 (exit $ac_status); } && {
5305 test -z "$ac_c_werror_flag" ||
5306 test ! -s conftest.err
5307 } && test -s conftest
$ac_exeext &&
5308 $as_test_x conftest
$ac_exeext; then
5309 { echo "$as_me:$LINENO: result: yes" >&5
5310 echo "${ECHO_T}yes" >&6; }
5312 echo "$as_me: failed program was:" >&5
5313 sed 's/^/| /' conftest.
$ac_ext >&5
5315 LDFLAGS
="$old_LDFLAGS"
5316 { echo "$as_me:$LINENO: result: no" >&5
5317 echo "${ECHO_T}no" >&6; }
5321 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5322 conftest
$ac_exeext conftest.
$ac_ext
5325 # ------------- HID config -------------------
5332 for hid
in `cd $srcdir/src/hid; echo *`; do
5333 F
=$srcdir/src
/hid
/$hid/hid.conf
5339 gui
) hid_guis
="$hid_guis $hid" ;;
5340 printer
) hid_printers
="$hid_printers $hid" ;;
5341 export ) hid_exporters
="$hid_exporters $hid" ;;
5342 always
) hid_always
="$hid_always $hid" ;;
5347 { echo "$as_me:$LINENO: checking for which gui to use" >&5
5348 echo $ECHO_N "checking for which gui to use... $ECHO_C" >&6; }
5350 # Check whether --with-gui was given.
5351 if test "${with_gui+set}" = set; then
5358 { echo "$as_me:$LINENO: result: $with_gui" >&5
5359 echo "${ECHO_T}$with_gui" >&6; }
5360 case " $hid_guis no none " in
5361 *\
$with_gui\
* ) HIDLIST
="$with_gui" ;;
5362 * ) { { echo "$as_me:$LINENO: error: $with_gui is not a valid gui" >&5
5363 echo "$as_me: error: $with_gui is not a valid gui" >&2;}
5364 { (exit 1); exit 1; }; } ;;
5367 if test x
"$with_gui" = x
"none" -o x
"$with_gui" = x
"no"
5372 { echo "$as_me:$LINENO: checking for whether to use DBUS" >&5
5373 echo $ECHO_N "checking for whether to use DBUS... $ECHO_C" >&6; }
5374 # Check whether --enable-dbus was given.
5375 if test "${enable_dbus+set}" = set; then
5376 enableval
=$enable_dbus;
5382 { echo "$as_me:$LINENO: result: $enable_dbus" >&5
5383 echo "${ECHO_T}$enable_dbus" >&6; }
5384 if test x
$enable_dbus = xyes
; then
5393 if test "x$enable_dbus" = "xyes"; then
5394 case " $with_gui " in
5397 * ) { { echo "$as_me:$LINENO: error: DBUS enabled but only works with a mainloop capable GUI HID.
5398 Either do not use --enable-dbus or enable the gtk or lesstif GUI HID." >&5
5399 echo "$as_me: error: DBUS enabled but only works with a mainloop capable GUI HID.
5400 Either do not use --enable-dbus or enable the gtk or lesstif GUI HID." >&2;}
5401 { (exit 1); exit 1; }; }
5404 # Check for pkg-config
5405 # Extract the first word of "pkg-config", so it can be a program name with args.
5406 set dummy pkg-config
; ac_word
=$2
5407 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5408 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5409 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
5410 echo $ECHO_N "(cached) $ECHO_C" >&6
5414 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
5417 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5421 test -z "$as_dir" && as_dir
=.
5422 for ac_exec_ext
in '' $ac_executable_extensions; do
5423 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5424 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
5425 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5432 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
5436 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
5437 if test -n "$PKG_CONFIG"; then
5438 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
5439 echo "${ECHO_T}$PKG_CONFIG" >&6; }
5441 { echo "$as_me:$LINENO: result: no" >&5
5442 echo "${ECHO_T}no" >&6; }
5446 if test "$PKG_CONFIG" = "no"; then
5447 { { echo "$as_me:$LINENO: error: Cannot find pkg-config, make sure it is installed and in your PATH" >&5
5448 echo "$as_me: error: Cannot find pkg-config, make sure it is installed and in your PATH" >&2;}
5449 { (exit 1); exit 1; }; }
5454 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
5455 if test -n "$ac_tool_prefix"; then
5456 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5457 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
5458 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5459 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5460 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
5461 echo $ECHO_N "(cached) $ECHO_C" >&6
5465 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
5468 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5472 test -z "$as_dir" && as_dir
=.
5473 for ac_exec_ext
in '' $ac_executable_extensions; do
5474 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5475 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
5476 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5486 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
5487 if test -n "$PKG_CONFIG"; then
5488 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
5489 echo "${ECHO_T}$PKG_CONFIG" >&6; }
5491 { echo "$as_me:$LINENO: result: no" >&5
5492 echo "${ECHO_T}no" >&6; }
5497 if test -z "$ac_cv_path_PKG_CONFIG"; then
5498 ac_pt_PKG_CONFIG
=$PKG_CONFIG
5499 # Extract the first word of "pkg-config", so it can be a program name with args.
5500 set dummy pkg-config
; ac_word
=$2
5501 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5502 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5503 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
5504 echo $ECHO_N "(cached) $ECHO_C" >&6
5506 case $ac_pt_PKG_CONFIG in
5508 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
5511 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5515 test -z "$as_dir" && as_dir
=.
5516 for ac_exec_ext
in '' $ac_executable_extensions; do
5517 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5518 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
5519 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5529 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
5530 if test -n "$ac_pt_PKG_CONFIG"; then
5531 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
5532 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
5534 { echo "$as_me:$LINENO: result: no" >&5
5535 echo "${ECHO_T}no" >&6; }
5538 if test "x$ac_pt_PKG_CONFIG" = x
; then
5541 case $cross_compiling:$ac_tool_warned in
5543 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5544 whose name does not start with the host triplet. If you think this
5545 configuration is useful to you, please write to autoconf@gnu.org." >&5
5546 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5547 whose name does not start with the host triplet. If you think this
5548 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5549 ac_tool_warned
=yes ;;
5551 PKG_CONFIG
=$ac_pt_PKG_CONFIG
5554 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
5558 if test -n "$PKG_CONFIG"; then
5559 _pkg_min_version
=0.9.0
5560 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
5561 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
5562 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
5563 { echo "$as_me:$LINENO: result: yes" >&5
5564 echo "${ECHO_T}yes" >&6; }
5566 { echo "$as_me:$LINENO: result: no" >&5
5567 echo "${ECHO_T}no" >&6; }
5574 { echo "$as_me:$LINENO: checking for DBUS" >&5
5575 echo $ECHO_N "checking for DBUS... $ECHO_C" >&6; }
5577 if test -n "$PKG_CONFIG"; then
5578 if test -n "$DBUS_CFLAGS"; then
5579 pkg_cv_DBUS_CFLAGS
="$DBUS_CFLAGS"
5581 if test -n "$PKG_CONFIG" && \
5582 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"dbus-1 >= 0.61\"") >&5
5583 ($PKG_CONFIG --exists --print-errors "dbus-1 >= 0.61") 2>&5
5585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5586 (exit $ac_status); }; then
5587 pkg_cv_DBUS_CFLAGS
=`$PKG_CONFIG --cflags "dbus-1 >= 0.61" 2>/dev/null`
5595 if test -n "$PKG_CONFIG"; then
5596 if test -n "$DBUS_LIBS"; then
5597 pkg_cv_DBUS_LIBS
="$DBUS_LIBS"
5599 if test -n "$PKG_CONFIG" && \
5600 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"dbus-1 >= 0.61\"") >&5
5601 ($PKG_CONFIG --exists --print-errors "dbus-1 >= 0.61") 2>&5
5603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5604 (exit $ac_status); }; then
5605 pkg_cv_DBUS_LIBS
=`$PKG_CONFIG --libs "dbus-1 >= 0.61" 2>/dev/null`
5616 if test $pkg_failed = yes; then
5618 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5619 _pkg_short_errors_supported
=yes
5621 _pkg_short_errors_supported
=no
5623 if test $_pkg_short_errors_supported = yes; then
5624 DBUS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "dbus-1 >= 0.61"`
5626 DBUS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "dbus-1 >= 0.61"`
5628 # Put the nasty error message in config.log where it belongs
5629 echo "$DBUS_PKG_ERRORS" >&5
5631 { echo "$as_me:$LINENO: result: no" >&5
5632 echo "${ECHO_T}no" >&6; }
5633 { { echo "$as_me:$LINENO: error: Cannot find dbus-1 >= 0.61, install it and rerun ./configure
5634 Please review the following errors:
5635 $DBUS_PKG_ERRORS" >&5
5636 echo "$as_me: error: Cannot find dbus-1 >= 0.61, install it and rerun ./configure
5637 Please review the following errors:
5638 $DBUS_PKG_ERRORS" >&2;}
5639 { (exit 1); exit 1; }; }
5641 elif test $pkg_failed = untried
; then
5642 { { echo "$as_me:$LINENO: error: Cannot find dbus-1 >= 0.61, install it and rerun ./configure
5643 Please review the following errors:
5644 $DBUS_PKG_ERRORS" >&5
5645 echo "$as_me: error: Cannot find dbus-1 >= 0.61, install it and rerun ./configure
5646 Please review the following errors:
5647 $DBUS_PKG_ERRORS" >&2;}
5648 { (exit 1); exit 1; }; }
5651 DBUS_CFLAGS
=$pkg_cv_DBUS_CFLAGS
5652 DBUS_LIBS
=$pkg_cv_DBUS_LIBS
5653 { echo "$as_me:$LINENO: result: yes" >&5
5654 echo "${ECHO_T}yes" >&6; }
5657 DBUS_VERSION
=`$PKG_CONFIG dbus-1 --modversion`
5660 cat >>confdefs.h
<<\_ACEOF
5667 { echo "$as_me:$LINENO: checking for which printer to use" >&5
5668 echo $ECHO_N "checking for which printer to use... $ECHO_C" >&6; }
5670 # Check whether --with-printer was given.
5671 if test "${with_printer+set}" = set; then
5672 withval
=$with_printer;
5677 { echo "$as_me:$LINENO: result: $with_printer" >&5
5678 echo "${ECHO_T}$with_printer" >&6; }
5679 case " $hid_printers " in
5680 *\
$with_printer\
* )
5681 HIDLIST
="$HIDLIST $with_printer"
5683 * ) { { echo "$as_me:$LINENO: error: $with_printer is not a valid printer" >&5
5684 echo "$as_me: error: $with_printer is not a valid printer" >&2;}
5685 { (exit 1); exit 1; }; } ;;
5688 { echo "$as_me:$LINENO: checking for which exporters to use" >&5
5689 echo $ECHO_N "checking for which exporters to use... $ECHO_C" >&6; }
5691 # Check whether --with-exporters was given.
5692 if test "${with_exporters+set}" = set; then
5693 withval
=$with_exporters;
5695 with_exporters
=$hid_exporters
5698 { echo "$as_me:$LINENO: result: $with_exporters" >&5
5699 echo "${ECHO_T}$with_exporters" >&6; }
5700 for e
in `echo $with_exporters | sed 's/,/ /g'`; do
5701 case " $hid_exporters " in
5703 HIDLIST
="$HIDLIST $e"
5705 * ) { { echo "$as_me:$LINENO: error: $e is not a valid exporter" >&5
5706 echo "$as_me: error: $e is not a valid exporter" >&2;}
5707 { (exit 1); exit 1; }; } ;;
5711 if test "X$enable_jpeg" = "Xno" -a "X$enable_gif" = "Xno" -a "X$enable_png" = "Xno" ; then
5712 case " ${HIDLIST} " in
5714 { { echo "$as_me:$LINENO: error: you have requested the png HID but turned off all output
5715 formats! If you do not want gif/jpeg/png output, use --with-exporters to list
5716 which exporters you want and do not list png there." >&5
5717 echo "$as_me: error: you have requested the png HID but turned off all output
5718 formats! If you do not want gif/jpeg/png output, use --with-exporters to list
5719 which exporters you want and do not list png there." >&2;}
5720 { (exit 1); exit 1; }; }
5728 for e
in $HIDLIST; do
5729 HIDLIBS
="$HIDLIBS lib$e.a"
5735 # ------------- end HID config -------------------
5737 for ac_prog
in gm4
m4
5739 # Extract the first word of "$ac_prog", so it can be a program name with args.
5740 set dummy
$ac_prog; ac_word
=$2
5741 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5742 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5743 if test "${ac_cv_path_M4+set}" = set; then
5744 echo $ECHO_N "(cached) $ECHO_C" >&6
5748 ac_cv_path_M4
="$M4" # Let the user override the test with a path.
5751 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5755 test -z "$as_dir" && as_dir
=.
5756 for ac_exec_ext
in '' $ac_executable_extensions; do
5757 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5758 ac_cv_path_M4
="$as_dir/$ac_word$ac_exec_ext"
5759 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5770 if test -n "$M4"; then
5771 { echo "$as_me:$LINENO: result: $M4" >&5
5772 echo "${ECHO_T}$M4" >&6; }
5774 { echo "$as_me:$LINENO: result: no" >&5
5775 echo "${ECHO_T}no" >&6; }
5779 test -n "$M4" && break
5781 test -n "$M4" || M4
="none"
5783 if test "X$M4" = "Xnone" ; then
5784 { { echo "$as_me:$LINENO: error: Did not find a m4 executible. You need to make sure
5785 that m4 is installed on your system and that m4 is in your path" >&5
5786 echo "$as_me: error: Did not find a m4 executible. You need to make sure
5787 that m4 is installed on your system and that m4 is in your path" >&2;}
5788 { (exit 1); exit 1; }; }
5790 { echo "$as_me:$LINENO: checking if $M4 has the division involving negative numbers bug" >&5
5791 echo $ECHO_N "checking if $M4 has the division involving negative numbers bug... $ECHO_C" >&6; }
5792 pcb_m4_r
=`echo "eval(-2/2)" | $M4`
5793 if test "$pcb_m4_r" != "-1" ; then
5794 { echo "$as_me:$LINENO: result: yes" >&5
5795 echo "${ECHO_T}yes" >&6; }
5796 { { echo "$as_me:$LINENO: error: It appears that $M4 has a bug involving division
5797 with negative numbers. In particular it just returned the result that
5798 -2/2 = $pcb_m4_r instead of -1. This is a known bug in GNU m4-1.4.9. Please
5799 install a non-broken m4." >&5
5800 echo "$as_me: error: It appears that $M4 has a bug involving division
5801 with negative numbers. In particular it just returned the result that
5802 -2/2 = $pcb_m4_r instead of -1. This is a known bug in GNU m4-1.4.9. Please
5803 install a non-broken m4." >&2;}
5804 { (exit 1); exit 1; }; }
5806 { echo "$as_me:$LINENO: result: no" >&5
5807 echo "${ECHO_T}no" >&6; }
5811 for ac_prog
in wish wish83 wish8.3 wish80 wish8.0 cygwish83 cygwish80
5813 # Extract the first word of "$ac_prog", so it can be a program name with args.
5814 set dummy
$ac_prog; ac_word
=$2
5815 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5816 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5817 if test "${ac_cv_path_WISH+set}" = set; then
5818 echo $ECHO_N "(cached) $ECHO_C" >&6
5822 ac_cv_path_WISH
="$WISH" # Let the user override the test with a path.
5825 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5829 test -z "$as_dir" && as_dir
=.
5830 for ac_exec_ext
in '' $ac_executable_extensions; do
5831 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5832 ac_cv_path_WISH
="$as_dir/$ac_word$ac_exec_ext"
5833 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5843 WISH
=$ac_cv_path_WISH
5844 if test -n "$WISH"; then
5845 { echo "$as_me:$LINENO: result: $WISH" >&5
5846 echo "${ECHO_T}$WISH" >&6; }
5848 { echo "$as_me:$LINENO: result: no" >&5
5849 echo "${ECHO_T}no" >&6; }
5853 test -n "$WISH" && break
5855 test -n "$WISH" || WISH
="none"
5857 if test "X$WISH" = "Xnone" ; then
5858 { { echo "$as_me:$LINENO: error: Did not find the wish executible. You need to make sure
5859 that tcl is installed on your system and that wish is in your path" >&5
5860 echo "$as_me: error: Did not find the wish executible. You need to make sure
5861 that tcl is installed on your system and that wish is in your path" >&2;}
5862 { (exit 1); exit 1; }; }
5866 cat >>confdefs.h
<<_ACEOF
5873 cat >>confdefs.h
<<_ACEOF
5878 for ac_prog
in latex
5880 # Extract the first word of "$ac_prog", so it can be a program name with args.
5881 set dummy
$ac_prog; ac_word
=$2
5882 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5883 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5884 if test "${ac_cv_prog_LATEX+set}" = set; then
5885 echo $ECHO_N "(cached) $ECHO_C" >&6
5887 if test -n "$LATEX"; then
5888 ac_cv_prog_LATEX
="$LATEX" # Let the user override the test.
5890 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5894 test -z "$as_dir" && as_dir
=.
5895 for ac_exec_ext
in '' $ac_executable_extensions; do
5896 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5897 ac_cv_prog_LATEX
="$ac_prog"
5898 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5907 LATEX
=$ac_cv_prog_LATEX
5908 if test -n "$LATEX"; then
5909 { echo "$as_me:$LINENO: result: $LATEX" >&5
5910 echo "${ECHO_T}$LATEX" >&6; }
5912 { echo "$as_me:$LINENO: result: no" >&5
5913 echo "${ECHO_T}no" >&6; }
5917 test -n "$LATEX" && break
5919 test -n "$LATEX" || LATEX
="notfound"
5921 if test x
$LATEX = xnotfound
; then
5923 MISSING_LATEX_FALSE
='#'
5925 MISSING_LATEX_TRUE
='#'
5926 MISSING_LATEX_FALSE
=
5930 for ac_prog
in pdflatex
5932 # Extract the first word of "$ac_prog", so it can be a program name with args.
5933 set dummy
$ac_prog; ac_word
=$2
5934 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5935 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5936 if test "${ac_cv_prog_PDFLATEX+set}" = set; then
5937 echo $ECHO_N "(cached) $ECHO_C" >&6
5939 if test -n "$PDFLATEX"; then
5940 ac_cv_prog_PDFLATEX
="$PDFLATEX" # Let the user override the test.
5942 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5946 test -z "$as_dir" && as_dir
=.
5947 for ac_exec_ext
in '' $ac_executable_extensions; do
5948 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5949 ac_cv_prog_PDFLATEX
="$ac_prog"
5950 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5959 PDFLATEX
=$ac_cv_prog_PDFLATEX
5960 if test -n "$PDFLATEX"; then
5961 { echo "$as_me:$LINENO: result: $PDFLATEX" >&5
5962 echo "${ECHO_T}$PDFLATEX" >&6; }
5964 { echo "$as_me:$LINENO: result: no" >&5
5965 echo "${ECHO_T}no" >&6; }
5969 test -n "$PDFLATEX" && break
5971 test -n "$PDFLATEX" || PDFLATEX
="notfound"
5973 if test x
$PDFLATEX = xnotfound
; then
5974 MISSING_PDFLATEX_TRUE
=
5975 MISSING_PDFLATEX_FALSE
='#'
5977 MISSING_PDFLATEX_TRUE
='#'
5978 MISSING_PDFLATEX_FALSE
=
5982 for ac_prog
in dvips
5984 # Extract the first word of "$ac_prog", so it can be a program name with args.
5985 set dummy
$ac_prog; ac_word
=$2
5986 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5987 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5988 if test "${ac_cv_prog_DVIPS+set}" = set; then
5989 echo $ECHO_N "(cached) $ECHO_C" >&6
5991 if test -n "$DVIPS"; then
5992 ac_cv_prog_DVIPS
="$DVIPS" # Let the user override the test.
5994 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5998 test -z "$as_dir" && as_dir
=.
5999 for ac_exec_ext
in '' $ac_executable_extensions; do
6000 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6001 ac_cv_prog_DVIPS
="$ac_prog"
6002 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6011 DVIPS
=$ac_cv_prog_DVIPS
6012 if test -n "$DVIPS"; then
6013 { echo "$as_me:$LINENO: result: $DVIPS" >&5
6014 echo "${ECHO_T}$DVIPS" >&6; }
6016 { echo "$as_me:$LINENO: result: no" >&5
6017 echo "${ECHO_T}no" >&6; }
6021 test -n "$DVIPS" && break
6023 test -n "$DVIPS" || DVIPS
="notfound"
6025 if test x
$DVIPS = xnotfound
; then
6027 MISSING_DVIPS_FALSE
='#'
6029 MISSING_DVIPS_TRUE
='#'
6030 MISSING_DVIPS_FALSE
=
6034 for ac_prog
in ps2pdf
6036 # Extract the first word of "$ac_prog", so it can be a program name with args.
6037 set dummy
$ac_prog; ac_word
=$2
6038 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6039 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6040 if test "${ac_cv_prog_PS2PDF+set}" = set; then
6041 echo $ECHO_N "(cached) $ECHO_C" >&6
6043 if test -n "$PS2PDF"; then
6044 ac_cv_prog_PS2PDF
="$PS2PDF" # Let the user override the test.
6046 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6050 test -z "$as_dir" && as_dir
=.
6051 for ac_exec_ext
in '' $ac_executable_extensions; do
6052 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6053 ac_cv_prog_PS2PDF
="$ac_prog"
6054 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6063 PS2PDF
=$ac_cv_prog_PS2PDF
6064 if test -n "$PS2PDF"; then
6065 { echo "$as_me:$LINENO: result: $PS2PDF" >&5
6066 echo "${ECHO_T}$PS2PDF" >&6; }
6068 { echo "$as_me:$LINENO: result: no" >&5
6069 echo "${ECHO_T}no" >&6; }
6073 test -n "$PS2PDF" && break
6075 test -n "$PS2PDF" || PS2PDF
="notfound"
6077 if test x
$PS2PDF = xnotfound
; then
6078 MISSING_PS2PDF_TRUE
=
6079 MISSING_PS2PDF_FALSE
='#'
6081 MISSING_PS2PDF_TRUE
='#'
6082 MISSING_PS2PDF_FALSE
=
6087 { echo "$as_me:$LINENO: checking for sqrt in -lm" >&5
6088 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6; }
6089 if test "${ac_cv_lib_m_sqrt+set}" = set; then
6090 echo $ECHO_N "(cached) $ECHO_C" >&6
6092 ac_check_lib_save_LIBS
=$LIBS
6094 cat >conftest.
$ac_ext <<_ACEOF
6097 cat confdefs.h
>>conftest.
$ac_ext
6098 cat >>conftest.
$ac_ext <<_ACEOF
6099 /* end confdefs.h. */
6101 /* Override any GCC internal prototype to avoid an error.
6102 Use char because int might match the return type of a GCC
6103 builtin and then its argument prototype would still apply. */
6116 rm -f conftest.
$ac_objext conftest
$ac_exeext
6117 if { (ac_try
="$ac_link"
6119 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6120 *) ac_try_echo=$ac_try;;
6122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6123 (eval "$ac_link") 2>conftest.er1
6125 grep -v '^ *+' conftest.er1 >conftest.err
6127 cat conftest.err >&5
6128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6129 (exit $ac_status); } && {
6130 test -z "$ac_c_werror_flag" ||
6131 test ! -s conftest.err
6132 } && test -s conftest$ac_exeext &&
6133 $as_test_x conftest$ac_exeext; then
6134 ac_cv_lib_m_sqrt=yes
6136 echo "$as_me: failed program was:" >&5
6137 sed 's/^/| /' conftest.$ac_ext >&5
6142 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6143 conftest$ac_exeext conftest.$ac_ext
6144 LIBS=$ac_check_lib_save_LIBS
6146 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5
6147 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6; }
6148 if test $ac_cv_lib_m_sqrt = yes; then
6149 cat >>confdefs.h <<_ACEOF
6158 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
6159 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
6160 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
6161 echo $ECHO_N "(cached) $ECHO_C" >&6
6163 ac_check_lib_save_LIBS=$LIBS
6165 cat >conftest.$ac_ext <<_ACEOF
6168 cat confdefs.h >>conftest.$ac_ext
6169 cat >>conftest.$ac_ext <<_ACEOF
6170 /* end confdefs.h. */
6172 /* Override any GCC internal prototype to avoid an error.
6173 Use char because int might match the return type of a GCC
6174 builtin and then its argument prototype would still apply. */
6187 rm -f conftest.$ac_objext conftest$ac_exeext
6188 if { (ac_try="$ac_link"
6190 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6191 *) ac_try_echo
=$ac_try;;
6193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6194 (eval "$ac_link") 2>conftest.er1
6196 grep -v '^ *+' conftest.er1
>conftest.err
6198 cat conftest.err
>&5
6199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6200 (exit $ac_status); } && {
6201 test -z "$ac_c_werror_flag" ||
6202 test ! -s conftest.err
6203 } && test -s conftest
$ac_exeext &&
6204 $as_test_x conftest
$ac_exeext; then
6205 ac_cv_lib_dl_dlopen
=yes
6207 echo "$as_me: failed program was:" >&5
6208 sed 's/^/| /' conftest.
$ac_ext >&5
6210 ac_cv_lib_dl_dlopen
=no
6213 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6214 conftest
$ac_exeext conftest.
$ac_ext
6215 LIBS
=$ac_check_lib_save_LIBS
6217 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
6218 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
6219 if test $ac_cv_lib_dl_dlopen = yes; then
6220 cat >>confdefs.h
<<_ACEOF
6221 #define HAVE_LIBDL 1
6229 { echo "$as_me:$LINENO: checking for gethostbyname in -lxnet" >&5
6230 echo $ECHO_N "checking for gethostbyname in -lxnet... $ECHO_C" >&6; }
6231 if test "${ac_cv_lib_xnet_gethostbyname+set}" = set; then
6232 echo $ECHO_N "(cached) $ECHO_C" >&6
6234 ac_check_lib_save_LIBS
=$LIBS
6236 cat >conftest.
$ac_ext <<_ACEOF
6239 cat confdefs.h
>>conftest.
$ac_ext
6240 cat >>conftest.
$ac_ext <<_ACEOF
6241 /* end confdefs.h. */
6243 /* Override any GCC internal prototype to avoid an error.
6244 Use char because int might match the return type of a GCC
6245 builtin and then its argument prototype would still apply. */
6249 char gethostbyname ();
6253 return gethostbyname ();
6258 rm -f conftest.
$ac_objext conftest
$ac_exeext
6259 if { (ac_try
="$ac_link"
6261 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6262 *) ac_try_echo=$ac_try;;
6264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6265 (eval "$ac_link") 2>conftest.er1
6267 grep -v '^ *+' conftest.er1 >conftest.err
6269 cat conftest.err >&5
6270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6271 (exit $ac_status); } && {
6272 test -z "$ac_c_werror_flag" ||
6273 test ! -s conftest.err
6274 } && test -s conftest$ac_exeext &&
6275 $as_test_x conftest$ac_exeext; then
6276 ac_cv_lib_xnet_gethostbyname=yes
6278 echo "$as_me: failed program was:" >&5
6279 sed 's/^/| /' conftest.$ac_ext >&5
6281 ac_cv_lib_xnet_gethostbyname=no
6284 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6285 conftest$ac_exeext conftest.$ac_ext
6286 LIBS=$ac_check_lib_save_LIBS
6288 { echo "$as_me:$LINENO: result: $ac_cv_lib_xnet_gethostbyname" >&5
6289 echo "${ECHO_T}$ac_cv_lib_xnet_gethostbyname" >&6; }
6290 if test $ac_cv_lib_xnet_gethostbyname = yes; then
6291 cat >>confdefs.h <<_ACEOF
6292 #define HAVE_LIBXNET 1
6300 { echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
6301 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6; }
6302 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
6303 echo $ECHO_N "(cached) $ECHO_C" >&6
6305 ac_check_lib_save_LIBS=$LIBS
6307 cat >conftest.$ac_ext <<_ACEOF
6310 cat confdefs.h >>conftest.$ac_ext
6311 cat >>conftest.$ac_ext <<_ACEOF
6312 /* end confdefs.h. */
6314 /* Override any GCC internal prototype to avoid an error.
6315 Use char because int might match the return type of a GCC
6316 builtin and then its argument prototype would still apply. */
6329 rm -f conftest.$ac_objext conftest$ac_exeext
6330 if { (ac_try="$ac_link"
6332 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6333 *) ac_try_echo
=$ac_try;;
6335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6336 (eval "$ac_link") 2>conftest.er1
6338 grep -v '^ *+' conftest.er1
>conftest.err
6340 cat conftest.err
>&5
6341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6342 (exit $ac_status); } && {
6343 test -z "$ac_c_werror_flag" ||
6344 test ! -s conftest.err
6345 } && test -s conftest
$ac_exeext &&
6346 $as_test_x conftest
$ac_exeext; then
6347 ac_cv_lib_fl_yywrap
=yes
6349 echo "$as_me: failed program was:" >&5
6350 sed 's/^/| /' conftest.
$ac_ext >&5
6352 ac_cv_lib_fl_yywrap
=no
6355 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6356 conftest
$ac_exeext conftest.
$ac_ext
6357 LIBS
=$ac_check_lib_save_LIBS
6359 { echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
6360 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6; }
6361 if test $ac_cv_lib_fl_yywrap = yes; then
6362 cat >>confdefs.h
<<_ACEOF
6363 #define HAVE_LIBFL 1
6371 for ac_func
in strerror
6373 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6374 { echo "$as_me:$LINENO: checking for $ac_func" >&5
6375 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6376 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6377 echo $ECHO_N "(cached) $ECHO_C" >&6
6379 cat >conftest.
$ac_ext <<_ACEOF
6382 cat confdefs.h
>>conftest.
$ac_ext
6383 cat >>conftest.
$ac_ext <<_ACEOF
6384 /* end confdefs.h. */
6385 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6386 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6387 #define $ac_func innocuous_$ac_func
6389 /* System header to define __stub macros and hopefully few prototypes,
6390 which can conflict with char $ac_func (); below.
6391 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6392 <limits.h> exists even on freestanding compilers. */
6395 # include <limits.h>
6397 # include <assert.h>
6402 /* Override any GCC internal prototype to avoid an error.
6403 Use char because int might match the return type of a GCC
6404 builtin and then its argument prototype would still apply. */
6409 /* The GNU C library defines this for functions which it implements
6410 to always fail with ENOSYS. Some functions are actually named
6411 something starting with __ and the normal name is an alias. */
6412 #if defined __stub_$ac_func || defined __stub___$ac_func
6424 rm -f conftest.
$ac_objext conftest
$ac_exeext
6425 if { (ac_try
="$ac_link"
6427 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6428 *) ac_try_echo=$ac_try;;
6430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6431 (eval "$ac_link") 2>conftest.er1
6433 grep -v '^ *+' conftest.er1 >conftest.err
6435 cat conftest.err >&5
6436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6437 (exit $ac_status); } && {
6438 test -z "$ac_c_werror_flag" ||
6439 test ! -s conftest.err
6440 } && test -s conftest$ac_exeext &&
6441 $as_test_x conftest$ac_exeext; then
6442 eval "$as_ac_var=yes"
6444 echo "$as_me: failed program was:" >&5
6445 sed 's/^/| /' conftest.$ac_ext >&5
6447 eval "$as_ac_var=no"
6450 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6451 conftest$ac_exeext conftest.$ac_ext
6453 ac_res=`eval echo '${'$as_ac_var'}'`
6454 { echo "$as_me:$LINENO: result: $ac_res" >&5
6455 echo "${ECHO_T}$ac_res" >&6; }
6456 if test `eval echo '${'$as_ac_var'}'` = yes; then
6457 cat >>confdefs.h <<_ACEOF
6458 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
6466 for ac_func in regcomp re_comp
6468 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
6469 { echo "$as_me:$LINENO: checking for $ac_func" >&5
6470 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6471 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6472 echo $ECHO_N "(cached) $ECHO_C" >&6
6474 cat >conftest.$ac_ext <<_ACEOF
6477 cat confdefs.h >>conftest.$ac_ext
6478 cat >>conftest.$ac_ext <<_ACEOF
6479 /* end confdefs.h. */
6480 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6481 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6482 #define $ac_func innocuous_$ac_func
6484 /* System header to define __stub macros and hopefully few prototypes,
6485 which can conflict with char $ac_func (); below.
6486 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6487 <limits.h> exists even on freestanding compilers. */
6490 # include <limits.h>
6492 # include <assert.h>
6497 /* Override any GCC internal prototype to avoid an error.
6498 Use char because int might match the return type of a GCC
6499 builtin and then its argument prototype would still apply. */
6504 /* The GNU C library defines this for functions which it implements
6505 to always fail with ENOSYS. Some functions are actually named
6506 something starting with __ and the normal name is an alias. */
6507 #if defined __stub_$ac_func || defined __stub___$ac_func
6519 rm -f conftest.$ac_objext conftest$ac_exeext
6520 if { (ac_try="$ac_link"
6522 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6523 *) ac_try_echo
=$ac_try;;
6525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6526 (eval "$ac_link") 2>conftest.er1
6528 grep -v '^ *+' conftest.er1
>conftest.err
6530 cat conftest.err
>&5
6531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6532 (exit $ac_status); } && {
6533 test -z "$ac_c_werror_flag" ||
6534 test ! -s conftest.err
6535 } && test -s conftest
$ac_exeext &&
6536 $as_test_x conftest
$ac_exeext; then
6537 eval "$as_ac_var=yes"
6539 echo "$as_me: failed program was:" >&5
6540 sed 's/^/| /' conftest.
$ac_ext >&5
6542 eval "$as_ac_var=no"
6545 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6546 conftest
$ac_exeext conftest.
$ac_ext
6548 ac_res
=`eval echo '${'$as_ac_var'}'`
6549 { echo "$as_me:$LINENO: result: $ac_res" >&5
6550 echo "${ECHO_T}$ac_res" >&6; }
6551 if test `eval echo '${'$as_ac_var'}'` = yes; then
6552 cat >>confdefs.h
<<_ACEOF
6553 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6562 for ac_func
in logf expf rint
6564 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6565 { echo "$as_me:$LINENO: checking for $ac_func" >&5
6566 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6567 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6568 echo $ECHO_N "(cached) $ECHO_C" >&6
6570 cat >conftest.
$ac_ext <<_ACEOF
6573 cat confdefs.h
>>conftest.
$ac_ext
6574 cat >>conftest.
$ac_ext <<_ACEOF
6575 /* end confdefs.h. */
6576 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6577 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6578 #define $ac_func innocuous_$ac_func
6580 /* System header to define __stub macros and hopefully few prototypes,
6581 which can conflict with char $ac_func (); below.
6582 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6583 <limits.h> exists even on freestanding compilers. */
6586 # include <limits.h>
6588 # include <assert.h>
6593 /* Override any GCC internal prototype to avoid an error.
6594 Use char because int might match the return type of a GCC
6595 builtin and then its argument prototype would still apply. */
6600 /* The GNU C library defines this for functions which it implements
6601 to always fail with ENOSYS. Some functions are actually named
6602 something starting with __ and the normal name is an alias. */
6603 #if defined __stub_$ac_func || defined __stub___$ac_func
6615 rm -f conftest.
$ac_objext conftest
$ac_exeext
6616 if { (ac_try
="$ac_link"
6618 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6619 *) ac_try_echo=$ac_try;;
6621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6622 (eval "$ac_link") 2>conftest.er1
6624 grep -v '^ *+' conftest.er1 >conftest.err
6626 cat conftest.err >&5
6627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6628 (exit $ac_status); } && {
6629 test -z "$ac_c_werror_flag" ||
6630 test ! -s conftest.err
6631 } && test -s conftest$ac_exeext &&
6632 $as_test_x conftest$ac_exeext; then
6633 eval "$as_ac_var=yes"
6635 echo "$as_me: failed program was:" >&5
6636 sed 's/^/| /' conftest.$ac_ext >&5
6638 eval "$as_ac_var=no"
6641 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6642 conftest$ac_exeext conftest.$ac_ext
6644 ac_res=`eval echo '${'$as_ac_var'}'`
6645 { echo "$as_me:$LINENO: result: $ac_res" >&5
6646 echo "${ECHO_T}$ac_res" >&6; }
6647 if test `eval echo '${'$as_ac_var'}'` = yes; then
6648 cat >>confdefs.h <<_ACEOF
6649 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
6656 for ac_func in vsnprintf
6658 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
6659 { echo "$as_me:$LINENO: checking for $ac_func" >&5
6660 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6661 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6662 echo $ECHO_N "(cached) $ECHO_C" >&6
6664 cat >conftest.$ac_ext <<_ACEOF
6667 cat confdefs.h >>conftest.$ac_ext
6668 cat >>conftest.$ac_ext <<_ACEOF
6669 /* end confdefs.h. */
6670 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6671 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6672 #define $ac_func innocuous_$ac_func
6674 /* System header to define __stub macros and hopefully few prototypes,
6675 which can conflict with char $ac_func (); below.
6676 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6677 <limits.h> exists even on freestanding compilers. */
6680 # include <limits.h>
6682 # include <assert.h>
6687 /* Override any GCC internal prototype to avoid an error.
6688 Use char because int might match the return type of a GCC
6689 builtin and then its argument prototype would still apply. */
6694 /* The GNU C library defines this for functions which it implements
6695 to always fail with ENOSYS. Some functions are actually named
6696 something starting with __ and the normal name is an alias. */
6697 #if defined __stub_$ac_func || defined __stub___$ac_func
6709 rm -f conftest.$ac_objext conftest$ac_exeext
6710 if { (ac_try="$ac_link"
6712 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6713 *) ac_try_echo
=$ac_try;;
6715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6716 (eval "$ac_link") 2>conftest.er1
6718 grep -v '^ *+' conftest.er1
>conftest.err
6720 cat conftest.err
>&5
6721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6722 (exit $ac_status); } && {
6723 test -z "$ac_c_werror_flag" ||
6724 test ! -s conftest.err
6725 } && test -s conftest
$ac_exeext &&
6726 $as_test_x conftest
$ac_exeext; then
6727 eval "$as_ac_var=yes"
6729 echo "$as_me: failed program was:" >&5
6730 sed 's/^/| /' conftest.
$ac_ext >&5
6732 eval "$as_ac_var=no"
6735 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6736 conftest
$ac_exeext conftest.
$ac_ext
6738 ac_res
=`eval echo '${'$as_ac_var'}'`
6739 { echo "$as_me:$LINENO: result: $ac_res" >&5
6740 echo "${ECHO_T}$ac_res" >&6; }
6741 if test `eval echo '${'$as_ac_var'}'` = yes; then
6742 cat >>confdefs.h
<<_ACEOF
6743 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6752 for ac_func
in getpwuid gethostname getcwd
6754 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6755 { echo "$as_me:$LINENO: checking for $ac_func" >&5
6756 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6757 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6758 echo $ECHO_N "(cached) $ECHO_C" >&6
6760 cat >conftest.
$ac_ext <<_ACEOF
6763 cat confdefs.h
>>conftest.
$ac_ext
6764 cat >>conftest.
$ac_ext <<_ACEOF
6765 /* end confdefs.h. */
6766 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6767 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6768 #define $ac_func innocuous_$ac_func
6770 /* System header to define __stub macros and hopefully few prototypes,
6771 which can conflict with char $ac_func (); below.
6772 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6773 <limits.h> exists even on freestanding compilers. */
6776 # include <limits.h>
6778 # include <assert.h>
6783 /* Override any GCC internal prototype to avoid an error.
6784 Use char because int might match the return type of a GCC
6785 builtin and then its argument prototype would still apply. */
6790 /* The GNU C library defines this for functions which it implements
6791 to always fail with ENOSYS. Some functions are actually named
6792 something starting with __ and the normal name is an alias. */
6793 #if defined __stub_$ac_func || defined __stub___$ac_func
6805 rm -f conftest.
$ac_objext conftest
$ac_exeext
6806 if { (ac_try
="$ac_link"
6808 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6809 *) ac_try_echo=$ac_try;;
6811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6812 (eval "$ac_link") 2>conftest.er1
6814 grep -v '^ *+' conftest.er1 >conftest.err
6816 cat conftest.err >&5
6817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6818 (exit $ac_status); } && {
6819 test -z "$ac_c_werror_flag" ||
6820 test ! -s conftest.err
6821 } && test -s conftest$ac_exeext &&
6822 $as_test_x conftest$ac_exeext; then
6823 eval "$as_ac_var=yes"
6825 echo "$as_me: failed program was:" >&5
6826 sed 's/^/| /' conftest.$ac_ext >&5
6828 eval "$as_ac_var=no"
6831 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6832 conftest$ac_exeext conftest.$ac_ext
6834 ac_res=`eval echo '${'$as_ac_var'}'`
6835 { echo "$as_me:$LINENO: result: $ac_res" >&5
6836 echo "${ECHO_T}$ac_res" >&6; }
6837 if test `eval echo '${'$as_ac_var'}'` = yes; then
6838 cat >>confdefs.h <<_ACEOF
6839 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
6846 for ac_func in random
6848 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
6849 { echo "$as_me:$LINENO: checking for $ac_func" >&5
6850 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6851 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6852 echo $ECHO_N "(cached) $ECHO_C" >&6
6854 cat >conftest.$ac_ext <<_ACEOF
6857 cat confdefs.h >>conftest.$ac_ext
6858 cat >>conftest.$ac_ext <<_ACEOF
6859 /* end confdefs.h. */
6860 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6861 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6862 #define $ac_func innocuous_$ac_func
6864 /* System header to define __stub macros and hopefully few prototypes,
6865 which can conflict with char $ac_func (); below.
6866 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6867 <limits.h> exists even on freestanding compilers. */
6870 # include <limits.h>
6872 # include <assert.h>
6877 /* Override any GCC internal prototype to avoid an error.
6878 Use char because int might match the return type of a GCC
6879 builtin and then its argument prototype would still apply. */
6884 /* The GNU C library defines this for functions which it implements
6885 to always fail with ENOSYS. Some functions are actually named
6886 something starting with __ and the normal name is an alias. */
6887 #if defined __stub_$ac_func || defined __stub___$ac_func
6899 rm -f conftest.$ac_objext conftest$ac_exeext
6900 if { (ac_try="$ac_link"
6902 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6903 *) ac_try_echo
=$ac_try;;
6905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6906 (eval "$ac_link") 2>conftest.er1
6908 grep -v '^ *+' conftest.er1
>conftest.err
6910 cat conftest.err
>&5
6911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6912 (exit $ac_status); } && {
6913 test -z "$ac_c_werror_flag" ||
6914 test ! -s conftest.err
6915 } && test -s conftest
$ac_exeext &&
6916 $as_test_x conftest
$ac_exeext; then
6917 eval "$as_ac_var=yes"
6919 echo "$as_me: failed program was:" >&5
6920 sed 's/^/| /' conftest.
$ac_ext >&5
6922 eval "$as_ac_var=no"
6925 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6926 conftest
$ac_exeext conftest.
$ac_ext
6928 ac_res
=`eval echo '${'$as_ac_var'}'`
6929 { echo "$as_me:$LINENO: result: $ac_res" >&5
6930 echo "${ECHO_T}$ac_res" >&6; }
6931 if test `eval echo '${'$as_ac_var'}'` = yes; then
6932 cat >>confdefs.h
<<_ACEOF
6933 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6942 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6943 { echo "$as_me:$LINENO: checking for $ac_func" >&5
6944 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6945 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6946 echo $ECHO_N "(cached) $ECHO_C" >&6
6948 cat >conftest.
$ac_ext <<_ACEOF
6951 cat confdefs.h
>>conftest.
$ac_ext
6952 cat >>conftest.
$ac_ext <<_ACEOF
6953 /* end confdefs.h. */
6954 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6955 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6956 #define $ac_func innocuous_$ac_func
6958 /* System header to define __stub macros and hopefully few prototypes,
6959 which can conflict with char $ac_func (); below.
6960 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6961 <limits.h> exists even on freestanding compilers. */
6964 # include <limits.h>
6966 # include <assert.h>
6971 /* Override any GCC internal prototype to avoid an error.
6972 Use char because int might match the return type of a GCC
6973 builtin and then its argument prototype would still apply. */
6978 /* The GNU C library defines this for functions which it implements
6979 to always fail with ENOSYS. Some functions are actually named
6980 something starting with __ and the normal name is an alias. */
6981 #if defined __stub_$ac_func || defined __stub___$ac_func
6993 rm -f conftest.
$ac_objext conftest
$ac_exeext
6994 if { (ac_try
="$ac_link"
6996 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6997 *) ac_try_echo=$ac_try;;
6999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7000 (eval "$ac_link") 2>conftest.er1
7002 grep -v '^ *+' conftest.er1 >conftest.err
7004 cat conftest.err >&5
7005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7006 (exit $ac_status); } && {
7007 test -z "$ac_c_werror_flag" ||
7008 test ! -s conftest.err
7009 } && test -s conftest$ac_exeext &&
7010 $as_test_x conftest$ac_exeext; then
7011 eval "$as_ac_var=yes"
7013 echo "$as_me: failed program was:" >&5
7014 sed 's/^/| /' conftest.$ac_ext >&5
7016 eval "$as_ac_var=no"
7019 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7020 conftest$ac_exeext conftest.$ac_ext
7022 ac_res=`eval echo '${'$as_ac_var'}'`
7023 { echo "$as_me:$LINENO: result: $ac_res" >&5
7024 echo "${ECHO_T}$ac_res" >&6; }
7025 if test `eval echo '${'$as_ac_var'}'` = yes; then
7026 cat >>confdefs.h <<_ACEOF
7027 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
7034 # normally used for all file i/o
7036 for ac_func in popen
7038 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
7039 { echo "$as_me:$LINENO: checking for $ac_func" >&5
7040 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7041 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7042 echo $ECHO_N "(cached) $ECHO_C" >&6
7044 cat >conftest.$ac_ext <<_ACEOF
7047 cat confdefs.h >>conftest.$ac_ext
7048 cat >>conftest.$ac_ext <<_ACEOF
7049 /* end confdefs.h. */
7050 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7051 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7052 #define $ac_func innocuous_$ac_func
7054 /* System header to define __stub macros and hopefully few prototypes,
7055 which can conflict with char $ac_func (); below.
7056 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7057 <limits.h> exists even on freestanding compilers. */
7060 # include <limits.h>
7062 # include <assert.h>
7067 /* Override any GCC internal prototype to avoid an error.
7068 Use char because int might match the return type of a GCC
7069 builtin and then its argument prototype would still apply. */
7074 /* The GNU C library defines this for functions which it implements
7075 to always fail with ENOSYS. Some functions are actually named
7076 something starting with __ and the normal name is an alias. */
7077 #if defined __stub_$ac_func || defined __stub___$ac_func
7089 rm -f conftest.$ac_objext conftest$ac_exeext
7090 if { (ac_try="$ac_link"
7092 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7093 *) ac_try_echo
=$ac_try;;
7095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7096 (eval "$ac_link") 2>conftest.er1
7098 grep -v '^ *+' conftest.er1
>conftest.err
7100 cat conftest.err
>&5
7101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7102 (exit $ac_status); } && {
7103 test -z "$ac_c_werror_flag" ||
7104 test ! -s conftest.err
7105 } && test -s conftest
$ac_exeext &&
7106 $as_test_x conftest
$ac_exeext; then
7107 eval "$as_ac_var=yes"
7109 echo "$as_me: failed program was:" >&5
7110 sed 's/^/| /' conftest.
$ac_ext >&5
7112 eval "$as_ac_var=no"
7115 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7116 conftest
$ac_exeext conftest.
$ac_ext
7118 ac_res
=`eval echo '${'$as_ac_var'}'`
7119 { echo "$as_me:$LINENO: result: $ac_res" >&5
7120 echo "${ECHO_T}$ac_res" >&6; }
7121 if test `eval echo '${'$as_ac_var'}'` = yes; then
7122 cat >>confdefs.h
<<_ACEOF
7123 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7133 for ac_func
in realpath canonicalize_file_name
7135 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7136 { echo "$as_me:$LINENO: checking for $ac_func" >&5
7137 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7138 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7139 echo $ECHO_N "(cached) $ECHO_C" >&6
7141 cat >conftest.
$ac_ext <<_ACEOF
7144 cat confdefs.h
>>conftest.
$ac_ext
7145 cat >>conftest.
$ac_ext <<_ACEOF
7146 /* end confdefs.h. */
7147 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7148 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7149 #define $ac_func innocuous_$ac_func
7151 /* System header to define __stub macros and hopefully few prototypes,
7152 which can conflict with char $ac_func (); below.
7153 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7154 <limits.h> exists even on freestanding compilers. */
7157 # include <limits.h>
7159 # include <assert.h>
7164 /* Override any GCC internal prototype to avoid an error.
7165 Use char because int might match the return type of a GCC
7166 builtin and then its argument prototype would still apply. */
7171 /* The GNU C library defines this for functions which it implements
7172 to always fail with ENOSYS. Some functions are actually named
7173 something starting with __ and the normal name is an alias. */
7174 #if defined __stub_$ac_func || defined __stub___$ac_func
7186 rm -f conftest.
$ac_objext conftest
$ac_exeext
7187 if { (ac_try
="$ac_link"
7189 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7190 *) ac_try_echo=$ac_try;;
7192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7193 (eval "$ac_link") 2>conftest.er1
7195 grep -v '^ *+' conftest.er1 >conftest.err
7197 cat conftest.err >&5
7198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7199 (exit $ac_status); } && {
7200 test -z "$ac_c_werror_flag" ||
7201 test ! -s conftest.err
7202 } && test -s conftest$ac_exeext &&
7203 $as_test_x conftest$ac_exeext; then
7204 eval "$as_ac_var=yes"
7206 echo "$as_me: failed program was:" >&5
7207 sed 's/^/| /' conftest.$ac_ext >&5
7209 eval "$as_ac_var=no"
7212 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7213 conftest$ac_exeext conftest.$ac_ext
7215 ac_res=`eval echo '${'$as_ac_var'}'`
7216 { echo "$as_me:$LINENO: result: $ac_res" >&5
7217 echo "${ECHO_T}$ac_res" >&6; }
7218 if test `eval echo '${'$as_ac_var'}'` = yes; then
7219 cat >>confdefs.h <<_ACEOF
7220 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
7226 { echo "$as_me:$LINENO: checking whether canonicalize_file_name must be declared" >&5
7227 echo $ECHO_N "checking whether canonicalize_file_name must be declared... $ECHO_C" >&6; }
7228 if test "${libiberty_cv_decl_needed_canonicalize_file_name+set}" = set; then
7229 echo $ECHO_N "(cached) $ECHO_C" >&6
7231 cat >conftest.$ac_ext <<_ACEOF
7234 cat confdefs.h >>conftest.$ac_ext
7235 cat >>conftest.$ac_ext <<_ACEOF
7236 /* end confdefs.h. */
7238 #include "confdefs.h"
7240 #ifdef HAVE_STRING_H
7243 #ifdef HAVE_STRINGS_H
7244 #include <strings.h>
7247 #ifdef HAVE_STDLIB_H
7250 #ifdef HAVE_UNISTD_H
7256 char *(*pfn) = (char *(*)) canonicalize_file_name
7261 rm -f conftest.$ac_objext
7262 if { (ac_try="$ac_compile"
7264 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7265 *) ac_try_echo
=$ac_try;;
7267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7268 (eval "$ac_compile") 2>conftest.er1
7270 grep -v '^ *+' conftest.er1
>conftest.err
7272 cat conftest.err
>&5
7273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7274 (exit $ac_status); } && {
7275 test -z "$ac_c_werror_flag" ||
7276 test ! -s conftest.err
7277 } && test -s conftest.
$ac_objext; then
7278 libiberty_cv_decl_needed_canonicalize_file_name
=no
7280 echo "$as_me: failed program was:" >&5
7281 sed 's/^/| /' conftest.
$ac_ext >&5
7283 libiberty_cv_decl_needed_canonicalize_file_name
=yes
7286 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7289 { echo "$as_me:$LINENO: result: $libiberty_cv_decl_needed_canonicalize_file_name" >&5
7290 echo "${ECHO_T}$libiberty_cv_decl_needed_canonicalize_file_name" >&6; }
7291 if test $libiberty_cv_decl_needed_canonicalize_file_name = yes; then
7293 cat >>confdefs.h
<<\_ACEOF
7294 #define NEED_DECLARATION_CANONICALIZE_FILE_NAME 1
7301 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
7302 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
7303 if test "${ac_cv_path_GREP+set}" = set; then
7304 echo $ECHO_N "(cached) $ECHO_C" >&6
7306 # Extract the first word of "grep ggrep" to use in msg output
7307 if test -z "$GREP"; then
7308 set dummy
grep ggrep
; ac_prog_name
=$2
7309 if test "${ac_cv_path_GREP+set}" = set; then
7310 echo $ECHO_N "(cached) $ECHO_C" >&6
7312 ac_path_GREP_found
=false
7313 # Loop through the user's path and test for each of PROGNAME-LIST
7314 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7315 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
7318 test -z "$as_dir" && as_dir
=.
7319 for ac_prog
in grep ggrep
; do
7320 for ac_exec_ext
in '' $ac_executable_extensions; do
7321 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
7322 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
7323 # Check for GNU ac_path_GREP and select it if it is found.
7324 # Check for GNU $ac_path_GREP
7325 case `"$ac_path_GREP" --version 2>&1` in
7327 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
7330 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
7333 cat "conftest.in" "conftest.in" >"conftest.tmp"
7334 mv "conftest.tmp" "conftest.in"
7335 cp "conftest.in" "conftest.nl"
7336 echo 'GREP' >> "conftest.nl"
7337 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
7338 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
7339 ac_count
=`expr $ac_count + 1`
7340 if test $ac_count -gt ${ac_path_GREP_max-0}; then
7341 # Best one so far, save it but keep looking for a better one
7342 ac_cv_path_GREP
="$ac_path_GREP"
7343 ac_path_GREP_max
=$ac_count
7345 # 10*(2^10) chars as input seems more than enough
7346 test $ac_count -gt 10 && break
7348 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7352 $ac_path_GREP_found && break 3
7362 GREP
="$ac_cv_path_GREP"
7363 if test -z "$GREP"; then
7364 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
7365 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
7366 { (exit 1); exit 1; }; }
7370 ac_cv_path_GREP
=$GREP
7375 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
7376 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
7377 GREP
="$ac_cv_path_GREP"
7380 { echo "$as_me:$LINENO: checking for egrep" >&5
7381 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
7382 if test "${ac_cv_path_EGREP+set}" = set; then
7383 echo $ECHO_N "(cached) $ECHO_C" >&6
7385 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
7386 then ac_cv_path_EGREP
="$GREP -E"
7388 # Extract the first word of "egrep" to use in msg output
7389 if test -z "$EGREP"; then
7390 set dummy
egrep; ac_prog_name
=$2
7391 if test "${ac_cv_path_EGREP+set}" = set; then
7392 echo $ECHO_N "(cached) $ECHO_C" >&6
7394 ac_path_EGREP_found
=false
7395 # Loop through the user's path and test for each of PROGNAME-LIST
7396 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7397 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
7400 test -z "$as_dir" && as_dir
=.
7401 for ac_prog
in egrep; do
7402 for ac_exec_ext
in '' $ac_executable_extensions; do
7403 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
7404 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
7405 # Check for GNU ac_path_EGREP and select it if it is found.
7406 # Check for GNU $ac_path_EGREP
7407 case `"$ac_path_EGREP" --version 2>&1` in
7409 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
7412 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
7415 cat "conftest.in" "conftest.in" >"conftest.tmp"
7416 mv "conftest.tmp" "conftest.in"
7417 cp "conftest.in" "conftest.nl"
7418 echo 'EGREP' >> "conftest.nl"
7419 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
7420 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
7421 ac_count
=`expr $ac_count + 1`
7422 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7423 # Best one so far, save it but keep looking for a better one
7424 ac_cv_path_EGREP
="$ac_path_EGREP"
7425 ac_path_EGREP_max
=$ac_count
7427 # 10*(2^10) chars as input seems more than enough
7428 test $ac_count -gt 10 && break
7430 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7434 $ac_path_EGREP_found && break 3
7444 EGREP
="$ac_cv_path_EGREP"
7445 if test -z "$EGREP"; then
7446 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
7447 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
7448 { (exit 1); exit 1; }; }
7452 ac_cv_path_EGREP
=$EGREP
7458 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
7459 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
7460 EGREP
="$ac_cv_path_EGREP"
7463 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7464 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
7465 if test "${ac_cv_header_stdc+set}" = set; then
7466 echo $ECHO_N "(cached) $ECHO_C" >&6
7468 cat >conftest.
$ac_ext <<_ACEOF
7471 cat confdefs.h
>>conftest.
$ac_ext
7472 cat >>conftest.
$ac_ext <<_ACEOF
7473 /* end confdefs.h. */
7487 rm -f conftest.
$ac_objext
7488 if { (ac_try
="$ac_compile"
7490 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7491 *) ac_try_echo=$ac_try;;
7493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7494 (eval "$ac_compile") 2>conftest.er1
7496 grep -v '^ *+' conftest.er1 >conftest.err
7498 cat conftest.err >&5
7499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7500 (exit $ac_status); } && {
7501 test -z "$ac_c_werror_flag" ||
7502 test ! -s conftest.err
7503 } && test -s conftest.$ac_objext; then
7504 ac_cv_header_stdc=yes
7506 echo "$as_me: failed program was:" >&5
7507 sed 's/^/| /' conftest.$ac_ext >&5
7509 ac_cv_header_stdc=no
7512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7514 if test $ac_cv_header_stdc = yes; then
7515 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7516 cat >conftest.$ac_ext <<_ACEOF
7519 cat confdefs.h >>conftest.$ac_ext
7520 cat >>conftest.$ac_ext <<_ACEOF
7521 /* end confdefs.h. */
7525 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7526 $EGREP "memchr" >/dev/null 2>&1; then
7529 ac_cv_header_stdc=no
7535 if test $ac_cv_header_stdc = yes; then
7536 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7537 cat >conftest.$ac_ext <<_ACEOF
7540 cat confdefs.h >>conftest.$ac_ext
7541 cat >>conftest.$ac_ext <<_ACEOF
7542 /* end confdefs.h. */
7546 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7547 $EGREP "free" >/dev/null 2>&1; then
7550 ac_cv_header_stdc=no
7556 if test $ac_cv_header_stdc = yes; then
7557 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7558 if test "$cross_compiling" = yes; then
7561 cat >conftest.$ac_ext <<_ACEOF
7564 cat confdefs.h >>conftest.$ac_ext
7565 cat >>conftest.$ac_ext <<_ACEOF
7566 /* end confdefs.h. */
7569 #if ((' ' & 0x0FF) == 0x020)
7570 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7571 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7573 # define ISLOWER(c) \
7574 (('a' <= (c) && (c) <= 'i') \
7575 || ('j' <= (c) && (c) <= 'r') \
7576 || ('s' <= (c) && (c) <= 'z'))
7577 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7580 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7585 for (i = 0; i < 256; i++)
7586 if (XOR (islower (i), ISLOWER (i))
7587 || toupper (i) != TOUPPER (i))
7592 rm -f conftest$ac_exeext
7593 if { (ac_try="$ac_link"
7595 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7596 *) ac_try_echo
=$ac_try;;
7598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7599 (eval "$ac_link") 2>&5
7601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7602 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7603 { (case "(($ac_try" in
7604 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7605 *) ac_try_echo=$ac_try;;
7607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7608 (eval "$ac_try") 2>&5
7610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7611 (exit $ac_status); }; }; then
7614 echo "$as_me: program exited with status $ac_status" >&5
7615 echo "$as_me: failed program was:" >&5
7616 sed 's/^/| /' conftest.$ac_ext >&5
7619 ac_cv_header_stdc=no
7621 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7627 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7628 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
7629 if test $ac_cv_header_stdc = yes; then
7631 cat >>confdefs.h <<\_ACEOF
7632 #define STDC_HEADERS 1
7637 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7647 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7648 inttypes.h stdint.h unistd.h
7650 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7651 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7652 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7653 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7654 echo $ECHO_N "(cached) $ECHO_C" >&6
7656 cat >conftest.$ac_ext <<_ACEOF
7659 cat confdefs.h >>conftest.$ac_ext
7660 cat >>conftest.$ac_ext <<_ACEOF
7661 /* end confdefs.h. */
7662 $ac_includes_default
7664 #include <$ac_header>
7666 rm -f conftest.$ac_objext
7667 if { (ac_try="$ac_compile"
7669 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7670 *) ac_try_echo
=$ac_try;;
7672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7673 (eval "$ac_compile") 2>conftest.er1
7675 grep -v '^ *+' conftest.er1
>conftest.err
7677 cat conftest.err
>&5
7678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7679 (exit $ac_status); } && {
7680 test -z "$ac_c_werror_flag" ||
7681 test ! -s conftest.err
7682 } && test -s conftest.
$ac_objext; then
7683 eval "$as_ac_Header=yes"
7685 echo "$as_me: failed program was:" >&5
7686 sed 's/^/| /' conftest.
$ac_ext >&5
7688 eval "$as_ac_Header=no"
7691 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7693 ac_res
=`eval echo '${'$as_ac_Header'}'`
7694 { echo "$as_me:$LINENO: result: $ac_res" >&5
7695 echo "${ECHO_T}$ac_res" >&6; }
7696 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7697 cat >>confdefs.h
<<_ACEOF
7698 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7711 for ac_header
in limits.h string.h sys
/types.h regex.h
pwd.h
7713 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7714 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7715 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7716 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7717 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7718 echo $ECHO_N "(cached) $ECHO_C" >&6
7720 ac_res
=`eval echo '${'$as_ac_Header'}'`
7721 { echo "$as_me:$LINENO: result: $ac_res" >&5
7722 echo "${ECHO_T}$ac_res" >&6; }
7724 # Is the header compilable?
7725 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7726 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7727 cat >conftest.
$ac_ext <<_ACEOF
7730 cat confdefs.h
>>conftest.
$ac_ext
7731 cat >>conftest.
$ac_ext <<_ACEOF
7732 /* end confdefs.h. */
7733 $ac_includes_default
7734 #include <$ac_header>
7736 rm -f conftest.
$ac_objext
7737 if { (ac_try
="$ac_compile"
7739 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7740 *) ac_try_echo=$ac_try;;
7742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7743 (eval "$ac_compile") 2>conftest.er1
7745 grep -v '^ *+' conftest.er1 >conftest.err
7747 cat conftest.err >&5
7748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7749 (exit $ac_status); } && {
7750 test -z "$ac_c_werror_flag" ||
7751 test ! -s conftest.err
7752 } && test -s conftest.$ac_objext; then
7753 ac_header_compiler=yes
7755 echo "$as_me: failed program was:" >&5
7756 sed 's/^/| /' conftest.$ac_ext >&5
7758 ac_header_compiler=no
7761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7762 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7763 echo "${ECHO_T}$ac_header_compiler" >&6; }
7765 # Is the header present?
7766 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7767 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7768 cat >conftest.$ac_ext <<_ACEOF
7771 cat confdefs.h >>conftest.$ac_ext
7772 cat >>conftest.$ac_ext <<_ACEOF
7773 /* end confdefs.h. */
7774 #include <$ac_header>
7776 if { (ac_try="$ac_cpp conftest.$ac_ext"
7778 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7779 *) ac_try_echo
=$ac_try;;
7781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7782 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7784 grep -v '^ *+' conftest.er1
>conftest.err
7786 cat conftest.err
>&5
7787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7788 (exit $ac_status); } >/dev
/null
&& {
7789 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7790 test ! -s conftest.err
7792 ac_header_preproc
=yes
7794 echo "$as_me: failed program was:" >&5
7795 sed 's/^/| /' conftest.
$ac_ext >&5
7797 ac_header_preproc
=no
7800 rm -f conftest.err conftest.
$ac_ext
7801 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7802 echo "${ECHO_T}$ac_header_preproc" >&6; }
7804 # So? What about this header?
7805 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7807 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7808 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7809 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7810 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7811 ac_header_preproc
=yes
7814 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7815 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7816 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7817 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7818 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7819 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7820 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7821 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7822 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7823 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7824 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7825 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7829 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7830 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7831 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7832 echo $ECHO_N "(cached) $ECHO_C" >&6
7834 eval "$as_ac_Header=\$ac_header_preproc"
7836 ac_res
=`eval echo '${'$as_ac_Header'}'`
7837 { echo "$as_me:$LINENO: result: $ac_res" >&5
7838 echo "${ECHO_T}$ac_res" >&6; }
7841 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7842 cat >>confdefs.h
<<_ACEOF
7843 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7855 for ac_header
in sys
/socket.h netinet
/in.h netdb.h sys
/param.h sys
/times.h
7857 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7858 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7859 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7860 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7861 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7862 echo $ECHO_N "(cached) $ECHO_C" >&6
7864 ac_res
=`eval echo '${'$as_ac_Header'}'`
7865 { echo "$as_me:$LINENO: result: $ac_res" >&5
7866 echo "${ECHO_T}$ac_res" >&6; }
7868 # Is the header compilable?
7869 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7870 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7871 cat >conftest.
$ac_ext <<_ACEOF
7874 cat confdefs.h
>>conftest.
$ac_ext
7875 cat >>conftest.
$ac_ext <<_ACEOF
7876 /* end confdefs.h. */
7877 $ac_includes_default
7878 #include <$ac_header>
7880 rm -f conftest.
$ac_objext
7881 if { (ac_try
="$ac_compile"
7883 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7884 *) ac_try_echo=$ac_try;;
7886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7887 (eval "$ac_compile") 2>conftest.er1
7889 grep -v '^ *+' conftest.er1 >conftest.err
7891 cat conftest.err >&5
7892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7893 (exit $ac_status); } && {
7894 test -z "$ac_c_werror_flag" ||
7895 test ! -s conftest.err
7896 } && test -s conftest.$ac_objext; then
7897 ac_header_compiler=yes
7899 echo "$as_me: failed program was:" >&5
7900 sed 's/^/| /' conftest.$ac_ext >&5
7902 ac_header_compiler=no
7905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7906 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7907 echo "${ECHO_T}$ac_header_compiler" >&6; }
7909 # Is the header present?
7910 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7911 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7912 cat >conftest.$ac_ext <<_ACEOF
7915 cat confdefs.h >>conftest.$ac_ext
7916 cat >>conftest.$ac_ext <<_ACEOF
7917 /* end confdefs.h. */
7918 #include <$ac_header>
7920 if { (ac_try="$ac_cpp conftest.$ac_ext"
7922 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7923 *) ac_try_echo
=$ac_try;;
7925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7926 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7928 grep -v '^ *+' conftest.er1
>conftest.err
7930 cat conftest.err
>&5
7931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7932 (exit $ac_status); } >/dev
/null
&& {
7933 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7934 test ! -s conftest.err
7936 ac_header_preproc
=yes
7938 echo "$as_me: failed program was:" >&5
7939 sed 's/^/| /' conftest.
$ac_ext >&5
7941 ac_header_preproc
=no
7944 rm -f conftest.err conftest.
$ac_ext
7945 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7946 echo "${ECHO_T}$ac_header_preproc" >&6; }
7948 # So? What about this header?
7949 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7951 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7952 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7953 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7954 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7955 ac_header_preproc
=yes
7958 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7959 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7960 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7961 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7962 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7963 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7964 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7965 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7966 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7967 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7968 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7969 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7973 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7974 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7975 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7976 echo $ECHO_N "(cached) $ECHO_C" >&6
7978 eval "$as_ac_Header=\$ac_header_preproc"
7980 ac_res
=`eval echo '${'$as_ac_Header'}'`
7981 { echo "$as_me:$LINENO: result: $ac_res" >&5
7982 echo "${ECHO_T}$ac_res" >&6; }
7985 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7986 cat >>confdefs.h
<<_ACEOF
7987 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7995 for ac_header
in dlfcn.h
7997 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7998 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7999 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8000 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8001 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8002 echo $ECHO_N "(cached) $ECHO_C" >&6
8004 ac_res
=`eval echo '${'$as_ac_Header'}'`
8005 { echo "$as_me:$LINENO: result: $ac_res" >&5
8006 echo "${ECHO_T}$ac_res" >&6; }
8008 # Is the header compilable?
8009 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
8010 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8011 cat >conftest.
$ac_ext <<_ACEOF
8014 cat confdefs.h
>>conftest.
$ac_ext
8015 cat >>conftest.
$ac_ext <<_ACEOF
8016 /* end confdefs.h. */
8017 $ac_includes_default
8018 #include <$ac_header>
8020 rm -f conftest.
$ac_objext
8021 if { (ac_try
="$ac_compile"
8023 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8024 *) ac_try_echo=$ac_try;;
8026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8027 (eval "$ac_compile") 2>conftest.er1
8029 grep -v '^ *+' conftest.er1 >conftest.err
8031 cat conftest.err >&5
8032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8033 (exit $ac_status); } && {
8034 test -z "$ac_c_werror_flag" ||
8035 test ! -s conftest.err
8036 } && test -s conftest.$ac_objext; then
8037 ac_header_compiler=yes
8039 echo "$as_me: failed program was:" >&5
8040 sed 's/^/| /' conftest.$ac_ext >&5
8042 ac_header_compiler=no
8045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8046 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8047 echo "${ECHO_T}$ac_header_compiler" >&6; }
8049 # Is the header present?
8050 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
8051 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8052 cat >conftest.$ac_ext <<_ACEOF
8055 cat confdefs.h >>conftest.$ac_ext
8056 cat >>conftest.$ac_ext <<_ACEOF
8057 /* end confdefs.h. */
8058 #include <$ac_header>
8060 if { (ac_try="$ac_cpp conftest.$ac_ext"
8062 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8063 *) ac_try_echo
=$ac_try;;
8065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8066 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8068 grep -v '^ *+' conftest.er1
>conftest.err
8070 cat conftest.err
>&5
8071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8072 (exit $ac_status); } >/dev
/null
&& {
8073 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8074 test ! -s conftest.err
8076 ac_header_preproc
=yes
8078 echo "$as_me: failed program was:" >&5
8079 sed 's/^/| /' conftest.
$ac_ext >&5
8081 ac_header_preproc
=no
8084 rm -f conftest.err conftest.
$ac_ext
8085 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8086 echo "${ECHO_T}$ac_header_preproc" >&6; }
8088 # So? What about this header?
8089 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8091 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8092 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8093 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8094 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8095 ac_header_preproc
=yes
8098 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8099 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8100 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8101 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8102 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8103 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8104 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8105 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8106 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8107 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8108 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8109 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8113 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8114 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8115 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8116 echo $ECHO_N "(cached) $ECHO_C" >&6
8118 eval "$as_ac_Header=\$ac_header_preproc"
8120 ac_res
=`eval echo '${'$as_ac_Header'}'`
8121 { echo "$as_me:$LINENO: result: $ac_res" >&5
8122 echo "${ECHO_T}$ac_res" >&6; }
8125 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8126 cat >>confdefs.h
<<_ACEOF
8127 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8135 if test "x${WIN32}" = "xyes" ; then
8137 for ac_header
in windows.h
8139 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8140 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8141 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8142 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8143 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8144 echo $ECHO_N "(cached) $ECHO_C" >&6
8146 ac_res
=`eval echo '${'$as_ac_Header'}'`
8147 { echo "$as_me:$LINENO: result: $ac_res" >&5
8148 echo "${ECHO_T}$ac_res" >&6; }
8150 # Is the header compilable?
8151 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
8152 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8153 cat >conftest.
$ac_ext <<_ACEOF
8156 cat confdefs.h
>>conftest.
$ac_ext
8157 cat >>conftest.
$ac_ext <<_ACEOF
8158 /* end confdefs.h. */
8159 $ac_includes_default
8160 #include <$ac_header>
8162 rm -f conftest.
$ac_objext
8163 if { (ac_try
="$ac_compile"
8165 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8166 *) ac_try_echo=$ac_try;;
8168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8169 (eval "$ac_compile") 2>conftest.er1
8171 grep -v '^ *+' conftest.er1 >conftest.err
8173 cat conftest.err >&5
8174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8175 (exit $ac_status); } && {
8176 test -z "$ac_c_werror_flag" ||
8177 test ! -s conftest.err
8178 } && test -s conftest.$ac_objext; then
8179 ac_header_compiler=yes
8181 echo "$as_me: failed program was:" >&5
8182 sed 's/^/| /' conftest.$ac_ext >&5
8184 ac_header_compiler=no
8187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8188 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8189 echo "${ECHO_T}$ac_header_compiler" >&6; }
8191 # Is the header present?
8192 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
8193 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8194 cat >conftest.$ac_ext <<_ACEOF
8197 cat confdefs.h >>conftest.$ac_ext
8198 cat >>conftest.$ac_ext <<_ACEOF
8199 /* end confdefs.h. */
8200 #include <$ac_header>
8202 if { (ac_try="$ac_cpp conftest.$ac_ext"
8204 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8205 *) ac_try_echo
=$ac_try;;
8207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8208 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8210 grep -v '^ *+' conftest.er1
>conftest.err
8212 cat conftest.err
>&5
8213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8214 (exit $ac_status); } >/dev
/null
&& {
8215 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8216 test ! -s conftest.err
8218 ac_header_preproc
=yes
8220 echo "$as_me: failed program was:" >&5
8221 sed 's/^/| /' conftest.
$ac_ext >&5
8223 ac_header_preproc
=no
8226 rm -f conftest.err conftest.
$ac_ext
8227 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8228 echo "${ECHO_T}$ac_header_preproc" >&6; }
8230 # So? What about this header?
8231 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8233 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8234 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8235 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8236 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8237 ac_header_preproc
=yes
8240 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8241 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8242 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8243 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8244 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8245 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8246 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8247 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8248 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8249 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8250 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8251 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8255 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8256 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8257 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8258 echo $ECHO_N "(cached) $ECHO_C" >&6
8260 eval "$as_ac_Header=\$ac_header_preproc"
8262 ac_res
=`eval echo '${'$as_ac_Header'}'`
8263 { echo "$as_me:$LINENO: result: $ac_res" >&5
8264 echo "${ECHO_T}$ac_res" >&6; }
8267 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8268 cat >>confdefs.h
<<_ACEOF
8269 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8278 for e
in $HIDLIST; do
8281 { echo "$as_me:$LINENO: checking for X" >&5
8282 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
8285 # Check whether --with-x was given.
8286 if test "${with_x+set}" = set; then
8290 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8291 if test "x$with_x" = xno
; then
8292 # The user explicitly disabled X.
8295 case $x_includes,$x_libraries in #(
8296 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
8297 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
8298 { (exit 1); exit 1; }; };; #(
8299 *,NONE | NONE
,*) if test "${ac_cv_have_x+set}" = set; then
8300 echo $ECHO_N "(cached) $ECHO_C" >&6
8302 # One or both of the vars are not set, and there is no cached value.
8303 ac_x_includes
=no ac_x_libraries
=no
8304 rm -f -r conftest.dir
8305 if mkdir conftest.dir
; then
8307 cat >Imakefile
<<'_ACEOF'
8309 @echo incroot='${INCROOT}'
8311 @echo usrlibdir='${USRLIBDIR}'
8313 @echo libdir='${LIBDIR}'
8315 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
8316 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
8317 for ac_var
in incroot usrlibdir libdir
; do
8318 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8320 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8321 for ac_extension
in a so sl
; do
8322 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8323 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8324 ac_im_usrlibdir
=$ac_im_libdir; break
8327 # Screen out bogus values from the imake configuration. They are
8328 # bogus both because they are the default anyway, and because
8329 # using them would break gcc on systems where it needs fixed includes.
8330 case $ac_im_incroot in
8331 /usr
/include
) ac_x_includes
= ;;
8332 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
8334 case $ac_im_usrlibdir in
8336 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
8340 rm -f -r conftest.dir
8343 # Standard set of common directories for X headers.
8344 # Check X11 before X11Rn because it is often a symlink to the current release.
8356 /usr/local/X11/include
8357 /usr/local/X11R6/include
8358 /usr/local/X11R5/include
8359 /usr/local/X11R4/include
8361 /usr/local/include/X11
8362 /usr/local/include/X11R6
8363 /usr/local/include/X11R5
8364 /usr/local/include/X11R4
8368 /usr/XFree86/include/X11
8372 /usr/unsupported/include
8374 /usr/local/x11r5/include
8375 /usr/lpp/Xamples/include
8377 /usr/openwin/include
8378 /usr/openwin/share/include'
8380 if test "$ac_x_includes" = no
; then
8381 # Guess where to find include files, by looking for Xlib.h.
8382 # First, try using that file with no special directory specified.
8383 cat >conftest.
$ac_ext <<_ACEOF
8386 cat confdefs.h
>>conftest.
$ac_ext
8387 cat >>conftest.
$ac_ext <<_ACEOF
8388 /* end confdefs.h. */
8389 #include <X11/Xlib.h>
8391 if { (ac_try
="$ac_cpp conftest.$ac_ext"
8393 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8394 *) ac_try_echo=$ac_try;;
8396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8397 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8399 grep -v '^ *+' conftest.er1 >conftest.err
8401 cat conftest.err >&5
8402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8403 (exit $ac_status); } >/dev/null && {
8404 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8405 test ! -s conftest.err
8407 # We can compile using X headers with no special include directory.
8410 echo "$as_me: failed program was:" >&5
8411 sed 's/^/| /' conftest.$ac_ext >&5
8413 for ac_dir in $ac_x_header_dirs; do
8414 if test -r "$ac_dir/X11/Xlib.h"; then
8415 ac_x_includes=$ac_dir
8421 rm -f conftest.err conftest.$ac_ext
8422 fi # $ac_x_includes = no
8424 if test "$ac_x_libraries" = no; then
8425 # Check for the libraries.
8426 # See if we find them without any special options.
8427 # Don't add to $LIBS permanently.
8430 cat >conftest.$ac_ext <<_ACEOF
8433 cat confdefs.h >>conftest.$ac_ext
8434 cat >>conftest.$ac_ext <<_ACEOF
8435 /* end confdefs.h. */
8436 #include <X11/Xlib.h>
8445 rm -f conftest.$ac_objext conftest$ac_exeext
8446 if { (ac_try="$ac_link"
8448 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8449 *) ac_try_echo
=$ac_try;;
8451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8452 (eval "$ac_link") 2>conftest.er1
8454 grep -v '^ *+' conftest.er1
>conftest.err
8456 cat conftest.err
>&5
8457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8458 (exit $ac_status); } && {
8459 test -z "$ac_c_werror_flag" ||
8460 test ! -s conftest.err
8461 } && test -s conftest
$ac_exeext &&
8462 $as_test_x conftest
$ac_exeext; then
8464 # We can link X programs with no special library path.
8467 echo "$as_me: failed program was:" >&5
8468 sed 's/^/| /' conftest.
$ac_ext >&5
8471 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8473 # Don't even attempt the hair of trying to link an X program!
8474 for ac_extension
in a so sl
; do
8475 if test -r "$ac_dir/libX11.$ac_extension"; then
8476 ac_x_libraries
=$ac_dir
8483 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8484 conftest
$ac_exeext conftest.
$ac_ext
8485 fi # $ac_x_libraries = no
8487 case $ac_x_includes,$ac_x_libraries in #(
8489 # Didn't find X, or a directory has "'" in its name.
8490 ac_cv_have_x
="have_x=no";; #(
8492 # Record where we found X for the cache.
8493 ac_cv_have_x
="have_x=yes\
8494 ac_x_includes='$ac_x_includes'\
8495 ac_x_libraries='$ac_x_libraries'"
8501 eval "$ac_cv_have_x"
8504 if test "$have_x" != yes; then
8505 { echo "$as_me:$LINENO: result: $have_x" >&5
8506 echo "${ECHO_T}$have_x" >&6; }
8509 # If each of the values was on the command line, it overrides each guess.
8510 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
8511 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
8512 # Update the cache value to reflect the command line values.
8513 ac_cv_have_x
="have_x=yes\
8514 ac_x_includes='$x_includes'\
8515 ac_x_libraries='$x_libraries'"
8516 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
8517 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
8520 if test "$no_x" = yes; then
8521 # Not all programs may use this symbol, but it does not hurt to define it.
8523 cat >>confdefs.h
<<\_ACEOF
8524 #define X_DISPLAY_MISSING 1
8527 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
8529 if test -n "$x_includes"; then
8530 X_CFLAGS
="$X_CFLAGS -I$x_includes"
8533 # It would also be nice to do this for all -L options, not just this one.
8534 if test -n "$x_libraries"; then
8535 X_LIBS
="$X_LIBS -L$x_libraries"
8536 # For Solaris; some versions of Sun CC require a space after -R and
8537 # others require no space. Words are not sufficient . . . .
8538 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
8539 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
8540 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
8541 ac_xsave_c_werror_flag
=$ac_c_werror_flag
8542 ac_c_werror_flag
=yes
8543 cat >conftest.
$ac_ext <<_ACEOF
8546 cat confdefs.h
>>conftest.
$ac_ext
8547 cat >>conftest.
$ac_ext <<_ACEOF
8548 /* end confdefs.h. */
8558 rm -f conftest.
$ac_objext conftest
$ac_exeext
8559 if { (ac_try
="$ac_link"
8561 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8562 *) ac_try_echo=$ac_try;;
8564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8565 (eval "$ac_link") 2>conftest.er1
8567 grep -v '^ *+' conftest.er1 >conftest.err
8569 cat conftest.err >&5
8570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8571 (exit $ac_status); } && {
8572 test -z "$ac_c_werror_flag" ||
8573 test ! -s conftest.err
8574 } && test -s conftest$ac_exeext &&
8575 $as_test_x conftest$ac_exeext; then
8576 { echo "$as_me:$LINENO: result: no" >&5
8577 echo "${ECHO_T}no" >&6; }
8578 X_LIBS="$X_LIBS -R$x_libraries"
8580 echo "$as_me: failed program was:" >&5
8581 sed 's/^/| /' conftest.$ac_ext >&5
8583 LIBS="$ac_xsave_LIBS -R $x_libraries"
8584 cat >conftest.$ac_ext <<_ACEOF
8587 cat confdefs.h >>conftest.$ac_ext
8588 cat >>conftest.$ac_ext <<_ACEOF
8589 /* end confdefs.h. */
8599 rm -f conftest.$ac_objext conftest$ac_exeext
8600 if { (ac_try="$ac_link"
8602 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8603 *) ac_try_echo
=$ac_try;;
8605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8606 (eval "$ac_link") 2>conftest.er1
8608 grep -v '^ *+' conftest.er1
>conftest.err
8610 cat conftest.err
>&5
8611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8612 (exit $ac_status); } && {
8613 test -z "$ac_c_werror_flag" ||
8614 test ! -s conftest.err
8615 } && test -s conftest
$ac_exeext &&
8616 $as_test_x conftest
$ac_exeext; then
8617 { echo "$as_me:$LINENO: result: yes" >&5
8618 echo "${ECHO_T}yes" >&6; }
8619 X_LIBS
="$X_LIBS -R $x_libraries"
8621 echo "$as_me: failed program was:" >&5
8622 sed 's/^/| /' conftest.
$ac_ext >&5
8624 { echo "$as_me:$LINENO: result: neither works" >&5
8625 echo "${ECHO_T}neither works" >&6; }
8628 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8629 conftest
$ac_exeext conftest.
$ac_ext
8632 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8633 conftest
$ac_exeext conftest.
$ac_ext
8634 ac_c_werror_flag
=$ac_xsave_c_werror_flag
8638 # Check for system-dependent libraries X programs must link with.
8639 # Do this before checking for the system-independent R6 libraries
8640 # (-lICE), since we may need -lsocket or whatever for X linking.
8642 if test "$ISC" = yes; then
8643 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
8645 # Martyn Johnson says this is needed for Ultrix, if the X
8646 # libraries were built with DECnet support. And Karl Berry says
8647 # the Alpha needs dnet_stub (dnet does not exist).
8648 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
8649 cat >conftest.
$ac_ext <<_ACEOF
8652 cat confdefs.h
>>conftest.
$ac_ext
8653 cat >>conftest.
$ac_ext <<_ACEOF
8654 /* end confdefs.h. */
8656 /* Override any GCC internal prototype to avoid an error.
8657 Use char because int might match the return type of a GCC
8658 builtin and then its argument prototype would still apply. */
8662 char XOpenDisplay ();
8666 return XOpenDisplay ();
8671 rm -f conftest.
$ac_objext conftest
$ac_exeext
8672 if { (ac_try
="$ac_link"
8674 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8675 *) ac_try_echo=$ac_try;;
8677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8678 (eval "$ac_link") 2>conftest.er1
8680 grep -v '^ *+' conftest.er1 >conftest.err
8682 cat conftest.err >&5
8683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8684 (exit $ac_status); } && {
8685 test -z "$ac_c_werror_flag" ||
8686 test ! -s conftest.err
8687 } && test -s conftest$ac_exeext &&
8688 $as_test_x conftest$ac_exeext; then
8691 echo "$as_me: failed program was:" >&5
8692 sed 's/^/| /' conftest.$ac_ext >&5
8694 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
8695 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
8696 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
8697 echo $ECHO_N "(cached) $ECHO_C" >&6
8699 ac_check_lib_save_LIBS=$LIBS
8701 cat >conftest.$ac_ext <<_ACEOF
8704 cat confdefs.h >>conftest.$ac_ext
8705 cat >>conftest.$ac_ext <<_ACEOF
8706 /* end confdefs.h. */
8708 /* Override any GCC internal prototype to avoid an error.
8709 Use char because int might match the return type of a GCC
8710 builtin and then its argument prototype would still apply. */
8718 return dnet_ntoa ();
8723 rm -f conftest.$ac_objext conftest$ac_exeext
8724 if { (ac_try="$ac_link"
8726 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8727 *) ac_try_echo
=$ac_try;;
8729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8730 (eval "$ac_link") 2>conftest.er1
8732 grep -v '^ *+' conftest.er1
>conftest.err
8734 cat conftest.err
>&5
8735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8736 (exit $ac_status); } && {
8737 test -z "$ac_c_werror_flag" ||
8738 test ! -s conftest.err
8739 } && test -s conftest
$ac_exeext &&
8740 $as_test_x conftest
$ac_exeext; then
8741 ac_cv_lib_dnet_dnet_ntoa
=yes
8743 echo "$as_me: failed program was:" >&5
8744 sed 's/^/| /' conftest.
$ac_ext >&5
8746 ac_cv_lib_dnet_dnet_ntoa
=no
8749 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8750 conftest
$ac_exeext conftest.
$ac_ext
8751 LIBS
=$ac_check_lib_save_LIBS
8753 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
8754 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
8755 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
8756 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
8759 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
8760 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
8761 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
8762 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
8763 echo $ECHO_N "(cached) $ECHO_C" >&6
8765 ac_check_lib_save_LIBS
=$LIBS
8766 LIBS
="-ldnet_stub $LIBS"
8767 cat >conftest.
$ac_ext <<_ACEOF
8770 cat confdefs.h
>>conftest.
$ac_ext
8771 cat >>conftest.
$ac_ext <<_ACEOF
8772 /* end confdefs.h. */
8774 /* Override any GCC internal prototype to avoid an error.
8775 Use char because int might match the return type of a GCC
8776 builtin and then its argument prototype would still apply. */
8784 return dnet_ntoa ();
8789 rm -f conftest.
$ac_objext conftest
$ac_exeext
8790 if { (ac_try
="$ac_link"
8792 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8793 *) ac_try_echo=$ac_try;;
8795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8796 (eval "$ac_link") 2>conftest.er1
8798 grep -v '^ *+' conftest.er1 >conftest.err
8800 cat conftest.err >&5
8801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8802 (exit $ac_status); } && {
8803 test -z "$ac_c_werror_flag" ||
8804 test ! -s conftest.err
8805 } && test -s conftest$ac_exeext &&
8806 $as_test_x conftest$ac_exeext; then
8807 ac_cv_lib_dnet_stub_dnet_ntoa=yes
8809 echo "$as_me: failed program was:" >&5
8810 sed 's/^/| /' conftest.$ac_ext >&5
8812 ac_cv_lib_dnet_stub_dnet_ntoa=no
8815 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8816 conftest$ac_exeext conftest.$ac_ext
8817 LIBS=$ac_check_lib_save_LIBS
8819 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
8820 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
8821 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
8822 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
8828 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8829 conftest$ac_exeext conftest.$ac_ext
8830 LIBS="$ac_xsave_LIBS"
8832 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
8833 # to get the SysV transport functions.
8834 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
8836 # The nsl library prevents programs from opening the X display
8837 # on Irix 5.2, according to T.E. Dickey.
8838 # The functions gethostbyname, getservbyname, and inet_addr are
8839 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
8840 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
8841 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
8842 if test "${ac_cv_func_gethostbyname+set}" = set; then
8843 echo $ECHO_N "(cached) $ECHO_C" >&6
8845 cat >conftest.$ac_ext <<_ACEOF
8848 cat confdefs.h >>conftest.$ac_ext
8849 cat >>conftest.$ac_ext <<_ACEOF
8850 /* end confdefs.h. */
8851 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
8852 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8853 #define gethostbyname innocuous_gethostbyname
8855 /* System header to define __stub macros and hopefully few prototypes,
8856 which can conflict with char gethostbyname (); below.
8857 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8858 <limits.h> exists even on freestanding compilers. */
8861 # include <limits.h>
8863 # include <assert.h>
8866 #undef gethostbyname
8868 /* Override any GCC internal prototype to avoid an error.
8869 Use char because int might match the return type of a GCC
8870 builtin and then its argument prototype would still apply. */
8874 char gethostbyname ();
8875 /* The GNU C library defines this for functions which it implements
8876 to always fail with ENOSYS. Some functions are actually named
8877 something starting with __ and the normal name is an alias. */
8878 #if defined __stub_gethostbyname || defined __stub___gethostbyname
8885 return gethostbyname ();
8890 rm -f conftest.$ac_objext conftest$ac_exeext
8891 if { (ac_try="$ac_link"
8893 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8894 *) ac_try_echo
=$ac_try;;
8896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8897 (eval "$ac_link") 2>conftest.er1
8899 grep -v '^ *+' conftest.er1
>conftest.err
8901 cat conftest.err
>&5
8902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8903 (exit $ac_status); } && {
8904 test -z "$ac_c_werror_flag" ||
8905 test ! -s conftest.err
8906 } && test -s conftest
$ac_exeext &&
8907 $as_test_x conftest
$ac_exeext; then
8908 ac_cv_func_gethostbyname
=yes
8910 echo "$as_me: failed program was:" >&5
8911 sed 's/^/| /' conftest.
$ac_ext >&5
8913 ac_cv_func_gethostbyname
=no
8916 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8917 conftest
$ac_exeext conftest.
$ac_ext
8919 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
8920 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
8922 if test $ac_cv_func_gethostbyname = no
; then
8923 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
8924 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
8925 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
8926 echo $ECHO_N "(cached) $ECHO_C" >&6
8928 ac_check_lib_save_LIBS
=$LIBS
8930 cat >conftest.
$ac_ext <<_ACEOF
8933 cat confdefs.h
>>conftest.
$ac_ext
8934 cat >>conftest.
$ac_ext <<_ACEOF
8935 /* end confdefs.h. */
8937 /* Override any GCC internal prototype to avoid an error.
8938 Use char because int might match the return type of a GCC
8939 builtin and then its argument prototype would still apply. */
8943 char gethostbyname ();
8947 return gethostbyname ();
8952 rm -f conftest.
$ac_objext conftest
$ac_exeext
8953 if { (ac_try
="$ac_link"
8955 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8956 *) ac_try_echo=$ac_try;;
8958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8959 (eval "$ac_link") 2>conftest.er1
8961 grep -v '^ *+' conftest.er1 >conftest.err
8963 cat conftest.err >&5
8964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8965 (exit $ac_status); } && {
8966 test -z "$ac_c_werror_flag" ||
8967 test ! -s conftest.err
8968 } && test -s conftest$ac_exeext &&
8969 $as_test_x conftest$ac_exeext; then
8970 ac_cv_lib_nsl_gethostbyname=yes
8972 echo "$as_me: failed program was:" >&5
8973 sed 's/^/| /' conftest.$ac_ext >&5
8975 ac_cv_lib_nsl_gethostbyname=no
8978 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8979 conftest$ac_exeext conftest.$ac_ext
8980 LIBS=$ac_check_lib_save_LIBS
8982 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
8983 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
8984 if test $ac_cv_lib_nsl_gethostbyname = yes; then
8985 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
8988 if test $ac_cv_lib_nsl_gethostbyname = no; then
8989 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
8990 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
8991 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
8992 echo $ECHO_N "(cached) $ECHO_C" >&6
8994 ac_check_lib_save_LIBS=$LIBS
8996 cat >conftest.$ac_ext <<_ACEOF
8999 cat confdefs.h >>conftest.$ac_ext
9000 cat >>conftest.$ac_ext <<_ACEOF
9001 /* end confdefs.h. */
9003 /* Override any GCC internal prototype to avoid an error.
9004 Use char because int might match the return type of a GCC
9005 builtin and then its argument prototype would still apply. */
9009 char gethostbyname ();
9013 return gethostbyname ();
9018 rm -f conftest.$ac_objext conftest$ac_exeext
9019 if { (ac_try="$ac_link"
9021 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9022 *) ac_try_echo
=$ac_try;;
9024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9025 (eval "$ac_link") 2>conftest.er1
9027 grep -v '^ *+' conftest.er1
>conftest.err
9029 cat conftest.err
>&5
9030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9031 (exit $ac_status); } && {
9032 test -z "$ac_c_werror_flag" ||
9033 test ! -s conftest.err
9034 } && test -s conftest
$ac_exeext &&
9035 $as_test_x conftest
$ac_exeext; then
9036 ac_cv_lib_bsd_gethostbyname
=yes
9038 echo "$as_me: failed program was:" >&5
9039 sed 's/^/| /' conftest.
$ac_ext >&5
9041 ac_cv_lib_bsd_gethostbyname
=no
9044 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9045 conftest
$ac_exeext conftest.
$ac_ext
9046 LIBS
=$ac_check_lib_save_LIBS
9048 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
9049 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
9050 if test $ac_cv_lib_bsd_gethostbyname = yes; then
9051 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
9057 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9058 # socket/setsockopt and other routines are undefined under SCO ODT
9059 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9060 # on later versions), says Simon Leinen: it contains gethostby*
9061 # variants that don't use the name server (or something). -lsocket
9062 # must be given before -lnsl if both are needed. We assume that
9063 # if connect needs -lnsl, so does gethostbyname.
9064 { echo "$as_me:$LINENO: checking for connect" >&5
9065 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
9066 if test "${ac_cv_func_connect+set}" = set; then
9067 echo $ECHO_N "(cached) $ECHO_C" >&6
9069 cat >conftest.
$ac_ext <<_ACEOF
9072 cat confdefs.h
>>conftest.
$ac_ext
9073 cat >>conftest.
$ac_ext <<_ACEOF
9074 /* end confdefs.h. */
9075 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
9076 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9077 #define connect innocuous_connect
9079 /* System header to define __stub macros and hopefully few prototypes,
9080 which can conflict with char connect (); below.
9081 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9082 <limits.h> exists even on freestanding compilers. */
9085 # include <limits.h>
9087 # include <assert.h>
9092 /* Override any GCC internal prototype to avoid an error.
9093 Use char because int might match the return type of a GCC
9094 builtin and then its argument prototype would still apply. */
9099 /* The GNU C library defines this for functions which it implements
9100 to always fail with ENOSYS. Some functions are actually named
9101 something starting with __ and the normal name is an alias. */
9102 #if defined __stub_connect || defined __stub___connect
9114 rm -f conftest.
$ac_objext conftest
$ac_exeext
9115 if { (ac_try
="$ac_link"
9117 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9118 *) ac_try_echo=$ac_try;;
9120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9121 (eval "$ac_link") 2>conftest.er1
9123 grep -v '^ *+' conftest.er1 >conftest.err
9125 cat conftest.err >&5
9126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9127 (exit $ac_status); } && {
9128 test -z "$ac_c_werror_flag" ||
9129 test ! -s conftest.err
9130 } && test -s conftest$ac_exeext &&
9131 $as_test_x conftest$ac_exeext; then
9132 ac_cv_func_connect=yes
9134 echo "$as_me: failed program was:" >&5
9135 sed 's/^/| /' conftest.$ac_ext >&5
9137 ac_cv_func_connect=no
9140 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9141 conftest$ac_exeext conftest.$ac_ext
9143 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
9144 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
9146 if test $ac_cv_func_connect = no; then
9147 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
9148 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
9149 if test "${ac_cv_lib_socket_connect+set}" = set; then
9150 echo $ECHO_N "(cached) $ECHO_C" >&6
9152 ac_check_lib_save_LIBS=$LIBS
9153 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9154 cat >conftest.$ac_ext <<_ACEOF
9157 cat confdefs.h >>conftest.$ac_ext
9158 cat >>conftest.$ac_ext <<_ACEOF
9159 /* end confdefs.h. */
9161 /* Override any GCC internal prototype to avoid an error.
9162 Use char because int might match the return type of a GCC
9163 builtin and then its argument prototype would still apply. */
9176 rm -f conftest.$ac_objext conftest$ac_exeext
9177 if { (ac_try="$ac_link"
9179 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9180 *) ac_try_echo
=$ac_try;;
9182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9183 (eval "$ac_link") 2>conftest.er1
9185 grep -v '^ *+' conftest.er1
>conftest.err
9187 cat conftest.err
>&5
9188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9189 (exit $ac_status); } && {
9190 test -z "$ac_c_werror_flag" ||
9191 test ! -s conftest.err
9192 } && test -s conftest
$ac_exeext &&
9193 $as_test_x conftest
$ac_exeext; then
9194 ac_cv_lib_socket_connect
=yes
9196 echo "$as_me: failed program was:" >&5
9197 sed 's/^/| /' conftest.
$ac_ext >&5
9199 ac_cv_lib_socket_connect
=no
9202 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9203 conftest
$ac_exeext conftest.
$ac_ext
9204 LIBS
=$ac_check_lib_save_LIBS
9206 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
9207 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
9208 if test $ac_cv_lib_socket_connect = yes; then
9209 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
9214 # Guillermo Gomez says -lposix is necessary on A/UX.
9215 { echo "$as_me:$LINENO: checking for remove" >&5
9216 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
9217 if test "${ac_cv_func_remove+set}" = set; then
9218 echo $ECHO_N "(cached) $ECHO_C" >&6
9220 cat >conftest.
$ac_ext <<_ACEOF
9223 cat confdefs.h
>>conftest.
$ac_ext
9224 cat >>conftest.
$ac_ext <<_ACEOF
9225 /* end confdefs.h. */
9226 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
9227 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9228 #define remove innocuous_remove
9230 /* System header to define __stub macros and hopefully few prototypes,
9231 which can conflict with char remove (); below.
9232 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9233 <limits.h> exists even on freestanding compilers. */
9236 # include <limits.h>
9238 # include <assert.h>
9243 /* Override any GCC internal prototype to avoid an error.
9244 Use char because int might match the return type of a GCC
9245 builtin and then its argument prototype would still apply. */
9250 /* The GNU C library defines this for functions which it implements
9251 to always fail with ENOSYS. Some functions are actually named
9252 something starting with __ and the normal name is an alias. */
9253 #if defined __stub_remove || defined __stub___remove
9265 rm -f conftest.
$ac_objext conftest
$ac_exeext
9266 if { (ac_try
="$ac_link"
9268 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9269 *) ac_try_echo=$ac_try;;
9271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9272 (eval "$ac_link") 2>conftest.er1
9274 grep -v '^ *+' conftest.er1 >conftest.err
9276 cat conftest.err >&5
9277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9278 (exit $ac_status); } && {
9279 test -z "$ac_c_werror_flag" ||
9280 test ! -s conftest.err
9281 } && test -s conftest$ac_exeext &&
9282 $as_test_x conftest$ac_exeext; then
9283 ac_cv_func_remove=yes
9285 echo "$as_me: failed program was:" >&5
9286 sed 's/^/| /' conftest.$ac_ext >&5
9288 ac_cv_func_remove=no
9291 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9292 conftest$ac_exeext conftest.$ac_ext
9294 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
9295 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
9297 if test $ac_cv_func_remove = no; then
9298 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
9299 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
9300 if test "${ac_cv_lib_posix_remove+set}" = set; then
9301 echo $ECHO_N "(cached) $ECHO_C" >&6
9303 ac_check_lib_save_LIBS=$LIBS
9304 LIBS="-lposix $LIBS"
9305 cat >conftest.$ac_ext <<_ACEOF
9308 cat confdefs.h >>conftest.$ac_ext
9309 cat >>conftest.$ac_ext <<_ACEOF
9310 /* end confdefs.h. */
9312 /* Override any GCC internal prototype to avoid an error.
9313 Use char because int might match the return type of a GCC
9314 builtin and then its argument prototype would still apply. */
9327 rm -f conftest.$ac_objext conftest$ac_exeext
9328 if { (ac_try="$ac_link"
9330 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9331 *) ac_try_echo
=$ac_try;;
9333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9334 (eval "$ac_link") 2>conftest.er1
9336 grep -v '^ *+' conftest.er1
>conftest.err
9338 cat conftest.err
>&5
9339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9340 (exit $ac_status); } && {
9341 test -z "$ac_c_werror_flag" ||
9342 test ! -s conftest.err
9343 } && test -s conftest
$ac_exeext &&
9344 $as_test_x conftest
$ac_exeext; then
9345 ac_cv_lib_posix_remove
=yes
9347 echo "$as_me: failed program was:" >&5
9348 sed 's/^/| /' conftest.
$ac_ext >&5
9350 ac_cv_lib_posix_remove
=no
9353 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9354 conftest
$ac_exeext conftest.
$ac_ext
9355 LIBS
=$ac_check_lib_save_LIBS
9357 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
9358 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
9359 if test $ac_cv_lib_posix_remove = yes; then
9360 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
9365 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9366 { echo "$as_me:$LINENO: checking for shmat" >&5
9367 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
9368 if test "${ac_cv_func_shmat+set}" = set; then
9369 echo $ECHO_N "(cached) $ECHO_C" >&6
9371 cat >conftest.
$ac_ext <<_ACEOF
9374 cat confdefs.h
>>conftest.
$ac_ext
9375 cat >>conftest.
$ac_ext <<_ACEOF
9376 /* end confdefs.h. */
9377 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
9378 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9379 #define shmat innocuous_shmat
9381 /* System header to define __stub macros and hopefully few prototypes,
9382 which can conflict with char shmat (); below.
9383 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9384 <limits.h> exists even on freestanding compilers. */
9387 # include <limits.h>
9389 # include <assert.h>
9394 /* Override any GCC internal prototype to avoid an error.
9395 Use char because int might match the return type of a GCC
9396 builtin and then its argument prototype would still apply. */
9401 /* The GNU C library defines this for functions which it implements
9402 to always fail with ENOSYS. Some functions are actually named
9403 something starting with __ and the normal name is an alias. */
9404 #if defined __stub_shmat || defined __stub___shmat
9416 rm -f conftest.
$ac_objext conftest
$ac_exeext
9417 if { (ac_try
="$ac_link"
9419 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9420 *) ac_try_echo=$ac_try;;
9422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9423 (eval "$ac_link") 2>conftest.er1
9425 grep -v '^ *+' conftest.er1 >conftest.err
9427 cat conftest.err >&5
9428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9429 (exit $ac_status); } && {
9430 test -z "$ac_c_werror_flag" ||
9431 test ! -s conftest.err
9432 } && test -s conftest$ac_exeext &&
9433 $as_test_x conftest$ac_exeext; then
9434 ac_cv_func_shmat=yes
9436 echo "$as_me: failed program was:" >&5
9437 sed 's/^/| /' conftest.$ac_ext >&5
9442 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9443 conftest$ac_exeext conftest.$ac_ext
9445 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
9446 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
9448 if test $ac_cv_func_shmat = no; then
9449 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
9450 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
9451 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
9452 echo $ECHO_N "(cached) $ECHO_C" >&6
9454 ac_check_lib_save_LIBS=$LIBS
9456 cat >conftest.$ac_ext <<_ACEOF
9459 cat confdefs.h >>conftest.$ac_ext
9460 cat >>conftest.$ac_ext <<_ACEOF
9461 /* end confdefs.h. */
9463 /* Override any GCC internal prototype to avoid an error.
9464 Use char because int might match the return type of a GCC
9465 builtin and then its argument prototype would still apply. */
9478 rm -f conftest.$ac_objext conftest$ac_exeext
9479 if { (ac_try="$ac_link"
9481 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9482 *) ac_try_echo
=$ac_try;;
9484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9485 (eval "$ac_link") 2>conftest.er1
9487 grep -v '^ *+' conftest.er1
>conftest.err
9489 cat conftest.err
>&5
9490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9491 (exit $ac_status); } && {
9492 test -z "$ac_c_werror_flag" ||
9493 test ! -s conftest.err
9494 } && test -s conftest
$ac_exeext &&
9495 $as_test_x conftest
$ac_exeext; then
9496 ac_cv_lib_ipc_shmat
=yes
9498 echo "$as_me: failed program was:" >&5
9499 sed 's/^/| /' conftest.
$ac_ext >&5
9501 ac_cv_lib_ipc_shmat
=no
9504 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9505 conftest
$ac_exeext conftest.
$ac_ext
9506 LIBS
=$ac_check_lib_save_LIBS
9508 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
9509 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
9510 if test $ac_cv_lib_ipc_shmat = yes; then
9511 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
9517 # Check for libraries that X11R6 Xt/Xaw programs need.
9518 ac_save_LDFLAGS
=$LDFLAGS
9519 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
9520 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9521 # check for ICE first), but we must link in the order -lSM -lICE or
9522 # we get undefined symbols. So assume we have SM if we have ICE.
9523 # These have to be linked with before -lX11, unlike the other
9524 # libraries we check for below, so use a different variable.
9525 # John Interrante, Karl Berry
9526 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
9527 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
9528 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
9529 echo $ECHO_N "(cached) $ECHO_C" >&6
9531 ac_check_lib_save_LIBS
=$LIBS
9532 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
9533 cat >conftest.
$ac_ext <<_ACEOF
9536 cat confdefs.h
>>conftest.
$ac_ext
9537 cat >>conftest.
$ac_ext <<_ACEOF
9538 /* end confdefs.h. */
9540 /* Override any GCC internal prototype to avoid an error.
9541 Use char because int might match the return type of a GCC
9542 builtin and then its argument prototype would still apply. */
9546 char IceConnectionNumber ();
9550 return IceConnectionNumber ();
9555 rm -f conftest.
$ac_objext conftest
$ac_exeext
9556 if { (ac_try
="$ac_link"
9558 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9559 *) ac_try_echo=$ac_try;;
9561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9562 (eval "$ac_link") 2>conftest.er1
9564 grep -v '^ *+' conftest.er1 >conftest.err
9566 cat conftest.err >&5
9567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9568 (exit $ac_status); } && {
9569 test -z "$ac_c_werror_flag" ||
9570 test ! -s conftest.err
9571 } && test -s conftest$ac_exeext &&
9572 $as_test_x conftest$ac_exeext; then
9573 ac_cv_lib_ICE_IceConnectionNumber=yes
9575 echo "$as_me: failed program was:" >&5
9576 sed 's/^/| /' conftest.$ac_ext >&5
9578 ac_cv_lib_ICE_IceConnectionNumber=no
9581 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9582 conftest$ac_exeext conftest.$ac_ext
9583 LIBS=$ac_check_lib_save_LIBS
9585 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9586 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9587 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
9588 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9591 LDFLAGS=$ac_save_LDFLAGS
9595 CPPFLAGS="$CFLAGS $X_CFLAGS"
9597 { echo "$as_me:$LINENO: checking for XOpenDisplay in -lX11" >&5
9598 echo $ECHO_N "checking for XOpenDisplay in -lX11... $ECHO_C" >&6; }
9599 if test "${ac_cv_lib_X11_XOpenDisplay+set}" = set; then
9600 echo $ECHO_N "(cached) $ECHO_C" >&6
9602 ac_check_lib_save_LIBS=$LIBS
9603 LIBS="-lX11 $X_LIBS $LIBS"
9604 cat >conftest.$ac_ext <<_ACEOF
9607 cat confdefs.h >>conftest.$ac_ext
9608 cat >>conftest.$ac_ext <<_ACEOF
9609 /* end confdefs.h. */
9611 /* Override any GCC internal prototype to avoid an error.
9612 Use char because int might match the return type of a GCC
9613 builtin and then its argument prototype would still apply. */
9617 char XOpenDisplay ();
9621 return XOpenDisplay ();
9626 rm -f conftest.$ac_objext conftest$ac_exeext
9627 if { (ac_try="$ac_link"
9629 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9630 *) ac_try_echo
=$ac_try;;
9632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9633 (eval "$ac_link") 2>conftest.er1
9635 grep -v '^ *+' conftest.er1
>conftest.err
9637 cat conftest.err
>&5
9638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9639 (exit $ac_status); } && {
9640 test -z "$ac_c_werror_flag" ||
9641 test ! -s conftest.err
9642 } && test -s conftest
$ac_exeext &&
9643 $as_test_x conftest
$ac_exeext; then
9644 ac_cv_lib_X11_XOpenDisplay
=yes
9646 echo "$as_me: failed program was:" >&5
9647 sed 's/^/| /' conftest.
$ac_ext >&5
9649 ac_cv_lib_X11_XOpenDisplay
=no
9652 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9653 conftest
$ac_exeext conftest.
$ac_ext
9654 LIBS
=$ac_check_lib_save_LIBS
9656 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XOpenDisplay" >&5
9657 echo "${ECHO_T}$ac_cv_lib_X11_XOpenDisplay" >&6; }
9658 if test $ac_cv_lib_X11_XOpenDisplay = yes; then
9659 cat >>confdefs.h
<<_ACEOF
9660 #define HAVE_LIBX11 1
9668 { echo "$as_me:$LINENO: checking for main in -lICE" >&5
9669 echo $ECHO_N "checking for main in -lICE... $ECHO_C" >&6; }
9670 if test "${ac_cv_lib_ICE_main+set}" = set; then
9671 echo $ECHO_N "(cached) $ECHO_C" >&6
9673 ac_check_lib_save_LIBS
=$LIBS
9674 LIBS
="-lICE $X_LIBS $LIBS"
9675 cat >conftest.
$ac_ext <<_ACEOF
9678 cat confdefs.h
>>conftest.
$ac_ext
9679 cat >>conftest.
$ac_ext <<_ACEOF
9680 /* end confdefs.h. */
9691 rm -f conftest.
$ac_objext conftest
$ac_exeext
9692 if { (ac_try
="$ac_link"
9694 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9695 *) ac_try_echo=$ac_try;;
9697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9698 (eval "$ac_link") 2>conftest.er1
9700 grep -v '^ *+' conftest.er1 >conftest.err
9702 cat conftest.err >&5
9703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9704 (exit $ac_status); } && {
9705 test -z "$ac_c_werror_flag" ||
9706 test ! -s conftest.err
9707 } && test -s conftest$ac_exeext &&
9708 $as_test_x conftest$ac_exeext; then
9709 ac_cv_lib_ICE_main=yes
9711 echo "$as_me: failed program was:" >&5
9712 sed 's/^/| /' conftest.$ac_ext >&5
9714 ac_cv_lib_ICE_main=no
9717 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9718 conftest$ac_exeext conftest.$ac_ext
9719 LIBS=$ac_check_lib_save_LIBS
9721 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_main" >&5
9722 echo "${ECHO_T}$ac_cv_lib_ICE_main" >&6; }
9723 if test $ac_cv_lib_ICE_main = yes; then
9724 cat >>confdefs.h <<_ACEOF
9725 #define HAVE_LIBICE 1
9733 { echo "$as_me:$LINENO: checking for main in -lSM" >&5
9734 echo $ECHO_N "checking for main in -lSM... $ECHO_C" >&6; }
9735 if test "${ac_cv_lib_SM_main+set}" = set; then
9736 echo $ECHO_N "(cached) $ECHO_C" >&6
9738 ac_check_lib_save_LIBS=$LIBS
9739 LIBS="-lSM $X_LIBS $LIBS"
9740 cat >conftest.$ac_ext <<_ACEOF
9743 cat confdefs.h >>conftest.$ac_ext
9744 cat >>conftest.$ac_ext <<_ACEOF
9745 /* end confdefs.h. */
9756 rm -f conftest.$ac_objext conftest$ac_exeext
9757 if { (ac_try="$ac_link"
9759 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9760 *) ac_try_echo
=$ac_try;;
9762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9763 (eval "$ac_link") 2>conftest.er1
9765 grep -v '^ *+' conftest.er1
>conftest.err
9767 cat conftest.err
>&5
9768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9769 (exit $ac_status); } && {
9770 test -z "$ac_c_werror_flag" ||
9771 test ! -s conftest.err
9772 } && test -s conftest
$ac_exeext &&
9773 $as_test_x conftest
$ac_exeext; then
9774 ac_cv_lib_SM_main
=yes
9776 echo "$as_me: failed program was:" >&5
9777 sed 's/^/| /' conftest.
$ac_ext >&5
9779 ac_cv_lib_SM_main
=no
9782 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9783 conftest
$ac_exeext conftest.
$ac_ext
9784 LIBS
=$ac_check_lib_save_LIBS
9786 { echo "$as_me:$LINENO: result: $ac_cv_lib_SM_main" >&5
9787 echo "${ECHO_T}$ac_cv_lib_SM_main" >&6; }
9788 if test $ac_cv_lib_SM_main = yes; then
9789 cat >>confdefs.h
<<_ACEOF
9790 #define HAVE_LIBSM 1
9798 { echo "$as_me:$LINENO: checking for main in -lXext" >&5
9799 echo $ECHO_N "checking for main in -lXext... $ECHO_C" >&6; }
9800 if test "${ac_cv_lib_Xext_main+set}" = set; then
9801 echo $ECHO_N "(cached) $ECHO_C" >&6
9803 ac_check_lib_save_LIBS
=$LIBS
9804 LIBS
="-lXext $X_LIBS $LIBS"
9805 cat >conftest.
$ac_ext <<_ACEOF
9808 cat confdefs.h
>>conftest.
$ac_ext
9809 cat >>conftest.
$ac_ext <<_ACEOF
9810 /* end confdefs.h. */
9821 rm -f conftest.
$ac_objext conftest
$ac_exeext
9822 if { (ac_try
="$ac_link"
9824 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9825 *) ac_try_echo=$ac_try;;
9827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9828 (eval "$ac_link") 2>conftest.er1
9830 grep -v '^ *+' conftest.er1 >conftest.err
9832 cat conftest.err >&5
9833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9834 (exit $ac_status); } && {
9835 test -z "$ac_c_werror_flag" ||
9836 test ! -s conftest.err
9837 } && test -s conftest$ac_exeext &&
9838 $as_test_x conftest$ac_exeext; then
9839 ac_cv_lib_Xext_main=yes
9841 echo "$as_me: failed program was:" >&5
9842 sed 's/^/| /' conftest.$ac_ext >&5
9844 ac_cv_lib_Xext_main=no
9847 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9848 conftest$ac_exeext conftest.$ac_ext
9849 LIBS=$ac_check_lib_save_LIBS
9851 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_main" >&5
9852 echo "${ECHO_T}$ac_cv_lib_Xext_main" >&6; }
9853 if test $ac_cv_lib_Xext_main = yes; then
9854 cat >>confdefs.h <<_ACEOF
9855 #define HAVE_LIBXEXT 1
9863 { echo "$as_me:$LINENO: checking for XtOpenDisplay in -lXt" >&5
9864 echo $ECHO_N "checking for XtOpenDisplay in -lXt... $ECHO_C" >&6; }
9865 if test "${ac_cv_lib_Xt_XtOpenDisplay+set}" = set; then
9866 echo $ECHO_N "(cached) $ECHO_C" >&6
9868 ac_check_lib_save_LIBS=$LIBS
9869 LIBS="-lXt $X_LIBS $LIBS"
9870 cat >conftest.$ac_ext <<_ACEOF
9873 cat confdefs.h >>conftest.$ac_ext
9874 cat >>conftest.$ac_ext <<_ACEOF
9875 /* end confdefs.h. */
9877 /* Override any GCC internal prototype to avoid an error.
9878 Use char because int might match the return type of a GCC
9879 builtin and then its argument prototype would still apply. */
9883 char XtOpenDisplay ();
9887 return XtOpenDisplay ();
9892 rm -f conftest.$ac_objext conftest$ac_exeext
9893 if { (ac_try="$ac_link"
9895 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9896 *) ac_try_echo
=$ac_try;;
9898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9899 (eval "$ac_link") 2>conftest.er1
9901 grep -v '^ *+' conftest.er1
>conftest.err
9903 cat conftest.err
>&5
9904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9905 (exit $ac_status); } && {
9906 test -z "$ac_c_werror_flag" ||
9907 test ! -s conftest.err
9908 } && test -s conftest
$ac_exeext &&
9909 $as_test_x conftest
$ac_exeext; then
9910 ac_cv_lib_Xt_XtOpenDisplay
=yes
9912 echo "$as_me: failed program was:" >&5
9913 sed 's/^/| /' conftest.
$ac_ext >&5
9915 ac_cv_lib_Xt_XtOpenDisplay
=no
9918 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9919 conftest
$ac_exeext conftest.
$ac_ext
9920 LIBS
=$ac_check_lib_save_LIBS
9922 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xt_XtOpenDisplay" >&5
9923 echo "${ECHO_T}$ac_cv_lib_Xt_XtOpenDisplay" >&6; }
9924 if test $ac_cv_lib_Xt_XtOpenDisplay = yes; then
9925 cat >>confdefs.h
<<_ACEOF
9926 #define HAVE_LIBXT 1
9934 { echo "$as_me:$LINENO: checking for main in -lXmu" >&5
9935 echo $ECHO_N "checking for main in -lXmu... $ECHO_C" >&6; }
9936 if test "${ac_cv_lib_Xmu_main+set}" = set; then
9937 echo $ECHO_N "(cached) $ECHO_C" >&6
9939 ac_check_lib_save_LIBS
=$LIBS
9940 LIBS
="-lXmu $X_LIBS $LIBS"
9941 cat >conftest.
$ac_ext <<_ACEOF
9944 cat confdefs.h
>>conftest.
$ac_ext
9945 cat >>conftest.
$ac_ext <<_ACEOF
9946 /* end confdefs.h. */
9957 rm -f conftest.
$ac_objext conftest
$ac_exeext
9958 if { (ac_try
="$ac_link"
9960 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9961 *) ac_try_echo=$ac_try;;
9963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9964 (eval "$ac_link") 2>conftest.er1
9966 grep -v '^ *+' conftest.er1 >conftest.err
9968 cat conftest.err >&5
9969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9970 (exit $ac_status); } && {
9971 test -z "$ac_c_werror_flag" ||
9972 test ! -s conftest.err
9973 } && test -s conftest$ac_exeext &&
9974 $as_test_x conftest$ac_exeext; then
9975 ac_cv_lib_Xmu_main=yes
9977 echo "$as_me: failed program was:" >&5
9978 sed 's/^/| /' conftest.$ac_ext >&5
9980 ac_cv_lib_Xmu_main=no
9983 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9984 conftest$ac_exeext conftest.$ac_ext
9985 LIBS=$ac_check_lib_save_LIBS
9987 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xmu_main" >&5
9988 echo "${ECHO_T}$ac_cv_lib_Xmu_main" >&6; }
9989 if test $ac_cv_lib_Xmu_main = yes; then
9990 cat >>confdefs.h <<_ACEOF
9991 #define HAVE_LIBXMU 1
9999 { echo "$as_me:$LINENO: checking for main in -lXpm" >&5
10000 echo $ECHO_N "checking for main in -lXpm... $ECHO_C" >&6; }
10001 if test "${ac_cv_lib_Xpm_main+set}" = set; then
10002 echo $ECHO_N "(cached) $ECHO_C" >&6
10004 ac_check_lib_save_LIBS=$LIBS
10005 LIBS="-lXpm $X_LIBS $LIBS"
10006 cat >conftest.$ac_ext <<_ACEOF
10009 cat confdefs.h >>conftest.$ac_ext
10010 cat >>conftest.$ac_ext <<_ACEOF
10011 /* end confdefs.h. */
10022 rm -f conftest.$ac_objext conftest$ac_exeext
10023 if { (ac_try="$ac_link"
10024 case "(($ac_try" in
10025 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10026 *) ac_try_echo
=$ac_try;;
10028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10029 (eval "$ac_link") 2>conftest.er1
10031 grep -v '^ *+' conftest.er1
>conftest.err
10033 cat conftest.err
>&5
10034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10035 (exit $ac_status); } && {
10036 test -z "$ac_c_werror_flag" ||
10037 test ! -s conftest.err
10038 } && test -s conftest
$ac_exeext &&
10039 $as_test_x conftest
$ac_exeext; then
10040 ac_cv_lib_Xpm_main
=yes
10042 echo "$as_me: failed program was:" >&5
10043 sed 's/^/| /' conftest.
$ac_ext >&5
10045 ac_cv_lib_Xpm_main
=no
10048 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10049 conftest
$ac_exeext conftest.
$ac_ext
10050 LIBS
=$ac_check_lib_save_LIBS
10052 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xpm_main" >&5
10053 echo "${ECHO_T}$ac_cv_lib_Xpm_main" >&6; }
10054 if test $ac_cv_lib_Xpm_main = yes; then
10055 cat >>confdefs.h
<<_ACEOF
10056 #define HAVE_LIBXPM 1
10064 { echo "$as_me:$LINENO: checking for XmCreateMainWindow in -lXm" >&5
10065 echo $ECHO_N "checking for XmCreateMainWindow in -lXm... $ECHO_C" >&6; }
10066 if test "${ac_cv_lib_Xm_XmCreateMainWindow+set}" = set; then
10067 echo $ECHO_N "(cached) $ECHO_C" >&6
10069 ac_check_lib_save_LIBS
=$LIBS
10070 LIBS
="-lXm $X_LIBS $LIBS"
10071 cat >conftest.
$ac_ext <<_ACEOF
10074 cat confdefs.h
>>conftest.
$ac_ext
10075 cat >>conftest.
$ac_ext <<_ACEOF
10076 /* end confdefs.h. */
10078 /* Override any GCC internal prototype to avoid an error.
10079 Use char because int might match the return type of a GCC
10080 builtin and then its argument prototype would still apply. */
10084 char XmCreateMainWindow ();
10088 return XmCreateMainWindow ();
10093 rm -f conftest.
$ac_objext conftest
$ac_exeext
10094 if { (ac_try
="$ac_link"
10095 case "(($ac_try" in
10096 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10097 *) ac_try_echo=$ac_try;;
10099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10100 (eval "$ac_link") 2>conftest.er1
10102 grep -v '^ *+' conftest.er1 >conftest.err
10104 cat conftest.err >&5
10105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10106 (exit $ac_status); } && {
10107 test -z "$ac_c_werror_flag" ||
10108 test ! -s conftest.err
10109 } && test -s conftest$ac_exeext &&
10110 $as_test_x conftest$ac_exeext; then
10111 ac_cv_lib_Xm_XmCreateMainWindow=yes
10113 echo "$as_me: failed program was:" >&5
10114 sed 's/^/| /' conftest.$ac_ext >&5
10116 ac_cv_lib_Xm_XmCreateMainWindow=no
10119 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10120 conftest$ac_exeext conftest.$ac_ext
10121 LIBS=$ac_check_lib_save_LIBS
10123 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xm_XmCreateMainWindow" >&5
10124 echo "${ECHO_T}$ac_cv_lib_Xm_XmCreateMainWindow" >&6; }
10125 if test $ac_cv_lib_Xm_XmCreateMainWindow = yes; then
10126 cat >>confdefs.h <<_ACEOF
10127 #define HAVE_LIBXM 1
10134 case $ac_cv_lib_Xm_XmCreateMainWindow in
10136 { { echo "$as_me:$LINENO: error: You don't seem to have the Lesstif development environment installed." >&5
10137 echo "$as_me: error: You don't seem to have the Lesstif development environment installed." >&2;}
10138 { (exit 1); exit 1; }; }
10143 for ac_header in Xm/Xm.h
10145 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
10146 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10147 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10148 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10149 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10150 echo $ECHO_N "(cached) $ECHO_C" >&6
10152 ac_res=`eval echo '${'$as_ac_Header'}'`
10153 { echo "$as_me:$LINENO: result: $ac_res" >&5
10154 echo "${ECHO_T}$ac_res" >&6; }
10156 # Is the header compilable?
10157 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10158 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10159 cat >conftest.$ac_ext <<_ACEOF
10162 cat confdefs.h >>conftest.$ac_ext
10163 cat >>conftest.$ac_ext <<_ACEOF
10164 /* end confdefs.h. */
10165 $ac_includes_default
10166 #include <$ac_header>
10168 rm -f conftest.$ac_objext
10169 if { (ac_try="$ac_compile"
10170 case "(($ac_try" in
10171 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10172 *) ac_try_echo
=$ac_try;;
10174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10175 (eval "$ac_compile") 2>conftest.er1
10177 grep -v '^ *+' conftest.er1
>conftest.err
10179 cat conftest.err
>&5
10180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10181 (exit $ac_status); } && {
10182 test -z "$ac_c_werror_flag" ||
10183 test ! -s conftest.err
10184 } && test -s conftest.
$ac_objext; then
10185 ac_header_compiler
=yes
10187 echo "$as_me: failed program was:" >&5
10188 sed 's/^/| /' conftest.
$ac_ext >&5
10190 ac_header_compiler
=no
10193 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10194 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10195 echo "${ECHO_T}$ac_header_compiler" >&6; }
10197 # Is the header present?
10198 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10199 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10200 cat >conftest.
$ac_ext <<_ACEOF
10203 cat confdefs.h
>>conftest.
$ac_ext
10204 cat >>conftest.
$ac_ext <<_ACEOF
10205 /* end confdefs.h. */
10206 #include <$ac_header>
10208 if { (ac_try
="$ac_cpp conftest.$ac_ext"
10209 case "(($ac_try" in
10210 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10211 *) ac_try_echo=$ac_try;;
10213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10214 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10216 grep -v '^ *+' conftest.er1 >conftest.err
10218 cat conftest.err >&5
10219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10220 (exit $ac_status); } >/dev/null && {
10221 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10222 test ! -s conftest.err
10224 ac_header_preproc=yes
10226 echo "$as_me: failed program was:" >&5
10227 sed 's/^/| /' conftest.$ac_ext >&5
10229 ac_header_preproc=no
10232 rm -f conftest.err conftest.$ac_ext
10233 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10234 echo "${ECHO_T}$ac_header_preproc" >&6; }
10236 # So? What about this header?
10237 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10239 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10240 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10241 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10242 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10243 ac_header_preproc=yes
10246 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10247 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10248 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10249 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10250 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10251 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10252 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10253 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10254 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10255 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10256 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10257 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10261 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10262 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10263 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10264 echo $ECHO_N "(cached) $ECHO_C" >&6
10266 eval "$as_ac_Header=\$ac_header_preproc"
10268 ac_res=`eval echo '${'$as_ac_Header'}'`
10269 { echo "$as_me:$LINENO: result: $ac_res" >&5
10270 echo "${ECHO_T}$ac_res" >&6; }
10273 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10274 cat >>confdefs.h <<_ACEOF
10275 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
10282 case $ac_cv_header_Xm_Xm_h in
10284 { { echo "$as_me:$LINENO: error: You don't seem to have the Lesstif development environment installed." >&5
10285 echo "$as_me: error: You don't seem to have the Lesstif development environment installed." >&2;}
10286 { (exit 1); exit 1; }; }
10293 # Check for pkg-config
10294 # Extract the first word of "pkg-config", so it can be a program name with args.
10295 set dummy pkg-config; ac_word=$2
10296 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10297 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10298 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
10299 echo $ECHO_N "(cached) $ECHO_C" >&6
10301 case $PKG_CONFIG in
10303 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
10306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10307 for as_dir in $PATH
10310 test -z "$as_dir" && as_dir=.
10311 for ac_exec_ext in '' $ac_executable_extensions; do
10312 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10313 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
10314 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10321 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
10325 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
10326 if test -n "$PKG_CONFIG"; then
10327 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
10328 echo "${ECHO_T}$PKG_CONFIG" >&6; }
10330 { echo "$as_me:$LINENO: result: no" >&5
10331 echo "${ECHO_T}no" >&6; }
10335 if test "$PKG_CONFIG" = "no"; then
10336 { { echo "$as_me:$LINENO: error: Cannot find pkg-config, make sure it is installed and in your PATH" >&5
10337 echo "$as_me: error: Cannot find pkg-config, make sure it is installed and in your PATH" >&2;}
10338 { (exit 1); exit 1; }; }
10343 { echo "$as_me:$LINENO: checking for GTK" >&5
10344 echo $ECHO_N "checking for GTK... $ECHO_C" >&6; }
10346 if test -n "$PKG_CONFIG"; then
10347 if test -n "$GTK_CFLAGS"; then
10348 pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
10350 if test -n "$PKG_CONFIG" && \
10351 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.4.0\"") >&5
10352 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.4.0") 2>&5
10354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10355 (exit $ac_status); }; then
10356 pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.4.0" 2>/dev
/null
`
10364 if test -n "$PKG_CONFIG"; then
10365 if test -n "$GTK_LIBS"; then
10366 pkg_cv_GTK_LIBS="$GTK_LIBS"
10368 if test -n "$PKG_CONFIG" && \
10369 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.4.0\"") >&5
10370 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.4.0") 2>&5
10372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10373 (exit $ac_status); }; then
10374 pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.4.0" 2>/dev
/null
`
10385 if test $pkg_failed = yes; then
10387 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10388 _pkg_short_errors_supported=yes
10390 _pkg_short_errors_supported=no
10392 if test $_pkg_short_errors_supported = yes; then
10393 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-2.0 >= 2.4.0"`
10395 GTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.4.0"`
10397 # Put the nasty error message in config.log where it belongs
10398 echo "$GTK_PKG_ERRORS" >&5
10400 { echo "$as_me:$LINENO: result: no" >&5
10401 echo "${ECHO_T}no" >&6; }
10402 { { echo "$as_me:$LINENO: error: Cannot find gtk+ >= 2.4.0, install it and rerun ./configure
10403 Please review the following errors:
10404 $GTK_PKG_ERRORS" >&5
10405 echo "$as_me: error: Cannot find gtk+ >= 2.4.0, install it and rerun ./configure
10406 Please review the following errors:
10407 $GTK_PKG_ERRORS" >&2;}
10408 { (exit 1); exit 1; }; }
10410 elif test $pkg_failed = untried; then
10411 { { echo "$as_me:$LINENO: error: Cannot find gtk+ >= 2.4.0, install it and rerun ./configure
10412 Please review the following errors:
10413 $GTK_PKG_ERRORS" >&5
10414 echo "$as_me: error: Cannot find gtk+ >= 2.4.0, install it and rerun ./configure
10415 Please review the following errors:
10416 $GTK_PKG_ERRORS" >&2;}
10417 { (exit 1); exit 1; }; }
10420 GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
10421 GTK_LIBS=$pkg_cv_GTK_LIBS
10422 { echo "$as_me:$LINENO: result: yes" >&5
10423 echo "${ECHO_T}yes" >&6; }
10426 GTK_VERSION=`$PKG_CONFIG gtk
+-2.0
--modversion`
10428 # if we are building for gtk >= 2.8.0, we can use gdk_display_warp_pointer()
10429 # otherwise we need XWarpPointer and we'll pull in the required headers with
10430 # gdk/gdkx.h and we'll need to link with X11
10431 if ! $PKG_CONFIG gtk+-2.0 --atleast-version=2.8.0 ; then
10432 CPPFLAGS="$CFLAGS $GTK_CFLAGS"
10434 for ac_header in gdk/gdkx.h
10436 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
10437 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10438 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10439 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10440 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10441 echo $ECHO_N "(cached) $ECHO_C" >&6
10443 ac_res=`eval echo '${'$as_ac_Header'}'`
10444 { echo "$as_me:$LINENO: result: $ac_res" >&5
10445 echo "${ECHO_T}$ac_res" >&6; }
10447 # Is the header compilable?
10448 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10449 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10450 cat >conftest.$ac_ext <<_ACEOF
10453 cat confdefs.h >>conftest.$ac_ext
10454 cat >>conftest.$ac_ext <<_ACEOF
10455 /* end confdefs.h. */
10456 $ac_includes_default
10457 #include <$ac_header>
10459 rm -f conftest.$ac_objext
10460 if { (ac_try="$ac_compile"
10461 case "(($ac_try" in
10462 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10463 *) ac_try_echo
=$ac_try;;
10465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10466 (eval "$ac_compile") 2>conftest.er1
10468 grep -v '^ *+' conftest.er1
>conftest.err
10470 cat conftest.err
>&5
10471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10472 (exit $ac_status); } && {
10473 test -z "$ac_c_werror_flag" ||
10474 test ! -s conftest.err
10475 } && test -s conftest.
$ac_objext; then
10476 ac_header_compiler
=yes
10478 echo "$as_me: failed program was:" >&5
10479 sed 's/^/| /' conftest.
$ac_ext >&5
10481 ac_header_compiler
=no
10484 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10485 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10486 echo "${ECHO_T}$ac_header_compiler" >&6; }
10488 # Is the header present?
10489 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10490 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10491 cat >conftest.
$ac_ext <<_ACEOF
10494 cat confdefs.h
>>conftest.
$ac_ext
10495 cat >>conftest.
$ac_ext <<_ACEOF
10496 /* end confdefs.h. */
10497 #include <$ac_header>
10499 if { (ac_try
="$ac_cpp conftest.$ac_ext"
10500 case "(($ac_try" in
10501 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10502 *) ac_try_echo=$ac_try;;
10504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10505 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10507 grep -v '^ *+' conftest.er1 >conftest.err
10509 cat conftest.err >&5
10510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10511 (exit $ac_status); } >/dev/null && {
10512 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10513 test ! -s conftest.err
10515 ac_header_preproc=yes
10517 echo "$as_me: failed program was:" >&5
10518 sed 's/^/| /' conftest.$ac_ext >&5
10520 ac_header_preproc=no
10523 rm -f conftest.err conftest.$ac_ext
10524 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10525 echo "${ECHO_T}$ac_header_preproc" >&6; }
10527 # So? What about this header?
10528 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10530 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10531 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10532 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10533 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10534 ac_header_preproc=yes
10537 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10538 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10539 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10540 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10541 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10542 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10543 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10544 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10545 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10546 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10547 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10548 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10552 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10553 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10554 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10555 echo $ECHO_N "(cached) $ECHO_C" >&6
10557 eval "$as_ac_Header=\$ac_header_preproc"
10559 ac_res=`eval echo '${'$as_ac_Header'}'`
10560 { echo "$as_me:$LINENO: result: $ac_res" >&5
10561 echo "${ECHO_T}$ac_res" >&6; }
10564 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10565 cat >>confdefs.h <<_ACEOF
10566 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
10578 { echo "$as_me:$LINENO: checking for GLIB" >&5
10579 echo $ECHO_N "checking for GLIB... $ECHO_C" >&6; }
10581 if test -n "$PKG_CONFIG"; then
10582 if test -n "$GLIB_CFLAGS"; then
10583 pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
10585 if test -n "$PKG_CONFIG" && \
10586 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.4.0\"") >&5
10587 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.4.0") 2>&5
10589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10590 (exit $ac_status); }; then
10591 pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.4.0" 2>/dev
/null
`
10599 if test -n "$PKG_CONFIG"; then
10600 if test -n "$GLIB_LIBS"; then
10601 pkg_cv_GLIB_LIBS="$GLIB_LIBS"
10603 if test -n "$PKG_CONFIG" && \
10604 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.4.0\"") >&5
10605 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.4.0") 2>&5
10607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10608 (exit $ac_status); }; then
10609 pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.4.0" 2>/dev
/null
`
10620 if test $pkg_failed = yes; then
10622 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10623 _pkg_short_errors_supported=yes
10625 _pkg_short_errors_supported=no
10627 if test $_pkg_short_errors_supported = yes; then
10628 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glib-2.0 >= 2.4.0"`
10630 GLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 >= 2.4.0"`
10632 # Put the nasty error message in config.log where it belongs
10633 echo "$GLIB_PKG_ERRORS" >&5
10635 { echo "$as_me:$LINENO: result: no" >&5
10636 echo "${ECHO_T}no" >&6; }
10637 { { echo "$as_me:$LINENO: error: Cannot find glib >= 2.4.0, install it and rerun ./configure.
10638 Please review the following errors:
10639 $GLIB_PKG_ERRORS" >&5
10640 echo "$as_me: error: Cannot find glib >= 2.4.0, install it and rerun ./configure.
10641 Please review the following errors:
10642 $GLIB_PKG_ERRORS" >&2;}
10643 { (exit 1); exit 1; }; }
10645 elif test $pkg_failed = untried; then
10646 { { echo "$as_me:$LINENO: error: Cannot find glib >= 2.4.0, install it and rerun ./configure.
10647 Please review the following errors:
10648 $GLIB_PKG_ERRORS" >&5
10649 echo "$as_me: error: Cannot find glib >= 2.4.0, install it and rerun ./configure.
10650 Please review the following errors:
10651 $GLIB_PKG_ERRORS" >&2;}
10652 { (exit 1); exit 1; }; }
10655 GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
10656 GLIB_LIBS=$pkg_cv_GLIB_LIBS
10657 { echo "$as_me:$LINENO: result: yes" >&5
10658 echo "${ECHO_T}yes" >&6; }
10661 GLIB_VERSION=`$PKG_CONFIG glib-2.0
--modversion`
10665 # Check for gdlib-config for gd (www.boutell.com/gd)
10666 # Extract the first word of "gdlib-config", so it can be a program name with args.
10667 set dummy gdlib-config; ac_word=$2
10668 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10669 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10670 if test "${ac_cv_path_GDLIB_CONFIG+set}" = set; then
10671 echo $ECHO_N "(cached) $ECHO_C" >&6
10673 case $GDLIB_CONFIG in
10675 ac_cv_path_GDLIB_CONFIG="$GDLIB_CONFIG" # Let the user override the test with a path.
10678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10679 for as_dir in $PATH
10682 test -z "$as_dir" && as_dir=.
10683 for ac_exec_ext in '' $ac_executable_extensions; do
10684 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10685 ac_cv_path_GDLIB_CONFIG="$as_dir/$ac_word$ac_exec_ext"
10686 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10693 test -z "$ac_cv_path_GDLIB_CONFIG" && ac_cv_path_GDLIB_CONFIG="no"
10697 GDLIB_CONFIG=$ac_cv_path_GDLIB_CONFIG
10698 if test -n "$GDLIB_CONFIG"; then
10699 { echo "$as_me:$LINENO: result: $GDLIB_CONFIG" >&5
10700 echo "${ECHO_T}$GDLIB_CONFIG" >&6; }
10702 { echo "$as_me:$LINENO: result: no" >&5
10703 echo "${ECHO_T}no" >&6; }
10707 if test "$GDLIB_CONFIG" = "no"; then
10708 { echo "$as_me:$LINENO: result: Cannot find gdlib-config.
10709 Make sure it is installed and in your PATH.
10710 gdlib-config is part of the GD library available from www.boutell.com/gd.
10711 This is needed for the png HID. I will look for libgd anyway and maybe
10712 you will get lucky.
10714 echo "${ECHO_T}Cannot find gdlib-config.
10715 Make sure it is installed and in your PATH.
10716 gdlib-config is part of the GD library available from www.boutell.com/gd.
10717 This is needed for the png HID. I will look for libgd anyway and maybe
10718 you will get lucky.
10720 if test "$WIN32" != "yes" ; then
10722 { echo "$as_me:$LINENO: checking for main in -lgd" >&5
10723 echo $ECHO_N "checking for main in -lgd... $ECHO_C" >&6; }
10724 if test "${ac_cv_lib_gd_main+set}" = set; then
10725 echo $ECHO_N "(cached) $ECHO_C" >&6
10727 ac_check_lib_save_LIBS=$LIBS
10729 cat >conftest.$ac_ext <<_ACEOF
10732 cat confdefs.h >>conftest.$ac_ext
10733 cat >>conftest.$ac_ext <<_ACEOF
10734 /* end confdefs.h. */
10745 rm -f conftest.$ac_objext conftest$ac_exeext
10746 if { (ac_try="$ac_link"
10747 case "(($ac_try" in
10748 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10749 *) ac_try_echo
=$ac_try;;
10751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10752 (eval "$ac_link") 2>conftest.er1
10754 grep -v '^ *+' conftest.er1
>conftest.err
10756 cat conftest.err
>&5
10757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10758 (exit $ac_status); } && {
10759 test -z "$ac_c_werror_flag" ||
10760 test ! -s conftest.err
10761 } && test -s conftest
$ac_exeext &&
10762 $as_test_x conftest
$ac_exeext; then
10763 ac_cv_lib_gd_main
=yes
10765 echo "$as_me: failed program was:" >&5
10766 sed 's/^/| /' conftest.
$ac_ext >&5
10768 ac_cv_lib_gd_main
=no
10771 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10772 conftest
$ac_exeext conftest.
$ac_ext
10773 LIBS
=$ac_check_lib_save_LIBS
10775 { echo "$as_me:$LINENO: result: $ac_cv_lib_gd_main" >&5
10776 echo "${ECHO_T}$ac_cv_lib_gd_main" >&6; }
10777 if test $ac_cv_lib_gd_main = yes; then
10778 cat >>confdefs.h
<<_ACEOF
10779 #define HAVE_LIBGD 1
10785 { { echo "$as_me:$LINENO: error: You have requested the nelma and/or png HID but -lgd could not be found" >&5
10786 echo "$as_me: error: You have requested the nelma and/or png HID but -lgd could not be found" >&2;}
10787 { (exit 1); exit 1; }; }
10792 { echo "$as_me:$LINENO: checking for main in -lbgd" >&5
10793 echo $ECHO_N "checking for main in -lbgd... $ECHO_C" >&6; }
10794 if test "${ac_cv_lib_bgd_main+set}" = set; then
10795 echo $ECHO_N "(cached) $ECHO_C" >&6
10797 ac_check_lib_save_LIBS
=$LIBS
10799 cat >conftest.
$ac_ext <<_ACEOF
10802 cat confdefs.h
>>conftest.
$ac_ext
10803 cat >>conftest.
$ac_ext <<_ACEOF
10804 /* end confdefs.h. */
10815 rm -f conftest.
$ac_objext conftest
$ac_exeext
10816 if { (ac_try
="$ac_link"
10817 case "(($ac_try" in
10818 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10819 *) ac_try_echo=$ac_try;;
10821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10822 (eval "$ac_link") 2>conftest.er1
10824 grep -v '^ *+' conftest.er1 >conftest.err
10826 cat conftest.err >&5
10827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10828 (exit $ac_status); } && {
10829 test -z "$ac_c_werror_flag" ||
10830 test ! -s conftest.err
10831 } && test -s conftest$ac_exeext &&
10832 $as_test_x conftest$ac_exeext; then
10833 ac_cv_lib_bgd_main=yes
10835 echo "$as_me: failed program was:" >&5
10836 sed 's/^/| /' conftest.$ac_ext >&5
10838 ac_cv_lib_bgd_main=no
10841 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10842 conftest$ac_exeext conftest.$ac_ext
10843 LIBS=$ac_check_lib_save_LIBS
10845 { echo "$as_me:$LINENO: result: $ac_cv_lib_bgd_main" >&5
10846 echo "${ECHO_T}$ac_cv_lib_bgd_main" >&6; }
10847 if test $ac_cv_lib_bgd_main = yes; then
10848 cat >>confdefs.h <<_ACEOF
10849 #define HAVE_LIBBGD 1
10855 { { echo "$as_me:$LINENO: error: You have requested the nelma and/or png HID but -lbgd could not be found" >&5
10856 echo "$as_me: error: You have requested the nelma and/or png HID but -lbgd could not be found" >&2;}
10857 { (exit 1); exit 1; }; }
10862 if test "$WIN32" = "yes" ; then
10867 { echo "$as_me:$LINENO: checking for libgd cflags" >&5
10868 echo $ECHO_N "checking for libgd cflags... $ECHO_C" >&6; }
10869 GD_CFLAGS="`$GDLIB_CONFIG --cflags`"
10870 { echo "$as_me:$LINENO: result: $GD_CFLAGS" >&5
10871 echo "${ECHO_T}$GD_CFLAGS" >&6; }
10872 { echo "$as_me:$LINENO: checking for libgd libs" >&5
10873 echo $ECHO_N "checking for libgd libs... $ECHO_C" >&6; }
10874 GD_LIBS="`$GDLIB_CONFIG --ldflags` `$GDLIB_CONFIG --libs` -l${GD}"
10875 { echo "$as_me:$LINENO: result: $GD_LIBS" >&5
10876 echo "${ECHO_T}$GD_LIBS" >&6; }
10879 # since some linux systems evidently install gdlib-config but fail to
10880 # install the headers (nice), check for the header too and fail if it
10882 CFLAGS="$CFLAGS $GD_CFLAGS"
10883 CPPFLAGS="$CPPFLAGS $GD_CFLAGS"
10885 for ac_header in gd.h
10887 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
10888 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10889 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10890 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10891 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10892 echo $ECHO_N "(cached) $ECHO_C" >&6
10894 ac_res=`eval echo '${'$as_ac_Header'}'`
10895 { echo "$as_me:$LINENO: result: $ac_res" >&5
10896 echo "${ECHO_T}$ac_res" >&6; }
10898 # Is the header compilable?
10899 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10900 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10901 cat >conftest.$ac_ext <<_ACEOF
10904 cat confdefs.h >>conftest.$ac_ext
10905 cat >>conftest.$ac_ext <<_ACEOF
10906 /* end confdefs.h. */
10907 $ac_includes_default
10908 #include <$ac_header>
10910 rm -f conftest.$ac_objext
10911 if { (ac_try="$ac_compile"
10912 case "(($ac_try" in
10913 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10914 *) ac_try_echo
=$ac_try;;
10916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10917 (eval "$ac_compile") 2>conftest.er1
10919 grep -v '^ *+' conftest.er1
>conftest.err
10921 cat conftest.err
>&5
10922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10923 (exit $ac_status); } && {
10924 test -z "$ac_c_werror_flag" ||
10925 test ! -s conftest.err
10926 } && test -s conftest.
$ac_objext; then
10927 ac_header_compiler
=yes
10929 echo "$as_me: failed program was:" >&5
10930 sed 's/^/| /' conftest.
$ac_ext >&5
10932 ac_header_compiler
=no
10935 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10936 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10937 echo "${ECHO_T}$ac_header_compiler" >&6; }
10939 # Is the header present?
10940 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10941 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10942 cat >conftest.
$ac_ext <<_ACEOF
10945 cat confdefs.h
>>conftest.
$ac_ext
10946 cat >>conftest.
$ac_ext <<_ACEOF
10947 /* end confdefs.h. */
10948 #include <$ac_header>
10950 if { (ac_try
="$ac_cpp conftest.$ac_ext"
10951 case "(($ac_try" in
10952 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10953 *) ac_try_echo=$ac_try;;
10955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10956 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10958 grep -v '^ *+' conftest.er1 >conftest.err
10960 cat conftest.err >&5
10961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10962 (exit $ac_status); } >/dev/null && {
10963 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10964 test ! -s conftest.err
10966 ac_header_preproc=yes
10968 echo "$as_me: failed program was:" >&5
10969 sed 's/^/| /' conftest.$ac_ext >&5
10971 ac_header_preproc=no
10974 rm -f conftest.err conftest.$ac_ext
10975 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10976 echo "${ECHO_T}$ac_header_preproc" >&6; }
10978 # So? What about this header?
10979 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10981 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10982 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10983 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10984 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10985 ac_header_preproc=yes
10988 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10989 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10990 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10991 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10992 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10993 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10994 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10995 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10996 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10997 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10998 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10999 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11003 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11004 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11005 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11006 echo $ECHO_N "(cached) $ECHO_C" >&6
11008 eval "$as_ac_Header=\$ac_header_preproc"
11010 ac_res=`eval echo '${'$as_ac_Header'}'`
11011 { echo "$as_me:$LINENO: result: $ac_res" >&5
11012 echo "${ECHO_T}$ac_res" >&6; }
11015 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11016 cat >>confdefs.h <<_ACEOF
11017 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
11024 case $ac_cv_header_gd_h in
11026 { { echo "$as_me:$LINENO: error:
11027 You evidentally do not have a complete installation of the GD library available from www.boutell.com/gd.
11028 This is needed for the nelma and/or png HID.
11030 echo "$as_me: error:
11031 You evidentally do not have a complete installation of the GD library available from www.boutell.com/gd.
11032 This is needed for the nelma and/or png HID.
11034 { (exit 1); exit 1; }; }
11039 # Some versions of gd (prior to the expiration of the
11040 # patent related to gif compression) do not support
11041 # gif output. Check for that here.
11043 LIBS="$save_LIBS $GD_LIBS $X_LIBS"
11045 { echo "$as_me:$LINENO: checking if GIF output from the png HID is desired" >&5
11046 echo $ECHO_N "checking if GIF output from the png HID is desired... $ECHO_C" >&6; }
11047 # Check whether --enable-gif was given.
11048 if test "${enable_gif+set}" = set; then
11049 enableval=$enable_gif;
11050 if test "X$enable_gif" != "Xno" ; then
11051 { echo "$as_me:$LINENO: result: yes" >&5
11052 echo "${ECHO_T}yes" >&6; }
11055 { echo "$as_me:$LINENO: result: no" >&5
11056 echo "${ECHO_T}no" >&6; }
11062 { echo "$as_me:$LINENO: result: yes" >&5
11063 echo "${ECHO_T}yes" >&6; }
11068 if test "X$with_gif" = "Xyes" ; then
11070 for ac_func in gdImageGif
11072 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
11073 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11074 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11075 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11076 echo $ECHO_N "(cached) $ECHO_C" >&6
11078 cat >conftest.$ac_ext <<_ACEOF
11081 cat confdefs.h >>conftest.$ac_ext
11082 cat >>conftest.$ac_ext <<_ACEOF
11083 /* end confdefs.h. */
11084 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11085 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11086 #define $ac_func innocuous_$ac_func
11088 /* System header to define __stub macros and hopefully few prototypes,
11089 which can conflict with char $ac_func (); below.
11090 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11091 <limits.h> exists even on freestanding compilers. */
11094 # include <limits.h>
11096 # include <assert.h>
11101 /* Override any GCC internal prototype to avoid an error.
11102 Use char because int might match the return type of a GCC
11103 builtin and then its argument prototype would still apply. */
11108 /* The GNU C library defines this for functions which it implements
11109 to always fail with ENOSYS. Some functions are actually named
11110 something starting with __ and the normal name is an alias. */
11111 #if defined __stub_$ac_func || defined __stub___$ac_func
11118 return $ac_func ();
11123 rm -f conftest.$ac_objext conftest$ac_exeext
11124 if { (ac_try="$ac_link"
11125 case "(($ac_try" in
11126 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11127 *) ac_try_echo
=$ac_try;;
11129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11130 (eval "$ac_link") 2>conftest.er1
11132 grep -v '^ *+' conftest.er1
>conftest.err
11134 cat conftest.err
>&5
11135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11136 (exit $ac_status); } && {
11137 test -z "$ac_c_werror_flag" ||
11138 test ! -s conftest.err
11139 } && test -s conftest
$ac_exeext &&
11140 $as_test_x conftest
$ac_exeext; then
11141 eval "$as_ac_var=yes"
11143 echo "$as_me: failed program was:" >&5
11144 sed 's/^/| /' conftest.
$ac_ext >&5
11146 eval "$as_ac_var=no"
11149 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11150 conftest
$ac_exeext conftest.
$ac_ext
11152 ac_res
=`eval echo '${'$as_ac_var'}'`
11153 { echo "$as_me:$LINENO: result: $ac_res" >&5
11154 echo "${ECHO_T}$ac_res" >&6; }
11155 if test `eval echo '${'$as_ac_var'}'` = yes; then
11156 cat >>confdefs.h
<<_ACEOF
11157 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11163 if test "$ac_cv_func_gdImageGif" != "yes"; then
11164 { { echo "$as_me:$LINENO: error: Your gd installation does not appear to include gif support.
11165 You may need to update your installation of gd or disable
11166 gif export with --disable-gif" >&5
11167 echo "$as_me: error: Your gd installation does not appear to include gif support.
11168 You may need to update your installation of gd or disable
11169 gif export with --disable-gif" >&2;}
11170 { (exit 1); exit 1; }; }
11174 { echo "$as_me:$LINENO: checking if JPEG output from the png HID is desired" >&5
11175 echo $ECHO_N "checking if JPEG output from the png HID is desired... $ECHO_C" >&6; }
11176 # Check whether --enable-jpeg was given.
11177 if test "${enable_jpeg+set}" = set; then
11178 enableval
=$enable_jpeg;
11179 if test "X$enable_jpeg" != "Xno" ; then
11180 { echo "$as_me:$LINENO: result: yes" >&5
11181 echo "${ECHO_T}yes" >&6; }
11184 { echo "$as_me:$LINENO: result: no" >&5
11185 echo "${ECHO_T}no" >&6; }
11191 { echo "$as_me:$LINENO: result: yes" >&5
11192 echo "${ECHO_T}yes" >&6; }
11197 if test "X$with_jpeg" = "Xyes" ; then
11199 for ac_func
in gdImageJpeg
11201 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11202 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11203 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11204 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11205 echo $ECHO_N "(cached) $ECHO_C" >&6
11207 cat >conftest.
$ac_ext <<_ACEOF
11210 cat confdefs.h
>>conftest.
$ac_ext
11211 cat >>conftest.
$ac_ext <<_ACEOF
11212 /* end confdefs.h. */
11213 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11214 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11215 #define $ac_func innocuous_$ac_func
11217 /* System header to define __stub macros and hopefully few prototypes,
11218 which can conflict with char $ac_func (); below.
11219 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11220 <limits.h> exists even on freestanding compilers. */
11223 # include <limits.h>
11225 # include <assert.h>
11230 /* Override any GCC internal prototype to avoid an error.
11231 Use char because int might match the return type of a GCC
11232 builtin and then its argument prototype would still apply. */
11237 /* The GNU C library defines this for functions which it implements
11238 to always fail with ENOSYS. Some functions are actually named
11239 something starting with __ and the normal name is an alias. */
11240 #if defined __stub_$ac_func || defined __stub___$ac_func
11247 return $ac_func ();
11252 rm -f conftest.
$ac_objext conftest
$ac_exeext
11253 if { (ac_try
="$ac_link"
11254 case "(($ac_try" in
11255 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11256 *) ac_try_echo=$ac_try;;
11258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11259 (eval "$ac_link") 2>conftest.er1
11261 grep -v '^ *+' conftest.er1 >conftest.err
11263 cat conftest.err >&5
11264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11265 (exit $ac_status); } && {
11266 test -z "$ac_c_werror_flag" ||
11267 test ! -s conftest.err
11268 } && test -s conftest$ac_exeext &&
11269 $as_test_x conftest$ac_exeext; then
11270 eval "$as_ac_var=yes"
11272 echo "$as_me: failed program was:" >&5
11273 sed 's/^/| /' conftest.$ac_ext >&5
11275 eval "$as_ac_var=no"
11278 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11279 conftest$ac_exeext conftest.$ac_ext
11281 ac_res=`eval echo '${'$as_ac_var'}'`
11282 { echo "$as_me:$LINENO: result: $ac_res" >&5
11283 echo "${ECHO_T}$ac_res" >&6; }
11284 if test `eval echo '${'$as_ac_var'}'` = yes; then
11285 cat >>confdefs.h <<_ACEOF
11286 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
11292 if test "$ac_cv_func_gdImageJpeg" != "yes"; then
11293 { { echo "$as_me:$LINENO: error: Your gd installation does not appear to include JPEG support.
11294 You may need to update your installation of gd or disable
11295 JPEG export with --disable-jpeg" >&5
11296 echo "$as_me: error: Your gd installation does not appear to include JPEG support.
11297 You may need to update your installation of gd or disable
11298 JPEG export with --disable-jpeg" >&2;}
11299 { (exit 1); exit 1; }; }
11304 { echo "$as_me:$LINENO: checking if PNG output from the png HID is desired" >&5
11305 echo $ECHO_N "checking if PNG output from the png HID is desired... $ECHO_C" >&6; }
11306 # Check whether --enable-png was given.
11307 if test "${enable_png+set}" = set; then
11308 enableval=$enable_png;
11309 if test "X$enable_png" != "Xno" ; then
11310 { echo "$as_me:$LINENO: result: yes" >&5
11311 echo "${ECHO_T}yes" >&6; }
11314 { echo "$as_me:$LINENO: result: no" >&5
11315 echo "${ECHO_T}no" >&6; }
11321 { echo "$as_me:$LINENO: result: yes" >&5
11322 echo "${ECHO_T}yes" >&6; }
11327 if test "X$with_png" = "Xyes" ; then
11329 for ac_func in gdImagePng
11331 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
11332 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11333 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11334 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11335 echo $ECHO_N "(cached) $ECHO_C" >&6
11337 cat >conftest.$ac_ext <<_ACEOF
11340 cat confdefs.h >>conftest.$ac_ext
11341 cat >>conftest.$ac_ext <<_ACEOF
11342 /* end confdefs.h. */
11343 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11344 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11345 #define $ac_func innocuous_$ac_func
11347 /* System header to define __stub macros and hopefully few prototypes,
11348 which can conflict with char $ac_func (); below.
11349 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11350 <limits.h> exists even on freestanding compilers. */
11353 # include <limits.h>
11355 # include <assert.h>
11360 /* Override any GCC internal prototype to avoid an error.
11361 Use char because int might match the return type of a GCC
11362 builtin and then its argument prototype would still apply. */
11367 /* The GNU C library defines this for functions which it implements
11368 to always fail with ENOSYS. Some functions are actually named
11369 something starting with __ and the normal name is an alias. */
11370 #if defined __stub_$ac_func || defined __stub___$ac_func
11377 return $ac_func ();
11382 rm -f conftest.$ac_objext conftest$ac_exeext
11383 if { (ac_try="$ac_link"
11384 case "(($ac_try" in
11385 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11386 *) ac_try_echo
=$ac_try;;
11388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11389 (eval "$ac_link") 2>conftest.er1
11391 grep -v '^ *+' conftest.er1
>conftest.err
11393 cat conftest.err
>&5
11394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11395 (exit $ac_status); } && {
11396 test -z "$ac_c_werror_flag" ||
11397 test ! -s conftest.err
11398 } && test -s conftest
$ac_exeext &&
11399 $as_test_x conftest
$ac_exeext; then
11400 eval "$as_ac_var=yes"
11402 echo "$as_me: failed program was:" >&5
11403 sed 's/^/| /' conftest.
$ac_ext >&5
11405 eval "$as_ac_var=no"
11408 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11409 conftest
$ac_exeext conftest.
$ac_ext
11411 ac_res
=`eval echo '${'$as_ac_var'}'`
11412 { echo "$as_me:$LINENO: result: $ac_res" >&5
11413 echo "${ECHO_T}$ac_res" >&6; }
11414 if test `eval echo '${'$as_ac_var'}'` = yes; then
11415 cat >>confdefs.h
<<_ACEOF
11416 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11422 if test "$ac_cv_func_gdImagePng" != "yes"; then
11423 { { echo "$as_me:$LINENO: error: Your gd installation does not appear to include PNG support.
11424 You may need to update your installation of gd or disable
11425 PNG export with --disable-png" >&5
11426 echo "$as_me: error: Your gd installation does not appear to include PNG support.
11427 You may need to update your installation of gd or disable
11428 PNG export with --disable-png" >&2;}
11429 { (exit 1); exit 1; }; }
11439 if test x
$with_png = xyes
; then
11447 if test x
$with_gif = xyes
; then
11457 # ------------- Xrender -------------------
11459 { echo "$as_me:$LINENO: checking for XRenderQueryExtension in -lXrender" >&5
11460 echo $ECHO_N "checking for XRenderQueryExtension in -lXrender... $ECHO_C" >&6; }
11461 if test "${ac_cv_lib_Xrender_XRenderQueryExtension+set}" = set; then
11462 echo $ECHO_N "(cached) $ECHO_C" >&6
11464 ac_check_lib_save_LIBS
=$LIBS
11465 LIBS
="-lXrender $X_LIBS $LIBS"
11466 cat >conftest.
$ac_ext <<_ACEOF
11469 cat confdefs.h
>>conftest.
$ac_ext
11470 cat >>conftest.
$ac_ext <<_ACEOF
11471 /* end confdefs.h. */
11473 /* Override any GCC internal prototype to avoid an error.
11474 Use char because int might match the return type of a GCC
11475 builtin and then its argument prototype would still apply. */
11479 char XRenderQueryExtension ();
11483 return XRenderQueryExtension ();
11488 rm -f conftest.
$ac_objext conftest
$ac_exeext
11489 if { (ac_try
="$ac_link"
11490 case "(($ac_try" in
11491 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11492 *) ac_try_echo=$ac_try;;
11494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11495 (eval "$ac_link") 2>conftest.er1
11497 grep -v '^ *+' conftest.er1 >conftest.err
11499 cat conftest.err >&5
11500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11501 (exit $ac_status); } && {
11502 test -z "$ac_c_werror_flag" ||
11503 test ! -s conftest.err
11504 } && test -s conftest$ac_exeext &&
11505 $as_test_x conftest$ac_exeext; then
11506 ac_cv_lib_Xrender_XRenderQueryExtension=yes
11508 echo "$as_me: failed program was:" >&5
11509 sed 's/^/| /' conftest.$ac_ext >&5
11511 ac_cv_lib_Xrender_XRenderQueryExtension=no
11514 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11515 conftest$ac_exeext conftest.$ac_ext
11516 LIBS=$ac_check_lib_save_LIBS
11518 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderQueryExtension" >&5
11519 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderQueryExtension" >&6; }
11520 if test $ac_cv_lib_Xrender_XRenderQueryExtension = yes; then
11527 # Check whether --enable-xrender was given.
11528 if test "${enable_xrender+set}" = set; then
11529 enableval=$enable_xrender;
11532 case "$have_xrender:$enable_xrender" in
11536 X_LIBS="-lXrender $X_LIBS"
11538 cat >>confdefs.h <<\_ACEOF
11539 #define HAVE_XRENDER 1
11545 # ------------- dmalloc -------------------
11547 { echo "$as_me:$LINENO: checking if dmalloc debugging should be enabled" >&5
11548 echo $ECHO_N "checking if dmalloc debugging should be enabled... $ECHO_C" >&6; }
11549 # Check whether --enable-dmalloc was given.
11550 if test "${enable_dmalloc+set}" = set; then
11551 enableval=$enable_dmalloc;
11552 if test "X$enable_dmalloc" != "Xno" ; then
11553 { echo "$as_me:$LINENO: result: yes" >&5
11554 echo "${ECHO_T}yes" >&6; }
11555 if test "${ac_cv_header_dmalloc_h+set}" = set; then
11556 { echo "$as_me:$LINENO: checking for dmalloc.h" >&5
11557 echo $ECHO_N "checking for dmalloc.h... $ECHO_C" >&6; }
11558 if test "${ac_cv_header_dmalloc_h+set}" = set; then
11559 echo $ECHO_N "(cached) $ECHO_C" >&6
11561 { echo "$as_me:$LINENO: result: $ac_cv_header_dmalloc_h" >&5
11562 echo "${ECHO_T}$ac_cv_header_dmalloc_h" >&6; }
11564 # Is the header compilable?
11565 { echo "$as_me:$LINENO: checking dmalloc.h usability" >&5
11566 echo $ECHO_N "checking dmalloc.h usability... $ECHO_C" >&6; }
11567 cat >conftest.$ac_ext <<_ACEOF
11570 cat confdefs.h >>conftest.$ac_ext
11571 cat >>conftest.$ac_ext <<_ACEOF
11572 /* end confdefs.h. */
11573 $ac_includes_default
11574 #include <dmalloc.h>
11576 rm -f conftest.$ac_objext
11577 if { (ac_try="$ac_compile"
11578 case "(($ac_try" in
11579 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11580 *) ac_try_echo
=$ac_try;;
11582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11583 (eval "$ac_compile") 2>conftest.er1
11585 grep -v '^ *+' conftest.er1
>conftest.err
11587 cat conftest.err
>&5
11588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11589 (exit $ac_status); } && {
11590 test -z "$ac_c_werror_flag" ||
11591 test ! -s conftest.err
11592 } && test -s conftest.
$ac_objext; then
11593 ac_header_compiler
=yes
11595 echo "$as_me: failed program was:" >&5
11596 sed 's/^/| /' conftest.
$ac_ext >&5
11598 ac_header_compiler
=no
11601 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11602 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11603 echo "${ECHO_T}$ac_header_compiler" >&6; }
11605 # Is the header present?
11606 { echo "$as_me:$LINENO: checking dmalloc.h presence" >&5
11607 echo $ECHO_N "checking dmalloc.h presence... $ECHO_C" >&6; }
11608 cat >conftest.
$ac_ext <<_ACEOF
11611 cat confdefs.h
>>conftest.
$ac_ext
11612 cat >>conftest.
$ac_ext <<_ACEOF
11613 /* end confdefs.h. */
11614 #include <dmalloc.h>
11616 if { (ac_try
="$ac_cpp conftest.$ac_ext"
11617 case "(($ac_try" in
11618 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11619 *) ac_try_echo=$ac_try;;
11621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11622 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11624 grep -v '^ *+' conftest.er1 >conftest.err
11626 cat conftest.err >&5
11627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11628 (exit $ac_status); } >/dev/null && {
11629 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11630 test ! -s conftest.err
11632 ac_header_preproc=yes
11634 echo "$as_me: failed program was:" >&5
11635 sed 's/^/| /' conftest.$ac_ext >&5
11637 ac_header_preproc=no
11640 rm -f conftest.err conftest.$ac_ext
11641 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11642 echo "${ECHO_T}$ac_header_preproc" >&6; }
11644 # So? What about this header?
11645 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11647 { echo "$as_me:$LINENO: WARNING: dmalloc.h: accepted by the compiler, rejected by the preprocessor!" >&5
11648 echo "$as_me: WARNING: dmalloc.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11649 { echo "$as_me:$LINENO: WARNING: dmalloc.h: proceeding with the compiler's result" >&5
11650 echo "$as_me: WARNING: dmalloc.h: proceeding with the compiler's result" >&2;}
11651 ac_header_preproc=yes
11654 { echo "$as_me:$LINENO: WARNING: dmalloc.h: present but cannot be compiled" >&5
11655 echo "$as_me: WARNING: dmalloc.h: present but cannot be compiled" >&2;}
11656 { echo "$as_me:$LINENO: WARNING: dmalloc.h: check for missing prerequisite headers?" >&5
11657 echo "$as_me: WARNING: dmalloc.h: check for missing prerequisite headers?" >&2;}
11658 { echo "$as_me:$LINENO: WARNING: dmalloc.h: see the Autoconf documentation" >&5
11659 echo "$as_me: WARNING: dmalloc.h: see the Autoconf documentation" >&2;}
11660 { echo "$as_me:$LINENO: WARNING: dmalloc.h: section \"Present But Cannot Be Compiled\"" >&5
11661 echo "$as_me: WARNING: dmalloc.h: section \"Present But Cannot Be Compiled\"" >&2;}
11662 { echo "$as_me:$LINENO: WARNING: dmalloc.h: proceeding with the preprocessor's result" >&5
11663 echo "$as_me: WARNING: dmalloc.h: proceeding with the preprocessor's result" >&2;}
11664 { echo "$as_me:$LINENO: WARNING: dmalloc.h: in the future, the compiler will take precedence" >&5
11665 echo "$as_me: WARNING: dmalloc.h: in the future, the compiler will take precedence" >&2;}
11669 { echo "$as_me:$LINENO: checking for dmalloc.h" >&5
11670 echo $ECHO_N "checking for dmalloc.h... $ECHO_C" >&6; }
11671 if test "${ac_cv_header_dmalloc_h+set}" = set; then
11672 echo $ECHO_N "(cached) $ECHO_C" >&6
11674 ac_cv_header_dmalloc_h=$ac_header_preproc
11676 { echo "$as_me:$LINENO: result: $ac_cv_header_dmalloc_h" >&5
11677 echo "${ECHO_T}$ac_cv_header_dmalloc_h" >&6; }
11680 if test $ac_cv_header_dmalloc_h = yes; then
11683 { { echo "$as_me:$LINENO: error: You have requested dmalloc debugging but dmalloc.h could not be found" >&5
11684 echo "$as_me: error: You have requested dmalloc debugging but dmalloc.h could not be found" >&2;}
11685 { (exit 1); exit 1; }; }
11690 { echo "$as_me:$LINENO: checking for main in -ldmalloc" >&5
11691 echo $ECHO_N "checking for main in -ldmalloc... $ECHO_C" >&6; }
11692 if test "${ac_cv_lib_dmalloc_main+set}" = set; then
11693 echo $ECHO_N "(cached) $ECHO_C" >&6
11695 ac_check_lib_save_LIBS=$LIBS
11696 LIBS="-ldmalloc $LIBS"
11697 cat >conftest.$ac_ext <<_ACEOF
11700 cat confdefs.h >>conftest.$ac_ext
11701 cat >>conftest.$ac_ext <<_ACEOF
11702 /* end confdefs.h. */
11713 rm -f conftest.$ac_objext conftest$ac_exeext
11714 if { (ac_try="$ac_link"
11715 case "(($ac_try" in
11716 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11717 *) ac_try_echo
=$ac_try;;
11719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11720 (eval "$ac_link") 2>conftest.er1
11722 grep -v '^ *+' conftest.er1
>conftest.err
11724 cat conftest.err
>&5
11725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11726 (exit $ac_status); } && {
11727 test -z "$ac_c_werror_flag" ||
11728 test ! -s conftest.err
11729 } && test -s conftest
$ac_exeext &&
11730 $as_test_x conftest
$ac_exeext; then
11731 ac_cv_lib_dmalloc_main
=yes
11733 echo "$as_me: failed program was:" >&5
11734 sed 's/^/| /' conftest.
$ac_ext >&5
11736 ac_cv_lib_dmalloc_main
=no
11739 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11740 conftest
$ac_exeext conftest.
$ac_ext
11741 LIBS
=$ac_check_lib_save_LIBS
11743 { echo "$as_me:$LINENO: result: $ac_cv_lib_dmalloc_main" >&5
11744 echo "${ECHO_T}$ac_cv_lib_dmalloc_main" >&6; }
11745 if test $ac_cv_lib_dmalloc_main = yes; then
11746 cat >>confdefs.h
<<_ACEOF
11747 #define HAVE_LIBDMALLOC 1
11750 LIBS
="-ldmalloc $LIBS"
11753 { { echo "$as_me:$LINENO: error: You have requested dmalloc debugging but -ldmalloc could not be found" >&5
11754 echo "$as_me: error: You have requested dmalloc debugging but -ldmalloc could not be found" >&2;}
11755 { (exit 1); exit 1; }; }
11758 DMALLOC_LIBS
="-ldmalloc"
11761 { echo "$as_me:$LINENO: result: no" >&5
11762 echo "${ECHO_T}no" >&6; }
11768 { echo "$as_me:$LINENO: result: no" >&5
11769 echo "${ECHO_T}no" >&6; }
11775 # ------------- ElectricFence -------------------
11777 { echo "$as_me:$LINENO: checking if ElectricFence debugging should be enabled" >&5
11778 echo $ECHO_N "checking if ElectricFence debugging should be enabled... $ECHO_C" >&6; }
11779 # Check whether --enable-efence was given.
11780 if test "${enable_efence+set}" = set; then
11781 enableval
=$enable_efence;
11782 if test "X$enable_efence" != "Xno" ; then
11783 { echo "$as_me:$LINENO: result: yes" >&5
11784 echo "${ECHO_T}yes" >&6; }
11786 { echo "$as_me:$LINENO: checking for main in -lefence" >&5
11787 echo $ECHO_N "checking for main in -lefence... $ECHO_C" >&6; }
11788 if test "${ac_cv_lib_efence_main+set}" = set; then
11789 echo $ECHO_N "(cached) $ECHO_C" >&6
11791 ac_check_lib_save_LIBS
=$LIBS
11792 LIBS
="-lefence $LIBS"
11793 cat >conftest.
$ac_ext <<_ACEOF
11796 cat confdefs.h
>>conftest.
$ac_ext
11797 cat >>conftest.
$ac_ext <<_ACEOF
11798 /* end confdefs.h. */
11809 rm -f conftest.
$ac_objext conftest
$ac_exeext
11810 if { (ac_try
="$ac_link"
11811 case "(($ac_try" in
11812 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11813 *) ac_try_echo=$ac_try;;
11815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11816 (eval "$ac_link") 2>conftest.er1
11818 grep -v '^ *+' conftest.er1 >conftest.err
11820 cat conftest.err >&5
11821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11822 (exit $ac_status); } && {
11823 test -z "$ac_c_werror_flag" ||
11824 test ! -s conftest.err
11825 } && test -s conftest$ac_exeext &&
11826 $as_test_x conftest$ac_exeext; then
11827 ac_cv_lib_efence_main=yes
11829 echo "$as_me: failed program was:" >&5
11830 sed 's/^/| /' conftest.$ac_ext >&5
11832 ac_cv_lib_efence_main=no
11835 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11836 conftest$ac_exeext conftest.$ac_ext
11837 LIBS=$ac_check_lib_save_LIBS
11839 { echo "$as_me:$LINENO: result: $ac_cv_lib_efence_main" >&5
11840 echo "${ECHO_T}$ac_cv_lib_efence_main" >&6; }
11841 if test $ac_cv_lib_efence_main = yes; then
11842 cat >>confdefs.h <<_ACEOF
11843 #define HAVE_LIBEFENCE 1
11846 LIBS="-lefence $LIBS"
11849 { { echo "$as_me:$LINENO: error: You have requested ElectricFence debugging but -lefence could not be found" >&5
11850 echo "$as_me: error: You have requested ElectricFence debugging but -lefence could not be found" >&2;}
11851 { (exit 1); exit 1; }; }
11856 { echo "$as_me:$LINENO: result: no" >&5
11857 echo "${ECHO_T}no" >&6; }
11862 { echo "$as_me:$LINENO: result: no" >&5
11863 echo "${ECHO_T}no" >&6; }
11868 CFLAGS="$CFLAGS $X_CFLAGS $DBUS_CFLAGS $GTK_CFLAGS"
11869 LIBS="$LIBS $XM_LIBS $DBUS_LIBS $X_LIBS $GTK_LIBS $DMALLOC_LIBS $GD_LIBS"
11872 # if we have gcc then add -Wall
11873 if test "x$GCC" = "xyes"; then
11874 if test -z "`echo "$CFLAGS" |
grep "\-Wall" 2> /dev
/null
`" ; then
11875 CFLAGS="$CFLAGS -Wall"
11881 FONTFILENAME=${FONTFILENAME:-"default_font"}
11884 cat >>confdefs.h <<_ACEOF
11885 #define FONTFILENAME "$FONTFILENAME"
11889 # standard autoconf variables
11890 CPPFLAGS="$CPPFLAGS -DPREFIXDIR=\\\"\${prefix}\\\""
11891 CPPFLAGS="$CPPFLAGS -DBINDIR=\\\"\${bindir}\\\""
11892 CPPFLAGS="$CPPFLAGS -DHOST=\\\"\${host}\\\""
11894 # directory for old-style library and for fonts
11895 PCBLIBDIR=${datadir}/pcb
11897 #AC_DEFINE_UNQUOTED(PCBLIBDIR,"$PCBLIBDIR",[Library directory])
11898 CPPFLAGS="$CPPFLAGS -DPCBLIBDIR=\\\"$PCBLIBDIR\\\""
11900 # name for old-style library
11901 LIBRARYFILENAME=pcblib
11904 cat >>confdefs.h <<_ACEOF
11905 #define LIBRARYFILENAME "$LIBRARYFILENAME"
11910 # directory for new library
11911 PCBTREEDIR=${datadir}/pcb/newlib
11912 PCBTREEPATH=${PCBTREEDIR}:${PCBLIBDIR}/pcblib-newlib
11913 PCBTREEDIR=${PCBTREEDIR:-"$PCBTREEDIR"}
11916 #AC_DEFINE_UNQUOTED(PCBTREEDIR,"$PCBLIB",[top directory for new style pcb library])
11917 CPPFLAGS="$CPPFLAGS -DPCBTREEDIR=\\\"$PCBTREEDIR\\\""
11918 CPPFLAGS="$CPPFLAGS -DPCBTREEPATH=\\\"$PCBTREEPATH\\\""
11920 # Figure out relative paths
11921 { echo "$as_me:$LINENO: checking for the bindir to pcblibdir relative path" >&5
11922 echo $ECHO_N "checking for the bindir to pcblibdir relative path... $ECHO_C" >&6; }
11923 for _lcl_i in bindir:PCBLIBDIR:bindir_to_pcblibdir; do
11924 _lcl_from=\$`echo "$_lcl_i" |
sed 's,:.*$,,'`
11925 _lcl_to=\$`echo "$_lcl_i" |
sed 's,^[^:]*:,,' |
sed 's,:[^:]*$,,'`
11926 _lcl_result_var=`echo "$_lcl_i" |
sed 's,^.*:,,'`
11927 _lcl_receval="$_lcl_from"
11928 _lcl_from=`(test "x$prefix" = xNONE
&& prefix
="$ac_default_prefix"
11929 test "x$exec_prefix" = xNONE
&& exec_prefix
="${prefix}"
11930 _lcl_receval_old
=''
11931 while test "$_lcl_receval_old" != "$_lcl_receval"; do
11932 _lcl_receval_old
="$_lcl_receval"
11933 eval _lcl_receval
="\"$_lcl_receval\""
11935 echo "$_lcl_receval")`
11936 _lcl_receval="$_lcl_to"
11937 _lcl_to=`(test "x$prefix" = xNONE
&& prefix
="$ac_default_prefix"
11938 test "x$exec_prefix" = xNONE
&& exec_prefix
="${prefix}"
11939 _lcl_receval_old
=''
11940 while test "$_lcl_receval_old" != "$_lcl_receval"; do
11941 _lcl_receval_old
="$_lcl_receval"
11942 eval _lcl_receval
="\"$_lcl_receval\""
11944 echo "$_lcl_receval")`
11945 _lcl_notation="$_lcl_from$_lcl_to"
11946 case ":$_lcl_from:" in
11947 # change empty paths to '.'
11948 ::) _lcl_from='.' ;;
11949 # strip trailing slashes
11950 :*[\\/]:) _lcl_from=`echo "$_lcl_from" |
sed 's,[\\/]*$,,'` ;;
11953 # squeze repeated slashes
11955 # if the path contains any backslashes, turn slashes into backslashes
11956 *\\*) _lcl_from=`echo "$_lcl_from" |
sed 's,\(.\)[\\/][\\/]*,\1\\\\\\\\,g'` ;;
11957 # if the path contains slashes, also turn backslashes into slashes
11958 *) _lcl_from=`echo "$_lcl_from" |
sed 's,\(.\)[\\/][\\/]*,\1/,g'` ;;
11960 case ":$_lcl_to:" in
11961 # change empty paths to '.'
11963 # strip trailing slashes
11964 :*[\\/]:) _lcl_to=`echo "$_lcl_to" |
sed 's,[\\/]*$,,'` ;;
11967 # squeze repeated slashes
11969 # if the path contains any backslashes, turn slashes into backslashes
11970 *\\*) _lcl_to=`echo "$_lcl_to" |
sed 's,\(.\)[\\/][\\/]*,\1\\\\\\\\,g'` ;;
11971 # if the path contains slashes, also turn backslashes into slashes
11972 *) _lcl_to=`echo "$_lcl_to" |
sed 's,\(.\)[\\/][\\/]*,\1/,g'` ;;
11974 _lcl_common_prefix=''
11975 _lcl_second_prefix_match=''
11976 while test "$_lcl_second_prefix_match" != 0; do
11977 _lcl_first_prefix=`expr "x$_lcl_from" : "x\($_lcl_common_prefix/*[^/]*\)"`
11978 _lcl_second_prefix_match=`expr "x$_lcl_to" : "x$_lcl_first_prefix"`
11979 if test "$_lcl_second_prefix_match" != 0; then
11980 if test "$_lcl_first_prefix" != "$_lcl_common_prefix"; then
11981 _lcl_common_prefix="$_lcl_first_prefix"
11983 _lcl_second_prefix_match=0
11987 _lcl_first_suffix=`expr "x$_lcl_from" : "x$_lcl_common_prefix/*\(.*\)"`
11990 while test "$_lcl_tmp" != ''; do
11991 _lcl_tmp=`expr "x$_lcl_first_suffix" : "x[^/]*/*\(.*\)"`
11992 if test "$_lcl_first_suffix" != ''; then
11993 _lcl_first_suffix="$_lcl_tmp"
11994 _lcl_first_rel="../$_lcl_first_rel"
11997 _lcl_second_suffix=`expr "x$_lcl_to" : "x$_lcl_common_prefix/*\(.*\)"`
11998 _lcl_result_tmp="$_lcl_first_rel$_lcl_second_suffix"
11999 case ":$_lcl_result_tmp:" in
12000 # change empty paths to '.'
12001 ::) _lcl_result_tmp='.' ;;
12002 # strip trailing slashes
12003 :*[\\/]:) _lcl_result_tmp=`echo "$_lcl_result_tmp" |
sed 's,[\\/]*$,,'` ;;
12006 # squeze repeated slashes
12007 case "$_lcl_notation" in
12008 # if the path contains any backslashes, turn slashes into backslashes
12009 *\\*) _lcl_result_tmp=`echo "$_lcl_result_tmp" |
sed 's,\(.\)[\\/][\\/]*,\1\\\\\\\\,g'` ;;
12010 # if the path contains slashes, also turn backslashes into slashes
12011 *) _lcl_result_tmp=`echo "$_lcl_result_tmp" |
sed 's,\(.\)[\\/][\\/]*,\1/,g'` ;;
12013 eval $_lcl_result_var='$_lcl_result_tmp'
12015 case ":$bindir_to_pcblibdir:" in
12016 # change empty paths to '.'
12017 ::) bindir_to_pcblibdir='.' ;;
12018 # strip trailing slashes
12019 :*[\\/]:) bindir_to_pcblibdir=`echo "$bindir_to_pcblibdir" |
sed 's,[\\/]*$,,'` ;;
12022 # squeze repeated slashes
12023 case $PCB_DIR_SEPARATOR_S in
12024 # if the path contains any backslashes, turn slashes into backslashes
12025 *\\*) bindir_to_pcblibdir=`echo "$bindir_to_pcblibdir" |
sed 's,\(.\)[\\/][\\/]*,\1\\\\\\\\,g'` ;;
12026 # if the path contains slashes, also turn backslashes into slashes
12027 *) bindir_to_pcblibdir=`echo "$bindir_to_pcblibdir" |
sed 's,\(.\)[\\/][\\/]*,\1/,g'` ;;
12029 { echo "$as_me:$LINENO: result: $bindir_to_pcblibdir" >&5
12030 echo "${ECHO_T}$bindir_to_pcblibdir" >&6; }
12032 cat >>confdefs.h <<_ACEOF
12033 #define BINDIR_TO_PCBLIBDIR "$bindir_to_pcblibdir"
12037 { echo "$as_me:$LINENO: checking for the bindir to pcbtreedir relative path" >&5
12038 echo $ECHO_N "checking for the bindir to pcbtreedir relative path... $ECHO_C" >&6; }
12039 for _lcl_i in bindir:PCBTREEDIR:bindir_to_pcbtreedir; do
12040 _lcl_from=\$`echo "$_lcl_i" |
sed 's,:.*$,,'`
12041 _lcl_to=\$`echo "$_lcl_i" |
sed 's,^[^:]*:,,' |
sed 's,:[^:]*$,,'`
12042 _lcl_result_var=`echo "$_lcl_i" |
sed 's,^.*:,,'`
12043 _lcl_receval="$_lcl_from"
12044 _lcl_from=`(test "x$prefix" = xNONE
&& prefix
="$ac_default_prefix"
12045 test "x$exec_prefix" = xNONE
&& exec_prefix
="${prefix}"
12046 _lcl_receval_old
=''
12047 while test "$_lcl_receval_old" != "$_lcl_receval"; do
12048 _lcl_receval_old
="$_lcl_receval"
12049 eval _lcl_receval
="\"$_lcl_receval\""
12051 echo "$_lcl_receval")`
12052 _lcl_receval="$_lcl_to"
12053 _lcl_to=`(test "x$prefix" = xNONE
&& prefix
="$ac_default_prefix"
12054 test "x$exec_prefix" = xNONE
&& exec_prefix
="${prefix}"
12055 _lcl_receval_old
=''
12056 while test "$_lcl_receval_old" != "$_lcl_receval"; do
12057 _lcl_receval_old
="$_lcl_receval"
12058 eval _lcl_receval
="\"$_lcl_receval\""
12060 echo "$_lcl_receval")`
12061 _lcl_notation="$_lcl_from$_lcl_to"
12062 case ":$_lcl_from:" in
12063 # change empty paths to '.'
12064 ::) _lcl_from='.' ;;
12065 # strip trailing slashes
12066 :*[\\/]:) _lcl_from=`echo "$_lcl_from" |
sed 's,[\\/]*$,,'` ;;
12069 # squeze repeated slashes
12071 # if the path contains any backslashes, turn slashes into backslashes
12072 *\\*) _lcl_from=`echo "$_lcl_from" |
sed 's,\(.\)[\\/][\\/]*,\1\\\\\\\\,g'` ;;
12073 # if the path contains slashes, also turn backslashes into slashes
12074 *) _lcl_from=`echo "$_lcl_from" |
sed 's,\(.\)[\\/][\\/]*,\1/,g'` ;;
12076 case ":$_lcl_to:" in
12077 # change empty paths to '.'
12079 # strip trailing slashes
12080 :*[\\/]:) _lcl_to=`echo "$_lcl_to" |
sed 's,[\\/]*$,,'` ;;
12083 # squeze repeated slashes
12085 # if the path contains any backslashes, turn slashes into backslashes
12086 *\\*) _lcl_to=`echo "$_lcl_to" |
sed 's,\(.\)[\\/][\\/]*,\1\\\\\\\\,g'` ;;
12087 # if the path contains slashes, also turn backslashes into slashes
12088 *) _lcl_to=`echo "$_lcl_to" |
sed 's,\(.\)[\\/][\\/]*,\1/,g'` ;;
12090 _lcl_common_prefix=''
12091 _lcl_second_prefix_match=''
12092 while test "$_lcl_second_prefix_match" != 0; do
12093 _lcl_first_prefix=`expr "x$_lcl_from" : "x\($_lcl_common_prefix/*[^/]*\)"`
12094 _lcl_second_prefix_match=`expr "x$_lcl_to" : "x$_lcl_first_prefix"`
12095 if test "$_lcl_second_prefix_match" != 0; then
12096 if test "$_lcl_first_prefix" != "$_lcl_common_prefix"; then
12097 _lcl_common_prefix="$_lcl_first_prefix"
12099 _lcl_second_prefix_match=0
12103 _lcl_first_suffix=`expr "x$_lcl_from" : "x$_lcl_common_prefix/*\(.*\)"`
12106 while test "$_lcl_tmp" != ''; do
12107 _lcl_tmp=`expr "x$_lcl_first_suffix" : "x[^/]*/*\(.*\)"`
12108 if test "$_lcl_first_suffix" != ''; then
12109 _lcl_first_suffix="$_lcl_tmp"
12110 _lcl_first_rel="../$_lcl_first_rel"
12113 _lcl_second_suffix=`expr "x$_lcl_to" : "x$_lcl_common_prefix/*\(.*\)"`
12114 _lcl_result_tmp="$_lcl_first_rel$_lcl_second_suffix"
12115 case ":$_lcl_result_tmp:" in
12116 # change empty paths to '.'
12117 ::) _lcl_result_tmp='.' ;;
12118 # strip trailing slashes
12119 :*[\\/]:) _lcl_result_tmp=`echo "$_lcl_result_tmp" |
sed 's,[\\/]*$,,'` ;;
12122 # squeze repeated slashes
12123 case "$_lcl_notation" in
12124 # if the path contains any backslashes, turn slashes into backslashes
12125 *\\*) _lcl_result_tmp=`echo "$_lcl_result_tmp" |
sed 's,\(.\)[\\/][\\/]*,\1\\\\\\\\,g'` ;;
12126 # if the path contains slashes, also turn backslashes into slashes
12127 *) _lcl_result_tmp=`echo "$_lcl_result_tmp" |
sed 's,\(.\)[\\/][\\/]*,\1/,g'` ;;
12129 eval $_lcl_result_var='$_lcl_result_tmp'
12131 case ":$bindir_to_pcbtreedir:" in
12132 # change empty paths to '.'
12133 ::) bindir_to_pcbtreedir='.' ;;
12134 # strip trailing slashes
12135 :*[\\/]:) bindir_to_pcbtreedir=`echo "$bindir_to_pcbtreedir" |
sed 's,[\\/]*$,,'` ;;
12138 # squeze repeated slashes
12139 case $PCB_DIR_SEPARATOR_S in
12140 # if the path contains any backslashes, turn slashes into backslashes
12141 *\\*) bindir_to_pcbtreedir=`echo "$bindir_to_pcbtreedir" |
sed 's,\(.\)[\\/][\\/]*,\1\\\\\\\\,g'` ;;
12142 # if the path contains slashes, also turn backslashes into slashes
12143 *) bindir_to_pcbtreedir=`echo "$bindir_to_pcbtreedir" |
sed 's,\(.\)[\\/][\\/]*,\1/,g'` ;;
12145 { echo "$as_me:$LINENO: result: $bindir_to_pcbtreedir" >&5
12146 echo "${ECHO_T}$bindir_to_pcbtreedir" >&6; }
12148 cat >>confdefs.h <<_ACEOF
12149 #define BINDIR_TO_PCBTREEDIR "$bindir_to_pcbtreedir"
12154 { echo "$as_me:$LINENO: checking for the bindir to exec_prefix relative path" >&5
12155 echo $ECHO_N "checking for the bindir to exec_prefix relative path... $ECHO_C" >&6; }
12156 for _lcl_i in bindir:exec_prefix:bindir_to_execprefix; do
12157 _lcl_from=\$`echo "$_lcl_i" |
sed 's,:.*$,,'`
12158 _lcl_to=\$`echo "$_lcl_i" |
sed 's,^[^:]*:,,' |
sed 's,:[^:]*$,,'`
12159 _lcl_result_var=`echo "$_lcl_i" |
sed 's,^.*:,,'`
12160 _lcl_receval="$_lcl_from"
12161 _lcl_from=`(test "x$prefix" = xNONE
&& prefix
="$ac_default_prefix"
12162 test "x$exec_prefix" = xNONE
&& exec_prefix
="${prefix}"
12163 _lcl_receval_old
=''
12164 while test "$_lcl_receval_old" != "$_lcl_receval"; do
12165 _lcl_receval_old
="$_lcl_receval"
12166 eval _lcl_receval
="\"$_lcl_receval\""
12168 echo "$_lcl_receval")`
12169 _lcl_receval="$_lcl_to"
12170 _lcl_to=`(test "x$prefix" = xNONE
&& prefix
="$ac_default_prefix"
12171 test "x$exec_prefix" = xNONE
&& exec_prefix
="${prefix}"
12172 _lcl_receval_old
=''
12173 while test "$_lcl_receval_old" != "$_lcl_receval"; do
12174 _lcl_receval_old
="$_lcl_receval"
12175 eval _lcl_receval
="\"$_lcl_receval\""
12177 echo "$_lcl_receval")`
12178 _lcl_notation="$_lcl_from$_lcl_to"
12179 case ":$_lcl_from:" in
12180 # change empty paths to '.'
12181 ::) _lcl_from='.' ;;
12182 # strip trailing slashes
12183 :*[\\/]:) _lcl_from=`echo "$_lcl_from" |
sed 's,[\\/]*$,,'` ;;
12186 # squeze repeated slashes
12188 # if the path contains any backslashes, turn slashes into backslashes
12189 *\\*) _lcl_from=`echo "$_lcl_from" |
sed 's,\(.\)[\\/][\\/]*,\1\\\\\\\\,g'` ;;
12190 # if the path contains slashes, also turn backslashes into slashes
12191 *) _lcl_from=`echo "$_lcl_from" |
sed 's,\(.\)[\\/][\\/]*,\1/,g'` ;;
12193 case ":$_lcl_to:" in
12194 # change empty paths to '.'
12196 # strip trailing slashes
12197 :*[\\/]:) _lcl_to=`echo "$_lcl_to" |
sed 's,[\\/]*$,,'` ;;
12200 # squeze repeated slashes
12202 # if the path contains any backslashes, turn slashes into backslashes
12203 *\\*) _lcl_to=`echo "$_lcl_to" |
sed 's,\(.\)[\\/][\\/]*,\1\\\\\\\\,g'` ;;
12204 # if the path contains slashes, also turn backslashes into slashes
12205 *) _lcl_to=`echo "$_lcl_to" |
sed 's,\(.\)[\\/][\\/]*,\1/,g'` ;;
12207 _lcl_common_prefix=''
12208 _lcl_second_prefix_match=''
12209 while test "$_lcl_second_prefix_match" != 0; do
12210 _lcl_first_prefix=`expr "x$_lcl_from" : "x\($_lcl_common_prefix/*[^/]*\)"`
12211 _lcl_second_prefix_match=`expr "x$_lcl_to" : "x$_lcl_first_prefix"`
12212 if test "$_lcl_second_prefix_match" != 0; then
12213 if test "$_lcl_first_prefix" != "$_lcl_common_prefix"; then
12214 _lcl_common_prefix="$_lcl_first_prefix"
12216 _lcl_second_prefix_match=0
12220 _lcl_first_suffix=`expr "x$_lcl_from" : "x$_lcl_common_prefix/*\(.*\)"`
12223 while test "$_lcl_tmp" != ''; do
12224 _lcl_tmp=`expr "x$_lcl_first_suffix" : "x[^/]*/*\(.*\)"`
12225 if test "$_lcl_first_suffix" != ''; then
12226 _lcl_first_suffix="$_lcl_tmp"
12227 _lcl_first_rel="../$_lcl_first_rel"
12230 _lcl_second_suffix=`expr "x$_lcl_to" : "x$_lcl_common_prefix/*\(.*\)"`
12231 _lcl_result_tmp="$_lcl_first_rel$_lcl_second_suffix"
12232 case ":$_lcl_result_tmp:" in
12233 # change empty paths to '.'
12234 ::) _lcl_result_tmp='.' ;;
12235 # strip trailing slashes
12236 :*[\\/]:) _lcl_result_tmp=`echo "$_lcl_result_tmp" |
sed 's,[\\/]*$,,'` ;;
12239 # squeze repeated slashes
12240 case "$_lcl_notation" in
12241 # if the path contains any backslashes, turn slashes into backslashes
12242 *\\*) _lcl_result_tmp=`echo "$_lcl_result_tmp" |
sed 's,\(.\)[\\/][\\/]*,\1\\\\\\\\,g'` ;;
12243 # if the path contains slashes, also turn backslashes into slashes
12244 *) _lcl_result_tmp=`echo "$_lcl_result_tmp" |
sed 's,\(.\)[\\/][\\/]*,\1/,g'` ;;
12246 eval $_lcl_result_var='$_lcl_result_tmp'
12248 case ":$bindir_to_execprefix:" in
12249 # change empty paths to '.'
12250 ::) bindir_to_execprefix='.' ;;
12251 # strip trailing slashes
12252 :*[\\/]:) bindir_to_execprefix=`echo "$bindir_to_execprefix" |
sed 's,[\\/]*$,,'` ;;
12255 # squeze repeated slashes
12256 case $PCB_DIR_SEPARATOR_S in
12257 # if the path contains any backslashes, turn slashes into backslashes
12258 *\\*) bindir_to_execprefix=`echo "$bindir_to_execprefix" |
sed 's,\(.\)[\\/][\\/]*,\1\\\\\\\\,g'` ;;
12259 # if the path contains slashes, also turn backslashes into slashes
12260 *) bindir_to_execprefix=`echo "$bindir_to_execprefix" |
sed 's,\(.\)[\\/][\\/]*,\1/,g'` ;;
12262 { echo "$as_me:$LINENO: result: $bindir_to_execprefix" >&5
12263 echo "${ECHO_T}$bindir_to_execprefix" >&6; }
12265 cat >>confdefs.h <<_ACEOF
12266 #define BINDIR_TO_EXECPREFIX "$bindir_to_execprefix"
12271 BTNMOD=${BTNMOD:-"Mod1"}
12275 for dir in src lib newlib doc example tools tutorial README_FILES
12277 test -d $dir/. && TOPDIRS="$TOPDIRS $dir"
12281 ac_config_files="$ac_config_files Makefile"
12283 if test -d $srcdir/README_FILES; then
12284 ac_config_files="$ac_config_files README_FILES/Makefile"
12287 if test -d $srcdir/doc; then
12288 ac_config_files="$ac_config_files doc/Makefile"
12291 if test -d $srcdir/example; then
12292 ac_config_files="$ac_config_files example/Makefile"
12294 ac_config_files="$ac_config_files example/libraries/Makefile"
12297 if test -d $srcdir/lib; then
12298 ac_config_files="$ac_config_files lib/CreateLibraryContents.sh"
12300 ac_config_files="$ac_config_files lib/CreateLibrary.sh"
12302 ac_config_files="$ac_config_files lib/ListLibraryContents.sh"
12304 ac_config_files="$ac_config_files lib/Makefile"
12306 ac_config_files="$ac_config_files lib/QueryLibrary.sh"
12308 ac_config_files="$ac_config_files lib/m4lib_to_newlib.sh"
12310 ac_config_files="$ac_config_files lib/qfp-ui"
12313 if test -d $srcdir/newlib; then
12314 ac_config_files="$ac_config_files newlib/2_pin_thru-hole_packages/Makefile"
12316 ac_config_files="$ac_config_files newlib/Makefile"
12318 ac_config_files="$ac_config_files newlib/analog-devices/Makefile"
12320 ac_config_files="$ac_config_files newlib/burr-brown/Makefile"
12322 ac_config_files="$ac_config_files newlib/connectors/Makefile"
12324 ac_config_files="$ac_config_files newlib/crystal/Makefile"
12326 ac_config_files="$ac_config_files newlib/electro-optics/Makefile"
12328 ac_config_files="$ac_config_files newlib/headers/Makefile"
12330 ac_config_files="$ac_config_files newlib/keystone/Makefile"
12332 ac_config_files="$ac_config_files newlib/msp430/Makefile"
12334 ac_config_files="$ac_config_files newlib/not_vetted_ingo/Makefile"
12336 ac_config_files="$ac_config_files newlib/sockets/Makefile"
12338 ac_config_files="$ac_config_files newlib/tests/Makefile"
12341 ac_config_files="$ac_config_files src/Makefile"
12343 ac_config_files="$ac_config_files src/icons/Makefile"
12345 if test -d $srcdir/tools; then
12346 ac_config_files="$ac_config_files tools/Makefile"
12349 if test -d $srcdir/tutorial; then
12350 ac_config_files="$ac_config_files tutorial/Makefile"
12354 ac_config_files="$ac_config_files win32/Makefile"
12357 cat >confcache <<\_ACEOF
12358 # This file is a shell script that caches the results of configure
12359 # tests run on this system so they can be shared between configure
12360 # scripts and configure runs, see configure's option --config-cache.
12361 # It is not useful on other systems. If it contains results you don't
12362 # want to keep, you may remove or edit it.
12364 # config.status only pays attention to the cache file if you give it
12365 # the --recheck option to rerun configure.
12367 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
12368 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12369 # following values.
12373 # The following way of writing the cache mishandles newlines in values,
12374 # but we know of no workaround that is simple, portable, and efficient.
12375 # So, we kill variables containing newlines.
12376 # Ultrix sh set writes to stderr and can't be redirected directly,
12377 # and sets the high bit in the cache file unless we assign to the vars.
12379 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12380 eval ac_val
=\$
$ac_var
12384 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
12385 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
12388 _ | IFS | as_nl
) ;; #(
12389 *) $as_unset $ac_var ;;
12395 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12396 *${as_nl}ac_space
=\
*)
12397 # `set' does not quote correctly, so add quotes (double-quote
12398 # substitution turns \\\\ into \\, and sed turns \\ into \).
12401 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12404 # `set' quotes correctly as required by POSIX, so do not add quotes.
12405 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12414 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12416 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12418 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
12419 if test -w "$cache_file"; then
12420 test "x$cache_file" != "x/dev/null" &&
12421 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
12422 echo "$as_me: updating cache $cache_file" >&6;}
12423 cat confcache
>$cache_file
12425 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
12426 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12431 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
12432 # Let make expand exec_prefix.
12433 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
12435 DEFS
=-DHAVE_CONFIG_H
12439 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
12440 # 1. Remove the extension, and $U if already installed.
12441 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
12442 ac_i
=`echo "$ac_i" | sed "$ac_script"`
12443 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12444 # will be set to the directory where LIBOBJS objects are built.
12445 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12446 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
12448 LIBOBJS
=$ac_libobjs
12450 LTLIBOBJS
=$ac_ltlibobjs
12453 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
12454 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
12455 Usually this means the macro was only invoked conditionally." >&5
12456 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
12457 Usually this means the macro was only invoked conditionally." >&2;}
12458 { (exit 1); exit 1; }; }
12460 if test -z "${WIN32_TRUE}" && test -z "${WIN32_FALSE}"; then
12461 { { echo "$as_me:$LINENO: error: conditional \"WIN32\" was never defined.
12462 Usually this means the macro was only invoked conditionally." >&5
12463 echo "$as_me: error: conditional \"WIN32\" was never defined.
12464 Usually this means the macro was only invoked conditionally." >&2;}
12465 { (exit 1); exit 1; }; }
12467 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12468 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
12469 Usually this means the macro was only invoked conditionally." >&5
12470 echo "$as_me: error: conditional \"AMDEP\" was never defined.
12471 Usually this means the macro was only invoked conditionally." >&2;}
12472 { (exit 1); exit 1; }; }
12474 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12475 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
12476 Usually this means the macro was only invoked conditionally." >&5
12477 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
12478 Usually this means the macro was only invoked conditionally." >&2;}
12479 { (exit 1); exit 1; }; }
12481 if test -z "${MISSING_TGIF_TRUE}" && test -z "${MISSING_TGIF_FALSE}"; then
12482 { { echo "$as_me:$LINENO: error: conditional \"MISSING_TGIF\" was never defined.
12483 Usually this means the macro was only invoked conditionally." >&5
12484 echo "$as_me: error: conditional \"MISSING_TGIF\" was never defined.
12485 Usually this means the macro was only invoked conditionally." >&2;}
12486 { (exit 1); exit 1; }; }
12488 if test -z "${MISSING_XPMTOPPM_TRUE}" && test -z "${MISSING_XPMTOPPM_FALSE}"; then
12489 { { echo "$as_me:$LINENO: error: conditional \"MISSING_XPMTOPPM\" was never defined.
12490 Usually this means the macro was only invoked conditionally." >&5
12491 echo "$as_me: error: conditional \"MISSING_XPMTOPPM\" was never defined.
12492 Usually this means the macro was only invoked conditionally." >&2;}
12493 { (exit 1); exit 1; }; }
12495 if test -z "${MISSING_CONVERT_TRUE}" && test -z "${MISSING_CONVERT_FALSE}"; then
12496 { { echo "$as_me:$LINENO: error: conditional \"MISSING_CONVERT\" was never defined.
12497 Usually this means the macro was only invoked conditionally." >&5
12498 echo "$as_me: error: conditional \"MISSING_CONVERT\" was never defined.
12499 Usually this means the macro was only invoked conditionally." >&2;}
12500 { (exit 1); exit 1; }; }
12502 if test -z "${WITH_DBUS_TRUE}" && test -z "${WITH_DBUS_FALSE}"; then
12503 { { echo "$as_me:$LINENO: error: conditional \"WITH_DBUS\" was never defined.
12504 Usually this means the macro was only invoked conditionally." >&5
12505 echo "$as_me: error: conditional \"WITH_DBUS\" was never defined.
12506 Usually this means the macro was only invoked conditionally." >&2;}
12507 { (exit 1); exit 1; }; }
12509 if test -z "${MISSING_LATEX_TRUE}" && test -z "${MISSING_LATEX_FALSE}"; then
12510 { { echo "$as_me:$LINENO: error: conditional \"MISSING_LATEX\" was never defined.
12511 Usually this means the macro was only invoked conditionally." >&5
12512 echo "$as_me: error: conditional \"MISSING_LATEX\" was never defined.
12513 Usually this means the macro was only invoked conditionally." >&2;}
12514 { (exit 1); exit 1; }; }
12516 if test -z "${MISSING_PDFLATEX_TRUE}" && test -z "${MISSING_PDFLATEX_FALSE}"; then
12517 { { echo "$as_me:$LINENO: error: conditional \"MISSING_PDFLATEX\" was never defined.
12518 Usually this means the macro was only invoked conditionally." >&5
12519 echo "$as_me: error: conditional \"MISSING_PDFLATEX\" was never defined.
12520 Usually this means the macro was only invoked conditionally." >&2;}
12521 { (exit 1); exit 1; }; }
12523 if test -z "${MISSING_DVIPS_TRUE}" && test -z "${MISSING_DVIPS_FALSE}"; then
12524 { { echo "$as_me:$LINENO: error: conditional \"MISSING_DVIPS\" was never defined.
12525 Usually this means the macro was only invoked conditionally." >&5
12526 echo "$as_me: error: conditional \"MISSING_DVIPS\" was never defined.
12527 Usually this means the macro was only invoked conditionally." >&2;}
12528 { (exit 1); exit 1; }; }
12530 if test -z "${MISSING_PS2PDF_TRUE}" && test -z "${MISSING_PS2PDF_FALSE}"; then
12531 { { echo "$as_me:$LINENO: error: conditional \"MISSING_PS2PDF\" was never defined.
12532 Usually this means the macro was only invoked conditionally." >&5
12533 echo "$as_me: error: conditional \"MISSING_PS2PDF\" was never defined.
12534 Usually this means the macro was only invoked conditionally." >&2;}
12535 { (exit 1); exit 1; }; }
12537 if test -z "${PNG_TRUE}" && test -z "${PNG_FALSE}"; then
12538 { { echo "$as_me:$LINENO: error: conditional \"PNG\" was never defined.
12539 Usually this means the macro was only invoked conditionally." >&5
12540 echo "$as_me: error: conditional \"PNG\" was never defined.
12541 Usually this means the macro was only invoked conditionally." >&2;}
12542 { (exit 1); exit 1; }; }
12544 if test -z "${GIF_TRUE}" && test -z "${GIF_FALSE}"; then
12545 { { echo "$as_me:$LINENO: error: conditional \"GIF\" was never defined.
12546 Usually this means the macro was only invoked conditionally." >&5
12547 echo "$as_me: error: conditional \"GIF\" was never defined.
12548 Usually this means the macro was only invoked conditionally." >&2;}
12549 { (exit 1); exit 1; }; }
12552 : ${CONFIG_STATUS=./config.status}
12553 ac_clean_files_save
=$ac_clean_files
12554 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
12555 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
12556 echo "$as_me: creating $CONFIG_STATUS" >&6;}
12557 cat >$CONFIG_STATUS <<_ACEOF
12559 # Generated by $as_me.
12560 # Run this file to recreate the current configuration.
12561 # Compiler output produced by configure, useful for debugging
12562 # configure, is in config.log if it exists.
12565 ac_cs_recheck=false
12567 SHELL=\${CONFIG_SHELL-$SHELL}
12570 cat >>$CONFIG_STATUS <<\_ACEOF
12571 ## --------------------- ##
12572 ## M4sh Initialization. ##
12573 ## --------------------- ##
12575 # Be more Bourne compatible
12576 DUALCASE
=1; export DUALCASE
# for MKS sh
12577 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
12580 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
12581 # is contrary to our usage. Disable this feature.
12582 alias -g '${1+"$@"}'='"$@"'
12583 setopt NO_GLOB_SUBST
12585 case `(set -o) 2>/dev/null` in
12586 *posix
*) set -o posix
;;
12595 # Avoid depending upon Character Ranges.
12596 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
12597 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12598 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
12599 as_cr_digits
='0123456789'
12600 as_cr_alnum
=$as_cr_Letters$as_cr_digits
12602 # The user is always right.
12603 if test "${PATH_SEPARATOR+set}" != set; then
12604 echo "#! /bin/sh" >conf$$.sh
12605 echo "exit 0" >>conf$$.sh
12607 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
12615 # Support unset when possible.
12616 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
12624 # We need space, tab and new line, in precisely that order. Quoting is
12625 # there to prevent editors from complaining about space-tab.
12626 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12627 # splitting by setting IFS to empty value.)
12632 # Find who we are. Look in the path if we contain no directory separator.
12634 *[\\/]* ) as_myself
=$0 ;;
12635 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12636 for as_dir
in $PATH
12639 test -z "$as_dir" && as_dir
=.
12640 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
12646 # We did not find ourselves, most probably we were run as `sh COMMAND'
12647 # in which case we are not to be found in the path.
12648 if test "x$as_myself" = x
; then
12651 if test ! -f "$as_myself"; then
12652 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12653 { (exit 1); exit 1; }
12656 # Work around bugs in pre-3.0 UWIN ksh.
12657 for as_var
in ENV MAIL MAILPATH
12658 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
12666 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
12667 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
12668 LC_TELEPHONE LC_TIME
12670 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
12671 eval $as_var=C
; export $as_var
12673 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
12677 # Required to use basename.
12678 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
12679 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
12685 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12686 as_basename
=basename
12692 # Name of the executable.
12693 as_me
=`$as_basename -- "$0" ||
12694 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12695 X"$0" : 'X\(//\)$' \| \
12696 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12698 sed '/^.*\/\([^/][^/]*\)\/*$/{
12717 as_lineno_1
=$LINENO
12718 as_lineno_2
=$LINENO
12719 test "x$as_lineno_1" != "x$as_lineno_2" &&
12720 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
12722 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
12723 # uniformly replaced by the line number. The first 'sed' inserts a
12724 # line-number line after each line using $LINENO; the second 'sed'
12725 # does the real work. The second script uses 'N' to pair each
12726 # line-number line with the line containing $LINENO, and appends
12727 # trailing '-' during substitution so that $LINENO is not a special
12728 # case at line end.
12729 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
12730 # scripts with optimization help from Paolo Bonzini. Blame Lee
12731 # E. McMahon (1931-1989) for sed's syntax. :-)
12743 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
12746 ' >$as_me.lineno
&&
12747 chmod +x
"$as_me.lineno" ||
12748 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
12749 { (exit 1); exit 1; }; }
12751 # Don't try to exec as it changes $[0], causing all sort of problems
12752 # (the dirname of $[0] is not the place where we might find the
12753 # original and so on. Autoconf is especially sensitive to this).
12754 .
"./$as_me.lineno"
12755 # Exit status is that of the last command.
12760 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
12766 ECHO_C
= ECHO_N
= ECHO_T
=
12767 case `echo -n x` in
12769 case `echo 'x\c'` in
12770 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
12777 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
12778 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
12784 rm -f conf$$ conf$$.exe conf$$.
file
12785 if test -d conf$$.dir
; then
12786 rm -f conf$$.dir
/conf$$.
file
12792 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
12794 # ... but there are two gotchas:
12795 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12796 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12797 # In both cases, we have to default to `cp -p'.
12798 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
12800 elif ln conf$$.
file conf$$
2>/dev
/null
; then
12805 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
12806 rmdir conf$$.dir
2>/dev
/null
12808 if mkdir
-p .
2>/dev
/null
; then
12811 test -d .
/-p && rmdir .
/-p
12815 if test -x / >/dev
/null
2>&1; then
12816 as_test_x
='test -x'
12818 if ls -dL / >/dev
/null
2>&1; then
12825 if test -d "$1"; then
12831 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
12832 ???[sx]*):;;*)false;;esac;fi
12836 as_executable_p
=$as_test_x
12838 # Sed expression to map a string onto a valid CPP name.
12839 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12841 # Sed expression to map a string onto a valid variable name.
12842 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12847 # Save the log message, to keep $[0] and so on meaningful, and to
12848 # report actual input values of CONFIG_FILES etc. instead of their
12849 # values after options handling.
12851 This file was extended by $as_me, which was
12852 generated by GNU Autoconf 2.61. Invocation command line was
12854 CONFIG_FILES = $CONFIG_FILES
12855 CONFIG_HEADERS = $CONFIG_HEADERS
12856 CONFIG_LINKS = $CONFIG_LINKS
12857 CONFIG_COMMANDS = $CONFIG_COMMANDS
12860 on `(hostname || uname -n) 2>/dev/null | sed 1q`
12865 cat >>$CONFIG_STATUS <<_ACEOF
12866 # Files that config.status was made for.
12867 config_files="$ac_config_files"
12868 config_headers="$ac_config_headers"
12869 config_commands="$ac_config_commands"
12873 cat >>$CONFIG_STATUS <<\_ACEOF
12875 \`$as_me' instantiates files from templates according to the
12876 current configuration.
12878 Usage: $0 [OPTIONS] [FILE]...
12880 -h, --help print this help, then exit
12881 -V, --version print version number and configuration settings, then exit
12882 -q, --quiet do not print progress messages
12883 -d, --debug don't remove temporary files
12884 --recheck update $as_me by reconfiguring in the same conditions
12885 --file=FILE[:TEMPLATE]
12886 instantiate the configuration file FILE
12887 --header=FILE[:TEMPLATE]
12888 instantiate the configuration header FILE
12890 Configuration files:
12893 Configuration headers:
12896 Configuration commands:
12899 Report bugs to <bug-autoconf@gnu.org>."
12902 cat >>$CONFIG_STATUS <<_ACEOF
12905 configured by $0, generated by GNU Autoconf 2.61,
12906 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
12908 Copyright (C) 2006 Free Software Foundation, Inc.
12909 This config.status script is free software; the Free Software Foundation
12910 gives unlimited permission to copy, distribute and modify it."
12918 cat >>$CONFIG_STATUS <<\_ACEOF
12919 # If no file are specified by the user, then we need to provide default
12920 # value. By we need to know if files were specified by the user.
12926 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
12927 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
12938 # Handling of the options.
12939 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
12941 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
12942 echo "$ac_cs_version"; exit ;;
12943 --debug |
--debu |
--deb |
--de |
--d |
-d )
12945 --file |
--fil |
--fi |
--f )
12947 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
12948 ac_need_defaults
=false
;;
12949 --header |
--heade |
--head |
--hea )
12951 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
12952 ac_need_defaults
=false
;;
12954 # Conflict between --help and --header
12955 { echo "$as_me: error: ambiguous option: $1
12956 Try \`$0 --help' for more information." >&2
12957 { (exit 1); exit 1; }; };;
12958 --help |
--hel |
-h )
12959 echo "$ac_cs_usage"; exit ;;
12960 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
12961 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
12964 # This is an error.
12965 -*) { echo "$as_me: error: unrecognized option: $1
12966 Try \`$0 --help' for more information." >&2
12967 { (exit 1); exit 1; }; } ;;
12969 *) ac_config_targets
="$ac_config_targets $1"
12970 ac_need_defaults
=false
;;
12976 ac_configure_extra_args
=
12978 if $ac_cs_silent; then
12980 ac_configure_extra_args
="$ac_configure_extra_args --silent"
12984 cat >>$CONFIG_STATUS <<_ACEOF
12985 if \$ac_cs_recheck; then
12986 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
12987 CONFIG_SHELL=$SHELL
12988 export CONFIG_SHELL
12989 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12993 cat >>$CONFIG_STATUS <<\_ACEOF
12997 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12998 ## Running $as_me. ##
13004 cat >>$CONFIG_STATUS <<_ACEOF
13008 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13012 cat >>$CONFIG_STATUS <<\_ACEOF
13014 # Handling of arguments.
13015 for ac_config_target
in $ac_config_targets
13017 case $ac_config_target in
13018 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
13019 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
13020 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
13021 "README_FILES/Makefile") CONFIG_FILES
="$CONFIG_FILES README_FILES/Makefile" ;;
13022 "doc/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
13023 "example/Makefile") CONFIG_FILES
="$CONFIG_FILES example/Makefile" ;;
13024 "example/libraries/Makefile") CONFIG_FILES
="$CONFIG_FILES example/libraries/Makefile" ;;
13025 "lib/CreateLibraryContents.sh") CONFIG_FILES
="$CONFIG_FILES lib/CreateLibraryContents.sh" ;;
13026 "lib/CreateLibrary.sh") CONFIG_FILES
="$CONFIG_FILES lib/CreateLibrary.sh" ;;
13027 "lib/ListLibraryContents.sh") CONFIG_FILES
="$CONFIG_FILES lib/ListLibraryContents.sh" ;;
13028 "lib/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/Makefile" ;;
13029 "lib/QueryLibrary.sh") CONFIG_FILES
="$CONFIG_FILES lib/QueryLibrary.sh" ;;
13030 "lib/m4lib_to_newlib.sh") CONFIG_FILES
="$CONFIG_FILES lib/m4lib_to_newlib.sh" ;;
13031 "lib/qfp-ui") CONFIG_FILES
="$CONFIG_FILES lib/qfp-ui" ;;
13032 "newlib/2_pin_thru-hole_packages/Makefile") CONFIG_FILES
="$CONFIG_FILES newlib/2_pin_thru-hole_packages/Makefile" ;;
13033 "newlib/Makefile") CONFIG_FILES
="$CONFIG_FILES newlib/Makefile" ;;
13034 "newlib/analog-devices/Makefile") CONFIG_FILES
="$CONFIG_FILES newlib/analog-devices/Makefile" ;;
13035 "newlib/burr-brown/Makefile") CONFIG_FILES
="$CONFIG_FILES newlib/burr-brown/Makefile" ;;
13036 "newlib/connectors/Makefile") CONFIG_FILES
="$CONFIG_FILES newlib/connectors/Makefile" ;;
13037 "newlib/crystal/Makefile") CONFIG_FILES
="$CONFIG_FILES newlib/crystal/Makefile" ;;
13038 "newlib/electro-optics/Makefile") CONFIG_FILES
="$CONFIG_FILES newlib/electro-optics/Makefile" ;;
13039 "newlib/headers/Makefile") CONFIG_FILES
="$CONFIG_FILES newlib/headers/Makefile" ;;
13040 "newlib/keystone/Makefile") CONFIG_FILES
="$CONFIG_FILES newlib/keystone/Makefile" ;;
13041 "newlib/msp430/Makefile") CONFIG_FILES
="$CONFIG_FILES newlib/msp430/Makefile" ;;
13042 "newlib/not_vetted_ingo/Makefile") CONFIG_FILES
="$CONFIG_FILES newlib/not_vetted_ingo/Makefile" ;;
13043 "newlib/sockets/Makefile") CONFIG_FILES
="$CONFIG_FILES newlib/sockets/Makefile" ;;
13044 "newlib/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES newlib/tests/Makefile" ;;
13045 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
13046 "src/icons/Makefile") CONFIG_FILES
="$CONFIG_FILES src/icons/Makefile" ;;
13047 "tools/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
13048 "tutorial/Makefile") CONFIG_FILES
="$CONFIG_FILES tutorial/Makefile" ;;
13049 "win32/Makefile") CONFIG_FILES
="$CONFIG_FILES win32/Makefile" ;;
13051 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
13052 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
13053 { (exit 1); exit 1; }; };;
13058 # If the user did not use the arguments to specify the items to instantiate,
13059 # then the envvar interface is used. Set only those that are not.
13060 # We use the long form for the default assignment because of an extremely
13061 # bizarre bug on SunOS 4.1.3.
13062 if $ac_need_defaults; then
13063 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
13064 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
13065 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
13068 # Have a temporary directory for convenience. Make it in the build tree
13069 # simply because there is no reason against having it here, and in addition,
13070 # creating and moving files from /tmp can sometimes cause problems.
13071 # Hook for its removal unless debugging.
13072 # Note that there is a small window in which the directory will not be cleaned:
13073 # after its creation but before its name has been assigned to `$tmp'.
13077 trap 'exit_status=$?
13078 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
13080 trap '{ (exit 1); exit 1; }' 1 2 13 15
13082 # Create a (secure) tmp directory for tmp files.
13085 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13086 test -n "$tmp" && test -d "$tmp"
13089 tmp
=.
/conf$$
-$RANDOM
13090 (umask 077 && mkdir
"$tmp")
13093 echo "$me: cannot create a temporary directory in ." >&2
13094 { (exit 1); exit 1; }
13098 # Set up the sed scripts for CONFIG_FILES section.
13101 # No need to generate the scripts if there are no CONFIG_FILES.
13102 # This happens for instance when ./config.status config.h
13103 if test -n "$CONFIG_FILES"; then
13110 for ac_last_try
in false false false false false
:; do
13111 cat >conf$
$subs.
sed <<_ACEOF
13112 SHELL!$SHELL$ac_delim
13113 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
13114 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
13115 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
13116 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
13117 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
13118 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
13119 exec_prefix!$exec_prefix$ac_delim
13120 prefix!$prefix$ac_delim
13121 program_transform_name!$program_transform_name$ac_delim
13122 bindir!$bindir$ac_delim
13123 sbindir!$sbindir$ac_delim
13124 libexecdir!$libexecdir$ac_delim
13125 datarootdir!$datarootdir$ac_delim
13126 datadir!$datadir$ac_delim
13127 sysconfdir!$sysconfdir$ac_delim
13128 sharedstatedir!$sharedstatedir$ac_delim
13129 localstatedir!$localstatedir$ac_delim
13130 includedir!$includedir$ac_delim
13131 oldincludedir!$oldincludedir$ac_delim
13132 docdir!$docdir$ac_delim
13133 infodir!$infodir$ac_delim
13134 htmldir!$htmldir$ac_delim
13135 dvidir!$dvidir$ac_delim
13136 pdfdir!$pdfdir$ac_delim
13137 psdir!$psdir$ac_delim
13138 libdir!$libdir$ac_delim
13139 localedir!$localedir$ac_delim
13140 mandir!$mandir$ac_delim
13141 DEFS!$DEFS$ac_delim
13142 ECHO_C!$ECHO_C$ac_delim
13143 ECHO_N!$ECHO_N$ac_delim
13144 ECHO_T!$ECHO_T$ac_delim
13145 LIBS!$LIBS$ac_delim
13146 build_alias!$build_alias$ac_delim
13147 host_alias!$host_alias$ac_delim
13148 target_alias!$target_alias$ac_delim
13149 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
13150 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
13151 INSTALL_DATA!$INSTALL_DATA$ac_delim
13152 am__isrc!$am__isrc$ac_delim
13153 CYGPATH_W!$CYGPATH_W$ac_delim
13154 PACKAGE!$PACKAGE$ac_delim
13155 VERSION!$VERSION$ac_delim
13156 ACLOCAL!$ACLOCAL$ac_delim
13157 AUTOCONF!$AUTOCONF$ac_delim
13158 AUTOMAKE!$AUTOMAKE$ac_delim
13159 AUTOHEADER!$AUTOHEADER$ac_delim
13160 MAKEINFO!$MAKEINFO$ac_delim
13161 install_sh!$install_sh$ac_delim
13162 STRIP!$STRIP$ac_delim
13163 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
13164 mkdir_p!$mkdir_p$ac_delim
13166 SET_MAKE!$SET_MAKE$ac_delim
13167 am__leading_dot!$am__leading_dot$ac_delim
13168 AMTAR!$AMTAR$ac_delim
13169 am__tar!$am__tar$ac_delim
13170 am__untar!$am__untar$ac_delim
13171 MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
13172 MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
13173 MAINT!$MAINT$ac_delim
13174 build!$build$ac_delim
13175 build_cpu!$build_cpu$ac_delim
13176 build_vendor!$build_vendor$ac_delim
13177 build_os!$build_os$ac_delim
13178 host!$host$ac_delim
13179 host_cpu!$host_cpu$ac_delim
13180 host_vendor!$host_vendor$ac_delim
13181 host_os!$host_os$ac_delim
13182 WIN32!$WIN32$ac_delim
13183 WIN32_TRUE!$WIN32_TRUE$ac_delim
13184 WIN32_FALSE!$WIN32_FALSE$ac_delim
13186 CFLAGS!$CFLAGS$ac_delim
13187 LDFLAGS!$LDFLAGS$ac_delim
13188 CPPFLAGS!$CPPFLAGS$ac_delim
13189 ac_ct_CC!$ac_ct_CC$ac_delim
13190 EXEEXT!$EXEEXT$ac_delim
13191 OBJEXT!$OBJEXT$ac_delim
13192 DEPDIR!$DEPDIR$ac_delim
13193 am__include!$am__include$ac_delim
13194 am__quote!$am__quote$ac_delim
13195 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
13196 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
13197 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
13198 CCDEPMODE!$CCDEPMODE$ac_delim
13199 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
13200 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
13203 LEX_OUTPUT_ROOT!$LEX_OUTPUT_ROOT$ac_delim
13204 LEXLIB!$LEXLIB$ac_delim
13205 LEX_PATH!$LEX_PATH$ac_delim
13206 YACC!$YACC$ac_delim
13207 YFLAGS!$YFLAGS$ac_delim
13208 YACC_PATH!$YACC_PATH$ac_delim
13211 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
13213 elif $ac_last_try; then
13214 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
13215 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
13216 { (exit 1); exit 1; }; }
13218 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
13222 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
13223 if test -n "$ac_eof"; then
13224 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
13225 ac_eof
=`expr $ac_eof + 1`
13228 cat >>$CONFIG_STATUS <<_ACEOF
13229 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
13230 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
13233 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
13234 s/^/s,@/; s/!/@,|#_!!_#|/
13237 s/'"$ac_delim"'$/,g/; t
13239 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
13240 ' >>$CONFIG_STATUS <conf$
$subs.
sed
13241 rm -f conf$
$subs.
sed
13242 cat >>$CONFIG_STATUS <<_ACEOF
13248 for ac_last_try
in false false false false false
:; do
13249 cat >conf$
$subs.
sed <<_ACEOF
13250 RANLIB!$RANLIB$ac_delim
13251 TGIF!$TGIF$ac_delim
13252 MISSING_TGIF_TRUE!$MISSING_TGIF_TRUE$ac_delim
13253 MISSING_TGIF_FALSE!$MISSING_TGIF_FALSE$ac_delim
13254 XPMTOPPM!$XPMTOPPM$ac_delim
13255 PPMTOWINICON!$PPMTOWINICON$ac_delim
13256 MISSING_XPMTOPPM_TRUE!$MISSING_XPMTOPPM_TRUE$ac_delim
13257 MISSING_XPMTOPPM_FALSE!$MISSING_XPMTOPPM_FALSE$ac_delim
13258 CONVERT!$CONVERT$ac_delim
13259 MISSING_CONVERT_TRUE!$MISSING_CONVERT_TRUE$ac_delim
13260 MISSING_CONVERT_FALSE!$MISSING_CONVERT_FALSE$ac_delim
13262 MKINFO!$MKINFO$ac_delim
13263 PERL!$PERL$ac_delim
13264 WITH_DBUS_TRUE!$WITH_DBUS_TRUE$ac_delim
13265 WITH_DBUS_FALSE!$WITH_DBUS_FALSE$ac_delim
13266 PKG_CONFIG!$PKG_CONFIG$ac_delim
13267 DBUS_CFLAGS!$DBUS_CFLAGS$ac_delim
13268 DBUS_LIBS!$DBUS_LIBS$ac_delim
13269 HIDLIST!$HIDLIST$ac_delim
13270 HIDLIBS!$HIDLIBS$ac_delim
13272 WISH!$WISH$ac_delim
13273 GNUM4!$GNUM4$ac_delim
13274 LATEX!$LATEX$ac_delim
13275 MISSING_LATEX_TRUE!$MISSING_LATEX_TRUE$ac_delim
13276 MISSING_LATEX_FALSE!$MISSING_LATEX_FALSE$ac_delim
13277 PDFLATEX!$PDFLATEX$ac_delim
13278 MISSING_PDFLATEX_TRUE!$MISSING_PDFLATEX_TRUE$ac_delim
13279 MISSING_PDFLATEX_FALSE!$MISSING_PDFLATEX_FALSE$ac_delim
13280 DVIPS!$DVIPS$ac_delim
13281 MISSING_DVIPS_TRUE!$MISSING_DVIPS_TRUE$ac_delim
13282 MISSING_DVIPS_FALSE!$MISSING_DVIPS_FALSE$ac_delim
13283 PS2PDF!$PS2PDF$ac_delim
13284 MISSING_PS2PDF_TRUE!$MISSING_PS2PDF_TRUE$ac_delim
13285 MISSING_PS2PDF_FALSE!$MISSING_PS2PDF_FALSE$ac_delim
13286 GREP!$GREP$ac_delim
13287 EGREP!$EGREP$ac_delim
13288 XMKMF!$XMKMF$ac_delim
13289 X_CFLAGS!$X_CFLAGS$ac_delim
13290 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
13291 X_LIBS!$X_LIBS$ac_delim
13292 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
13293 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
13294 GTK_LIBS!$GTK_LIBS$ac_delim
13295 GLIB_CFLAGS!$GLIB_CFLAGS$ac_delim
13296 GLIB_LIBS!$GLIB_LIBS$ac_delim
13297 GDLIB_CONFIG!$GDLIB_CONFIG$ac_delim
13298 PNG_TRUE!$PNG_TRUE$ac_delim
13299 PNG_FALSE!$PNG_FALSE$ac_delim
13300 GIF_TRUE!$GIF_TRUE$ac_delim
13301 GIF_FALSE!$GIF_FALSE$ac_delim
13302 FONTFILENAME!$FONTFILENAME$ac_delim
13303 PCBLIBDIR!$PCBLIBDIR$ac_delim
13304 LIBRARYFILENAME!$LIBRARYFILENAME$ac_delim
13305 PCBTREEDIR!$PCBTREEDIR$ac_delim
13306 PCBTREEPATH!$PCBTREEPATH$ac_delim
13307 BTNMOD!$BTNMOD$ac_delim
13308 TOPDIRS!$TOPDIRS$ac_delim
13309 LIBOBJS!$LIBOBJS$ac_delim
13310 LTLIBOBJS!$LTLIBOBJS$ac_delim
13313 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 61; then
13315 elif $ac_last_try; then
13316 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
13317 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
13318 { (exit 1); exit 1; }; }
13320 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
13324 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
13325 if test -n "$ac_eof"; then
13326 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
13327 ac_eof
=`expr $ac_eof + 1`
13330 cat >>$CONFIG_STATUS <<_ACEOF
13331 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
13332 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
13335 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
13336 s/^/s,@/; s/!/@,|#_!!_#|/
13339 s/'"$ac_delim"'$/,g/; t
13341 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
13342 ' >>$CONFIG_STATUS <conf$
$subs.
sed
13343 rm -f conf$
$subs.
sed
13344 cat >>$CONFIG_STATUS <<_ACEOF
13351 # VPATH may cause trouble with some makes, so we remove $(srcdir),
13352 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
13353 # trailing colons and then remove the whole line if VPATH becomes empty
13354 # (actually we leave an empty line to preserve line numbers).
13355 if test "x$srcdir" = x.
; then
13356 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
13357 s/:*\$(srcdir):*/:/
13358 s/:*\${srcdir}:*/:/
13360 s/^\([^=]*=[ ]*\):*/\1/
13366 cat >>$CONFIG_STATUS <<\_ACEOF
13367 fi # test -n "$CONFIG_FILES"
13370 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
13373 :[FHLC
]) ac_mode
=$ac_tag; continue;;
13375 case $ac_mode$ac_tag in
13377 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
13378 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
13379 { (exit 1); exit 1; }; };;
13380 :[FH
]-) ac_tag
=-:-;;
13381 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
13398 -) ac_f
="$tmp/stdin";;
13399 *) # Look for the file first in the build tree, then in the source tree
13400 # (if the path is not absolute). The absolute path cannot be DOS-style,
13401 # because $ac_f cannot contain `:'.
13405 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
13407 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
13408 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
13409 { (exit 1); exit 1; }; };;
13411 ac_file_inputs
="$ac_file_inputs $ac_f"
13414 # Let's still pretend it is `configure' which instantiates (i.e., don't
13415 # use $as_me), people would be surprised to read:
13416 # /* config.h. Generated by config.status. */
13417 configure_input
="Generated from "`IFS=:
13418 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
13419 if test x
"$ac_file" != x-
; then
13420 configure_input
="$ac_file. $configure_input"
13421 { echo "$as_me:$LINENO: creating $ac_file" >&5
13422 echo "$as_me: creating $ac_file" >&6;}
13426 *:-:* |
*:-) cat >"$tmp/stdin";;
13431 ac_dir
=`$as_dirname -- "$ac_file" ||
13432 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13433 X"$ac_file" : 'X\(//\)[^/]' \| \
13434 X"$ac_file" : 'X\(//\)$' \| \
13435 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13437 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13441 /^X\(\/\/\)[^/].*/{
13456 -*) as_dir
=.
/$as_dir;;
13458 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
13462 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
13463 *) as_qdir
=$as_dir;;
13465 as_dirs
="'$as_qdir' $as_dirs"
13466 as_dir
=`$as_dirname -- "$as_dir" ||
13467 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13468 X"$as_dir" : 'X\(//\)[^/]' \| \
13469 X"$as_dir" : 'X\(//\)$' \| \
13470 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13472 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13476 /^X\(\/\/\)[^/].*/{
13489 test -d "$as_dir" && break
13491 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
13492 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
13493 echo "$as_me: error: cannot create directory $as_dir" >&2;}
13494 { (exit 1); exit 1; }; }; }
13498 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13500 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
13501 # A ".." for each directory in $ac_dir_suffix.
13502 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
13503 case $ac_top_builddir_sub in
13504 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13505 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
13508 ac_abs_top_builddir
=$ac_pwd
13509 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
13510 # for backward compatibility:
13511 ac_top_builddir
=$ac_top_build_prefix
13514 .
) # We are building in place.
13516 ac_top_srcdir
=$ac_top_builddir_sub
13517 ac_abs_top_srcdir
=$ac_pwd ;;
13518 [\\/]* | ?
:[\\/]* ) # Absolute name.
13519 ac_srcdir
=$srcdir$ac_dir_suffix;
13520 ac_top_srcdir
=$srcdir
13521 ac_abs_top_srcdir
=$srcdir ;;
13522 *) # Relative name.
13523 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
13524 ac_top_srcdir
=$ac_top_build_prefix$srcdir
13525 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
13527 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
13537 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
13538 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
13540 ac_MKDIR_P
=$MKDIR_P
13542 [\\/$
]* | ?
:[\\/]* ) ;;
13543 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
13547 cat >>$CONFIG_STATUS <<\_ACEOF
13548 # If the template does not know about datarootdir, expand it.
13549 # FIXME: This hack should be removed a few years after 2.60.
13550 ac_datarootdir_hack
=; ac_datarootdir_seen
=
13552 case `sed -n '/datarootdir/ {
13561 ' $ac_file_inputs` in
13562 *datarootdir
*) ac_datarootdir_seen
=yes;;
13563 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
13564 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13565 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13567 cat >>$CONFIG_STATUS <<_ACEOF
13568 ac_datarootdir_hack='
13569 s&@datadir@&$datadir&g
13570 s&@docdir@&$docdir&g
13571 s&@infodir@&$infodir&g
13572 s&@localedir@&$localedir&g
13573 s&@mandir@&$mandir&g
13574 s&\\\${datarootdir}&$datarootdir&g' ;;
13578 # Neutralize VPATH when `$srcdir' = `.'.
13579 # Shell code in configure.ac might set extrasub.
13580 # FIXME: do we really want to maintain this feature?
13581 cat >>$CONFIG_STATUS <<_ACEOF
13585 cat >>$CONFIG_STATUS <<\_ACEOF
13587 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
13588 s
&@configure_input@
&$configure_input&;t t
13589 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
13590 s
&@srcdir@
&$ac_srcdir&;t t
13591 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
13592 s
&@top_srcdir@
&$ac_top_srcdir&;t t
13593 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
13594 s
&@builddir@
&$ac_builddir&;t t
13595 s
&@abs_builddir@
&$ac_abs_builddir&;t t
13596 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
13597 s
&@INSTALL@
&$ac_INSTALL&;t t
13598 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
13599 $ac_datarootdir_hack
13600 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
13602 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13603 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
13604 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
13605 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
13606 which seems to be undefined. Please make sure it is defined." >&5
13607 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
13608 which seems to be undefined. Please make sure it is defined." >&2;}
13612 -) cat "$tmp/out"; rm -f "$tmp/out";;
13613 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
13622 # Transform confdefs.h into a sed script `conftest.defines', that
13623 # substitutes the proper values into config.h.in to produce config.h.
13624 rm -f conftest.defines conftest.
tail
13625 # First, append a space to every undef/define line, to ease matching.
13626 echo 's/$/ /' >conftest.defines
13627 # Then, protect against being on the right side of a sed subst, or in
13628 # an unquoted here document, in config.status. If some macros were
13629 # called several times there might be several #defines for the same
13630 # symbol, which is useless. But do not sort them, since the last
13631 # AC_DEFINE must be honored.
13632 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
13633 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
13634 # NAME is the cpp macro being defined, VALUE is the value it is being given.
13635 # PARAMS is the parameter list in the macro definition--in most cases, it's
13636 # just an empty string.
13637 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
13638 ac_dB
='\\)[ (].*,\\1define\\2'
13646 s/^[ ]*#[ ]*define[ ][ ]*//
13651 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
13652 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
13653 ' >>conftest.defines
13655 # Remove the space that was appended to ease matching.
13656 # Then replace #undef with comments. This is necessary, for
13657 # example, in the case of _POSIX_SOURCE, which is predefined and required
13658 # on some systems where configure will not decide to define it.
13659 # (The regexp can be short, since the line contains either #define or #undef.)
13661 s,^[ #]*u.*,/* & */,' >>conftest.defines
13663 # Break up conftest.defines:
13664 ac_max_sed_lines
=50
13666 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
13667 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
13668 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
13670 ac_in
='$ac_file_inputs'
13671 ac_out
='"$tmp/out1"'
13672 ac_nxt
='"$tmp/out2"'
13676 # Write a here document:
13677 cat >>$CONFIG_STATUS <<_ACEOF
13678 # First, check the format of the line:
13679 cat >"\$tmp/defines.sed" <<\\CEOF
13680 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
13681 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
13685 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
13687 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
13688 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
13689 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
13690 grep . conftest.
tail >/dev
/null ||
break
13691 rm -f conftest.defines
13692 mv conftest.
tail conftest.defines
13694 rm -f conftest.defines conftest.
tail
13696 echo "ac_result=$ac_in" >>$CONFIG_STATUS
13697 cat >>$CONFIG_STATUS <<\_ACEOF
13698 if test x
"$ac_file" != x-
; then
13699 echo "/* $configure_input */" >"$tmp/config.h"
13700 cat "$ac_result" >>"$tmp/config.h"
13701 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
13702 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
13703 echo "$as_me: $ac_file is unchanged" >&6;}
13706 mv "$tmp/config.h" $ac_file
13709 echo "/* $configure_input */"
13713 # Compute $ac_file's index in $config_headers.
13715 for _am_header
in $config_headers :; do
13716 case $_am_header in
13717 $ac_file |
$ac_file:* )
13720 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
13723 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
13724 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13725 X$ac_file : 'X\(//\)[^/]' \| \
13726 X$ac_file : 'X\(//\)$' \| \
13727 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
13729 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13733 /^X\(\/\/\)[^/].*/{
13745 s/.*/./; q'`/stamp-h
$_am_stamp_count
13748 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
13749 echo "$as_me: executing $ac_file commands" >&6;}
13754 case $ac_file$ac_mode in
13755 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
13756 # Strip MF so we end up with the name of the file.
13757 mf
=`echo "$mf" | sed -e 's/:.*$//'`
13758 # Check whether this is an Automake generated Makefile or not.
13759 # We used to match only the files named `Makefile.in', but
13760 # some people rename them; so instead we look at the file content.
13761 # Grep'ing the first line is not enough: some people post-process
13762 # each Makefile.in and add a new line on top of each file to say so.
13763 # Grep'ing the whole file is not good either: AIX grep has a line
13764 # limit of 2048, but all sed's we know have understand at least 4000.
13765 if sed 10q
"$mf" |
grep '^#.*generated by automake' > /dev
/null
2>&1; then
13766 dirpart
=`$as_dirname -- "$mf" ||
13767 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13768 X"$mf" : 'X\(//\)[^/]' \| \
13769 X"$mf" : 'X\(//\)$' \| \
13770 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
13772 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13776 /^X\(\/\/\)[^/].*/{
13792 # Extract the definition of DEPDIR, am__include, and am__quote
13793 # from the Makefile without running `make'.
13794 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
13795 test -z "$DEPDIR" && continue
13796 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
13797 test -z "am__include" && continue
13798 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
13799 # When using ansi2knr, U may be empty or an underscore; expand it
13800 U
=`sed -n 's/^U = //p' < "$mf"`
13801 # Find all dependency output files, they are included files with
13802 # $(DEPDIR) in their names. We invoke sed twice because it is the
13803 # simplest approach to changing $(DEPDIR) to its actual value in the
13805 for file in `sed -n "
13806 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
13807 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
13808 # Make sure the directory exists.
13809 test -f "$dirpart/$file" && continue
13810 fdir
=`$as_dirname -- "$file" ||
13811 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13812 X"$file" : 'X\(//\)[^/]' \| \
13813 X"$file" : 'X\(//\)$' \| \
13814 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
13816 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13820 /^X\(\/\/\)[^/].*/{
13833 { as_dir
=$dirpart/$fdir
13835 -*) as_dir
=.
/$as_dir;;
13837 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
13841 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
13842 *) as_qdir
=$as_dir;;
13844 as_dirs
="'$as_qdir' $as_dirs"
13845 as_dir
=`$as_dirname -- "$as_dir" ||
13846 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13847 X"$as_dir" : 'X\(//\)[^/]' \| \
13848 X"$as_dir" : 'X\(//\)$' \| \
13849 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13851 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13855 /^X\(\/\/\)[^/].*/{
13868 test -d "$as_dir" && break
13870 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
13871 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
13872 echo "$as_me: error: cannot create directory $as_dir" >&2;}
13873 { (exit 1); exit 1; }; }; }
13874 # echo "creating $dirpart/$file"
13875 echo '# dummy' > "$dirpart/$file"
13884 { (exit 0); exit 0; }
13886 chmod +x
$CONFIG_STATUS
13887 ac_clean_files
=$ac_clean_files_save
13890 # configure is writing to config.log, and then calls config.status.
13891 # config.status does its own redirection, appending to config.log.
13892 # Unfortunately, on DOS this fails, as config.log is still kept open
13893 # by configure, so config.status won't be able to write to it; its
13894 # output is simply discarded. So we exec the FD to /dev/null,
13895 # effectively closing config.log, so it can be properly (re)opened and
13896 # appended to by config.status. When coming back to configure, we
13897 # need to make the FD available again.
13898 if test "$no_create" != yes; then
13900 ac_config_status_args
=
13901 test "$silent" = yes &&
13902 ac_config_status_args
="$ac_config_status_args --quiet"
13904 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
13906 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13907 # would make configure fail if this is the last instruction.
13908 $ac_cs_success ||
{ (exit 1); exit 1; }
13912 with_gui
=`echo $with_gui`
13913 with_printer
=`echo $with_printer`
13914 with_exporters
=`echo $with_exporters | sed 's/,/ /g'`
13916 { echo "$as_me:$LINENO: result:
13917 ** Configuration summary for $PACKAGE $VERSION:
13920 Printer: $with_printer
13921 Exporters: $with_exporters
13922 Build documentation: $docs_yesno
13923 dmalloc debugging: $with_dmalloc
13924 ElectricFence debugging: $with_efence
13925 CPPFLAGS: $CPPFLAGS
13931 ** Configuration summary for $PACKAGE $VERSION:
13934 Printer: $with_printer
13935 Exporters: $with_exporters
13936 Build documentation: $docs_yesno
13937 dmalloc debugging: $with_dmalloc
13938 ElectricFence debugging: $with_efence
13939 CPPFLAGS: $CPPFLAGS