2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
22 DUALCASE
=1; export DUALCASE
# for MKS sh
24 # Support unset when possible.
25 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C
; export $as_var
51 # Required to use basename.
52 if expr a
: '\(a\)' >/dev
/null
2>&1; then
58 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me
=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits
='0123456789'
84 as_cr_alnum
=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
102 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself
=$0 ;;
109 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir
=.
114 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x
; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
131 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir
=.
135 for as_base
in sh bash ksh sh5
; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
144 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
145 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
146 CONFIG_SHELL
=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x
$as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c
*,-n*) ECHO_N
= ECHO_C
='
190 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
191 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
194 if expr a
: '\(a\)' >/dev
/null
2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.
file
202 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe
; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.
file conf$$
2>/dev
/null
; then
216 rm -f conf$$ conf$$.exe conf$$.
file
218 if mkdir
-p .
2>/dev
/null
; then
221 test -d .
/-p && rmdir .
/-p
225 as_executable_p
="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
254 ac_default_prefix
=/usr
/local
255 ac_config_libobj_dir
=.
260 SHELL
=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
274 ac_unique_file
="src/draw.c"
275 # Factoring default headers for most tests.
276 ac_includes_default
="\
279 # include <sys/types.h>
282 # include <sys/stat.h>
293 # if !STDC_HEADERS && HAVE_MEMORY_H
299 # include <strings.h>
302 # include <inttypes.h>
312 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT build build_cpu build_vendor build_os host host_cpu host_vendor host_os WIN32 WIN32_TRUE WIN32_FALSE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP LEX LEXLIB LEX_OUTPUT_ROOT LEX_PATH YACC YACC_PATH RANLIB ac_ct_RANLIB TGIF MISSING_TGIF_TRUE MISSING_TGIF_FALSE XPMTOPPM PPMTOWINICON MISSING_XPMTOPPM_TRUE MISSING_XPMTOPPM_FALSE CONVERT MISSING_CONVERT_TRUE MISSING_CONVERT_FALSE DOC MKINFO PERL WITH_DBUS_TRUE WITH_DBUS_FALSE PKG_CONFIG DBUS_CFLAGS DBUS_LIBS HIDLIST HIDLIBS M4 WISH GNUM4 LATEX MISSING_LATEX_TRUE MISSING_LATEX_FALSE PDFLATEX MISSING_PDFLATEX_TRUE MISSING_PDFLATEX_FALSE DVIPS MISSING_DVIPS_TRUE MISSING_DVIPS_FALSE PS2PDF MISSING_PS2PDF_TRUE MISSING_PS2PDF_FALSE EGREP X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS GTK_CFLAGS GTK_LIBS GLIB_CFLAGS GLIB_LIBS GDLIB_CONFIG PNG_TRUE PNG_FALSE GIF_TRUE GIF_FALSE FONTFILENAME PCBLIBDIR LIBRARYFILENAME PCBTREEDIR PCBTREEPATH BTNMOD TOPDIRS LIBOBJS LTLIBOBJS'
315 # Initialize some variables set by options.
317 ac_init_version
=false
318 # The variables have the same names as the options, with
319 # dashes changed to underlines.
327 program_transform_name
=s
,x
,x
,
335 # Installation directory options.
336 # These are left unexpanded so users can "make install exec_prefix=/foo"
337 # and all the variables that are supposed to be based on exec_prefix
338 # by default will actually change.
339 # Use braces instead of parens because sh, perl, etc. also accept them.
340 bindir
='${exec_prefix}/bin'
341 sbindir
='${exec_prefix}/sbin'
342 libexecdir
='${exec_prefix}/libexec'
343 datadir
='${prefix}/share'
344 sysconfdir
='${prefix}/etc'
345 sharedstatedir
='${prefix}/com'
346 localstatedir
='${prefix}/var'
347 libdir
='${exec_prefix}/lib'
348 includedir
='${prefix}/include'
349 oldincludedir
='/usr/include'
350 infodir
='${prefix}/info'
351 mandir
='${prefix}/man'
356 # If the previous option needs an argument, assign it.
357 if test -n "$ac_prev"; then
358 eval "$ac_prev=\$ac_option"
363 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
365 # Accept the important Cygnus configure options, so we can diagnose typos.
369 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
371 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
374 -build |
--build |
--buil |
--bui |
--bu)
375 ac_prev
=build_alias
;;
376 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
377 build_alias
=$ac_optarg ;;
379 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
380 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
381 ac_prev
=cache_file
;;
382 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
383 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
384 cache_file
=$ac_optarg ;;
387 cache_file
=config.cache
;;
389 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
391 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
393 datadir
=$ac_optarg ;;
395 -disable-* |
--disable-*)
396 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397 # Reject names that are not valid shell variable names.
398 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
399 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
400 { (exit 1); exit 1; }; }
401 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
402 eval "enable_$ac_feature=no" ;;
404 -enable-* |
--enable-*)
405 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406 # Reject names that are not valid shell variable names.
407 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
408 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
409 { (exit 1); exit 1; }; }
410 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
412 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
415 eval "enable_$ac_feature='$ac_optarg'" ;;
417 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
418 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
419 |
--exec |
--exe |
--ex)
420 ac_prev
=exec_prefix
;;
421 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
422 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
423 |
--exec=* |
--exe=* |
--ex=*)
424 exec_prefix
=$ac_optarg ;;
426 -gas |
--gas |
--ga |
--g)
427 # Obsolete; use --with-gas.
430 -help |
--help |
--hel |
--he |
-h)
432 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
433 ac_init_help
=recursive
;;
434 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
435 ac_init_help
=short
;;
437 -host |
--host |
--hos |
--ho)
438 ac_prev
=host_alias
;;
439 -host=* |
--host=* |
--hos=* |
--ho=*)
440 host_alias
=$ac_optarg ;;
442 -includedir |
--includedir |
--includedi |
--included |
--include \
443 |
--includ |
--inclu |
--incl |
--inc)
444 ac_prev
=includedir
;;
445 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
446 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
447 includedir
=$ac_optarg ;;
449 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
451 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
452 infodir
=$ac_optarg ;;
454 -libdir |
--libdir |
--libdi |
--libd)
456 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
459 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
460 |
--libexe |
--libex |
--libe)
461 ac_prev
=libexecdir
;;
462 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
463 |
--libexe=* |
--libex=* |
--libe=*)
464 libexecdir
=$ac_optarg ;;
466 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
467 |
--localstate |
--localstat |
--localsta |
--localst \
468 |
--locals |
--local |
--loca |
--loc |
--lo)
469 ac_prev
=localstatedir
;;
470 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
471 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
472 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
473 localstatedir
=$ac_optarg ;;
475 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
477 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
481 # Obsolete; use --without-fp.
484 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
485 |
--no-cr |
--no-c |
-n)
488 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
489 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
492 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
493 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
494 |
--oldin |
--oldi |
--old |
--ol |
--o)
495 ac_prev
=oldincludedir
;;
496 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
497 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
498 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
499 oldincludedir
=$ac_optarg ;;
501 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
503 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
506 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
507 |
--program-pre |
--program-pr |
--program-p)
508 ac_prev
=program_prefix
;;
509 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
510 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
511 program_prefix
=$ac_optarg ;;
513 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
514 |
--program-suf |
--program-su |
--program-s)
515 ac_prev
=program_suffix
;;
516 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
517 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
518 program_suffix
=$ac_optarg ;;
520 -program-transform-name |
--program-transform-name \
521 |
--program-transform-nam |
--program-transform-na \
522 |
--program-transform-n |
--program-transform- \
523 |
--program-transform |
--program-transfor \
524 |
--program-transfo |
--program-transf \
525 |
--program-trans |
--program-tran \
526 |
--progr-tra |
--program-tr |
--program-t)
527 ac_prev
=program_transform_name
;;
528 -program-transform-name=* |
--program-transform-name=* \
529 |
--program-transform-nam=* |
--program-transform-na=* \
530 |
--program-transform-n=* |
--program-transform-=* \
531 |
--program-transform=* |
--program-transfor=* \
532 |
--program-transfo=* |
--program-transf=* \
533 |
--program-trans=* |
--program-tran=* \
534 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
535 program_transform_name
=$ac_optarg ;;
537 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
538 |
-silent |
--silent |
--silen |
--sile |
--sil)
541 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
543 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
545 sbindir
=$ac_optarg ;;
547 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
548 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
549 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
551 ac_prev
=sharedstatedir
;;
552 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
553 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
554 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
556 sharedstatedir
=$ac_optarg ;;
558 -site |
--site |
--sit)
560 -site=* |
--site=* |
--sit=*)
563 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
565 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
568 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
569 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
570 ac_prev
=sysconfdir
;;
571 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
572 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
573 sysconfdir
=$ac_optarg ;;
575 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
576 ac_prev
=target_alias
;;
577 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
578 target_alias
=$ac_optarg ;;
580 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
583 -version |
--version |
--versio |
--versi |
--vers |
-V)
587 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588 # Reject names that are not valid shell variable names.
589 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
590 { echo "$as_me: error: invalid package name: $ac_package" >&2
591 { (exit 1); exit 1; }; }
592 ac_package
=`echo $ac_package| sed 's/-/_/g'`
594 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
597 eval "with_$ac_package='$ac_optarg'" ;;
599 -without-* |
--without-*)
600 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601 # Reject names that are not valid shell variable names.
602 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
603 { echo "$as_me: error: invalid package name: $ac_package" >&2
604 { (exit 1); exit 1; }; }
605 ac_package
=`echo $ac_package | sed 's/-/_/g'`
606 eval "with_$ac_package=no" ;;
609 # Obsolete; use --with-x.
612 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
613 |
--x-incl |
--x-inc |
--x-in |
--x-i)
614 ac_prev
=x_includes
;;
615 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
616 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
617 x_includes
=$ac_optarg ;;
619 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
620 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
621 ac_prev
=x_libraries
;;
622 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
623 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
624 x_libraries
=$ac_optarg ;;
626 -*) { echo "$as_me: error: unrecognized option: $ac_option
627 Try \`$0 --help' for more information." >&2
628 { (exit 1); exit 1; }; }
632 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
633 # Reject names that are not valid shell variable names.
634 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
635 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636 { (exit 1); exit 1; }; }
637 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
638 eval "$ac_envvar='$ac_optarg'"
642 # FIXME: should be removed in autoconf 3.0.
643 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
644 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
645 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
646 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
652 if test -n "$ac_prev"; then
653 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
654 { echo "$as_me: error: missing argument to $ac_option" >&2
655 { (exit 1); exit 1; }; }
658 # Be sure to have absolute paths.
659 for ac_var
in exec_prefix prefix
661 eval ac_val
=$
`echo $ac_var`
663 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665 { (exit 1); exit 1; }; };;
669 # Be sure to have absolute paths.
670 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671 localstatedir libdir includedir oldincludedir infodir mandir
673 eval ac_val
=$
`echo $ac_var`
675 [\\/$
]* | ?
:[\\/]* ) ;;
676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677 { (exit 1); exit 1; }; };;
681 # There might be people who depend on the old broken behavior: `$host'
682 # used to hold the argument of --host etc.
683 # FIXME: To remove some day.
688 # FIXME: To remove some day.
689 if test "x$host_alias" != x
; then
690 if test "x$build_alias" = x
; then
691 cross_compiling
=maybe
692 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
693 If a cross compiler is detected then cross compile mode will be used." >&2
694 elif test "x$build_alias" != "x$host_alias"; then
700 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
702 test "$silent" = yes && exec 6>/dev
/null
705 # Find the source files, if location was not specified.
706 if test -z "$srcdir"; then
707 ac_srcdir_defaulted
=yes
708 # Try the directory containing this script, then its parent.
709 ac_confdir
=`(dirname "$0") 2>/dev/null ||
710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711 X"$0" : 'X\(//\)[^/]' \| \
712 X"$0" : 'X\(//\)$' \| \
713 X"$0" : 'X\(/\)' \| \
714 . : '\(.\)' 2>/dev/null ||
716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718 /^X\(\/\/\)$/{ s//\1/; q; }
719 /^X\(\/\).*/{ s//\1/; q; }
722 if test ! -r $srcdir/$ac_unique_file; then
726 ac_srcdir_defaulted
=no
728 if test ! -r $srcdir/$ac_unique_file; then
729 if test "$ac_srcdir_defaulted" = yes; then
730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731 { (exit 1); exit 1; }; }
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734 { (exit 1); exit 1; }; }
737 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
738 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739 { (exit 1); exit 1; }; }
740 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741 ac_env_build_alias_set
=${build_alias+set}
742 ac_env_build_alias_value
=$build_alias
743 ac_cv_env_build_alias_set
=${build_alias+set}
744 ac_cv_env_build_alias_value
=$build_alias
745 ac_env_host_alias_set
=${host_alias+set}
746 ac_env_host_alias_value
=$host_alias
747 ac_cv_env_host_alias_set
=${host_alias+set}
748 ac_cv_env_host_alias_value
=$host_alias
749 ac_env_target_alias_set
=${target_alias+set}
750 ac_env_target_alias_value
=$target_alias
751 ac_cv_env_target_alias_set
=${target_alias+set}
752 ac_cv_env_target_alias_value
=$target_alias
753 ac_env_CC_set
=${CC+set}
755 ac_cv_env_CC_set
=${CC+set}
756 ac_cv_env_CC_value
=$CC
757 ac_env_CFLAGS_set
=${CFLAGS+set}
758 ac_env_CFLAGS_value
=$CFLAGS
759 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
760 ac_cv_env_CFLAGS_value
=$CFLAGS
761 ac_env_LDFLAGS_set
=${LDFLAGS+set}
762 ac_env_LDFLAGS_value
=$LDFLAGS
763 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
764 ac_cv_env_LDFLAGS_value
=$LDFLAGS
765 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
766 ac_env_CPPFLAGS_value
=$CPPFLAGS
767 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
768 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
769 ac_env_CPP_set
=${CPP+set}
770 ac_env_CPP_value
=$CPP
771 ac_cv_env_CPP_set
=${CPP+set}
772 ac_cv_env_CPP_value
=$CPP
775 # Report the --help message.
777 if test "$ac_init_help" = "long"; then
778 # Omit some internal or obsolete options to make the list less imposing.
779 # This message is too long to be a string in the A/UX 3.1 sh.
781 \`configure' configures this package to adapt to many kinds of systems.
783 Usage: $0 [OPTION]... [VAR=VALUE]...
785 To assign environment variables (e.g., CC, CFLAGS...), specify them as
786 VAR=VALUE. See below for descriptions of some of the useful variables.
788 Defaults for the options are specified in brackets.
791 -h, --help display this help and exit
792 --help=short display options specific to this package
793 --help=recursive display the short help of all the included packages
794 -V, --version display version information and exit
795 -q, --quiet, --silent do not print \`checking...' messages
796 --cache-file=FILE cache test results in FILE [disabled]
797 -C, --config-cache alias for \`--cache-file=config.cache'
798 -n, --no-create do not create output files
799 --srcdir=DIR find the sources in DIR [configure dir or \`..']
804 Installation directories:
805 --prefix=PREFIX install architecture-independent files in PREFIX
807 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
810 By default, \`make install' will install all the files in
811 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
812 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
813 for instance \`--prefix=\$HOME'.
815 For better control, use the options below.
817 Fine tuning of the installation directories:
818 --bindir=DIR user executables [EPREFIX/bin]
819 --sbindir=DIR system admin executables [EPREFIX/sbin]
820 --libexecdir=DIR program executables [EPREFIX/libexec]
821 --datadir=DIR read-only architecture-independent data [PREFIX/share]
822 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
823 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
824 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
825 --libdir=DIR object code libraries [EPREFIX/lib]
826 --includedir=DIR C header files [PREFIX/include]
827 --oldincludedir=DIR C header files for non-gcc [/usr/include]
828 --infodir=DIR info documentation [PREFIX/info]
829 --mandir=DIR man documentation [PREFIX/man]
835 --program-prefix=PREFIX prepend PREFIX to installed program names
836 --program-suffix=SUFFIX append SUFFIX to installed program names
837 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
840 --x-includes=DIR X include files are
in DIR
841 --x-libraries=DIR X library files are
in DIR
844 --build=BUILD configure
for building on BUILD
[guessed
]
845 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
849 if test -n "$ac_init_help"; then
854 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
855 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
856 --enable-maintainer-mode enable make rules and dependencies not useful
857 (and sometimes confusing
) to the casual installer
858 --disable-dependency-tracking speeds up one-time build
859 --enable-dependency-tracking do not reject slow dependency extractors
860 --enable-doc Build and
install the documentation
[default
=yes]
861 --enable-dbus Enable DBUS IPC
862 --disable-gif Disable support
for gif output when the png HID is used
[default
=include gif support
]
863 --disable-jpeg Disable support
for JPEG output when the png HID is used
[default
=include JPEG support
]
864 --disable-png Disable support
for PNG output when the png HID is used
[default
=include PNG support
]
865 --enable-dmalloc Compile and link with dmalloc
for malloc debugging default
=no
866 --enable-efence Link with ElectricFence
for malloc debugging default
=no
869 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
870 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
871 --with-gui= Specify the GUI to use
: batch gtk lesstif
[default
=gtk
]
872 --with-printer= Specify the printer
: lpr
[default
=lpr
]
873 --with-exporters= Enable
export devices
: bom gerber nelma png ps
[default
=bom gerber nelma png ps
]
874 --with-x use the X Window System
876 Some influential environment variables
:
877 CC C compiler
command
878 CFLAGS C compiler flags
879 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
880 nonstandard directory
<lib dir
>
881 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
882 headers
in a nonstandard directory
<include dir
>
885 Use these variables to override the choices made by
`configure' or to help
886 it to find libraries and programs with nonstandard names/locations.
891 if test "$ac_init_help" = "recursive"; then
892 # If there are subdirs, report their specific --help.
894 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
895 test -d $ac_dir || continue
898 if test "$ac_dir" != .; then
899 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
900 # A "../" for each directory in $ac_dir_suffix.
901 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
903 ac_dir_suffix= ac_top_builddir=
907 .) # No --srcdir option. We are building in place.
909 if test -z "$ac_top_builddir"; then
912 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
914 [\\/]* | ?:[\\/]* ) # Absolute path.
915 ac_srcdir=$srcdir$ac_dir_suffix;
916 ac_top_srcdir=$srcdir ;;
918 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
919 ac_top_srcdir=$ac_top_builddir$srcdir ;;
922 # Do not use `cd foo
&& pwd` to compute absolute paths, because
923 # the directories may not exist.
925 .) ac_abs_builddir="$ac_dir";;
928 .) ac_abs_builddir=`pwd`;;
929 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
930 *) ac_abs_builddir=`pwd`/"$ac_dir";;
933 case $ac_abs_builddir in
934 .) ac_abs_top_builddir=${ac_top_builddir}.;;
936 case ${ac_top_builddir}. in
937 .) ac_abs_top_builddir=$ac_abs_builddir;;
938 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
939 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
942 case $ac_abs_builddir in
943 .) ac_abs_srcdir=$ac_srcdir;;
946 .) ac_abs_srcdir=$ac_abs_builddir;;
947 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
948 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
951 case $ac_abs_builddir in
952 .) ac_abs_top_srcdir=$ac_top_srcdir;;
954 case $ac_top_srcdir in
955 .) ac_abs_top_srcdir=$ac_abs_builddir;;
956 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
957 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
962 # Check for guested configure; otherwise get Cygnus style configure.
963 if test -f $ac_srcdir/configure.gnu; then
965 $SHELL $ac_srcdir/configure.gnu --help=recursive
966 elif test -f $ac_srcdir/configure; then
968 $SHELL $ac_srcdir/configure --help=recursive
969 elif test -f $ac_srcdir/configure.ac ||
970 test -f $ac_srcdir/configure.in; then
974 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
980 test -n "$ac_init_help" && exit 0
981 if $ac_init_version; then
984 Copyright (C) 2003 Free Software Foundation, Inc.
985 This configure script is free software; the Free Software Foundation
986 gives unlimited permission to copy, distribute and modify it.
992 This file contains any messages produced by compilers while
993 running configure, to aid debugging if configure makes a mistake.
995 It was created by $as_me, which was
996 generated by GNU Autoconf 2.59. Invocation command line was
1007 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1008 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1009 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1010 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1011 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1013 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1014 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1016 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1017 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1018 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1019 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1020 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1021 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1022 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1030 test -z "$as_dir" && as_dir=.
1031 echo "PATH: $as_dir"
1046 # Keep a trace of the command line.
1047 # Strip out --no-create and --no-recursion so they do not pile up.
1048 # Strip out --silent because we don't want to record it for future runs.
1049 # Also quote any args containing shell meta-characters.
1050 # Make two passes to allow for proper duplicate-argument suppression.
1055 ac_must_keep_next=false
1061 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1062 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1063 | -silent | --silent | --silen | --sile | --sil)
1065 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1066 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1069 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1071 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1072 if test $ac_must_keep_next = true; then
1073 ac_must_keep_next=false # Got value, back to normal.
1076 *=* | --config-cache | -C | -disable-* | --disable-* \
1077 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1078 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1079 | -with-* | --with-* | -without-* | --without-* | --x)
1080 case "$ac_configure_args0 " in
1081 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1084 -* ) ac_must_keep_next=true ;;
1087 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1088 # Get rid of the leading space.
1094 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1095 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1097 # When interrupted or exit'd, cleanup temporary files, and complete
1098 # config.log. We remove comments because anyway the quotes in there
1099 # would cause problems or look ugly.
1100 # WARNING: Be sure not to use single quotes in there, as some shells,
1101 # such as our DU 5.0 friend, will then `close
' the trap.
1102 trap 'exit_status
=$?
1103 # Save into config.log some information that might help in debugging.
1108 ## ---------------- ##
1109 ## Cache variables. ##
1110 ## ---------------- ##
1113 # The following way of writing the cache mishandles newlines in values,
1116 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1119 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1120 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1124 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1131 ## ----------------- ##
1132 ## Output variables. ##
1133 ## ----------------- ##
1136 for ac_var
in $ac_subst_vars
1138 eval ac_val
=$
`echo $ac_var`
1139 echo "$ac_var='"'"'$ac_val'"'"'"
1143 if test -n "$ac_subst_files"; then
1150 for ac_var
in $ac_subst_files
1152 eval ac_val
=$
`echo $ac_var`
1153 echo "$ac_var='"'"'$ac_val'"'"'"
1158 if test -s confdefs.h
; then
1165 sed "/^$/d" confdefs.h |
sort
1168 test "$ac_signal" != 0 &&
1169 echo "$as_me: caught signal $ac_signal"
1170 echo "$as_me: exit $exit_status"
1172 rm -f core
*.core
&&
1173 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1176 for ac_signal in 1 2 13 15; do
1177 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1181 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1182 rm -rf conftest* confdefs.h
1183 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1186 # Predefined preprocessor variables.
1188 cat >>confdefs.h <<_ACEOF
1189 #define PACKAGE_NAME "$PACKAGE_NAME"
1193 cat >>confdefs.h <<_ACEOF
1194 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1198 cat >>confdefs.h <<_ACEOF
1199 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1203 cat >>confdefs.h <<_ACEOF
1204 #define PACKAGE_STRING "$PACKAGE_STRING"
1208 cat >>confdefs.h <<_ACEOF
1209 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1213 # Let the site file select an alternate cache file if it wants to.
1214 # Prefer explicitly selected file to automatically selected ones.
1215 if test -z "$CONFIG_SITE"; then
1216 if test "x$prefix" != xNONE; then
1217 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1219 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1222 for ac_site_file in $CONFIG_SITE; do
1223 if test -r "$ac_site_file"; then
1224 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1225 echo "$as_me: loading site script $ac_site_file" >&6;}
1226 sed 's
/^
/|
/' "$ac_site_file" >&5
1231 if test -r "$cache_file"; then
1232 # Some versions of bash will fail to source /dev/null (special
1233 # files actually), so we avoid doing that.
1234 if test -f "$cache_file"; then
1235 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1236 echo "$as_me: loading cache $cache_file" >&6;}
1238 [\\/]* | ?:[\\/]* ) . $cache_file;;
1239 *) . ./$cache_file;;
1243 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1244 echo "$as_me: creating cache $cache_file" >&6;}
1248 # Check that the precious variables saved in the cache have kept the same
1250 ac_cache_corrupted=false
1251 for ac_var in `(set) 2>&1 |
1252 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1253 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1254 eval ac_new_set=\$ac_env_${ac_var}_set
1255 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1256 eval ac_new_val="\$ac_env_${ac_var}_value"
1257 case $ac_old_set,$ac_new_set in
1259 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1260 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1261 ac_cache_corrupted=: ;;
1263 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1264 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1265 ac_cache_corrupted=: ;;
1268 if test "x$ac_old_val" != "x$ac_new_val"; then
1269 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1270 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1271 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1272 echo "$as_me: former value: $ac_old_val" >&2;}
1273 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1274 echo "$as_me: current value: $ac_new_val" >&2;}
1275 ac_cache_corrupted=:
1278 # Pass precious variables to config.status.
1279 if test "$ac_new_set" = set; then
1281 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1282 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1283 *) ac_arg=$ac_var=$ac_new_val ;;
1285 case " $ac_configure_args " in
1286 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1287 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1291 if $ac_cache_corrupted; then
1292 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1293 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1294 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1295 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1296 { (exit 1); exit 1; }; }
1300 ac_cpp='$CPP $CPPFLAGS'
1301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1302 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1323 am__api_version="1.9"
1325 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1326 if test -f $ac_dir/install-sh; then
1328 ac_install_sh="$ac_aux_dir/install-sh -c"
1330 elif test -f $ac_dir/install.sh; then
1332 ac_install_sh="$ac_aux_dir/install.sh -c"
1334 elif test -f $ac_dir/shtool; then
1336 ac_install_sh="$ac_aux_dir/shtool install -c"
1340 if test -z "$ac_aux_dir"; then
1341 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1342 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1343 { (exit 1); exit 1; }; }
1345 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1346 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1347 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1349 # Find a good install program. We prefer a C program (faster),
1350 # so one script is as good as another. But avoid the broken or
1351 # incompatible versions:
1352 # SysV /etc/install, /usr/sbin/install
1353 # SunOS /usr/etc/install
1354 # IRIX /sbin/install
1356 # AmigaOS /C/install, which installs bootblocks on floppy discs
1357 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
1358 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1359 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1360 # OS/2's system install, which has a completely different semantic
1361 # ./install, which can be erroneously created by make from ./install.sh.
1362 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1363 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1364 if test -z "$INSTALL"; then
1365 if test "${ac_cv_path_install+set}" = set; then
1366 echo $ECHO_N "(cached) $ECHO_C" >&6
1368 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1372 test -z "$as_dir" && as_dir
=.
1373 # Account for people who put trailing slashes in PATH elements.
1375 .
/ | .
// |
/cC
/* | \
1376 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1377 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1380 # OSF1 and SCO ODT 3.0 have their own names for install.
1381 # Don't use installbsd from OSF since it installs stuff as root
1383 for ac_prog
in ginstall scoinst
install; do
1384 for ac_exec_ext
in '' $ac_executable_extensions; do
1385 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1386 if test $ac_prog = install &&
1387 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1388 # AIX install. It has an incompatible calling convention.
1390 elif test $ac_prog = install &&
1391 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1392 # program-specific install script used by HP pwplus--don't use.
1395 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1407 if test "${ac_cv_path_install+set}" = set; then
1408 INSTALL
=$ac_cv_path_install
1410 # As a last resort, use the slow shell script. We don't cache a
1411 # path for INSTALL within a source directory, because that will
1412 # break other packages using the cache if that directory is
1413 # removed, or if the path is relative.
1414 INSTALL
=$ac_install_sh
1417 echo "$as_me:$LINENO: result: $INSTALL" >&5
1418 echo "${ECHO_T}$INSTALL" >&6
1420 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1421 # It thinks the first close brace ends the variable substitution.
1422 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1424 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1426 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1428 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1429 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1432 echo timestamp
> conftest.
file
1433 # Do `set' in a subshell so we don't clobber the current shell's
1434 # arguments. Must try -L first in case configure is actually a
1435 # symlink; some systems play weird games with the mod time of symlinks
1436 # (eg FreeBSD returns the mod time of the symlink's containing
1439 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1440 if test "$*" = "X"; then
1442 set X
`ls -t $srcdir/configure conftest.file`
1445 if test "$*" != "X $srcdir/configure conftest.file" \
1446 && test "$*" != "X conftest.file $srcdir/configure"; then
1448 # If neither matched, then we have a broken ls. This can happen
1449 # if, for instance, CONFIG_SHELL is bash and it inherits a
1450 # broken ls alias from the environment. This has actually
1451 # happened. Such a system could not be considered "sane".
1452 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1453 alias in your environment" >&5
1454 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1455 alias in your environment" >&2;}
1456 { (exit 1); exit 1; }; }
1459 test "$2" = conftest.
file
1465 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1466 Check your system clock" >&5
1467 echo "$as_me: error: newly created file is older than distributed files!
1468 Check your system clock" >&2;}
1469 { (exit 1); exit 1; }; }
1471 echo "$as_me:$LINENO: result: yes" >&5
1472 echo "${ECHO_T}yes" >&6
1473 test "$program_prefix" != NONE
&&
1474 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1475 # Use a double $ so make ignores it.
1476 test "$program_suffix" != NONE
&&
1477 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1478 # Double any \ or $. echo might interpret backslashes.
1479 # By default was `s,x,x', remove it if useless.
1480 cat <<\_ACEOF
>conftest.
sed
1481 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1483 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1486 # expand $ac_aux_dir to an absolute path
1487 am_aux_dir
=`cd $ac_aux_dir && pwd`
1489 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1490 # Use eval to expand $SHELL
1491 if eval "$MISSING --run true"; then
1492 am_missing_run
="$MISSING --run "
1495 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1496 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1499 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
1500 # We used to keeping the `.' as first argument, in order to
1501 # allow $(mkdir_p) to be used without argument. As in
1502 # $(mkdir_p) $(somedir)
1503 # where $(somedir) is conditionally defined. However this is wrong
1505 # 1. if the package is installed by a user who cannot write `.'
1506 # make install will fail,
1507 # 2. the above comment should most certainly read
1508 # $(mkdir_p) $(DESTDIR)$(somedir)
1509 # so it does not work when $(somedir) is undefined and
1510 # $(DESTDIR) is not.
1511 # To support the latter case, we have to write
1512 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1513 # so the `.' trick is pointless.
1514 mkdir_p
='mkdir -p --'
1516 # On NextStep and OpenStep, the `mkdir' command does not
1517 # recognize any option. It will interpret all options as
1518 # directories to create, and then abort because `.' already
1520 for d
in .
/-p .
/--version;
1522 test -d $d && rmdir $d
1524 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1525 if test -f "$ac_aux_dir/mkinstalldirs"; then
1526 mkdir_p
='$(mkinstalldirs)'
1528 mkdir_p
='$(install_sh) -d'
1532 for ac_prog
in gawk mawk nawk
awk
1534 # Extract the first word of "$ac_prog", so it can be a program name with args.
1535 set dummy
$ac_prog; ac_word
=$2
1536 echo "$as_me:$LINENO: checking for $ac_word" >&5
1537 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1538 if test "${ac_cv_prog_AWK+set}" = set; then
1539 echo $ECHO_N "(cached) $ECHO_C" >&6
1541 if test -n "$AWK"; then
1542 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1544 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1548 test -z "$as_dir" && as_dir
=.
1549 for ac_exec_ext
in '' $ac_executable_extensions; do
1550 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1551 ac_cv_prog_AWK
="$ac_prog"
1552 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1561 if test -n "$AWK"; then
1562 echo "$as_me:$LINENO: result: $AWK" >&5
1563 echo "${ECHO_T}$AWK" >&6
1565 echo "$as_me:$LINENO: result: no" >&5
1566 echo "${ECHO_T}no" >&6
1569 test -n "$AWK" && break
1572 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1573 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1574 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1575 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1576 echo $ECHO_N "(cached) $ECHO_C" >&6
1578 cat >conftest.
make <<\_ACEOF
1580 @
echo 'ac_maketemp="$(MAKE)"'
1582 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1583 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1584 if test -n "$ac_maketemp"; then
1585 eval ac_cv_prog_make_
${ac_make}_set
=yes
1587 eval ac_cv_prog_make_
${ac_make}_set
=no
1591 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1592 echo "$as_me:$LINENO: result: yes" >&5
1593 echo "${ECHO_T}yes" >&6
1596 echo "$as_me:$LINENO: result: no" >&5
1597 echo "${ECHO_T}no" >&6
1598 SET_MAKE
="MAKE=${MAKE-make}"
1601 rm -rf .tst
2>/dev
/null
1602 mkdir .tst
2>/dev
/null
1603 if test -d .tst
; then
1608 rmdir .tst
2>/dev
/null
1610 # test to see if srcdir already configured
1611 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1612 test -f $srcdir/config.status
; then
1613 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1614 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1615 { (exit 1); exit 1; }; }
1618 # test whether we have cygpath
1619 if test -z "$CYGPATH_W"; then
1620 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
1621 CYGPATH_W
='cygpath -w'
1628 # Define the identity of the package.
1633 cat >>confdefs.h
<<_ACEOF
1634 #define PACKAGE "$PACKAGE"
1638 cat >>confdefs.h
<<_ACEOF
1639 #define VERSION "$VERSION"
1642 # Some tools Automake needs.
1644 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1647 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1650 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1653 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1656 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1658 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1660 # Installed binaries are usually stripped using `strip' when the user
1661 # run `make install-strip'. However `strip' might not be the right
1662 # tool to use in cross-compilation environments, therefore Automake
1663 # will honor the `STRIP' environment variable to overrule this program.
1664 if test "$cross_compiling" != no
; then
1665 if test -n "$ac_tool_prefix"; then
1666 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1667 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1668 echo "$as_me:$LINENO: checking for $ac_word" >&5
1669 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1670 if test "${ac_cv_prog_STRIP+set}" = set; then
1671 echo $ECHO_N "(cached) $ECHO_C" >&6
1673 if test -n "$STRIP"; then
1674 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1676 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1680 test -z "$as_dir" && as_dir
=.
1681 for ac_exec_ext
in '' $ac_executable_extensions; do
1682 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1683 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1684 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1692 STRIP
=$ac_cv_prog_STRIP
1693 if test -n "$STRIP"; then
1694 echo "$as_me:$LINENO: result: $STRIP" >&5
1695 echo "${ECHO_T}$STRIP" >&6
1697 echo "$as_me:$LINENO: result: no" >&5
1698 echo "${ECHO_T}no" >&6
1702 if test -z "$ac_cv_prog_STRIP"; then
1704 # Extract the first word of "strip", so it can be a program name with args.
1705 set dummy strip
; ac_word
=$2
1706 echo "$as_me:$LINENO: checking for $ac_word" >&5
1707 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1708 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1709 echo $ECHO_N "(cached) $ECHO_C" >&6
1711 if test -n "$ac_ct_STRIP"; then
1712 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
1714 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1718 test -z "$as_dir" && as_dir
=.
1719 for ac_exec_ext
in '' $ac_executable_extensions; do
1720 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1721 ac_cv_prog_ac_ct_STRIP
="strip"
1722 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1728 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
1731 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
1732 if test -n "$ac_ct_STRIP"; then
1733 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1734 echo "${ECHO_T}$ac_ct_STRIP" >&6
1736 echo "$as_me:$LINENO: result: no" >&5
1737 echo "${ECHO_T}no" >&6
1742 STRIP
="$ac_cv_prog_STRIP"
1746 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
1748 # We need awk for the "check" target. The system "awk" is bad on
1750 # Always define AMTAR for backward compatibility.
1752 AMTAR
=${AMTAR-"${am_missing_run}tar"}
1754 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
1760 ac_config_headers
="$ac_config_headers config.h"
1763 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1764 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1765 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1766 if test "${enable_maintainer_mode+set}" = set; then
1767 enableval
="$enable_maintainer_mode"
1768 USE_MAINTAINER_MODE
=$enableval
1770 USE_MAINTAINER_MODE
=no
1772 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1773 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1776 if test $USE_MAINTAINER_MODE = yes; then
1777 MAINTAINER_MODE_TRUE
=
1778 MAINTAINER_MODE_FALSE
='#'
1780 MAINTAINER_MODE_TRUE
='#'
1781 MAINTAINER_MODE_FALSE
=
1784 MAINT
=$MAINTAINER_MODE_TRUE
1788 # Make sure we can run config.sub.
1789 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1790 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1791 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1792 { (exit 1); exit 1; }; }
1794 echo "$as_me:$LINENO: checking build system type" >&5
1795 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1796 if test "${ac_cv_build+set}" = set; then
1797 echo $ECHO_N "(cached) $ECHO_C" >&6
1799 ac_cv_build_alias
=$build_alias
1800 test -z "$ac_cv_build_alias" &&
1801 ac_cv_build_alias
=`$ac_config_guess`
1802 test -z "$ac_cv_build_alias" &&
1803 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1804 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1805 { (exit 1); exit 1; }; }
1806 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1807 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1808 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1809 { (exit 1); exit 1; }; }
1812 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1813 echo "${ECHO_T}$ac_cv_build" >&6
1815 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1816 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1817 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1820 echo "$as_me:$LINENO: checking host system type" >&5
1821 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1822 if test "${ac_cv_host+set}" = set; then
1823 echo $ECHO_N "(cached) $ECHO_C" >&6
1825 ac_cv_host_alias
=$host_alias
1826 test -z "$ac_cv_host_alias" &&
1827 ac_cv_host_alias
=$ac_cv_build_alias
1828 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1829 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1830 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1831 { (exit 1); exit 1; }; }
1834 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1835 echo "${ECHO_T}$ac_cv_host" >&6
1837 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1838 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1839 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1842 echo "$as_me:$LINENO: checking for windows" >&5
1843 echo $ECHO_N "checking for windows... $ECHO_C" >&6
1844 PCB_PATH_DELIMETER
=":"
1845 PCB_DIR_SEPARATOR_S
="/"
1846 PCB_DIR_SEPARATOR_C
='/'
1849 CFLAGS
="$CFLAGS ${CYGWIN_CFLAGS}"
1850 CPPFLAGS
="$CPPFLAGS ${CYGWIN_CPPFLAGS}"
1855 CFLAGS
="$CFLAGS ${MINGW_CFLAGS:--mms-bitfields -mwindows}"
1856 CPPFLAGS
="$CPPFLAGS ${MINGW_CPPFLAGS:--mms-bitfields -mwindows}"
1864 echo "$as_me:$LINENO: result: $WIN32" >&5
1865 echo "${ECHO_T}$WIN32" >&6
1869 if test x
$WIN32 = xyes
; then
1877 if test "x$WIN32" = "xyes" ; then
1878 PCB_PATH_DELIMETER
=";"
1879 PCB_DIR_SEPARATOR_S
="\\\\"
1880 PCB_DIR_SEPARATOR_C
='\\'
1884 cat >>confdefs.h
<<_ACEOF
1885 #define PCB_DIR_SEPARATOR_C '$PCB_DIR_SEPARATOR_C'
1889 cat >>confdefs.h
<<_ACEOF
1890 #define PCB_DIR_SEPARATOR_S "$PCB_DIR_SEPARATOR_S"
1894 cat >>confdefs.h
<<_ACEOF
1895 #define PCB_PATH_DELIMETER "$PCB_PATH_DELIMETER"
1901 ac_cpp
='$CPP $CPPFLAGS'
1902 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1903 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1904 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1905 if test -n "$ac_tool_prefix"; then
1906 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1907 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1908 echo "$as_me:$LINENO: checking for $ac_word" >&5
1909 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1910 if test "${ac_cv_prog_CC+set}" = set; then
1911 echo $ECHO_N "(cached) $ECHO_C" >&6
1913 if test -n "$CC"; then
1914 ac_cv_prog_CC
="$CC" # Let the user override the test.
1916 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1920 test -z "$as_dir" && as_dir
=.
1921 for ac_exec_ext
in '' $ac_executable_extensions; do
1922 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1923 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1924 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1933 if test -n "$CC"; then
1934 echo "$as_me:$LINENO: result: $CC" >&5
1935 echo "${ECHO_T}$CC" >&6
1937 echo "$as_me:$LINENO: result: no" >&5
1938 echo "${ECHO_T}no" >&6
1942 if test -z "$ac_cv_prog_CC"; then
1944 # Extract the first word of "gcc", so it can be a program name with args.
1945 set dummy gcc
; ac_word
=$2
1946 echo "$as_me:$LINENO: checking for $ac_word" >&5
1947 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1948 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1949 echo $ECHO_N "(cached) $ECHO_C" >&6
1951 if test -n "$ac_ct_CC"; then
1952 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1954 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1958 test -z "$as_dir" && as_dir
=.
1959 for ac_exec_ext
in '' $ac_executable_extensions; do
1960 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1961 ac_cv_prog_ac_ct_CC
="gcc"
1962 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1970 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1971 if test -n "$ac_ct_CC"; then
1972 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1973 echo "${ECHO_T}$ac_ct_CC" >&6
1975 echo "$as_me:$LINENO: result: no" >&5
1976 echo "${ECHO_T}no" >&6
1984 if test -z "$CC"; then
1985 if test -n "$ac_tool_prefix"; then
1986 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1987 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1988 echo "$as_me:$LINENO: checking for $ac_word" >&5
1989 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1990 if test "${ac_cv_prog_CC+set}" = set; then
1991 echo $ECHO_N "(cached) $ECHO_C" >&6
1993 if test -n "$CC"; then
1994 ac_cv_prog_CC
="$CC" # Let the user override the test.
1996 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2000 test -z "$as_dir" && as_dir
=.
2001 for ac_exec_ext
in '' $ac_executable_extensions; do
2002 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2003 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2004 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2013 if test -n "$CC"; then
2014 echo "$as_me:$LINENO: result: $CC" >&5
2015 echo "${ECHO_T}$CC" >&6
2017 echo "$as_me:$LINENO: result: no" >&5
2018 echo "${ECHO_T}no" >&6
2022 if test -z "$ac_cv_prog_CC"; then
2024 # Extract the first word of "cc", so it can be a program name with args.
2025 set dummy cc
; ac_word
=$2
2026 echo "$as_me:$LINENO: checking for $ac_word" >&5
2027 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2028 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2029 echo $ECHO_N "(cached) $ECHO_C" >&6
2031 if test -n "$ac_ct_CC"; then
2032 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2034 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2038 test -z "$as_dir" && as_dir
=.
2039 for ac_exec_ext
in '' $ac_executable_extensions; do
2040 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2041 ac_cv_prog_ac_ct_CC
="cc"
2042 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2050 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2051 if test -n "$ac_ct_CC"; then
2052 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2053 echo "${ECHO_T}$ac_ct_CC" >&6
2055 echo "$as_me:$LINENO: result: no" >&5
2056 echo "${ECHO_T}no" >&6
2065 if test -z "$CC"; then
2066 # Extract the first word of "cc", so it can be a program name with args.
2067 set dummy cc
; ac_word
=$2
2068 echo "$as_me:$LINENO: checking for $ac_word" >&5
2069 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2070 if test "${ac_cv_prog_CC+set}" = set; then
2071 echo $ECHO_N "(cached) $ECHO_C" >&6
2073 if test -n "$CC"; then
2074 ac_cv_prog_CC
="$CC" # Let the user override the test.
2077 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2081 test -z "$as_dir" && as_dir
=.
2082 for ac_exec_ext
in '' $ac_executable_extensions; do
2083 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2084 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2085 ac_prog_rejected
=yes
2089 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2095 if test $ac_prog_rejected = yes; then
2096 # We found a bogon in the path, so make sure we never use it.
2097 set dummy
$ac_cv_prog_CC
2099 if test $# != 0; then
2100 # We chose a different compiler from the bogus one.
2101 # However, it has the same basename, so the bogon will be chosen
2102 # first if we set CC to just the basename; use the full file name.
2104 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2110 if test -n "$CC"; then
2111 echo "$as_me:$LINENO: result: $CC" >&5
2112 echo "${ECHO_T}$CC" >&6
2114 echo "$as_me:$LINENO: result: no" >&5
2115 echo "${ECHO_T}no" >&6
2119 if test -z "$CC"; then
2120 if test -n "$ac_tool_prefix"; then
2123 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2124 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2125 echo "$as_me:$LINENO: checking for $ac_word" >&5
2126 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2127 if test "${ac_cv_prog_CC+set}" = set; then
2128 echo $ECHO_N "(cached) $ECHO_C" >&6
2130 if test -n "$CC"; then
2131 ac_cv_prog_CC
="$CC" # Let the user override the test.
2133 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2137 test -z "$as_dir" && as_dir
=.
2138 for ac_exec_ext
in '' $ac_executable_extensions; do
2139 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2140 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2141 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2150 if test -n "$CC"; then
2151 echo "$as_me:$LINENO: result: $CC" >&5
2152 echo "${ECHO_T}$CC" >&6
2154 echo "$as_me:$LINENO: result: no" >&5
2155 echo "${ECHO_T}no" >&6
2158 test -n "$CC" && break
2161 if test -z "$CC"; then
2165 # Extract the first word of "$ac_prog", so it can be a program name with args.
2166 set dummy
$ac_prog; ac_word
=$2
2167 echo "$as_me:$LINENO: checking for $ac_word" >&5
2168 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2169 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2170 echo $ECHO_N "(cached) $ECHO_C" >&6
2172 if test -n "$ac_ct_CC"; then
2173 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2175 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2179 test -z "$as_dir" && as_dir
=.
2180 for ac_exec_ext
in '' $ac_executable_extensions; do
2181 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2182 ac_cv_prog_ac_ct_CC
="$ac_prog"
2183 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2191 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2192 if test -n "$ac_ct_CC"; then
2193 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2194 echo "${ECHO_T}$ac_ct_CC" >&6
2196 echo "$as_me:$LINENO: result: no" >&5
2197 echo "${ECHO_T}no" >&6
2200 test -n "$ac_ct_CC" && break
2209 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2210 See \`config.log' for more details." >&5
2211 echo "$as_me: error: no acceptable C compiler found in \$PATH
2212 See \`config.log' for more details." >&2;}
2213 { (exit 1); exit 1; }; }
2215 # Provide some information about the compiler.
2216 echo "$as_me:$LINENO:" \
2217 "checking for C compiler version" >&5
2218 ac_compiler
=`set X $ac_compile; echo $2`
2219 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2220 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2223 (exit $ac_status); }
2224 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2225 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2228 (exit $ac_status); }
2229 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2230 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2233 (exit $ac_status); }
2235 cat >conftest.
$ac_ext <<_ACEOF
2238 cat confdefs.h
>>conftest.
$ac_ext
2239 cat >>conftest.
$ac_ext <<_ACEOF
2240 /* end confdefs.h. */
2250 ac_clean_files_save
=$ac_clean_files
2251 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2252 # Try to create an executable without -o first, disregard a.out.
2253 # It will help us diagnose broken compilers, and finding out an intuition
2255 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2256 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2257 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2258 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2259 (eval $ac_link_default) 2>&5
2261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2262 (exit $ac_status); }; then
2263 # Find the output, starting from the most likely. This scheme is
2264 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2267 # Be careful to initialize this variable, since it used to be cached.
2268 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2270 # b.out is created by i960 compilers.
2271 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2273 test -f "$ac_file" ||
continue
2275 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2278 # This is the source file.
2281 # We found the default executable, but exeext='' is most
2285 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2286 # FIXME: I believe we export ac_cv_exeext for Libtool,
2287 # but it would be cool to find out if it's true. Does anybody
2288 # maintain Libtool? --akim.
2296 echo "$as_me: failed program was:" >&5
2297 sed 's/^/| /' conftest.
$ac_ext >&5
2299 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2300 See \`config.log' for more details." >&5
2301 echo "$as_me: error: C compiler cannot create executables
2302 See \`config.log' for more details." >&2;}
2303 { (exit 77); exit 77; }; }
2306 ac_exeext
=$ac_cv_exeext
2307 echo "$as_me:$LINENO: result: $ac_file" >&5
2308 echo "${ECHO_T}$ac_file" >&6
2310 # Check the compiler produces executables we can run. If not, either
2311 # the compiler is broken, or we cross compile.
2312 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2313 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2314 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2315 # If not cross compiling, check that we can run a simple program.
2316 if test "$cross_compiling" != yes; then
2317 if { ac_try
='./$ac_file'
2318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2322 (exit $ac_status); }; }; then
2325 if test "$cross_compiling" = maybe
; then
2328 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2329 If you meant to cross compile, use \`--host'.
2330 See \`config.log' for more details." >&5
2331 echo "$as_me: error: cannot run C compiled programs.
2332 If you meant to cross compile, use \`--host'.
2333 See \`config.log' for more details." >&2;}
2334 { (exit 1); exit 1; }; }
2338 echo "$as_me:$LINENO: result: yes" >&5
2339 echo "${ECHO_T}yes" >&6
2341 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2342 ac_clean_files
=$ac_clean_files_save
2343 # Check the compiler produces executables we can run. If not, either
2344 # the compiler is broken, or we cross compile.
2345 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2346 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2347 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2348 echo "${ECHO_T}$cross_compiling" >&6
2350 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2351 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2352 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2353 (eval $ac_link) 2>&5
2355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2356 (exit $ac_status); }; then
2357 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2358 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2359 # work properly (i.e., refer to `conftest.exe'), while it won't with
2361 for ac_file
in conftest.exe conftest conftest.
*; do
2362 test -f "$ac_file" ||
continue
2364 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2365 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2372 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2373 See \`config.log' for more details." >&5
2374 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2375 See \`config.log' for more details." >&2;}
2376 { (exit 1); exit 1; }; }
2379 rm -f conftest
$ac_cv_exeext
2380 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2381 echo "${ECHO_T}$ac_cv_exeext" >&6
2383 rm -f conftest.
$ac_ext
2384 EXEEXT
=$ac_cv_exeext
2386 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2387 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2388 if test "${ac_cv_objext+set}" = set; then
2389 echo $ECHO_N "(cached) $ECHO_C" >&6
2391 cat >conftest.
$ac_ext <<_ACEOF
2394 cat confdefs.h
>>conftest.
$ac_ext
2395 cat >>conftest.
$ac_ext <<_ACEOF
2396 /* end confdefs.h. */
2406 rm -f conftest.o conftest.obj
2407 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2408 (eval $ac_compile) 2>&5
2410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2411 (exit $ac_status); }; then
2412 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2414 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2415 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2420 echo "$as_me: failed program was:" >&5
2421 sed 's/^/| /' conftest.
$ac_ext >&5
2423 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2424 See \`config.log' for more details." >&5
2425 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2426 See \`config.log' for more details." >&2;}
2427 { (exit 1); exit 1; }; }
2430 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2432 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2433 echo "${ECHO_T}$ac_cv_objext" >&6
2434 OBJEXT
=$ac_cv_objext
2436 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2437 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2438 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2439 echo $ECHO_N "(cached) $ECHO_C" >&6
2441 cat >conftest.
$ac_ext <<_ACEOF
2444 cat confdefs.h
>>conftest.
$ac_ext
2445 cat >>conftest.
$ac_ext <<_ACEOF
2446 /* end confdefs.h. */
2459 rm -f conftest.
$ac_objext
2460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2461 (eval $ac_compile) 2>conftest.er1
2463 grep -v '^ *+' conftest.er1
>conftest.err
2465 cat conftest.err
>&5
2466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2467 (exit $ac_status); } &&
2468 { ac_try
='test -z "$ac_c_werror_flag"
2469 || test ! -s conftest.err'
2470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2474 (exit $ac_status); }; } &&
2475 { ac_try
='test -s conftest.$ac_objext'
2476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2480 (exit $ac_status); }; }; then
2483 echo "$as_me: failed program was:" >&5
2484 sed 's/^/| /' conftest.
$ac_ext >&5
2488 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2489 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2492 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2493 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2494 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2495 ac_test_CFLAGS
=${CFLAGS+set}
2496 ac_save_CFLAGS
=$CFLAGS
2498 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2499 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2500 if test "${ac_cv_prog_cc_g+set}" = set; then
2501 echo $ECHO_N "(cached) $ECHO_C" >&6
2503 cat >conftest.
$ac_ext <<_ACEOF
2506 cat confdefs.h
>>conftest.
$ac_ext
2507 cat >>conftest.
$ac_ext <<_ACEOF
2508 /* end confdefs.h. */
2518 rm -f conftest.
$ac_objext
2519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2520 (eval $ac_compile) 2>conftest.er1
2522 grep -v '^ *+' conftest.er1
>conftest.err
2524 cat conftest.err
>&5
2525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2526 (exit $ac_status); } &&
2527 { ac_try
='test -z "$ac_c_werror_flag"
2528 || test ! -s conftest.err'
2529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2533 (exit $ac_status); }; } &&
2534 { ac_try
='test -s conftest.$ac_objext'
2535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2539 (exit $ac_status); }; }; then
2542 echo "$as_me: failed program was:" >&5
2543 sed 's/^/| /' conftest.
$ac_ext >&5
2547 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2549 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2550 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2551 if test "$ac_test_CFLAGS" = set; then
2552 CFLAGS
=$ac_save_CFLAGS
2553 elif test $ac_cv_prog_cc_g = yes; then
2554 if test "$GCC" = yes; then
2560 if test "$GCC" = yes; then
2566 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2567 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2568 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2569 echo $ECHO_N "(cached) $ECHO_C" >&6
2571 ac_cv_prog_cc_stdc
=no
2573 cat >conftest.
$ac_ext <<_ACEOF
2576 cat confdefs.h
>>conftest.
$ac_ext
2577 cat >>conftest.
$ac_ext <<_ACEOF
2578 /* end confdefs.h. */
2581 #include <sys/types.h>
2582 #include <sys/stat.h>
2583 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2584 struct buf { int x; };
2585 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2586 static char *e (p, i)
2592 static char *f (char * (*g) (char **, int), char **p, ...)
2597 s = g (p, va_arg (v,int));
2602 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2603 function prototypes and stuff, but not '\xHH' hex character constants.
2604 These don't provoke an error unfortunately, instead are silently treated
2605 as 'x'. The following induces an error, until -std1 is added to get
2606 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2607 array size at least. It's necessary to write '\x00'==0 to get something
2608 that's true only with -std1. */
2609 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2611 int test (int i, double x);
2612 struct s1 {int (*f) (int a);};
2613 struct s2 {int (*f) (double a);};
2614 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2620 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2625 # Don't try gcc -ansi; that turns off useful extensions and
2626 # breaks some systems' header files.
2627 # AIX -qlanglvl=ansi
2628 # Ultrix and OSF/1 -std1
2629 # HP-UX 10.20 and later -Ae
2630 # HP-UX older versions -Aa -D_HPUX_SOURCE
2631 # SVR4 -Xc -D__EXTENSIONS__
2632 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2634 CC
="$ac_save_CC $ac_arg"
2635 rm -f conftest.
$ac_objext
2636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2637 (eval $ac_compile) 2>conftest.er1
2639 grep -v '^ *+' conftest.er1
>conftest.err
2641 cat conftest.err
>&5
2642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2643 (exit $ac_status); } &&
2644 { ac_try
='test -z "$ac_c_werror_flag"
2645 || test ! -s conftest.err'
2646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2650 (exit $ac_status); }; } &&
2651 { ac_try
='test -s conftest.$ac_objext'
2652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2656 (exit $ac_status); }; }; then
2657 ac_cv_prog_cc_stdc
=$ac_arg
2660 echo "$as_me: failed program was:" >&5
2661 sed 's/^/| /' conftest.
$ac_ext >&5
2664 rm -f conftest.err conftest.
$ac_objext
2666 rm -f conftest.
$ac_ext conftest.
$ac_objext
2671 case "x$ac_cv_prog_cc_stdc" in
2673 echo "$as_me:$LINENO: result: none needed" >&5
2674 echo "${ECHO_T}none needed" >&6 ;;
2676 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2677 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2678 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2681 # Some people use a C++ compiler to compile C. Since we use `exit',
2682 # in C++ we need to declare it. In case someone uses the same compiler
2683 # for both compiling C and C++ we need to have the C++ compiler decide
2684 # the declaration of exit, since it's the most demanding environment.
2685 cat >conftest.
$ac_ext <<_ACEOF
2690 rm -f conftest.
$ac_objext
2691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2692 (eval $ac_compile) 2>conftest.er1
2694 grep -v '^ *+' conftest.er1
>conftest.err
2696 cat conftest.err
>&5
2697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2698 (exit $ac_status); } &&
2699 { ac_try
='test -z "$ac_c_werror_flag"
2700 || test ! -s conftest.err'
2701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2705 (exit $ac_status); }; } &&
2706 { ac_try
='test -s conftest.$ac_objext'
2707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2711 (exit $ac_status); }; }; then
2712 for ac_declaration
in \
2714 'extern "C" void std::exit (int) throw (); using std::exit;' \
2715 'extern "C" void std::exit (int); using std::exit;' \
2716 'extern "C" void exit (int) throw ();' \
2717 'extern "C" void exit (int);' \
2720 cat >conftest.
$ac_ext <<_ACEOF
2723 cat confdefs.h
>>conftest.
$ac_ext
2724 cat >>conftest.
$ac_ext <<_ACEOF
2725 /* end confdefs.h. */
2736 rm -f conftest.
$ac_objext
2737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2738 (eval $ac_compile) 2>conftest.er1
2740 grep -v '^ *+' conftest.er1
>conftest.err
2742 cat conftest.err
>&5
2743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2744 (exit $ac_status); } &&
2745 { ac_try
='test -z "$ac_c_werror_flag"
2746 || test ! -s conftest.err'
2747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2751 (exit $ac_status); }; } &&
2752 { ac_try
='test -s conftest.$ac_objext'
2753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2757 (exit $ac_status); }; }; then
2760 echo "$as_me: failed program was:" >&5
2761 sed 's/^/| /' conftest.
$ac_ext >&5
2765 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2766 cat >conftest.
$ac_ext <<_ACEOF
2769 cat confdefs.h
>>conftest.
$ac_ext
2770 cat >>conftest.
$ac_ext <<_ACEOF
2771 /* end confdefs.h. */
2781 rm -f conftest.
$ac_objext
2782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2783 (eval $ac_compile) 2>conftest.er1
2785 grep -v '^ *+' conftest.er1
>conftest.err
2787 cat conftest.err
>&5
2788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2789 (exit $ac_status); } &&
2790 { ac_try
='test -z "$ac_c_werror_flag"
2791 || test ! -s conftest.err'
2792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2796 (exit $ac_status); }; } &&
2797 { ac_try
='test -s conftest.$ac_objext'
2798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2802 (exit $ac_status); }; }; then
2805 echo "$as_me: failed program was:" >&5
2806 sed 's/^/| /' conftest.
$ac_ext >&5
2809 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2812 if test -n "$ac_declaration"; then
2813 echo '#ifdef __cplusplus' >>confdefs.h
2814 echo $ac_declaration >>confdefs.h
2815 echo '#endif' >>confdefs.h
2819 echo "$as_me: failed program was:" >&5
2820 sed 's/^/| /' conftest.
$ac_ext >&5
2823 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2825 ac_cpp
='$CPP $CPPFLAGS'
2826 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2827 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2828 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2829 DEPDIR
="${am__leading_dot}deps"
2831 ac_config_commands
="$ac_config_commands depfiles"
2834 am_make
=${MAKE-make}
2835 cat > confinc
<< 'END'
2840 # If we don't find an include directive, just comment out the code.
2841 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2842 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2846 # First try GNU make style include.
2847 echo "include confinc" > confmf
2848 # We grep out `Entering directory' and `Leaving directory'
2849 # messages which can occur if `w' ends up in MAKEFLAGS.
2850 # In particular we don't look at `^make:' because GNU make might
2851 # be invoked under some other name (usually "gmake"), in which
2852 # case it prints its new name instead of `make'.
2853 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2858 # Now try BSD make style include.
2859 if test "$am__include" = "#"; then
2860 echo '.include "confinc"' > confmf
2861 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2862 am__include
=.include
2869 echo "$as_me:$LINENO: result: $_am_result" >&5
2870 echo "${ECHO_T}$_am_result" >&6
2871 rm -f confinc confmf
2873 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2874 if test "${enable_dependency_tracking+set}" = set; then
2875 enableval
="$enable_dependency_tracking"
2878 if test "x$enable_dependency_tracking" != xno
; then
2879 am_depcomp
="$ac_aux_dir/depcomp"
2884 if test "x$enable_dependency_tracking" != xno; then
2895 depcc
="$CC" am_compiler_list
=
2897 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2898 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2899 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2900 echo $ECHO_N "(cached) $ECHO_C" >&6
2902 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2903 # We make a subdir and do the tests there. Otherwise we can end up
2904 # making bogus files that we don't know about and never remove. For
2905 # instance it was reported that on HP-UX the gcc test will end up
2906 # making a dummy file named `D' -- because `-MD' means `put the output
2909 # Copy depcomp to subdir because otherwise we won't find it if we're
2910 # using a relative directory.
2911 cp "$am_depcomp" conftest.dir
2913 # We will build objects and dependencies in a subdirectory because
2914 # it helps to detect inapplicable dependency modes. For instance
2915 # both Tru64's cc and ICC support -MD to output dependencies as a
2916 # side effect of compilation, but ICC will put the dependencies in
2917 # the current directory while Tru64 will put them in the object
2921 am_cv_CC_dependencies_compiler_type
=none
2922 if test "$am_compiler_list" = ""; then
2923 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2925 for depmode
in $am_compiler_list; do
2926 # Setup a source with many dependencies, because some compilers
2927 # like to wrap large dependency lists on column 80 (with \), and
2928 # we should not choose a depcomp mode which is confused by this.
2930 # We need to recreate these files for each test, as the compiler may
2931 # overwrite some of them when testing with obscure command lines.
2932 # This happens at least with the AIX C compiler.
2934 for i
in 1 2 3 4 5 6; do
2935 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
2936 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2937 # Solaris 8's {/usr,}/bin/sh.
2938 touch sub
/conftst
$i.h
2940 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2944 # after this tag, mechanisms are not by side-effect, so they'll
2945 # only be used when explicitly requested
2946 if test "x$enable_dependency_tracking" = xyes
; then
2954 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2955 # mode. It turns out that the SunPro C++ compiler does not properly
2956 # handle `-M -o', and we need to detect this.
2957 if depmode
=$depmode \
2958 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
2959 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
2960 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
2961 >/dev
/null
2>conftest.err
&&
2962 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
2963 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
2964 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
2965 # icc doesn't choke on unknown options, it will just issue warnings
2966 # or remarks (even with -Werror). So we grep stderr for any message
2967 # that says an option was ignored or not supported.
2968 # When given -MP, icc 7.0 and 7.1 complain thusly:
2969 # icc: Command line warning: ignoring option '-M'; no argument required
2970 # The diagnosis changed in icc 8.0:
2971 # icc: Command line remark: option '-MP' not supported
2972 if (grep 'ignoring option' conftest.err ||
2973 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
2974 am_cv_CC_dependencies_compiler_type
=$depmode
2983 am_cv_CC_dependencies_compiler_type
=none
2987 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2988 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2989 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
2994 test "x$enable_dependency_tracking" != xno \
2995 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
2997 am__fastdepCC_FALSE
='#'
2999 am__fastdepCC_TRUE
='#'
3000 am__fastdepCC_FALSE
=
3005 echo "$as_me:$LINENO: checking for inline" >&5
3006 echo $ECHO_N "checking for inline... $ECHO_C" >&6
3007 if test "${ac_cv_c_inline+set}" = set; then
3008 echo $ECHO_N "(cached) $ECHO_C" >&6
3011 for ac_kw
in inline __inline__ __inline
; do
3012 cat >conftest.
$ac_ext <<_ACEOF
3015 cat confdefs.h
>>conftest.
$ac_ext
3016 cat >>conftest.
$ac_ext <<_ACEOF
3017 /* end confdefs.h. */
3020 static $ac_kw foo_t static_foo () {return 0; }
3021 $ac_kw foo_t foo () {return 0; }
3025 rm -f conftest.
$ac_objext
3026 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3027 (eval $ac_compile) 2>conftest.er1
3029 grep -v '^ *+' conftest.er1
>conftest.err
3031 cat conftest.err
>&5
3032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3033 (exit $ac_status); } &&
3034 { ac_try
='test -z "$ac_c_werror_flag"
3035 || test ! -s conftest.err'
3036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3040 (exit $ac_status); }; } &&
3041 { ac_try
='test -s conftest.$ac_objext'
3042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3046 (exit $ac_status); }; }; then
3047 ac_cv_c_inline
=$ac_kw; break
3049 echo "$as_me: failed program was:" >&5
3050 sed 's/^/| /' conftest.
$ac_ext >&5
3053 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3057 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
3058 echo "${ECHO_T}$ac_cv_c_inline" >&6
3061 case $ac_cv_c_inline in
3064 case $ac_cv_c_inline in
3066 *) ac_val
=$ac_cv_c_inline;;
3068 cat >>confdefs.h
<<_ACEOF
3070 #define inline $ac_val
3077 if test "x$CC" != xcc
; then
3078 echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
3079 echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6
3081 echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
3082 echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6
3084 set dummy
$CC; ac_cc
=`echo $2 |
3085 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3086 if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\" = set"; then
3087 echo $ECHO_N "(cached) $ECHO_C" >&6
3089 cat >conftest.
$ac_ext <<_ACEOF
3092 cat confdefs.h
>>conftest.
$ac_ext
3093 cat >>conftest.
$ac_ext <<_ACEOF
3094 /* end confdefs.h. */
3104 # Make sure it works both with $CC and with simple cc.
3105 # We do the test twice because some compilers refuse to overwrite an
3106 # existing .o file with -o, though they will create one.
3107 ac_try
='$CC -c conftest.$ac_ext -o conftest.$ac_objext >&5'
3108 if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3112 (exit $ac_status); } &&
3113 test -f conftest.
$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3117 (exit $ac_status); };
3119 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
3120 if test "x$CC" != xcc
; then
3121 # Test first that cc exists at all.
3122 if { ac_try
='cc -c conftest.$ac_ext >&5'
3123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3127 (exit $ac_status); }; }; then
3128 ac_try
='cc -c conftest.$ac_ext -o conftest.$ac_objext >&5'
3129 if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3133 (exit $ac_status); } &&
3134 test -f conftest.
$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3138 (exit $ac_status); };
3143 # cc exists but doesn't like -o.
3144 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
3149 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
3154 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" = yes"; then
3155 echo "$as_me:$LINENO: result: yes" >&5
3156 echo "${ECHO_T}yes" >&6
3158 echo "$as_me:$LINENO: result: no" >&5
3159 echo "${ECHO_T}no" >&6
3161 cat >>confdefs.h
<<\_ACEOF
3162 #define NO_MINUS_C_MINUS_O 1
3167 # FIXME: we rely on the cache variable name because
3168 # there is no other way.
3170 ac_cc
=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3171 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
3172 # Losing compiler, so override with the script.
3173 # FIXME: It is wrong to rewrite CC.
3174 # But if we don't then we get into trouble of one sort or another.
3175 # A longer-term fix would be to have automake use am__CC in this case,
3176 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3177 CC
="$am_aux_dir/compile $CC"
3181 ac_cpp
='$CPP $CPPFLAGS'
3182 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3183 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3184 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3185 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3186 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3187 # On Suns, sometimes $CPP names a directory.
3188 if test -n "$CPP" && test -d "$CPP"; then
3191 if test -z "$CPP"; then
3192 if test "${ac_cv_prog_CPP+set}" = set; then
3193 echo $ECHO_N "(cached) $ECHO_C" >&6
3195 # Double quotes because CPP needs to be expanded
3196 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3199 for ac_c_preproc_warn_flag
in '' yes
3201 # Use a header file that comes with gcc, so configuring glibc
3202 # with a fresh cross-compiler works.
3203 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3204 # <limits.h> exists even on freestanding compilers.
3205 # On the NeXT, cc -E runs the code through the compiler's parser,
3206 # not just through cpp. "Syntax error" is here to catch this case.
3207 cat >conftest.
$ac_ext <<_ACEOF
3210 cat confdefs.h
>>conftest.
$ac_ext
3211 cat >>conftest.
$ac_ext <<_ACEOF
3212 /* end confdefs.h. */
3214 # include <limits.h>
3216 # include <assert.h>
3220 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3221 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3223 grep -v '^ *+' conftest.er1
>conftest.err
3225 cat conftest.err
>&5
3226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3227 (exit $ac_status); } >/dev
/null
; then
3228 if test -s conftest.err
; then
3229 ac_cpp_err
=$ac_c_preproc_warn_flag
3230 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3237 if test -z "$ac_cpp_err"; then
3240 echo "$as_me: failed program was:" >&5
3241 sed 's/^/| /' conftest.
$ac_ext >&5
3243 # Broken: fails on valid input.
3246 rm -f conftest.err conftest.
$ac_ext
3248 # OK, works on sane cases. Now check whether non-existent headers
3249 # can be detected and how.
3250 cat >conftest.
$ac_ext <<_ACEOF
3253 cat confdefs.h
>>conftest.
$ac_ext
3254 cat >>conftest.
$ac_ext <<_ACEOF
3255 /* end confdefs.h. */
3256 #include <ac_nonexistent.h>
3258 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3259 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3261 grep -v '^ *+' conftest.er1
>conftest.err
3263 cat conftest.err
>&5
3264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3265 (exit $ac_status); } >/dev
/null
; then
3266 if test -s conftest.err
; then
3267 ac_cpp_err
=$ac_c_preproc_warn_flag
3268 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3275 if test -z "$ac_cpp_err"; then
3276 # Broken: success on invalid input.
3279 echo "$as_me: failed program was:" >&5
3280 sed 's/^/| /' conftest.
$ac_ext >&5
3282 # Passes both tests.
3286 rm -f conftest.err conftest.
$ac_ext
3289 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3290 rm -f conftest.err conftest.
$ac_ext
3291 if $ac_preproc_ok; then
3303 echo "$as_me:$LINENO: result: $CPP" >&5
3304 echo "${ECHO_T}$CPP" >&6
3306 for ac_c_preproc_warn_flag
in '' yes
3308 # Use a header file that comes with gcc, so configuring glibc
3309 # with a fresh cross-compiler works.
3310 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3311 # <limits.h> exists even on freestanding compilers.
3312 # On the NeXT, cc -E runs the code through the compiler's parser,
3313 # not just through cpp. "Syntax error" is here to catch this case.
3314 cat >conftest.
$ac_ext <<_ACEOF
3317 cat confdefs.h
>>conftest.
$ac_ext
3318 cat >>conftest.
$ac_ext <<_ACEOF
3319 /* end confdefs.h. */
3321 # include <limits.h>
3323 # include <assert.h>
3327 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3328 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3330 grep -v '^ *+' conftest.er1
>conftest.err
3332 cat conftest.err
>&5
3333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3334 (exit $ac_status); } >/dev
/null
; then
3335 if test -s conftest.err
; then
3336 ac_cpp_err
=$ac_c_preproc_warn_flag
3337 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3344 if test -z "$ac_cpp_err"; then
3347 echo "$as_me: failed program was:" >&5
3348 sed 's/^/| /' conftest.
$ac_ext >&5
3350 # Broken: fails on valid input.
3353 rm -f conftest.err conftest.
$ac_ext
3355 # OK, works on sane cases. Now check whether non-existent headers
3356 # can be detected and how.
3357 cat >conftest.
$ac_ext <<_ACEOF
3360 cat confdefs.h
>>conftest.
$ac_ext
3361 cat >>conftest.
$ac_ext <<_ACEOF
3362 /* end confdefs.h. */
3363 #include <ac_nonexistent.h>
3365 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3366 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3368 grep -v '^ *+' conftest.er1
>conftest.err
3370 cat conftest.err
>&5
3371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3372 (exit $ac_status); } >/dev
/null
; then
3373 if test -s conftest.err
; then
3374 ac_cpp_err
=$ac_c_preproc_warn_flag
3375 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3382 if test -z "$ac_cpp_err"; then
3383 # Broken: success on invalid input.
3386 echo "$as_me: failed program was:" >&5
3387 sed 's/^/| /' conftest.
$ac_ext >&5
3389 # Passes both tests.
3393 rm -f conftest.err conftest.
$ac_ext
3396 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3397 rm -f conftest.err conftest.
$ac_ext
3398 if $ac_preproc_ok; then
3401 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3402 See \`config.log' for more details." >&5
3403 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3404 See \`config.log' for more details." >&2;}
3405 { (exit 1); exit 1; }; }
3409 ac_cpp
='$CPP $CPPFLAGS'
3410 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3411 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3412 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3414 for ac_prog
in gawk mawk nawk
awk
3416 # Extract the first word of "$ac_prog", so it can be a program name with args.
3417 set dummy
$ac_prog; ac_word
=$2
3418 echo "$as_me:$LINENO: checking for $ac_word" >&5
3419 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3420 if test "${ac_cv_prog_AWK+set}" = set; then
3421 echo $ECHO_N "(cached) $ECHO_C" >&6
3423 if test -n "$AWK"; then
3424 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3426 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3430 test -z "$as_dir" && as_dir
=.
3431 for ac_exec_ext
in '' $ac_executable_extensions; do
3432 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3433 ac_cv_prog_AWK
="$ac_prog"
3434 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3443 if test -n "$AWK"; then
3444 echo "$as_me:$LINENO: result: $AWK" >&5
3445 echo "${ECHO_T}$AWK" >&6
3447 echo "$as_me:$LINENO: result: no" >&5
3448 echo "${ECHO_T}no" >&6
3451 test -n "$AWK" && break
3455 for ac_prog
in flex
lex
3457 # Extract the first word of "$ac_prog", so it can be a program name with args.
3458 set dummy
$ac_prog; ac_word
=$2
3459 echo "$as_me:$LINENO: checking for $ac_word" >&5
3460 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3461 if test "${ac_cv_prog_LEX+set}" = set; then
3462 echo $ECHO_N "(cached) $ECHO_C" >&6
3464 if test -n "$LEX"; then
3465 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
3467 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3471 test -z "$as_dir" && as_dir
=.
3472 for ac_exec_ext
in '' $ac_executable_extensions; do
3473 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3474 ac_cv_prog_LEX
="$ac_prog"
3475 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3484 if test -n "$LEX"; then
3485 echo "$as_me:$LINENO: result: $LEX" >&5
3486 echo "${ECHO_T}$LEX" >&6
3488 echo "$as_me:$LINENO: result: no" >&5
3489 echo "${ECHO_T}no" >&6
3492 test -n "$LEX" && break
3494 test -n "$LEX" || LEX
=":"
3496 if test -z "$LEXLIB"
3498 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
3499 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
3500 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
3501 echo $ECHO_N "(cached) $ECHO_C" >&6
3503 ac_check_lib_save_LIBS
=$LIBS
3505 cat >conftest.
$ac_ext <<_ACEOF
3508 cat confdefs.h
>>conftest.
$ac_ext
3509 cat >>conftest.
$ac_ext <<_ACEOF
3510 /* end confdefs.h. */
3512 /* Override any gcc2 internal prototype to avoid an error. */
3516 /* We use char because int might match the return type of a gcc2
3517 builtin and then its argument prototype would still apply. */
3527 rm -f conftest.
$ac_objext conftest
$ac_exeext
3528 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3529 (eval $ac_link) 2>conftest.er1
3531 grep -v '^ *+' conftest.er1
>conftest.err
3533 cat conftest.err
>&5
3534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3535 (exit $ac_status); } &&
3536 { ac_try
='test -z "$ac_c_werror_flag"
3537 || test ! -s conftest.err'
3538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3542 (exit $ac_status); }; } &&
3543 { ac_try
='test -s conftest$ac_exeext'
3544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3548 (exit $ac_status); }; }; then
3549 ac_cv_lib_fl_yywrap
=yes
3551 echo "$as_me: failed program was:" >&5
3552 sed 's/^/| /' conftest.
$ac_ext >&5
3554 ac_cv_lib_fl_yywrap
=no
3556 rm -f conftest.err conftest.
$ac_objext \
3557 conftest
$ac_exeext conftest.
$ac_ext
3558 LIBS
=$ac_check_lib_save_LIBS
3560 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
3561 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
3562 if test $ac_cv_lib_fl_yywrap = yes; then
3565 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
3566 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
3567 if test "${ac_cv_lib_l_yywrap+set}" = set; then
3568 echo $ECHO_N "(cached) $ECHO_C" >&6
3570 ac_check_lib_save_LIBS
=$LIBS
3572 cat >conftest.
$ac_ext <<_ACEOF
3575 cat confdefs.h
>>conftest.
$ac_ext
3576 cat >>conftest.
$ac_ext <<_ACEOF
3577 /* end confdefs.h. */
3579 /* Override any gcc2 internal prototype to avoid an error. */
3583 /* We use char because int might match the return type of a gcc2
3584 builtin and then its argument prototype would still apply. */
3594 rm -f conftest.
$ac_objext conftest
$ac_exeext
3595 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3596 (eval $ac_link) 2>conftest.er1
3598 grep -v '^ *+' conftest.er1
>conftest.err
3600 cat conftest.err
>&5
3601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3602 (exit $ac_status); } &&
3603 { ac_try
='test -z "$ac_c_werror_flag"
3604 || test ! -s conftest.err'
3605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3609 (exit $ac_status); }; } &&
3610 { ac_try
='test -s conftest$ac_exeext'
3611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3615 (exit $ac_status); }; }; then
3616 ac_cv_lib_l_yywrap
=yes
3618 echo "$as_me: failed program was:" >&5
3619 sed 's/^/| /' conftest.
$ac_ext >&5
3621 ac_cv_lib_l_yywrap
=no
3623 rm -f conftest.err conftest.
$ac_objext \
3624 conftest
$ac_exeext conftest.
$ac_ext
3625 LIBS
=$ac_check_lib_save_LIBS
3627 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
3628 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
3629 if test $ac_cv_lib_l_yywrap = yes; then
3637 if test "x$LEX" != "x:"; then
3638 echo "$as_me:$LINENO: checking lex output file root" >&5
3639 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
3640 if test "${ac_cv_prog_lex_root+set}" = set; then
3641 echo $ECHO_N "(cached) $ECHO_C" >&6
3643 # The minimal lex program is just a single line: %%. But some broken lexes
3644 # (Solaris, I think it was) want two %% lines, so accommodate them.
3645 cat >conftest.l
<<_ACEOF
3649 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
3650 (eval $LEX conftest.l
) 2>&5
3652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3653 (exit $ac_status); }
3654 if test -f lex.yy.c
; then
3655 ac_cv_prog_lex_root
=lex.yy
3656 elif test -f lexyy.c
; then
3657 ac_cv_prog_lex_root
=lexyy
3659 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
3660 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
3661 { (exit 1); exit 1; }; }
3664 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
3665 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
3667 LEX_OUTPUT_ROOT
=$ac_cv_prog_lex_root
3669 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
3670 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
3671 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
3672 echo $ECHO_N "(cached) $ECHO_C" >&6
3674 # POSIX says lex can declare yytext either as a pointer or an array; the
3675 # default is implementation-dependent. Figure out which it is, since
3676 # not all implementations provide the %pointer and %array declarations.
3677 ac_cv_prog_lex_yytext_pointer
=no
3678 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
3680 LIBS
="$LIBS $LEXLIB"
3681 cat >conftest.
$ac_ext <<_ACEOF
3682 `cat $LEX_OUTPUT_ROOT.c`
3684 rm -f conftest.
$ac_objext conftest
$ac_exeext
3685 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3686 (eval $ac_link) 2>conftest.er1
3688 grep -v '^ *+' conftest.er1
>conftest.err
3690 cat conftest.err
>&5
3691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3692 (exit $ac_status); } &&
3693 { ac_try
='test -z "$ac_c_werror_flag"
3694 || test ! -s conftest.err'
3695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3699 (exit $ac_status); }; } &&
3700 { ac_try
='test -s conftest$ac_exeext'
3701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3705 (exit $ac_status); }; }; then
3706 ac_cv_prog_lex_yytext_pointer
=yes
3708 echo "$as_me: failed program was:" >&5
3709 sed 's/^/| /' conftest.
$ac_ext >&5
3712 rm -f conftest.err conftest.
$ac_objext \
3713 conftest
$ac_exeext conftest.
$ac_ext
3715 rm -f "${LEX_OUTPUT_ROOT}.c"
3718 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
3719 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
3720 if test $ac_cv_prog_lex_yytext_pointer = yes; then
3722 cat >>confdefs.h
<<\_ACEOF
3723 #define YYTEXT_POINTER 1
3729 if test "$LEX" = :; then
3730 LEX
=${am_missing_run}flex
3732 # Extract the first word of "$LEX", so it can be a program name with args.
3733 set dummy
$LEX; ac_word
=$2
3734 echo "$as_me:$LINENO: checking for $ac_word" >&5
3735 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3736 if test "${ac_cv_path_LEX_PATH+set}" = set; then
3737 echo $ECHO_N "(cached) $ECHO_C" >&6
3741 ac_cv_path_LEX_PATH
="$LEX_PATH" # Let the user override the test with a path.
3744 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3748 test -z "$as_dir" && as_dir
=.
3749 for ac_exec_ext
in '' $ac_executable_extensions; do
3750 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3751 ac_cv_path_LEX_PATH
="$as_dir/$ac_word$ac_exec_ext"
3752 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3758 test -z "$ac_cv_path_LEX_PATH" && ac_cv_path_LEX_PATH
="notfound"
3762 LEX_PATH
=$ac_cv_path_LEX_PATH
3764 if test -n "$LEX_PATH"; then
3765 echo "$as_me:$LINENO: result: $LEX_PATH" >&5
3766 echo "${ECHO_T}$LEX_PATH" >&6
3768 echo "$as_me:$LINENO: result: no" >&5
3769 echo "${ECHO_T}no" >&6
3772 if test "$LEX_PATH" = "notfound" ; then
3773 { { echo "$as_me:$LINENO: error: Couldn't find a usable lex program.
3774 Please install flex which is available from
3775 ftp://ftp.gnu.org/pub/non-gnu/flex/
3777 echo "$as_me: error: Couldn't find a usable lex program.
3778 Please install flex which is available from
3779 ftp://ftp.gnu.org/pub/non-gnu/flex/
3781 { (exit 1); exit 1; }; }
3785 for ac_prog
in 'bison -y' byacc
3787 # Extract the first word of "$ac_prog", so it can be a program name with args.
3788 set dummy
$ac_prog; ac_word
=$2
3789 echo "$as_me:$LINENO: checking for $ac_word" >&5
3790 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3791 if test "${ac_cv_prog_YACC+set}" = set; then
3792 echo $ECHO_N "(cached) $ECHO_C" >&6
3794 if test -n "$YACC"; then
3795 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
3797 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3801 test -z "$as_dir" && as_dir
=.
3802 for ac_exec_ext
in '' $ac_executable_extensions; do
3803 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3804 ac_cv_prog_YACC
="$ac_prog"
3805 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3813 YACC
=$ac_cv_prog_YACC
3814 if test -n "$YACC"; then
3815 echo "$as_me:$LINENO: result: $YACC" >&5
3816 echo "${ECHO_T}$YACC" >&6
3818 echo "$as_me:$LINENO: result: no" >&5
3819 echo "${ECHO_T}no" >&6
3822 test -n "$YACC" && break
3824 test -n "$YACC" || YACC
="yacc"
3826 # Extract the first word of "$YACC", so it can be a program name with args.
3827 set dummy
$YACC; ac_word
=$2
3828 echo "$as_me:$LINENO: checking for $ac_word" >&5
3829 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3830 if test "${ac_cv_path_YACC_PATH+set}" = set; then
3831 echo $ECHO_N "(cached) $ECHO_C" >&6
3835 ac_cv_path_YACC_PATH
="$YACC_PATH" # Let the user override the test with a path.
3838 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3842 test -z "$as_dir" && as_dir
=.
3843 for ac_exec_ext
in '' $ac_executable_extensions; do
3844 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3845 ac_cv_path_YACC_PATH
="$as_dir/$ac_word$ac_exec_ext"
3846 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3852 test -z "$ac_cv_path_YACC_PATH" && ac_cv_path_YACC_PATH
="notfound"
3856 YACC_PATH
=$ac_cv_path_YACC_PATH
3858 if test -n "$YACC_PATH"; then
3859 echo "$as_me:$LINENO: result: $YACC_PATH" >&5
3860 echo "${ECHO_T}$YACC_PATH" >&6
3862 echo "$as_me:$LINENO: result: no" >&5
3863 echo "${ECHO_T}no" >&6
3866 if test "$YACC_PATH" = "notfound" ; then
3867 { { echo "$as_me:$LINENO: error: Couldn't find a usable yacc program.
3868 Please install bison which is available from
3869 ftp://ftp.gnu.org/pub/gnu/bison/
3871 echo "$as_me: error: Couldn't find a usable yacc program.
3872 Please install bison which is available from
3873 ftp://ftp.gnu.org/pub/gnu/bison/
3875 { (exit 1); exit 1; }; }
3878 # Find a good install program. We prefer a C program (faster),
3879 # so one script is as good as another. But avoid the broken or
3880 # incompatible versions:
3881 # SysV /etc/install, /usr/sbin/install
3882 # SunOS /usr/etc/install
3883 # IRIX /sbin/install
3885 # AmigaOS /C/install, which installs bootblocks on floppy discs
3886 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3887 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3888 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3889 # OS/2's system install, which has a completely different semantic
3890 # ./install, which can be erroneously created by make from ./install.sh.
3891 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3892 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3893 if test -z "$INSTALL"; then
3894 if test "${ac_cv_path_install+set}" = set; then
3895 echo $ECHO_N "(cached) $ECHO_C" >&6
3897 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3901 test -z "$as_dir" && as_dir
=.
3902 # Account for people who put trailing slashes in PATH elements.
3904 .
/ | .
// |
/cC
/* | \
3905 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3906 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3909 # OSF1 and SCO ODT 3.0 have their own names for install.
3910 # Don't use installbsd from OSF since it installs stuff as root
3912 for ac_prog
in ginstall scoinst
install; do
3913 for ac_exec_ext
in '' $ac_executable_extensions; do
3914 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3915 if test $ac_prog = install &&
3916 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3917 # AIX install. It has an incompatible calling convention.
3919 elif test $ac_prog = install &&
3920 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3921 # program-specific install script used by HP pwplus--don't use.
3924 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3936 if test "${ac_cv_path_install+set}" = set; then
3937 INSTALL
=$ac_cv_path_install
3939 # As a last resort, use the slow shell script. We don't cache a
3940 # path for INSTALL within a source directory, because that will
3941 # break other packages using the cache if that directory is
3942 # removed, or if the path is relative.
3943 INSTALL
=$ac_install_sh
3946 echo "$as_me:$LINENO: result: $INSTALL" >&5
3947 echo "${ECHO_T}$INSTALL" >&6
3949 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3950 # It thinks the first close brace ends the variable substitution.
3951 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3953 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3955 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3957 if test -n "$ac_tool_prefix"; then
3958 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3959 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3960 echo "$as_me:$LINENO: checking for $ac_word" >&5
3961 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3962 if test "${ac_cv_prog_RANLIB+set}" = set; then
3963 echo $ECHO_N "(cached) $ECHO_C" >&6
3965 if test -n "$RANLIB"; then
3966 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3968 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3972 test -z "$as_dir" && as_dir
=.
3973 for ac_exec_ext
in '' $ac_executable_extensions; do
3974 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3975 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3976 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3984 RANLIB
=$ac_cv_prog_RANLIB
3985 if test -n "$RANLIB"; then
3986 echo "$as_me:$LINENO: result: $RANLIB" >&5
3987 echo "${ECHO_T}$RANLIB" >&6
3989 echo "$as_me:$LINENO: result: no" >&5
3990 echo "${ECHO_T}no" >&6
3994 if test -z "$ac_cv_prog_RANLIB"; then
3995 ac_ct_RANLIB
=$RANLIB
3996 # Extract the first word of "ranlib", so it can be a program name with args.
3997 set dummy ranlib
; ac_word
=$2
3998 echo "$as_me:$LINENO: checking for $ac_word" >&5
3999 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4000 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4001 echo $ECHO_N "(cached) $ECHO_C" >&6
4003 if test -n "$ac_ct_RANLIB"; then
4004 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4006 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4010 test -z "$as_dir" && as_dir
=.
4011 for ac_exec_ext
in '' $ac_executable_extensions; do
4012 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4013 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4014 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4020 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
4023 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4024 if test -n "$ac_ct_RANLIB"; then
4025 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4026 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4028 echo "$as_me:$LINENO: result: no" >&5
4029 echo "${ECHO_T}no" >&6
4032 RANLIB
=$ac_ct_RANLIB
4034 RANLIB
="$ac_cv_prog_RANLIB"
4039 # Used for building the win32 icons.
4041 # Extract the first word of "tgif", so it can be a program name with args.
4042 set dummy tgif
; ac_word
=$2
4043 echo "$as_me:$LINENO: checking for $ac_word" >&5
4044 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4045 if test "${ac_cv_path_TGIF+set}" = set; then
4046 echo $ECHO_N "(cached) $ECHO_C" >&6
4050 ac_cv_path_TGIF
="$TGIF" # Let the user override the test with a path.
4053 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4057 test -z "$as_dir" && as_dir
=.
4058 for ac_exec_ext
in '' $ac_executable_extensions; do
4059 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4060 ac_cv_path_TGIF
="$as_dir/$ac_word$ac_exec_ext"
4061 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4067 test -z "$ac_cv_path_TGIF" && ac_cv_path_TGIF
="notfound"
4071 TGIF
=$ac_cv_path_TGIF
4073 if test -n "$TGIF"; then
4074 echo "$as_me:$LINENO: result: $TGIF" >&5
4075 echo "${ECHO_T}$TGIF" >&6
4077 echo "$as_me:$LINENO: result: no" >&5
4078 echo "${ECHO_T}no" >&6
4083 if test x
$TGIF = xnotfound
; then
4085 MISSING_TGIF_FALSE
='#'
4087 MISSING_TGIF_TRUE
='#'
4091 # Extract the first word of "xpmtoppm", so it can be a program name with args.
4092 set dummy xpmtoppm
; ac_word
=$2
4093 echo "$as_me:$LINENO: checking for $ac_word" >&5
4094 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4095 if test "${ac_cv_path_XPMTOPPM+set}" = set; then
4096 echo $ECHO_N "(cached) $ECHO_C" >&6
4100 ac_cv_path_XPMTOPPM
="$XPMTOPPM" # Let the user override the test with a path.
4103 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4107 test -z "$as_dir" && as_dir
=.
4108 for ac_exec_ext
in '' $ac_executable_extensions; do
4109 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4110 ac_cv_path_XPMTOPPM
="$as_dir/$ac_word$ac_exec_ext"
4111 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4117 test -z "$ac_cv_path_XPMTOPPM" && ac_cv_path_XPMTOPPM
="notfound"
4121 XPMTOPPM
=$ac_cv_path_XPMTOPPM
4123 if test -n "$XPMTOPPM"; then
4124 echo "$as_me:$LINENO: result: $XPMTOPPM" >&5
4125 echo "${ECHO_T}$XPMTOPPM" >&6
4127 echo "$as_me:$LINENO: result: no" >&5
4128 echo "${ECHO_T}no" >&6
4131 # Extract the first word of "ppmtowinicon", so it can be a program name with args.
4132 set dummy ppmtowinicon
; ac_word
=$2
4133 echo "$as_me:$LINENO: checking for $ac_word" >&5
4134 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4135 if test "${ac_cv_path_PPMTOWINICON+set}" = set; then
4136 echo $ECHO_N "(cached) $ECHO_C" >&6
4138 case $PPMTOWINICON in
4140 ac_cv_path_PPMTOWINICON
="$PPMTOWINICON" # Let the user override the test with a path.
4143 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4147 test -z "$as_dir" && as_dir
=.
4148 for ac_exec_ext
in '' $ac_executable_extensions; do
4149 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4150 ac_cv_path_PPMTOWINICON
="$as_dir/$ac_word$ac_exec_ext"
4151 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4157 test -z "$ac_cv_path_PPMTOWINICON" && ac_cv_path_PPMTOWINICON
="notfound"
4161 PPMTOWINICON
=$ac_cv_path_PPMTOWINICON
4163 if test -n "$PPMTOWINICON"; then
4164 echo "$as_me:$LINENO: result: $PPMTOWINICON" >&5
4165 echo "${ECHO_T}$PPMTOWINICON" >&6
4167 echo "$as_me:$LINENO: result: no" >&5
4168 echo "${ECHO_T}no" >&6
4173 if test x
$PPMTOWINICON = xnotfound
-o x
$XPMTOPPM = xnotfound
; then
4174 MISSING_XPMTOPPM_TRUE
=
4175 MISSING_XPMTOPPM_FALSE
='#'
4177 MISSING_XPMTOPPM_TRUE
='#'
4178 MISSING_XPMTOPPM_FALSE
=
4181 # Extract the first word of "convert", so it can be a program name with args.
4182 set dummy convert
; ac_word
=$2
4183 echo "$as_me:$LINENO: checking for $ac_word" >&5
4184 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4185 if test "${ac_cv_path_CONVERT+set}" = set; then
4186 echo $ECHO_N "(cached) $ECHO_C" >&6
4190 ac_cv_path_CONVERT
="$CONVERT" # Let the user override the test with a path.
4193 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4197 test -z "$as_dir" && as_dir
=.
4198 for ac_exec_ext
in '' $ac_executable_extensions; do
4199 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4200 ac_cv_path_CONVERT
="$as_dir/$ac_word$ac_exec_ext"
4201 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4207 test -z "$ac_cv_path_CONVERT" && ac_cv_path_CONVERT
="notfound"
4211 CONVERT
=$ac_cv_path_CONVERT
4213 if test -n "$CONVERT"; then
4214 echo "$as_me:$LINENO: result: $CONVERT" >&5
4215 echo "${ECHO_T}$CONVERT" >&6
4217 echo "$as_me:$LINENO: result: no" >&5
4218 echo "${ECHO_T}no" >&6
4223 if test x
$CONVERT = xnotfound
; then
4224 MISSING_CONVERT_TRUE
=
4225 MISSING_CONVERT_FALSE
='#'
4227 MISSING_CONVERT_TRUE
='#'
4228 MISSING_CONVERT_FALSE
=
4234 echo "$as_me:$LINENO: checking if the documentation should be built" >&5
4235 echo $ECHO_N "checking if the documentation should be built... $ECHO_C" >&6
4236 # Check whether --enable-doc or --disable-doc was given.
4237 if test "${enable_doc+set}" = set; then
4238 enableval
="$enable_doc"
4240 if test "X$enable_doc" = "Xno" ; then
4242 echo "$as_me:$LINENO: result: no" >&5
4243 echo "${ECHO_T}no" >&6
4247 echo "$as_me:$LINENO: result: yes" >&5
4248 echo "${ECHO_T}yes" >&6
4255 echo "$as_me:$LINENO: result: yes" >&5
4256 echo "${ECHO_T}yes" >&6
4262 if test "X$docs_yesno" = "Xyes" -a "X$USE_MAINTAINER_MODE" = "Xyes" ; then
4263 for ac_prog
in makeinfo
4265 # Extract the first word of "$ac_prog", so it can be a program name with args.
4266 set dummy
$ac_prog; ac_word
=$2
4267 echo "$as_me:$LINENO: checking for $ac_word" >&5
4268 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4269 if test "${ac_cv_prog_MKINFO+set}" = set; then
4270 echo $ECHO_N "(cached) $ECHO_C" >&6
4272 if test -n "$MKINFO"; then
4273 ac_cv_prog_MKINFO
="$MKINFO" # Let the user override the test.
4275 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4279 test -z "$as_dir" && as_dir
=.
4280 for ac_exec_ext
in '' $ac_executable_extensions; do
4281 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4282 ac_cv_prog_MKINFO
="$ac_prog"
4283 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4291 MKINFO
=$ac_cv_prog_MKINFO
4292 if test -n "$MKINFO"; then
4293 echo "$as_me:$LINENO: result: $MKINFO" >&5
4294 echo "${ECHO_T}$MKINFO" >&6
4296 echo "$as_me:$LINENO: result: no" >&5
4297 echo "${ECHO_T}no" >&6
4300 test -n "$MKINFO" && break
4302 test -n "$MKINFO" || MKINFO
="notfound"
4304 if test "X$MKINFO" = "Xnotfound"; then
4305 { { echo "$as_me:$LINENO: error: You have requested a maintainer-mode build and a build
4306 of the documentation. For this to work, you must have version 4.6 or newer of
4307 the GNU texinfo package.
4309 echo "$as_me: error: You have requested a maintainer-mode build and a build
4310 of the documentation. For this to work, you must have version 4.6 or newer of
4311 the GNU texinfo package.
4313 { (exit 1); exit 1; }; }
4315 echo "$as_me:$LINENO: checking for makeinfo version 4.6 or newer" >&5
4316 echo $ECHO_N "checking for makeinfo version 4.6 or newer... $ECHO_C" >&6
4317 v
=`$MKINFO --version | grep "GNU texinfo"`
4318 if test $?
-ne 0 ; then
4324 echo "$as_me:$LINENO: result: yes" >&5
4325 echo "${ECHO_T}yes" >&6
4329 echo "$as_me:$LINENO: result: no" >&5
4330 echo "${ECHO_T}no" >&6
4331 { { echo "$as_me:$LINENO: error: You have requested a maintainer-mode build and a build
4332 of the documentation. For this to work, you must have version 4.6 or newer of
4333 the GNU texinfo package. You seem to have
4338 echo "$as_me: error: You have requested a maintainer-mode build and a build
4339 of the documentation. For this to work, you must have version 4.6 or newer of
4340 the GNU texinfo package. You seem to have
4345 { (exit 1); exit 1; }; }
4349 # Extract the first word of "perl", so it can be a program name with args.
4350 set dummy perl
; 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_path_PERL+set}" = set; then
4354 echo $ECHO_N "(cached) $ECHO_C" >&6
4358 ac_cv_path_PERL
="$PERL" # Let the user override the test with a path.
4361 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4365 test -z "$as_dir" && as_dir
=.
4366 for ac_exec_ext
in '' $ac_executable_extensions; do
4367 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4368 ac_cv_path_PERL
="$as_dir/$ac_word$ac_exec_ext"
4369 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4375 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL
="notfound"
4379 PERL
=$ac_cv_path_PERL
4381 if test -n "$PERL"; then
4382 echo "$as_me:$LINENO: result: $PERL" >&5
4383 echo "${ECHO_T}$PERL" >&6
4385 echo "$as_me:$LINENO: result: no" >&5
4386 echo "${ECHO_T}no" >&6
4389 if test "X$PERL" = "Xnotfound"; then
4390 { { echo "$as_me:$LINENO: error: You have requested a maintainer-mode build and a build
4391 of the documentation. For this to work, you must have perl installed.
4393 echo "$as_me: error: You have requested a maintainer-mode build and a build
4394 of the documentation. For this to work, you must have perl installed.
4396 { (exit 1); exit 1; }; }
4400 # FIXME: for now, only try to add -rdynamic if we're using gcc. We really
4401 # need to figure out what the correct test is here. In the mean time, this
4402 # should let things build with SunPRO again.
4403 if test "x$GCC" = "xyes"; then
4404 echo "$as_me:$LINENO: checking If the compiler accepts -rdynamic" >&5
4405 echo $ECHO_N "checking If the compiler accepts -rdynamic... $ECHO_C" >&6
4406 old_LDFLAGS
="$LDFLAGS"
4407 LDFLAGS
="$LDFLAGS -rdynamic"
4408 cat >conftest.
$ac_ext <<_ACEOF
4411 rm -f conftest.
$ac_objext conftest
$ac_exeext
4412 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4413 (eval $ac_link) 2>conftest.er1
4415 grep -v '^ *+' conftest.er1
>conftest.err
4417 cat conftest.err
>&5
4418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4419 (exit $ac_status); } &&
4420 { ac_try
='test -z "$ac_c_werror_flag"
4421 || test ! -s conftest.err'
4422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4426 (exit $ac_status); }; } &&
4427 { ac_try
='test -s conftest$ac_exeext'
4428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4432 (exit $ac_status); }; }; then
4433 echo "$as_me:$LINENO: result: yes" >&5
4434 echo "${ECHO_T}yes" >&6
4436 echo "$as_me: failed program was:" >&5
4437 sed 's/^/| /' conftest.
$ac_ext >&5
4439 LDFLAGS
="$old_LDFLAGS"
4440 echo "$as_me:$LINENO: result: no" >&5
4441 echo "${ECHO_T}no" >&6
4444 rm -f conftest.err conftest.
$ac_objext \
4445 conftest
$ac_exeext conftest.
$ac_ext
4448 # ------------- HID config -------------------
4455 for hid
in `cd $srcdir/src/hid; echo *`; do
4456 F
=$srcdir/src
/hid
/$hid/hid.conf
4462 gui
) hid_guis
="$hid_guis $hid" ;;
4463 printer
) hid_printers
="$hid_printers $hid" ;;
4464 export ) hid_exporters
="$hid_exporters $hid" ;;
4465 always
) hid_always
="$hid_always $hid" ;;
4470 echo "$as_me:$LINENO: checking for which gui to use" >&5
4471 echo $ECHO_N "checking for which gui to use... $ECHO_C" >&6
4473 # Check whether --with-gui or --without-gui was given.
4474 if test "${with_gui+set}" = set; then
4481 echo "$as_me:$LINENO: result: $with_gui" >&5
4482 echo "${ECHO_T}$with_gui" >&6
4483 case " $hid_guis no none " in
4484 *\
$with_gui\
* ) HIDLIST
="$with_gui" ;;
4485 * ) { { echo "$as_me:$LINENO: error: $with_gui is not a valid gui" >&5
4486 echo "$as_me: error: $with_gui is not a valid gui" >&2;}
4487 { (exit 1); exit 1; }; } ;;
4490 if test x
"$with_gui" = x
"none" -o x
"$with_gui" = x
"no"
4495 echo "$as_me:$LINENO: checking for whether to use DBUS" >&5
4496 echo $ECHO_N "checking for whether to use DBUS... $ECHO_C" >&6
4497 # Check whether --enable-dbus or --disable-dbus was given.
4498 if test "${enable_dbus+set}" = set; then
4499 enableval
="$enable_dbus"
4505 echo "$as_me:$LINENO: result: $enable_dbus" >&5
4506 echo "${ECHO_T}$enable_dbus" >&6
4509 if test x
$enable_dbus = xyes
; then
4518 if test "x$enable_dbus" = "xyes"; then
4519 case " $with_gui " in
4522 * ) { { echo "$as_me:$LINENO: error: DBUS enabled but only works with a mainloop capable GUI HID.
4523 Either do not use --enable-dbus or enable the gtk or lesstif GUI HID." >&5
4524 echo "$as_me: error: DBUS enabled but only works with a mainloop capable GUI HID.
4525 Either do not use --enable-dbus or enable the gtk or lesstif GUI HID." >&2;}
4526 { (exit 1); exit 1; }; }
4529 # Check for pkg-config
4530 # Extract the first word of "pkg-config", so it can be a program name with args.
4531 set dummy pkg-config
; ac_word
=$2
4532 echo "$as_me:$LINENO: checking for $ac_word" >&5
4533 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4534 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
4535 echo $ECHO_N "(cached) $ECHO_C" >&6
4539 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
4542 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4546 test -z "$as_dir" && as_dir
=.
4547 for ac_exec_ext
in '' $ac_executable_extensions; do
4548 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4549 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
4550 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4556 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
4560 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
4562 if test -n "$PKG_CONFIG"; then
4563 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
4564 echo "${ECHO_T}$PKG_CONFIG" >&6
4566 echo "$as_me:$LINENO: result: no" >&5
4567 echo "${ECHO_T}no" >&6
4570 if test "$PKG_CONFIG" = "no"; then
4571 { { echo "$as_me:$LINENO: error: Cannot find pkg-config, make sure it is installed and in your PATH" >&5
4572 echo "$as_me: error: Cannot find pkg-config, make sure it is installed and in your PATH" >&2;}
4573 { (exit 1); exit 1; }; }
4579 if test -z "$PKG_CONFIG"; then
4580 # Extract the first word of "pkg-config", so it can be a program name with args.
4581 set dummy pkg-config
; ac_word
=$2
4582 echo "$as_me:$LINENO: checking for $ac_word" >&5
4583 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4584 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
4585 echo $ECHO_N "(cached) $ECHO_C" >&6
4589 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
4592 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4596 test -z "$as_dir" && as_dir
=.
4597 for ac_exec_ext
in '' $ac_executable_extensions; do
4598 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4599 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
4600 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4606 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
4610 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
4612 if test -n "$PKG_CONFIG"; then
4613 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
4614 echo "${ECHO_T}$PKG_CONFIG" >&6
4616 echo "$as_me:$LINENO: result: no" >&5
4617 echo "${ECHO_T}no" >&6
4622 if test "$PKG_CONFIG" = "no" ; then
4623 echo "*** The pkg-config script could not be found. Make sure it is"
4624 echo "*** in your path, or set the PKG_CONFIG environment variable"
4625 echo "*** to the full path to pkg-config."
4626 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
4628 PKG_CONFIG_MIN_VERSION
=0.9.0
4629 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
4630 echo "$as_me:$LINENO: checking for dbus-1 >= 0.61" >&5
4631 echo $ECHO_N "checking for dbus-1 >= 0.61... $ECHO_C" >&6
4633 if $PKG_CONFIG --exists "dbus-1 >= 0.61" ; then
4634 echo "$as_me:$LINENO: result: yes" >&5
4635 echo "${ECHO_T}yes" >&6
4638 echo "$as_me:$LINENO: checking DBUS_CFLAGS" >&5
4639 echo $ECHO_N "checking DBUS_CFLAGS... $ECHO_C" >&6
4640 DBUS_CFLAGS
=`$PKG_CONFIG --cflags "dbus-1 >= 0.61"`
4641 echo "$as_me:$LINENO: result: $DBUS_CFLAGS" >&5
4642 echo "${ECHO_T}$DBUS_CFLAGS" >&6
4644 echo "$as_me:$LINENO: checking DBUS_LIBS" >&5
4645 echo $ECHO_N "checking DBUS_LIBS... $ECHO_C" >&6
4646 DBUS_LIBS
=`$PKG_CONFIG --libs "dbus-1 >= 0.61"`
4647 echo "$as_me:$LINENO: result: $DBUS_LIBS" >&5
4648 echo "${ECHO_T}$DBUS_LIBS" >&6
4652 ## If we have a custom action on failure, don't print errors, but
4653 ## do set a variable so people can do so.
4654 DBUS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "dbus-1 >= 0.61"`
4661 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
4662 echo "*** See http://www.freedesktop.org/software/pkgconfig"
4666 if test $succeeded = yes; then
4669 { { echo "$as_me:$LINENO: error: Cannot find dbus-1 >= 0.61, install it and rerun ./configure
4670 Please review the following errors:
4671 $DBUS_PKG_ERRORS" >&5
4672 echo "$as_me: error: Cannot find dbus-1 >= 0.61, install it and rerun ./configure
4673 Please review the following errors:
4674 $DBUS_PKG_ERRORS" >&2;}
4675 { (exit 1); exit 1; }; }
4679 DBUS_VERSION
=`$PKG_CONFIG dbus-1 --modversion`
4682 cat >>confdefs.h
<<\_ACEOF
4689 echo "$as_me:$LINENO: checking for which printer to use" >&5
4690 echo $ECHO_N "checking for which printer to use... $ECHO_C" >&6
4692 # Check whether --with-printer or --without-printer was given.
4693 if test "${with_printer+set}" = set; then
4694 withval
="$with_printer"
4699 echo "$as_me:$LINENO: result: $with_printer" >&5
4700 echo "${ECHO_T}$with_printer" >&6
4701 case " $hid_printers " in
4702 *\
$with_printer\
* )
4703 HIDLIST
="$HIDLIST $with_printer"
4705 * ) { { echo "$as_me:$LINENO: error: $with_printer is not a valid printer" >&5
4706 echo "$as_me: error: $with_printer is not a valid printer" >&2;}
4707 { (exit 1); exit 1; }; } ;;
4710 echo "$as_me:$LINENO: checking for which exporters to use" >&5
4711 echo $ECHO_N "checking for which exporters to use... $ECHO_C" >&6
4713 # Check whether --with-exporters or --without-exporters was given.
4714 if test "${with_exporters+set}" = set; then
4715 withval
="$with_exporters"
4718 with_exporters
=$hid_exporters
4720 echo "$as_me:$LINENO: result: $with_exporters" >&5
4721 echo "${ECHO_T}$with_exporters" >&6
4722 for e
in `echo $with_exporters | sed 's/,/ /g'`; do
4723 case " $hid_exporters " in
4725 HIDLIST
="$HIDLIST $e"
4727 * ) { { echo "$as_me:$LINENO: error: $e is not a valid exporter" >&5
4728 echo "$as_me: error: $e is not a valid exporter" >&2;}
4729 { (exit 1); exit 1; }; } ;;
4733 if test "X$enable_jpeg" = "Xno" -a "X$enable_gif" = "Xno" -a "X$enable_png" = "Xno" ; then
4734 case " ${HIDLIST} " in
4736 { { echo "$as_me:$LINENO: error: you have requested the png HID but turned off all output
4737 formats! If you do not want gif/jpeg/png output, use --with-exporters to list
4738 which exporters you want and do not list png there." >&5
4739 echo "$as_me: error: you have requested the png HID but turned off all output
4740 formats! If you do not want gif/jpeg/png output, use --with-exporters to list
4741 which exporters you want and do not list png there." >&2;}
4742 { (exit 1); exit 1; }; }
4750 for e
in $HIDLIST; do
4751 HIDLIBS
="$HIDLIBS lib$e.a"
4757 # ------------- end HID config -------------------
4759 for ac_prog
in gm4
m4
4761 # Extract the first word of "$ac_prog", so it can be a program name with args.
4762 set dummy
$ac_prog; ac_word
=$2
4763 echo "$as_me:$LINENO: checking for $ac_word" >&5
4764 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4765 if test "${ac_cv_path_M4+set}" = set; then
4766 echo $ECHO_N "(cached) $ECHO_C" >&6
4770 ac_cv_path_M4
="$M4" # Let the user override the test with a path.
4773 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4777 test -z "$as_dir" && as_dir
=.
4778 for ac_exec_ext
in '' $ac_executable_extensions; do
4779 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4780 ac_cv_path_M4
="$as_dir/$ac_word$ac_exec_ext"
4781 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4792 if test -n "$M4"; then
4793 echo "$as_me:$LINENO: result: $M4" >&5
4794 echo "${ECHO_T}$M4" >&6
4796 echo "$as_me:$LINENO: result: no" >&5
4797 echo "${ECHO_T}no" >&6
4800 test -n "$M4" && break
4802 test -n "$M4" || M4
="none"
4804 if test "X$M4" = "Xnone" ; then
4805 { { echo "$as_me:$LINENO: error: Did not find a m4 executible. You need to make sure
4806 that m4 is installed on your system and that m4 is in your path" >&5
4807 echo "$as_me: error: Did not find a m4 executible. You need to make sure
4808 that m4 is installed on your system and that m4 is in your path" >&2;}
4809 { (exit 1); exit 1; }; }
4811 echo "$as_me:$LINENO: checking if $M4 has the division involving negative numbers bug" >&5
4812 echo $ECHO_N "checking if $M4 has the division involving negative numbers bug... $ECHO_C" >&6
4813 pcb_m4_r
=`echo "eval(-2/2)" | $M4`
4814 if test "$pcb_m4_r" != "-1" ; then
4815 echo "$as_me:$LINENO: result: yes" >&5
4816 echo "${ECHO_T}yes" >&6
4817 { { echo "$as_me:$LINENO: error: It appears that $M4 has a bug involving division
4818 with negative numbers. In particular it just returned the result that
4819 -2/2 = $pcb_m4_r instead of -1. This is a known bug in GNU m4-1.4.9. Please
4820 install a non-broken m4." >&5
4821 echo "$as_me: error: It appears that $M4 has a bug involving division
4822 with negative numbers. In particular it just returned the result that
4823 -2/2 = $pcb_m4_r instead of -1. This is a known bug in GNU m4-1.4.9. Please
4824 install a non-broken m4." >&2;}
4825 { (exit 1); exit 1; }; }
4827 echo "$as_me:$LINENO: result: no" >&5
4828 echo "${ECHO_T}no" >&6
4832 for ac_prog
in wish wish83 wish8.3 wish80 wish8.0 cygwish83 cygwish80
4834 # Extract the first word of "$ac_prog", so it can be a program name with args.
4835 set dummy
$ac_prog; ac_word
=$2
4836 echo "$as_me:$LINENO: checking for $ac_word" >&5
4837 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4838 if test "${ac_cv_path_WISH+set}" = set; then
4839 echo $ECHO_N "(cached) $ECHO_C" >&6
4843 ac_cv_path_WISH
="$WISH" # Let the user override the test with a path.
4846 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4850 test -z "$as_dir" && as_dir
=.
4851 for ac_exec_ext
in '' $ac_executable_extensions; do
4852 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4853 ac_cv_path_WISH
="$as_dir/$ac_word$ac_exec_ext"
4854 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4863 WISH
=$ac_cv_path_WISH
4865 if test -n "$WISH"; then
4866 echo "$as_me:$LINENO: result: $WISH" >&5
4867 echo "${ECHO_T}$WISH" >&6
4869 echo "$as_me:$LINENO: result: no" >&5
4870 echo "${ECHO_T}no" >&6
4873 test -n "$WISH" && break
4875 test -n "$WISH" || WISH
="none"
4877 if test "X$WISH" = "Xnone" ; then
4878 { { echo "$as_me:$LINENO: error: Did not find the wish executible. You need to make sure
4879 that tcl is installed on your system and that wish is in your path" >&5
4880 echo "$as_me: error: Did not find the wish executible. You need to make sure
4881 that tcl is installed on your system and that wish is in your path" >&2;}
4882 { (exit 1); exit 1; }; }
4886 cat >>confdefs.h
<<_ACEOF
4893 cat >>confdefs.h
<<_ACEOF
4898 for ac_prog
in latex
4900 # Extract the first word of "$ac_prog", so it can be a program name with args.
4901 set dummy
$ac_prog; ac_word
=$2
4902 echo "$as_me:$LINENO: checking for $ac_word" >&5
4903 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4904 if test "${ac_cv_prog_LATEX+set}" = set; then
4905 echo $ECHO_N "(cached) $ECHO_C" >&6
4907 if test -n "$LATEX"; then
4908 ac_cv_prog_LATEX
="$LATEX" # Let the user override the test.
4910 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4914 test -z "$as_dir" && as_dir
=.
4915 for ac_exec_ext
in '' $ac_executable_extensions; do
4916 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4917 ac_cv_prog_LATEX
="$ac_prog"
4918 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4926 LATEX
=$ac_cv_prog_LATEX
4927 if test -n "$LATEX"; then
4928 echo "$as_me:$LINENO: result: $LATEX" >&5
4929 echo "${ECHO_T}$LATEX" >&6
4931 echo "$as_me:$LINENO: result: no" >&5
4932 echo "${ECHO_T}no" >&6
4935 test -n "$LATEX" && break
4937 test -n "$LATEX" || LATEX
="notfound"
4941 if test x
$LATEX = xnotfound
; then
4943 MISSING_LATEX_FALSE
='#'
4945 MISSING_LATEX_TRUE
='#'
4946 MISSING_LATEX_FALSE
=
4950 for ac_prog
in pdflatex
4952 # Extract the first word of "$ac_prog", so it can be a program name with args.
4953 set dummy
$ac_prog; ac_word
=$2
4954 echo "$as_me:$LINENO: checking for $ac_word" >&5
4955 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4956 if test "${ac_cv_prog_PDFLATEX+set}" = set; then
4957 echo $ECHO_N "(cached) $ECHO_C" >&6
4959 if test -n "$PDFLATEX"; then
4960 ac_cv_prog_PDFLATEX
="$PDFLATEX" # Let the user override the test.
4962 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4966 test -z "$as_dir" && as_dir
=.
4967 for ac_exec_ext
in '' $ac_executable_extensions; do
4968 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4969 ac_cv_prog_PDFLATEX
="$ac_prog"
4970 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4978 PDFLATEX
=$ac_cv_prog_PDFLATEX
4979 if test -n "$PDFLATEX"; then
4980 echo "$as_me:$LINENO: result: $PDFLATEX" >&5
4981 echo "${ECHO_T}$PDFLATEX" >&6
4983 echo "$as_me:$LINENO: result: no" >&5
4984 echo "${ECHO_T}no" >&6
4987 test -n "$PDFLATEX" && break
4989 test -n "$PDFLATEX" || PDFLATEX
="notfound"
4993 if test x
$PDFLATEX = xnotfound
; then
4994 MISSING_PDFLATEX_TRUE
=
4995 MISSING_PDFLATEX_FALSE
='#'
4997 MISSING_PDFLATEX_TRUE
='#'
4998 MISSING_PDFLATEX_FALSE
=
5002 for ac_prog
in dvips
5004 # Extract the first word of "$ac_prog", so it can be a program name with args.
5005 set dummy
$ac_prog; ac_word
=$2
5006 echo "$as_me:$LINENO: checking for $ac_word" >&5
5007 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5008 if test "${ac_cv_prog_DVIPS+set}" = set; then
5009 echo $ECHO_N "(cached) $ECHO_C" >&6
5011 if test -n "$DVIPS"; then
5012 ac_cv_prog_DVIPS
="$DVIPS" # Let the user override the test.
5014 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5018 test -z "$as_dir" && as_dir
=.
5019 for ac_exec_ext
in '' $ac_executable_extensions; do
5020 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5021 ac_cv_prog_DVIPS
="$ac_prog"
5022 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5030 DVIPS
=$ac_cv_prog_DVIPS
5031 if test -n "$DVIPS"; then
5032 echo "$as_me:$LINENO: result: $DVIPS" >&5
5033 echo "${ECHO_T}$DVIPS" >&6
5035 echo "$as_me:$LINENO: result: no" >&5
5036 echo "${ECHO_T}no" >&6
5039 test -n "$DVIPS" && break
5041 test -n "$DVIPS" || DVIPS
="notfound"
5045 if test x
$DVIPS = xnotfound
; then
5047 MISSING_DVIPS_FALSE
='#'
5049 MISSING_DVIPS_TRUE
='#'
5050 MISSING_DVIPS_FALSE
=
5054 for ac_prog
in ps2pdf
5056 # Extract the first word of "$ac_prog", so it can be a program name with args.
5057 set dummy
$ac_prog; ac_word
=$2
5058 echo "$as_me:$LINENO: checking for $ac_word" >&5
5059 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5060 if test "${ac_cv_prog_PS2PDF+set}" = set; then
5061 echo $ECHO_N "(cached) $ECHO_C" >&6
5063 if test -n "$PS2PDF"; then
5064 ac_cv_prog_PS2PDF
="$PS2PDF" # Let the user override the test.
5066 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5070 test -z "$as_dir" && as_dir
=.
5071 for ac_exec_ext
in '' $ac_executable_extensions; do
5072 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5073 ac_cv_prog_PS2PDF
="$ac_prog"
5074 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5082 PS2PDF
=$ac_cv_prog_PS2PDF
5083 if test -n "$PS2PDF"; then
5084 echo "$as_me:$LINENO: result: $PS2PDF" >&5
5085 echo "${ECHO_T}$PS2PDF" >&6
5087 echo "$as_me:$LINENO: result: no" >&5
5088 echo "${ECHO_T}no" >&6
5091 test -n "$PS2PDF" && break
5093 test -n "$PS2PDF" || PS2PDF
="notfound"
5097 if test x
$PS2PDF = xnotfound
; then
5098 MISSING_PS2PDF_TRUE
=
5099 MISSING_PS2PDF_FALSE
='#'
5101 MISSING_PS2PDF_TRUE
='#'
5102 MISSING_PS2PDF_FALSE
=
5107 echo "$as_me:$LINENO: checking for sqrt in -lm" >&5
5108 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6
5109 if test "${ac_cv_lib_m_sqrt+set}" = set; then
5110 echo $ECHO_N "(cached) $ECHO_C" >&6
5112 ac_check_lib_save_LIBS
=$LIBS
5114 cat >conftest.
$ac_ext <<_ACEOF
5117 cat confdefs.h
>>conftest.
$ac_ext
5118 cat >>conftest.
$ac_ext <<_ACEOF
5119 /* end confdefs.h. */
5121 /* Override any gcc2 internal prototype to avoid an error. */
5125 /* We use char because int might match the return type of a gcc2
5126 builtin and then its argument prototype would still apply. */
5136 rm -f conftest.
$ac_objext conftest
$ac_exeext
5137 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5138 (eval $ac_link) 2>conftest.er1
5140 grep -v '^ *+' conftest.er1
>conftest.err
5142 cat conftest.err
>&5
5143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5144 (exit $ac_status); } &&
5145 { ac_try
='test -z "$ac_c_werror_flag"
5146 || test ! -s conftest.err'
5147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5151 (exit $ac_status); }; } &&
5152 { ac_try
='test -s conftest$ac_exeext'
5153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5157 (exit $ac_status); }; }; then
5158 ac_cv_lib_m_sqrt
=yes
5160 echo "$as_me: failed program was:" >&5
5161 sed 's/^/| /' conftest.
$ac_ext >&5
5165 rm -f conftest.err conftest.
$ac_objext \
5166 conftest
$ac_exeext conftest.
$ac_ext
5167 LIBS
=$ac_check_lib_save_LIBS
5169 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5
5170 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6
5171 if test $ac_cv_lib_m_sqrt = yes; then
5172 cat >>confdefs.h
<<_ACEOF
5181 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
5182 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
5183 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
5184 echo $ECHO_N "(cached) $ECHO_C" >&6
5186 ac_check_lib_save_LIBS
=$LIBS
5188 cat >conftest.
$ac_ext <<_ACEOF
5191 cat confdefs.h
>>conftest.
$ac_ext
5192 cat >>conftest.
$ac_ext <<_ACEOF
5193 /* end confdefs.h. */
5195 /* Override any gcc2 internal prototype to avoid an error. */
5199 /* We use char because int might match the return type of a gcc2
5200 builtin and then its argument prototype would still apply. */
5210 rm -f conftest.
$ac_objext conftest
$ac_exeext
5211 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5212 (eval $ac_link) 2>conftest.er1
5214 grep -v '^ *+' conftest.er1
>conftest.err
5216 cat conftest.err
>&5
5217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5218 (exit $ac_status); } &&
5219 { ac_try
='test -z "$ac_c_werror_flag"
5220 || test ! -s conftest.err'
5221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5225 (exit $ac_status); }; } &&
5226 { ac_try
='test -s conftest$ac_exeext'
5227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5231 (exit $ac_status); }; }; then
5232 ac_cv_lib_dl_dlopen
=yes
5234 echo "$as_me: failed program was:" >&5
5235 sed 's/^/| /' conftest.
$ac_ext >&5
5237 ac_cv_lib_dl_dlopen
=no
5239 rm -f conftest.err conftest.
$ac_objext \
5240 conftest
$ac_exeext conftest.
$ac_ext
5241 LIBS
=$ac_check_lib_save_LIBS
5243 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
5244 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
5245 if test $ac_cv_lib_dl_dlopen = yes; then
5246 cat >>confdefs.h
<<_ACEOF
5247 #define HAVE_LIBDL 1
5255 echo "$as_me:$LINENO: checking for gethostbyname in -lxnet" >&5
5256 echo $ECHO_N "checking for gethostbyname in -lxnet... $ECHO_C" >&6
5257 if test "${ac_cv_lib_xnet_gethostbyname+set}" = set; then
5258 echo $ECHO_N "(cached) $ECHO_C" >&6
5260 ac_check_lib_save_LIBS
=$LIBS
5262 cat >conftest.
$ac_ext <<_ACEOF
5265 cat confdefs.h
>>conftest.
$ac_ext
5266 cat >>conftest.
$ac_ext <<_ACEOF
5267 /* end confdefs.h. */
5269 /* Override any gcc2 internal prototype to avoid an error. */
5273 /* We use char because int might match the return type of a gcc2
5274 builtin and then its argument prototype would still apply. */
5275 char gethostbyname ();
5284 rm -f conftest.
$ac_objext conftest
$ac_exeext
5285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5286 (eval $ac_link) 2>conftest.er1
5288 grep -v '^ *+' conftest.er1
>conftest.err
5290 cat conftest.err
>&5
5291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5292 (exit $ac_status); } &&
5293 { ac_try
='test -z "$ac_c_werror_flag"
5294 || test ! -s conftest.err'
5295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5299 (exit $ac_status); }; } &&
5300 { ac_try
='test -s conftest$ac_exeext'
5301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5305 (exit $ac_status); }; }; then
5306 ac_cv_lib_xnet_gethostbyname
=yes
5308 echo "$as_me: failed program was:" >&5
5309 sed 's/^/| /' conftest.
$ac_ext >&5
5311 ac_cv_lib_xnet_gethostbyname
=no
5313 rm -f conftest.err conftest.
$ac_objext \
5314 conftest
$ac_exeext conftest.
$ac_ext
5315 LIBS
=$ac_check_lib_save_LIBS
5317 echo "$as_me:$LINENO: result: $ac_cv_lib_xnet_gethostbyname" >&5
5318 echo "${ECHO_T}$ac_cv_lib_xnet_gethostbyname" >&6
5319 if test $ac_cv_lib_xnet_gethostbyname = yes; then
5320 cat >>confdefs.h
<<_ACEOF
5321 #define HAVE_LIBXNET 1
5329 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
5330 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
5331 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
5332 echo $ECHO_N "(cached) $ECHO_C" >&6
5334 ac_check_lib_save_LIBS
=$LIBS
5336 cat >conftest.
$ac_ext <<_ACEOF
5339 cat confdefs.h
>>conftest.
$ac_ext
5340 cat >>conftest.
$ac_ext <<_ACEOF
5341 /* end confdefs.h. */
5343 /* Override any gcc2 internal prototype to avoid an error. */
5347 /* We use char because int might match the return type of a gcc2
5348 builtin and then its argument prototype would still apply. */
5358 rm -f conftest.
$ac_objext conftest
$ac_exeext
5359 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5360 (eval $ac_link) 2>conftest.er1
5362 grep -v '^ *+' conftest.er1
>conftest.err
5364 cat conftest.err
>&5
5365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5366 (exit $ac_status); } &&
5367 { ac_try
='test -z "$ac_c_werror_flag"
5368 || test ! -s conftest.err'
5369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5373 (exit $ac_status); }; } &&
5374 { ac_try
='test -s conftest$ac_exeext'
5375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5379 (exit $ac_status); }; }; then
5380 ac_cv_lib_fl_yywrap
=yes
5382 echo "$as_me: failed program was:" >&5
5383 sed 's/^/| /' conftest.
$ac_ext >&5
5385 ac_cv_lib_fl_yywrap
=no
5387 rm -f conftest.err conftest.
$ac_objext \
5388 conftest
$ac_exeext conftest.
$ac_ext
5389 LIBS
=$ac_check_lib_save_LIBS
5391 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
5392 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
5393 if test $ac_cv_lib_fl_yywrap = yes; then
5394 cat >>confdefs.h
<<_ACEOF
5395 #define HAVE_LIBFL 1
5403 for ac_func
in strerror
5405 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5406 echo "$as_me:$LINENO: checking for $ac_func" >&5
5407 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5408 if eval "test \"\${$as_ac_var+set}\" = set"; then
5409 echo $ECHO_N "(cached) $ECHO_C" >&6
5411 cat >conftest.
$ac_ext <<_ACEOF
5414 cat confdefs.h
>>conftest.
$ac_ext
5415 cat >>conftest.
$ac_ext <<_ACEOF
5416 /* end confdefs.h. */
5417 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5418 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5419 #define $ac_func innocuous_$ac_func
5421 /* System header to define __stub macros and hopefully few prototypes,
5422 which can conflict with char $ac_func (); below.
5423 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5424 <limits.h> exists even on freestanding compilers. */
5427 # include <limits.h>
5429 # include <assert.h>
5434 /* Override any gcc2 internal prototype to avoid an error. */
5439 /* We use char because int might match the return type of a gcc2
5440 builtin and then its argument prototype would still apply. */
5442 /* The GNU C library defines this for functions which it implements
5443 to always fail with ENOSYS. Some functions are actually named
5444 something starting with __ and the normal name is an alias. */
5445 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5448 char (*f) () = $ac_func;
5457 return f != $ac_func;
5462 rm -f conftest.
$ac_objext conftest
$ac_exeext
5463 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5464 (eval $ac_link) 2>conftest.er1
5466 grep -v '^ *+' conftest.er1
>conftest.err
5468 cat conftest.err
>&5
5469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5470 (exit $ac_status); } &&
5471 { ac_try
='test -z "$ac_c_werror_flag"
5472 || test ! -s conftest.err'
5473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5477 (exit $ac_status); }; } &&
5478 { ac_try
='test -s conftest$ac_exeext'
5479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5483 (exit $ac_status); }; }; then
5484 eval "$as_ac_var=yes"
5486 echo "$as_me: failed program was:" >&5
5487 sed 's/^/| /' conftest.
$ac_ext >&5
5489 eval "$as_ac_var=no"
5491 rm -f conftest.err conftest.
$ac_objext \
5492 conftest
$ac_exeext conftest.
$ac_ext
5494 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5495 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5496 if test `eval echo '${'$as_ac_var'}'` = yes; then
5497 cat >>confdefs.h
<<_ACEOF
5498 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5506 for ac_func
in regcomp re_comp
5508 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5509 echo "$as_me:$LINENO: checking for $ac_func" >&5
5510 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5511 if eval "test \"\${$as_ac_var+set}\" = set"; then
5512 echo $ECHO_N "(cached) $ECHO_C" >&6
5514 cat >conftest.
$ac_ext <<_ACEOF
5517 cat confdefs.h
>>conftest.
$ac_ext
5518 cat >>conftest.
$ac_ext <<_ACEOF
5519 /* end confdefs.h. */
5520 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5521 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5522 #define $ac_func innocuous_$ac_func
5524 /* System header to define __stub macros and hopefully few prototypes,
5525 which can conflict with char $ac_func (); below.
5526 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5527 <limits.h> exists even on freestanding compilers. */
5530 # include <limits.h>
5532 # include <assert.h>
5537 /* Override any gcc2 internal prototype to avoid an error. */
5542 /* We use char because int might match the return type of a gcc2
5543 builtin and then its argument prototype would still apply. */
5545 /* The GNU C library defines this for functions which it implements
5546 to always fail with ENOSYS. Some functions are actually named
5547 something starting with __ and the normal name is an alias. */
5548 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5551 char (*f) () = $ac_func;
5560 return f != $ac_func;
5565 rm -f conftest.
$ac_objext conftest
$ac_exeext
5566 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5567 (eval $ac_link) 2>conftest.er1
5569 grep -v '^ *+' conftest.er1
>conftest.err
5571 cat conftest.err
>&5
5572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5573 (exit $ac_status); } &&
5574 { ac_try
='test -z "$ac_c_werror_flag"
5575 || test ! -s conftest.err'
5576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5580 (exit $ac_status); }; } &&
5581 { ac_try
='test -s conftest$ac_exeext'
5582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5586 (exit $ac_status); }; }; then
5587 eval "$as_ac_var=yes"
5589 echo "$as_me: failed program was:" >&5
5590 sed 's/^/| /' conftest.
$ac_ext >&5
5592 eval "$as_ac_var=no"
5594 rm -f conftest.err conftest.
$ac_objext \
5595 conftest
$ac_exeext conftest.
$ac_ext
5597 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5598 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5599 if test `eval echo '${'$as_ac_var'}'` = yes; then
5600 cat >>confdefs.h
<<_ACEOF
5601 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5610 for ac_func
in logf expf rint
5612 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5613 echo "$as_me:$LINENO: checking for $ac_func" >&5
5614 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5615 if eval "test \"\${$as_ac_var+set}\" = set"; then
5616 echo $ECHO_N "(cached) $ECHO_C" >&6
5618 cat >conftest.
$ac_ext <<_ACEOF
5621 cat confdefs.h
>>conftest.
$ac_ext
5622 cat >>conftest.
$ac_ext <<_ACEOF
5623 /* end confdefs.h. */
5624 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5625 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5626 #define $ac_func innocuous_$ac_func
5628 /* System header to define __stub macros and hopefully few prototypes,
5629 which can conflict with char $ac_func (); below.
5630 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5631 <limits.h> exists even on freestanding compilers. */
5634 # include <limits.h>
5636 # include <assert.h>
5641 /* Override any gcc2 internal prototype to avoid an error. */
5646 /* We use char because int might match the return type of a gcc2
5647 builtin and then its argument prototype would still apply. */
5649 /* The GNU C library defines this for functions which it implements
5650 to always fail with ENOSYS. Some functions are actually named
5651 something starting with __ and the normal name is an alias. */
5652 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5655 char (*f) () = $ac_func;
5664 return f != $ac_func;
5669 rm -f conftest.
$ac_objext conftest
$ac_exeext
5670 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5671 (eval $ac_link) 2>conftest.er1
5673 grep -v '^ *+' conftest.er1
>conftest.err
5675 cat conftest.err
>&5
5676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5677 (exit $ac_status); } &&
5678 { ac_try
='test -z "$ac_c_werror_flag"
5679 || test ! -s conftest.err'
5680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5684 (exit $ac_status); }; } &&
5685 { ac_try
='test -s conftest$ac_exeext'
5686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5690 (exit $ac_status); }; }; then
5691 eval "$as_ac_var=yes"
5693 echo "$as_me: failed program was:" >&5
5694 sed 's/^/| /' conftest.
$ac_ext >&5
5696 eval "$as_ac_var=no"
5698 rm -f conftest.err conftest.
$ac_objext \
5699 conftest
$ac_exeext conftest.
$ac_ext
5701 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5702 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5703 if test `eval echo '${'$as_ac_var'}'` = yes; then
5704 cat >>confdefs.h
<<_ACEOF
5705 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5712 for ac_func
in vsnprintf
5714 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5715 echo "$as_me:$LINENO: checking for $ac_func" >&5
5716 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5717 if eval "test \"\${$as_ac_var+set}\" = set"; then
5718 echo $ECHO_N "(cached) $ECHO_C" >&6
5720 cat >conftest.
$ac_ext <<_ACEOF
5723 cat confdefs.h
>>conftest.
$ac_ext
5724 cat >>conftest.
$ac_ext <<_ACEOF
5725 /* end confdefs.h. */
5726 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5727 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5728 #define $ac_func innocuous_$ac_func
5730 /* System header to define __stub macros and hopefully few prototypes,
5731 which can conflict with char $ac_func (); below.
5732 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5733 <limits.h> exists even on freestanding compilers. */
5736 # include <limits.h>
5738 # include <assert.h>
5743 /* Override any gcc2 internal prototype to avoid an error. */
5748 /* We use char because int might match the return type of a gcc2
5749 builtin and then its argument prototype would still apply. */
5751 /* The GNU C library defines this for functions which it implements
5752 to always fail with ENOSYS. Some functions are actually named
5753 something starting with __ and the normal name is an alias. */
5754 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5757 char (*f) () = $ac_func;
5766 return f != $ac_func;
5771 rm -f conftest.
$ac_objext conftest
$ac_exeext
5772 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5773 (eval $ac_link) 2>conftest.er1
5775 grep -v '^ *+' conftest.er1
>conftest.err
5777 cat conftest.err
>&5
5778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5779 (exit $ac_status); } &&
5780 { ac_try
='test -z "$ac_c_werror_flag"
5781 || test ! -s conftest.err'
5782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5786 (exit $ac_status); }; } &&
5787 { ac_try
='test -s conftest$ac_exeext'
5788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5792 (exit $ac_status); }; }; then
5793 eval "$as_ac_var=yes"
5795 echo "$as_me: failed program was:" >&5
5796 sed 's/^/| /' conftest.
$ac_ext >&5
5798 eval "$as_ac_var=no"
5800 rm -f conftest.err conftest.
$ac_objext \
5801 conftest
$ac_exeext conftest.
$ac_ext
5803 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5804 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5805 if test `eval echo '${'$as_ac_var'}'` = yes; then
5806 cat >>confdefs.h
<<_ACEOF
5807 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5816 for ac_func
in getpwuid gethostname getcwd
5818 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5819 echo "$as_me:$LINENO: checking for $ac_func" >&5
5820 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5821 if eval "test \"\${$as_ac_var+set}\" = set"; then
5822 echo $ECHO_N "(cached) $ECHO_C" >&6
5824 cat >conftest.
$ac_ext <<_ACEOF
5827 cat confdefs.h
>>conftest.
$ac_ext
5828 cat >>conftest.
$ac_ext <<_ACEOF
5829 /* end confdefs.h. */
5830 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5831 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5832 #define $ac_func innocuous_$ac_func
5834 /* System header to define __stub macros and hopefully few prototypes,
5835 which can conflict with char $ac_func (); below.
5836 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5837 <limits.h> exists even on freestanding compilers. */
5840 # include <limits.h>
5842 # include <assert.h>
5847 /* Override any gcc2 internal prototype to avoid an error. */
5852 /* We use char because int might match the return type of a gcc2
5853 builtin and then its argument prototype would still apply. */
5855 /* The GNU C library defines this for functions which it implements
5856 to always fail with ENOSYS. Some functions are actually named
5857 something starting with __ and the normal name is an alias. */
5858 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5861 char (*f) () = $ac_func;
5870 return f != $ac_func;
5875 rm -f conftest.
$ac_objext conftest
$ac_exeext
5876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5877 (eval $ac_link) 2>conftest.er1
5879 grep -v '^ *+' conftest.er1
>conftest.err
5881 cat conftest.err
>&5
5882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5883 (exit $ac_status); } &&
5884 { ac_try
='test -z "$ac_c_werror_flag"
5885 || test ! -s conftest.err'
5886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5890 (exit $ac_status); }; } &&
5891 { ac_try
='test -s conftest$ac_exeext'
5892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5896 (exit $ac_status); }; }; then
5897 eval "$as_ac_var=yes"
5899 echo "$as_me: failed program was:" >&5
5900 sed 's/^/| /' conftest.
$ac_ext >&5
5902 eval "$as_ac_var=no"
5904 rm -f conftest.err conftest.
$ac_objext \
5905 conftest
$ac_exeext conftest.
$ac_ext
5907 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5908 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5909 if test `eval echo '${'$as_ac_var'}'` = yes; then
5910 cat >>confdefs.h
<<_ACEOF
5911 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5918 for ac_func
in random
5920 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5921 echo "$as_me:$LINENO: checking for $ac_func" >&5
5922 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5923 if eval "test \"\${$as_ac_var+set}\" = set"; then
5924 echo $ECHO_N "(cached) $ECHO_C" >&6
5926 cat >conftest.
$ac_ext <<_ACEOF
5929 cat confdefs.h
>>conftest.
$ac_ext
5930 cat >>conftest.
$ac_ext <<_ACEOF
5931 /* end confdefs.h. */
5932 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5933 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5934 #define $ac_func innocuous_$ac_func
5936 /* System header to define __stub macros and hopefully few prototypes,
5937 which can conflict with char $ac_func (); below.
5938 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5939 <limits.h> exists even on freestanding compilers. */
5942 # include <limits.h>
5944 # include <assert.h>
5949 /* Override any gcc2 internal prototype to avoid an error. */
5954 /* We use char because int might match the return type of a gcc2
5955 builtin and then its argument prototype would still apply. */
5957 /* The GNU C library defines this for functions which it implements
5958 to always fail with ENOSYS. Some functions are actually named
5959 something starting with __ and the normal name is an alias. */
5960 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5963 char (*f) () = $ac_func;
5972 return f != $ac_func;
5977 rm -f conftest.
$ac_objext conftest
$ac_exeext
5978 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5979 (eval $ac_link) 2>conftest.er1
5981 grep -v '^ *+' conftest.er1
>conftest.err
5983 cat conftest.err
>&5
5984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5985 (exit $ac_status); } &&
5986 { ac_try
='test -z "$ac_c_werror_flag"
5987 || test ! -s conftest.err'
5988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5992 (exit $ac_status); }; } &&
5993 { ac_try
='test -s conftest$ac_exeext'
5994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5998 (exit $ac_status); }; }; then
5999 eval "$as_ac_var=yes"
6001 echo "$as_me: failed program was:" >&5
6002 sed 's/^/| /' conftest.
$ac_ext >&5
6004 eval "$as_ac_var=no"
6006 rm -f conftest.err conftest.
$ac_objext \
6007 conftest
$ac_exeext conftest.
$ac_ext
6009 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6010 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6011 if test `eval echo '${'$as_ac_var'}'` = yes; then
6012 cat >>confdefs.h
<<_ACEOF
6013 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6022 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6023 echo "$as_me:$LINENO: checking for $ac_func" >&5
6024 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6025 if eval "test \"\${$as_ac_var+set}\" = set"; then
6026 echo $ECHO_N "(cached) $ECHO_C" >&6
6028 cat >conftest.
$ac_ext <<_ACEOF
6031 cat confdefs.h
>>conftest.
$ac_ext
6032 cat >>conftest.
$ac_ext <<_ACEOF
6033 /* end confdefs.h. */
6034 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6035 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6036 #define $ac_func innocuous_$ac_func
6038 /* System header to define __stub macros and hopefully few prototypes,
6039 which can conflict with char $ac_func (); below.
6040 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6041 <limits.h> exists even on freestanding compilers. */
6044 # include <limits.h>
6046 # include <assert.h>
6051 /* Override any gcc2 internal prototype to avoid an error. */
6056 /* We use char because int might match the return type of a gcc2
6057 builtin and then its argument prototype would still apply. */
6059 /* The GNU C library defines this for functions which it implements
6060 to always fail with ENOSYS. Some functions are actually named
6061 something starting with __ and the normal name is an alias. */
6062 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6065 char (*f) () = $ac_func;
6074 return f != $ac_func;
6079 rm -f conftest.
$ac_objext conftest
$ac_exeext
6080 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6081 (eval $ac_link) 2>conftest.er1
6083 grep -v '^ *+' conftest.er1
>conftest.err
6085 cat conftest.err
>&5
6086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6087 (exit $ac_status); } &&
6088 { ac_try
='test -z "$ac_c_werror_flag"
6089 || test ! -s conftest.err'
6090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6094 (exit $ac_status); }; } &&
6095 { ac_try
='test -s conftest$ac_exeext'
6096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6100 (exit $ac_status); }; }; then
6101 eval "$as_ac_var=yes"
6103 echo "$as_me: failed program was:" >&5
6104 sed 's/^/| /' conftest.
$ac_ext >&5
6106 eval "$as_ac_var=no"
6108 rm -f conftest.err conftest.
$ac_objext \
6109 conftest
$ac_exeext conftest.
$ac_ext
6111 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6112 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6113 if test `eval echo '${'$as_ac_var'}'` = yes; then
6114 cat >>confdefs.h
<<_ACEOF
6115 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6122 # normally used for all file i/o
6124 for ac_func
in popen
6126 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6127 echo "$as_me:$LINENO: checking for $ac_func" >&5
6128 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6129 if eval "test \"\${$as_ac_var+set}\" = set"; then
6130 echo $ECHO_N "(cached) $ECHO_C" >&6
6132 cat >conftest.
$ac_ext <<_ACEOF
6135 cat confdefs.h
>>conftest.
$ac_ext
6136 cat >>conftest.
$ac_ext <<_ACEOF
6137 /* end confdefs.h. */
6138 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6139 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6140 #define $ac_func innocuous_$ac_func
6142 /* System header to define __stub macros and hopefully few prototypes,
6143 which can conflict with char $ac_func (); below.
6144 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6145 <limits.h> exists even on freestanding compilers. */
6148 # include <limits.h>
6150 # include <assert.h>
6155 /* Override any gcc2 internal prototype to avoid an error. */
6160 /* We use char because int might match the return type of a gcc2
6161 builtin and then its argument prototype would still apply. */
6163 /* The GNU C library defines this for functions which it implements
6164 to always fail with ENOSYS. Some functions are actually named
6165 something starting with __ and the normal name is an alias. */
6166 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6169 char (*f) () = $ac_func;
6178 return f != $ac_func;
6183 rm -f conftest.
$ac_objext conftest
$ac_exeext
6184 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6185 (eval $ac_link) 2>conftest.er1
6187 grep -v '^ *+' conftest.er1
>conftest.err
6189 cat conftest.err
>&5
6190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6191 (exit $ac_status); } &&
6192 { ac_try
='test -z "$ac_c_werror_flag"
6193 || test ! -s conftest.err'
6194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6198 (exit $ac_status); }; } &&
6199 { ac_try
='test -s conftest$ac_exeext'
6200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6204 (exit $ac_status); }; }; then
6205 eval "$as_ac_var=yes"
6207 echo "$as_me: failed program was:" >&5
6208 sed 's/^/| /' conftest.
$ac_ext >&5
6210 eval "$as_ac_var=no"
6212 rm -f conftest.err conftest.
$ac_objext \
6213 conftest
$ac_exeext conftest.
$ac_ext
6215 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6216 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6217 if test `eval echo '${'$as_ac_var'}'` = yes; then
6218 cat >>confdefs.h
<<_ACEOF
6219 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6229 for ac_func
in realpath canonicalize_file_name
6231 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6232 echo "$as_me:$LINENO: checking for $ac_func" >&5
6233 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6234 if eval "test \"\${$as_ac_var+set}\" = set"; then
6235 echo $ECHO_N "(cached) $ECHO_C" >&6
6237 cat >conftest.
$ac_ext <<_ACEOF
6240 cat confdefs.h
>>conftest.
$ac_ext
6241 cat >>conftest.
$ac_ext <<_ACEOF
6242 /* end confdefs.h. */
6243 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6244 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6245 #define $ac_func innocuous_$ac_func
6247 /* System header to define __stub macros and hopefully few prototypes,
6248 which can conflict with char $ac_func (); below.
6249 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6250 <limits.h> exists even on freestanding compilers. */
6253 # include <limits.h>
6255 # include <assert.h>
6260 /* Override any gcc2 internal prototype to avoid an error. */
6265 /* We use char because int might match the return type of a gcc2
6266 builtin and then its argument prototype would still apply. */
6268 /* The GNU C library defines this for functions which it implements
6269 to always fail with ENOSYS. Some functions are actually named
6270 something starting with __ and the normal name is an alias. */
6271 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6274 char (*f) () = $ac_func;
6283 return f != $ac_func;
6288 rm -f conftest.
$ac_objext conftest
$ac_exeext
6289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6290 (eval $ac_link) 2>conftest.er1
6292 grep -v '^ *+' conftest.er1
>conftest.err
6294 cat conftest.err
>&5
6295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6296 (exit $ac_status); } &&
6297 { ac_try
='test -z "$ac_c_werror_flag"
6298 || test ! -s conftest.err'
6299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6303 (exit $ac_status); }; } &&
6304 { ac_try
='test -s conftest$ac_exeext'
6305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6309 (exit $ac_status); }; }; then
6310 eval "$as_ac_var=yes"
6312 echo "$as_me: failed program was:" >&5
6313 sed 's/^/| /' conftest.
$ac_ext >&5
6315 eval "$as_ac_var=no"
6317 rm -f conftest.err conftest.
$ac_objext \
6318 conftest
$ac_exeext conftest.
$ac_ext
6320 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6321 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6322 if test `eval echo '${'$as_ac_var'}'` = yes; then
6323 cat >>confdefs.h
<<_ACEOF
6324 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6330 echo "$as_me:$LINENO: checking whether canonicalize_file_name must be declared" >&5
6331 echo $ECHO_N "checking whether canonicalize_file_name must be declared... $ECHO_C" >&6
6332 if test "${libiberty_cv_decl_needed_canonicalize_file_name+set}" = set; then
6333 echo $ECHO_N "(cached) $ECHO_C" >&6
6335 cat >conftest.
$ac_ext <<_ACEOF
6338 cat confdefs.h
>>conftest.
$ac_ext
6339 cat >>conftest.
$ac_ext <<_ACEOF
6340 /* end confdefs.h. */
6342 #include "confdefs.h"
6344 #ifdef HAVE_STRING_H
6347 #ifdef HAVE_STRINGS_H
6348 #include <strings.h>
6351 #ifdef HAVE_STDLIB_H
6354 #ifdef HAVE_UNISTD_H
6360 char *(*pfn) = (char *(*)) canonicalize_file_name
6365 rm -f conftest.
$ac_objext
6366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6367 (eval $ac_compile) 2>conftest.er1
6369 grep -v '^ *+' conftest.er1
>conftest.err
6371 cat conftest.err
>&5
6372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6373 (exit $ac_status); } &&
6374 { ac_try
='test -z "$ac_c_werror_flag"
6375 || test ! -s conftest.err'
6376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6380 (exit $ac_status); }; } &&
6381 { ac_try
='test -s conftest.$ac_objext'
6382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6386 (exit $ac_status); }; }; then
6387 libiberty_cv_decl_needed_canonicalize_file_name
=no
6389 echo "$as_me: failed program was:" >&5
6390 sed 's/^/| /' conftest.
$ac_ext >&5
6392 libiberty_cv_decl_needed_canonicalize_file_name
=yes
6394 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6397 echo "$as_me:$LINENO: result: $libiberty_cv_decl_needed_canonicalize_file_name" >&5
6398 echo "${ECHO_T}$libiberty_cv_decl_needed_canonicalize_file_name" >&6
6399 if test $libiberty_cv_decl_needed_canonicalize_file_name = yes; then
6401 cat >>confdefs.h
<<\_ACEOF
6402 #define NEED_DECLARATION_CANONICALIZE_FILE_NAME 1
6409 echo "$as_me:$LINENO: checking for egrep" >&5
6410 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
6411 if test "${ac_cv_prog_egrep+set}" = set; then
6412 echo $ECHO_N "(cached) $ECHO_C" >&6
6414 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
6415 then ac_cv_prog_egrep
='grep -E'
6416 else ac_cv_prog_egrep
='egrep'
6419 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
6420 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
6421 EGREP
=$ac_cv_prog_egrep
6424 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6425 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6426 if test "${ac_cv_header_stdc+set}" = set; then
6427 echo $ECHO_N "(cached) $ECHO_C" >&6
6429 cat >conftest.
$ac_ext <<_ACEOF
6432 cat confdefs.h
>>conftest.
$ac_ext
6433 cat >>conftest.
$ac_ext <<_ACEOF
6434 /* end confdefs.h. */
6448 rm -f conftest.
$ac_objext
6449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6450 (eval $ac_compile) 2>conftest.er1
6452 grep -v '^ *+' conftest.er1
>conftest.err
6454 cat conftest.err
>&5
6455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6456 (exit $ac_status); } &&
6457 { ac_try
='test -z "$ac_c_werror_flag"
6458 || test ! -s conftest.err'
6459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6463 (exit $ac_status); }; } &&
6464 { ac_try
='test -s conftest.$ac_objext'
6465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6469 (exit $ac_status); }; }; then
6470 ac_cv_header_stdc
=yes
6472 echo "$as_me: failed program was:" >&5
6473 sed 's/^/| /' conftest.
$ac_ext >&5
6475 ac_cv_header_stdc
=no
6477 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6479 if test $ac_cv_header_stdc = yes; then
6480 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6481 cat >conftest.
$ac_ext <<_ACEOF
6484 cat confdefs.h
>>conftest.
$ac_ext
6485 cat >>conftest.
$ac_ext <<_ACEOF
6486 /* end confdefs.h. */
6490 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6491 $EGREP "memchr" >/dev
/null
2>&1; then
6494 ac_cv_header_stdc
=no
6500 if test $ac_cv_header_stdc = yes; then
6501 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6502 cat >conftest.
$ac_ext <<_ACEOF
6505 cat confdefs.h
>>conftest.
$ac_ext
6506 cat >>conftest.
$ac_ext <<_ACEOF
6507 /* end confdefs.h. */
6511 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6512 $EGREP "free" >/dev
/null
2>&1; then
6515 ac_cv_header_stdc
=no
6521 if test $ac_cv_header_stdc = yes; then
6522 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6523 if test "$cross_compiling" = yes; then
6526 cat >conftest.
$ac_ext <<_ACEOF
6529 cat confdefs.h
>>conftest.
$ac_ext
6530 cat >>conftest.
$ac_ext <<_ACEOF
6531 /* end confdefs.h. */
6533 #if ((' ' & 0x0FF) == 0x020)
6534 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6535 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6537 # define ISLOWER(c) \
6538 (('a' <= (c) && (c) <= 'i') \
6539 || ('j' <= (c) && (c) <= 'r') \
6540 || ('s' <= (c) && (c) <= 'z'))
6541 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6544 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6549 for (i = 0; i < 256; i++)
6550 if (XOR (islower (i), ISLOWER (i))
6551 || toupper (i) != TOUPPER (i))
6556 rm -f conftest
$ac_exeext
6557 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6558 (eval $ac_link) 2>&5
6560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6561 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6566 (exit $ac_status); }; }; then
6569 echo "$as_me: program exited with status $ac_status" >&5
6570 echo "$as_me: failed program was:" >&5
6571 sed 's/^/| /' conftest.
$ac_ext >&5
6574 ac_cv_header_stdc
=no
6576 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6580 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6581 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6582 if test $ac_cv_header_stdc = yes; then
6584 cat >>confdefs.h
<<\_ACEOF
6585 #define STDC_HEADERS 1
6590 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6600 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6601 inttypes.h stdint.h unistd.h
6603 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6604 echo "$as_me:$LINENO: checking for $ac_header" >&5
6605 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6606 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6607 echo $ECHO_N "(cached) $ECHO_C" >&6
6609 cat >conftest.
$ac_ext <<_ACEOF
6612 cat confdefs.h
>>conftest.
$ac_ext
6613 cat >>conftest.
$ac_ext <<_ACEOF
6614 /* end confdefs.h. */
6615 $ac_includes_default
6617 #include <$ac_header>
6619 rm -f conftest.
$ac_objext
6620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6621 (eval $ac_compile) 2>conftest.er1
6623 grep -v '^ *+' conftest.er1
>conftest.err
6625 cat conftest.err
>&5
6626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6627 (exit $ac_status); } &&
6628 { ac_try
='test -z "$ac_c_werror_flag"
6629 || test ! -s conftest.err'
6630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6634 (exit $ac_status); }; } &&
6635 { ac_try
='test -s conftest.$ac_objext'
6636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6640 (exit $ac_status); }; }; then
6641 eval "$as_ac_Header=yes"
6643 echo "$as_me: failed program was:" >&5
6644 sed 's/^/| /' conftest.
$ac_ext >&5
6646 eval "$as_ac_Header=no"
6648 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6650 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6651 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6652 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6653 cat >>confdefs.h
<<_ACEOF
6654 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6667 for ac_header
in limits.h string.h sys
/types.h regex.h
pwd.h
6669 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6670 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6671 echo "$as_me:$LINENO: checking for $ac_header" >&5
6672 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6673 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6674 echo $ECHO_N "(cached) $ECHO_C" >&6
6676 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6677 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6679 # Is the header compilable?
6680 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6681 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6682 cat >conftest.
$ac_ext <<_ACEOF
6685 cat confdefs.h
>>conftest.
$ac_ext
6686 cat >>conftest.
$ac_ext <<_ACEOF
6687 /* end confdefs.h. */
6688 $ac_includes_default
6689 #include <$ac_header>
6691 rm -f conftest.
$ac_objext
6692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6693 (eval $ac_compile) 2>conftest.er1
6695 grep -v '^ *+' conftest.er1
>conftest.err
6697 cat conftest.err
>&5
6698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6699 (exit $ac_status); } &&
6700 { ac_try
='test -z "$ac_c_werror_flag"
6701 || test ! -s conftest.err'
6702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6706 (exit $ac_status); }; } &&
6707 { ac_try
='test -s conftest.$ac_objext'
6708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6712 (exit $ac_status); }; }; then
6713 ac_header_compiler
=yes
6715 echo "$as_me: failed program was:" >&5
6716 sed 's/^/| /' conftest.
$ac_ext >&5
6718 ac_header_compiler
=no
6720 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6721 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6722 echo "${ECHO_T}$ac_header_compiler" >&6
6724 # Is the header present?
6725 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6726 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6727 cat >conftest.
$ac_ext <<_ACEOF
6730 cat confdefs.h
>>conftest.
$ac_ext
6731 cat >>conftest.
$ac_ext <<_ACEOF
6732 /* end confdefs.h. */
6733 #include <$ac_header>
6735 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6736 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6738 grep -v '^ *+' conftest.er1
>conftest.err
6740 cat conftest.err
>&5
6741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6742 (exit $ac_status); } >/dev
/null
; then
6743 if test -s conftest.err
; then
6744 ac_cpp_err
=$ac_c_preproc_warn_flag
6745 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6752 if test -z "$ac_cpp_err"; then
6753 ac_header_preproc
=yes
6755 echo "$as_me: failed program was:" >&5
6756 sed 's/^/| /' conftest.
$ac_ext >&5
6758 ac_header_preproc
=no
6760 rm -f conftest.err conftest.
$ac_ext
6761 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6762 echo "${ECHO_T}$ac_header_preproc" >&6
6764 # So? What about this header?
6765 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6767 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6768 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6769 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6770 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6771 ac_header_preproc
=yes
6774 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6775 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6776 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6777 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6778 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6779 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6780 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6781 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6782 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6783 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6784 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6785 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6788 ## ------------------------------------------ ##
6789 ## Report this to the AC_PACKAGE_NAME lists. ##
6790 ## ------------------------------------------ ##
6793 sed "s/^/$as_me: WARNING: /" >&2
6796 echo "$as_me:$LINENO: checking for $ac_header" >&5
6797 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6798 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6799 echo $ECHO_N "(cached) $ECHO_C" >&6
6801 eval "$as_ac_Header=\$ac_header_preproc"
6803 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6804 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6807 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6808 cat >>confdefs.h
<<_ACEOF
6809 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6821 for ac_header
in sys
/socket.h netinet
/in.h netdb.h sys
/param.h sys
/times.h
6823 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6824 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6825 echo "$as_me:$LINENO: checking for $ac_header" >&5
6826 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6827 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6828 echo $ECHO_N "(cached) $ECHO_C" >&6
6830 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6831 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6833 # Is the header compilable?
6834 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6835 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6836 cat >conftest.
$ac_ext <<_ACEOF
6839 cat confdefs.h
>>conftest.
$ac_ext
6840 cat >>conftest.
$ac_ext <<_ACEOF
6841 /* end confdefs.h. */
6842 $ac_includes_default
6843 #include <$ac_header>
6845 rm -f conftest.
$ac_objext
6846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6847 (eval $ac_compile) 2>conftest.er1
6849 grep -v '^ *+' conftest.er1
>conftest.err
6851 cat conftest.err
>&5
6852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6853 (exit $ac_status); } &&
6854 { ac_try
='test -z "$ac_c_werror_flag"
6855 || test ! -s conftest.err'
6856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6860 (exit $ac_status); }; } &&
6861 { ac_try
='test -s conftest.$ac_objext'
6862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6866 (exit $ac_status); }; }; then
6867 ac_header_compiler
=yes
6869 echo "$as_me: failed program was:" >&5
6870 sed 's/^/| /' conftest.
$ac_ext >&5
6872 ac_header_compiler
=no
6874 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6875 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6876 echo "${ECHO_T}$ac_header_compiler" >&6
6878 # Is the header present?
6879 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6880 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6881 cat >conftest.
$ac_ext <<_ACEOF
6884 cat confdefs.h
>>conftest.
$ac_ext
6885 cat >>conftest.
$ac_ext <<_ACEOF
6886 /* end confdefs.h. */
6887 #include <$ac_header>
6889 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6890 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6892 grep -v '^ *+' conftest.er1
>conftest.err
6894 cat conftest.err
>&5
6895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6896 (exit $ac_status); } >/dev
/null
; then
6897 if test -s conftest.err
; then
6898 ac_cpp_err
=$ac_c_preproc_warn_flag
6899 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6906 if test -z "$ac_cpp_err"; then
6907 ac_header_preproc
=yes
6909 echo "$as_me: failed program was:" >&5
6910 sed 's/^/| /' conftest.
$ac_ext >&5
6912 ac_header_preproc
=no
6914 rm -f conftest.err conftest.
$ac_ext
6915 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6916 echo "${ECHO_T}$ac_header_preproc" >&6
6918 # So? What about this header?
6919 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6921 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6922 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6923 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6924 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6925 ac_header_preproc
=yes
6928 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6929 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6930 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6931 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6932 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6933 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6934 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6935 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6936 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6937 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6938 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6939 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6942 ## ------------------------------------------ ##
6943 ## Report this to the AC_PACKAGE_NAME lists. ##
6944 ## ------------------------------------------ ##
6947 sed "s/^/$as_me: WARNING: /" >&2
6950 echo "$as_me:$LINENO: checking for $ac_header" >&5
6951 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6952 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6953 echo $ECHO_N "(cached) $ECHO_C" >&6
6955 eval "$as_ac_Header=\$ac_header_preproc"
6957 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6958 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6961 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6962 cat >>confdefs.h
<<_ACEOF
6963 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6971 for ac_header
in dlfcn.h
6973 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6974 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6975 echo "$as_me:$LINENO: checking for $ac_header" >&5
6976 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6977 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6978 echo $ECHO_N "(cached) $ECHO_C" >&6
6980 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6981 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6983 # Is the header compilable?
6984 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6985 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6986 cat >conftest.
$ac_ext <<_ACEOF
6989 cat confdefs.h
>>conftest.
$ac_ext
6990 cat >>conftest.
$ac_ext <<_ACEOF
6991 /* end confdefs.h. */
6992 $ac_includes_default
6993 #include <$ac_header>
6995 rm -f conftest.
$ac_objext
6996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6997 (eval $ac_compile) 2>conftest.er1
6999 grep -v '^ *+' conftest.er1
>conftest.err
7001 cat conftest.err
>&5
7002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7003 (exit $ac_status); } &&
7004 { ac_try
='test -z "$ac_c_werror_flag"
7005 || test ! -s conftest.err'
7006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7010 (exit $ac_status); }; } &&
7011 { ac_try
='test -s conftest.$ac_objext'
7012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7016 (exit $ac_status); }; }; then
7017 ac_header_compiler
=yes
7019 echo "$as_me: failed program was:" >&5
7020 sed 's/^/| /' conftest.
$ac_ext >&5
7022 ac_header_compiler
=no
7024 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7025 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7026 echo "${ECHO_T}$ac_header_compiler" >&6
7028 # Is the header present?
7029 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7030 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7031 cat >conftest.
$ac_ext <<_ACEOF
7034 cat confdefs.h
>>conftest.
$ac_ext
7035 cat >>conftest.
$ac_ext <<_ACEOF
7036 /* end confdefs.h. */
7037 #include <$ac_header>
7039 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7040 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7042 grep -v '^ *+' conftest.er1
>conftest.err
7044 cat conftest.err
>&5
7045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7046 (exit $ac_status); } >/dev
/null
; then
7047 if test -s conftest.err
; then
7048 ac_cpp_err
=$ac_c_preproc_warn_flag
7049 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7056 if test -z "$ac_cpp_err"; then
7057 ac_header_preproc
=yes
7059 echo "$as_me: failed program was:" >&5
7060 sed 's/^/| /' conftest.
$ac_ext >&5
7062 ac_header_preproc
=no
7064 rm -f conftest.err conftest.
$ac_ext
7065 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7066 echo "${ECHO_T}$ac_header_preproc" >&6
7068 # So? What about this header?
7069 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7071 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7072 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7073 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7074 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7075 ac_header_preproc
=yes
7078 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7079 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7080 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7081 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7082 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7083 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7084 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7085 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7086 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7087 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7088 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7089 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7092 ## ------------------------------------------ ##
7093 ## Report this to the AC_PACKAGE_NAME lists. ##
7094 ## ------------------------------------------ ##
7097 sed "s/^/$as_me: WARNING: /" >&2
7100 echo "$as_me:$LINENO: checking for $ac_header" >&5
7101 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7102 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7103 echo $ECHO_N "(cached) $ECHO_C" >&6
7105 eval "$as_ac_Header=\$ac_header_preproc"
7107 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7108 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7111 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7112 cat >>confdefs.h
<<_ACEOF
7113 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7121 if test "x${WIN32}" = "xyes" ; then
7123 for ac_header
in windows.h
7125 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7126 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7127 echo "$as_me:$LINENO: checking for $ac_header" >&5
7128 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7129 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7130 echo $ECHO_N "(cached) $ECHO_C" >&6
7132 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7133 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7135 # Is the header compilable?
7136 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7137 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7138 cat >conftest.
$ac_ext <<_ACEOF
7141 cat confdefs.h
>>conftest.
$ac_ext
7142 cat >>conftest.
$ac_ext <<_ACEOF
7143 /* end confdefs.h. */
7144 $ac_includes_default
7145 #include <$ac_header>
7147 rm -f conftest.
$ac_objext
7148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7149 (eval $ac_compile) 2>conftest.er1
7151 grep -v '^ *+' conftest.er1
>conftest.err
7153 cat conftest.err
>&5
7154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7155 (exit $ac_status); } &&
7156 { ac_try
='test -z "$ac_c_werror_flag"
7157 || test ! -s conftest.err'
7158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7162 (exit $ac_status); }; } &&
7163 { ac_try
='test -s conftest.$ac_objext'
7164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7168 (exit $ac_status); }; }; then
7169 ac_header_compiler
=yes
7171 echo "$as_me: failed program was:" >&5
7172 sed 's/^/| /' conftest.
$ac_ext >&5
7174 ac_header_compiler
=no
7176 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7177 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7178 echo "${ECHO_T}$ac_header_compiler" >&6
7180 # Is the header present?
7181 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7182 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7183 cat >conftest.
$ac_ext <<_ACEOF
7186 cat confdefs.h
>>conftest.
$ac_ext
7187 cat >>conftest.
$ac_ext <<_ACEOF
7188 /* end confdefs.h. */
7189 #include <$ac_header>
7191 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7192 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7194 grep -v '^ *+' conftest.er1
>conftest.err
7196 cat conftest.err
>&5
7197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7198 (exit $ac_status); } >/dev
/null
; then
7199 if test -s conftest.err
; then
7200 ac_cpp_err
=$ac_c_preproc_warn_flag
7201 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7208 if test -z "$ac_cpp_err"; then
7209 ac_header_preproc
=yes
7211 echo "$as_me: failed program was:" >&5
7212 sed 's/^/| /' conftest.
$ac_ext >&5
7214 ac_header_preproc
=no
7216 rm -f conftest.err conftest.
$ac_ext
7217 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7218 echo "${ECHO_T}$ac_header_preproc" >&6
7220 # So? What about this header?
7221 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7223 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7224 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7225 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7226 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7227 ac_header_preproc
=yes
7230 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7231 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7232 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7233 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7234 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7235 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7236 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7237 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7238 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7239 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7240 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7241 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7244 ## ------------------------------------------ ##
7245 ## Report this to the AC_PACKAGE_NAME lists. ##
7246 ## ------------------------------------------ ##
7249 sed "s/^/$as_me: WARNING: /" >&2
7252 echo "$as_me:$LINENO: checking for $ac_header" >&5
7253 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7254 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7255 echo $ECHO_N "(cached) $ECHO_C" >&6
7257 eval "$as_ac_Header=\$ac_header_preproc"
7259 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7260 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7263 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7264 cat >>confdefs.h
<<_ACEOF
7265 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7274 for e
in $HIDLIST; do
7277 echo "$as_me:$LINENO: checking for X" >&5
7278 echo $ECHO_N "checking for X... $ECHO_C" >&6
7281 # Check whether --with-x or --without-x was given.
7282 if test "${with_x+set}" = set; then
7286 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
7287 if test "x$with_x" = xno
; then
7288 # The user explicitly disabled X.
7291 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
7292 # Both variables are already set.
7295 if test "${ac_cv_have_x+set}" = set; then
7296 echo $ECHO_N "(cached) $ECHO_C" >&6
7298 # One or both of the vars are not set, and there is no cached value.
7299 ac_x_includes
=no ac_x_libraries
=no
7301 if mkdir conftest.dir
; then
7303 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
7304 cat >Imakefile
<<'_ACEOF'
7306 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
7308 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
7309 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
7310 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
7311 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
7312 for ac_extension
in a so sl
; do
7313 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
7314 test -f $ac_im_libdir/libX11.
$ac_extension; then
7315 ac_im_usrlibdir
=$ac_im_libdir; break
7318 # Screen out bogus values from the imake configuration. They are
7319 # bogus both because they are the default anyway, and because
7320 # using them would break gcc on systems where it needs fixed includes.
7321 case $ac_im_incroot in
7323 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
7325 case $ac_im_usrlibdir in
7327 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
7334 # Standard set of common directories for X headers.
7335 # Check X11 before X11Rn because it is often a symlink to the current release.
7347 /usr/local/X11/include
7348 /usr/local/X11R6/include
7349 /usr/local/X11R5/include
7350 /usr/local/X11R4/include
7352 /usr/local/include/X11
7353 /usr/local/include/X11R6
7354 /usr/local/include/X11R5
7355 /usr/local/include/X11R4
7359 /usr/XFree86/include/X11
7363 /usr/unsupported/include
7365 /usr/local/x11r5/include
7366 /usr/lpp/Xamples/include
7368 /usr/openwin/include
7369 /usr/openwin/share/include'
7371 if test "$ac_x_includes" = no
; then
7372 # Guess where to find include files, by looking for Intrinsic.h.
7373 # First, try using that file with no special directory specified.
7374 cat >conftest.
$ac_ext <<_ACEOF
7377 cat confdefs.h
>>conftest.
$ac_ext
7378 cat >>conftest.
$ac_ext <<_ACEOF
7379 /* end confdefs.h. */
7380 #include <X11/Intrinsic.h>
7382 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7383 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7385 grep -v '^ *+' conftest.er1
>conftest.err
7387 cat conftest.err
>&5
7388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7389 (exit $ac_status); } >/dev
/null
; then
7390 if test -s conftest.err
; then
7391 ac_cpp_err
=$ac_c_preproc_warn_flag
7392 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7399 if test -z "$ac_cpp_err"; then
7400 # We can compile using X headers with no special include directory.
7403 echo "$as_me: failed program was:" >&5
7404 sed 's/^/| /' conftest.
$ac_ext >&5
7406 for ac_dir
in $ac_x_header_dirs; do
7407 if test -r "$ac_dir/X11/Intrinsic.h"; then
7408 ac_x_includes
=$ac_dir
7413 rm -f conftest.err conftest.
$ac_ext
7414 fi # $ac_x_includes = no
7416 if test "$ac_x_libraries" = no
; then
7417 # Check for the libraries.
7418 # See if we find them without any special options.
7419 # Don't add to $LIBS permanently.
7422 cat >conftest.
$ac_ext <<_ACEOF
7425 cat confdefs.h
>>conftest.
$ac_ext
7426 cat >>conftest.
$ac_ext <<_ACEOF
7427 /* end confdefs.h. */
7428 #include <X11/Intrinsic.h>
7437 rm -f conftest.
$ac_objext conftest
$ac_exeext
7438 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7439 (eval $ac_link) 2>conftest.er1
7441 grep -v '^ *+' conftest.er1
>conftest.err
7443 cat conftest.err
>&5
7444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7445 (exit $ac_status); } &&
7446 { ac_try
='test -z "$ac_c_werror_flag"
7447 || test ! -s conftest.err'
7448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7452 (exit $ac_status); }; } &&
7453 { ac_try
='test -s conftest$ac_exeext'
7454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7458 (exit $ac_status); }; }; then
7460 # We can link X programs with no special library path.
7463 echo "$as_me: failed program was:" >&5
7464 sed 's/^/| /' conftest.
$ac_ext >&5
7467 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
7469 # Don't even attempt the hair of trying to link an X program!
7470 for ac_extension
in a so sl
; do
7471 if test -r $ac_dir/libXt.
$ac_extension; then
7472 ac_x_libraries
=$ac_dir
7478 rm -f conftest.err conftest.
$ac_objext \
7479 conftest
$ac_exeext conftest.
$ac_ext
7480 fi # $ac_x_libraries = no
7482 if test "$ac_x_includes" = no ||
test "$ac_x_libraries" = no
; then
7483 # Didn't find X anywhere. Cache the known absence of X.
7484 ac_cv_have_x
="have_x=no"
7486 # Record where we found X for the cache.
7487 ac_cv_have_x
="have_x=yes \
7488 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
7493 eval "$ac_cv_have_x"
7496 if test "$have_x" != yes; then
7497 echo "$as_me:$LINENO: result: $have_x" >&5
7498 echo "${ECHO_T}$have_x" >&6
7501 # If each of the values was on the command line, it overrides each guess.
7502 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
7503 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
7504 # Update the cache value to reflect the command line values.
7505 ac_cv_have_x
="have_x=yes \
7506 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
7507 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
7508 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
7511 if test "$no_x" = yes; then
7512 # Not all programs may use this symbol, but it does not hurt to define it.
7514 cat >>confdefs.h
<<\_ACEOF
7515 #define X_DISPLAY_MISSING 1
7518 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
7520 if test -n "$x_includes"; then
7521 X_CFLAGS
="$X_CFLAGS -I$x_includes"
7524 # It would also be nice to do this for all -L options, not just this one.
7525 if test -n "$x_libraries"; then
7526 X_LIBS
="$X_LIBS -L$x_libraries"
7527 # For Solaris; some versions of Sun CC require a space after -R and
7528 # others require no space. Words are not sufficient . . . .
7529 case `(uname -sr) 2>/dev/null` in
7531 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
7532 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
7533 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
7534 cat >conftest.
$ac_ext <<_ACEOF
7537 cat confdefs.h
>>conftest.
$ac_ext
7538 cat >>conftest.
$ac_ext <<_ACEOF
7539 /* end confdefs.h. */
7549 rm -f conftest.
$ac_objext conftest
$ac_exeext
7550 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7551 (eval $ac_link) 2>conftest.er1
7553 grep -v '^ *+' conftest.er1
>conftest.err
7555 cat conftest.err
>&5
7556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7557 (exit $ac_status); } &&
7558 { ac_try
='test -z "$ac_c_werror_flag"
7559 || test ! -s conftest.err'
7560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7564 (exit $ac_status); }; } &&
7565 { ac_try
='test -s conftest$ac_exeext'
7566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7570 (exit $ac_status); }; }; then
7573 echo "$as_me: failed program was:" >&5
7574 sed 's/^/| /' conftest.
$ac_ext >&5
7578 rm -f conftest.err conftest.
$ac_objext \
7579 conftest
$ac_exeext conftest.
$ac_ext
7580 if test $ac_R_nospace = yes; then
7581 echo "$as_me:$LINENO: result: no" >&5
7582 echo "${ECHO_T}no" >&6
7583 X_LIBS
="$X_LIBS -R$x_libraries"
7585 LIBS
="$ac_xsave_LIBS -R $x_libraries"
7586 cat >conftest.
$ac_ext <<_ACEOF
7589 cat confdefs.h
>>conftest.
$ac_ext
7590 cat >>conftest.
$ac_ext <<_ACEOF
7591 /* end confdefs.h. */
7601 rm -f conftest.
$ac_objext conftest
$ac_exeext
7602 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7603 (eval $ac_link) 2>conftest.er1
7605 grep -v '^ *+' conftest.er1
>conftest.err
7607 cat conftest.err
>&5
7608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7609 (exit $ac_status); } &&
7610 { ac_try
='test -z "$ac_c_werror_flag"
7611 || test ! -s conftest.err'
7612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7616 (exit $ac_status); }; } &&
7617 { ac_try
='test -s conftest$ac_exeext'
7618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7622 (exit $ac_status); }; }; then
7625 echo "$as_me: failed program was:" >&5
7626 sed 's/^/| /' conftest.
$ac_ext >&5
7630 rm -f conftest.err conftest.
$ac_objext \
7631 conftest
$ac_exeext conftest.
$ac_ext
7632 if test $ac_R_space = yes; then
7633 echo "$as_me:$LINENO: result: yes" >&5
7634 echo "${ECHO_T}yes" >&6
7635 X_LIBS
="$X_LIBS -R $x_libraries"
7637 echo "$as_me:$LINENO: result: neither works" >&5
7638 echo "${ECHO_T}neither works" >&6
7645 # Check for system-dependent libraries X programs must link with.
7646 # Do this before checking for the system-independent R6 libraries
7647 # (-lICE), since we may need -lsocket or whatever for X linking.
7649 if test "$ISC" = yes; then
7650 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
7652 # Martyn Johnson says this is needed for Ultrix, if the X
7653 # libraries were built with DECnet support. And Karl Berry says
7654 # the Alpha needs dnet_stub (dnet does not exist).
7655 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
7656 cat >conftest.
$ac_ext <<_ACEOF
7659 cat confdefs.h
>>conftest.
$ac_ext
7660 cat >>conftest.
$ac_ext <<_ACEOF
7661 /* end confdefs.h. */
7663 /* Override any gcc2 internal prototype to avoid an error. */
7667 /* We use char because int might match the return type of a gcc2
7668 builtin and then its argument prototype would still apply. */
7669 char XOpenDisplay ();
7678 rm -f conftest.
$ac_objext conftest
$ac_exeext
7679 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7680 (eval $ac_link) 2>conftest.er1
7682 grep -v '^ *+' conftest.er1
>conftest.err
7684 cat conftest.err
>&5
7685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7686 (exit $ac_status); } &&
7687 { ac_try
='test -z "$ac_c_werror_flag"
7688 || test ! -s conftest.err'
7689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7693 (exit $ac_status); }; } &&
7694 { ac_try
='test -s conftest$ac_exeext'
7695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7699 (exit $ac_status); }; }; then
7702 echo "$as_me: failed program was:" >&5
7703 sed 's/^/| /' conftest.
$ac_ext >&5
7705 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
7706 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
7707 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
7708 echo $ECHO_N "(cached) $ECHO_C" >&6
7710 ac_check_lib_save_LIBS
=$LIBS
7712 cat >conftest.
$ac_ext <<_ACEOF
7715 cat confdefs.h
>>conftest.
$ac_ext
7716 cat >>conftest.
$ac_ext <<_ACEOF
7717 /* end confdefs.h. */
7719 /* Override any gcc2 internal prototype to avoid an error. */
7723 /* We use char because int might match the return type of a gcc2
7724 builtin and then its argument prototype would still apply. */
7734 rm -f conftest.
$ac_objext conftest
$ac_exeext
7735 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7736 (eval $ac_link) 2>conftest.er1
7738 grep -v '^ *+' conftest.er1
>conftest.err
7740 cat conftest.err
>&5
7741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7742 (exit $ac_status); } &&
7743 { ac_try
='test -z "$ac_c_werror_flag"
7744 || test ! -s conftest.err'
7745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7749 (exit $ac_status); }; } &&
7750 { ac_try
='test -s conftest$ac_exeext'
7751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7755 (exit $ac_status); }; }; then
7756 ac_cv_lib_dnet_dnet_ntoa
=yes
7758 echo "$as_me: failed program was:" >&5
7759 sed 's/^/| /' conftest.
$ac_ext >&5
7761 ac_cv_lib_dnet_dnet_ntoa
=no
7763 rm -f conftest.err conftest.
$ac_objext \
7764 conftest
$ac_exeext conftest.
$ac_ext
7765 LIBS
=$ac_check_lib_save_LIBS
7767 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
7768 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
7769 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
7770 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
7773 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
7774 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
7775 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
7776 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
7777 echo $ECHO_N "(cached) $ECHO_C" >&6
7779 ac_check_lib_save_LIBS
=$LIBS
7780 LIBS
="-ldnet_stub $LIBS"
7781 cat >conftest.
$ac_ext <<_ACEOF
7784 cat confdefs.h
>>conftest.
$ac_ext
7785 cat >>conftest.
$ac_ext <<_ACEOF
7786 /* end confdefs.h. */
7788 /* Override any gcc2 internal prototype to avoid an error. */
7792 /* We use char because int might match the return type of a gcc2
7793 builtin and then its argument prototype would still apply. */
7803 rm -f conftest.
$ac_objext conftest
$ac_exeext
7804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7805 (eval $ac_link) 2>conftest.er1
7807 grep -v '^ *+' conftest.er1
>conftest.err
7809 cat conftest.err
>&5
7810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7811 (exit $ac_status); } &&
7812 { ac_try
='test -z "$ac_c_werror_flag"
7813 || test ! -s conftest.err'
7814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7818 (exit $ac_status); }; } &&
7819 { ac_try
='test -s conftest$ac_exeext'
7820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7824 (exit $ac_status); }; }; then
7825 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
7827 echo "$as_me: failed program was:" >&5
7828 sed 's/^/| /' conftest.
$ac_ext >&5
7830 ac_cv_lib_dnet_stub_dnet_ntoa
=no
7832 rm -f conftest.err conftest.
$ac_objext \
7833 conftest
$ac_exeext conftest.
$ac_ext
7834 LIBS
=$ac_check_lib_save_LIBS
7836 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
7837 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
7838 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
7839 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
7844 rm -f conftest.err conftest.
$ac_objext \
7845 conftest
$ac_exeext conftest.
$ac_ext
7846 LIBS
="$ac_xsave_LIBS"
7848 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
7849 # to get the SysV transport functions.
7850 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
7852 # The nsl library prevents programs from opening the X display
7853 # on Irix 5.2, according to T.E. Dickey.
7854 # The functions gethostbyname, getservbyname, and inet_addr are
7855 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
7856 echo "$as_me:$LINENO: checking for gethostbyname" >&5
7857 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
7858 if test "${ac_cv_func_gethostbyname+set}" = set; then
7859 echo $ECHO_N "(cached) $ECHO_C" >&6
7861 cat >conftest.
$ac_ext <<_ACEOF
7864 cat confdefs.h
>>conftest.
$ac_ext
7865 cat >>conftest.
$ac_ext <<_ACEOF
7866 /* end confdefs.h. */
7867 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
7868 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7869 #define gethostbyname innocuous_gethostbyname
7871 /* System header to define __stub macros and hopefully few prototypes,
7872 which can conflict with char gethostbyname (); below.
7873 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7874 <limits.h> exists even on freestanding compilers. */
7877 # include <limits.h>
7879 # include <assert.h>
7882 #undef gethostbyname
7884 /* Override any gcc2 internal prototype to avoid an error. */
7889 /* We use char because int might match the return type of a gcc2
7890 builtin and then its argument prototype would still apply. */
7891 char gethostbyname ();
7892 /* The GNU C library defines this for functions which it implements
7893 to always fail with ENOSYS. Some functions are actually named
7894 something starting with __ and the normal name is an alias. */
7895 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
7898 char (*f) () = gethostbyname;
7907 return f != gethostbyname;
7912 rm -f conftest.
$ac_objext conftest
$ac_exeext
7913 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7914 (eval $ac_link) 2>conftest.er1
7916 grep -v '^ *+' conftest.er1
>conftest.err
7918 cat conftest.err
>&5
7919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7920 (exit $ac_status); } &&
7921 { ac_try
='test -z "$ac_c_werror_flag"
7922 || test ! -s conftest.err'
7923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7927 (exit $ac_status); }; } &&
7928 { ac_try
='test -s conftest$ac_exeext'
7929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7933 (exit $ac_status); }; }; then
7934 ac_cv_func_gethostbyname
=yes
7936 echo "$as_me: failed program was:" >&5
7937 sed 's/^/| /' conftest.
$ac_ext >&5
7939 ac_cv_func_gethostbyname
=no
7941 rm -f conftest.err conftest.
$ac_objext \
7942 conftest
$ac_exeext conftest.
$ac_ext
7944 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
7945 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
7947 if test $ac_cv_func_gethostbyname = no
; then
7948 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
7949 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
7950 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
7951 echo $ECHO_N "(cached) $ECHO_C" >&6
7953 ac_check_lib_save_LIBS
=$LIBS
7955 cat >conftest.
$ac_ext <<_ACEOF
7958 cat confdefs.h
>>conftest.
$ac_ext
7959 cat >>conftest.
$ac_ext <<_ACEOF
7960 /* end confdefs.h. */
7962 /* Override any gcc2 internal prototype to avoid an error. */
7966 /* We use char because int might match the return type of a gcc2
7967 builtin and then its argument prototype would still apply. */
7968 char gethostbyname ();
7977 rm -f conftest.
$ac_objext conftest
$ac_exeext
7978 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7979 (eval $ac_link) 2>conftest.er1
7981 grep -v '^ *+' conftest.er1
>conftest.err
7983 cat conftest.err
>&5
7984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7985 (exit $ac_status); } &&
7986 { ac_try
='test -z "$ac_c_werror_flag"
7987 || test ! -s conftest.err'
7988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7992 (exit $ac_status); }; } &&
7993 { ac_try
='test -s conftest$ac_exeext'
7994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7998 (exit $ac_status); }; }; then
7999 ac_cv_lib_nsl_gethostbyname
=yes
8001 echo "$as_me: failed program was:" >&5
8002 sed 's/^/| /' conftest.
$ac_ext >&5
8004 ac_cv_lib_nsl_gethostbyname
=no
8006 rm -f conftest.err conftest.
$ac_objext \
8007 conftest
$ac_exeext conftest.
$ac_ext
8008 LIBS
=$ac_check_lib_save_LIBS
8010 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
8011 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
8012 if test $ac_cv_lib_nsl_gethostbyname = yes; then
8013 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
8016 if test $ac_cv_lib_nsl_gethostbyname = no
; then
8017 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
8018 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
8019 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
8020 echo $ECHO_N "(cached) $ECHO_C" >&6
8022 ac_check_lib_save_LIBS
=$LIBS
8024 cat >conftest.
$ac_ext <<_ACEOF
8027 cat confdefs.h
>>conftest.
$ac_ext
8028 cat >>conftest.
$ac_ext <<_ACEOF
8029 /* end confdefs.h. */
8031 /* Override any gcc2 internal prototype to avoid an error. */
8035 /* We use char because int might match the return type of a gcc2
8036 builtin and then its argument prototype would still apply. */
8037 char gethostbyname ();
8046 rm -f conftest.
$ac_objext conftest
$ac_exeext
8047 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8048 (eval $ac_link) 2>conftest.er1
8050 grep -v '^ *+' conftest.er1
>conftest.err
8052 cat conftest.err
>&5
8053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8054 (exit $ac_status); } &&
8055 { ac_try
='test -z "$ac_c_werror_flag"
8056 || test ! -s conftest.err'
8057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8061 (exit $ac_status); }; } &&
8062 { ac_try
='test -s conftest$ac_exeext'
8063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8067 (exit $ac_status); }; }; then
8068 ac_cv_lib_bsd_gethostbyname
=yes
8070 echo "$as_me: failed program was:" >&5
8071 sed 's/^/| /' conftest.
$ac_ext >&5
8073 ac_cv_lib_bsd_gethostbyname
=no
8075 rm -f conftest.err conftest.
$ac_objext \
8076 conftest
$ac_exeext conftest.
$ac_ext
8077 LIBS
=$ac_check_lib_save_LIBS
8079 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
8080 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
8081 if test $ac_cv_lib_bsd_gethostbyname = yes; then
8082 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
8088 # lieder@skyler.mavd.honeywell.com says without -lsocket,
8089 # socket/setsockopt and other routines are undefined under SCO ODT
8090 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
8091 # on later versions), says Simon Leinen: it contains gethostby*
8092 # variants that don't use the name server (or something). -lsocket
8093 # must be given before -lnsl if both are needed. We assume that
8094 # if connect needs -lnsl, so does gethostbyname.
8095 echo "$as_me:$LINENO: checking for connect" >&5
8096 echo $ECHO_N "checking for connect... $ECHO_C" >&6
8097 if test "${ac_cv_func_connect+set}" = set; then
8098 echo $ECHO_N "(cached) $ECHO_C" >&6
8100 cat >conftest.
$ac_ext <<_ACEOF
8103 cat confdefs.h
>>conftest.
$ac_ext
8104 cat >>conftest.
$ac_ext <<_ACEOF
8105 /* end confdefs.h. */
8106 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
8107 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8108 #define connect innocuous_connect
8110 /* System header to define __stub macros and hopefully few prototypes,
8111 which can conflict with char connect (); below.
8112 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8113 <limits.h> exists even on freestanding compilers. */
8116 # include <limits.h>
8118 # include <assert.h>
8123 /* Override any gcc2 internal prototype to avoid an error. */
8128 /* We use char because int might match the return type of a gcc2
8129 builtin and then its argument prototype would still apply. */
8131 /* The GNU C library defines this for functions which it implements
8132 to always fail with ENOSYS. Some functions are actually named
8133 something starting with __ and the normal name is an alias. */
8134 #if defined (__stub_connect) || defined (__stub___connect)
8137 char (*f) () = connect;
8146 return f != connect;
8151 rm -f conftest.
$ac_objext conftest
$ac_exeext
8152 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8153 (eval $ac_link) 2>conftest.er1
8155 grep -v '^ *+' conftest.er1
>conftest.err
8157 cat conftest.err
>&5
8158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8159 (exit $ac_status); } &&
8160 { ac_try
='test -z "$ac_c_werror_flag"
8161 || test ! -s conftest.err'
8162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8166 (exit $ac_status); }; } &&
8167 { ac_try
='test -s conftest$ac_exeext'
8168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8172 (exit $ac_status); }; }; then
8173 ac_cv_func_connect
=yes
8175 echo "$as_me: failed program was:" >&5
8176 sed 's/^/| /' conftest.
$ac_ext >&5
8178 ac_cv_func_connect
=no
8180 rm -f conftest.err conftest.
$ac_objext \
8181 conftest
$ac_exeext conftest.
$ac_ext
8183 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
8184 echo "${ECHO_T}$ac_cv_func_connect" >&6
8186 if test $ac_cv_func_connect = no
; then
8187 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
8188 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
8189 if test "${ac_cv_lib_socket_connect+set}" = set; then
8190 echo $ECHO_N "(cached) $ECHO_C" >&6
8192 ac_check_lib_save_LIBS
=$LIBS
8193 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
8194 cat >conftest.
$ac_ext <<_ACEOF
8197 cat confdefs.h
>>conftest.
$ac_ext
8198 cat >>conftest.
$ac_ext <<_ACEOF
8199 /* end confdefs.h. */
8201 /* Override any gcc2 internal prototype to avoid an error. */
8205 /* We use char because int might match the return type of a gcc2
8206 builtin and then its argument prototype would still apply. */
8216 rm -f conftest.
$ac_objext conftest
$ac_exeext
8217 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8218 (eval $ac_link) 2>conftest.er1
8220 grep -v '^ *+' conftest.er1
>conftest.err
8222 cat conftest.err
>&5
8223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8224 (exit $ac_status); } &&
8225 { ac_try
='test -z "$ac_c_werror_flag"
8226 || test ! -s conftest.err'
8227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8231 (exit $ac_status); }; } &&
8232 { ac_try
='test -s conftest$ac_exeext'
8233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8237 (exit $ac_status); }; }; then
8238 ac_cv_lib_socket_connect
=yes
8240 echo "$as_me: failed program was:" >&5
8241 sed 's/^/| /' conftest.
$ac_ext >&5
8243 ac_cv_lib_socket_connect
=no
8245 rm -f conftest.err conftest.
$ac_objext \
8246 conftest
$ac_exeext conftest.
$ac_ext
8247 LIBS
=$ac_check_lib_save_LIBS
8249 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
8250 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
8251 if test $ac_cv_lib_socket_connect = yes; then
8252 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
8257 # Guillermo Gomez says -lposix is necessary on A/UX.
8258 echo "$as_me:$LINENO: checking for remove" >&5
8259 echo $ECHO_N "checking for remove... $ECHO_C" >&6
8260 if test "${ac_cv_func_remove+set}" = set; then
8261 echo $ECHO_N "(cached) $ECHO_C" >&6
8263 cat >conftest.
$ac_ext <<_ACEOF
8266 cat confdefs.h
>>conftest.
$ac_ext
8267 cat >>conftest.
$ac_ext <<_ACEOF
8268 /* end confdefs.h. */
8269 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
8270 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8271 #define remove innocuous_remove
8273 /* System header to define __stub macros and hopefully few prototypes,
8274 which can conflict with char remove (); below.
8275 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8276 <limits.h> exists even on freestanding compilers. */
8279 # include <limits.h>
8281 # include <assert.h>
8286 /* Override any gcc2 internal prototype to avoid an error. */
8291 /* We use char because int might match the return type of a gcc2
8292 builtin and then its argument prototype would still apply. */
8294 /* The GNU C library defines this for functions which it implements
8295 to always fail with ENOSYS. Some functions are actually named
8296 something starting with __ and the normal name is an alias. */
8297 #if defined (__stub_remove) || defined (__stub___remove)
8300 char (*f) () = remove;
8314 rm -f conftest.
$ac_objext conftest
$ac_exeext
8315 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8316 (eval $ac_link) 2>conftest.er1
8318 grep -v '^ *+' conftest.er1
>conftest.err
8320 cat conftest.err
>&5
8321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8322 (exit $ac_status); } &&
8323 { ac_try
='test -z "$ac_c_werror_flag"
8324 || test ! -s conftest.err'
8325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8329 (exit $ac_status); }; } &&
8330 { ac_try
='test -s conftest$ac_exeext'
8331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8335 (exit $ac_status); }; }; then
8336 ac_cv_func_remove
=yes
8338 echo "$as_me: failed program was:" >&5
8339 sed 's/^/| /' conftest.
$ac_ext >&5
8341 ac_cv_func_remove
=no
8343 rm -f conftest.err conftest.
$ac_objext \
8344 conftest
$ac_exeext conftest.
$ac_ext
8346 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
8347 echo "${ECHO_T}$ac_cv_func_remove" >&6
8349 if test $ac_cv_func_remove = no
; then
8350 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
8351 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
8352 if test "${ac_cv_lib_posix_remove+set}" = set; then
8353 echo $ECHO_N "(cached) $ECHO_C" >&6
8355 ac_check_lib_save_LIBS
=$LIBS
8356 LIBS
="-lposix $LIBS"
8357 cat >conftest.
$ac_ext <<_ACEOF
8360 cat confdefs.h
>>conftest.
$ac_ext
8361 cat >>conftest.
$ac_ext <<_ACEOF
8362 /* end confdefs.h. */
8364 /* Override any gcc2 internal prototype to avoid an error. */
8368 /* We use char because int might match the return type of a gcc2
8369 builtin and then its argument prototype would still apply. */
8379 rm -f conftest.
$ac_objext conftest
$ac_exeext
8380 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8381 (eval $ac_link) 2>conftest.er1
8383 grep -v '^ *+' conftest.er1
>conftest.err
8385 cat conftest.err
>&5
8386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8387 (exit $ac_status); } &&
8388 { ac_try
='test -z "$ac_c_werror_flag"
8389 || test ! -s conftest.err'
8390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8394 (exit $ac_status); }; } &&
8395 { ac_try
='test -s conftest$ac_exeext'
8396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8400 (exit $ac_status); }; }; then
8401 ac_cv_lib_posix_remove
=yes
8403 echo "$as_me: failed program was:" >&5
8404 sed 's/^/| /' conftest.
$ac_ext >&5
8406 ac_cv_lib_posix_remove
=no
8408 rm -f conftest.err conftest.
$ac_objext \
8409 conftest
$ac_exeext conftest.
$ac_ext
8410 LIBS
=$ac_check_lib_save_LIBS
8412 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
8413 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
8414 if test $ac_cv_lib_posix_remove = yes; then
8415 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
8420 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
8421 echo "$as_me:$LINENO: checking for shmat" >&5
8422 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
8423 if test "${ac_cv_func_shmat+set}" = set; then
8424 echo $ECHO_N "(cached) $ECHO_C" >&6
8426 cat >conftest.
$ac_ext <<_ACEOF
8429 cat confdefs.h
>>conftest.
$ac_ext
8430 cat >>conftest.
$ac_ext <<_ACEOF
8431 /* end confdefs.h. */
8432 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
8433 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8434 #define shmat innocuous_shmat
8436 /* System header to define __stub macros and hopefully few prototypes,
8437 which can conflict with char shmat (); below.
8438 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8439 <limits.h> exists even on freestanding compilers. */
8442 # include <limits.h>
8444 # include <assert.h>
8449 /* Override any gcc2 internal prototype to avoid an error. */
8454 /* We use char because int might match the return type of a gcc2
8455 builtin and then its argument prototype would still apply. */
8457 /* The GNU C library defines this for functions which it implements
8458 to always fail with ENOSYS. Some functions are actually named
8459 something starting with __ and the normal name is an alias. */
8460 #if defined (__stub_shmat) || defined (__stub___shmat)
8463 char (*f) () = shmat;
8477 rm -f conftest.
$ac_objext conftest
$ac_exeext
8478 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8479 (eval $ac_link) 2>conftest.er1
8481 grep -v '^ *+' conftest.er1
>conftest.err
8483 cat conftest.err
>&5
8484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8485 (exit $ac_status); } &&
8486 { ac_try
='test -z "$ac_c_werror_flag"
8487 || test ! -s conftest.err'
8488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8492 (exit $ac_status); }; } &&
8493 { ac_try
='test -s conftest$ac_exeext'
8494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8498 (exit $ac_status); }; }; then
8499 ac_cv_func_shmat
=yes
8501 echo "$as_me: failed program was:" >&5
8502 sed 's/^/| /' conftest.
$ac_ext >&5
8506 rm -f conftest.err conftest.
$ac_objext \
8507 conftest
$ac_exeext conftest.
$ac_ext
8509 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
8510 echo "${ECHO_T}$ac_cv_func_shmat" >&6
8512 if test $ac_cv_func_shmat = no
; then
8513 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
8514 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
8515 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
8516 echo $ECHO_N "(cached) $ECHO_C" >&6
8518 ac_check_lib_save_LIBS
=$LIBS
8520 cat >conftest.
$ac_ext <<_ACEOF
8523 cat confdefs.h
>>conftest.
$ac_ext
8524 cat >>conftest.
$ac_ext <<_ACEOF
8525 /* end confdefs.h. */
8527 /* Override any gcc2 internal prototype to avoid an error. */
8531 /* We use char because int might match the return type of a gcc2
8532 builtin and then its argument prototype would still apply. */
8542 rm -f conftest.
$ac_objext conftest
$ac_exeext
8543 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8544 (eval $ac_link) 2>conftest.er1
8546 grep -v '^ *+' conftest.er1
>conftest.err
8548 cat conftest.err
>&5
8549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8550 (exit $ac_status); } &&
8551 { ac_try
='test -z "$ac_c_werror_flag"
8552 || test ! -s conftest.err'
8553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8557 (exit $ac_status); }; } &&
8558 { ac_try
='test -s conftest$ac_exeext'
8559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8563 (exit $ac_status); }; }; then
8564 ac_cv_lib_ipc_shmat
=yes
8566 echo "$as_me: failed program was:" >&5
8567 sed 's/^/| /' conftest.
$ac_ext >&5
8569 ac_cv_lib_ipc_shmat
=no
8571 rm -f conftest.err conftest.
$ac_objext \
8572 conftest
$ac_exeext conftest.
$ac_ext
8573 LIBS
=$ac_check_lib_save_LIBS
8575 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
8576 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
8577 if test $ac_cv_lib_ipc_shmat = yes; then
8578 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
8584 # Check for libraries that X11R6 Xt/Xaw programs need.
8585 ac_save_LDFLAGS
=$LDFLAGS
8586 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
8587 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
8588 # check for ICE first), but we must link in the order -lSM -lICE or
8589 # we get undefined symbols. So assume we have SM if we have ICE.
8590 # These have to be linked with before -lX11, unlike the other
8591 # libraries we check for below, so use a different variable.
8592 # John Interrante, Karl Berry
8593 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
8594 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
8595 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
8596 echo $ECHO_N "(cached) $ECHO_C" >&6
8598 ac_check_lib_save_LIBS
=$LIBS
8599 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
8600 cat >conftest.
$ac_ext <<_ACEOF
8603 cat confdefs.h
>>conftest.
$ac_ext
8604 cat >>conftest.
$ac_ext <<_ACEOF
8605 /* end confdefs.h. */
8607 /* Override any gcc2 internal prototype to avoid an error. */
8611 /* We use char because int might match the return type of a gcc2
8612 builtin and then its argument prototype would still apply. */
8613 char IceConnectionNumber ();
8617 IceConnectionNumber ();
8622 rm -f conftest.
$ac_objext conftest
$ac_exeext
8623 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8624 (eval $ac_link) 2>conftest.er1
8626 grep -v '^ *+' conftest.er1
>conftest.err
8628 cat conftest.err
>&5
8629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8630 (exit $ac_status); } &&
8631 { ac_try
='test -z "$ac_c_werror_flag"
8632 || test ! -s conftest.err'
8633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8637 (exit $ac_status); }; } &&
8638 { ac_try
='test -s conftest$ac_exeext'
8639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8643 (exit $ac_status); }; }; then
8644 ac_cv_lib_ICE_IceConnectionNumber
=yes
8646 echo "$as_me: failed program was:" >&5
8647 sed 's/^/| /' conftest.
$ac_ext >&5
8649 ac_cv_lib_ICE_IceConnectionNumber
=no
8651 rm -f conftest.err conftest.
$ac_objext \
8652 conftest
$ac_exeext conftest.
$ac_ext
8653 LIBS
=$ac_check_lib_save_LIBS
8655 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
8656 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
8657 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
8658 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
8661 LDFLAGS
=$ac_save_LDFLAGS
8665 CPPFLAGS
="$CFLAGS $X_CFLAGS"
8667 echo "$as_me:$LINENO: checking for XOpenDisplay in -lX11" >&5
8668 echo $ECHO_N "checking for XOpenDisplay in -lX11... $ECHO_C" >&6
8669 if test "${ac_cv_lib_X11_XOpenDisplay+set}" = set; then
8670 echo $ECHO_N "(cached) $ECHO_C" >&6
8672 ac_check_lib_save_LIBS
=$LIBS
8673 LIBS
="-lX11 $X_LIBS $LIBS"
8674 cat >conftest.
$ac_ext <<_ACEOF
8677 cat confdefs.h
>>conftest.
$ac_ext
8678 cat >>conftest.
$ac_ext <<_ACEOF
8679 /* end confdefs.h. */
8681 /* Override any gcc2 internal prototype to avoid an error. */
8685 /* We use char because int might match the return type of a gcc2
8686 builtin and then its argument prototype would still apply. */
8687 char XOpenDisplay ();
8696 rm -f conftest.
$ac_objext conftest
$ac_exeext
8697 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8698 (eval $ac_link) 2>conftest.er1
8700 grep -v '^ *+' conftest.er1
>conftest.err
8702 cat conftest.err
>&5
8703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8704 (exit $ac_status); } &&
8705 { ac_try
='test -z "$ac_c_werror_flag"
8706 || test ! -s conftest.err'
8707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8711 (exit $ac_status); }; } &&
8712 { ac_try
='test -s conftest$ac_exeext'
8713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8717 (exit $ac_status); }; }; then
8718 ac_cv_lib_X11_XOpenDisplay
=yes
8720 echo "$as_me: failed program was:" >&5
8721 sed 's/^/| /' conftest.
$ac_ext >&5
8723 ac_cv_lib_X11_XOpenDisplay
=no
8725 rm -f conftest.err conftest.
$ac_objext \
8726 conftest
$ac_exeext conftest.
$ac_ext
8727 LIBS
=$ac_check_lib_save_LIBS
8729 echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XOpenDisplay" >&5
8730 echo "${ECHO_T}$ac_cv_lib_X11_XOpenDisplay" >&6
8731 if test $ac_cv_lib_X11_XOpenDisplay = yes; then
8732 cat >>confdefs.h
<<_ACEOF
8733 #define HAVE_LIBX11 1
8741 echo "$as_me:$LINENO: checking for main in -lICE" >&5
8742 echo $ECHO_N "checking for main in -lICE... $ECHO_C" >&6
8743 if test "${ac_cv_lib_ICE_main+set}" = set; then
8744 echo $ECHO_N "(cached) $ECHO_C" >&6
8746 ac_check_lib_save_LIBS
=$LIBS
8747 LIBS
="-lICE $X_LIBS $LIBS"
8748 cat >conftest.
$ac_ext <<_ACEOF
8751 cat confdefs.h
>>conftest.
$ac_ext
8752 cat >>conftest.
$ac_ext <<_ACEOF
8753 /* end confdefs.h. */
8764 rm -f conftest.
$ac_objext conftest
$ac_exeext
8765 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8766 (eval $ac_link) 2>conftest.er1
8768 grep -v '^ *+' conftest.er1
>conftest.err
8770 cat conftest.err
>&5
8771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8772 (exit $ac_status); } &&
8773 { ac_try
='test -z "$ac_c_werror_flag"
8774 || test ! -s conftest.err'
8775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8779 (exit $ac_status); }; } &&
8780 { ac_try
='test -s conftest$ac_exeext'
8781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8785 (exit $ac_status); }; }; then
8786 ac_cv_lib_ICE_main
=yes
8788 echo "$as_me: failed program was:" >&5
8789 sed 's/^/| /' conftest.
$ac_ext >&5
8791 ac_cv_lib_ICE_main
=no
8793 rm -f conftest.err conftest.
$ac_objext \
8794 conftest
$ac_exeext conftest.
$ac_ext
8795 LIBS
=$ac_check_lib_save_LIBS
8797 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_main" >&5
8798 echo "${ECHO_T}$ac_cv_lib_ICE_main" >&6
8799 if test $ac_cv_lib_ICE_main = yes; then
8800 cat >>confdefs.h
<<_ACEOF
8801 #define HAVE_LIBICE 1
8809 echo "$as_me:$LINENO: checking for main in -lSM" >&5
8810 echo $ECHO_N "checking for main in -lSM... $ECHO_C" >&6
8811 if test "${ac_cv_lib_SM_main+set}" = set; then
8812 echo $ECHO_N "(cached) $ECHO_C" >&6
8814 ac_check_lib_save_LIBS
=$LIBS
8815 LIBS
="-lSM $X_LIBS $LIBS"
8816 cat >conftest.
$ac_ext <<_ACEOF
8819 cat confdefs.h
>>conftest.
$ac_ext
8820 cat >>conftest.
$ac_ext <<_ACEOF
8821 /* end confdefs.h. */
8832 rm -f conftest.
$ac_objext conftest
$ac_exeext
8833 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8834 (eval $ac_link) 2>conftest.er1
8836 grep -v '^ *+' conftest.er1
>conftest.err
8838 cat conftest.err
>&5
8839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8840 (exit $ac_status); } &&
8841 { ac_try
='test -z "$ac_c_werror_flag"
8842 || test ! -s conftest.err'
8843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8847 (exit $ac_status); }; } &&
8848 { ac_try
='test -s conftest$ac_exeext'
8849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8853 (exit $ac_status); }; }; then
8854 ac_cv_lib_SM_main
=yes
8856 echo "$as_me: failed program was:" >&5
8857 sed 's/^/| /' conftest.
$ac_ext >&5
8859 ac_cv_lib_SM_main
=no
8861 rm -f conftest.err conftest.
$ac_objext \
8862 conftest
$ac_exeext conftest.
$ac_ext
8863 LIBS
=$ac_check_lib_save_LIBS
8865 echo "$as_me:$LINENO: result: $ac_cv_lib_SM_main" >&5
8866 echo "${ECHO_T}$ac_cv_lib_SM_main" >&6
8867 if test $ac_cv_lib_SM_main = yes; then
8868 cat >>confdefs.h
<<_ACEOF
8869 #define HAVE_LIBSM 1
8877 echo "$as_me:$LINENO: checking for main in -lXext" >&5
8878 echo $ECHO_N "checking for main in -lXext... $ECHO_C" >&6
8879 if test "${ac_cv_lib_Xext_main+set}" = set; then
8880 echo $ECHO_N "(cached) $ECHO_C" >&6
8882 ac_check_lib_save_LIBS
=$LIBS
8883 LIBS
="-lXext $X_LIBS $LIBS"
8884 cat >conftest.
$ac_ext <<_ACEOF
8887 cat confdefs.h
>>conftest.
$ac_ext
8888 cat >>conftest.
$ac_ext <<_ACEOF
8889 /* end confdefs.h. */
8900 rm -f conftest.
$ac_objext conftest
$ac_exeext
8901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8902 (eval $ac_link) 2>conftest.er1
8904 grep -v '^ *+' conftest.er1
>conftest.err
8906 cat conftest.err
>&5
8907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8908 (exit $ac_status); } &&
8909 { ac_try
='test -z "$ac_c_werror_flag"
8910 || test ! -s conftest.err'
8911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8915 (exit $ac_status); }; } &&
8916 { ac_try
='test -s conftest$ac_exeext'
8917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8921 (exit $ac_status); }; }; then
8922 ac_cv_lib_Xext_main
=yes
8924 echo "$as_me: failed program was:" >&5
8925 sed 's/^/| /' conftest.
$ac_ext >&5
8927 ac_cv_lib_Xext_main
=no
8929 rm -f conftest.err conftest.
$ac_objext \
8930 conftest
$ac_exeext conftest.
$ac_ext
8931 LIBS
=$ac_check_lib_save_LIBS
8933 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_main" >&5
8934 echo "${ECHO_T}$ac_cv_lib_Xext_main" >&6
8935 if test $ac_cv_lib_Xext_main = yes; then
8936 cat >>confdefs.h
<<_ACEOF
8937 #define HAVE_LIBXEXT 1
8945 echo "$as_me:$LINENO: checking for XtOpenDisplay in -lXt" >&5
8946 echo $ECHO_N "checking for XtOpenDisplay in -lXt... $ECHO_C" >&6
8947 if test "${ac_cv_lib_Xt_XtOpenDisplay+set}" = set; then
8948 echo $ECHO_N "(cached) $ECHO_C" >&6
8950 ac_check_lib_save_LIBS
=$LIBS
8951 LIBS
="-lXt $X_LIBS $LIBS"
8952 cat >conftest.
$ac_ext <<_ACEOF
8955 cat confdefs.h
>>conftest.
$ac_ext
8956 cat >>conftest.
$ac_ext <<_ACEOF
8957 /* end confdefs.h. */
8959 /* Override any gcc2 internal prototype to avoid an error. */
8963 /* We use char because int might match the return type of a gcc2
8964 builtin and then its argument prototype would still apply. */
8965 char XtOpenDisplay ();
8974 rm -f conftest.
$ac_objext conftest
$ac_exeext
8975 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8976 (eval $ac_link) 2>conftest.er1
8978 grep -v '^ *+' conftest.er1
>conftest.err
8980 cat conftest.err
>&5
8981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8982 (exit $ac_status); } &&
8983 { ac_try
='test -z "$ac_c_werror_flag"
8984 || test ! -s conftest.err'
8985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8989 (exit $ac_status); }; } &&
8990 { ac_try
='test -s conftest$ac_exeext'
8991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8995 (exit $ac_status); }; }; then
8996 ac_cv_lib_Xt_XtOpenDisplay
=yes
8998 echo "$as_me: failed program was:" >&5
8999 sed 's/^/| /' conftest.
$ac_ext >&5
9001 ac_cv_lib_Xt_XtOpenDisplay
=no
9003 rm -f conftest.err conftest.
$ac_objext \
9004 conftest
$ac_exeext conftest.
$ac_ext
9005 LIBS
=$ac_check_lib_save_LIBS
9007 echo "$as_me:$LINENO: result: $ac_cv_lib_Xt_XtOpenDisplay" >&5
9008 echo "${ECHO_T}$ac_cv_lib_Xt_XtOpenDisplay" >&6
9009 if test $ac_cv_lib_Xt_XtOpenDisplay = yes; then
9010 cat >>confdefs.h
<<_ACEOF
9011 #define HAVE_LIBXT 1
9019 echo "$as_me:$LINENO: checking for main in -lXmu" >&5
9020 echo $ECHO_N "checking for main in -lXmu... $ECHO_C" >&6
9021 if test "${ac_cv_lib_Xmu_main+set}" = set; then
9022 echo $ECHO_N "(cached) $ECHO_C" >&6
9024 ac_check_lib_save_LIBS
=$LIBS
9025 LIBS
="-lXmu $X_LIBS $LIBS"
9026 cat >conftest.
$ac_ext <<_ACEOF
9029 cat confdefs.h
>>conftest.
$ac_ext
9030 cat >>conftest.
$ac_ext <<_ACEOF
9031 /* end confdefs.h. */
9042 rm -f conftest.
$ac_objext conftest
$ac_exeext
9043 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9044 (eval $ac_link) 2>conftest.er1
9046 grep -v '^ *+' conftest.er1
>conftest.err
9048 cat conftest.err
>&5
9049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9050 (exit $ac_status); } &&
9051 { ac_try
='test -z "$ac_c_werror_flag"
9052 || test ! -s conftest.err'
9053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9057 (exit $ac_status); }; } &&
9058 { ac_try
='test -s conftest$ac_exeext'
9059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9063 (exit $ac_status); }; }; then
9064 ac_cv_lib_Xmu_main
=yes
9066 echo "$as_me: failed program was:" >&5
9067 sed 's/^/| /' conftest.
$ac_ext >&5
9069 ac_cv_lib_Xmu_main
=no
9071 rm -f conftest.err conftest.
$ac_objext \
9072 conftest
$ac_exeext conftest.
$ac_ext
9073 LIBS
=$ac_check_lib_save_LIBS
9075 echo "$as_me:$LINENO: result: $ac_cv_lib_Xmu_main" >&5
9076 echo "${ECHO_T}$ac_cv_lib_Xmu_main" >&6
9077 if test $ac_cv_lib_Xmu_main = yes; then
9078 cat >>confdefs.h
<<_ACEOF
9079 #define HAVE_LIBXMU 1
9087 echo "$as_me:$LINENO: checking for main in -lXpm" >&5
9088 echo $ECHO_N "checking for main in -lXpm... $ECHO_C" >&6
9089 if test "${ac_cv_lib_Xpm_main+set}" = set; then
9090 echo $ECHO_N "(cached) $ECHO_C" >&6
9092 ac_check_lib_save_LIBS
=$LIBS
9093 LIBS
="-lXpm $X_LIBS $LIBS"
9094 cat >conftest.
$ac_ext <<_ACEOF
9097 cat confdefs.h
>>conftest.
$ac_ext
9098 cat >>conftest.
$ac_ext <<_ACEOF
9099 /* end confdefs.h. */
9110 rm -f conftest.
$ac_objext conftest
$ac_exeext
9111 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9112 (eval $ac_link) 2>conftest.er1
9114 grep -v '^ *+' conftest.er1
>conftest.err
9116 cat conftest.err
>&5
9117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9118 (exit $ac_status); } &&
9119 { ac_try
='test -z "$ac_c_werror_flag"
9120 || test ! -s conftest.err'
9121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9125 (exit $ac_status); }; } &&
9126 { ac_try
='test -s conftest$ac_exeext'
9127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9131 (exit $ac_status); }; }; then
9132 ac_cv_lib_Xpm_main
=yes
9134 echo "$as_me: failed program was:" >&5
9135 sed 's/^/| /' conftest.
$ac_ext >&5
9137 ac_cv_lib_Xpm_main
=no
9139 rm -f conftest.err conftest.
$ac_objext \
9140 conftest
$ac_exeext conftest.
$ac_ext
9141 LIBS
=$ac_check_lib_save_LIBS
9143 echo "$as_me:$LINENO: result: $ac_cv_lib_Xpm_main" >&5
9144 echo "${ECHO_T}$ac_cv_lib_Xpm_main" >&6
9145 if test $ac_cv_lib_Xpm_main = yes; then
9146 cat >>confdefs.h
<<_ACEOF
9147 #define HAVE_LIBXPM 1
9155 echo "$as_me:$LINENO: checking for XmCreateMainWindow in -lXm" >&5
9156 echo $ECHO_N "checking for XmCreateMainWindow in -lXm... $ECHO_C" >&6
9157 if test "${ac_cv_lib_Xm_XmCreateMainWindow+set}" = set; then
9158 echo $ECHO_N "(cached) $ECHO_C" >&6
9160 ac_check_lib_save_LIBS
=$LIBS
9161 LIBS
="-lXm $X_LIBS $LIBS"
9162 cat >conftest.
$ac_ext <<_ACEOF
9165 cat confdefs.h
>>conftest.
$ac_ext
9166 cat >>conftest.
$ac_ext <<_ACEOF
9167 /* end confdefs.h. */
9169 /* Override any gcc2 internal prototype to avoid an error. */
9173 /* We use char because int might match the return type of a gcc2
9174 builtin and then its argument prototype would still apply. */
9175 char XmCreateMainWindow ();
9179 XmCreateMainWindow ();
9184 rm -f conftest.
$ac_objext conftest
$ac_exeext
9185 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9186 (eval $ac_link) 2>conftest.er1
9188 grep -v '^ *+' conftest.er1
>conftest.err
9190 cat conftest.err
>&5
9191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9192 (exit $ac_status); } &&
9193 { ac_try
='test -z "$ac_c_werror_flag"
9194 || test ! -s conftest.err'
9195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9199 (exit $ac_status); }; } &&
9200 { ac_try
='test -s conftest$ac_exeext'
9201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9205 (exit $ac_status); }; }; then
9206 ac_cv_lib_Xm_XmCreateMainWindow
=yes
9208 echo "$as_me: failed program was:" >&5
9209 sed 's/^/| /' conftest.
$ac_ext >&5
9211 ac_cv_lib_Xm_XmCreateMainWindow
=no
9213 rm -f conftest.err conftest.
$ac_objext \
9214 conftest
$ac_exeext conftest.
$ac_ext
9215 LIBS
=$ac_check_lib_save_LIBS
9217 echo "$as_me:$LINENO: result: $ac_cv_lib_Xm_XmCreateMainWindow" >&5
9218 echo "${ECHO_T}$ac_cv_lib_Xm_XmCreateMainWindow" >&6
9219 if test $ac_cv_lib_Xm_XmCreateMainWindow = yes; then
9220 cat >>confdefs.h
<<_ACEOF
9221 #define HAVE_LIBXM 1
9228 case $ac_cv_lib_Xm_XmCreateMainWindow in
9230 { { echo "$as_me:$LINENO: error: You don't seem to have the Lesstif development environment installed." >&5
9231 echo "$as_me: error: You don't seem to have the Lesstif development environment installed." >&2;}
9232 { (exit 1); exit 1; }; }
9237 for ac_header
in Xm
/Xm.h
9239 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9240 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9241 echo "$as_me:$LINENO: checking for $ac_header" >&5
9242 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9243 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9244 echo $ECHO_N "(cached) $ECHO_C" >&6
9246 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9247 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9249 # Is the header compilable?
9250 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9251 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9252 cat >conftest.
$ac_ext <<_ACEOF
9255 cat confdefs.h
>>conftest.
$ac_ext
9256 cat >>conftest.
$ac_ext <<_ACEOF
9257 /* end confdefs.h. */
9258 $ac_includes_default
9259 #include <$ac_header>
9261 rm -f conftest.
$ac_objext
9262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9263 (eval $ac_compile) 2>conftest.er1
9265 grep -v '^ *+' conftest.er1
>conftest.err
9267 cat conftest.err
>&5
9268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9269 (exit $ac_status); } &&
9270 { ac_try
='test -z "$ac_c_werror_flag"
9271 || test ! -s conftest.err'
9272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9276 (exit $ac_status); }; } &&
9277 { ac_try
='test -s conftest.$ac_objext'
9278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9282 (exit $ac_status); }; }; then
9283 ac_header_compiler
=yes
9285 echo "$as_me: failed program was:" >&5
9286 sed 's/^/| /' conftest.
$ac_ext >&5
9288 ac_header_compiler
=no
9290 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9291 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9292 echo "${ECHO_T}$ac_header_compiler" >&6
9294 # Is the header present?
9295 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9296 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9297 cat >conftest.
$ac_ext <<_ACEOF
9300 cat confdefs.h
>>conftest.
$ac_ext
9301 cat >>conftest.
$ac_ext <<_ACEOF
9302 /* end confdefs.h. */
9303 #include <$ac_header>
9305 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9306 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9308 grep -v '^ *+' conftest.er1
>conftest.err
9310 cat conftest.err
>&5
9311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9312 (exit $ac_status); } >/dev
/null
; then
9313 if test -s conftest.err
; then
9314 ac_cpp_err
=$ac_c_preproc_warn_flag
9315 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9322 if test -z "$ac_cpp_err"; then
9323 ac_header_preproc
=yes
9325 echo "$as_me: failed program was:" >&5
9326 sed 's/^/| /' conftest.
$ac_ext >&5
9328 ac_header_preproc
=no
9330 rm -f conftest.err conftest.
$ac_ext
9331 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9332 echo "${ECHO_T}$ac_header_preproc" >&6
9334 # So? What about this header?
9335 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9337 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9338 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9339 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9340 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9341 ac_header_preproc
=yes
9344 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9345 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9346 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9347 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9348 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9349 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9350 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9351 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9352 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9353 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9354 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9355 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9358 ## ------------------------------------------ ##
9359 ## Report this to the AC_PACKAGE_NAME lists. ##
9360 ## ------------------------------------------ ##
9363 sed "s/^/$as_me: WARNING: /" >&2
9366 echo "$as_me:$LINENO: checking for $ac_header" >&5
9367 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9368 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9369 echo $ECHO_N "(cached) $ECHO_C" >&6
9371 eval "$as_ac_Header=\$ac_header_preproc"
9373 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9374 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9377 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9378 cat >>confdefs.h
<<_ACEOF
9379 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9386 case $ac_cv_header_Xm_Xm_h in
9388 { { echo "$as_me:$LINENO: error: You don't seem to have the Lesstif development environment installed." >&5
9389 echo "$as_me: error: You don't seem to have the Lesstif development environment installed." >&2;}
9390 { (exit 1); exit 1; }; }
9397 # Check for pkg-config
9398 # Extract the first word of "pkg-config", so it can be a program name with args.
9399 set dummy pkg-config
; ac_word
=$2
9400 echo "$as_me:$LINENO: checking for $ac_word" >&5
9401 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9402 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
9403 echo $ECHO_N "(cached) $ECHO_C" >&6
9407 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
9410 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9414 test -z "$as_dir" && as_dir
=.
9415 for ac_exec_ext
in '' $ac_executable_extensions; do
9416 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9417 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
9418 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9424 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
9428 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
9430 if test -n "$PKG_CONFIG"; then
9431 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
9432 echo "${ECHO_T}$PKG_CONFIG" >&6
9434 echo "$as_me:$LINENO: result: no" >&5
9435 echo "${ECHO_T}no" >&6
9438 if test "$PKG_CONFIG" = "no"; then
9439 { { echo "$as_me:$LINENO: error: Cannot find pkg-config, make sure it is installed and in your PATH" >&5
9440 echo "$as_me: error: Cannot find pkg-config, make sure it is installed and in your PATH" >&2;}
9441 { (exit 1); exit 1; }; }
9447 if test -z "$PKG_CONFIG"; then
9448 # Extract the first word of "pkg-config", so it can be a program name with args.
9449 set dummy pkg-config
; ac_word
=$2
9450 echo "$as_me:$LINENO: checking for $ac_word" >&5
9451 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9452 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
9453 echo $ECHO_N "(cached) $ECHO_C" >&6
9457 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
9460 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9464 test -z "$as_dir" && as_dir
=.
9465 for ac_exec_ext
in '' $ac_executable_extensions; do
9466 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9467 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
9468 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9474 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
9478 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
9480 if test -n "$PKG_CONFIG"; then
9481 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
9482 echo "${ECHO_T}$PKG_CONFIG" >&6
9484 echo "$as_me:$LINENO: result: no" >&5
9485 echo "${ECHO_T}no" >&6
9490 if test "$PKG_CONFIG" = "no" ; then
9491 echo "*** The pkg-config script could not be found. Make sure it is"
9492 echo "*** in your path, or set the PKG_CONFIG environment variable"
9493 echo "*** to the full path to pkg-config."
9494 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
9496 PKG_CONFIG_MIN_VERSION
=0.9.0
9497 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
9498 echo "$as_me:$LINENO: checking for gtk+-2.0 >= 2.4.0" >&5
9499 echo $ECHO_N "checking for gtk+-2.0 >= 2.4.0... $ECHO_C" >&6
9501 if $PKG_CONFIG --exists "gtk+-2.0 >= 2.4.0" ; then
9502 echo "$as_me:$LINENO: result: yes" >&5
9503 echo "${ECHO_T}yes" >&6
9506 echo "$as_me:$LINENO: checking GTK_CFLAGS" >&5
9507 echo $ECHO_N "checking GTK_CFLAGS... $ECHO_C" >&6
9508 GTK_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.4.0"`
9509 echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5
9510 echo "${ECHO_T}$GTK_CFLAGS" >&6
9512 echo "$as_me:$LINENO: checking GTK_LIBS" >&5
9513 echo $ECHO_N "checking GTK_LIBS... $ECHO_C" >&6
9514 GTK_LIBS
=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.4.0"`
9515 echo "$as_me:$LINENO: result: $GTK_LIBS" >&5
9516 echo "${ECHO_T}$GTK_LIBS" >&6
9520 ## If we have a custom action on failure, don't print errors, but
9521 ## do set a variable so people can do so.
9522 GTK_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.4.0"`
9529 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
9530 echo "*** See http://www.freedesktop.org/software/pkgconfig"
9534 if test $succeeded = yes; then
9537 { { echo "$as_me:$LINENO: error: Cannot find gtk+ >= 2.4.0, install it and rerun ./configure
9538 Please review the following errors:
9539 $GTK_PKG_ERRORS" >&5
9540 echo "$as_me: error: Cannot find gtk+ >= 2.4.0, install it and rerun ./configure
9541 Please review the following errors:
9542 $GTK_PKG_ERRORS" >&2;}
9543 { (exit 1); exit 1; }; }
9547 GTK_VERSION
=`$PKG_CONFIG gtk+-2.0 --modversion`
9549 # if we are building for gtk >= 2.8.0, we can use gdk_display_warp_pointer()
9550 # otherwise we need XWarpPointer and we'll pull in the required headers with
9551 # gdk/gdkx.h and we'll need to link with X11
9552 if ! $PKG_CONFIG gtk
+-2.0
--atleast-version=2.8.0 ; then
9553 CPPFLAGS
="$CFLAGS $GTK_CFLAGS"
9555 for ac_header
in gdk
/gdkx.h
9557 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9558 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9559 echo "$as_me:$LINENO: checking for $ac_header" >&5
9560 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9561 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9562 echo $ECHO_N "(cached) $ECHO_C" >&6
9564 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9565 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9567 # Is the header compilable?
9568 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9569 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9570 cat >conftest.
$ac_ext <<_ACEOF
9573 cat confdefs.h
>>conftest.
$ac_ext
9574 cat >>conftest.
$ac_ext <<_ACEOF
9575 /* end confdefs.h. */
9576 $ac_includes_default
9577 #include <$ac_header>
9579 rm -f conftest.
$ac_objext
9580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9581 (eval $ac_compile) 2>conftest.er1
9583 grep -v '^ *+' conftest.er1
>conftest.err
9585 cat conftest.err
>&5
9586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9587 (exit $ac_status); } &&
9588 { ac_try
='test -z "$ac_c_werror_flag"
9589 || test ! -s conftest.err'
9590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9594 (exit $ac_status); }; } &&
9595 { ac_try
='test -s conftest.$ac_objext'
9596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9600 (exit $ac_status); }; }; then
9601 ac_header_compiler
=yes
9603 echo "$as_me: failed program was:" >&5
9604 sed 's/^/| /' conftest.
$ac_ext >&5
9606 ac_header_compiler
=no
9608 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9609 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9610 echo "${ECHO_T}$ac_header_compiler" >&6
9612 # Is the header present?
9613 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9614 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9615 cat >conftest.
$ac_ext <<_ACEOF
9618 cat confdefs.h
>>conftest.
$ac_ext
9619 cat >>conftest.
$ac_ext <<_ACEOF
9620 /* end confdefs.h. */
9621 #include <$ac_header>
9623 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9624 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9626 grep -v '^ *+' conftest.er1
>conftest.err
9628 cat conftest.err
>&5
9629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9630 (exit $ac_status); } >/dev
/null
; then
9631 if test -s conftest.err
; then
9632 ac_cpp_err
=$ac_c_preproc_warn_flag
9633 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9640 if test -z "$ac_cpp_err"; then
9641 ac_header_preproc
=yes
9643 echo "$as_me: failed program was:" >&5
9644 sed 's/^/| /' conftest.
$ac_ext >&5
9646 ac_header_preproc
=no
9648 rm -f conftest.err conftest.
$ac_ext
9649 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9650 echo "${ECHO_T}$ac_header_preproc" >&6
9652 # So? What about this header?
9653 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9655 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9656 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9657 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9658 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9659 ac_header_preproc
=yes
9662 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9663 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9664 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9665 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9666 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9667 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9668 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9669 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9670 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9671 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9672 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9673 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9676 ## ------------------------------------------ ##
9677 ## Report this to the AC_PACKAGE_NAME lists. ##
9678 ## ------------------------------------------ ##
9681 sed "s/^/$as_me: WARNING: /" >&2
9684 echo "$as_me:$LINENO: checking for $ac_header" >&5
9685 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9686 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9687 echo $ECHO_N "(cached) $ECHO_C" >&6
9689 eval "$as_ac_Header=\$ac_header_preproc"
9691 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9692 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9695 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9696 cat >>confdefs.h
<<_ACEOF
9697 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9710 if test -z "$PKG_CONFIG"; then
9711 # Extract the first word of "pkg-config", so it can be a program name with args.
9712 set dummy pkg-config
; ac_word
=$2
9713 echo "$as_me:$LINENO: checking for $ac_word" >&5
9714 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9715 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
9716 echo $ECHO_N "(cached) $ECHO_C" >&6
9720 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
9723 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9727 test -z "$as_dir" && as_dir
=.
9728 for ac_exec_ext
in '' $ac_executable_extensions; do
9729 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9730 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
9731 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9737 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
9741 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
9743 if test -n "$PKG_CONFIG"; then
9744 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
9745 echo "${ECHO_T}$PKG_CONFIG" >&6
9747 echo "$as_me:$LINENO: result: no" >&5
9748 echo "${ECHO_T}no" >&6
9753 if test "$PKG_CONFIG" = "no" ; then
9754 echo "*** The pkg-config script could not be found. Make sure it is"
9755 echo "*** in your path, or set the PKG_CONFIG environment variable"
9756 echo "*** to the full path to pkg-config."
9757 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
9759 PKG_CONFIG_MIN_VERSION
=0.9.0
9760 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
9761 echo "$as_me:$LINENO: checking for glib-2.0 >= 2.4.0" >&5
9762 echo $ECHO_N "checking for glib-2.0 >= 2.4.0... $ECHO_C" >&6
9764 if $PKG_CONFIG --exists "glib-2.0 >= 2.4.0" ; then
9765 echo "$as_me:$LINENO: result: yes" >&5
9766 echo "${ECHO_T}yes" >&6
9769 echo "$as_me:$LINENO: checking GLIB_CFLAGS" >&5
9770 echo $ECHO_N "checking GLIB_CFLAGS... $ECHO_C" >&6
9771 GLIB_CFLAGS
=`$PKG_CONFIG --cflags "glib-2.0 >= 2.4.0"`
9772 echo "$as_me:$LINENO: result: $GLIB_CFLAGS" >&5
9773 echo "${ECHO_T}$GLIB_CFLAGS" >&6
9775 echo "$as_me:$LINENO: checking GLIB_LIBS" >&5
9776 echo $ECHO_N "checking GLIB_LIBS... $ECHO_C" >&6
9777 GLIB_LIBS
=`$PKG_CONFIG --libs "glib-2.0 >= 2.4.0"`
9778 echo "$as_me:$LINENO: result: $GLIB_LIBS" >&5
9779 echo "${ECHO_T}$GLIB_LIBS" >&6
9783 ## If we have a custom action on failure, don't print errors, but
9784 ## do set a variable so people can do so.
9785 GLIB_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 >= 2.4.0"`
9792 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
9793 echo "*** See http://www.freedesktop.org/software/pkgconfig"
9797 if test $succeeded = yes; then
9800 { { echo "$as_me:$LINENO: error: Cannot find glib >= 2.4.0, install it and rerun ./configure.
9801 Please review the following errors:
9802 $GLIB_PKG_ERRORS" >&5
9803 echo "$as_me: error: Cannot find glib >= 2.4.0, install it and rerun ./configure.
9804 Please review the following errors:
9805 $GLIB_PKG_ERRORS" >&2;}
9806 { (exit 1); exit 1; }; }
9810 GLIB_VERSION
=`$PKG_CONFIG glib-2.0 --modversion`
9814 # Check for gdlib-config for gd (www.boutell.com/gd)
9815 # Extract the first word of "gdlib-config", so it can be a program name with args.
9816 set dummy gdlib-config
; ac_word
=$2
9817 echo "$as_me:$LINENO: checking for $ac_word" >&5
9818 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9819 if test "${ac_cv_path_GDLIB_CONFIG+set}" = set; then
9820 echo $ECHO_N "(cached) $ECHO_C" >&6
9822 case $GDLIB_CONFIG in
9824 ac_cv_path_GDLIB_CONFIG
="$GDLIB_CONFIG" # Let the user override the test with a path.
9827 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9831 test -z "$as_dir" && as_dir
=.
9832 for ac_exec_ext
in '' $ac_executable_extensions; do
9833 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9834 ac_cv_path_GDLIB_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
9835 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9841 test -z "$ac_cv_path_GDLIB_CONFIG" && ac_cv_path_GDLIB_CONFIG
="no"
9845 GDLIB_CONFIG
=$ac_cv_path_GDLIB_CONFIG
9847 if test -n "$GDLIB_CONFIG"; then
9848 echo "$as_me:$LINENO: result: $GDLIB_CONFIG" >&5
9849 echo "${ECHO_T}$GDLIB_CONFIG" >&6
9851 echo "$as_me:$LINENO: result: no" >&5
9852 echo "${ECHO_T}no" >&6
9855 if test "$GDLIB_CONFIG" = "no"; then
9856 echo "$as_me:$LINENO: result: Cannot find gdlib-config.
9857 Make sure it is installed and in your PATH.
9858 gdlib-config is part of the GD library available from www.boutell.com/gd.
9859 This is needed for the png HID. I will look for libgd anyway and maybe
9862 echo "${ECHO_T}Cannot find gdlib-config.
9863 Make sure it is installed and in your PATH.
9864 gdlib-config is part of the GD library available from www.boutell.com/gd.
9865 This is needed for the png HID. I will look for libgd anyway and maybe
9868 if test "$WIN32" != "yes" ; then
9870 echo "$as_me:$LINENO: checking for main in -lgd" >&5
9871 echo $ECHO_N "checking for main in -lgd... $ECHO_C" >&6
9872 if test "${ac_cv_lib_gd_main+set}" = set; then
9873 echo $ECHO_N "(cached) $ECHO_C" >&6
9875 ac_check_lib_save_LIBS
=$LIBS
9877 cat >conftest.
$ac_ext <<_ACEOF
9880 cat confdefs.h
>>conftest.
$ac_ext
9881 cat >>conftest.
$ac_ext <<_ACEOF
9882 /* end confdefs.h. */
9893 rm -f conftest.
$ac_objext conftest
$ac_exeext
9894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9895 (eval $ac_link) 2>conftest.er1
9897 grep -v '^ *+' conftest.er1
>conftest.err
9899 cat conftest.err
>&5
9900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9901 (exit $ac_status); } &&
9902 { ac_try
='test -z "$ac_c_werror_flag"
9903 || test ! -s conftest.err'
9904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9908 (exit $ac_status); }; } &&
9909 { ac_try
='test -s conftest$ac_exeext'
9910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9914 (exit $ac_status); }; }; then
9915 ac_cv_lib_gd_main
=yes
9917 echo "$as_me: failed program was:" >&5
9918 sed 's/^/| /' conftest.
$ac_ext >&5
9920 ac_cv_lib_gd_main
=no
9922 rm -f conftest.err conftest.
$ac_objext \
9923 conftest
$ac_exeext conftest.
$ac_ext
9924 LIBS
=$ac_check_lib_save_LIBS
9926 echo "$as_me:$LINENO: result: $ac_cv_lib_gd_main" >&5
9927 echo "${ECHO_T}$ac_cv_lib_gd_main" >&6
9928 if test $ac_cv_lib_gd_main = yes; then
9929 cat >>confdefs.h
<<_ACEOF
9930 #define HAVE_LIBGD 1
9936 { { echo "$as_me:$LINENO: error: You have requested the nelma and/or png HID but -lgd could not be found" >&5
9937 echo "$as_me: error: You have requested the nelma and/or png HID but -lgd could not be found" >&2;}
9938 { (exit 1); exit 1; }; }
9943 echo "$as_me:$LINENO: checking for main in -lbgd" >&5
9944 echo $ECHO_N "checking for main in -lbgd... $ECHO_C" >&6
9945 if test "${ac_cv_lib_bgd_main+set}" = set; then
9946 echo $ECHO_N "(cached) $ECHO_C" >&6
9948 ac_check_lib_save_LIBS
=$LIBS
9950 cat >conftest.
$ac_ext <<_ACEOF
9953 cat confdefs.h
>>conftest.
$ac_ext
9954 cat >>conftest.
$ac_ext <<_ACEOF
9955 /* end confdefs.h. */
9966 rm -f conftest.
$ac_objext conftest
$ac_exeext
9967 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9968 (eval $ac_link) 2>conftest.er1
9970 grep -v '^ *+' conftest.er1
>conftest.err
9972 cat conftest.err
>&5
9973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9974 (exit $ac_status); } &&
9975 { ac_try
='test -z "$ac_c_werror_flag"
9976 || test ! -s conftest.err'
9977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9981 (exit $ac_status); }; } &&
9982 { ac_try
='test -s conftest$ac_exeext'
9983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9987 (exit $ac_status); }; }; then
9988 ac_cv_lib_bgd_main
=yes
9990 echo "$as_me: failed program was:" >&5
9991 sed 's/^/| /' conftest.
$ac_ext >&5
9993 ac_cv_lib_bgd_main
=no
9995 rm -f conftest.err conftest.
$ac_objext \
9996 conftest
$ac_exeext conftest.
$ac_ext
9997 LIBS
=$ac_check_lib_save_LIBS
9999 echo "$as_me:$LINENO: result: $ac_cv_lib_bgd_main" >&5
10000 echo "${ECHO_T}$ac_cv_lib_bgd_main" >&6
10001 if test $ac_cv_lib_bgd_main = yes; then
10002 cat >>confdefs.h
<<_ACEOF
10003 #define HAVE_LIBBGD 1
10009 { { echo "$as_me:$LINENO: error: You have requested the nelma and/or png HID but -lbgd could not be found" >&5
10010 echo "$as_me: error: You have requested the nelma and/or png HID but -lbgd could not be found" >&2;}
10011 { (exit 1); exit 1; }; }
10016 if test "$WIN32" = "yes" ; then
10021 echo "$as_me:$LINENO: checking for libgd cflags" >&5
10022 echo $ECHO_N "checking for libgd cflags... $ECHO_C" >&6
10023 GD_CFLAGS
="`$GDLIB_CONFIG --cflags`"
10024 echo "$as_me:$LINENO: result: $GD_CFLAGS" >&5
10025 echo "${ECHO_T}$GD_CFLAGS" >&6
10026 echo "$as_me:$LINENO: checking for libgd libs" >&5
10027 echo $ECHO_N "checking for libgd libs... $ECHO_C" >&6
10028 GD_LIBS
="`$GDLIB_CONFIG --ldflags` `$GDLIB_CONFIG --libs` -l${GD}"
10029 echo "$as_me:$LINENO: result: $GD_LIBS" >&5
10030 echo "${ECHO_T}$GD_LIBS" >&6
10033 # since some linux systems evidently install gdlib-config but fail to
10034 # install the headers (nice), check for the header too and fail if it
10036 CFLAGS
="$CFLAGS $GD_CFLAGS"
10037 CPPFLAGS
="$CPPFLAGS $GD_CFLAGS"
10039 for ac_header
in gd.h
10041 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10042 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10043 echo "$as_me:$LINENO: checking for $ac_header" >&5
10044 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10045 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10046 echo $ECHO_N "(cached) $ECHO_C" >&6
10048 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10049 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10051 # Is the header compilable?
10052 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10053 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10054 cat >conftest.
$ac_ext <<_ACEOF
10057 cat confdefs.h
>>conftest.
$ac_ext
10058 cat >>conftest.
$ac_ext <<_ACEOF
10059 /* end confdefs.h. */
10060 $ac_includes_default
10061 #include <$ac_header>
10063 rm -f conftest.
$ac_objext
10064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10065 (eval $ac_compile) 2>conftest.er1
10067 grep -v '^ *+' conftest.er1
>conftest.err
10069 cat conftest.err
>&5
10070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10071 (exit $ac_status); } &&
10072 { ac_try
='test -z "$ac_c_werror_flag"
10073 || test ! -s conftest.err'
10074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10075 (eval $ac_try) 2>&5
10077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10078 (exit $ac_status); }; } &&
10079 { ac_try
='test -s conftest.$ac_objext'
10080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10081 (eval $ac_try) 2>&5
10083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10084 (exit $ac_status); }; }; then
10085 ac_header_compiler
=yes
10087 echo "$as_me: failed program was:" >&5
10088 sed 's/^/| /' conftest.
$ac_ext >&5
10090 ac_header_compiler
=no
10092 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10093 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10094 echo "${ECHO_T}$ac_header_compiler" >&6
10096 # Is the header present?
10097 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10098 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10099 cat >conftest.
$ac_ext <<_ACEOF
10102 cat confdefs.h
>>conftest.
$ac_ext
10103 cat >>conftest.
$ac_ext <<_ACEOF
10104 /* end confdefs.h. */
10105 #include <$ac_header>
10107 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10108 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10110 grep -v '^ *+' conftest.er1
>conftest.err
10112 cat conftest.err
>&5
10113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10114 (exit $ac_status); } >/dev
/null
; then
10115 if test -s conftest.err
; then
10116 ac_cpp_err
=$ac_c_preproc_warn_flag
10117 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10124 if test -z "$ac_cpp_err"; then
10125 ac_header_preproc
=yes
10127 echo "$as_me: failed program was:" >&5
10128 sed 's/^/| /' conftest.
$ac_ext >&5
10130 ac_header_preproc
=no
10132 rm -f conftest.err conftest.
$ac_ext
10133 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10134 echo "${ECHO_T}$ac_header_preproc" >&6
10136 # So? What about this header?
10137 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10139 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10140 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10141 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10142 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10143 ac_header_preproc
=yes
10146 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10147 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10148 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10149 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10150 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10151 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10152 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10153 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10154 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10155 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10156 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10157 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10160 ## ------------------------------------------ ##
10161 ## Report this to the AC_PACKAGE_NAME lists. ##
10162 ## ------------------------------------------ ##
10165 sed "s/^/$as_me: WARNING: /" >&2
10168 echo "$as_me:$LINENO: checking for $ac_header" >&5
10169 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10170 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10171 echo $ECHO_N "(cached) $ECHO_C" >&6
10173 eval "$as_ac_Header=\$ac_header_preproc"
10175 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10176 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10179 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10180 cat >>confdefs.h
<<_ACEOF
10181 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10188 case $ac_cv_header_gd_h in
10190 { { echo "$as_me:$LINENO: error:
10191 You evidentally do not have a complete installation of the GD library available from www.boutell.com/gd.
10192 This is needed for the nelma and/or png HID.
10194 echo "$as_me: error:
10195 You evidentally do not have a complete installation of the GD library available from www.boutell.com/gd.
10196 This is needed for the nelma and/or png HID.
10198 { (exit 1); exit 1; }; }
10203 # Some versions of gd (prior to the expiration of the
10204 # patent related to gif compression) do not support
10205 # gif output. Check for that here.
10207 LIBS
="$save_LIBS $GD_LIBS $X_LIBS"
10209 echo "$as_me:$LINENO: checking if GIF output from the png HID is desired" >&5
10210 echo $ECHO_N "checking if GIF output from the png HID is desired... $ECHO_C" >&6
10211 # Check whether --enable-gif or --disable-gif was given.
10212 if test "${enable_gif+set}" = set; then
10213 enableval
="$enable_gif"
10215 if test "X$enable_gif" != "Xno" ; then
10216 echo "$as_me:$LINENO: result: yes" >&5
10217 echo "${ECHO_T}yes" >&6
10220 echo "$as_me:$LINENO: result: no" >&5
10221 echo "${ECHO_T}no" >&6
10227 echo "$as_me:$LINENO: result: yes" >&5
10228 echo "${ECHO_T}yes" >&6
10232 if test "X$with_gif" = "Xyes" ; then
10234 for ac_func
in gdImageGif
10236 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10237 echo "$as_me:$LINENO: checking for $ac_func" >&5
10238 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10239 if eval "test \"\${$as_ac_var+set}\" = set"; then
10240 echo $ECHO_N "(cached) $ECHO_C" >&6
10242 cat >conftest.
$ac_ext <<_ACEOF
10245 cat confdefs.h
>>conftest.
$ac_ext
10246 cat >>conftest.
$ac_ext <<_ACEOF
10247 /* end confdefs.h. */
10248 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10249 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10250 #define $ac_func innocuous_$ac_func
10252 /* System header to define __stub macros and hopefully few prototypes,
10253 which can conflict with char $ac_func (); below.
10254 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10255 <limits.h> exists even on freestanding compilers. */
10258 # include <limits.h>
10260 # include <assert.h>
10265 /* Override any gcc2 internal prototype to avoid an error. */
10270 /* We use char because int might match the return type of a gcc2
10271 builtin and then its argument prototype would still apply. */
10273 /* The GNU C library defines this for functions which it implements
10274 to always fail with ENOSYS. Some functions are actually named
10275 something starting with __ and the normal name is an alias. */
10276 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10279 char (*f) () = $ac_func;
10288 return f != $ac_func;
10293 rm -f conftest.
$ac_objext conftest
$ac_exeext
10294 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10295 (eval $ac_link) 2>conftest.er1
10297 grep -v '^ *+' conftest.er1
>conftest.err
10299 cat conftest.err
>&5
10300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10301 (exit $ac_status); } &&
10302 { ac_try
='test -z "$ac_c_werror_flag"
10303 || test ! -s conftest.err'
10304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10305 (eval $ac_try) 2>&5
10307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10308 (exit $ac_status); }; } &&
10309 { ac_try
='test -s conftest$ac_exeext'
10310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10311 (eval $ac_try) 2>&5
10313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10314 (exit $ac_status); }; }; then
10315 eval "$as_ac_var=yes"
10317 echo "$as_me: failed program was:" >&5
10318 sed 's/^/| /' conftest.
$ac_ext >&5
10320 eval "$as_ac_var=no"
10322 rm -f conftest.err conftest.
$ac_objext \
10323 conftest
$ac_exeext conftest.
$ac_ext
10325 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10326 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10327 if test `eval echo '${'$as_ac_var'}'` = yes; then
10328 cat >>confdefs.h
<<_ACEOF
10329 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10335 if test "$ac_cv_func_gdImageGif" != "yes"; then
10336 { { echo "$as_me:$LINENO: error: Your gd installation does not appear to include gif support.
10337 You may need to update your installation of gd or disable
10338 gif export with --disable-gif" >&5
10339 echo "$as_me: error: Your gd installation does not appear to include gif support.
10340 You may need to update your installation of gd or disable
10341 gif export with --disable-gif" >&2;}
10342 { (exit 1); exit 1; }; }
10346 echo "$as_me:$LINENO: checking if JPEG output from the png HID is desired" >&5
10347 echo $ECHO_N "checking if JPEG output from the png HID is desired... $ECHO_C" >&6
10348 # Check whether --enable-jpeg or --disable-jpeg was given.
10349 if test "${enable_jpeg+set}" = set; then
10350 enableval
="$enable_jpeg"
10352 if test "X$enable_jpeg" != "Xno" ; then
10353 echo "$as_me:$LINENO: result: yes" >&5
10354 echo "${ECHO_T}yes" >&6
10357 echo "$as_me:$LINENO: result: no" >&5
10358 echo "${ECHO_T}no" >&6
10364 echo "$as_me:$LINENO: result: yes" >&5
10365 echo "${ECHO_T}yes" >&6
10369 if test "X$with_jpeg" = "Xyes" ; then
10371 for ac_func
in gdImageJpeg
10373 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10374 echo "$as_me:$LINENO: checking for $ac_func" >&5
10375 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10376 if eval "test \"\${$as_ac_var+set}\" = set"; then
10377 echo $ECHO_N "(cached) $ECHO_C" >&6
10379 cat >conftest.
$ac_ext <<_ACEOF
10382 cat confdefs.h
>>conftest.
$ac_ext
10383 cat >>conftest.
$ac_ext <<_ACEOF
10384 /* end confdefs.h. */
10385 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10386 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10387 #define $ac_func innocuous_$ac_func
10389 /* System header to define __stub macros and hopefully few prototypes,
10390 which can conflict with char $ac_func (); below.
10391 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10392 <limits.h> exists even on freestanding compilers. */
10395 # include <limits.h>
10397 # include <assert.h>
10402 /* Override any gcc2 internal prototype to avoid an error. */
10407 /* We use char because int might match the return type of a gcc2
10408 builtin and then its argument prototype would still apply. */
10410 /* The GNU C library defines this for functions which it implements
10411 to always fail with ENOSYS. Some functions are actually named
10412 something starting with __ and the normal name is an alias. */
10413 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10416 char (*f) () = $ac_func;
10425 return f != $ac_func;
10430 rm -f conftest.
$ac_objext conftest
$ac_exeext
10431 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10432 (eval $ac_link) 2>conftest.er1
10434 grep -v '^ *+' conftest.er1
>conftest.err
10436 cat conftest.err
>&5
10437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10438 (exit $ac_status); } &&
10439 { ac_try
='test -z "$ac_c_werror_flag"
10440 || test ! -s conftest.err'
10441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10442 (eval $ac_try) 2>&5
10444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10445 (exit $ac_status); }; } &&
10446 { ac_try
='test -s conftest$ac_exeext'
10447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10448 (eval $ac_try) 2>&5
10450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10451 (exit $ac_status); }; }; then
10452 eval "$as_ac_var=yes"
10454 echo "$as_me: failed program was:" >&5
10455 sed 's/^/| /' conftest.
$ac_ext >&5
10457 eval "$as_ac_var=no"
10459 rm -f conftest.err conftest.
$ac_objext \
10460 conftest
$ac_exeext conftest.
$ac_ext
10462 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10463 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10464 if test `eval echo '${'$as_ac_var'}'` = yes; then
10465 cat >>confdefs.h
<<_ACEOF
10466 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10472 if test "$ac_cv_func_gdImageJpeg" != "yes"; then
10473 { { echo "$as_me:$LINENO: error: Your gd installation does not appear to include JPEG support.
10474 You may need to update your installation of gd or disable
10475 JPEG export with --disable-jpeg" >&5
10476 echo "$as_me: error: Your gd installation does not appear to include JPEG support.
10477 You may need to update your installation of gd or disable
10478 JPEG export with --disable-jpeg" >&2;}
10479 { (exit 1); exit 1; }; }
10484 echo "$as_me:$LINENO: checking if PNG output from the png HID is desired" >&5
10485 echo $ECHO_N "checking if PNG output from the png HID is desired... $ECHO_C" >&6
10486 # Check whether --enable-png or --disable-png was given.
10487 if test "${enable_png+set}" = set; then
10488 enableval
="$enable_png"
10490 if test "X$enable_png" != "Xno" ; then
10491 echo "$as_me:$LINENO: result: yes" >&5
10492 echo "${ECHO_T}yes" >&6
10495 echo "$as_me:$LINENO: result: no" >&5
10496 echo "${ECHO_T}no" >&6
10502 echo "$as_me:$LINENO: result: yes" >&5
10503 echo "${ECHO_T}yes" >&6
10507 if test "X$with_png" = "Xyes" ; then
10509 for ac_func
in gdImagePng
10511 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10512 echo "$as_me:$LINENO: checking for $ac_func" >&5
10513 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10514 if eval "test \"\${$as_ac_var+set}\" = set"; then
10515 echo $ECHO_N "(cached) $ECHO_C" >&6
10517 cat >conftest.
$ac_ext <<_ACEOF
10520 cat confdefs.h
>>conftest.
$ac_ext
10521 cat >>conftest.
$ac_ext <<_ACEOF
10522 /* end confdefs.h. */
10523 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10524 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10525 #define $ac_func innocuous_$ac_func
10527 /* System header to define __stub macros and hopefully few prototypes,
10528 which can conflict with char $ac_func (); below.
10529 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10530 <limits.h> exists even on freestanding compilers. */
10533 # include <limits.h>
10535 # include <assert.h>
10540 /* Override any gcc2 internal prototype to avoid an error. */
10545 /* We use char because int might match the return type of a gcc2
10546 builtin and then its argument prototype would still apply. */
10548 /* The GNU C library defines this for functions which it implements
10549 to always fail with ENOSYS. Some functions are actually named
10550 something starting with __ and the normal name is an alias. */
10551 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10554 char (*f) () = $ac_func;
10563 return f != $ac_func;
10568 rm -f conftest.
$ac_objext conftest
$ac_exeext
10569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10570 (eval $ac_link) 2>conftest.er1
10572 grep -v '^ *+' conftest.er1
>conftest.err
10574 cat conftest.err
>&5
10575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10576 (exit $ac_status); } &&
10577 { ac_try
='test -z "$ac_c_werror_flag"
10578 || test ! -s conftest.err'
10579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10580 (eval $ac_try) 2>&5
10582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10583 (exit $ac_status); }; } &&
10584 { ac_try
='test -s conftest$ac_exeext'
10585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10586 (eval $ac_try) 2>&5
10588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10589 (exit $ac_status); }; }; then
10590 eval "$as_ac_var=yes"
10592 echo "$as_me: failed program was:" >&5
10593 sed 's/^/| /' conftest.
$ac_ext >&5
10595 eval "$as_ac_var=no"
10597 rm -f conftest.err conftest.
$ac_objext \
10598 conftest
$ac_exeext conftest.
$ac_ext
10600 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10601 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10602 if test `eval echo '${'$as_ac_var'}'` = yes; then
10603 cat >>confdefs.h
<<_ACEOF
10604 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10610 if test "$ac_cv_func_gdImagePng" != "yes"; then
10611 { { echo "$as_me:$LINENO: error: Your gd installation does not appear to include PNG support.
10612 You may need to update your installation of gd or disable
10613 PNG export with --disable-png" >&5
10614 echo "$as_me: error: Your gd installation does not appear to include PNG support.
10615 You may need to update your installation of gd or disable
10616 PNG export with --disable-png" >&2;}
10617 { (exit 1); exit 1; }; }
10629 if test x
$with_png = xyes
; then
10639 if test x
$with_gif = xyes
; then
10649 # ------------- dmalloc -------------------
10651 echo "$as_me:$LINENO: checking if dmalloc debugging should be enabled" >&5
10652 echo $ECHO_N "checking if dmalloc debugging should be enabled... $ECHO_C" >&6
10653 # Check whether --enable-dmalloc or --disable-dmalloc was given.
10654 if test "${enable_dmalloc+set}" = set; then
10655 enableval
="$enable_dmalloc"
10657 if test "X$enable_dmalloc" != "Xno" ; then
10658 echo "$as_me:$LINENO: result: yes" >&5
10659 echo "${ECHO_T}yes" >&6
10660 if test "${ac_cv_header_dmalloc_h+set}" = set; then
10661 echo "$as_me:$LINENO: checking for dmalloc.h" >&5
10662 echo $ECHO_N "checking for dmalloc.h... $ECHO_C" >&6
10663 if test "${ac_cv_header_dmalloc_h+set}" = set; then
10664 echo $ECHO_N "(cached) $ECHO_C" >&6
10666 echo "$as_me:$LINENO: result: $ac_cv_header_dmalloc_h" >&5
10667 echo "${ECHO_T}$ac_cv_header_dmalloc_h" >&6
10669 # Is the header compilable?
10670 echo "$as_me:$LINENO: checking dmalloc.h usability" >&5
10671 echo $ECHO_N "checking dmalloc.h usability... $ECHO_C" >&6
10672 cat >conftest.
$ac_ext <<_ACEOF
10675 cat confdefs.h
>>conftest.
$ac_ext
10676 cat >>conftest.
$ac_ext <<_ACEOF
10677 /* end confdefs.h. */
10678 $ac_includes_default
10679 #include <dmalloc.h>
10681 rm -f conftest.
$ac_objext
10682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10683 (eval $ac_compile) 2>conftest.er1
10685 grep -v '^ *+' conftest.er1
>conftest.err
10687 cat conftest.err
>&5
10688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10689 (exit $ac_status); } &&
10690 { ac_try
='test -z "$ac_c_werror_flag"
10691 || test ! -s conftest.err'
10692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10693 (eval $ac_try) 2>&5
10695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10696 (exit $ac_status); }; } &&
10697 { ac_try
='test -s conftest.$ac_objext'
10698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10699 (eval $ac_try) 2>&5
10701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10702 (exit $ac_status); }; }; then
10703 ac_header_compiler
=yes
10705 echo "$as_me: failed program was:" >&5
10706 sed 's/^/| /' conftest.
$ac_ext >&5
10708 ac_header_compiler
=no
10710 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10711 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10712 echo "${ECHO_T}$ac_header_compiler" >&6
10714 # Is the header present?
10715 echo "$as_me:$LINENO: checking dmalloc.h presence" >&5
10716 echo $ECHO_N "checking dmalloc.h presence... $ECHO_C" >&6
10717 cat >conftest.
$ac_ext <<_ACEOF
10720 cat confdefs.h
>>conftest.
$ac_ext
10721 cat >>conftest.
$ac_ext <<_ACEOF
10722 /* end confdefs.h. */
10723 #include <dmalloc.h>
10725 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10726 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10728 grep -v '^ *+' conftest.er1
>conftest.err
10730 cat conftest.err
>&5
10731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10732 (exit $ac_status); } >/dev
/null
; then
10733 if test -s conftest.err
; then
10734 ac_cpp_err
=$ac_c_preproc_warn_flag
10735 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10742 if test -z "$ac_cpp_err"; then
10743 ac_header_preproc
=yes
10745 echo "$as_me: failed program was:" >&5
10746 sed 's/^/| /' conftest.
$ac_ext >&5
10748 ac_header_preproc
=no
10750 rm -f conftest.err conftest.
$ac_ext
10751 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10752 echo "${ECHO_T}$ac_header_preproc" >&6
10754 # So? What about this header?
10755 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10757 { echo "$as_me:$LINENO: WARNING: dmalloc.h: accepted by the compiler, rejected by the preprocessor!" >&5
10758 echo "$as_me: WARNING: dmalloc.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
10759 { echo "$as_me:$LINENO: WARNING: dmalloc.h: proceeding with the compiler's result" >&5
10760 echo "$as_me: WARNING: dmalloc.h: proceeding with the compiler's result" >&2;}
10761 ac_header_preproc
=yes
10764 { echo "$as_me:$LINENO: WARNING: dmalloc.h: present but cannot be compiled" >&5
10765 echo "$as_me: WARNING: dmalloc.h: present but cannot be compiled" >&2;}
10766 { echo "$as_me:$LINENO: WARNING: dmalloc.h: check for missing prerequisite headers?" >&5
10767 echo "$as_me: WARNING: dmalloc.h: check for missing prerequisite headers?" >&2;}
10768 { echo "$as_me:$LINENO: WARNING: dmalloc.h: see the Autoconf documentation" >&5
10769 echo "$as_me: WARNING: dmalloc.h: see the Autoconf documentation" >&2;}
10770 { echo "$as_me:$LINENO: WARNING: dmalloc.h: section \"Present But Cannot Be Compiled\"" >&5
10771 echo "$as_me: WARNING: dmalloc.h: section \"Present But Cannot Be Compiled\"" >&2;}
10772 { echo "$as_me:$LINENO: WARNING: dmalloc.h: proceeding with the preprocessor's result" >&5
10773 echo "$as_me: WARNING: dmalloc.h: proceeding with the preprocessor's result" >&2;}
10774 { echo "$as_me:$LINENO: WARNING: dmalloc.h: in the future, the compiler will take precedence" >&5
10775 echo "$as_me: WARNING: dmalloc.h: in the future, the compiler will take precedence" >&2;}
10778 ## ------------------------------------------ ##
10779 ## Report this to the AC_PACKAGE_NAME lists. ##
10780 ## ------------------------------------------ ##
10783 sed "s/^/$as_me: WARNING: /" >&2
10786 echo "$as_me:$LINENO: checking for dmalloc.h" >&5
10787 echo $ECHO_N "checking for dmalloc.h... $ECHO_C" >&6
10788 if test "${ac_cv_header_dmalloc_h+set}" = set; then
10789 echo $ECHO_N "(cached) $ECHO_C" >&6
10791 ac_cv_header_dmalloc_h
=$ac_header_preproc
10793 echo "$as_me:$LINENO: result: $ac_cv_header_dmalloc_h" >&5
10794 echo "${ECHO_T}$ac_cv_header_dmalloc_h" >&6
10797 if test $ac_cv_header_dmalloc_h = yes; then
10800 { { echo "$as_me:$LINENO: error: You have requested dmalloc debugging but dmalloc.h could not be found" >&5
10801 echo "$as_me: error: You have requested dmalloc debugging but dmalloc.h could not be found" >&2;}
10802 { (exit 1); exit 1; }; }
10807 echo "$as_me:$LINENO: checking for main in -ldmalloc" >&5
10808 echo $ECHO_N "checking for main in -ldmalloc... $ECHO_C" >&6
10809 if test "${ac_cv_lib_dmalloc_main+set}" = set; then
10810 echo $ECHO_N "(cached) $ECHO_C" >&6
10812 ac_check_lib_save_LIBS
=$LIBS
10813 LIBS
="-ldmalloc $LIBS"
10814 cat >conftest.
$ac_ext <<_ACEOF
10817 cat confdefs.h
>>conftest.
$ac_ext
10818 cat >>conftest.
$ac_ext <<_ACEOF
10819 /* end confdefs.h. */
10830 rm -f conftest.
$ac_objext conftest
$ac_exeext
10831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10832 (eval $ac_link) 2>conftest.er1
10834 grep -v '^ *+' conftest.er1
>conftest.err
10836 cat conftest.err
>&5
10837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10838 (exit $ac_status); } &&
10839 { ac_try
='test -z "$ac_c_werror_flag"
10840 || test ! -s conftest.err'
10841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10842 (eval $ac_try) 2>&5
10844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10845 (exit $ac_status); }; } &&
10846 { ac_try
='test -s conftest$ac_exeext'
10847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10848 (eval $ac_try) 2>&5
10850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10851 (exit $ac_status); }; }; then
10852 ac_cv_lib_dmalloc_main
=yes
10854 echo "$as_me: failed program was:" >&5
10855 sed 's/^/| /' conftest.
$ac_ext >&5
10857 ac_cv_lib_dmalloc_main
=no
10859 rm -f conftest.err conftest.
$ac_objext \
10860 conftest
$ac_exeext conftest.
$ac_ext
10861 LIBS
=$ac_check_lib_save_LIBS
10863 echo "$as_me:$LINENO: result: $ac_cv_lib_dmalloc_main" >&5
10864 echo "${ECHO_T}$ac_cv_lib_dmalloc_main" >&6
10865 if test $ac_cv_lib_dmalloc_main = yes; then
10866 cat >>confdefs.h
<<_ACEOF
10867 #define HAVE_LIBDMALLOC 1
10870 LIBS
="-ldmalloc $LIBS"
10873 { { echo "$as_me:$LINENO: error: You have requested dmalloc debugging but -ldmalloc could not be found" >&5
10874 echo "$as_me: error: You have requested dmalloc debugging but -ldmalloc could not be found" >&2;}
10875 { (exit 1); exit 1; }; }
10878 DMALLOC_LIBS
="-ldmalloc"
10881 echo "$as_me:$LINENO: result: no" >&5
10882 echo "${ECHO_T}no" >&6
10888 echo "$as_me:$LINENO: result: no" >&5
10889 echo "${ECHO_T}no" >&6
10894 # ------------- ElectricFence -------------------
10896 echo "$as_me:$LINENO: checking if ElectricFence debugging should be enabled" >&5
10897 echo $ECHO_N "checking if ElectricFence debugging should be enabled... $ECHO_C" >&6
10898 # Check whether --enable-efence or --disable-efence was given.
10899 if test "${enable_efence+set}" = set; then
10900 enableval
="$enable_efence"
10902 if test "X$enable_efence" != "Xno" ; then
10903 echo "$as_me:$LINENO: result: yes" >&5
10904 echo "${ECHO_T}yes" >&6
10906 echo "$as_me:$LINENO: checking for main in -lefence" >&5
10907 echo $ECHO_N "checking for main in -lefence... $ECHO_C" >&6
10908 if test "${ac_cv_lib_efence_main+set}" = set; then
10909 echo $ECHO_N "(cached) $ECHO_C" >&6
10911 ac_check_lib_save_LIBS
=$LIBS
10912 LIBS
="-lefence $LIBS"
10913 cat >conftest.
$ac_ext <<_ACEOF
10916 cat confdefs.h
>>conftest.
$ac_ext
10917 cat >>conftest.
$ac_ext <<_ACEOF
10918 /* end confdefs.h. */
10929 rm -f conftest.
$ac_objext conftest
$ac_exeext
10930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10931 (eval $ac_link) 2>conftest.er1
10933 grep -v '^ *+' conftest.er1
>conftest.err
10935 cat conftest.err
>&5
10936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10937 (exit $ac_status); } &&
10938 { ac_try
='test -z "$ac_c_werror_flag"
10939 || test ! -s conftest.err'
10940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10941 (eval $ac_try) 2>&5
10943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10944 (exit $ac_status); }; } &&
10945 { ac_try
='test -s conftest$ac_exeext'
10946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10947 (eval $ac_try) 2>&5
10949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10950 (exit $ac_status); }; }; then
10951 ac_cv_lib_efence_main
=yes
10953 echo "$as_me: failed program was:" >&5
10954 sed 's/^/| /' conftest.
$ac_ext >&5
10956 ac_cv_lib_efence_main
=no
10958 rm -f conftest.err conftest.
$ac_objext \
10959 conftest
$ac_exeext conftest.
$ac_ext
10960 LIBS
=$ac_check_lib_save_LIBS
10962 echo "$as_me:$LINENO: result: $ac_cv_lib_efence_main" >&5
10963 echo "${ECHO_T}$ac_cv_lib_efence_main" >&6
10964 if test $ac_cv_lib_efence_main = yes; then
10965 cat >>confdefs.h
<<_ACEOF
10966 #define HAVE_LIBEFENCE 1
10969 LIBS
="-lefence $LIBS"
10972 { { echo "$as_me:$LINENO: error: You have requested ElectricFence debugging but -lefence could not be found" >&5
10973 echo "$as_me: error: You have requested ElectricFence debugging but -lefence could not be found" >&2;}
10974 { (exit 1); exit 1; }; }
10979 echo "$as_me:$LINENO: result: no" >&5
10980 echo "${ECHO_T}no" >&6
10985 echo "$as_me:$LINENO: result: no" >&5
10986 echo "${ECHO_T}no" >&6
10990 CFLAGS
="$CFLAGS $X_CFLAGS $DBUS_CFLAGS $GTK_CFLAGS"
10991 LIBS
="$LIBS $XM_LIBS $DBUS_LIBS $X_LIBS $GTK_LIBS $DMALLOC_LIBS $GD_LIBS"
10994 # if we have gcc then add -Wall
10995 if test "x$GCC" = "xyes"; then
10996 if test -z "`echo "$CFLAGS" | grep "\
-Wall" 2> /dev/null`" ; then
10997 CFLAGS
="$CFLAGS -Wall"
11003 FONTFILENAME
=${FONTFILENAME:-"default_font"}
11006 cat >>confdefs.h
<<_ACEOF
11007 #define FONTFILENAME "$FONTFILENAME"
11011 # standard autoconf variables
11012 CPPFLAGS
="$CPPFLAGS -DPREFIXDIR=\\\"\${prefix}\\\""
11013 CPPFLAGS
="$CPPFLAGS -DBINDIR=\\\"\${bindir}\\\""
11014 CPPFLAGS
="$CPPFLAGS -DHOST=\\\"\${host}\\\""
11016 # directory for old-style library and for fonts
11017 PCBLIBDIR
=${datadir}/pcb
11019 #AC_DEFINE_UNQUOTED(PCBLIBDIR,"$PCBLIBDIR",[Library directory])
11020 CPPFLAGS
="$CPPFLAGS -DPCBLIBDIR=\\\"$PCBLIBDIR\\\""
11022 # name for old-style library
11023 LIBRARYFILENAME
=pcblib
11026 cat >>confdefs.h
<<_ACEOF
11027 #define LIBRARYFILENAME "$LIBRARYFILENAME"
11032 # directory for new library
11033 PCBTREEDIR
=${datadir}/pcb
/newlib
11034 PCBTREEPATH
=${PCBTREEDIR}:${PCBLIBDIR}/pcblib-newlib
11035 PCBTREEDIR
=${PCBTREEDIR:-"$PCBTREEDIR"}
11038 #AC_DEFINE_UNQUOTED(PCBTREEDIR,"$PCBLIB",[top directory for new style pcb library])
11039 CPPFLAGS
="$CPPFLAGS -DPCBTREEDIR=\\\"$PCBTREEDIR\\\""
11040 CPPFLAGS
="$CPPFLAGS -DPCBTREEPATH=\\\"$PCBTREEPATH\\\""
11042 # Figure out relative paths
11043 echo "$as_me:$LINENO: checking for the bindir to pcblibdir relative path" >&5
11044 echo $ECHO_N "checking for the bindir to pcblibdir relative path... $ECHO_C" >&6
11045 for _lcl_i
in bindir
:PCBLIBDIR
:bindir_to_pcblibdir
; do
11046 _lcl_from
=\$
`echo "$_lcl_i" | sed 's,:.*$,,'`
11047 _lcl_to
=\$
`echo "$_lcl_i" | sed 's,^[^:]*:,,' | sed 's,:[^:]*$,,'`
11048 _lcl_result_var
=`echo "$_lcl_i" | sed 's,^.*:,,'`
11049 _lcl_receval
="$_lcl_from"
11050 _lcl_from
=`(test "x$prefix" = xNONE && prefix="$ac_default_prefix"
11051 test "x$exec_prefix" = xNONE && exec_prefix="${prefix}"
11052 _lcl_receval_old=''
11053 while test "$_lcl_receval_old" != "$_lcl_receval"; do
11054 _lcl_receval_old="$_lcl_receval"
11055 eval _lcl_receval="\"$_lcl_receval\""
11057 echo "$_lcl_receval")`
11058 _lcl_receval
="$_lcl_to"
11059 _lcl_to
=`(test "x$prefix" = xNONE && prefix="$ac_default_prefix"
11060 test "x$exec_prefix" = xNONE && exec_prefix="${prefix}"
11061 _lcl_receval_old=''
11062 while test "$_lcl_receval_old" != "$_lcl_receval"; do
11063 _lcl_receval_old="$_lcl_receval"
11064 eval _lcl_receval="\"$_lcl_receval\""
11066 echo "$_lcl_receval")`
11067 _lcl_notation
="$_lcl_from$_lcl_to"
11068 case ":$_lcl_from:" in
11069 # change empty paths to '.'
11070 ::) _lcl_from
='.' ;;
11071 # strip trailing slashes
11072 :*[\\/]:) _lcl_from
=`echo "$_lcl_from" | sed 's,[\\/]*$,,'` ;;
11075 # squeze repeated slashes
11077 # if the path contains any backslashes, turn slashes into backslashes
11078 *\\*) _lcl_from
=`echo "$_lcl_from" | sed 's,\(.\)[\\/][\\/]*,\1\\\\\\\\,g'` ;;
11079 # if the path contains slashes, also turn backslashes into slashes
11080 *) _lcl_from
=`echo "$_lcl_from" | sed 's,\(.\)[\\/][\\/]*,\1/,g'` ;;
11082 case ":$_lcl_to:" in
11083 # change empty paths to '.'
11085 # strip trailing slashes
11086 :*[\\/]:) _lcl_to
=`echo "$_lcl_to" | sed 's,[\\/]*$,,'` ;;
11089 # squeze repeated slashes
11091 # if the path contains any backslashes, turn slashes into backslashes
11092 *\\*) _lcl_to
=`echo "$_lcl_to" | sed 's,\(.\)[\\/][\\/]*,\1\\\\\\\\,g'` ;;
11093 # if the path contains slashes, also turn backslashes into slashes
11094 *) _lcl_to
=`echo "$_lcl_to" | sed 's,\(.\)[\\/][\\/]*,\1/,g'` ;;
11096 _lcl_common_prefix
=''
11097 _lcl_second_prefix_match
=''
11098 while test "$_lcl_second_prefix_match" != 0; do
11099 _lcl_first_prefix
=`expr "x$_lcl_from" : "x\($_lcl_common_prefix/*[^/]*\)"`
11100 _lcl_second_prefix_match
=`expr "x$_lcl_to" : "x$_lcl_first_prefix"`
11101 if test "$_lcl_second_prefix_match" != 0; then
11102 if test "$_lcl_first_prefix" != "$_lcl_common_prefix"; then
11103 _lcl_common_prefix
="$_lcl_first_prefix"
11105 _lcl_second_prefix_match
=0
11109 _lcl_first_suffix
=`expr "x$_lcl_from" : "x$_lcl_common_prefix/*\(.*\)"`
11112 while test "$_lcl_tmp" != ''; do
11113 _lcl_tmp
=`expr "x$_lcl_first_suffix" : "x[^/]*/*\(.*\)"`
11114 if test "$_lcl_first_suffix" != ''; then
11115 _lcl_first_suffix
="$_lcl_tmp"
11116 _lcl_first_rel
="../$_lcl_first_rel"
11119 _lcl_second_suffix
=`expr "x$_lcl_to" : "x$_lcl_common_prefix/*\(.*\)"`
11120 _lcl_result_tmp
="$_lcl_first_rel$_lcl_second_suffix"
11121 case ":$_lcl_result_tmp:" in
11122 # change empty paths to '.'
11123 ::) _lcl_result_tmp
='.' ;;
11124 # strip trailing slashes
11125 :*[\\/]:) _lcl_result_tmp
=`echo "$_lcl_result_tmp" | sed 's,[\\/]*$,,'` ;;
11128 # squeze repeated slashes
11129 case "$_lcl_notation" in
11130 # if the path contains any backslashes, turn slashes into backslashes
11131 *\\*) _lcl_result_tmp
=`echo "$_lcl_result_tmp" | sed 's,\(.\)[\\/][\\/]*,\1\\\\\\\\,g'` ;;
11132 # if the path contains slashes, also turn backslashes into slashes
11133 *) _lcl_result_tmp
=`echo "$_lcl_result_tmp" | sed 's,\(.\)[\\/][\\/]*,\1/,g'` ;;
11135 eval $_lcl_result_var='$_lcl_result_tmp'
11137 case ":$bindir_to_pcblibdir:" in
11138 # change empty paths to '.'
11139 ::) bindir_to_pcblibdir
='.' ;;
11140 # strip trailing slashes
11141 :*[\\/]:) bindir_to_pcblibdir
=`echo "$bindir_to_pcblibdir" | sed 's,[\\/]*$,,'` ;;
11144 # squeze repeated slashes
11145 case $PCB_DIR_SEPARATOR_S in
11146 # if the path contains any backslashes, turn slashes into backslashes
11147 *\\*) bindir_to_pcblibdir
=`echo "$bindir_to_pcblibdir" | sed 's,\(.\)[\\/][\\/]*,\1\\\\\\\\,g'` ;;
11148 # if the path contains slashes, also turn backslashes into slashes
11149 *) bindir_to_pcblibdir
=`echo "$bindir_to_pcblibdir" | sed 's,\(.\)[\\/][\\/]*,\1/,g'` ;;
11151 echo "$as_me:$LINENO: result: $bindir_to_pcblibdir" >&5
11152 echo "${ECHO_T}$bindir_to_pcblibdir" >&6
11154 cat >>confdefs.h
<<_ACEOF
11155 #define BINDIR_TO_PCBLIBDIR "$bindir_to_pcblibdir"
11159 echo "$as_me:$LINENO: checking for the bindir to pcbtreedir relative path" >&5
11160 echo $ECHO_N "checking for the bindir to pcbtreedir relative path... $ECHO_C" >&6
11161 for _lcl_i
in bindir
:PCBTREEDIR
:bindir_to_pcbtreedir
; do
11162 _lcl_from
=\$
`echo "$_lcl_i" | sed 's,:.*$,,'`
11163 _lcl_to
=\$
`echo "$_lcl_i" | sed 's,^[^:]*:,,' | sed 's,:[^:]*$,,'`
11164 _lcl_result_var
=`echo "$_lcl_i" | sed 's,^.*:,,'`
11165 _lcl_receval
="$_lcl_from"
11166 _lcl_from
=`(test "x$prefix" = xNONE && prefix="$ac_default_prefix"
11167 test "x$exec_prefix" = xNONE && exec_prefix="${prefix}"
11168 _lcl_receval_old=''
11169 while test "$_lcl_receval_old" != "$_lcl_receval"; do
11170 _lcl_receval_old="$_lcl_receval"
11171 eval _lcl_receval="\"$_lcl_receval\""
11173 echo "$_lcl_receval")`
11174 _lcl_receval
="$_lcl_to"
11175 _lcl_to
=`(test "x$prefix" = xNONE && prefix="$ac_default_prefix"
11176 test "x$exec_prefix" = xNONE && exec_prefix="${prefix}"
11177 _lcl_receval_old=''
11178 while test "$_lcl_receval_old" != "$_lcl_receval"; do
11179 _lcl_receval_old="$_lcl_receval"
11180 eval _lcl_receval="\"$_lcl_receval\""
11182 echo "$_lcl_receval")`
11183 _lcl_notation
="$_lcl_from$_lcl_to"
11184 case ":$_lcl_from:" in
11185 # change empty paths to '.'
11186 ::) _lcl_from
='.' ;;
11187 # strip trailing slashes
11188 :*[\\/]:) _lcl_from
=`echo "$_lcl_from" | sed 's,[\\/]*$,,'` ;;
11191 # squeze repeated slashes
11193 # if the path contains any backslashes, turn slashes into backslashes
11194 *\\*) _lcl_from
=`echo "$_lcl_from" | sed 's,\(.\)[\\/][\\/]*,\1\\\\\\\\,g'` ;;
11195 # if the path contains slashes, also turn backslashes into slashes
11196 *) _lcl_from
=`echo "$_lcl_from" | sed 's,\(.\)[\\/][\\/]*,\1/,g'` ;;
11198 case ":$_lcl_to:" in
11199 # change empty paths to '.'
11201 # strip trailing slashes
11202 :*[\\/]:) _lcl_to
=`echo "$_lcl_to" | sed 's,[\\/]*$,,'` ;;
11205 # squeze repeated slashes
11207 # if the path contains any backslashes, turn slashes into backslashes
11208 *\\*) _lcl_to
=`echo "$_lcl_to" | sed 's,\(.\)[\\/][\\/]*,\1\\\\\\\\,g'` ;;
11209 # if the path contains slashes, also turn backslashes into slashes
11210 *) _lcl_to
=`echo "$_lcl_to" | sed 's,\(.\)[\\/][\\/]*,\1/,g'` ;;
11212 _lcl_common_prefix
=''
11213 _lcl_second_prefix_match
=''
11214 while test "$_lcl_second_prefix_match" != 0; do
11215 _lcl_first_prefix
=`expr "x$_lcl_from" : "x\($_lcl_common_prefix/*[^/]*\)"`
11216 _lcl_second_prefix_match
=`expr "x$_lcl_to" : "x$_lcl_first_prefix"`
11217 if test "$_lcl_second_prefix_match" != 0; then
11218 if test "$_lcl_first_prefix" != "$_lcl_common_prefix"; then
11219 _lcl_common_prefix
="$_lcl_first_prefix"
11221 _lcl_second_prefix_match
=0
11225 _lcl_first_suffix
=`expr "x$_lcl_from" : "x$_lcl_common_prefix/*\(.*\)"`
11228 while test "$_lcl_tmp" != ''; do
11229 _lcl_tmp
=`expr "x$_lcl_first_suffix" : "x[^/]*/*\(.*\)"`
11230 if test "$_lcl_first_suffix" != ''; then
11231 _lcl_first_suffix
="$_lcl_tmp"
11232 _lcl_first_rel
="../$_lcl_first_rel"
11235 _lcl_second_suffix
=`expr "x$_lcl_to" : "x$_lcl_common_prefix/*\(.*\)"`
11236 _lcl_result_tmp
="$_lcl_first_rel$_lcl_second_suffix"
11237 case ":$_lcl_result_tmp:" in
11238 # change empty paths to '.'
11239 ::) _lcl_result_tmp
='.' ;;
11240 # strip trailing slashes
11241 :*[\\/]:) _lcl_result_tmp
=`echo "$_lcl_result_tmp" | sed 's,[\\/]*$,,'` ;;
11244 # squeze repeated slashes
11245 case "$_lcl_notation" in
11246 # if the path contains any backslashes, turn slashes into backslashes
11247 *\\*) _lcl_result_tmp
=`echo "$_lcl_result_tmp" | sed 's,\(.\)[\\/][\\/]*,\1\\\\\\\\,g'` ;;
11248 # if the path contains slashes, also turn backslashes into slashes
11249 *) _lcl_result_tmp
=`echo "$_lcl_result_tmp" | sed 's,\(.\)[\\/][\\/]*,\1/,g'` ;;
11251 eval $_lcl_result_var='$_lcl_result_tmp'
11253 case ":$bindir_to_pcbtreedir:" in
11254 # change empty paths to '.'
11255 ::) bindir_to_pcbtreedir
='.' ;;
11256 # strip trailing slashes
11257 :*[\\/]:) bindir_to_pcbtreedir
=`echo "$bindir_to_pcbtreedir" | sed 's,[\\/]*$,,'` ;;
11260 # squeze repeated slashes
11261 case $PCB_DIR_SEPARATOR_S in
11262 # if the path contains any backslashes, turn slashes into backslashes
11263 *\\*) bindir_to_pcbtreedir
=`echo "$bindir_to_pcbtreedir" | sed 's,\(.\)[\\/][\\/]*,\1\\\\\\\\,g'` ;;
11264 # if the path contains slashes, also turn backslashes into slashes
11265 *) bindir_to_pcbtreedir
=`echo "$bindir_to_pcbtreedir" | sed 's,\(.\)[\\/][\\/]*,\1/,g'` ;;
11267 echo "$as_me:$LINENO: result: $bindir_to_pcbtreedir" >&5
11268 echo "${ECHO_T}$bindir_to_pcbtreedir" >&6
11270 cat >>confdefs.h
<<_ACEOF
11271 #define BINDIR_TO_PCBTREEDIR "$bindir_to_pcbtreedir"
11276 echo "$as_me:$LINENO: checking for the bindir to exec_prefix relative path" >&5
11277 echo $ECHO_N "checking for the bindir to exec_prefix relative path... $ECHO_C" >&6
11278 for _lcl_i
in bindir
:exec_prefix
:bindir_to_execprefix
; do
11279 _lcl_from
=\$
`echo "$_lcl_i" | sed 's,:.*$,,'`
11280 _lcl_to
=\$
`echo "$_lcl_i" | sed 's,^[^:]*:,,' | sed 's,:[^:]*$,,'`
11281 _lcl_result_var
=`echo "$_lcl_i" | sed 's,^.*:,,'`
11282 _lcl_receval
="$_lcl_from"
11283 _lcl_from
=`(test "x$prefix" = xNONE && prefix="$ac_default_prefix"
11284 test "x$exec_prefix" = xNONE && exec_prefix="${prefix}"
11285 _lcl_receval_old=''
11286 while test "$_lcl_receval_old" != "$_lcl_receval"; do
11287 _lcl_receval_old="$_lcl_receval"
11288 eval _lcl_receval="\"$_lcl_receval\""
11290 echo "$_lcl_receval")`
11291 _lcl_receval
="$_lcl_to"
11292 _lcl_to
=`(test "x$prefix" = xNONE && prefix="$ac_default_prefix"
11293 test "x$exec_prefix" = xNONE && exec_prefix="${prefix}"
11294 _lcl_receval_old=''
11295 while test "$_lcl_receval_old" != "$_lcl_receval"; do
11296 _lcl_receval_old="$_lcl_receval"
11297 eval _lcl_receval="\"$_lcl_receval\""
11299 echo "$_lcl_receval")`
11300 _lcl_notation
="$_lcl_from$_lcl_to"
11301 case ":$_lcl_from:" in
11302 # change empty paths to '.'
11303 ::) _lcl_from
='.' ;;
11304 # strip trailing slashes
11305 :*[\\/]:) _lcl_from
=`echo "$_lcl_from" | sed 's,[\\/]*$,,'` ;;
11308 # squeze repeated slashes
11310 # if the path contains any backslashes, turn slashes into backslashes
11311 *\\*) _lcl_from
=`echo "$_lcl_from" | sed 's,\(.\)[\\/][\\/]*,\1\\\\\\\\,g'` ;;
11312 # if the path contains slashes, also turn backslashes into slashes
11313 *) _lcl_from
=`echo "$_lcl_from" | sed 's,\(.\)[\\/][\\/]*,\1/,g'` ;;
11315 case ":$_lcl_to:" in
11316 # change empty paths to '.'
11318 # strip trailing slashes
11319 :*[\\/]:) _lcl_to
=`echo "$_lcl_to" | sed 's,[\\/]*$,,'` ;;
11322 # squeze repeated slashes
11324 # if the path contains any backslashes, turn slashes into backslashes
11325 *\\*) _lcl_to
=`echo "$_lcl_to" | sed 's,\(.\)[\\/][\\/]*,\1\\\\\\\\,g'` ;;
11326 # if the path contains slashes, also turn backslashes into slashes
11327 *) _lcl_to
=`echo "$_lcl_to" | sed 's,\(.\)[\\/][\\/]*,\1/,g'` ;;
11329 _lcl_common_prefix
=''
11330 _lcl_second_prefix_match
=''
11331 while test "$_lcl_second_prefix_match" != 0; do
11332 _lcl_first_prefix
=`expr "x$_lcl_from" : "x\($_lcl_common_prefix/*[^/]*\)"`
11333 _lcl_second_prefix_match
=`expr "x$_lcl_to" : "x$_lcl_first_prefix"`
11334 if test "$_lcl_second_prefix_match" != 0; then
11335 if test "$_lcl_first_prefix" != "$_lcl_common_prefix"; then
11336 _lcl_common_prefix
="$_lcl_first_prefix"
11338 _lcl_second_prefix_match
=0
11342 _lcl_first_suffix
=`expr "x$_lcl_from" : "x$_lcl_common_prefix/*\(.*\)"`
11345 while test "$_lcl_tmp" != ''; do
11346 _lcl_tmp
=`expr "x$_lcl_first_suffix" : "x[^/]*/*\(.*\)"`
11347 if test "$_lcl_first_suffix" != ''; then
11348 _lcl_first_suffix
="$_lcl_tmp"
11349 _lcl_first_rel
="../$_lcl_first_rel"
11352 _lcl_second_suffix
=`expr "x$_lcl_to" : "x$_lcl_common_prefix/*\(.*\)"`
11353 _lcl_result_tmp
="$_lcl_first_rel$_lcl_second_suffix"
11354 case ":$_lcl_result_tmp:" in
11355 # change empty paths to '.'
11356 ::) _lcl_result_tmp
='.' ;;
11357 # strip trailing slashes
11358 :*[\\/]:) _lcl_result_tmp
=`echo "$_lcl_result_tmp" | sed 's,[\\/]*$,,'` ;;
11361 # squeze repeated slashes
11362 case "$_lcl_notation" in
11363 # if the path contains any backslashes, turn slashes into backslashes
11364 *\\*) _lcl_result_tmp
=`echo "$_lcl_result_tmp" | sed 's,\(.\)[\\/][\\/]*,\1\\\\\\\\,g'` ;;
11365 # if the path contains slashes, also turn backslashes into slashes
11366 *) _lcl_result_tmp
=`echo "$_lcl_result_tmp" | sed 's,\(.\)[\\/][\\/]*,\1/,g'` ;;
11368 eval $_lcl_result_var='$_lcl_result_tmp'
11370 case ":$bindir_to_execprefix:" in
11371 # change empty paths to '.'
11372 ::) bindir_to_execprefix
='.' ;;
11373 # strip trailing slashes
11374 :*[\\/]:) bindir_to_execprefix
=`echo "$bindir_to_execprefix" | sed 's,[\\/]*$,,'` ;;
11377 # squeze repeated slashes
11378 case $PCB_DIR_SEPARATOR_S in
11379 # if the path contains any backslashes, turn slashes into backslashes
11380 *\\*) bindir_to_execprefix
=`echo "$bindir_to_execprefix" | sed 's,\(.\)[\\/][\\/]*,\1\\\\\\\\,g'` ;;
11381 # if the path contains slashes, also turn backslashes into slashes
11382 *) bindir_to_execprefix
=`echo "$bindir_to_execprefix" | sed 's,\(.\)[\\/][\\/]*,\1/,g'` ;;
11384 echo "$as_me:$LINENO: result: $bindir_to_execprefix" >&5
11385 echo "${ECHO_T}$bindir_to_execprefix" >&6
11387 cat >>confdefs.h
<<_ACEOF
11388 #define BINDIR_TO_EXECPREFIX "$bindir_to_execprefix"
11393 BTNMOD
=${BTNMOD:-"Mod1"}
11397 for dir
in src lib newlib doc example tools tutorial README_FILES
11399 test -d $dir/.
&& TOPDIRS
="$TOPDIRS $dir"
11403 ac_config_files
="$ac_config_files Makefile"
11405 if test -d $srcdir/README_FILES
; then
11406 ac_config_files
="$ac_config_files README_FILES/Makefile"
11409 if test -d $srcdir/doc
; then
11410 ac_config_files
="$ac_config_files doc/Makefile"
11413 if test -d $srcdir/example
; then
11414 ac_config_files
="$ac_config_files example/Makefile"
11416 ac_config_files
="$ac_config_files example/libraries/Makefile"
11419 if test -d $srcdir/lib
; then
11420 ac_config_files
="$ac_config_files lib/CreateLibraryContents.sh"
11422 ac_config_files
="$ac_config_files lib/CreateLibrary.sh"
11424 ac_config_files
="$ac_config_files lib/ListLibraryContents.sh"
11426 ac_config_files
="$ac_config_files lib/Makefile"
11428 ac_config_files
="$ac_config_files lib/QueryLibrary.sh"
11430 ac_config_files
="$ac_config_files lib/m4lib_to_newlib.sh"
11432 ac_config_files
="$ac_config_files lib/qfp-ui"
11435 if test -d $srcdir/newlib
; then
11436 ac_config_files
="$ac_config_files newlib/2_pin_thru-hole_packages/Makefile"
11438 ac_config_files
="$ac_config_files newlib/Makefile"
11440 ac_config_files
="$ac_config_files newlib/analog-devices/Makefile"
11442 ac_config_files
="$ac_config_files newlib/burr-brown/Makefile"
11444 ac_config_files
="$ac_config_files newlib/connectors/Makefile"
11446 ac_config_files
="$ac_config_files newlib/crystal/Makefile"
11448 ac_config_files
="$ac_config_files newlib/electro-optics/Makefile"
11450 ac_config_files
="$ac_config_files newlib/headers/Makefile"
11452 ac_config_files
="$ac_config_files newlib/msp430/Makefile"
11454 ac_config_files
="$ac_config_files newlib/not_vetted_ingo/Makefile"
11456 ac_config_files
="$ac_config_files newlib/sockets/Makefile"
11458 ac_config_files
="$ac_config_files newlib/tests/Makefile"
11461 ac_config_files
="$ac_config_files src/Makefile"
11463 ac_config_files
="$ac_config_files src/icons/Makefile"
11465 if test -d $srcdir/tools
; then
11466 ac_config_files
="$ac_config_files tools/Makefile"
11469 if test -d $srcdir/tutorial
; then
11470 ac_config_files
="$ac_config_files tutorial/Makefile"
11474 ac_config_files
="$ac_config_files win32/Makefile"
11477 cat >confcache
<<\_ACEOF
11478 # This file is a shell script that caches the results of configure
11479 # tests run on this system so they can be shared between configure
11480 # scripts and configure runs, see configure's option --config-cache.
11481 # It is not useful on other systems. If it contains results you don't
11482 # want to keep, you may remove or edit it.
11484 # config.status only pays attention to the cache file if you give it
11485 # the --recheck option to rerun configure.
11487 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11488 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11489 # following values.
11493 # The following way of writing the cache mishandles newlines in values,
11494 # but we know of no workaround that is simple, portable, and efficient.
11495 # So, don't put newlines in cache variables' values.
11496 # Ultrix sh set writes to stderr and can't be redirected directly,
11497 # and sets the high bit in the cache file unless we assign to the vars.
11500 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11502 # `set' does not quote correctly, so add quotes (double-quote
11503 # substitution turns \\\\ into \\, and sed turns \\ into \).
11506 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11509 # `set' quotes correctly as required by POSIX, so do not add quotes.
11511 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11518 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11520 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11522 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
11523 if test -w $cache_file; then
11524 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
11525 cat confcache
>$cache_file
11527 echo "not updating unwritable cache $cache_file"
11532 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
11533 # Let make expand exec_prefix.
11534 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
11536 # VPATH may cause trouble with some makes, so we remove $(srcdir),
11537 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
11538 # trailing colons and then remove the whole line if VPATH becomes empty
11539 # (actually we leave an empty line to preserve line numbers).
11540 if test "x$srcdir" = x.
; then
11541 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
11542 s/:*\$(srcdir):*/:/;
11543 s/:*\${srcdir}:*/:/;
11545 s/^\([^=]*=[ ]*\):*/\1/;
11551 DEFS
=-DHAVE_CONFIG_H
11555 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
11556 # 1. Remove the extension, and $U if already installed.
11557 ac_i
=`echo "$ac_i" |
11558 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
11560 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
11561 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
11563 LIBOBJS
=$ac_libobjs
11565 LTLIBOBJS
=$ac_ltlibobjs
11568 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
11569 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
11570 Usually this means the macro was only invoked conditionally." >&5
11571 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
11572 Usually this means the macro was only invoked conditionally." >&2;}
11573 { (exit 1); exit 1; }; }
11575 if test -z "${WIN32_TRUE}" && test -z "${WIN32_FALSE}"; then
11576 { { echo "$as_me:$LINENO: error: conditional \"WIN32\" was never defined.
11577 Usually this means the macro was only invoked conditionally." >&5
11578 echo "$as_me: error: conditional \"WIN32\" was never defined.
11579 Usually this means the macro was only invoked conditionally." >&2;}
11580 { (exit 1); exit 1; }; }
11582 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
11583 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
11584 Usually this means the macro was only invoked conditionally." >&5
11585 echo "$as_me: error: conditional \"AMDEP\" was never defined.
11586 Usually this means the macro was only invoked conditionally." >&2;}
11587 { (exit 1); exit 1; }; }
11589 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
11590 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
11591 Usually this means the macro was only invoked conditionally." >&5
11592 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
11593 Usually this means the macro was only invoked conditionally." >&2;}
11594 { (exit 1); exit 1; }; }
11596 if test -z "${MISSING_TGIF_TRUE}" && test -z "${MISSING_TGIF_FALSE}"; then
11597 { { echo "$as_me:$LINENO: error: conditional \"MISSING_TGIF\" was never defined.
11598 Usually this means the macro was only invoked conditionally." >&5
11599 echo "$as_me: error: conditional \"MISSING_TGIF\" was never defined.
11600 Usually this means the macro was only invoked conditionally." >&2;}
11601 { (exit 1); exit 1; }; }
11603 if test -z "${MISSING_XPMTOPPM_TRUE}" && test -z "${MISSING_XPMTOPPM_FALSE}"; then
11604 { { echo "$as_me:$LINENO: error: conditional \"MISSING_XPMTOPPM\" was never defined.
11605 Usually this means the macro was only invoked conditionally." >&5
11606 echo "$as_me: error: conditional \"MISSING_XPMTOPPM\" was never defined.
11607 Usually this means the macro was only invoked conditionally." >&2;}
11608 { (exit 1); exit 1; }; }
11610 if test -z "${MISSING_CONVERT_TRUE}" && test -z "${MISSING_CONVERT_FALSE}"; then
11611 { { echo "$as_me:$LINENO: error: conditional \"MISSING_CONVERT\" was never defined.
11612 Usually this means the macro was only invoked conditionally." >&5
11613 echo "$as_me: error: conditional \"MISSING_CONVERT\" was never defined.
11614 Usually this means the macro was only invoked conditionally." >&2;}
11615 { (exit 1); exit 1; }; }
11617 if test -z "${WITH_DBUS_TRUE}" && test -z "${WITH_DBUS_FALSE}"; then
11618 { { echo "$as_me:$LINENO: error: conditional \"WITH_DBUS\" was never defined.
11619 Usually this means the macro was only invoked conditionally." >&5
11620 echo "$as_me: error: conditional \"WITH_DBUS\" was never defined.
11621 Usually this means the macro was only invoked conditionally." >&2;}
11622 { (exit 1); exit 1; }; }
11624 if test -z "${MISSING_LATEX_TRUE}" && test -z "${MISSING_LATEX_FALSE}"; then
11625 { { echo "$as_me:$LINENO: error: conditional \"MISSING_LATEX\" was never defined.
11626 Usually this means the macro was only invoked conditionally." >&5
11627 echo "$as_me: error: conditional \"MISSING_LATEX\" was never defined.
11628 Usually this means the macro was only invoked conditionally." >&2;}
11629 { (exit 1); exit 1; }; }
11631 if test -z "${MISSING_PDFLATEX_TRUE}" && test -z "${MISSING_PDFLATEX_FALSE}"; then
11632 { { echo "$as_me:$LINENO: error: conditional \"MISSING_PDFLATEX\" was never defined.
11633 Usually this means the macro was only invoked conditionally." >&5
11634 echo "$as_me: error: conditional \"MISSING_PDFLATEX\" was never defined.
11635 Usually this means the macro was only invoked conditionally." >&2;}
11636 { (exit 1); exit 1; }; }
11638 if test -z "${MISSING_DVIPS_TRUE}" && test -z "${MISSING_DVIPS_FALSE}"; then
11639 { { echo "$as_me:$LINENO: error: conditional \"MISSING_DVIPS\" was never defined.
11640 Usually this means the macro was only invoked conditionally." >&5
11641 echo "$as_me: error: conditional \"MISSING_DVIPS\" was never defined.
11642 Usually this means the macro was only invoked conditionally." >&2;}
11643 { (exit 1); exit 1; }; }
11645 if test -z "${MISSING_PS2PDF_TRUE}" && test -z "${MISSING_PS2PDF_FALSE}"; then
11646 { { echo "$as_me:$LINENO: error: conditional \"MISSING_PS2PDF\" was never defined.
11647 Usually this means the macro was only invoked conditionally." >&5
11648 echo "$as_me: error: conditional \"MISSING_PS2PDF\" was never defined.
11649 Usually this means the macro was only invoked conditionally." >&2;}
11650 { (exit 1); exit 1; }; }
11652 if test -z "${PNG_TRUE}" && test -z "${PNG_FALSE}"; then
11653 { { echo "$as_me:$LINENO: error: conditional \"PNG\" was never defined.
11654 Usually this means the macro was only invoked conditionally." >&5
11655 echo "$as_me: error: conditional \"PNG\" was never defined.
11656 Usually this means the macro was only invoked conditionally." >&2;}
11657 { (exit 1); exit 1; }; }
11659 if test -z "${GIF_TRUE}" && test -z "${GIF_FALSE}"; then
11660 { { echo "$as_me:$LINENO: error: conditional \"GIF\" was never defined.
11661 Usually this means the macro was only invoked conditionally." >&5
11662 echo "$as_me: error: conditional \"GIF\" was never defined.
11663 Usually this means the macro was only invoked conditionally." >&2;}
11664 { (exit 1); exit 1; }; }
11667 : ${CONFIG_STATUS=./config.status}
11668 ac_clean_files_save
=$ac_clean_files
11669 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
11670 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
11671 echo "$as_me: creating $CONFIG_STATUS" >&6;}
11672 cat >$CONFIG_STATUS <<_ACEOF
11674 # Generated by $as_me.
11675 # Run this file to recreate the current configuration.
11676 # Compiler output produced by configure, useful for debugging
11677 # configure, is in config.log if it exists.
11680 ac_cs_recheck=false
11682 SHELL=\${CONFIG_SHELL-$SHELL}
11685 cat >>$CONFIG_STATUS <<\_ACEOF
11686 ## --------------------- ##
11687 ## M4sh Initialization. ##
11688 ## --------------------- ##
11690 # Be Bourne compatible
11691 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
11694 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
11695 # is contrary to our usage. Disable this feature.
11696 alias -g '${1+"$@"}'='"$@"'
11697 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
11700 DUALCASE
=1; export DUALCASE
# for MKS sh
11702 # Support unset when possible.
11703 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
11710 # Work around bugs in pre-3.0 UWIN ksh.
11711 $as_unset ENV MAIL MAILPATH
11718 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
11719 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
11720 LC_TELEPHONE LC_TIME
11722 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
11723 eval $as_var=C
; export $as_var
11729 # Required to use basename.
11730 if expr a
: '\(a\)' >/dev
/null
2>&1; then
11736 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
11737 as_basename
=basename
11743 # Name of the executable.
11744 as_me
=`$as_basename "$0" ||
11745 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
11746 X"$0" : 'X\(//\)$' \| \
11747 X"$0" : 'X\(/\)$' \| \
11748 . : '\(.\)' 2>/dev/null ||
11750 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
11751 /^X\/\(\/\/\)$/{ s//\1/; q; }
11752 /^X\/\(\/\).*/{ s//\1/; q; }
11756 # PATH needs CR, and LINENO needs CR and PATH.
11757 # Avoid depending upon Character Ranges.
11758 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
11759 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
11760 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
11761 as_cr_digits
='0123456789'
11762 as_cr_alnum
=$as_cr_Letters$as_cr_digits
11764 # The user is always right.
11765 if test "${PATH_SEPARATOR+set}" != set; then
11766 echo "#! /bin/sh" >conf$$.sh
11767 echo "exit 0" >>conf$$.sh
11769 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
11778 as_lineno_1
=$LINENO
11779 as_lineno_2
=$LINENO
11780 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
11781 test "x$as_lineno_1" != "x$as_lineno_2" &&
11782 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
11783 # Find who we are. Look in the path if we contain no path at all
11786 *[\\/]* ) as_myself
=$0 ;;
11787 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11788 for as_dir
in $PATH
11791 test -z "$as_dir" && as_dir
=.
11792 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
11797 # We did not find ourselves, most probably we were run as `sh COMMAND'
11798 # in which case we are not to be found in the path.
11799 if test "x$as_myself" = x
; then
11802 if test ! -f "$as_myself"; then
11803 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
11804 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
11805 { (exit 1); exit 1; }; }
11807 case $CONFIG_SHELL in
11809 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11810 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
11813 test -z "$as_dir" && as_dir
=.
11814 for as_base
in sh bash ksh sh5
; do
11817 if ("$as_dir/$as_base" -c '
11818 as_lineno_1=$LINENO
11819 as_lineno_2=$LINENO
11820 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
11821 test "x$as_lineno_1" != "x$as_lineno_2" &&
11822 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
11823 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
11824 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
11825 CONFIG_SHELL
=$as_dir/$as_base
11826 export CONFIG_SHELL
11827 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
11835 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
11836 # uniformly replaced by the line number. The first 'sed' inserts a
11837 # line-number line before each line; the second 'sed' does the real
11838 # work. The second script uses 'N' to pair each line-number line
11839 # with the numbered line, and appends trailing '-' during
11840 # substitution so that $LINENO is not a special case at line end.
11841 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
11842 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
11843 sed '=' <$as_myself |
11848 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
11851 s,^['$as_cr_digits']*\n,,
11852 ' >$as_me.lineno
&&
11853 chmod +x
$as_me.lineno ||
11854 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
11855 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
11856 { (exit 1); exit 1; }; }
11858 # Don't try to exec as it changes $[0], causing all sort of problems
11859 # (the dirname of $[0] is not the place where we might find the
11860 # original and so on. Autoconf is especially sensible to this).
11862 # Exit status is that of the last command.
11867 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
11868 *c
*,-n*) ECHO_N
= ECHO_C
='
11870 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
11871 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
11874 if expr a
: '\(a\)' >/dev
/null
2>&1; then
11880 rm -f conf$$ conf$$.exe conf$$.
file
11882 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
11883 # We could just check for DJGPP; but this test a) works b) is more generic
11884 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
11885 if test -f conf$$.exe
; then
11886 # Don't use ln at all; we don't have any links
11891 elif ln conf$$.
file conf$$
2>/dev
/null
; then
11896 rm -f conf$$ conf$$.exe conf$$.
file
11898 if mkdir
-p .
2>/dev
/null
; then
11901 test -d .
/-p && rmdir .
/-p
11905 as_executable_p
="test -f"
11907 # Sed expression to map a string onto a valid CPP name.
11908 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
11910 # Sed expression to map a string onto a valid variable name.
11911 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
11915 # We need space, tab and new line, in precisely that order.
11925 # Open the log real soon, to keep \$[0] and so on meaningful, and to
11926 # report actual input values of CONFIG_FILES etc. instead of their
11927 # values after options handling. Logging --version etc. is OK.
11931 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
11932 ## Running $as_me. ##
11937 This file was extended by $as_me, which was
11938 generated by GNU Autoconf 2.59. Invocation command line was
11940 CONFIG_FILES = $CONFIG_FILES
11941 CONFIG_HEADERS = $CONFIG_HEADERS
11942 CONFIG_LINKS = $CONFIG_LINKS
11943 CONFIG_COMMANDS = $CONFIG_COMMANDS
11947 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
11951 # Files that config.status was made for.
11952 if test -n "$ac_config_files"; then
11953 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
11956 if test -n "$ac_config_headers"; then
11957 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
11960 if test -n "$ac_config_links"; then
11961 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
11964 if test -n "$ac_config_commands"; then
11965 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
11968 cat >>$CONFIG_STATUS <<\_ACEOF
11971 \`$as_me' instantiates files from templates according to the
11972 current configuration.
11974 Usage: $0 [OPTIONS] [FILE]...
11976 -h, --help print this help, then exit
11977 -V, --version print version number, then exit
11978 -q, --quiet do not print progress messages
11979 -d, --debug don't remove temporary files
11980 --recheck update $as_me by reconfiguring in the same conditions
11981 --file=FILE[:TEMPLATE]
11982 instantiate the configuration file FILE
11983 --header=FILE[:TEMPLATE]
11984 instantiate the configuration header FILE
11986 Configuration files:
11989 Configuration headers:
11992 Configuration commands:
11995 Report bugs to <bug-autoconf@gnu.org>."
11998 cat >>$CONFIG_STATUS <<_ACEOF
12001 configured by $0, generated by GNU Autoconf 2.59,
12002 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
12004 Copyright (C) 2003 Free Software Foundation, Inc.
12005 This config.status script is free software; the Free Software Foundation
12006 gives unlimited permission to copy, distribute and modify it."
12011 cat >>$CONFIG_STATUS <<\_ACEOF
12012 # If no file are specified by the user, then we need to provide default
12013 # value. By we need to know if files were specified by the user.
12019 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
12020 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
12028 *) # This is not an option, so the user has probably given explicit
12031 ac_need_defaults
=false
;;
12035 # Handling of the options.
12037 cat >>$CONFIG_STATUS <<\_ACEOF
12038 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
12040 --version |
--vers* |
-V )
12041 echo "$ac_cs_version"; exit 0 ;;
12043 # Conflict between --help and --header
12044 { { echo "$as_me:$LINENO: error: ambiguous option: $1
12045 Try \`$0 --help' for more information." >&5
12046 echo "$as_me: error: ambiguous option: $1
12047 Try \`$0 --help' for more information." >&2;}
12048 { (exit 1); exit 1; }; };;
12049 --help |
--hel |
-h )
12050 echo "$ac_cs_usage"; exit 0 ;;
12051 --debug |
--d* |
-d )
12053 --file |
--fil |
--fi |
--f )
12055 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
12056 ac_need_defaults
=false
;;
12057 --header |
--heade |
--head |
--hea )
12059 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
12060 ac_need_defaults
=false
;;
12061 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
12062 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
12065 # This is an error.
12066 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
12067 Try \`$0 --help' for more information." >&5
12068 echo "$as_me: error: unrecognized option: $1
12069 Try \`$0 --help' for more information." >&2;}
12070 { (exit 1); exit 1; }; } ;;
12072 *) ac_config_targets
="$ac_config_targets $1" ;;
12078 ac_configure_extra_args
=
12080 if $ac_cs_silent; then
12082 ac_configure_extra_args
="$ac_configure_extra_args --silent"
12086 cat >>$CONFIG_STATUS <<_ACEOF
12087 if \$ac_cs_recheck; then
12088 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
12089 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12094 cat >>$CONFIG_STATUS <<_ACEOF
12096 # INIT-COMMANDS section.
12099 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
12105 cat >>$CONFIG_STATUS <<\_ACEOF
12106 for ac_config_target
in $ac_config_targets
12108 case "$ac_config_target" in
12109 # Handling of arguments.
12110 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
12111 "README_FILES/Makefile" ) CONFIG_FILES
="$CONFIG_FILES README_FILES/Makefile" ;;
12112 "doc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
12113 "example/Makefile" ) CONFIG_FILES
="$CONFIG_FILES example/Makefile" ;;
12114 "example/libraries/Makefile" ) CONFIG_FILES
="$CONFIG_FILES example/libraries/Makefile" ;;
12115 "lib/CreateLibraryContents.sh" ) CONFIG_FILES
="$CONFIG_FILES lib/CreateLibraryContents.sh" ;;
12116 "lib/CreateLibrary.sh" ) CONFIG_FILES
="$CONFIG_FILES lib/CreateLibrary.sh" ;;
12117 "lib/ListLibraryContents.sh" ) CONFIG_FILES
="$CONFIG_FILES lib/ListLibraryContents.sh" ;;
12118 "lib/Makefile" ) CONFIG_FILES
="$CONFIG_FILES lib/Makefile" ;;
12119 "lib/QueryLibrary.sh" ) CONFIG_FILES
="$CONFIG_FILES lib/QueryLibrary.sh" ;;
12120 "lib/m4lib_to_newlib.sh" ) CONFIG_FILES
="$CONFIG_FILES lib/m4lib_to_newlib.sh" ;;
12121 "lib/qfp-ui" ) CONFIG_FILES
="$CONFIG_FILES lib/qfp-ui" ;;
12122 "newlib/2_pin_thru-hole_packages/Makefile" ) CONFIG_FILES
="$CONFIG_FILES newlib/2_pin_thru-hole_packages/Makefile" ;;
12123 "newlib/Makefile" ) CONFIG_FILES
="$CONFIG_FILES newlib/Makefile" ;;
12124 "newlib/analog-devices/Makefile" ) CONFIG_FILES
="$CONFIG_FILES newlib/analog-devices/Makefile" ;;
12125 "newlib/burr-brown/Makefile" ) CONFIG_FILES
="$CONFIG_FILES newlib/burr-brown/Makefile" ;;
12126 "newlib/connectors/Makefile" ) CONFIG_FILES
="$CONFIG_FILES newlib/connectors/Makefile" ;;
12127 "newlib/crystal/Makefile" ) CONFIG_FILES
="$CONFIG_FILES newlib/crystal/Makefile" ;;
12128 "newlib/electro-optics/Makefile" ) CONFIG_FILES
="$CONFIG_FILES newlib/electro-optics/Makefile" ;;
12129 "newlib/headers/Makefile" ) CONFIG_FILES
="$CONFIG_FILES newlib/headers/Makefile" ;;
12130 "newlib/msp430/Makefile" ) CONFIG_FILES
="$CONFIG_FILES newlib/msp430/Makefile" ;;
12131 "newlib/not_vetted_ingo/Makefile" ) CONFIG_FILES
="$CONFIG_FILES newlib/not_vetted_ingo/Makefile" ;;
12132 "newlib/sockets/Makefile" ) CONFIG_FILES
="$CONFIG_FILES newlib/sockets/Makefile" ;;
12133 "newlib/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES newlib/tests/Makefile" ;;
12134 "src/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
12135 "src/icons/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/icons/Makefile" ;;
12136 "tools/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
12137 "tutorial/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tutorial/Makefile" ;;
12138 "win32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES win32/Makefile" ;;
12139 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
12140 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
12141 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
12142 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
12143 { (exit 1); exit 1; }; };;
12147 # If the user did not use the arguments to specify the items to instantiate,
12148 # then the envvar interface is used. Set only those that are not.
12149 # We use the long form for the default assignment because of an extremely
12150 # bizarre bug on SunOS 4.1.3.
12151 if $ac_need_defaults; then
12152 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
12153 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
12154 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
12157 # Have a temporary directory for convenience. Make it in the build tree
12158 # simply because there is no reason to put it here, and in addition,
12159 # creating and moving files from /tmp can sometimes cause problems.
12160 # Create a temporary directory, and hook for its removal unless debugging.
12163 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
12164 trap '{ (exit 1); exit 1; }' 1 2 13 15
12167 # Create a (secure) tmp directory for tmp files.
12170 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
12171 test -n "$tmp" && test -d "$tmp"
12174 tmp
=.
/confstat$$
-$RANDOM
12175 (umask 077 && mkdir
$tmp)
12178 echo "$me: cannot create a temporary directory in ." >&2
12179 { (exit 1); exit 1; }
12184 cat >>$CONFIG_STATUS <<_ACEOF
12187 # CONFIG_FILES section.
12190 # No need to generate the scripts if there are no CONFIG_FILES.
12191 # This happens for instance when ./config.status config.h
12192 if test -n "\$CONFIG_FILES"; then
12193 # Protect against being on the right side of a sed subst in config.status.
12194 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
12195 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
12196 s,@SHELL@,$SHELL,;t t
12197 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
12198 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
12199 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
12200 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
12201 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
12202 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
12203 s,@exec_prefix@,$exec_prefix,;t t
12204 s,@prefix@,$prefix,;t t
12205 s,@program_transform_name@,$program_transform_name,;t t
12206 s,@bindir@,$bindir,;t t
12207 s,@sbindir@,$sbindir,;t t
12208 s,@libexecdir@,$libexecdir,;t t
12209 s,@datadir@,$datadir,;t t
12210 s,@sysconfdir@,$sysconfdir,;t t
12211 s,@sharedstatedir@,$sharedstatedir,;t t
12212 s,@localstatedir@,$localstatedir,;t t
12213 s,@libdir@,$libdir,;t t
12214 s,@includedir@,$includedir,;t t
12215 s,@oldincludedir@,$oldincludedir,;t t
12216 s,@infodir@,$infodir,;t t
12217 s,@mandir@,$mandir,;t t
12218 s,@build_alias@,$build_alias,;t t
12219 s,@host_alias@,$host_alias,;t t
12220 s,@target_alias@,$target_alias,;t t
12221 s,@DEFS@,$DEFS,;t t
12222 s,@ECHO_C@,$ECHO_C,;t t
12223 s,@ECHO_N@,$ECHO_N,;t t
12224 s,@ECHO_T@,$ECHO_T,;t t
12225 s,@LIBS@,$LIBS,;t t
12226 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
12227 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
12228 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
12229 s,@CYGPATH_W@,$CYGPATH_W,;t t
12230 s,@PACKAGE@,$PACKAGE,;t t
12231 s,@VERSION@,$VERSION,;t t
12232 s,@ACLOCAL@,$ACLOCAL,;t t
12233 s,@AUTOCONF@,$AUTOCONF,;t t
12234 s,@AUTOMAKE@,$AUTOMAKE,;t t
12235 s,@AUTOHEADER@,$AUTOHEADER,;t t
12236 s,@MAKEINFO@,$MAKEINFO,;t t
12237 s,@install_sh@,$install_sh,;t t
12238 s,@STRIP@,$STRIP,;t t
12239 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
12240 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
12241 s,@mkdir_p@,$mkdir_p,;t t
12243 s,@SET_MAKE@,$SET_MAKE,;t t
12244 s,@am__leading_dot@,$am__leading_dot,;t t
12245 s,@AMTAR@,$AMTAR,;t t
12246 s,@am__tar@,$am__tar,;t t
12247 s,@am__untar@,$am__untar,;t t
12248 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
12249 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
12250 s,@MAINT@,$MAINT,;t t
12251 s,@build@,$build,;t t
12252 s,@build_cpu@,$build_cpu,;t t
12253 s,@build_vendor@,$build_vendor,;t t
12254 s,@build_os@,$build_os,;t t
12255 s,@host@,$host,;t t
12256 s,@host_cpu@,$host_cpu,;t t
12257 s,@host_vendor@,$host_vendor,;t t
12258 s,@host_os@,$host_os,;t t
12259 s,@WIN32@,$WIN32,;t t
12260 s,@WIN32_TRUE@,$WIN32_TRUE,;t t
12261 s,@WIN32_FALSE@,$WIN32_FALSE,;t t
12263 s,@CFLAGS@,$CFLAGS,;t t
12264 s,@LDFLAGS@,$LDFLAGS,;t t
12265 s,@CPPFLAGS@,$CPPFLAGS,;t t
12266 s,@ac_ct_CC@,$ac_ct_CC,;t t
12267 s,@EXEEXT@,$EXEEXT,;t t
12268 s,@OBJEXT@,$OBJEXT,;t t
12269 s,@DEPDIR@,$DEPDIR,;t t
12270 s,@am__include@,$am__include,;t t
12271 s,@am__quote@,$am__quote,;t t
12272 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
12273 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
12274 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
12275 s,@CCDEPMODE@,$CCDEPMODE,;t t
12276 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
12277 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
12280 s,@LEXLIB@,$LEXLIB,;t t
12281 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
12282 s,@LEX_PATH@,$LEX_PATH,;t t
12283 s,@YACC@,$YACC,;t t
12284 s,@YACC_PATH@,$YACC_PATH,;t t
12285 s,@RANLIB@,$RANLIB,;t t
12286 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
12287 s,@TGIF@,$TGIF,;t t
12288 s,@MISSING_TGIF_TRUE@,$MISSING_TGIF_TRUE,;t t
12289 s,@MISSING_TGIF_FALSE@,$MISSING_TGIF_FALSE,;t t
12290 s,@XPMTOPPM@,$XPMTOPPM,;t t
12291 s,@PPMTOWINICON@,$PPMTOWINICON,;t t
12292 s,@MISSING_XPMTOPPM_TRUE@,$MISSING_XPMTOPPM_TRUE,;t t
12293 s,@MISSING_XPMTOPPM_FALSE@,$MISSING_XPMTOPPM_FALSE,;t t
12294 s,@CONVERT@,$CONVERT,;t t
12295 s,@MISSING_CONVERT_TRUE@,$MISSING_CONVERT_TRUE,;t t
12296 s,@MISSING_CONVERT_FALSE@,$MISSING_CONVERT_FALSE,;t t
12298 s,@MKINFO@,$MKINFO,;t t
12299 s,@PERL@,$PERL,;t t
12300 s,@WITH_DBUS_TRUE@,$WITH_DBUS_TRUE,;t t
12301 s,@WITH_DBUS_FALSE@,$WITH_DBUS_FALSE,;t t
12302 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
12303 s,@DBUS_CFLAGS@,$DBUS_CFLAGS,;t t
12304 s,@DBUS_LIBS@,$DBUS_LIBS,;t t
12305 s,@HIDLIST@,$HIDLIST,;t t
12306 s,@HIDLIBS@,$HIDLIBS,;t t
12308 s,@WISH@,$WISH,;t t
12309 s,@GNUM4@,$GNUM4,;t t
12310 s,@LATEX@,$LATEX,;t t
12311 s,@MISSING_LATEX_TRUE@,$MISSING_LATEX_TRUE,;t t
12312 s,@MISSING_LATEX_FALSE@,$MISSING_LATEX_FALSE,;t t
12313 s,@PDFLATEX@,$PDFLATEX,;t t
12314 s,@MISSING_PDFLATEX_TRUE@,$MISSING_PDFLATEX_TRUE,;t t
12315 s,@MISSING_PDFLATEX_FALSE@,$MISSING_PDFLATEX_FALSE,;t t
12316 s,@DVIPS@,$DVIPS,;t t
12317 s,@MISSING_DVIPS_TRUE@,$MISSING_DVIPS_TRUE,;t t
12318 s,@MISSING_DVIPS_FALSE@,$MISSING_DVIPS_FALSE,;t t
12319 s,@PS2PDF@,$PS2PDF,;t t
12320 s,@MISSING_PS2PDF_TRUE@,$MISSING_PS2PDF_TRUE,;t t
12321 s,@MISSING_PS2PDF_FALSE@,$MISSING_PS2PDF_FALSE,;t t
12322 s,@EGREP@,$EGREP,;t t
12323 s,@X_CFLAGS@,$X_CFLAGS,;t t
12324 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
12325 s,@X_LIBS@,$X_LIBS,;t t
12326 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
12327 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
12328 s,@GTK_LIBS@,$GTK_LIBS,;t t
12329 s,@GLIB_CFLAGS@,$GLIB_CFLAGS,;t t
12330 s,@GLIB_LIBS@,$GLIB_LIBS,;t t
12331 s,@GDLIB_CONFIG@,$GDLIB_CONFIG,;t t
12332 s,@PNG_TRUE@,$PNG_TRUE,;t t
12333 s,@PNG_FALSE@,$PNG_FALSE,;t t
12334 s,@GIF_TRUE@,$GIF_TRUE,;t t
12335 s,@GIF_FALSE@,$GIF_FALSE,;t t
12336 s,@FONTFILENAME@,$FONTFILENAME,;t t
12337 s,@PCBLIBDIR@,$PCBLIBDIR,;t t
12338 s,@LIBRARYFILENAME@,$LIBRARYFILENAME,;t t
12339 s,@PCBTREEDIR@,$PCBTREEDIR,;t t
12340 s,@PCBTREEPATH@,$PCBTREEPATH,;t t
12341 s,@BTNMOD@,$BTNMOD,;t t
12342 s,@TOPDIRS@,$TOPDIRS,;t t
12343 s,@LIBOBJS@,$LIBOBJS,;t t
12344 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
12349 cat >>$CONFIG_STATUS <<\_ACEOF
12350 # Split the substitutions into bite-sized pieces for seds with
12351 # small command number limits, like on Digital OSF/1 and HP-UX.
12352 ac_max_sed_lines
=48
12353 ac_sed_frag
=1 # Number of current file.
12354 ac_beg
=1 # First line for current file.
12355 ac_end
=$ac_max_sed_lines # Line after last line for current file.
12358 while $ac_more_lines; do
12359 if test $ac_beg -gt 1; then
12360 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
12362 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
12364 if test ! -s $tmp/subs.frag
; then
12365 ac_more_lines
=false
12367 # The purpose of the label and of the branching condition is to
12368 # speed up the sed processing (if there are no `@' at all, there
12369 # is no need to browse any of the substitutions).
12370 # These are the two extra sed commands mentioned above.
12372 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
12373 if test -z "$ac_sed_cmds"; then
12374 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
12376 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
12378 ac_sed_frag
=`expr $ac_sed_frag + 1`
12380 ac_end
=`expr $ac_end + $ac_max_sed_lines`
12383 if test -z "$ac_sed_cmds"; then
12386 fi # test -n "$CONFIG_FILES"
12389 cat >>$CONFIG_STATUS <<\_ACEOF
12390 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
12391 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
12393 - |
*:- |
*:-:* ) # input from stdin
12395 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
12396 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
12397 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
12398 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
12399 * ) ac_file_in
=$ac_file.
in ;;
12402 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
12403 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
12404 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12405 X"$ac_file" : 'X\(//\)[^/]' \| \
12406 X"$ac_file" : 'X\(//\)$' \| \
12407 X"$ac_file" : 'X\(/\)' \| \
12408 . : '\(.\)' 2>/dev/null ||
12410 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12411 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12412 /^X\(\/\/\)$/{ s//\1/; q; }
12413 /^X\(\/\).*/{ s//\1/; q; }
12415 { if $as_mkdir_p; then
12420 while test ! -d "$as_dir"; do
12421 as_dirs
="$as_dir $as_dirs"
12422 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
12423 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12424 X"$as_dir" : 'X\(//\)[^/]' \| \
12425 X"$as_dir" : 'X\(//\)$' \| \
12426 X"$as_dir" : 'X\(/\)' \| \
12427 . : '\(.\)' 2>/dev/null ||
12429 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12430 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12431 /^X\(\/\/\)$/{ s//\1/; q; }
12432 /^X\(\/\).*/{ s//\1/; q; }
12435 test ! -n "$as_dirs" || mkdir
$as_dirs
12436 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
12437 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
12438 { (exit 1); exit 1; }; }; }
12442 if test "$ac_dir" != .
; then
12443 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
12444 # A "../" for each directory in $ac_dir_suffix.
12445 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
12447 ac_dir_suffix
= ac_top_builddir
=
12451 .
) # No --srcdir option. We are building in place.
12453 if test -z "$ac_top_builddir"; then
12456 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
12458 [\\/]* | ?
:[\\/]* ) # Absolute path.
12459 ac_srcdir
=$srcdir$ac_dir_suffix;
12460 ac_top_srcdir
=$srcdir ;;
12461 *) # Relative path.
12462 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
12463 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
12466 # Do not use `cd foo && pwd` to compute absolute paths, because
12467 # the directories may not exist.
12469 .
) ac_abs_builddir
="$ac_dir";;
12472 .
) ac_abs_builddir
=`pwd`;;
12473 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
12474 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
12477 case $ac_abs_builddir in
12478 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
12480 case ${ac_top_builddir}.
in
12481 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
12482 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
12483 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
12486 case $ac_abs_builddir in
12487 .
) ac_abs_srcdir
=$ac_srcdir;;
12490 .
) ac_abs_srcdir
=$ac_abs_builddir;;
12491 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
12492 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
12495 case $ac_abs_builddir in
12496 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
12498 case $ac_top_srcdir in
12499 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
12500 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
12501 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
12507 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
12508 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
12511 if test x
"$ac_file" != x-
; then
12512 { echo "$as_me:$LINENO: creating $ac_file" >&5
12513 echo "$as_me: creating $ac_file" >&6;}
12516 # Let's still pretend it is `configure' which instantiates (i.e., don't
12517 # use $as_me), people would be surprised to read:
12518 # /* config.h. Generated by config.status. */
12519 if test x
"$ac_file" = x-
; then
12522 configure_input
="$ac_file. "
12524 configure_input
=$configure_input"Generated from `echo $ac_file_in |
12525 sed 's,.*/,,'` by configure."
12527 # First look for the input files in the build tree, otherwise in the
12529 ac_file_inputs
=`IFS=:
12530 for f in $ac_file_in; do
12532 -) echo $tmp/stdin ;;
12534 # Absolute (can't be DOS-style, as IFS=:)
12535 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12536 echo "$as_me: error: cannot find input file: $f" >&2;}
12537 { (exit 1); exit 1; }; }
12540 if test -f "$f"; then
12543 elif test -f "$srcdir/$f"; then
12548 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12549 echo "$as_me: error: cannot find input file: $f" >&2;}
12550 { (exit 1); exit 1; }; }
12553 done` ||
{ (exit 1); exit 1; }
12555 cat >>$CONFIG_STATUS <<_ACEOF
12559 cat >>$CONFIG_STATUS <<\_ACEOF
12561 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
12562 s
,@configure_input@
,$configure_input,;t t
12563 s
,@srcdir@
,$ac_srcdir,;t t
12564 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
12565 s
,@top_srcdir@
,$ac_top_srcdir,;t t
12566 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
12567 s
,@builddir@
,$ac_builddir,;t t
12568 s
,@abs_builddir@
,$ac_abs_builddir,;t t
12569 s
,@top_builddir@
,$ac_top_builddir,;t t
12570 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
12571 s
,@INSTALL@
,$ac_INSTALL,;t t
12572 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
12574 if test x"$ac_file" != x-; then
12575 mv $tmp/out $ac_file
12583 cat >>$CONFIG_STATUS <<\_ACEOF
12586 # CONFIG_HEADER section.
12589 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
12590 # NAME is the cpp macro being defined and VALUE is the value it is being given.
12592 # ac_d sets the value in "#define NAME VALUE" lines.
12593 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
12594 ac_dB
='[ ].*$,\1#\2'
12597 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
12598 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
12599 ac_uB
='$,\1#\2define\3'
12603 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
12604 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
12606 - |
*:- |
*:-:* ) # input from stdin
12608 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
12609 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
12610 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
12611 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
12612 * ) ac_file_in
=$ac_file.
in ;;
12615 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
12616 echo "$as_me: creating $ac_file" >&6;}
12618 # First look for the input files in the build tree, otherwise in the
12620 ac_file_inputs
=`IFS=:
12621 for f in $ac_file_in; do
12623 -) echo $tmp/stdin ;;
12625 # Absolute (can't be DOS-style, as IFS=:)
12626 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12627 echo "$as_me: error: cannot find input file: $f" >&2;}
12628 { (exit 1); exit 1; }; }
12629 # Do quote $f, to prevent DOS paths from being IFS'd.
12632 if test -f "$f"; then
12635 elif test -f "$srcdir/$f"; then
12640 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12641 echo "$as_me: error: cannot find input file: $f" >&2;}
12642 { (exit 1); exit 1; }; }
12645 done` ||
{ (exit 1); exit 1; }
12646 # Remove the trailing spaces.
12647 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
12651 # Transform confdefs.h into two sed scripts, `conftest.defines' and
12652 # `conftest.undefs', that substitutes the proper values into
12653 # config.h.in to produce config.h. The first handles `#define'
12654 # templates, and the second `#undef' templates.
12655 # And first: Protect against being on the right side of a sed subst in
12656 # config.status. Protect against being in an unquoted here document
12657 # in config.status.
12658 rm -f conftest.defines conftest.undefs
12659 # Using a here document instead of a string reduces the quoting nightmare.
12660 # Putting comments in sed scripts is not portable.
12662 # `end' is used to avoid that the second main sed command (meant for
12663 # 0-ary CPP macros) applies to n-ary macro definitions.
12664 # See the Autoconf documentation for `clear'.
12665 cat >confdef2sed.
sed <<\_ACEOF
12670 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
12672 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
12675 # If some macros were called several times there might be several times
12676 # the same #defines, which is useless. Nevertheless, we may not want to
12677 # sort them, since we want the *last* AC-DEFINE to be honored.
12678 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
12679 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
12680 rm -f confdef2sed.sed
12682 # This sed command replaces #undef with comments. This is necessary, for
12683 # example, in the case of _POSIX_SOURCE, which is predefined and required
12684 # on some systems where configure will not decide to define it.
12685 cat >>conftest.undefs <<\_ACEOF
12686 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
12689 # Break up conftest.defines because some shells have a limit on the size
12690 # of here documents, and old seds have small limits too (100 cmds).
12691 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
12692 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
12693 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
12694 echo ' :' >>$CONFIG_STATUS
12695 rm -f conftest.tail
12696 while grep . conftest.defines >/dev/null
12698 # Write a limited-size here document to $tmp/defines.sed.
12699 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
12700 # Speed up: don't consider the non `#define' lines.
12701 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
12702 # Work around the forget-to-reset-the-flag bug.
12703 echo 't clr' >>$CONFIG_STATUS
12704 echo ': clr' >>$CONFIG_STATUS
12705 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
12707 sed -f $tmp/defines.sed $tmp/in >$tmp/out
12709 mv $tmp/out $tmp/in
12711 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
12712 rm -f conftest.defines
12713 mv conftest.
tail conftest.defines
12715 rm -f conftest.defines
12716 echo ' fi # grep' >>$CONFIG_STATUS
12717 echo >>$CONFIG_STATUS
12719 # Break up conftest.undefs because some shells have a limit on the size
12720 # of here documents, and old seds have small limits too (100 cmds).
12721 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
12722 rm -f conftest.
tail
12723 while grep . conftest.undefs
>/dev
/null
12725 # Write a limited-size here document to $tmp/undefs.sed.
12726 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
12727 # Speed up: don't consider the non
`#undef'
12728 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
12729 # Work around the forget-to-reset-the-flag bug.
12730 echo 't clr' >>$CONFIG_STATUS
12731 echo ': clr' >>$CONFIG_STATUS
12732 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
12734 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
12736 mv $tmp/out $tmp/in
12738 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
12739 rm -f conftest.undefs
12740 mv conftest.tail conftest.undefs
12742 rm -f conftest.undefs
12744 cat >>$CONFIG_STATUS <<\_ACEOF
12745 # Let's still pretend it is `configure
' which instantiates (i.e., don't
12746 # use $as_me), people would be surprised to read:
12747 # /* config.h. Generated by config.status. */
12748 if test x
"$ac_file" = x-
; then
12749 echo "/* Generated by configure. */" >$tmp/config.h
12751 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
12753 cat $tmp/in >>$tmp/config.h
12755 if test x
"$ac_file" != x-
; then
12756 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
12757 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
12758 echo "$as_me: $ac_file is unchanged" >&6;}
12760 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
12761 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12762 X"$ac_file" : 'X\(//\)[^/]' \| \
12763 X"$ac_file" : 'X\(//\)$' \| \
12764 X"$ac_file" : 'X\(/\)' \| \
12765 . : '\(.\)' 2>/dev/null ||
12767 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12768 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12769 /^X\(\/\/\)$/{ s//\1/; q; }
12770 /^X\(\/\).*/{ s//\1/; q; }
12772 { if $as_mkdir_p; then
12777 while test ! -d "$as_dir"; do
12778 as_dirs
="$as_dir $as_dirs"
12779 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
12780 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12781 X"$as_dir" : 'X\(//\)[^/]' \| \
12782 X"$as_dir" : 'X\(//\)$' \| \
12783 X"$as_dir" : 'X\(/\)' \| \
12784 . : '\(.\)' 2>/dev/null ||
12786 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12787 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12788 /^X\(\/\/\)$/{ s//\1/; q; }
12789 /^X\(\/\).*/{ s//\1/; q; }
12792 test ! -n "$as_dirs" || mkdir
$as_dirs
12793 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
12794 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
12795 { (exit 1); exit 1; }; }; }
12798 mv $tmp/config.h
$ac_file
12802 rm -f $tmp/config.h
12804 # Compute $ac_file's index in $config_headers.
12806 for _am_header
in $config_headers :; do
12807 case $_am_header in
12808 $ac_file |
$ac_file:* )
12811 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
12814 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
12815 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12816 X$ac_file : 'X\(//\)[^/]' \| \
12817 X$ac_file : 'X\(//\)$' \| \
12818 X$ac_file : 'X\(/\)' \| \
12819 . : '\(.\)' 2>/dev/null ||
12821 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12822 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12823 /^X\(\/\/\)$/{ s//\1/; q; }
12824 /^X\(\/\).*/{ s//\1/; q; }
12825 s/.*/./; q'`/stamp-h
$_am_stamp_count
12828 cat >>$CONFIG_STATUS <<\_ACEOF
12831 # CONFIG_COMMANDS section.
12833 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
12834 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
12835 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
12836 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
12837 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12838 X"$ac_dest" : 'X\(//\)[^/]' \| \
12839 X"$ac_dest" : 'X\(//\)$' \| \
12840 X"$ac_dest" : 'X\(/\)' \| \
12841 . : '\(.\)' 2>/dev/null ||
12843 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12844 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12845 /^X\(\/\/\)$/{ s//\1/; q; }
12846 /^X\(\/\).*/{ s//\1/; q; }
12848 { if $as_mkdir_p; then
12853 while test ! -d "$as_dir"; do
12854 as_dirs
="$as_dir $as_dirs"
12855 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
12856 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12857 X"$as_dir" : 'X\(//\)[^/]' \| \
12858 X"$as_dir" : 'X\(//\)$' \| \
12859 X"$as_dir" : 'X\(/\)' \| \
12860 . : '\(.\)' 2>/dev/null ||
12862 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12863 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12864 /^X\(\/\/\)$/{ s//\1/; q; }
12865 /^X\(\/\).*/{ s//\1/; q; }
12868 test ! -n "$as_dirs" || mkdir
$as_dirs
12869 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
12870 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
12871 { (exit 1); exit 1; }; }; }
12875 if test "$ac_dir" != .
; then
12876 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
12877 # A "../" for each directory in $ac_dir_suffix.
12878 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
12880 ac_dir_suffix
= ac_top_builddir
=
12884 .
) # No --srcdir option. We are building in place.
12886 if test -z "$ac_top_builddir"; then
12889 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
12891 [\\/]* | ?
:[\\/]* ) # Absolute path.
12892 ac_srcdir
=$srcdir$ac_dir_suffix;
12893 ac_top_srcdir
=$srcdir ;;
12894 *) # Relative path.
12895 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
12896 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
12899 # Do not use `cd foo && pwd` to compute absolute paths, because
12900 # the directories may not exist.
12902 .
) ac_abs_builddir
="$ac_dir";;
12905 .
) ac_abs_builddir
=`pwd`;;
12906 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
12907 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
12910 case $ac_abs_builddir in
12911 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
12913 case ${ac_top_builddir}.
in
12914 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
12915 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
12916 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
12919 case $ac_abs_builddir in
12920 .
) ac_abs_srcdir
=$ac_srcdir;;
12923 .
) ac_abs_srcdir
=$ac_abs_builddir;;
12924 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
12925 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
12928 case $ac_abs_builddir in
12929 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
12931 case $ac_top_srcdir in
12932 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
12933 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
12934 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
12939 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
12940 echo "$as_me: executing $ac_dest commands" >&6;}
12942 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
12943 # Strip MF so we end up with the name of the file.
12944 mf
=`echo "$mf" | sed -e 's/:.*$//'`
12945 # Check whether this is an Automake generated Makefile or not.
12946 # We used to match only the files named `Makefile.in', but
12947 # some people rename them; so instead we look at the file content.
12948 # Grep'ing the first line is not enough: some people post-process
12949 # each Makefile.in and add a new line on top of each file to say so.
12950 # So let's grep whole file.
12951 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
12952 dirpart
=`(dirname "$mf") 2>/dev/null ||
12953 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12954 X"$mf" : 'X\(//\)[^/]' \| \
12955 X"$mf" : 'X\(//\)$' \| \
12956 X"$mf" : 'X\(/\)' \| \
12957 . : '\(.\)' 2>/dev/null ||
12959 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12960 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12961 /^X\(\/\/\)$/{ s//\1/; q; }
12962 /^X\(\/\).*/{ s//\1/; q; }
12967 # Extract the definition of DEPDIR, am__include, and am__quote
12968 # from the Makefile without running `make'.
12969 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
12970 test -z "$DEPDIR" && continue
12971 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
12972 test -z "am__include" && continue
12973 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
12974 # When using ansi2knr, U may be empty or an underscore; expand it
12975 U
=`sed -n 's/^U = //p' < "$mf"`
12976 # Find all dependency output files, they are included files with
12977 # $(DEPDIR) in their names. We invoke sed twice because it is the
12978 # simplest approach to changing $(DEPDIR) to its actual value in the
12980 for file in `sed -n "
12981 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
12982 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
12983 # Make sure the directory exists.
12984 test -f "$dirpart/$file" && continue
12985 fdir
=`(dirname "$file") 2>/dev/null ||
12986 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12987 X"$file" : 'X\(//\)[^/]' \| \
12988 X"$file" : 'X\(//\)$' \| \
12989 X"$file" : 'X\(/\)' \| \
12990 . : '\(.\)' 2>/dev/null ||
12992 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12993 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12994 /^X\(\/\/\)$/{ s//\1/; q; }
12995 /^X\(\/\).*/{ s//\1/; q; }
12997 { if $as_mkdir_p; then
12998 mkdir
-p $dirpart/$fdir
13000 as_dir
=$dirpart/$fdir
13002 while test ! -d "$as_dir"; do
13003 as_dirs
="$as_dir $as_dirs"
13004 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
13005 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13006 X"$as_dir" : 'X\(//\)[^/]' \| \
13007 X"$as_dir" : 'X\(//\)$' \| \
13008 X"$as_dir" : 'X\(/\)' \| \
13009 . : '\(.\)' 2>/dev/null ||
13011 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13012 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13013 /^X\(\/\/\)$/{ s//\1/; q; }
13014 /^X\(\/\).*/{ s//\1/; q; }
13017 test ! -n "$as_dirs" || mkdir
$as_dirs
13018 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
13019 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
13020 { (exit 1); exit 1; }; }; }
13022 # echo "creating $dirpart/$file"
13023 echo '# dummy' > "$dirpart/$file"
13031 cat >>$CONFIG_STATUS <<\_ACEOF
13033 { (exit 0); exit 0; }
13035 chmod +x
$CONFIG_STATUS
13036 ac_clean_files
=$ac_clean_files_save
13039 # configure is writing to config.log, and then calls config.status.
13040 # config.status does its own redirection, appending to config.log.
13041 # Unfortunately, on DOS this fails, as config.log is still kept open
13042 # by configure, so config.status won't be able to write to it; its
13043 # output is simply discarded. So we exec the FD to /dev/null,
13044 # effectively closing config.log, so it can be properly (re)opened and
13045 # appended to by config.status. When coming back to configure, we
13046 # need to make the FD available again.
13047 if test "$no_create" != yes; then
13049 ac_config_status_args
=
13050 test "$silent" = yes &&
13051 ac_config_status_args
="$ac_config_status_args --quiet"
13053 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
13055 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13056 # would make configure fail if this is the last instruction.
13057 $ac_cs_success ||
{ (exit 1); exit 1; }
13061 with_gui
=`echo $with_gui`
13062 with_printer
=`echo $with_printer`
13063 with_exporters
=`echo $with_exporters | sed 's/,/ /g'`
13065 echo "$as_me:$LINENO: result:
13066 ** Configuration summary for $PACKAGE $VERSION:
13069 Printer: $with_printer
13070 Exporters: $with_exporters
13071 Build documentation: $docs_yesno
13072 dmalloc debugging: $with_dmalloc
13073 ElectricFence debugging: $with_efence
13074 CPPFLAGS: $CPPFLAGS
13080 ** Configuration summary for $PACKAGE $VERSION:
13083 Printer: $with_printer
13084 Exporters: $with_exporters
13085 Build documentation: $docs_yesno
13086 dmalloc debugging: $with_dmalloc
13087 ElectricFence debugging: $with_efence
13088 CPPFLAGS: $CPPFLAGS