2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.53 for wmapmload 0.3.2.
5 # Report bugs to <tnemeth@free.fr>.
7 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
8 # Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
12 if expr a
: '\(a\)' >/dev
/null
2>&1; then
19 ## --------------------- ##
20 ## M4sh Initialization. ##
21 ## --------------------- ##
23 # Be Bourne compatible
24 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
27 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
32 # Support unset when possible.
33 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
39 (set +x
; test -n "`(LANG=C; export LANG) 2>&1`") &&
40 { $as_unset LANG ||
test "${LANG+set}" != set; } ||
41 { LANG
=C
; export LANG
; }
42 (set +x
; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
43 { $as_unset LC_ALL ||
test "${LC_ALL+set}" != set; } ||
44 { LC_ALL
=C
; export LC_ALL
; }
45 (set +x
; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
46 { $as_unset LC_TIME ||
test "${LC_TIME+set}" != set; } ||
47 { LC_TIME
=C
; export LC_TIME
; }
48 (set +x
; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
49 { $as_unset LC_CTYPE ||
test "${LC_CTYPE+set}" != set; } ||
50 { LC_CTYPE
=C
; export LC_CTYPE
; }
51 (set +x
; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
52 { $as_unset LANGUAGE ||
test "${LANGUAGE+set}" != set; } ||
53 { LANGUAGE
=C
; export LANGUAGE
; }
54 (set +x
; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
55 { $as_unset LC_COLLATE ||
test "${LC_COLLATE+set}" != set; } ||
56 { LC_COLLATE
=C
; export LC_COLLATE
; }
57 (set +x
; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
58 { $as_unset LC_NUMERIC ||
test "${LC_NUMERIC+set}" != set; } ||
59 { LC_NUMERIC
=C
; export LC_NUMERIC
; }
60 (set +x
; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
61 { $as_unset LC_MESSAGES ||
test "${LC_MESSAGES+set}" != set; } ||
62 { LC_MESSAGES
=C
; export LC_MESSAGES
; }
65 # Name of the executable.
66 as_me
=`(basename "$0") 2>/dev/null ||
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; }
77 # PATH needs CR, and LINENO needs CR and PATH.
78 # Avoid depending upon Character Ranges.
79 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
80 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
81 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
82 as_cr_digits
='0123456789'
83 as_cr_alnum
=$as_cr_Letters$as_cr_digits
85 # The user is always right.
86 if test "${PATH_SEPARATOR+set}" != set; then
87 echo "#! /bin/sh" >conftest.sh
88 echo "exit 0" >>conftest.sh
90 if (PATH
=".;."; conftest.sh
) >/dev
/null
2>&1; then
101 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
102 test "x$as_lineno_1" != "x$as_lineno_2" &&
103 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
104 # Find who we are. Look in the path if we contain no path at all
107 *[\\/]* ) as_myself
=$0 ;;
108 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
112 test -z "$as_dir" && as_dir
=.
113 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
118 # We did not find ourselves, most probably we were run as `sh COMMAND'
119 # in which case we are not to be found in the path.
120 if test "x$as_myself" = x
; then
123 if test ! -f "$as_myself"; then
124 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
125 { (exit 1); exit 1; }; }
127 case $CONFIG_SHELL in
129 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
130 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
133 test -z "$as_dir" && as_dir
=.
134 for as_base
in sh bash ksh sh5
; do
137 if ("$as_dir/$as_base" -c '
140 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
141 test "x$as_lineno_1" != "x$as_lineno_2" &&
142 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
143 CONFIG_SHELL
=$as_dir/$as_base
145 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
153 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
154 # uniformly replaced by the line number. The first 'sed' inserts a
155 # line-number line before each line; the second 'sed' does the real
156 # work. The second script uses 'N' to pair each line-number line
157 # with the numbered line, and appends trailing '-' during
158 # substitution so that $LINENO is not a special case at line end.
159 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
160 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
161 sed '=' <$as_myself |
166 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
169 s,^['$as_cr_digits']*\n,,
171 chmod +x
$as_me.lineno ||
172 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
173 { (exit 1); exit 1; }; }
175 # Don't try to exec as it changes $[0], causing all sort of problems
176 # (the dirname of $[0] is not the place where we might find the
177 # original and so on. Autoconf is especially sensible to this).
179 # Exit status is that of the last command.
184 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
185 *c
*,-n*) ECHO_N
= ECHO_C
='
187 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
188 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
191 if expr a
: '\(a\)' >/dev
/null
2>&1; then
197 rm -f conf$$ conf$$.exe conf$$.
file
199 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
200 # We could just check for DJGPP; but this test a) works b) is more generic
201 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
202 if test -f conf$$.exe
; then
203 # Don't use ln at all; we don't have any links
208 elif ln conf$$.
file conf$$
2>/dev
/null
; then
213 rm -f conf$$ conf$$.exe conf$$.
file
215 as_executable_p
="test -f"
217 # Sed expression to map a string onto a valid CPP name.
218 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
220 # Sed expression to map a string onto a valid variable name.
221 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
225 # We need space, tab and new line, in precisely that order.
231 $as_unset CDPATH ||
test "${CDPATH+set}" != set ||
{ CDPATH
=$PATH_SEPARATOR; export CDPATH
; }
235 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
236 # so uname gets run too.
237 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
244 ac_default_prefix
=/usr
/local
249 SHELL
=${CONFIG_SHELL-/bin/sh}
251 # Maximum number of lines to put in a shell here document.
252 # This variable seems obsolete. It should probably be removed, and
253 # only ac_max_sed_lines should be used.
254 : ${ac_max_here_lines=38}
256 # Identity of this package.
257 PACKAGE_NAME
='wmapmload'
258 PACKAGE_TARNAME
='wmapmload'
259 PACKAGE_VERSION
='0.3.2'
260 PACKAGE_STRING
='wmapmload 0.3.2'
261 PACKAGE_BUGREPORT
='tnemeth@free.fr'
263 ac_unique_file
="src/main.c"
264 # Factoring default headers for most tests.
265 ac_includes_default
="\
268 # include <sys/types.h>
271 # include <sys/stat.h>
282 # if !STDC_HEADERS && HAVE_MEMORY_H
288 # include <strings.h>
291 # include <inttypes.h>
302 # Initialize some variables set by options.
304 ac_init_version
=false
305 # The variables have the same names as the options, with
306 # dashes changed to underlines.
314 program_transform_name
=s
,x
,x
,
322 # Installation directory options.
323 # These are left unexpanded so users can "make install exec_prefix=/foo"
324 # and all the variables that are supposed to be based on exec_prefix
325 # by default will actually change.
326 # Use braces instead of parens because sh, perl, etc. also accept them.
327 bindir
='${exec_prefix}/bin'
328 sbindir
='${exec_prefix}/sbin'
329 libexecdir
='${exec_prefix}/libexec'
330 datadir
='${prefix}/share'
331 sysconfdir
='${prefix}/etc'
332 sharedstatedir
='${prefix}/com'
333 localstatedir
='${prefix}/var'
334 libdir
='${exec_prefix}/lib'
335 includedir
='${prefix}/include'
336 oldincludedir
='/usr/include'
337 infodir
='${prefix}/info'
338 mandir
='${prefix}/man'
343 # If the previous option needs an argument, assign it.
344 if test -n "$ac_prev"; then
345 eval "$ac_prev=\$ac_option"
350 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
352 # Accept the important Cygnus configure options, so we can diagnose typos.
356 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
358 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
361 -build |
--build |
--buil |
--bui |
--bu)
362 ac_prev
=build_alias
;;
363 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
364 build_alias
=$ac_optarg ;;
366 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
367 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
368 ac_prev
=cache_file
;;
369 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
370 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
371 cache_file
=$ac_optarg ;;
374 cache_file
=config.cache
;;
376 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
378 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
380 datadir
=$ac_optarg ;;
382 -disable-* |
--disable-*)
383 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
384 # Reject names that are not valid shell variable names.
385 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
386 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
387 { (exit 1); exit 1; }; }
388 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
389 eval "enable_$ac_feature=no" ;;
391 -enable-* |
--enable-*)
392 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
393 # Reject names that are not valid shell variable names.
394 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
395 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
396 { (exit 1); exit 1; }; }
397 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
399 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
402 eval "enable_$ac_feature='$ac_optarg'" ;;
404 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
405 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
406 |
--exec |
--exe |
--ex)
407 ac_prev
=exec_prefix
;;
408 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
409 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
410 |
--exec=* |
--exe=* |
--ex=*)
411 exec_prefix
=$ac_optarg ;;
413 -gas |
--gas |
--ga |
--g)
414 # Obsolete; use --with-gas.
417 -help |
--help |
--hel |
--he |
-h)
419 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
420 ac_init_help
=recursive
;;
421 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
422 ac_init_help
=short
;;
424 -host |
--host |
--hos |
--ho)
425 ac_prev
=host_alias
;;
426 -host=* |
--host=* |
--hos=* |
--ho=*)
427 host_alias
=$ac_optarg ;;
429 -includedir |
--includedir |
--includedi |
--included |
--include \
430 |
--includ |
--inclu |
--incl |
--inc)
431 ac_prev
=includedir
;;
432 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
433 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
434 includedir
=$ac_optarg ;;
436 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
438 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
439 infodir
=$ac_optarg ;;
441 -libdir |
--libdir |
--libdi |
--libd)
443 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
446 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
447 |
--libexe |
--libex |
--libe)
448 ac_prev
=libexecdir
;;
449 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
450 |
--libexe=* |
--libex=* |
--libe=*)
451 libexecdir
=$ac_optarg ;;
453 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
454 |
--localstate |
--localstat |
--localsta |
--localst \
455 |
--locals |
--local |
--loca |
--loc |
--lo)
456 ac_prev
=localstatedir
;;
457 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
458 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
459 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
460 localstatedir
=$ac_optarg ;;
462 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
464 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
468 # Obsolete; use --without-fp.
471 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
472 |
--no-cr |
--no-c |
-n)
475 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
476 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
479 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
480 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
481 |
--oldin |
--oldi |
--old |
--ol |
--o)
482 ac_prev
=oldincludedir
;;
483 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
484 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
485 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
486 oldincludedir
=$ac_optarg ;;
488 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
490 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
493 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
494 |
--program-pre |
--program-pr |
--program-p)
495 ac_prev
=program_prefix
;;
496 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
497 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
498 program_prefix
=$ac_optarg ;;
500 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
501 |
--program-suf |
--program-su |
--program-s)
502 ac_prev
=program_suffix
;;
503 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
504 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
505 program_suffix
=$ac_optarg ;;
507 -program-transform-name |
--program-transform-name \
508 |
--program-transform-nam |
--program-transform-na \
509 |
--program-transform-n |
--program-transform- \
510 |
--program-transform |
--program-transfor \
511 |
--program-transfo |
--program-transf \
512 |
--program-trans |
--program-tran \
513 |
--progr-tra |
--program-tr |
--program-t)
514 ac_prev
=program_transform_name
;;
515 -program-transform-name=* |
--program-transform-name=* \
516 |
--program-transform-nam=* |
--program-transform-na=* \
517 |
--program-transform-n=* |
--program-transform-=* \
518 |
--program-transform=* |
--program-transfor=* \
519 |
--program-transfo=* |
--program-transf=* \
520 |
--program-trans=* |
--program-tran=* \
521 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
522 program_transform_name
=$ac_optarg ;;
524 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
525 |
-silent |
--silent |
--silen |
--sile |
--sil)
528 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
530 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
532 sbindir
=$ac_optarg ;;
534 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
535 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
536 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
538 ac_prev
=sharedstatedir
;;
539 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
540 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
541 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
543 sharedstatedir
=$ac_optarg ;;
545 -site |
--site |
--sit)
547 -site=* |
--site=* |
--sit=*)
550 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
552 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
555 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
556 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
557 ac_prev
=sysconfdir
;;
558 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
559 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
560 sysconfdir
=$ac_optarg ;;
562 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
563 ac_prev
=target_alias
;;
564 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
565 target_alias
=$ac_optarg ;;
567 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
570 -version |
--version |
--versio |
--versi |
--vers |
-V)
574 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
575 # Reject names that are not valid shell variable names.
576 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
577 { echo "$as_me: error: invalid package name: $ac_package" >&2
578 { (exit 1); exit 1; }; }
579 ac_package
=`echo $ac_package| sed 's/-/_/g'`
581 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
584 eval "with_$ac_package='$ac_optarg'" ;;
586 -without-* |
--without-*)
587 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
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'`
593 eval "with_$ac_package=no" ;;
596 # Obsolete; use --with-x.
599 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
600 |
--x-incl |
--x-inc |
--x-in |
--x-i)
601 ac_prev
=x_includes
;;
602 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
603 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
604 x_includes
=$ac_optarg ;;
606 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
607 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
608 ac_prev
=x_libraries
;;
609 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
610 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
611 x_libraries
=$ac_optarg ;;
613 -*) { echo "$as_me: error: unrecognized option: $ac_option
614 Try \`$0 --help' for more information." >&2
615 { (exit 1); exit 1; }; }
619 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
620 # Reject names that are not valid shell variable names.
621 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
622 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
623 { (exit 1); exit 1; }; }
624 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
625 eval "$ac_envvar='$ac_optarg'"
629 # FIXME: should be removed in autoconf 3.0.
630 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
631 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
632 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
633 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
639 if test -n "$ac_prev"; then
640 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
641 { echo "$as_me: error: missing argument to $ac_option" >&2
642 { (exit 1); exit 1; }; }
645 # Be sure to have absolute paths.
646 for ac_var
in exec_prefix prefix
648 eval ac_val
=$
`echo $ac_var`
650 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
651 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
652 { (exit 1); exit 1; }; };;
656 # Be sure to have absolute paths.
657 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
658 localstatedir libdir includedir oldincludedir infodir mandir
660 eval ac_val
=$
`echo $ac_var`
662 [\\/$
]* | ?
:[\\/]* ) ;;
663 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
664 { (exit 1); exit 1; }; };;
668 # There might be people who depend on the old broken behavior: `$host'
669 # used to hold the argument of --host etc.
670 # FIXME: To remove some day.
675 # FIXME: To remove some day.
676 if test "x$host_alias" != x
; then
677 if test "x$build_alias" = x
; then
678 cross_compiling
=maybe
679 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
680 If a cross compiler is detected then cross compile mode will be used." >&2
681 elif test "x$build_alias" != "x$host_alias"; then
687 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
689 test "$silent" = yes && exec 6>/dev
/null
692 # Find the source files, if location was not specified.
693 if test -z "$srcdir"; then
694 ac_srcdir_defaulted
=yes
695 # Try the directory containing this script, then its parent.
696 ac_confdir
=`(dirname "$0") 2>/dev/null ||
697 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
698 X"$0" : 'X\(//\)[^/]' \| \
699 X"$0" : 'X\(//\)$' \| \
700 X"$0" : 'X\(/\)' \| \
701 . : '\(.\)' 2>/dev/null ||
703 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
704 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
705 /^X\(\/\/\)$/{ s//\1/; q; }
706 /^X\(\/\).*/{ s//\1/; q; }
709 if test ! -r $srcdir/$ac_unique_file; then
713 ac_srcdir_defaulted
=no
715 if test ! -r $srcdir/$ac_unique_file; then
716 if test "$ac_srcdir_defaulted" = yes; then
717 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
718 { (exit 1); exit 1; }; }
720 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
721 { (exit 1); exit 1; }; }
724 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
725 ac_env_build_alias_set
=${build_alias+set}
726 ac_env_build_alias_value
=$build_alias
727 ac_cv_env_build_alias_set
=${build_alias+set}
728 ac_cv_env_build_alias_value
=$build_alias
729 ac_env_host_alias_set
=${host_alias+set}
730 ac_env_host_alias_value
=$host_alias
731 ac_cv_env_host_alias_set
=${host_alias+set}
732 ac_cv_env_host_alias_value
=$host_alias
733 ac_env_target_alias_set
=${target_alias+set}
734 ac_env_target_alias_value
=$target_alias
735 ac_cv_env_target_alias_set
=${target_alias+set}
736 ac_cv_env_target_alias_value
=$target_alias
737 ac_env_CC_set
=${CC+set}
739 ac_cv_env_CC_set
=${CC+set}
740 ac_cv_env_CC_value
=$CC
741 ac_env_CFLAGS_set
=${CFLAGS+set}
742 ac_env_CFLAGS_value
=$CFLAGS
743 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
744 ac_cv_env_CFLAGS_value
=$CFLAGS
745 ac_env_LDFLAGS_set
=${LDFLAGS+set}
746 ac_env_LDFLAGS_value
=$LDFLAGS
747 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
748 ac_cv_env_LDFLAGS_value
=$LDFLAGS
749 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
750 ac_env_CPPFLAGS_value
=$CPPFLAGS
751 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
752 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
753 ac_env_CPP_set
=${CPP+set}
754 ac_env_CPP_value
=$CPP
755 ac_cv_env_CPP_set
=${CPP+set}
756 ac_cv_env_CPP_value
=$CPP
759 # Report the --help message.
761 if test "$ac_init_help" = "long"; then
762 # Omit some internal or obsolete options to make the list less imposing.
763 # This message is too long to be a string in the A/UX 3.1 sh.
765 \`configure' configures wmapmload 0.3.2 to adapt to many kinds of systems.
767 Usage: $0 [OPTION]... [VAR=VALUE]...
769 To assign environment variables (e.g., CC, CFLAGS...), specify them as
770 VAR=VALUE. See below for descriptions of some of the useful variables.
772 Defaults for the options are specified in brackets.
775 -h, --help display this help and exit
776 --help=short display options specific to this package
777 --help=recursive display the short help of all the included packages
778 -V, --version display version information and exit
779 -q, --quiet, --silent do not print \`checking...' messages
780 --cache-file=FILE cache test results in FILE [disabled]
781 -C, --config-cache alias for \`--cache-file=config.cache'
782 -n, --no-create do not create output files
783 --srcdir=DIR find the sources in DIR [configure dir or \`..']
788 Installation directories:
789 --prefix=PREFIX install architecture-independent files in PREFIX
791 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
794 By default, \`make install' will install all the files in
795 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
796 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
797 for instance \`--prefix=\$HOME'.
799 For better control, use the options below.
801 Fine tuning of the installation directories:
802 --bindir=DIR user executables [EPREFIX/bin]
803 --sbindir=DIR system admin executables [EPREFIX/sbin]
804 --libexecdir=DIR program executables [EPREFIX/libexec]
805 --datadir=DIR read-only architecture-independent data [PREFIX/share]
806 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
807 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
808 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
809 --libdir=DIR object code libraries [EPREFIX/lib]
810 --includedir=DIR C header files [PREFIX/include]
811 --oldincludedir=DIR C header files for non-gcc [/usr/include]
812 --infodir=DIR info documentation [PREFIX/info]
813 --mandir=DIR man documentation [PREFIX/man]
819 --program-prefix=PREFIX prepend PREFIX to installed program names
820 --program-suffix=SUFFIX append SUFFIX to installed program names
821 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
824 --x-includes=DIR X include files are
in DIR
825 --x-libraries=DIR X library files are
in DIR
828 --build=BUILD configure
for building on BUILD
[guessed
]
829 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
830 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
834 if test -n "$ac_init_help"; then
835 case $ac_init_help in
836 short | recursive
) echo "Configuration of wmapmload 0.3.2:";;
841 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
842 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
843 --enable-debug turn on debugging default
=on
846 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
847 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
848 --with-libs-from pass compiler flags to
look for libraries
849 --with-incs-from pass compiler flags to
look for header files
850 --with-x use the X Window System
852 Some influential environment variables
:
853 CC C compiler
command
854 CFLAGS C compiler flags
855 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
856 nonstandard directory
<lib dir
>
857 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
858 headers
in a nonstandard directory
<include dir
>
861 Use these variables to override the choices made by
`configure' or to help
862 it to find libraries and programs with nonstandard names/locations.
864 Report bugs to <tnemeth@free.fr>.
868 if test "$ac_init_help" = "recursive"; then
869 # If there are subdirs, report their specific --help.
871 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
872 test -d $ac_dir || continue
875 if test "$ac_dir" != .; then
876 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
877 # A "../" for each directory in $ac_dir_suffix.
878 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
880 ac_dir_suffix= ac_top_builddir=
884 .) # No --srcdir option. We are building in place.
886 if test -z "$ac_top_builddir"; then
889 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
891 [\\/]* | ?:[\\/]* ) # Absolute path.
892 ac_srcdir=$srcdir$ac_dir_suffix;
893 ac_top_srcdir=$srcdir ;;
895 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
896 ac_top_srcdir=$ac_top_builddir$srcdir ;;
898 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
900 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
901 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
902 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
903 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
906 # Check for guested configure; otherwise get Cygnus style configure.
907 if test -f $ac_srcdir/configure.gnu; then
909 $SHELL $ac_srcdir/configure.gnu --help=recursive
910 elif test -f $ac_srcdir/configure; then
912 $SHELL $ac_srcdir/configure --help=recursive
913 elif test -f $ac_srcdir/configure.ac ||
914 test -f $ac_srcdir/configure.in; then
918 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
924 test -n "$ac_init_help" && exit 0
925 if $ac_init_version; then
927 wmapmload configure 0.3.2
928 generated by GNU Autoconf 2.53
930 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
931 Free Software Foundation, Inc.
932 This configure script is free software; the Free Software Foundation
933 gives unlimited permission to copy, distribute and modify it.
939 This file contains any messages produced by compilers while
940 running configure, to aid debugging if configure makes a mistake.
942 It was created by wmapmload $as_me 0.3.2, which was
943 generated by GNU Autoconf 2.53. Invocation command line was
954 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
955 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
956 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
957 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
958 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
960 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
961 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
963 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
964 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
965 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
966 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
967 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
968 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
969 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
977 test -z "$as_dir" && as_dir=.
993 # Keep a trace of the command line.
994 # Strip out --no-create and --no-recursion so they do not pile up.
995 # Also quote any args containing shell meta-characters.
1001 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1002 | --no-cr | --no-c | -n ) continue ;;
1003 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1004 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1006 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1007 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1009 case " $ac_configure_args " in
1010 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1011 *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1014 # Get rid of the leading space.
1017 # When interrupted or exit'd, cleanup temporary files, and complete
1018 # config.log. We remove comments because anyway the quotes in there
1019 # would cause problems or look ugly.
1020 # WARNING: Be sure not to use single quotes in there, as some shells,
1021 # such as our DU 5.0 friend, will then `close
' the trap.
1022 trap 'exit_status
=$?
1023 # Save into config.log some information that might help in debugging.
1027 ## ---------------- ##
1028 ## Cache variables. ##
1029 ## ---------------- ##
1032 # The following way of writing the cache mishandles newlines in values,
1035 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1038 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1039 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1043 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1048 if test -s confdefs.h
; then
1055 sed "/^$/d" confdefs.h
1058 test "$ac_signal" != 0 &&
1059 echo "$as_me: caught signal $ac_signal"
1060 echo "$as_me: exit $exit_status"
1062 rm -f core core.
* *.core
&&
1063 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1066 for ac_signal in 1 2 13 15; do
1067 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1071 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1072 rm -rf conftest* confdefs.h
1073 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1076 # Predefined preprocessor variables.
1078 cat >>confdefs.h <<_ACEOF
1079 #define PACKAGE_NAME "$PACKAGE_NAME"
1083 cat >>confdefs.h <<_ACEOF
1084 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1088 cat >>confdefs.h <<_ACEOF
1089 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1093 cat >>confdefs.h <<_ACEOF
1094 #define PACKAGE_STRING "$PACKAGE_STRING"
1098 cat >>confdefs.h <<_ACEOF
1099 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1103 # Let the site file select an alternate cache file if it wants to.
1104 # Prefer explicitly selected file to automatically selected ones.
1105 if test -z "$CONFIG_SITE"; then
1106 if test "x$prefix" != xNONE; then
1107 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1109 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1112 for ac_site_file in $CONFIG_SITE; do
1113 if test -r "$ac_site_file"; then
1114 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1115 echo "$as_me: loading site script $ac_site_file" >&6;}
1116 sed 's
/^
/|
/' "$ac_site_file" >&5
1121 if test -r "$cache_file"; then
1122 # Some versions of bash will fail to source /dev/null (special
1123 # files actually), so we avoid doing that.
1124 if test -f "$cache_file"; then
1125 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1126 echo "$as_me: loading cache $cache_file" >&6;}
1128 [\\/]* | ?:[\\/]* ) . $cache_file;;
1129 *) . ./$cache_file;;
1133 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1134 echo "$as_me: creating cache $cache_file" >&6;}
1138 # Check that the precious variables saved in the cache have kept the same
1140 ac_cache_corrupted=false
1141 for ac_var in `(set) 2>&1 |
1142 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1143 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1144 eval ac_new_set=\$ac_env_${ac_var}_set
1145 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1146 eval ac_new_val="\$ac_env_${ac_var}_value"
1147 case $ac_old_set,$ac_new_set in
1149 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1150 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1151 ac_cache_corrupted=: ;;
1153 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1154 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1155 ac_cache_corrupted=: ;;
1158 if test "x$ac_old_val" != "x$ac_new_val"; then
1159 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1160 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1161 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1162 echo "$as_me: former value: $ac_old_val" >&2;}
1163 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1164 echo "$as_me: current value: $ac_new_val" >&2;}
1165 ac_cache_corrupted=:
1168 # Pass precious variables to config.status.
1169 if test "$ac_new_set" = set; then
1171 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1172 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1173 *) ac_arg=$ac_var=$ac_new_val ;;
1175 case " $ac_configure_args " in
1176 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1177 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1181 if $ac_cache_corrupted; then
1182 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1183 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1184 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1185 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1186 { (exit 1); exit 1; }; }
1190 ac_cpp='$CPP $CPPFLAGS'
1191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1192 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1221 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1222 if test -f $ac_dir/install-sh; then
1224 ac_install_sh="$ac_aux_dir/install-sh -c"
1226 elif test -f $ac_dir/install.sh; then
1228 ac_install_sh="$ac_aux_dir/install.sh -c"
1230 elif test -f $ac_dir/shtool; then
1232 ac_install_sh="$ac_aux_dir/shtool install -c"
1236 if test -z "$ac_aux_dir"; then
1237 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1238 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1239 { (exit 1); exit 1; }; }
1241 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1242 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1243 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1245 # Make sure we can run config.sub.
1246 $ac_config_sub sun4 >/dev/null 2>&1 ||
1247 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1248 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1249 { (exit 1); exit 1; }; }
1251 echo "$as_me:$LINENO: checking build system type" >&5
1252 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1253 if test "${ac_cv_build+set}" = set; then
1254 echo $ECHO_N "(cached) $ECHO_C" >&6
1256 ac_cv_build_alias=$build_alias
1257 test -z "$ac_cv_build_alias" &&
1258 ac_cv_build_alias=`$ac_config_guess`
1259 test -z "$ac_cv_build_alias" &&
1260 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1261 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1262 { (exit 1); exit 1; }; }
1263 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1264 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1265 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1266 { (exit 1); exit 1; }; }
1269 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1270 echo "${ECHO_T}$ac_cv_build" >&6
1272 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1273 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1274 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1277 echo "$as_me:$LINENO: checking host system type" >&5
1278 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1279 if test "${ac_cv_host+set}" = set; then
1280 echo $ECHO_N "(cached) $ECHO_C" >&6
1282 ac_cv_host_alias=$host_alias
1283 test -z "$ac_cv_host_alias" &&
1284 ac_cv_host_alias=$ac_cv_build_alias
1285 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1286 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1287 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1288 { (exit 1); exit 1; }; }
1291 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1292 echo "${ECHO_T}$ac_cv_host" >&6
1294 host_cpu=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1295 host_vendor=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1296 host_os=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1299 echo "$as_me:$LINENO: checking target system type" >&5
1300 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1301 if test "${ac_cv_target+set}" = set; then
1302 echo $ECHO_N "(cached) $ECHO_C" >&6
1304 ac_cv_target_alias=$target_alias
1305 test "x$ac_cv_target_alias" = "x" &&
1306 ac_cv_target_alias=$ac_cv_host_alias
1307 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1308 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1309 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1310 { (exit 1); exit 1; }; }
1313 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1314 echo "${ECHO_T}$ac_cv_target" >&6
1315 target=$ac_cv_target
1316 target_cpu=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1317 target_vendor=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1318 target_os=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1321 # The aliases save the names the user supplied, while $host etc.
1322 # will get canonicalized.
1323 test -n "$target_alias" &&
1324 test "$program_prefix$program_suffix$program_transform_name" = \
1326 program_prefix=${target_alias}-
1327 # Find a good install program. We prefer a C program (faster),
1328 # so one script is as good as another. But avoid the broken or
1329 # incompatible versions:
1330 # SysV /etc/install, /usr/sbin/install
1331 # SunOS /usr/etc/install
1332 # IRIX /sbin/install
1334 # AmigaOS /C/install, which installs bootblocks on floppy discs
1335 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
1336 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1337 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1338 # ./install, which can be erroneously created by make from ./install.sh.
1339 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1340 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1341 if test -z "$INSTALL"; then
1342 if test "${ac_cv_path_install+set}" = set; then
1343 echo $ECHO_N "(cached) $ECHO_C" >&6
1345 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1349 test -z "$as_dir" && as_dir
=.
1350 # Account for people who put trailing slashes in PATH elements.
1352 .
/ | .
// |
/cC
/* | \
1353 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1356 # OSF1 and SCO ODT 3.0 have their own names for install.
1357 # Don't use installbsd from OSF since it installs stuff as root
1359 for ac_prog
in ginstall scoinst
install; do
1360 for ac_exec_ext
in '' $ac_executable_extensions; do
1361 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1362 if test $ac_prog = install &&
1363 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1364 # AIX install. It has an incompatible calling convention.
1366 elif test $ac_prog = install &&
1367 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1368 # program-specific install script used by HP pwplus--don't use.
1371 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1383 if test "${ac_cv_path_install+set}" = set; then
1384 INSTALL
=$ac_cv_path_install
1386 # As a last resort, use the slow shell script. We don't cache a
1387 # path for INSTALL within a source directory, because that will
1388 # break other packages using the cache if that directory is
1389 # removed, or if the path is relative.
1390 INSTALL
=$ac_install_sh
1393 echo "$as_me:$LINENO: result: $INSTALL" >&5
1394 echo "${ECHO_T}$INSTALL" >&6
1396 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1397 # It thinks the first close brace ends the variable substitution.
1398 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1400 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1402 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1404 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1405 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1408 echo timestamp
> conftestfile
1409 # Do `set' in a subshell so we don't clobber the current shell's
1410 # arguments. Must try -L first in case configure is actually a
1411 # symlink; some systems play weird games with the mod time of symlinks
1412 # (eg FreeBSD returns the mod time of the symlink's containing
1415 set X
`ls -Lt $srcdir/configure conftestfile 2> /dev/null`
1416 if test "$*" = "X"; then
1418 set X
`ls -t $srcdir/configure conftestfile`
1420 if test "$*" != "X $srcdir/configure conftestfile" \
1421 && test "$*" != "X conftestfile $srcdir/configure"; then
1423 # If neither matched, then we have a broken ls. This can happen
1424 # if, for instance, CONFIG_SHELL is bash and it inherits a
1425 # broken ls alias from the environment. This has actually
1426 # happened. Such a system could not be considered "sane".
1427 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1428 alias in your environment" >&5
1429 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1430 alias in your environment" >&2;}
1431 { (exit 1); exit 1; }; }
1434 test "$2" = conftestfile
1440 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1441 Check your system clock" >&5
1442 echo "$as_me: error: newly created file is older than distributed files!
1443 Check your system clock" >&2;}
1444 { (exit 1); exit 1; }; }
1447 echo "$as_me:$LINENO: result: yes" >&5
1448 echo "${ECHO_T}yes" >&6
1449 test "$program_prefix" != NONE
&&
1450 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1451 # Use a double $ so make ignores it.
1452 test "$program_suffix" != NONE
&&
1453 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1454 # Double any \ or $. echo might interpret backslashes.
1455 # By default was `s,x,x', remove it if useless.
1456 cat <<\_ACEOF
>conftest.
sed
1457 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1459 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1462 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5
1463 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
1464 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,./+-,__p_,'`
1465 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1466 echo $ECHO_N "(cached) $ECHO_C" >&6
1468 cat >conftest.
make <<\_ACEOF
1470 @
echo 'ac_maketemp="${MAKE}"'
1472 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1473 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1474 if test -n "$ac_maketemp"; then
1475 eval ac_cv_prog_make_
${ac_make}_set
=yes
1477 eval ac_cv_prog_make_
${ac_make}_set
=no
1481 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1482 echo "$as_me:$LINENO: result: yes" >&5
1483 echo "${ECHO_T}yes" >&6
1486 echo "$as_me:$LINENO: result: no" >&5
1487 echo "${ECHO_T}no" >&6
1488 SET_MAKE
="MAKE=${MAKE-make}"
1492 PACKAGE
=$PACKAGE_NAME
1494 VERSION
=$PACKAGE_VERSION
1496 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status
; then
1497 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1498 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1499 { (exit 1); exit 1; }; }
1502 cat >>confdefs.h
<<_ACEOF
1503 #define PACKAGE "$PACKAGE"
1507 cat >>confdefs.h
<<_ACEOF
1508 #define VERSION "$VERSION"
1513 missing_dir
=`cd $ac_aux_dir && pwd`
1514 echo "$as_me:$LINENO: checking for working aclocal" >&5
1515 echo $ECHO_N "checking for working aclocal... $ECHO_C" >&6
1516 # Run test in a subshell; some versions of sh will print an error if
1517 # an executable is not found, even if stderr is redirected.
1518 # Redirect stdin to placate older versions of autoconf. Sigh.
1519 if (aclocal
--version) < /dev
/null
> /dev
/null
2>&1; then
1521 echo "$as_me:$LINENO: result: found" >&5
1522 echo "${ECHO_T}found" >&6
1524 ACLOCAL
="$missing_dir/missing aclocal"
1525 echo "$as_me:$LINENO: result: missing" >&5
1526 echo "${ECHO_T}missing" >&6
1529 echo "$as_me:$LINENO: checking for working autoconf" >&5
1530 echo $ECHO_N "checking for working autoconf... $ECHO_C" >&6
1531 # Run test in a subshell; some versions of sh will print an error if
1532 # an executable is not found, even if stderr is redirected.
1533 # Redirect stdin to placate older versions of autoconf. Sigh.
1534 if (autoconf
--version) < /dev
/null
> /dev
/null
2>&1; then
1536 echo "$as_me:$LINENO: result: found" >&5
1537 echo "${ECHO_T}found" >&6
1539 AUTOCONF
="$missing_dir/missing autoconf"
1540 echo "$as_me:$LINENO: result: missing" >&5
1541 echo "${ECHO_T}missing" >&6
1544 echo "$as_me:$LINENO: checking for working automake" >&5
1545 echo $ECHO_N "checking for working automake... $ECHO_C" >&6
1546 # Run test in a subshell; some versions of sh will print an error if
1547 # an executable is not found, even if stderr is redirected.
1548 # Redirect stdin to placate older versions of autoconf. Sigh.
1549 if (automake
--version) < /dev
/null
> /dev
/null
2>&1; then
1551 echo "$as_me:$LINENO: result: found" >&5
1552 echo "${ECHO_T}found" >&6
1554 AUTOMAKE
="$missing_dir/missing automake"
1555 echo "$as_me:$LINENO: result: missing" >&5
1556 echo "${ECHO_T}missing" >&6
1559 echo "$as_me:$LINENO: checking for working autoheader" >&5
1560 echo $ECHO_N "checking for working autoheader... $ECHO_C" >&6
1561 # Run test in a subshell; some versions of sh will print an error if
1562 # an executable is not found, even if stderr is redirected.
1563 # Redirect stdin to placate older versions of autoconf. Sigh.
1564 if (autoheader
--version) < /dev
/null
> /dev
/null
2>&1; then
1565 AUTOHEADER
=autoheader
1566 echo "$as_me:$LINENO: result: found" >&5
1567 echo "${ECHO_T}found" >&6
1569 AUTOHEADER
="$missing_dir/missing autoheader"
1570 echo "$as_me:$LINENO: result: missing" >&5
1571 echo "${ECHO_T}missing" >&6
1574 echo "$as_me:$LINENO: checking for working makeinfo" >&5
1575 echo $ECHO_N "checking for working makeinfo... $ECHO_C" >&6
1576 # Run test in a subshell; some versions of sh will print an error if
1577 # an executable is not found, even if stderr is redirected.
1578 # Redirect stdin to placate older versions of autoconf. Sigh.
1579 if (makeinfo
--version) < /dev
/null
> /dev
/null
2>&1; then
1581 echo "$as_me:$LINENO: result: found" >&5
1582 echo "${ECHO_T}found" >&6
1584 MAKEINFO
="$missing_dir/missing makeinfo"
1585 echo "$as_me:$LINENO: result: missing" >&5
1586 echo "${ECHO_T}missing" >&6
1593 ac_config_headers
="$ac_config_headers config.h"
1595 ac_config_commands
="$ac_config_commands default-1"
1598 for ac_prog
in gawk mawk nawk
awk
1600 # Extract the first word of "$ac_prog", so it can be a program name with args.
1601 set dummy
$ac_prog; ac_word
=$2
1602 echo "$as_me:$LINENO: checking for $ac_word" >&5
1603 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1604 if test "${ac_cv_prog_AWK+set}" = set; then
1605 echo $ECHO_N "(cached) $ECHO_C" >&6
1607 if test -n "$AWK"; then
1608 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1610 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1614 test -z "$as_dir" && as_dir
=.
1615 for ac_exec_ext
in '' $ac_executable_extensions; do
1616 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1617 ac_cv_prog_AWK
="$ac_prog"
1618 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1627 if test -n "$AWK"; then
1628 echo "$as_me:$LINENO: result: $AWK" >&5
1629 echo "${ECHO_T}$AWK" >&6
1631 echo "$as_me:$LINENO: result: no" >&5
1632 echo "${ECHO_T}no" >&6
1635 test -n "$AWK" && break
1639 ac_cpp
='$CPP $CPPFLAGS'
1640 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1641 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1642 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1643 if test -n "$ac_tool_prefix"; then
1644 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1645 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1646 echo "$as_me:$LINENO: checking for $ac_word" >&5
1647 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1648 if test "${ac_cv_prog_CC+set}" = set; then
1649 echo $ECHO_N "(cached) $ECHO_C" >&6
1651 if test -n "$CC"; then
1652 ac_cv_prog_CC
="$CC" # Let the user override the test.
1654 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1658 test -z "$as_dir" && as_dir
=.
1659 for ac_exec_ext
in '' $ac_executable_extensions; do
1660 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1661 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1662 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1671 if test -n "$CC"; then
1672 echo "$as_me:$LINENO: result: $CC" >&5
1673 echo "${ECHO_T}$CC" >&6
1675 echo "$as_me:$LINENO: result: no" >&5
1676 echo "${ECHO_T}no" >&6
1680 if test -z "$ac_cv_prog_CC"; then
1682 # Extract the first word of "gcc", so it can be a program name with args.
1683 set dummy gcc
; ac_word
=$2
1684 echo "$as_me:$LINENO: checking for $ac_word" >&5
1685 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1686 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1687 echo $ECHO_N "(cached) $ECHO_C" >&6
1689 if test -n "$ac_ct_CC"; then
1690 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1692 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1696 test -z "$as_dir" && as_dir
=.
1697 for ac_exec_ext
in '' $ac_executable_extensions; do
1698 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1699 ac_cv_prog_ac_ct_CC
="gcc"
1700 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1708 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1709 if test -n "$ac_ct_CC"; then
1710 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1711 echo "${ECHO_T}$ac_ct_CC" >&6
1713 echo "$as_me:$LINENO: result: no" >&5
1714 echo "${ECHO_T}no" >&6
1722 if test -z "$CC"; then
1723 if test -n "$ac_tool_prefix"; then
1724 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1725 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1726 echo "$as_me:$LINENO: checking for $ac_word" >&5
1727 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1728 if test "${ac_cv_prog_CC+set}" = set; then
1729 echo $ECHO_N "(cached) $ECHO_C" >&6
1731 if test -n "$CC"; then
1732 ac_cv_prog_CC
="$CC" # Let the user override the test.
1734 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1738 test -z "$as_dir" && as_dir
=.
1739 for ac_exec_ext
in '' $ac_executable_extensions; do
1740 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1741 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1742 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1751 if test -n "$CC"; then
1752 echo "$as_me:$LINENO: result: $CC" >&5
1753 echo "${ECHO_T}$CC" >&6
1755 echo "$as_me:$LINENO: result: no" >&5
1756 echo "${ECHO_T}no" >&6
1760 if test -z "$ac_cv_prog_CC"; then
1762 # Extract the first word of "cc", so it can be a program name with args.
1763 set dummy cc
; ac_word
=$2
1764 echo "$as_me:$LINENO: checking for $ac_word" >&5
1765 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1766 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1767 echo $ECHO_N "(cached) $ECHO_C" >&6
1769 if test -n "$ac_ct_CC"; then
1770 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1772 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1776 test -z "$as_dir" && as_dir
=.
1777 for ac_exec_ext
in '' $ac_executable_extensions; do
1778 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1779 ac_cv_prog_ac_ct_CC
="cc"
1780 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1788 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1789 if test -n "$ac_ct_CC"; then
1790 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1791 echo "${ECHO_T}$ac_ct_CC" >&6
1793 echo "$as_me:$LINENO: result: no" >&5
1794 echo "${ECHO_T}no" >&6
1803 if test -z "$CC"; then
1804 # Extract the first word of "cc", so it can be a program name with args.
1805 set dummy cc
; ac_word
=$2
1806 echo "$as_me:$LINENO: checking for $ac_word" >&5
1807 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1808 if test "${ac_cv_prog_CC+set}" = set; then
1809 echo $ECHO_N "(cached) $ECHO_C" >&6
1811 if test -n "$CC"; then
1812 ac_cv_prog_CC
="$CC" # Let the user override the test.
1815 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1819 test -z "$as_dir" && as_dir
=.
1820 for ac_exec_ext
in '' $ac_executable_extensions; do
1821 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1822 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1823 ac_prog_rejected
=yes
1827 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1833 if test $ac_prog_rejected = yes; then
1834 # We found a bogon in the path, so make sure we never use it.
1835 set dummy
$ac_cv_prog_CC
1837 if test $# != 0; then
1838 # We chose a different compiler from the bogus one.
1839 # However, it has the same basename, so the bogon will be chosen
1840 # first if we set CC to just the basename; use the full file name.
1842 set dummy
"$as_dir/$ac_word" ${1+"$@"}
1850 if test -n "$CC"; then
1851 echo "$as_me:$LINENO: result: $CC" >&5
1852 echo "${ECHO_T}$CC" >&6
1854 echo "$as_me:$LINENO: result: no" >&5
1855 echo "${ECHO_T}no" >&6
1859 if test -z "$CC"; then
1860 if test -n "$ac_tool_prefix"; then
1863 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1864 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1865 echo "$as_me:$LINENO: checking for $ac_word" >&5
1866 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1867 if test "${ac_cv_prog_CC+set}" = set; then
1868 echo $ECHO_N "(cached) $ECHO_C" >&6
1870 if test -n "$CC"; then
1871 ac_cv_prog_CC
="$CC" # Let the user override the test.
1873 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1877 test -z "$as_dir" && as_dir
=.
1878 for ac_exec_ext
in '' $ac_executable_extensions; do
1879 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1880 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
1881 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1890 if test -n "$CC"; then
1891 echo "$as_me:$LINENO: result: $CC" >&5
1892 echo "${ECHO_T}$CC" >&6
1894 echo "$as_me:$LINENO: result: no" >&5
1895 echo "${ECHO_T}no" >&6
1898 test -n "$CC" && break
1901 if test -z "$CC"; then
1905 # Extract the first word of "$ac_prog", so it can be a program name with args.
1906 set dummy
$ac_prog; ac_word
=$2
1907 echo "$as_me:$LINENO: checking for $ac_word" >&5
1908 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1909 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1910 echo $ECHO_N "(cached) $ECHO_C" >&6
1912 if test -n "$ac_ct_CC"; then
1913 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1915 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1919 test -z "$as_dir" && as_dir
=.
1920 for ac_exec_ext
in '' $ac_executable_extensions; do
1921 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1922 ac_cv_prog_ac_ct_CC
="$ac_prog"
1923 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1931 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1932 if test -n "$ac_ct_CC"; then
1933 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1934 echo "${ECHO_T}$ac_ct_CC" >&6
1936 echo "$as_me:$LINENO: result: no" >&5
1937 echo "${ECHO_T}no" >&6
1940 test -n "$ac_ct_CC" && break
1949 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5
1950 echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;}
1951 { (exit 1); exit 1; }; }
1953 # Provide some information about the compiler.
1954 echo "$as_me:$LINENO:" \
1955 "checking for C compiler version" >&5
1956 ac_compiler
=`set X $ac_compile; echo $2`
1957 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1958 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
1960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1961 (exit $ac_status); }
1962 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1963 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
1965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1966 (exit $ac_status); }
1967 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1968 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
1970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1971 (exit $ac_status); }
1973 cat >conftest.
$ac_ext <<_ACEOF
1974 #line $LINENO "configure"
1975 #include "confdefs.h"
1977 #ifdef F77_DUMMY_MAIN
1981 int F77_DUMMY_MAIN() { return 1; }
1991 ac_clean_files_save
=$ac_clean_files
1992 ac_clean_files
="$ac_clean_files a.out a.exe"
1993 # Try to create an executable without -o first, disregard a.out.
1994 # It will help us diagnose broken compilers, and finding out an intuition
1996 echo "$as_me:$LINENO: checking for C compiler default output" >&5
1997 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
1998 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1999 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2000 (eval $ac_link_default) 2>&5
2002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2003 (exit $ac_status); }; then
2004 # Find the output, starting from the most likely. This scheme is
2005 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2008 # Be careful to initialize this variable, since it used to be cached.
2009 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2011 for ac_file
in `ls a_out.exe a.exe conftest.exe 2>/dev/null;
2012 ls a.out conftest 2>/dev/null;
2013 ls a.* conftest.* 2>/dev/null`; do
2015 *.
$ac_ext |
*.o |
*.obj |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM
) ;;
2016 a.out
) # We found the default executable, but exeext='' is most
2019 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2020 # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
2027 echo "$as_me: failed program was:" >&5
2028 cat conftest.
$ac_ext >&5
2029 { { echo "$as_me:$LINENO: error: C compiler cannot create executables" >&5
2030 echo "$as_me: error: C compiler cannot create executables" >&2;}
2031 { (exit 77); exit 77; }; }
2034 ac_exeext
=$ac_cv_exeext
2035 echo "$as_me:$LINENO: result: $ac_file" >&5
2036 echo "${ECHO_T}$ac_file" >&6
2038 # Check the compiler produces executables we can run. If not, either
2039 # the compiler is broken, or we cross compile.
2040 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2041 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2042 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2043 # If not cross compiling, check that we can run a simple program.
2044 if test "$cross_compiling" != yes; then
2045 if { ac_try
='./$ac_file'
2046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2050 (exit $ac_status); }; }; then
2053 if test "$cross_compiling" = maybe
; then
2056 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2057 If you meant to cross compile, use \`--host'." >&5
2058 echo "$as_me: error: cannot run C compiled programs.
2059 If you meant to cross compile, use \`--host'." >&2;}
2060 { (exit 1); exit 1; }; }
2064 echo "$as_me:$LINENO: result: yes" >&5
2065 echo "${ECHO_T}yes" >&6
2067 rm -f a.out a.exe conftest
$ac_cv_exeext
2068 ac_clean_files
=$ac_clean_files_save
2069 # Check the compiler produces executables we can run. If not, either
2070 # the compiler is broken, or we cross compile.
2071 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2072 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2073 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2074 echo "${ECHO_T}$cross_compiling" >&6
2076 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2077 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2078 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2079 (eval $ac_link) 2>&5
2081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2082 (exit $ac_status); }; then
2083 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2084 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2085 # work properly (i.e., refer to `conftest.exe'), while it won't with
2087 for ac_file
in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
2089 *.
$ac_ext |
*.o |
*.obj |
*.xcoff |
*.tds |
*.d |
*.pdb
) ;;
2090 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2097 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5
2098 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;}
2099 { (exit 1); exit 1; }; }
2102 rm -f conftest
$ac_cv_exeext
2103 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2104 echo "${ECHO_T}$ac_cv_exeext" >&6
2106 rm -f conftest.
$ac_ext
2107 EXEEXT
=$ac_cv_exeext
2109 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2110 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2111 if test "${ac_cv_objext+set}" = set; then
2112 echo $ECHO_N "(cached) $ECHO_C" >&6
2114 cat >conftest.
$ac_ext <<_ACEOF
2115 #line $LINENO "configure"
2116 #include "confdefs.h"
2118 #ifdef F77_DUMMY_MAIN
2122 int F77_DUMMY_MAIN() { return 1; }
2132 rm -f conftest.o conftest.obj
2133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2134 (eval $ac_compile) 2>&5
2136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2137 (exit $ac_status); }; then
2138 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2140 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb
) ;;
2141 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2146 echo "$as_me: failed program was:" >&5
2147 cat conftest.
$ac_ext >&5
2148 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5
2149 echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;}
2150 { (exit 1); exit 1; }; }
2153 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2155 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2156 echo "${ECHO_T}$ac_cv_objext" >&6
2157 OBJEXT
=$ac_cv_objext
2159 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2160 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2161 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2162 echo $ECHO_N "(cached) $ECHO_C" >&6
2164 cat >conftest.
$ac_ext <<_ACEOF
2165 #line $LINENO "configure"
2166 #include "confdefs.h"
2168 #ifdef F77_DUMMY_MAIN
2172 int F77_DUMMY_MAIN() { return 1; }
2185 rm -f conftest.
$ac_objext
2186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2187 (eval $ac_compile) 2>&5
2189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2190 (exit $ac_status); } &&
2191 { ac_try
='test -s conftest.$ac_objext'
2192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2196 (exit $ac_status); }; }; then
2199 echo "$as_me: failed program was:" >&5
2200 cat conftest.
$ac_ext >&5
2203 rm -f conftest.
$ac_objext conftest.
$ac_ext
2204 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2207 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2208 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2209 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2210 ac_test_CFLAGS
=${CFLAGS+set}
2211 ac_save_CFLAGS
=$CFLAGS
2213 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2214 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2215 if test "${ac_cv_prog_cc_g+set}" = set; then
2216 echo $ECHO_N "(cached) $ECHO_C" >&6
2218 cat >conftest.
$ac_ext <<_ACEOF
2219 #line $LINENO "configure"
2220 #include "confdefs.h"
2222 #ifdef F77_DUMMY_MAIN
2226 int F77_DUMMY_MAIN() { return 1; }
2236 rm -f conftest.
$ac_objext
2237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2238 (eval $ac_compile) 2>&5
2240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2241 (exit $ac_status); } &&
2242 { ac_try
='test -s conftest.$ac_objext'
2243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2247 (exit $ac_status); }; }; then
2250 echo "$as_me: failed program was:" >&5
2251 cat conftest.
$ac_ext >&5
2254 rm -f conftest.
$ac_objext conftest.
$ac_ext
2256 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2257 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2258 if test "$ac_test_CFLAGS" = set; then
2259 CFLAGS
=$ac_save_CFLAGS
2260 elif test $ac_cv_prog_cc_g = yes; then
2261 if test "$GCC" = yes; then
2267 if test "$GCC" = yes; then
2273 # Some people use a C++ compiler to compile C. Since we use `exit',
2274 # in C++ we need to declare it. In case someone uses the same compiler
2275 # for both compiling C and C++ we need to have the C++ compiler decide
2276 # the declaration of exit, since it's the most demanding environment.
2277 cat >conftest.
$ac_ext <<_ACEOF
2282 rm -f conftest.
$ac_objext
2283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2284 (eval $ac_compile) 2>&5
2286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2287 (exit $ac_status); } &&
2288 { ac_try
='test -s conftest.$ac_objext'
2289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2293 (exit $ac_status); }; }; then
2294 for ac_declaration
in \
2296 '#include <stdlib.h>' \
2297 'extern "C" void std::exit (int) throw (); using std::exit;' \
2298 'extern "C" void std::exit (int); using std::exit;' \
2299 'extern "C" void exit (int) throw ();' \
2300 'extern "C" void exit (int);' \
2303 cat >conftest.
$ac_ext <<_ACEOF
2304 #line $LINENO "configure"
2305 #include "confdefs.h"
2308 #ifdef F77_DUMMY_MAIN
2312 int F77_DUMMY_MAIN() { return 1; }
2322 rm -f conftest.
$ac_objext
2323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2324 (eval $ac_compile) 2>&5
2326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2327 (exit $ac_status); } &&
2328 { ac_try
='test -s conftest.$ac_objext'
2329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2333 (exit $ac_status); }; }; then
2336 echo "$as_me: failed program was:" >&5
2337 cat conftest.
$ac_ext >&5
2340 rm -f conftest.
$ac_objext conftest.
$ac_ext
2341 cat >conftest.
$ac_ext <<_ACEOF
2342 #line $LINENO "configure"
2343 #include "confdefs.h"
2345 #ifdef F77_DUMMY_MAIN
2349 int F77_DUMMY_MAIN() { return 1; }
2359 rm -f conftest.
$ac_objext
2360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2361 (eval $ac_compile) 2>&5
2363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2364 (exit $ac_status); } &&
2365 { ac_try
='test -s conftest.$ac_objext'
2366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2370 (exit $ac_status); }; }; then
2373 echo "$as_me: failed program was:" >&5
2374 cat conftest.
$ac_ext >&5
2376 rm -f conftest.
$ac_objext conftest.
$ac_ext
2379 if test -n "$ac_declaration"; then
2380 echo '#ifdef __cplusplus' >>confdefs.h
2381 echo $ac_declaration >>confdefs.h
2382 echo '#endif' >>confdefs.h
2386 echo "$as_me: failed program was:" >&5
2387 cat conftest.
$ac_ext >&5
2389 rm -f conftest.
$ac_objext conftest.
$ac_ext
2391 ac_cpp
='$CPP $CPPFLAGS'
2392 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2393 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2394 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2396 # Find a good install program. We prefer a C program (faster),
2397 # so one script is as good as another. But avoid the broken or
2398 # incompatible versions:
2399 # SysV /etc/install, /usr/sbin/install
2400 # SunOS /usr/etc/install
2401 # IRIX /sbin/install
2403 # AmigaOS /C/install, which installs bootblocks on floppy discs
2404 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2405 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2406 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2407 # ./install, which can be erroneously created by make from ./install.sh.
2408 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2409 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2410 if test -z "$INSTALL"; then
2411 if test "${ac_cv_path_install+set}" = set; then
2412 echo $ECHO_N "(cached) $ECHO_C" >&6
2414 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2418 test -z "$as_dir" && as_dir
=.
2419 # Account for people who put trailing slashes in PATH elements.
2421 .
/ | .
// |
/cC
/* | \
2422 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2425 # OSF1 and SCO ODT 3.0 have their own names for install.
2426 # Don't use installbsd from OSF since it installs stuff as root
2428 for ac_prog
in ginstall scoinst
install; do
2429 for ac_exec_ext
in '' $ac_executable_extensions; do
2430 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2431 if test $ac_prog = install &&
2432 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2433 # AIX install. It has an incompatible calling convention.
2435 elif test $ac_prog = install &&
2436 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2437 # program-specific install script used by HP pwplus--don't use.
2440 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2452 if test "${ac_cv_path_install+set}" = set; then
2453 INSTALL
=$ac_cv_path_install
2455 # As a last resort, use the slow shell script. We don't cache a
2456 # path for INSTALL within a source directory, because that will
2457 # break other packages using the cache if that directory is
2458 # removed, or if the path is relative.
2459 INSTALL
=$ac_install_sh
2462 echo "$as_me:$LINENO: result: $INSTALL" >&5
2463 echo "${ECHO_T}$INSTALL" >&6
2465 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2466 # It thinks the first close brace ends the variable substitution.
2467 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2469 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2471 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2473 echo "$as_me:$LINENO: checking whether ln -s works" >&5
2474 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
2476 if test "$LN_S" = "ln -s"; then
2477 echo "$as_me:$LINENO: result: yes" >&5
2478 echo "${ECHO_T}yes" >&6
2480 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
2481 echo "${ECHO_T}no, using $LN_S" >&6
2486 # Check whether --with-libs-from or --without-libs-from was given.
2487 if test "${with_libs_from+set}" = set; then
2488 withval
="$with_libs_from"
2489 lib_search_path
="$withval $lib_search_path"
2493 # Check whether --with-incs-from or --without-incs-from was given.
2494 if test "${with_incs_from+set}" = set; then
2495 withval
="$with_incs_from"
2496 inc_search_path
="$withval $inc_search_path"
2503 ac_cpp
='$CPP $CPPFLAGS'
2504 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2505 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2506 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2507 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2508 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2509 # On Suns, sometimes $CPP names a directory.
2510 if test -n "$CPP" && test -d "$CPP"; then
2513 if test -z "$CPP"; then
2514 if test "${ac_cv_prog_CPP+set}" = set; then
2515 echo $ECHO_N "(cached) $ECHO_C" >&6
2517 # Double quotes because CPP needs to be expanded
2518 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2521 for ac_c_preproc_warn_flag
in '' yes
2523 # Use a header file that comes with gcc, so configuring glibc
2524 # with a fresh cross-compiler works.
2525 # On the NeXT, cc -E runs the code through the compiler's parser,
2526 # not just through cpp. "Syntax error" is here to catch this case.
2527 cat >conftest.
$ac_ext <<_ACEOF
2528 #line $LINENO "configure"
2529 #include "confdefs.h"
2533 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2534 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2536 egrep -v '^ *\+' conftest.er1
>conftest.err
2538 cat conftest.err
>&5
2539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2540 (exit $ac_status); } >/dev
/null
; then
2541 if test -s conftest.err
; then
2542 ac_cpp_err
=$ac_c_preproc_warn_flag
2549 if test -z "$ac_cpp_err"; then
2552 echo "$as_me: failed program was:" >&5
2553 cat conftest.
$ac_ext >&5
2554 # Broken: fails on valid input.
2557 rm -f conftest.err conftest.
$ac_ext
2559 # OK, works on sane cases. Now check whether non-existent headers
2560 # can be detected and how.
2561 cat >conftest.
$ac_ext <<_ACEOF
2562 #line $LINENO "configure"
2563 #include "confdefs.h"
2564 #include <ac_nonexistent.h>
2566 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2567 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2569 egrep -v '^ *\+' conftest.er1
>conftest.err
2571 cat conftest.err
>&5
2572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2573 (exit $ac_status); } >/dev
/null
; then
2574 if test -s conftest.err
; then
2575 ac_cpp_err
=$ac_c_preproc_warn_flag
2582 if test -z "$ac_cpp_err"; then
2583 # Broken: success on invalid input.
2586 echo "$as_me: failed program was:" >&5
2587 cat conftest.
$ac_ext >&5
2588 # Passes both tests.
2592 rm -f conftest.err conftest.
$ac_ext
2595 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2596 rm -f conftest.err conftest.
$ac_ext
2597 if $ac_preproc_ok; then
2609 echo "$as_me:$LINENO: result: $CPP" >&5
2610 echo "${ECHO_T}$CPP" >&6
2612 for ac_c_preproc_warn_flag
in '' yes
2614 # Use a header file that comes with gcc, so configuring glibc
2615 # with a fresh cross-compiler works.
2616 # On the NeXT, cc -E runs the code through the compiler's parser,
2617 # not just through cpp. "Syntax error" is here to catch this case.
2618 cat >conftest.
$ac_ext <<_ACEOF
2619 #line $LINENO "configure"
2620 #include "confdefs.h"
2624 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2625 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2627 egrep -v '^ *\+' conftest.er1
>conftest.err
2629 cat conftest.err
>&5
2630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2631 (exit $ac_status); } >/dev
/null
; then
2632 if test -s conftest.err
; then
2633 ac_cpp_err
=$ac_c_preproc_warn_flag
2640 if test -z "$ac_cpp_err"; then
2643 echo "$as_me: failed program was:" >&5
2644 cat conftest.
$ac_ext >&5
2645 # Broken: fails on valid input.
2648 rm -f conftest.err conftest.
$ac_ext
2650 # OK, works on sane cases. Now check whether non-existent headers
2651 # can be detected and how.
2652 cat >conftest.
$ac_ext <<_ACEOF
2653 #line $LINENO "configure"
2654 #include "confdefs.h"
2655 #include <ac_nonexistent.h>
2657 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2658 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2660 egrep -v '^ *\+' conftest.er1
>conftest.err
2662 cat conftest.err
>&5
2663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2664 (exit $ac_status); } >/dev
/null
; then
2665 if test -s conftest.err
; then
2666 ac_cpp_err
=$ac_c_preproc_warn_flag
2673 if test -z "$ac_cpp_err"; then
2674 # Broken: success on invalid input.
2677 echo "$as_me: failed program was:" >&5
2678 cat conftest.
$ac_ext >&5
2679 # Passes both tests.
2683 rm -f conftest.err conftest.
$ac_ext
2686 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2687 rm -f conftest.err conftest.
$ac_ext
2688 if $ac_preproc_ok; then
2691 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5
2692 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
2693 { (exit 1); exit 1; }; }
2697 ac_cpp
='$CPP $CPPFLAGS'
2698 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2699 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2700 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2703 echo "$as_me:$LINENO: checking for X" >&5
2704 echo $ECHO_N "checking for X... $ECHO_C" >&6
2707 # Check whether --with-x or --without-x was given.
2708 if test "${with_x+set}" = set; then
2712 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
2713 if test "x$with_x" = xno
; then
2714 # The user explicitly disabled X.
2717 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
2718 # Both variables are already set.
2721 if test "${ac_cv_have_x+set}" = set; then
2722 echo $ECHO_N "(cached) $ECHO_C" >&6
2724 # One or both of the vars are not set, and there is no cached value.
2725 ac_x_includes
=no ac_x_libraries
=no
2727 if mkdir conftest.dir
; then
2729 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
2730 cat >Imakefile
<<'_ACEOF'
2732 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
2734 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
2735 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2736 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
2737 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
2738 for ac_extension
in a so sl
; do
2739 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
2740 test -f $ac_im_libdir/libX11.
$ac_extension; then
2741 ac_im_usrlibdir
=$ac_im_libdir; break
2744 # Screen out bogus values from the imake configuration. They are
2745 # bogus both because they are the default anyway, and because
2746 # using them would break gcc on systems where it needs fixed includes.
2747 case $ac_im_incroot in
2749 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
2751 case $ac_im_usrlibdir in
2753 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
2760 # Standard set of common directories for X headers.
2761 # Check X11 before X11Rn because it is often a symlink to the current release.
2773 /usr/local/X11/include
2774 /usr/local/X11R6/include
2775 /usr/local/X11R5/include
2776 /usr/local/X11R4/include
2778 /usr/local/include/X11
2779 /usr/local/include/X11R6
2780 /usr/local/include/X11R5
2781 /usr/local/include/X11R4
2785 /usr/XFree86/include/X11
2789 /usr/unsupported/include
2791 /usr/local/x11r5/include
2792 /usr/lpp/Xamples/include
2794 /usr/openwin/include
2795 /usr/openwin/share/include'
2797 if test "$ac_x_includes" = no
; then
2798 # Guess where to find include files, by looking for Intrinsic.h.
2799 # First, try using that file with no special directory specified.
2800 cat >conftest.
$ac_ext <<_ACEOF
2801 #line $LINENO "configure"
2802 #include "confdefs.h"
2803 #include <X11/Intrinsic.h>
2805 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2806 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2808 egrep -v '^ *\+' conftest.er1
>conftest.err
2810 cat conftest.err
>&5
2811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2812 (exit $ac_status); } >/dev
/null
; then
2813 if test -s conftest.err
; then
2814 ac_cpp_err
=$ac_c_preproc_warn_flag
2821 if test -z "$ac_cpp_err"; then
2822 # We can compile using X headers with no special include directory.
2825 echo "$as_me: failed program was:" >&5
2826 cat conftest.
$ac_ext >&5
2827 for ac_dir
in $ac_x_header_dirs; do
2828 if test -r "$ac_dir/X11/Intrinsic.h"; then
2829 ac_x_includes
=$ac_dir
2834 rm -f conftest.err conftest.
$ac_ext
2835 fi # $ac_x_includes = no
2837 if test "$ac_x_libraries" = no
; then
2838 # Check for the libraries.
2839 # See if we find them without any special options.
2840 # Don't add to $LIBS permanently.
2843 cat >conftest.
$ac_ext <<_ACEOF
2844 #line $LINENO "configure"
2845 #include "confdefs.h"
2846 #include <X11/Intrinsic.h>
2847 #ifdef F77_DUMMY_MAIN
2851 int F77_DUMMY_MAIN() { return 1; }
2861 rm -f conftest.
$ac_objext conftest
$ac_exeext
2862 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2863 (eval $ac_link) 2>&5
2865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2866 (exit $ac_status); } &&
2867 { ac_try
='test -s conftest$ac_exeext'
2868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2872 (exit $ac_status); }; }; then
2874 # We can link X programs with no special library path.
2877 echo "$as_me: failed program was:" >&5
2878 cat conftest.
$ac_ext >&5
2880 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
2882 # Don't even attempt the hair of trying to link an X program!
2883 for ac_extension
in a so sl
; do
2884 if test -r $ac_dir/libXt.
$ac_extension; then
2885 ac_x_libraries
=$ac_dir
2891 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
2892 fi # $ac_x_libraries = no
2894 if test "$ac_x_includes" = no ||
test "$ac_x_libraries" = no
; then
2895 # Didn't find X anywhere. Cache the known absence of X.
2896 ac_cv_have_x
="have_x=no"
2898 # Record where we found X for the cache.
2899 ac_cv_have_x
="have_x=yes \
2900 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
2905 eval "$ac_cv_have_x"
2908 if test "$have_x" != yes; then
2909 echo "$as_me:$LINENO: result: $have_x" >&5
2910 echo "${ECHO_T}$have_x" >&6
2913 # If each of the values was on the command line, it overrides each guess.
2914 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
2915 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
2916 # Update the cache value to reflect the command line values.
2917 ac_cv_have_x
="have_x=yes \
2918 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
2919 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
2920 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
2923 if test "$no_x" = yes; then
2924 # Not all programs may use this symbol, but it does not hurt to define it.
2926 cat >>confdefs.h
<<\_ACEOF
2927 #define X_DISPLAY_MISSING 1
2930 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
2932 if test -n "$x_includes"; then
2933 X_CFLAGS
="$X_CFLAGS -I$x_includes"
2936 # It would also be nice to do this for all -L options, not just this one.
2937 if test -n "$x_libraries"; then
2938 X_LIBS
="$X_LIBS -L$x_libraries"
2939 # For Solaris; some versions of Sun CC require a space after -R and
2940 # others require no space. Words are not sufficient . . . .
2941 case `(uname -sr) 2>/dev/null` in
2943 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
2944 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
2945 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
2946 cat >conftest.
$ac_ext <<_ACEOF
2947 #line $LINENO "configure"
2948 #include "confdefs.h"
2950 #ifdef F77_DUMMY_MAIN
2954 int F77_DUMMY_MAIN() { return 1; }
2964 rm -f conftest.
$ac_objext conftest
$ac_exeext
2965 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2966 (eval $ac_link) 2>&5
2968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2969 (exit $ac_status); } &&
2970 { ac_try
='test -s conftest$ac_exeext'
2971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2975 (exit $ac_status); }; }; then
2978 echo "$as_me: failed program was:" >&5
2979 cat conftest.
$ac_ext >&5
2982 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
2983 if test $ac_R_nospace = yes; then
2984 echo "$as_me:$LINENO: result: no" >&5
2985 echo "${ECHO_T}no" >&6
2986 X_LIBS
="$X_LIBS -R$x_libraries"
2988 LIBS
="$ac_xsave_LIBS -R $x_libraries"
2989 cat >conftest.
$ac_ext <<_ACEOF
2990 #line $LINENO "configure"
2991 #include "confdefs.h"
2993 #ifdef F77_DUMMY_MAIN
2997 int F77_DUMMY_MAIN() { return 1; }
3007 rm -f conftest.
$ac_objext conftest
$ac_exeext
3008 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3009 (eval $ac_link) 2>&5
3011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3012 (exit $ac_status); } &&
3013 { ac_try
='test -s conftest$ac_exeext'
3014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3018 (exit $ac_status); }; }; then
3021 echo "$as_me: failed program was:" >&5
3022 cat conftest.
$ac_ext >&5
3025 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3026 if test $ac_R_space = yes; then
3027 echo "$as_me:$LINENO: result: yes" >&5
3028 echo "${ECHO_T}yes" >&6
3029 X_LIBS
="$X_LIBS -R $x_libraries"
3031 echo "$as_me:$LINENO: result: neither works" >&5
3032 echo "${ECHO_T}neither works" >&6
3039 # Check for system-dependent libraries X programs must link with.
3040 # Do this before checking for the system-independent R6 libraries
3041 # (-lICE), since we may need -lsocket or whatever for X linking.
3043 if test "$ISC" = yes; then
3044 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
3046 # Martyn Johnson says this is needed for Ultrix, if the X
3047 # libraries were built with DECnet support. And Karl Berry says
3048 # the Alpha needs dnet_stub (dnet does not exist).
3049 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
3050 cat >conftest.
$ac_ext <<_ACEOF
3051 #line $LINENO "configure"
3052 #include "confdefs.h"
3054 /* Override any gcc2 internal prototype to avoid an error. */
3058 /* We use char because int might match the return type of a gcc2
3059 builtin and then its argument prototype would still apply. */
3060 char XOpenDisplay ();
3061 #ifdef F77_DUMMY_MAIN
3065 int F77_DUMMY_MAIN() { return 1; }
3075 rm -f conftest.
$ac_objext conftest
$ac_exeext
3076 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3077 (eval $ac_link) 2>&5
3079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3080 (exit $ac_status); } &&
3081 { ac_try
='test -s conftest$ac_exeext'
3082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3086 (exit $ac_status); }; }; then
3089 echo "$as_me: failed program was:" >&5
3090 cat conftest.
$ac_ext >&5
3091 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
3092 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
3093 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
3094 echo $ECHO_N "(cached) $ECHO_C" >&6
3096 ac_check_lib_save_LIBS
=$LIBS
3098 cat >conftest.
$ac_ext <<_ACEOF
3099 #line $LINENO "configure"
3100 #include "confdefs.h"
3102 /* Override any gcc2 internal prototype to avoid an error. */
3106 /* We use char because int might match the return type of a gcc2
3107 builtin and then its argument prototype would still apply. */
3109 #ifdef F77_DUMMY_MAIN
3113 int F77_DUMMY_MAIN() { return 1; }
3123 rm -f conftest.
$ac_objext conftest
$ac_exeext
3124 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3125 (eval $ac_link) 2>&5
3127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3128 (exit $ac_status); } &&
3129 { ac_try
='test -s conftest$ac_exeext'
3130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3134 (exit $ac_status); }; }; then
3135 ac_cv_lib_dnet_dnet_ntoa
=yes
3137 echo "$as_me: failed program was:" >&5
3138 cat conftest.
$ac_ext >&5
3139 ac_cv_lib_dnet_dnet_ntoa
=no
3141 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3142 LIBS
=$ac_check_lib_save_LIBS
3144 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
3145 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
3146 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
3147 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
3150 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
3151 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
3152 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
3153 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
3154 echo $ECHO_N "(cached) $ECHO_C" >&6
3156 ac_check_lib_save_LIBS
=$LIBS
3157 LIBS
="-ldnet_stub $LIBS"
3158 cat >conftest.
$ac_ext <<_ACEOF
3159 #line $LINENO "configure"
3160 #include "confdefs.h"
3162 /* Override any gcc2 internal prototype to avoid an error. */
3166 /* We use char because int might match the return type of a gcc2
3167 builtin and then its argument prototype would still apply. */
3169 #ifdef F77_DUMMY_MAIN
3173 int F77_DUMMY_MAIN() { return 1; }
3183 rm -f conftest.
$ac_objext conftest
$ac_exeext
3184 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3185 (eval $ac_link) 2>&5
3187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3188 (exit $ac_status); } &&
3189 { ac_try
='test -s conftest$ac_exeext'
3190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3194 (exit $ac_status); }; }; then
3195 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
3197 echo "$as_me: failed program was:" >&5
3198 cat conftest.
$ac_ext >&5
3199 ac_cv_lib_dnet_stub_dnet_ntoa
=no
3201 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3202 LIBS
=$ac_check_lib_save_LIBS
3204 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
3205 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
3206 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
3207 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
3212 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3213 LIBS
="$ac_xsave_LIBS"
3215 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
3216 # to get the SysV transport functions.
3217 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
3219 # The nsl library prevents programs from opening the X display
3220 # on Irix 5.2, according to T.E. Dickey.
3221 # The functions gethostbyname, getservbyname, and inet_addr are
3222 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
3223 echo "$as_me:$LINENO: checking for gethostbyname" >&5
3224 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
3225 if test "${ac_cv_func_gethostbyname+set}" = set; then
3226 echo $ECHO_N "(cached) $ECHO_C" >&6
3228 cat >conftest.
$ac_ext <<_ACEOF
3229 #line $LINENO "configure"
3230 #include "confdefs.h"
3231 /* System header to define __stub macros and hopefully few prototypes,
3232 which can conflict with char gethostbyname (); below. */
3234 /* Override any gcc2 internal prototype to avoid an error. */
3238 /* We use char because int might match the return type of a gcc2
3239 builtin and then its argument prototype would still apply. */
3240 char gethostbyname ();
3243 #ifdef F77_DUMMY_MAIN
3247 int F77_DUMMY_MAIN() { return 1; }
3252 /* The GNU C library defines this for functions which it implements
3253 to always fail with ENOSYS. Some functions are actually named
3254 something starting with __ and the normal name is an alias. */
3255 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
3265 rm -f conftest.
$ac_objext conftest
$ac_exeext
3266 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3267 (eval $ac_link) 2>&5
3269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3270 (exit $ac_status); } &&
3271 { ac_try
='test -s conftest$ac_exeext'
3272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3276 (exit $ac_status); }; }; then
3277 ac_cv_func_gethostbyname
=yes
3279 echo "$as_me: failed program was:" >&5
3280 cat conftest.
$ac_ext >&5
3281 ac_cv_func_gethostbyname
=no
3283 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3285 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
3286 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
3288 if test $ac_cv_func_gethostbyname = no
; then
3289 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
3290 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
3291 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
3292 echo $ECHO_N "(cached) $ECHO_C" >&6
3294 ac_check_lib_save_LIBS
=$LIBS
3296 cat >conftest.
$ac_ext <<_ACEOF
3297 #line $LINENO "configure"
3298 #include "confdefs.h"
3300 /* Override any gcc2 internal prototype to avoid an error. */
3304 /* We use char because int might match the return type of a gcc2
3305 builtin and then its argument prototype would still apply. */
3306 char gethostbyname ();
3307 #ifdef F77_DUMMY_MAIN
3311 int F77_DUMMY_MAIN() { return 1; }
3321 rm -f conftest.
$ac_objext conftest
$ac_exeext
3322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3323 (eval $ac_link) 2>&5
3325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3326 (exit $ac_status); } &&
3327 { ac_try
='test -s conftest$ac_exeext'
3328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3332 (exit $ac_status); }; }; then
3333 ac_cv_lib_nsl_gethostbyname
=yes
3335 echo "$as_me: failed program was:" >&5
3336 cat conftest.
$ac_ext >&5
3337 ac_cv_lib_nsl_gethostbyname
=no
3339 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3340 LIBS
=$ac_check_lib_save_LIBS
3342 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
3343 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
3344 if test $ac_cv_lib_nsl_gethostbyname = yes; then
3345 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
3348 if test $ac_cv_lib_nsl_gethostbyname = no
; then
3349 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
3350 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
3351 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
3352 echo $ECHO_N "(cached) $ECHO_C" >&6
3354 ac_check_lib_save_LIBS
=$LIBS
3356 cat >conftest.
$ac_ext <<_ACEOF
3357 #line $LINENO "configure"
3358 #include "confdefs.h"
3360 /* Override any gcc2 internal prototype to avoid an error. */
3364 /* We use char because int might match the return type of a gcc2
3365 builtin and then its argument prototype would still apply. */
3366 char gethostbyname ();
3367 #ifdef F77_DUMMY_MAIN
3371 int F77_DUMMY_MAIN() { return 1; }
3381 rm -f conftest.
$ac_objext conftest
$ac_exeext
3382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3383 (eval $ac_link) 2>&5
3385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3386 (exit $ac_status); } &&
3387 { ac_try
='test -s conftest$ac_exeext'
3388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3392 (exit $ac_status); }; }; then
3393 ac_cv_lib_bsd_gethostbyname
=yes
3395 echo "$as_me: failed program was:" >&5
3396 cat conftest.
$ac_ext >&5
3397 ac_cv_lib_bsd_gethostbyname
=no
3399 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3400 LIBS
=$ac_check_lib_save_LIBS
3402 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
3403 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
3404 if test $ac_cv_lib_bsd_gethostbyname = yes; then
3405 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
3411 # lieder@skyler.mavd.honeywell.com says without -lsocket,
3412 # socket/setsockopt and other routines are undefined under SCO ODT
3413 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
3414 # on later versions), says Simon Leinen: it contains gethostby*
3415 # variants that don't use the nameserver (or something). -lsocket
3416 # must be given before -lnsl if both are needed. We assume that
3417 # if connect needs -lnsl, so does gethostbyname.
3418 echo "$as_me:$LINENO: checking for connect" >&5
3419 echo $ECHO_N "checking for connect... $ECHO_C" >&6
3420 if test "${ac_cv_func_connect+set}" = set; then
3421 echo $ECHO_N "(cached) $ECHO_C" >&6
3423 cat >conftest.
$ac_ext <<_ACEOF
3424 #line $LINENO "configure"
3425 #include "confdefs.h"
3426 /* System header to define __stub macros and hopefully few prototypes,
3427 which can conflict with char connect (); below. */
3429 /* Override any gcc2 internal prototype to avoid an error. */
3433 /* We use char because int might match the return type of a gcc2
3434 builtin and then its argument prototype would still apply. */
3438 #ifdef F77_DUMMY_MAIN
3442 int F77_DUMMY_MAIN() { return 1; }
3447 /* The GNU C library defines this for functions which it implements
3448 to always fail with ENOSYS. Some functions are actually named
3449 something starting with __ and the normal name is an alias. */
3450 #if defined (__stub_connect) || defined (__stub___connect)
3460 rm -f conftest.
$ac_objext conftest
$ac_exeext
3461 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3462 (eval $ac_link) 2>&5
3464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3465 (exit $ac_status); } &&
3466 { ac_try
='test -s conftest$ac_exeext'
3467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3471 (exit $ac_status); }; }; then
3472 ac_cv_func_connect
=yes
3474 echo "$as_me: failed program was:" >&5
3475 cat conftest.
$ac_ext >&5
3476 ac_cv_func_connect
=no
3478 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3480 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
3481 echo "${ECHO_T}$ac_cv_func_connect" >&6
3483 if test $ac_cv_func_connect = no
; then
3484 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
3485 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
3486 if test "${ac_cv_lib_socket_connect+set}" = set; then
3487 echo $ECHO_N "(cached) $ECHO_C" >&6
3489 ac_check_lib_save_LIBS
=$LIBS
3490 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
3491 cat >conftest.
$ac_ext <<_ACEOF
3492 #line $LINENO "configure"
3493 #include "confdefs.h"
3495 /* Override any gcc2 internal prototype to avoid an error. */
3499 /* We use char because int might match the return type of a gcc2
3500 builtin and then its argument prototype would still apply. */
3502 #ifdef F77_DUMMY_MAIN
3506 int F77_DUMMY_MAIN() { return 1; }
3516 rm -f conftest.
$ac_objext conftest
$ac_exeext
3517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3518 (eval $ac_link) 2>&5
3520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3521 (exit $ac_status); } &&
3522 { ac_try
='test -s conftest$ac_exeext'
3523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3527 (exit $ac_status); }; }; then
3528 ac_cv_lib_socket_connect
=yes
3530 echo "$as_me: failed program was:" >&5
3531 cat conftest.
$ac_ext >&5
3532 ac_cv_lib_socket_connect
=no
3534 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3535 LIBS
=$ac_check_lib_save_LIBS
3537 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
3538 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
3539 if test $ac_cv_lib_socket_connect = yes; then
3540 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
3545 # Guillermo Gomez says -lposix is necessary on A/UX.
3546 echo "$as_me:$LINENO: checking for remove" >&5
3547 echo $ECHO_N "checking for remove... $ECHO_C" >&6
3548 if test "${ac_cv_func_remove+set}" = set; then
3549 echo $ECHO_N "(cached) $ECHO_C" >&6
3551 cat >conftest.
$ac_ext <<_ACEOF
3552 #line $LINENO "configure"
3553 #include "confdefs.h"
3554 /* System header to define __stub macros and hopefully few prototypes,
3555 which can conflict with char remove (); below. */
3557 /* Override any gcc2 internal prototype to avoid an error. */
3561 /* We use char because int might match the return type of a gcc2
3562 builtin and then its argument prototype would still apply. */
3566 #ifdef F77_DUMMY_MAIN
3570 int F77_DUMMY_MAIN() { return 1; }
3575 /* The GNU C library defines this for functions which it implements
3576 to always fail with ENOSYS. Some functions are actually named
3577 something starting with __ and the normal name is an alias. */
3578 #if defined (__stub_remove) || defined (__stub___remove)
3588 rm -f conftest.
$ac_objext conftest
$ac_exeext
3589 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3590 (eval $ac_link) 2>&5
3592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3593 (exit $ac_status); } &&
3594 { ac_try
='test -s conftest$ac_exeext'
3595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3599 (exit $ac_status); }; }; then
3600 ac_cv_func_remove
=yes
3602 echo "$as_me: failed program was:" >&5
3603 cat conftest.
$ac_ext >&5
3604 ac_cv_func_remove
=no
3606 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3608 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
3609 echo "${ECHO_T}$ac_cv_func_remove" >&6
3611 if test $ac_cv_func_remove = no
; then
3612 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
3613 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
3614 if test "${ac_cv_lib_posix_remove+set}" = set; then
3615 echo $ECHO_N "(cached) $ECHO_C" >&6
3617 ac_check_lib_save_LIBS
=$LIBS
3618 LIBS
="-lposix $LIBS"
3619 cat >conftest.
$ac_ext <<_ACEOF
3620 #line $LINENO "configure"
3621 #include "confdefs.h"
3623 /* Override any gcc2 internal prototype to avoid an error. */
3627 /* We use char because int might match the return type of a gcc2
3628 builtin and then its argument prototype would still apply. */
3630 #ifdef F77_DUMMY_MAIN
3634 int F77_DUMMY_MAIN() { return 1; }
3644 rm -f conftest.
$ac_objext conftest
$ac_exeext
3645 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3646 (eval $ac_link) 2>&5
3648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3649 (exit $ac_status); } &&
3650 { ac_try
='test -s conftest$ac_exeext'
3651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3655 (exit $ac_status); }; }; then
3656 ac_cv_lib_posix_remove
=yes
3658 echo "$as_me: failed program was:" >&5
3659 cat conftest.
$ac_ext >&5
3660 ac_cv_lib_posix_remove
=no
3662 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3663 LIBS
=$ac_check_lib_save_LIBS
3665 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
3666 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
3667 if test $ac_cv_lib_posix_remove = yes; then
3668 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
3673 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
3674 echo "$as_me:$LINENO: checking for shmat" >&5
3675 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
3676 if test "${ac_cv_func_shmat+set}" = set; then
3677 echo $ECHO_N "(cached) $ECHO_C" >&6
3679 cat >conftest.
$ac_ext <<_ACEOF
3680 #line $LINENO "configure"
3681 #include "confdefs.h"
3682 /* System header to define __stub macros and hopefully few prototypes,
3683 which can conflict with char shmat (); below. */
3685 /* Override any gcc2 internal prototype to avoid an error. */
3689 /* We use char because int might match the return type of a gcc2
3690 builtin and then its argument prototype would still apply. */
3694 #ifdef F77_DUMMY_MAIN
3698 int F77_DUMMY_MAIN() { return 1; }
3703 /* The GNU C library defines this for functions which it implements
3704 to always fail with ENOSYS. Some functions are actually named
3705 something starting with __ and the normal name is an alias. */
3706 #if defined (__stub_shmat) || defined (__stub___shmat)
3716 rm -f conftest.
$ac_objext conftest
$ac_exeext
3717 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3718 (eval $ac_link) 2>&5
3720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3721 (exit $ac_status); } &&
3722 { ac_try
='test -s conftest$ac_exeext'
3723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3727 (exit $ac_status); }; }; then
3728 ac_cv_func_shmat
=yes
3730 echo "$as_me: failed program was:" >&5
3731 cat conftest.
$ac_ext >&5
3734 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3736 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
3737 echo "${ECHO_T}$ac_cv_func_shmat" >&6
3739 if test $ac_cv_func_shmat = no
; then
3740 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
3741 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
3742 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
3743 echo $ECHO_N "(cached) $ECHO_C" >&6
3745 ac_check_lib_save_LIBS
=$LIBS
3747 cat >conftest.
$ac_ext <<_ACEOF
3748 #line $LINENO "configure"
3749 #include "confdefs.h"
3751 /* Override any gcc2 internal prototype to avoid an error. */
3755 /* We use char because int might match the return type of a gcc2
3756 builtin and then its argument prototype would still apply. */
3758 #ifdef F77_DUMMY_MAIN
3762 int F77_DUMMY_MAIN() { return 1; }
3772 rm -f conftest.
$ac_objext conftest
$ac_exeext
3773 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3774 (eval $ac_link) 2>&5
3776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3777 (exit $ac_status); } &&
3778 { ac_try
='test -s conftest$ac_exeext'
3779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3783 (exit $ac_status); }; }; then
3784 ac_cv_lib_ipc_shmat
=yes
3786 echo "$as_me: failed program was:" >&5
3787 cat conftest.
$ac_ext >&5
3788 ac_cv_lib_ipc_shmat
=no
3790 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3791 LIBS
=$ac_check_lib_save_LIBS
3793 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
3794 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
3795 if test $ac_cv_lib_ipc_shmat = yes; then
3796 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
3802 # Check for libraries that X11R6 Xt/Xaw programs need.
3803 ac_save_LDFLAGS
=$LDFLAGS
3804 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
3805 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
3806 # check for ICE first), but we must link in the order -lSM -lICE or
3807 # we get undefined symbols. So assume we have SM if we have ICE.
3808 # These have to be linked with before -lX11, unlike the other
3809 # libraries we check for below, so use a different variable.
3810 # John Interrante, Karl Berry
3811 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
3812 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
3813 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
3814 echo $ECHO_N "(cached) $ECHO_C" >&6
3816 ac_check_lib_save_LIBS
=$LIBS
3817 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
3818 cat >conftest.
$ac_ext <<_ACEOF
3819 #line $LINENO "configure"
3820 #include "confdefs.h"
3822 /* Override any gcc2 internal prototype to avoid an error. */
3826 /* We use char because int might match the return type of a gcc2
3827 builtin and then its argument prototype would still apply. */
3828 char IceConnectionNumber ();
3829 #ifdef F77_DUMMY_MAIN
3833 int F77_DUMMY_MAIN() { return 1; }
3838 IceConnectionNumber ();
3843 rm -f conftest.
$ac_objext conftest
$ac_exeext
3844 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3845 (eval $ac_link) 2>&5
3847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3848 (exit $ac_status); } &&
3849 { ac_try
='test -s conftest$ac_exeext'
3850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3854 (exit $ac_status); }; }; then
3855 ac_cv_lib_ICE_IceConnectionNumber
=yes
3857 echo "$as_me: failed program was:" >&5
3858 cat conftest.
$ac_ext >&5
3859 ac_cv_lib_ICE_IceConnectionNumber
=no
3861 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3862 LIBS
=$ac_check_lib_save_LIBS
3864 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
3865 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
3866 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
3867 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
3870 LDFLAGS
=$ac_save_LDFLAGS
3875 X_LIBRARY_PATH
=$x_libraries
3881 XLIBS
="-lX11 $X_EXTRA_LIBS"
3883 lib_search_path
="$lib_search_path $XLFLAGS -L/usr/local/lib"
3884 inc_search_path
="$inc_search_path $XCFLAGS -I/usr/local/include"
3888 echo "$as_me:$LINENO: checking for XShapeCombineMask in -lXext" >&5
3889 echo $ECHO_N "checking for XShapeCombineMask in -lXext... $ECHO_C" >&6
3890 if test "${ac_cv_lib_Xext_XShapeCombineMask+set}" = set; then
3891 echo $ECHO_N "(cached) $ECHO_C" >&6
3893 ac_check_lib_save_LIBS
=$LIBS
3894 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS -lX11 $LIBS"
3895 cat >conftest.
$ac_ext <<_ACEOF
3896 #line $LINENO "configure"
3897 #include "confdefs.h"
3899 /* Override any gcc2 internal prototype to avoid an error. */
3903 /* We use char because int might match the return type of a gcc2
3904 builtin and then its argument prototype would still apply. */
3905 char XShapeCombineMask ();
3906 #ifdef F77_DUMMY_MAIN
3910 int F77_DUMMY_MAIN() { return 1; }
3915 XShapeCombineMask ();
3920 rm -f conftest.
$ac_objext conftest
$ac_exeext
3921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3922 (eval $ac_link) 2>&5
3924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3925 (exit $ac_status); } &&
3926 { ac_try
='test -s conftest$ac_exeext'
3927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3931 (exit $ac_status); }; }; then
3932 ac_cv_lib_Xext_XShapeCombineMask
=yes
3934 echo "$as_me: failed program was:" >&5
3935 cat conftest.
$ac_ext >&5
3936 ac_cv_lib_Xext_XShapeCombineMask
=no
3938 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3939 LIBS
=$ac_check_lib_save_LIBS
3941 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeCombineMask" >&5
3942 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeCombineMask" >&6
3943 if test $ac_cv_lib_Xext_XShapeCombineMask = yes; then
3944 XLIBS
="$XLIBS -lXext"
3946 echo "The shape extension stuff could not be found in the X client libraries"
3951 echo "$as_me:$LINENO: checking for XpmCreatePixmapFromData in -lXpm" >&5
3952 echo $ECHO_N "checking for XpmCreatePixmapFromData in -lXpm... $ECHO_C" >&6
3953 if test "${ac_cv_lib_Xpm_XpmCreatePixmapFromData+set}" = set; then
3954 echo $ECHO_N "(cached) $ECHO_C" >&6
3956 ac_check_lib_save_LIBS
=$LIBS
3957 LIBS
="-lXpm $X_LIBS $X_EXTRA_LIBS -lX11 $LIBS"
3958 cat >conftest.
$ac_ext <<_ACEOF
3959 #line $LINENO "configure"
3960 #include "confdefs.h"
3962 /* Override any gcc2 internal prototype to avoid an error. */
3966 /* We use char because int might match the return type of a gcc2
3967 builtin and then its argument prototype would still apply. */
3968 char XpmCreatePixmapFromData ();
3969 #ifdef F77_DUMMY_MAIN
3973 int F77_DUMMY_MAIN() { return 1; }
3978 XpmCreatePixmapFromData ();
3983 rm -f conftest.
$ac_objext conftest
$ac_exeext
3984 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3985 (eval $ac_link) 2>&5
3987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3988 (exit $ac_status); } &&
3989 { ac_try
='test -s conftest$ac_exeext'
3990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3994 (exit $ac_status); }; }; then
3995 ac_cv_lib_Xpm_XpmCreatePixmapFromData
=yes
3997 echo "$as_me: failed program was:" >&5
3998 cat conftest.
$ac_ext >&5
3999 ac_cv_lib_Xpm_XpmCreatePixmapFromData
=no
4001 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4002 LIBS
=$ac_check_lib_save_LIBS
4004 echo "$as_me:$LINENO: result: $ac_cv_lib_Xpm_XpmCreatePixmapFromData" >&5
4005 echo "${ECHO_T}$ac_cv_lib_Xpm_XpmCreatePixmapFromData" >&6
4006 if test $ac_cv_lib_Xpm_XpmCreatePixmapFromData = yes; then
4007 XLIBS
="$XLIBS -lXpm"
4009 echo "The libXpm library was not found, but is necessary to build this library"
4021 # Check whether --enable-debug or --disable-debug was given.
4022 if test "${enable_debug+set}" = set; then
4023 enableval
="$enable_debug"
4028 if test "$enable_debug" = yes; then
4029 DFLAGS
="-Wall -g -ansi -pedantic"
4031 cat >>confdefs.h
<<\_ACEOF
4055 SETGID_FLAGS
="-g kmem -m 2755 -o root"
4065 echo "Sorry, ${host_os} is not supported yet"
4075 if test "$ignore_buffers" = yes; then
4077 cat >>confdefs.h
<<\_ACEOF
4078 #define IGNORE_BUFFERS 1
4082 if test "$ignore_cached" = yes; then
4084 cat >>confdefs.h
<<\_ACEOF
4085 #define IGNORE_CACHED 1
4089 if test "$ignore_wired" = yes; then
4091 cat >>confdefs.h
<<\_ACEOF
4092 #define IGNORE_WIRED 1
4099 LIBRARY_SEARCH_PATH
="$lib_search_path"
4100 HEADER_SEARCH_PATH
="$inc_search_path"
4105 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4106 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4107 if test "${ac_cv_header_stdc+set}" = set; then
4108 echo $ECHO_N "(cached) $ECHO_C" >&6
4110 cat >conftest.
$ac_ext <<_ACEOF
4111 #line $LINENO "configure"
4112 #include "confdefs.h"
4119 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4120 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4122 egrep -v '^ *\+' conftest.er1
>conftest.err
4124 cat conftest.err
>&5
4125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4126 (exit $ac_status); } >/dev
/null
; then
4127 if test -s conftest.err
; then
4128 ac_cpp_err
=$ac_c_preproc_warn_flag
4135 if test -z "$ac_cpp_err"; then
4136 ac_cv_header_stdc
=yes
4138 echo "$as_me: failed program was:" >&5
4139 cat conftest.
$ac_ext >&5
4140 ac_cv_header_stdc
=no
4142 rm -f conftest.err conftest.
$ac_ext
4144 if test $ac_cv_header_stdc = yes; then
4145 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4146 cat >conftest.
$ac_ext <<_ACEOF
4147 #line $LINENO "configure"
4148 #include "confdefs.h"
4152 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4153 egrep "memchr" >/dev
/null
2>&1; then
4156 ac_cv_header_stdc
=no
4162 if test $ac_cv_header_stdc = yes; then
4163 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4164 cat >conftest.
$ac_ext <<_ACEOF
4165 #line $LINENO "configure"
4166 #include "confdefs.h"
4170 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4171 egrep "free" >/dev
/null
2>&1; then
4174 ac_cv_header_stdc
=no
4180 if test $ac_cv_header_stdc = yes; then
4181 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4182 if test "$cross_compiling" = yes; then
4185 cat >conftest.
$ac_ext <<_ACEOF
4186 #line $LINENO "configure"
4187 #include "confdefs.h"
4189 #if ((' ' & 0x0FF) == 0x020)
4190 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4191 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4193 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
4194 || ('j' <= (c) && (c) <= 'r') \
4195 || ('s' <= (c) && (c) <= 'z'))
4196 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4199 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4204 for (i = 0; i < 256; i++)
4205 if (XOR (islower (i), ISLOWER (i))
4206 || toupper (i) != TOUPPER (i))
4211 rm -f conftest
$ac_exeext
4212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4213 (eval $ac_link) 2>&5
4215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4216 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4221 (exit $ac_status); }; }; then
4224 echo "$as_me: program exited with status $ac_status" >&5
4225 echo "$as_me: failed program was:" >&5
4226 cat conftest.
$ac_ext >&5
4228 ac_cv_header_stdc
=no
4230 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4234 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4235 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4236 if test $ac_cv_header_stdc = yes; then
4238 cat >>confdefs.h
<<\_ACEOF
4239 #define STDC_HEADERS 1
4244 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4254 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4255 inttypes.h stdint.h unistd.h
4257 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4258 echo "$as_me:$LINENO: checking for $ac_header" >&5
4259 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4260 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4261 echo $ECHO_N "(cached) $ECHO_C" >&6
4263 cat >conftest.
$ac_ext <<_ACEOF
4264 #line $LINENO "configure"
4265 #include "confdefs.h"
4266 $ac_includes_default
4268 #include <$ac_header>
4270 rm -f conftest.
$ac_objext
4271 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4272 (eval $ac_compile) 2>&5
4274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4275 (exit $ac_status); } &&
4276 { ac_try
='test -s conftest.$ac_objext'
4277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4281 (exit $ac_status); }; }; then
4282 eval "$as_ac_Header=yes"
4284 echo "$as_me: failed program was:" >&5
4285 cat conftest.
$ac_ext >&5
4286 eval "$as_ac_Header=no"
4288 rm -f conftest.
$ac_objext conftest.
$ac_ext
4290 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4291 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4292 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4293 cat >>confdefs.h
<<_ACEOF
4294 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4311 for ac_header
in fcntl.h memory.h stddef.h stdlib.h string.h
strings.h sys
/param.h sys
/time.h unistd.h
4313 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4314 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4315 echo "$as_me:$LINENO: checking for $ac_header" >&5
4316 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4317 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4318 echo $ECHO_N "(cached) $ECHO_C" >&6
4320 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4321 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4323 # Is the header compilable?
4324 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4325 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4326 cat >conftest.
$ac_ext <<_ACEOF
4327 #line $LINENO "configure"
4328 #include "confdefs.h"
4329 $ac_includes_default
4330 #include <$ac_header>
4332 rm -f conftest.
$ac_objext
4333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4334 (eval $ac_compile) 2>&5
4336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4337 (exit $ac_status); } &&
4338 { ac_try
='test -s conftest.$ac_objext'
4339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4343 (exit $ac_status); }; }; then
4344 ac_header_compiler
=yes
4346 echo "$as_me: failed program was:" >&5
4347 cat conftest.
$ac_ext >&5
4348 ac_header_compiler
=no
4350 rm -f conftest.
$ac_objext conftest.
$ac_ext
4351 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4352 echo "${ECHO_T}$ac_header_compiler" >&6
4354 # Is the header present?
4355 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4356 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4357 cat >conftest.
$ac_ext <<_ACEOF
4358 #line $LINENO "configure"
4359 #include "confdefs.h"
4360 #include <$ac_header>
4362 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4363 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4365 egrep -v '^ *\+' conftest.er1
>conftest.err
4367 cat conftest.err
>&5
4368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4369 (exit $ac_status); } >/dev
/null
; then
4370 if test -s conftest.err
; then
4371 ac_cpp_err
=$ac_c_preproc_warn_flag
4378 if test -z "$ac_cpp_err"; then
4379 ac_header_preproc
=yes
4381 echo "$as_me: failed program was:" >&5
4382 cat conftest.
$ac_ext >&5
4383 ac_header_preproc
=no
4385 rm -f conftest.err conftest.
$ac_ext
4386 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4387 echo "${ECHO_T}$ac_header_preproc" >&6
4389 # So? What about this header?
4390 case $ac_header_compiler:$ac_header_preproc in
4392 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4393 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4394 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4395 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
4397 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4398 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4399 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4400 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4401 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4402 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
4404 echo "$as_me:$LINENO: checking for $ac_header" >&5
4405 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4406 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4407 echo $ECHO_N "(cached) $ECHO_C" >&6
4409 eval "$as_ac_Header=$ac_header_preproc"
4411 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4412 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4415 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4416 cat >>confdefs.h
<<_ACEOF
4417 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4425 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
4426 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
4427 if test "${ac_cv_prog_cc_stdc+set}" = set; then
4428 echo $ECHO_N "(cached) $ECHO_C" >&6
4430 ac_cv_prog_cc_stdc
=no
4432 cat >conftest.
$ac_ext <<_ACEOF
4433 #line $LINENO "configure"
4434 #include "confdefs.h"
4437 #include <sys/types.h>
4438 #include <sys/stat.h>
4439 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4440 struct buf { int x; };
4441 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4442 static char *e (p, i)
4448 static char *f (char * (*g) (char **, int), char **p, ...)
4453 s = g (p, va_arg (v,int));
4457 int test (int i, double x);
4458 struct s1 {int (*f) (int a);};
4459 struct s2 {int (*f) (double a);};
4460 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4463 #ifdef F77_DUMMY_MAIN
4467 int F77_DUMMY_MAIN() { return 1; }
4472 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4477 # Don't try gcc -ansi; that turns off useful extensions and
4478 # breaks some systems' header files.
4479 # AIX -qlanglvl=ansi
4480 # Ultrix and OSF/1 -std1
4481 # HP-UX 10.20 and later -Ae
4482 # HP-UX older versions -Aa -D_HPUX_SOURCE
4483 # SVR4 -Xc -D__EXTENSIONS__
4484 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4486 CC
="$ac_save_CC $ac_arg"
4487 rm -f conftest.
$ac_objext
4488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4489 (eval $ac_compile) 2>&5
4491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4492 (exit $ac_status); } &&
4493 { ac_try
='test -s conftest.$ac_objext'
4494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4498 (exit $ac_status); }; }; then
4499 ac_cv_prog_cc_stdc
=$ac_arg
4502 echo "$as_me: failed program was:" >&5
4503 cat conftest.
$ac_ext >&5
4505 rm -f conftest.
$ac_objext
4507 rm -f conftest.
$ac_ext conftest.
$ac_objext
4512 case "x$ac_cv_prog_cc_stdc" in
4514 echo "$as_me:$LINENO: result: none needed" >&5
4515 echo "${ECHO_T}none needed" >&6 ;;
4517 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
4518 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
4519 CC
="$CC $ac_cv_prog_cc_stdc" ;;
4522 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
4523 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
4524 if test "${ac_cv_c_const+set}" = set; then
4525 echo $ECHO_N "(cached) $ECHO_C" >&6
4527 cat >conftest.
$ac_ext <<_ACEOF
4528 #line $LINENO "configure"
4529 #include "confdefs.h"
4531 #ifdef F77_DUMMY_MAIN
4535 int F77_DUMMY_MAIN() { return 1; }
4540 /* FIXME: Include the comments suggested by Paul. */
4542 /* Ultrix mips cc rejects this. */
4543 typedef int charset[2];
4545 /* SunOS 4.1.1 cc rejects this. */
4546 char const *const *ccp;
4548 /* NEC SVR4.0.2 mips cc rejects this. */
4549 struct point {int x, y;};
4550 static struct point const zero = {0,0};
4551 /* AIX XL C 1.02.0.0 rejects this.
4552 It does not let you subtract one const X* pointer from another in
4553 an arm of an if-expression whose if-part is not a constant
4555 const char *g = "string";
4556 ccp = &g + (g ? g-g : 0);
4557 /* HPUX 7.0 cc rejects these. */
4560 ccp = (char const *const *) p;
4561 { /* SCO 3.2v4 cc rejects this. */
4563 char const *s = 0 ? (char *) 0 : (char const *) 0;
4567 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4569 const int *foo = &x[0];
4572 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4573 typedef const int *iptr;
4577 { /* AIX XL C 1.02.0.0 rejects this saying
4578 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4579 struct s { int j; const int *ap[3]; };
4580 struct s *b; b->j = 5;
4582 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4591 rm -f conftest.
$ac_objext
4592 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4593 (eval $ac_compile) 2>&5
4595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4596 (exit $ac_status); } &&
4597 { ac_try
='test -s conftest.$ac_objext'
4598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4602 (exit $ac_status); }; }; then
4605 echo "$as_me: failed program was:" >&5
4606 cat conftest.
$ac_ext >&5
4609 rm -f conftest.
$ac_objext conftest.
$ac_ext
4611 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
4612 echo "${ECHO_T}$ac_cv_c_const" >&6
4613 if test $ac_cv_c_const = no
; then
4615 cat >>confdefs.h
<<\_ACEOF
4621 echo "$as_me:$LINENO: checking for size_t" >&5
4622 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
4623 if test "${ac_cv_type_size_t+set}" = set; then
4624 echo $ECHO_N "(cached) $ECHO_C" >&6
4626 cat >conftest.
$ac_ext <<_ACEOF
4627 #line $LINENO "configure"
4628 #include "confdefs.h"
4629 $ac_includes_default
4630 #ifdef F77_DUMMY_MAIN
4634 int F77_DUMMY_MAIN() { return 1; }
4641 if (sizeof (size_t))
4647 rm -f conftest.
$ac_objext
4648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4649 (eval $ac_compile) 2>&5
4651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4652 (exit $ac_status); } &&
4653 { ac_try
='test -s conftest.$ac_objext'
4654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4658 (exit $ac_status); }; }; then
4659 ac_cv_type_size_t
=yes
4661 echo "$as_me: failed program was:" >&5
4662 cat conftest.
$ac_ext >&5
4663 ac_cv_type_size_t
=no
4665 rm -f conftest.
$ac_objext conftest.
$ac_ext
4667 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
4668 echo "${ECHO_T}$ac_cv_type_size_t" >&6
4669 if test $ac_cv_type_size_t = yes; then
4673 cat >>confdefs.h
<<_ACEOF
4674 #define size_t unsigned
4679 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
4680 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
4681 if test "${ac_cv_header_time+set}" = set; then
4682 echo $ECHO_N "(cached) $ECHO_C" >&6
4684 cat >conftest.
$ac_ext <<_ACEOF
4685 #line $LINENO "configure"
4686 #include "confdefs.h"
4687 #include <sys/types.h>
4688 #include <sys/time.h>
4691 #ifdef F77_DUMMY_MAIN
4695 int F77_DUMMY_MAIN() { return 1; }
4700 if ((struct tm *) 0)
4706 rm -f conftest.
$ac_objext
4707 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4708 (eval $ac_compile) 2>&5
4710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4711 (exit $ac_status); } &&
4712 { ac_try
='test -s conftest.$ac_objext'
4713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4717 (exit $ac_status); }; }; then
4718 ac_cv_header_time
=yes
4720 echo "$as_me: failed program was:" >&5
4721 cat conftest.
$ac_ext >&5
4722 ac_cv_header_time
=no
4724 rm -f conftest.
$ac_objext conftest.
$ac_ext
4726 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
4727 echo "${ECHO_T}$ac_cv_header_time" >&6
4728 if test $ac_cv_header_time = yes; then
4730 cat >>confdefs.h
<<\_ACEOF
4731 #define TIME_WITH_SYS_TIME 1
4738 for ac_header
in stdlib.h
4740 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4741 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4742 echo "$as_me:$LINENO: checking for $ac_header" >&5
4743 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4744 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4745 echo $ECHO_N "(cached) $ECHO_C" >&6
4747 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4748 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4750 # Is the header compilable?
4751 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4752 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4753 cat >conftest.
$ac_ext <<_ACEOF
4754 #line $LINENO "configure"
4755 #include "confdefs.h"
4756 $ac_includes_default
4757 #include <$ac_header>
4759 rm -f conftest.
$ac_objext
4760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4761 (eval $ac_compile) 2>&5
4763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4764 (exit $ac_status); } &&
4765 { ac_try
='test -s conftest.$ac_objext'
4766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4770 (exit $ac_status); }; }; then
4771 ac_header_compiler
=yes
4773 echo "$as_me: failed program was:" >&5
4774 cat conftest.
$ac_ext >&5
4775 ac_header_compiler
=no
4777 rm -f conftest.
$ac_objext conftest.
$ac_ext
4778 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4779 echo "${ECHO_T}$ac_header_compiler" >&6
4781 # Is the header present?
4782 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4783 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4784 cat >conftest.
$ac_ext <<_ACEOF
4785 #line $LINENO "configure"
4786 #include "confdefs.h"
4787 #include <$ac_header>
4789 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4790 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4792 egrep -v '^ *\+' conftest.er1
>conftest.err
4794 cat conftest.err
>&5
4795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4796 (exit $ac_status); } >/dev
/null
; then
4797 if test -s conftest.err
; then
4798 ac_cpp_err
=$ac_c_preproc_warn_flag
4805 if test -z "$ac_cpp_err"; then
4806 ac_header_preproc
=yes
4808 echo "$as_me: failed program was:" >&5
4809 cat conftest.
$ac_ext >&5
4810 ac_header_preproc
=no
4812 rm -f conftest.err conftest.
$ac_ext
4813 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4814 echo "${ECHO_T}$ac_header_preproc" >&6
4816 # So? What about this header?
4817 case $ac_header_compiler:$ac_header_preproc in
4819 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4820 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4821 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4822 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
4824 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4825 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4826 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4827 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4828 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4829 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
4831 echo "$as_me:$LINENO: checking for $ac_header" >&5
4832 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4833 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4834 echo $ECHO_N "(cached) $ECHO_C" >&6
4836 eval "$as_ac_Header=$ac_header_preproc"
4838 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4839 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4842 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4843 cat >>confdefs.h
<<_ACEOF
4844 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4851 echo "$as_me:$LINENO: checking for working malloc" >&5
4852 echo $ECHO_N "checking for working malloc... $ECHO_C" >&6
4853 if test "${ac_cv_func_malloc_works+set}" = set; then
4854 echo $ECHO_N "(cached) $ECHO_C" >&6
4856 if test "$cross_compiling" = yes; then
4857 ac_cv_func_malloc_works
=no
4859 cat >conftest.
$ac_ext <<_ACEOF
4860 #line $LINENO "configure"
4861 #include "confdefs.h"
4862 #if STDC_HEADERS || HAVE_STDLIB_H
4863 # include <stdlib.h>
4868 #ifdef F77_DUMMY_MAIN
4872 int F77_DUMMY_MAIN() { return 1; }
4877 exit (malloc (0) ? 0 : 1);
4882 rm -f conftest
$ac_exeext
4883 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4884 (eval $ac_link) 2>&5
4886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4887 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4892 (exit $ac_status); }; }; then
4893 ac_cv_func_malloc_works
=yes
4895 echo "$as_me: program exited with status $ac_status" >&5
4896 echo "$as_me: failed program was:" >&5
4897 cat conftest.
$ac_ext >&5
4899 ac_cv_func_malloc_works
=no
4901 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4904 echo "$as_me:$LINENO: result: $ac_cv_func_malloc_works" >&5
4905 echo "${ECHO_T}$ac_cv_func_malloc_works" >&6
4906 if test $ac_cv_func_malloc_works = yes; then
4908 cat >>confdefs.h
<<\_ACEOF
4909 #define HAVE_MALLOC 1
4917 for ac_func
in select strtoul uname
4919 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4920 echo "$as_me:$LINENO: checking for $ac_func" >&5
4921 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4922 if eval "test \"\${$as_ac_var+set}\" = set"; then
4923 echo $ECHO_N "(cached) $ECHO_C" >&6
4925 cat >conftest.
$ac_ext <<_ACEOF
4926 #line $LINENO "configure"
4927 #include "confdefs.h"
4928 /* System header to define __stub macros and hopefully few prototypes,
4929 which can conflict with char $ac_func (); below. */
4931 /* Override any gcc2 internal prototype to avoid an error. */
4935 /* We use char because int might match the return type of a gcc2
4936 builtin and then its argument prototype would still apply. */
4940 #ifdef F77_DUMMY_MAIN
4944 int F77_DUMMY_MAIN() { return 1; }
4949 /* The GNU C library defines this for functions which it implements
4950 to always fail with ENOSYS. Some functions are actually named
4951 something starting with __ and the normal name is an alias. */
4952 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4962 rm -f conftest.
$ac_objext conftest
$ac_exeext
4963 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4964 (eval $ac_link) 2>&5
4966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4967 (exit $ac_status); } &&
4968 { ac_try
='test -s conftest$ac_exeext'
4969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4973 (exit $ac_status); }; }; then
4974 eval "$as_ac_var=yes"
4976 echo "$as_me: failed program was:" >&5
4977 cat conftest.
$ac_ext >&5
4978 eval "$as_ac_var=no"
4980 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4982 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4983 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4984 if test `eval echo '${'$as_ac_var'}'` = yes; then
4985 cat >>confdefs.h
<<_ACEOF
4986 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4993 ac_config_files
="$ac_config_files Makefile src/Makefile doc/Makefile"
4995 cat >confcache
<<\_ACEOF
4996 # This file is a shell script that caches the results of configure
4997 # tests run on this system so they can be shared between configure
4998 # scripts and configure runs, see configure's option --config-cache.
4999 # It is not useful on other systems. If it contains results you don't
5000 # want to keep, you may remove or edit it.
5002 # config.status only pays attention to the cache file if you give it
5003 # the --recheck option to rerun configure.
5005 # `ac_cv_env_foo' variables (set or unset) will be overriden when
5006 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5011 # The following way of writing the cache mishandles newlines in values,
5012 # but we know of no workaround that is simple, portable, and efficient.
5013 # So, don't put newlines in cache variables' values.
5014 # Ultrix sh set writes to stderr and can't be redirected directly,
5015 # and sets the high bit in the cache file unless we assign to the vars.
5018 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5020 # `set' does not quote correctly, so add quotes (double-quote
5021 # substitution turns \\\\ into \\, and sed turns \\ into \).
5024 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5027 # `set' quotes correctly as required by POSIX, so do not add quotes.
5029 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5036 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5038 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5040 if cmp -s $cache_file confcache
; then :; else
5041 if test -w $cache_file; then
5042 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5043 cat confcache
>$cache_file
5045 echo "not updating unwritable cache $cache_file"
5050 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
5051 # Let make expand exec_prefix.
5052 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
5054 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5055 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5056 # trailing colons and then remove the whole line if VPATH becomes empty
5057 # (actually we leave an empty line to preserve line numbers).
5058 if test "x$srcdir" = x.
; then
5059 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
5060 s/:*\$(srcdir):*/:/;
5061 s/:*\${srcdir}:*/:/;
5063 s/^\([^=]*=[ ]*\):*/\1/;
5069 DEFS
=-DHAVE_CONFIG_H
5072 : ${CONFIG_STATUS=./config.status}
5073 ac_clean_files_save
=$ac_clean_files
5074 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
5075 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5076 echo "$as_me: creating $CONFIG_STATUS" >&6;}
5077 cat >$CONFIG_STATUS <<_ACEOF
5079 # Generated by $as_me.
5080 # Run this file to recreate the current configuration.
5081 # Compiler output produced by configure, useful for debugging
5082 # configure, is in config.log if it exists.
5085 SHELL=\${CONFIG_SHELL-$SHELL}
5088 cat >>$CONFIG_STATUS <<\_ACEOF
5090 ## --------------------- ##
5091 ## M4sh Initialization. ##
5092 ## --------------------- ##
5094 # Be Bourne compatible
5095 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
5098 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
5103 # Support unset when possible.
5104 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
5110 (set +x
; test -n "`(LANG=C; export LANG) 2>&1`") &&
5111 { $as_unset LANG ||
test "${LANG+set}" != set; } ||
5112 { LANG
=C
; export LANG
; }
5113 (set +x
; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
5114 { $as_unset LC_ALL ||
test "${LC_ALL+set}" != set; } ||
5115 { LC_ALL
=C
; export LC_ALL
; }
5116 (set +x
; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
5117 { $as_unset LC_TIME ||
test "${LC_TIME+set}" != set; } ||
5118 { LC_TIME
=C
; export LC_TIME
; }
5119 (set +x
; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
5120 { $as_unset LC_CTYPE ||
test "${LC_CTYPE+set}" != set; } ||
5121 { LC_CTYPE
=C
; export LC_CTYPE
; }
5122 (set +x
; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
5123 { $as_unset LANGUAGE ||
test "${LANGUAGE+set}" != set; } ||
5124 { LANGUAGE
=C
; export LANGUAGE
; }
5125 (set +x
; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
5126 { $as_unset LC_COLLATE ||
test "${LC_COLLATE+set}" != set; } ||
5127 { LC_COLLATE
=C
; export LC_COLLATE
; }
5128 (set +x
; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
5129 { $as_unset LC_NUMERIC ||
test "${LC_NUMERIC+set}" != set; } ||
5130 { LC_NUMERIC
=C
; export LC_NUMERIC
; }
5131 (set +x
; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
5132 { $as_unset LC_MESSAGES ||
test "${LC_MESSAGES+set}" != set; } ||
5133 { LC_MESSAGES
=C
; export LC_MESSAGES
; }
5136 # Name of the executable.
5137 as_me
=`(basename "$0") 2>/dev/null ||
5138 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5139 X"$0" : 'X\(//\)$' \| \
5140 X"$0" : 'X\(/\)$' \| \
5141 . : '\(.\)' 2>/dev/null ||
5143 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
5144 /^X\/\(\/\/\)$/{ s//\1/; q; }
5145 /^X\/\(\/\).*/{ s//\1/; q; }
5148 # PATH needs CR, and LINENO needs CR and PATH.
5149 # Avoid depending upon Character Ranges.
5150 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
5151 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5152 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
5153 as_cr_digits
='0123456789'
5154 as_cr_alnum
=$as_cr_Letters$as_cr_digits
5156 # The user is always right.
5157 if test "${PATH_SEPARATOR+set}" != set; then
5158 echo "#! /bin/sh" >conftest.sh
5159 echo "exit 0" >>conftest.sh
5160 chmod +x conftest.sh
5161 if (PATH
=".;."; conftest.sh
) >/dev
/null
2>&1; then
5172 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
5173 test "x$as_lineno_1" != "x$as_lineno_2" &&
5174 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
5175 # Find who we are. Look in the path if we contain no path at all
5178 *[\\/]* ) as_myself
=$0 ;;
5179 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5183 test -z "$as_dir" && as_dir
=.
5184 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
5189 # We did not find ourselves, most probably we were run as `sh COMMAND'
5190 # in which case we are not to be found in the path.
5191 if test "x$as_myself" = x
; then
5194 if test ! -f "$as_myself"; then
5195 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
5196 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
5197 { (exit 1); exit 1; }; }
5199 case $CONFIG_SHELL in
5201 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5202 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
5205 test -z "$as_dir" && as_dir
=.
5206 for as_base
in sh bash ksh sh5
; do
5209 if ("$as_dir/$as_base" -c '
5212 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5213 test "x$as_lineno_1" != "x$as_lineno_2" &&
5214 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
5215 CONFIG_SHELL
=$as_dir/$as_base
5217 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
5225 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5226 # uniformly replaced by the line number. The first 'sed' inserts a
5227 # line-number line before each line; the second 'sed' does the real
5228 # work. The second script uses 'N' to pair each line-number line
5229 # with the numbered line, and appends trailing '-' during
5230 # substitution so that $LINENO is not a special case at line end.
5231 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5232 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
5233 sed '=' <$as_myself |
5238 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
5241 s,^['$as_cr_digits']*\n,,
5243 chmod +x
$as_me.lineno ||
5244 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
5245 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
5246 { (exit 1); exit 1; }; }
5248 # Don't try to exec as it changes $[0], causing all sort of problems
5249 # (the dirname of $[0] is not the place where we might find the
5250 # original and so on. Autoconf is especially sensible to this).
5252 # Exit status is that of the last command.
5257 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
5258 *c
*,-n*) ECHO_N
= ECHO_C
='
5260 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
5261 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
5264 if expr a
: '\(a\)' >/dev
/null
2>&1; then
5270 rm -f conf$$ conf$$.exe conf$$.
file
5272 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
5273 # We could just check for DJGPP; but this test a) works b) is more generic
5274 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
5275 if test -f conf$$.exe
; then
5276 # Don't use ln at all; we don't have any links
5281 elif ln conf$$.
file conf$$
2>/dev
/null
; then
5286 rm -f conf$$ conf$$.exe conf$$.
file
5288 as_executable_p
="test -f"
5290 # Sed expression to map a string onto a valid CPP name.
5291 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
5293 # Sed expression to map a string onto a valid variable name.
5294 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
5298 # We need space, tab and new line, in precisely that order.
5304 $as_unset CDPATH ||
test "${CDPATH+set}" != set ||
{ CDPATH
=$PATH_SEPARATOR; export CDPATH
; }
5308 # Open the log real soon, to keep \$[0] and so on meaningful, and to
5309 # report actual input values of CONFIG_FILES etc. instead of their
5310 # values after options handling. Logging --version etc. is OK.
5314 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5315 ## Running $as_me. ##
5320 This file was extended by wmapmload $as_me 0.3.2, which was
5321 generated by GNU Autoconf 2.53. Invocation command line was
5323 CONFIG_FILES = $CONFIG_FILES
5324 CONFIG_HEADERS = $CONFIG_HEADERS
5325 CONFIG_LINKS = $CONFIG_LINKS
5326 CONFIG_COMMANDS = $CONFIG_COMMANDS
5330 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
5334 # Files that config.status was made for.
5335 if test -n "$ac_config_files"; then
5336 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
5339 if test -n "$ac_config_headers"; then
5340 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
5343 if test -n "$ac_config_links"; then
5344 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
5347 if test -n "$ac_config_commands"; then
5348 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
5351 cat >>$CONFIG_STATUS <<\_ACEOF
5354 \`$as_me' instantiates files from templates according to the
5355 current configuration.
5357 Usage: $0 [OPTIONS] [FILE]...
5359 -h, --help print this help, then exit
5360 -V, --version print version number, then exit
5361 -d, --debug don't remove temporary files
5362 --recheck update $as_me by reconfiguring in the same conditions
5363 --file=FILE[:TEMPLATE]
5364 instantiate the configuration file FILE
5365 --header=FILE[:TEMPLATE]
5366 instantiate the configuration header FILE
5368 Configuration files:
5371 Configuration headers:
5374 Configuration commands:
5377 Report bugs to <bug-autoconf@gnu.org>."
5380 cat >>$CONFIG_STATUS <<_ACEOF
5382 wmapmload config.status 0.3.2
5383 configured by $0, generated by GNU Autoconf 2.53,
5384 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
5386 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
5387 Free Software Foundation, Inc.
5388 This config.status script is free software; the Free Software Foundation
5389 gives unlimited permission to copy, distribute and modify it."
5394 cat >>$CONFIG_STATUS <<\_ACEOF
5395 # If no file are specified by the user, then we need to provide default
5396 # value. By we need to know if files were specified by the user.
5402 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
5403 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
5405 set dummy
"$ac_option" "$ac_optarg" ${1+"$@"}
5409 *) # This is not an option, so the user has probably given explicit
5411 ac_need_defaults
=false
;;
5415 # Handling of the options.
5417 cat >>$CONFIG_STATUS <<_ACEOF
5418 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5419 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
5420 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
5422 cat >>$CONFIG_STATUS <<\_ACEOF
5423 --version |
--vers* |
-V )
5424 echo "$ac_cs_version"; exit 0 ;;
5426 # Conflict between --help and --header
5427 { { echo "$as_me:$LINENO: error: ambiguous option: $1
5428 Try \`$0 --help' for more information." >&5
5429 echo "$as_me: error: ambiguous option: $1
5430 Try \`$0 --help' for more information." >&2;}
5431 { (exit 1); exit 1; }; };;
5432 --help |
--hel |
-h )
5433 echo "$ac_cs_usage"; exit 0 ;;
5434 --debug |
--d* |
-d )
5436 --file |
--fil |
--fi |
--f )
5438 CONFIG_FILES
="$CONFIG_FILES $1"
5439 ac_need_defaults
=false
;;
5440 --header |
--heade |
--head |
--hea )
5442 CONFIG_HEADERS
="$CONFIG_HEADERS $1"
5443 ac_need_defaults
=false
;;
5446 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
5447 Try \`$0 --help' for more information." >&5
5448 echo "$as_me: error: unrecognized option: $1
5449 Try \`$0 --help' for more information." >&2;}
5450 { (exit 1); exit 1; }; } ;;
5452 *) ac_config_targets
="$ac_config_targets $1" ;;
5460 cat >>$CONFIG_STATUS <<_ACEOF
5462 # INIT-COMMANDS section.
5471 cat >>$CONFIG_STATUS <<\_ACEOF
5472 for ac_config_target
in $ac_config_targets
5474 case "$ac_config_target" in
5475 # Handling of arguments.
5476 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
5477 "src/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
5478 "doc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
5479 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
5480 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
5481 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5482 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5483 { (exit 1); exit 1; }; };;
5487 # If the user did not use the arguments to specify the items to instantiate,
5488 # then the envvar interface is used. Set only those that are not.
5489 # We use the long form for the default assignment because of an extremely
5490 # bizarre bug on SunOS 4.1.3.
5491 if $ac_need_defaults; then
5492 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
5493 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
5494 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
5497 # Create a temporary directory, and hook for its removal unless debugging.
5500 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
5501 trap '{ (exit 1); exit 1; }' 1 2 13 15
5504 # Create a (secure) tmp directory for tmp files.
5507 tmp
=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
5508 test -n "$tmp" && test -d "$tmp"
5511 tmp
=$TMPDIR/cs$$
-$RANDOM
5512 (umask 077 && mkdir
$tmp)
5515 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
5516 { (exit 1); exit 1; }
5521 cat >>$CONFIG_STATUS <<_ACEOF
5524 # CONFIG_FILES section.
5527 # No need to generate the scripts if there are no CONFIG_FILES.
5528 # This happens for instance when ./config.status config.h
5529 if test -n "\$CONFIG_FILES"; then
5530 # Protect against being on the right side of a sed subst in config.status.
5531 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
5532 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
5533 s,@SHELL@,$SHELL,;t t
5534 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
5535 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
5536 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
5537 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
5538 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
5539 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
5540 s,@exec_prefix@,$exec_prefix,;t t
5541 s,@prefix@,$prefix,;t t
5542 s,@program_transform_name@,$program_transform_name,;t t
5543 s,@bindir@,$bindir,;t t
5544 s,@sbindir@,$sbindir,;t t
5545 s,@libexecdir@,$libexecdir,;t t
5546 s,@datadir@,$datadir,;t t
5547 s,@sysconfdir@,$sysconfdir,;t t
5548 s,@sharedstatedir@,$sharedstatedir,;t t
5549 s,@localstatedir@,$localstatedir,;t t
5550 s,@libdir@,$libdir,;t t
5551 s,@includedir@,$includedir,;t t
5552 s,@oldincludedir@,$oldincludedir,;t t
5553 s,@infodir@,$infodir,;t t
5554 s,@mandir@,$mandir,;t t
5555 s,@build_alias@,$build_alias,;t t
5556 s,@host_alias@,$host_alias,;t t
5557 s,@target_alias@,$target_alias,;t t
5559 s,@ECHO_C@,$ECHO_C,;t t
5560 s,@ECHO_N@,$ECHO_N,;t t
5561 s,@ECHO_T@,$ECHO_T,;t t
5563 s,@build@,$build,;t t
5564 s,@build_cpu@,$build_cpu,;t t
5565 s,@build_vendor@,$build_vendor,;t t
5566 s,@build_os@,$build_os,;t t
5568 s,@host_cpu@,$host_cpu,;t t
5569 s,@host_vendor@,$host_vendor,;t t
5570 s,@host_os@,$host_os,;t t
5571 s,@target@,$target,;t t
5572 s,@target_cpu@,$target_cpu,;t t
5573 s,@target_vendor@,$target_vendor,;t t
5574 s,@target_os@,$target_os,;t t
5575 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
5576 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
5577 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
5578 s,@PACKAGE@,$PACKAGE,;t t
5579 s,@VERSION@,$VERSION,;t t
5580 s,@ACLOCAL@,$ACLOCAL,;t t
5581 s,@AUTOCONF@,$AUTOCONF,;t t
5582 s,@AUTOMAKE@,$AUTOMAKE,;t t
5583 s,@AUTOHEADER@,$AUTOHEADER,;t t
5584 s,@MAKEINFO@,$MAKEINFO,;t t
5585 s,@SET_MAKE@,$SET_MAKE,;t t
5588 s,@CFLAGS@,$CFLAGS,;t t
5589 s,@LDFLAGS@,$LDFLAGS,;t t
5590 s,@CPPFLAGS@,$CPPFLAGS,;t t
5591 s,@ac_ct_CC@,$ac_ct_CC,;t t
5592 s,@EXEEXT@,$EXEEXT,;t t
5593 s,@OBJEXT@,$OBJEXT,;t t
5596 s,@X_CFLAGS@,$X_CFLAGS,;t t
5597 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
5598 s,@X_LIBS@,$X_LIBS,;t t
5599 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
5600 s,@X_LIBRARY_PATH@,$X_LIBRARY_PATH,;t t
5601 s,@XCFLAGS@,$XCFLAGS,;t t
5602 s,@XLFLAGS@,$XLFLAGS,;t t
5603 s,@XLIBS@,$XLIBS,;t t
5604 s,@DFLAGS@,$DFLAGS,;t t
5606 s,@SETGID_FLAGS@,$SETGID_FLAGS,;t t
5607 s,@LIBRARY_SEARCH_PATH@,$LIBRARY_SEARCH_PATH,;t t
5608 s,@HEADER_SEARCH_PATH@,$HEADER_SEARCH_PATH,;t t
5613 cat >>$CONFIG_STATUS <<\_ACEOF
5614 # Split the substitutions into bite-sized pieces for seds with
5615 # small command number limits, like on Digital OSF/1 and HP-UX.
5617 ac_sed_frag
=1 # Number of current file.
5618 ac_beg
=1 # First line for current file.
5619 ac_end
=$ac_max_sed_lines # Line after last line for current file.
5622 while $ac_more_lines; do
5623 if test $ac_beg -gt 1; then
5624 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
5626 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
5628 if test ! -s $tmp/subs.frag
; then
5631 # The purpose of the label and of the branching condition is to
5632 # speed up the sed processing (if there are no `@' at all, there
5633 # is no need to browse any of the substitutions).
5634 # These are the two extra sed commands mentioned above.
5636 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
5637 if test -z "$ac_sed_cmds"; then
5638 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
5640 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
5642 ac_sed_frag
=`expr $ac_sed_frag + 1`
5644 ac_end
=`expr $ac_end + $ac_max_sed_lines`
5647 if test -z "$ac_sed_cmds"; then
5650 fi # test -n "$CONFIG_FILES"
5653 cat >>$CONFIG_STATUS <<\_ACEOF
5654 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
5655 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5657 - |
*:- |
*:-:* ) # input from stdin
5659 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
5660 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
5661 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
5662 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
5663 * ) ac_file_in
=$ac_file.
in ;;
5666 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
5667 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
5668 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5669 X"$ac_file" : 'X\(//\)[^/]' \| \
5670 X"$ac_file" : 'X\(//\)$' \| \
5671 X"$ac_file" : 'X\(/\)' \| \
5672 . : '\(.\)' 2>/dev/null ||
5674 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5675 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5676 /^X\(\/\/\)$/{ s//\1/; q; }
5677 /^X\(\/\).*/{ s//\1/; q; }
5680 [\\/]* | ?
:[\\/]* ) as_incr_dir
=;;
5684 for as_mkdir_dir
in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
5685 case $as_mkdir_dir in
5686 # Skip DOS drivespec
5687 ?
:) as_incr_dir
=$as_mkdir_dir ;;
5689 as_incr_dir
=$as_incr_dir/$as_mkdir_dir
5690 test -d "$as_incr_dir" ||
5691 mkdir
"$as_incr_dir" ||
5692 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
5693 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
5694 { (exit 1); exit 1; }; }
5701 if test "$ac_dir" != .
; then
5702 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5703 # A "../" for each directory in $ac_dir_suffix.
5704 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5706 ac_dir_suffix
= ac_top_builddir
=
5710 .
) # No --srcdir option. We are building in place.
5712 if test -z "$ac_top_builddir"; then
5715 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
5717 [\\/]* | ?
:[\\/]* ) # Absolute path.
5718 ac_srcdir
=$srcdir$ac_dir_suffix;
5719 ac_top_srcdir
=$srcdir ;;
5721 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
5722 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
5724 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
5726 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
5727 ac_abs_top_builddir
=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
5728 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
5729 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
5733 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
5734 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
5737 if test x
"$ac_file" != x-
; then
5738 { echo "$as_me:$LINENO: creating $ac_file" >&5
5739 echo "$as_me: creating $ac_file" >&6;}
5742 # Let's still pretend it is `configure' which instantiates (i.e., don't
5743 # use $as_me), people would be surprised to read:
5744 # /* config.h. Generated by config.status. */
5745 if test x
"$ac_file" = x-
; then
5748 configure_input
="$ac_file. "
5750 configure_input
=$configure_input"Generated from `echo $ac_file_in |
5751 sed 's,.*/,,'` by configure."
5753 # First look for the input files in the build tree, otherwise in the
5755 ac_file_inputs
=`IFS=:
5756 for f in $ac_file_in; do
5758 -) echo $tmp/stdin ;;
5760 # Absolute (can't be DOS-style, as IFS=:)
5761 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5762 echo "$as_me: error: cannot find input file: $f" >&2;}
5763 { (exit 1); exit 1; }; }
5766 if test -f "$f"; then
5769 elif test -f "$srcdir/$f"; then
5774 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5775 echo "$as_me: error: cannot find input file: $f" >&2;}
5776 { (exit 1); exit 1; }; }
5779 done` ||
{ (exit 1); exit 1; }
5781 cat >>$CONFIG_STATUS <<_ACEOF
5785 cat >>$CONFIG_STATUS <<\_ACEOF
5787 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
5788 s
,@configure_input@
,$configure_input,;t t
5789 s
,@srcdir@
,$ac_srcdir,;t t
5790 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
5791 s
,@top_srcdir@
,$ac_top_srcdir,;t t
5792 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
5793 s
,@builddir@
,$ac_builddir,;t t
5794 s
,@abs_builddir@
,$ac_abs_builddir,;t t
5795 s
,@top_builddir@
,$ac_top_builddir,;t t
5796 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
5797 s
,@INSTALL@
,$ac_INSTALL,;t t
5798 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
5800 if test x"$ac_file" != x-; then
5801 mv $tmp/out $ac_file
5809 cat >>$CONFIG_STATUS <<\_ACEOF
5812 # CONFIG_HEADER section.
5815 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
5816 # NAME is the cpp macro being defined and VALUE is the value it is being given.
5818 # ac_d sets the value in "#define NAME VALUE" lines.
5819 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
5820 ac_dB
='[ ].*$,\1#\2'
5823 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
5824 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
5825 ac_uB
='$,\1#\2define\3'
5829 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
5830 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5832 - |
*:- |
*:-:* ) # input from stdin
5834 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
5835 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
5836 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
5837 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
5838 * ) ac_file_in
=$ac_file.
in ;;
5841 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
5842 echo "$as_me: creating $ac_file" >&6;}
5844 # First look for the input files in the build tree, otherwise in the
5846 ac_file_inputs
=`IFS=:
5847 for f in $ac_file_in; do
5849 -) echo $tmp/stdin ;;
5851 # Absolute (can't be DOS-style, as IFS=:)
5852 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5853 echo "$as_me: error: cannot find input file: $f" >&2;}
5854 { (exit 1); exit 1; }; }
5857 if test -f "$f"; then
5860 elif test -f "$srcdir/$f"; then
5865 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5866 echo "$as_me: error: cannot find input file: $f" >&2;}
5867 { (exit 1); exit 1; }; }
5870 done` ||
{ (exit 1); exit 1; }
5871 # Remove the trailing spaces.
5872 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
5876 # Transform confdefs.h into two sed scripts, `conftest.defines' and
5877 # `conftest.undefs', that substitutes the proper values into
5878 # config.h.in to produce config.h. The first handles `#define'
5879 # templates, and the second `#undef' templates.
5880 # And first: Protect against being on the right side of a sed subst in
5881 # config.status. Protect against being in an unquoted here document
5883 rm -f conftest.defines conftest.undefs
5884 # Using a here document instead of a string reduces the quoting nightmare.
5885 # Putting comments in sed scripts is not portable.
5887 # `end' is used to avoid that the second main sed command (meant for
5888 # 0-ary CPP macros) applies to n-ary macro definitions.
5889 # See the Autoconf documentation for `clear'.
5890 cat >confdef2sed.
sed <<\_ACEOF
5895 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
5897 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
5900 # If some macros were called several times there might be several times
5901 # the same #defines, which is useless. Nevertheless, we may not want to
5902 # sort them, since we want the *last* AC-DEFINE to be honored.
5903 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
5904 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
5905 rm -f confdef2sed.sed
5907 # This sed command replaces #undef with comments. This is necessary, for
5908 # example, in the case of _POSIX_SOURCE, which is predefined and required
5909 # on some systems where configure will not decide to define it.
5910 cat >>conftest.undefs <<\_ACEOF
5911 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
5914 # Break up conftest.defines because some shells have a limit on the size
5915 # of here documents, and old seds have small limits too (100 cmds).
5916 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
5917 echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
5918 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
5919 echo ' :' >>$CONFIG_STATUS
5921 while grep . conftest.defines >/dev/null
5923 # Write a limited-size here document to $tmp/defines.sed.
5924 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
5925 # Speed up: don't consider the non `#define' lines.
5926 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
5927 # Work around the forget-to-reset-the-flag bug.
5928 echo 't clr' >>$CONFIG_STATUS
5929 echo ': clr' >>$CONFIG_STATUS
5930 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
5932 sed -f $tmp/defines.sed $tmp/in >$tmp/out
5936 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
5937 rm -f conftest.defines
5938 mv conftest.
tail conftest.defines
5940 rm -f conftest.defines
5941 echo ' fi # egrep' >>$CONFIG_STATUS
5942 echo >>$CONFIG_STATUS
5944 # Break up conftest.undefs because some shells have a limit on the size
5945 # of here documents, and old seds have small limits too (100 cmds).
5946 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
5948 while grep . conftest.undefs
>/dev
/null
5950 # Write a limited-size here document to $tmp/undefs.sed.
5951 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
5952 # Speed up: don't consider the non
`#undef'
5953 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
5954 # Work around the forget-to-reset-the-flag bug.
5955 echo 't clr' >>$CONFIG_STATUS
5956 echo ': clr' >>$CONFIG_STATUS
5957 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
5959 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
5963 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
5964 rm -f conftest.undefs
5965 mv conftest.tail conftest.undefs
5967 rm -f conftest.undefs
5969 cat >>$CONFIG_STATUS <<\_ACEOF
5970 # Let's still pretend it is `configure
' which instantiates (i.e., don't
5971 # use $as_me), people would be surprised to read:
5972 # /* config.h. Generated by config.status. */
5973 if test x
"$ac_file" = x-
; then
5974 echo "/* Generated by configure. */" >$tmp/config.h
5976 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
5978 cat $tmp/in >>$tmp/config.h
5980 if test x
"$ac_file" != x-
; then
5981 if cmp -s $ac_file $tmp/config.h
2>/dev
/null
; then
5982 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
5983 echo "$as_me: $ac_file is unchanged" >&6;}
5985 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
5986 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5987 X"$ac_file" : 'X\(//\)[^/]' \| \
5988 X"$ac_file" : 'X\(//\)$' \| \
5989 X"$ac_file" : 'X\(/\)' \| \
5990 . : '\(.\)' 2>/dev/null ||
5992 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5993 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5994 /^X\(\/\/\)$/{ s//\1/; q; }
5995 /^X\(\/\).*/{ s//\1/; q; }
5998 [\\/]* | ?
:[\\/]* ) as_incr_dir
=;;
6002 for as_mkdir_dir
in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
6003 case $as_mkdir_dir in
6004 # Skip DOS drivespec
6005 ?
:) as_incr_dir
=$as_mkdir_dir ;;
6007 as_incr_dir
=$as_incr_dir/$as_mkdir_dir
6008 test -d "$as_incr_dir" ||
6009 mkdir
"$as_incr_dir" ||
6010 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
6011 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
6012 { (exit 1); exit 1; }; }
6018 mv $tmp/config.h
$ac_file
6026 cat >>$CONFIG_STATUS <<\_ACEOF
6029 # CONFIG_COMMANDS section.
6031 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
6032 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
6033 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6034 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
6035 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6036 X"$ac_dest" : 'X\(//\)[^/]' \| \
6037 X"$ac_dest" : 'X\(//\)$' \| \
6038 X"$ac_dest" : 'X\(/\)' \| \
6039 . : '\(.\)' 2>/dev/null ||
6041 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6042 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6043 /^X\(\/\/\)$/{ s//\1/; q; }
6044 /^X\(\/\).*/{ s//\1/; q; }
6048 if test "$ac_dir" != .
; then
6049 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6050 # A "../" for each directory in $ac_dir_suffix.
6051 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6053 ac_dir_suffix
= ac_top_builddir
=
6057 .
) # No --srcdir option. We are building in place.
6059 if test -z "$ac_top_builddir"; then
6062 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
6064 [\\/]* | ?
:[\\/]* ) # Absolute path.
6065 ac_srcdir
=$srcdir$ac_dir_suffix;
6066 ac_top_srcdir
=$srcdir ;;
6068 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
6069 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
6071 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
6073 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
6074 ac_abs_top_builddir
=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
6075 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
6076 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
6079 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
6080 echo "$as_me: executing $ac_dest commands" >&6;}
6082 default-1
) test -z "$CONFIG_HEADERS" ||
echo timestamp
> stamp-h
;;
6087 cat >>$CONFIG_STATUS <<\_ACEOF
6089 { (exit 0); exit 0; }
6091 chmod +x
$CONFIG_STATUS
6092 ac_clean_files
=$ac_clean_files_save
6095 # configure is writing to config.log, and then calls config.status.
6096 # config.status does its own redirection, appending to config.log.
6097 # Unfortunately, on DOS this fails, as config.log is still kept open
6098 # by configure, so config.status won't be able to write to it; its
6099 # output is simply discarded. So we exec the FD to /dev/null,
6100 # effectively closing config.log, so it can be properly (re)opened and
6101 # appended to by config.status. When coming back to configure, we
6102 # need to make the FD available again.
6103 if test "$no_create" != yes; then
6106 $SHELL $CONFIG_STATUS || ac_cs_success
=false
6108 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6109 # would make configure fail if this is the last instruction.
6110 $ac_cs_success ||
{ (exit 1); exit 1; }