2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.53 for wmcpuload 1.0.0.
5 # Report bugs to <ssato@sh.rim.or.jp>.
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
='wmcpuload'
258 PACKAGE_TARNAME
='wmcpuload'
259 PACKAGE_VERSION
='1.0.0'
260 PACKAGE_STRING
='wmcpuload 1.0.0'
261 PACKAGE_BUGREPORT
='ssato@sh.rim.or.jp'
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 wmcpuload 1.0.0 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 wmcpuload 1.0.0:";;
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
=no
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 <ssato@sh.rim.or.jp>.
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 wmcpuload configure 1.0.0
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 wmcpuload $as_me 1.0.0, 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"
3884 inc_search_path
="$inc_search_path $XCFLAGS"
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"
4022 # Check whether --enable-debug or --disable-debug was given.
4023 if test "${enable_debug+set}" = set; then
4024 enableval
="$enable_debug"
4029 if test "$enable_debug" = yes; then
4030 DFLAGS
="-Wall -g -ansi -pedantic"
4039 case ${target_os} in
4044 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4045 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4046 if test "${ac_cv_header_stdc+set}" = set; then
4047 echo $ECHO_N "(cached) $ECHO_C" >&6
4049 cat >conftest.
$ac_ext <<_ACEOF
4050 #line $LINENO "configure"
4051 #include "confdefs.h"
4058 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4059 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4061 egrep -v '^ *\+' conftest.er1
>conftest.err
4063 cat conftest.err
>&5
4064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4065 (exit $ac_status); } >/dev
/null
; then
4066 if test -s conftest.err
; then
4067 ac_cpp_err
=$ac_c_preproc_warn_flag
4074 if test -z "$ac_cpp_err"; then
4075 ac_cv_header_stdc
=yes
4077 echo "$as_me: failed program was:" >&5
4078 cat conftest.
$ac_ext >&5
4079 ac_cv_header_stdc
=no
4081 rm -f conftest.err conftest.
$ac_ext
4083 if test $ac_cv_header_stdc = yes; then
4084 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4085 cat >conftest.
$ac_ext <<_ACEOF
4086 #line $LINENO "configure"
4087 #include "confdefs.h"
4091 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4092 egrep "memchr" >/dev
/null
2>&1; then
4095 ac_cv_header_stdc
=no
4101 if test $ac_cv_header_stdc = yes; then
4102 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4103 cat >conftest.
$ac_ext <<_ACEOF
4104 #line $LINENO "configure"
4105 #include "confdefs.h"
4109 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4110 egrep "free" >/dev
/null
2>&1; then
4113 ac_cv_header_stdc
=no
4119 if test $ac_cv_header_stdc = yes; then
4120 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4121 if test "$cross_compiling" = yes; then
4124 cat >conftest.
$ac_ext <<_ACEOF
4125 #line $LINENO "configure"
4126 #include "confdefs.h"
4128 #if ((' ' & 0x0FF) == 0x020)
4129 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4130 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4132 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
4133 || ('j' <= (c) && (c) <= 'r') \
4134 || ('s' <= (c) && (c) <= 'z'))
4135 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4138 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4143 for (i = 0; i < 256; i++)
4144 if (XOR (islower (i), ISLOWER (i))
4145 || toupper (i) != TOUPPER (i))
4150 rm -f conftest
$ac_exeext
4151 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4152 (eval $ac_link) 2>&5
4154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4155 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4160 (exit $ac_status); }; }; then
4163 echo "$as_me: program exited with status $ac_status" >&5
4164 echo "$as_me: failed program was:" >&5
4165 cat conftest.
$ac_ext >&5
4167 ac_cv_header_stdc
=no
4169 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4173 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4174 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4175 if test $ac_cv_header_stdc = yes; then
4177 cat >>confdefs.h
<<\_ACEOF
4178 #define STDC_HEADERS 1
4183 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4193 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4194 inttypes.h stdint.h unistd.h
4196 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4197 echo "$as_me:$LINENO: checking for $ac_header" >&5
4198 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4199 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4200 echo $ECHO_N "(cached) $ECHO_C" >&6
4202 cat >conftest.
$ac_ext <<_ACEOF
4203 #line $LINENO "configure"
4204 #include "confdefs.h"
4205 $ac_includes_default
4207 #include <$ac_header>
4209 rm -f conftest.
$ac_objext
4210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4211 (eval $ac_compile) 2>&5
4213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4214 (exit $ac_status); } &&
4215 { ac_try
='test -s conftest.$ac_objext'
4216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4220 (exit $ac_status); }; }; then
4221 eval "$as_ac_Header=yes"
4223 echo "$as_me: failed program was:" >&5
4224 cat conftest.
$ac_ext >&5
4225 eval "$as_ac_Header=no"
4227 rm -f conftest.
$ac_objext conftest.
$ac_ext
4229 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4230 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4231 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4232 cat >>confdefs.h
<<_ACEOF
4233 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4241 if test "${ac_cv_header_linux_threads_h+set}" = set; then
4242 echo "$as_me:$LINENO: checking for linux/threads.h" >&5
4243 echo $ECHO_N "checking for linux/threads.h... $ECHO_C" >&6
4244 if test "${ac_cv_header_linux_threads_h+set}" = set; then
4245 echo $ECHO_N "(cached) $ECHO_C" >&6
4247 echo "$as_me:$LINENO: result: $ac_cv_header_linux_threads_h" >&5
4248 echo "${ECHO_T}$ac_cv_header_linux_threads_h" >&6
4250 # Is the header compilable?
4251 echo "$as_me:$LINENO: checking linux/threads.h usability" >&5
4252 echo $ECHO_N "checking linux/threads.h usability... $ECHO_C" >&6
4253 cat >conftest.
$ac_ext <<_ACEOF
4254 #line $LINENO "configure"
4255 #include "confdefs.h"
4256 $ac_includes_default
4257 #include <linux/threads.h>
4259 rm -f conftest.
$ac_objext
4260 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4261 (eval $ac_compile) 2>&5
4263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4264 (exit $ac_status); } &&
4265 { ac_try
='test -s conftest.$ac_objext'
4266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4270 (exit $ac_status); }; }; then
4271 ac_header_compiler
=yes
4273 echo "$as_me: failed program was:" >&5
4274 cat conftest.
$ac_ext >&5
4275 ac_header_compiler
=no
4277 rm -f conftest.
$ac_objext conftest.
$ac_ext
4278 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4279 echo "${ECHO_T}$ac_header_compiler" >&6
4281 # Is the header present?
4282 echo "$as_me:$LINENO: checking linux/threads.h presence" >&5
4283 echo $ECHO_N "checking linux/threads.h presence... $ECHO_C" >&6
4284 cat >conftest.
$ac_ext <<_ACEOF
4285 #line $LINENO "configure"
4286 #include "confdefs.h"
4287 #include <linux/threads.h>
4289 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4290 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4292 egrep -v '^ *\+' conftest.er1
>conftest.err
4294 cat conftest.err
>&5
4295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4296 (exit $ac_status); } >/dev
/null
; then
4297 if test -s conftest.err
; then
4298 ac_cpp_err
=$ac_c_preproc_warn_flag
4305 if test -z "$ac_cpp_err"; then
4306 ac_header_preproc
=yes
4308 echo "$as_me: failed program was:" >&5
4309 cat conftest.
$ac_ext >&5
4310 ac_header_preproc
=no
4312 rm -f conftest.err conftest.
$ac_ext
4313 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4314 echo "${ECHO_T}$ac_header_preproc" >&6
4316 # So? What about this header?
4317 case $ac_header_compiler:$ac_header_preproc in
4319 { echo "$as_me:$LINENO: WARNING: linux/threads.h: accepted by the compiler, rejected by the preprocessor!" >&5
4320 echo "$as_me: WARNING: linux/threads.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4321 { echo "$as_me:$LINENO: WARNING: linux/threads.h: proceeding with the preprocessor's result" >&5
4322 echo "$as_me: WARNING: linux/threads.h: proceeding with the preprocessor's result" >&2;};;
4324 { echo "$as_me:$LINENO: WARNING: linux/threads.h: present but cannot be compiled" >&5
4325 echo "$as_me: WARNING: linux/threads.h: present but cannot be compiled" >&2;}
4326 { echo "$as_me:$LINENO: WARNING: linux/threads.h: check for missing prerequisite headers?" >&5
4327 echo "$as_me: WARNING: linux/threads.h: check for missing prerequisite headers?" >&2;}
4328 { echo "$as_me:$LINENO: WARNING: linux/threads.h: proceeding with the preprocessor's result" >&5
4329 echo "$as_me: WARNING: linux/threads.h: proceeding with the preprocessor's result" >&2;};;
4331 echo "$as_me:$LINENO: checking for linux/threads.h" >&5
4332 echo $ECHO_N "checking for linux/threads.h... $ECHO_C" >&6
4333 if test "${ac_cv_header_linux_threads_h+set}" = set; then
4334 echo $ECHO_N "(cached) $ECHO_C" >&6
4336 ac_cv_header_linux_threads_h
=$ac_header_preproc
4338 echo "$as_me:$LINENO: result: $ac_cv_header_linux_threads_h" >&5
4339 echo "${ECHO_T}$ac_cv_header_linux_threads_h" >&6
4342 if test $ac_cv_header_linux_threads_h = yes; then
4344 cat >>confdefs.h
<<\_ACEOF
4349 echo "linux/threads.h header file was not found, but is necessary to support mulit processors"
4358 SETGID_FLAGS
="-g kmem -m 2755 -o root"
4374 LIBS
="$LIBS -lkstat"
4381 echo "Sorry, ${target_os} is not supported yet"
4391 if test "$ignore_nice" = yes; then
4393 cat >>confdefs.h
<<\_ACEOF
4394 #define IGNORE_NICE 1
4398 if test "$ignore_proc" = yes; then
4400 cat >>confdefs.h
<<\_ACEOF
4401 #define IGNORE_PROC 1
4408 LIBRARY_SEARCH_PATH
="$lib_search_path"
4409 HEADER_SEARCH_PATH
="$inc_search_path"
4414 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4415 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4416 if test "${ac_cv_header_stdc+set}" = set; then
4417 echo $ECHO_N "(cached) $ECHO_C" >&6
4419 cat >conftest.
$ac_ext <<_ACEOF
4420 #line $LINENO "configure"
4421 #include "confdefs.h"
4428 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4429 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4431 egrep -v '^ *\+' conftest.er1
>conftest.err
4433 cat conftest.err
>&5
4434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4435 (exit $ac_status); } >/dev
/null
; then
4436 if test -s conftest.err
; then
4437 ac_cpp_err
=$ac_c_preproc_warn_flag
4444 if test -z "$ac_cpp_err"; then
4445 ac_cv_header_stdc
=yes
4447 echo "$as_me: failed program was:" >&5
4448 cat conftest.
$ac_ext >&5
4449 ac_cv_header_stdc
=no
4451 rm -f conftest.err conftest.
$ac_ext
4453 if test $ac_cv_header_stdc = yes; then
4454 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4455 cat >conftest.
$ac_ext <<_ACEOF
4456 #line $LINENO "configure"
4457 #include "confdefs.h"
4461 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4462 egrep "memchr" >/dev
/null
2>&1; then
4465 ac_cv_header_stdc
=no
4471 if test $ac_cv_header_stdc = yes; then
4472 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4473 cat >conftest.
$ac_ext <<_ACEOF
4474 #line $LINENO "configure"
4475 #include "confdefs.h"
4479 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4480 egrep "free" >/dev
/null
2>&1; then
4483 ac_cv_header_stdc
=no
4489 if test $ac_cv_header_stdc = yes; then
4490 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4491 if test "$cross_compiling" = yes; then
4494 cat >conftest.
$ac_ext <<_ACEOF
4495 #line $LINENO "configure"
4496 #include "confdefs.h"
4498 #if ((' ' & 0x0FF) == 0x020)
4499 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4500 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4502 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
4503 || ('j' <= (c) && (c) <= 'r') \
4504 || ('s' <= (c) && (c) <= 'z'))
4505 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4508 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4513 for (i = 0; i < 256; i++)
4514 if (XOR (islower (i), ISLOWER (i))
4515 || toupper (i) != TOUPPER (i))
4520 rm -f conftest
$ac_exeext
4521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4522 (eval $ac_link) 2>&5
4524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4525 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4530 (exit $ac_status); }; }; then
4533 echo "$as_me: program exited with status $ac_status" >&5
4534 echo "$as_me: failed program was:" >&5
4535 cat conftest.
$ac_ext >&5
4537 ac_cv_header_stdc
=no
4539 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4543 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4544 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4545 if test $ac_cv_header_stdc = yes; then
4547 cat >>confdefs.h
<<\_ACEOF
4548 #define STDC_HEADERS 1
4553 echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
4554 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
4555 if test "${ac_cv_header_sys_wait_h+set}" = set; then
4556 echo $ECHO_N "(cached) $ECHO_C" >&6
4558 cat >conftest.
$ac_ext <<_ACEOF
4559 #line $LINENO "configure"
4560 #include "confdefs.h"
4561 #include <sys/types.h>
4562 #include <sys/wait.h>
4564 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
4567 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
4570 #ifdef F77_DUMMY_MAIN
4574 int F77_DUMMY_MAIN() { return 1; }
4581 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
4586 rm -f conftest.
$ac_objext
4587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4588 (eval $ac_compile) 2>&5
4590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4591 (exit $ac_status); } &&
4592 { ac_try
='test -s conftest.$ac_objext'
4593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4597 (exit $ac_status); }; }; then
4598 ac_cv_header_sys_wait_h
=yes
4600 echo "$as_me: failed program was:" >&5
4601 cat conftest.
$ac_ext >&5
4602 ac_cv_header_sys_wait_h
=no
4604 rm -f conftest.
$ac_objext conftest.
$ac_ext
4606 echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
4607 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
4608 if test $ac_cv_header_sys_wait_h = yes; then
4610 cat >>confdefs.h
<<\_ACEOF
4611 #define HAVE_SYS_WAIT_H 1
4616 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
4617 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
4618 if test "${ac_cv_header_time+set}" = set; then
4619 echo $ECHO_N "(cached) $ECHO_C" >&6
4621 cat >conftest.
$ac_ext <<_ACEOF
4622 #line $LINENO "configure"
4623 #include "confdefs.h"
4624 #include <sys/types.h>
4625 #include <sys/time.h>
4628 #ifdef F77_DUMMY_MAIN
4632 int F77_DUMMY_MAIN() { return 1; }
4637 if ((struct tm *) 0)
4643 rm -f conftest.
$ac_objext
4644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4645 (eval $ac_compile) 2>&5
4647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4648 (exit $ac_status); } &&
4649 { ac_try
='test -s conftest.$ac_objext'
4650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4654 (exit $ac_status); }; }; then
4655 ac_cv_header_time
=yes
4657 echo "$as_me: failed program was:" >&5
4658 cat conftest.
$ac_ext >&5
4659 ac_cv_header_time
=no
4661 rm -f conftest.
$ac_objext conftest.
$ac_ext
4663 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
4664 echo "${ECHO_T}$ac_cv_header_time" >&6
4665 if test $ac_cv_header_time = yes; then
4667 cat >>confdefs.h
<<\_ACEOF
4668 #define TIME_WITH_SYS_TIME 1
4682 for ac_header
in fcntl.h memory.h stddef.h stdlib.h string.h
strings.h sys
/param.h sys
/time.h unistd.h
4684 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4685 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4686 echo "$as_me:$LINENO: checking for $ac_header" >&5
4687 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4688 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4689 echo $ECHO_N "(cached) $ECHO_C" >&6
4691 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4692 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4694 # Is the header compilable?
4695 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4696 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4697 cat >conftest.
$ac_ext <<_ACEOF
4698 #line $LINENO "configure"
4699 #include "confdefs.h"
4700 $ac_includes_default
4701 #include <$ac_header>
4703 rm -f conftest.
$ac_objext
4704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4705 (eval $ac_compile) 2>&5
4707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4708 (exit $ac_status); } &&
4709 { ac_try
='test -s conftest.$ac_objext'
4710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4714 (exit $ac_status); }; }; then
4715 ac_header_compiler
=yes
4717 echo "$as_me: failed program was:" >&5
4718 cat conftest.
$ac_ext >&5
4719 ac_header_compiler
=no
4721 rm -f conftest.
$ac_objext conftest.
$ac_ext
4722 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4723 echo "${ECHO_T}$ac_header_compiler" >&6
4725 # Is the header present?
4726 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4727 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4728 cat >conftest.
$ac_ext <<_ACEOF
4729 #line $LINENO "configure"
4730 #include "confdefs.h"
4731 #include <$ac_header>
4733 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4734 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4736 egrep -v '^ *\+' conftest.er1
>conftest.err
4738 cat conftest.err
>&5
4739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4740 (exit $ac_status); } >/dev
/null
; then
4741 if test -s conftest.err
; then
4742 ac_cpp_err
=$ac_c_preproc_warn_flag
4749 if test -z "$ac_cpp_err"; then
4750 ac_header_preproc
=yes
4752 echo "$as_me: failed program was:" >&5
4753 cat conftest.
$ac_ext >&5
4754 ac_header_preproc
=no
4756 rm -f conftest.err conftest.
$ac_ext
4757 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4758 echo "${ECHO_T}$ac_header_preproc" >&6
4760 # So? What about this header?
4761 case $ac_header_compiler:$ac_header_preproc in
4763 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4764 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4765 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4766 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
4768 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4769 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4770 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4771 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4772 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4773 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
4775 echo "$as_me:$LINENO: checking for $ac_header" >&5
4776 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4777 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4778 echo $ECHO_N "(cached) $ECHO_C" >&6
4780 eval "$as_ac_Header=$ac_header_preproc"
4782 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4783 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4786 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4787 cat >>confdefs.h
<<_ACEOF
4788 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4797 for ac_header
in stdlib.h
4799 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4800 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4801 echo "$as_me:$LINENO: checking for $ac_header" >&5
4802 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4803 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4804 echo $ECHO_N "(cached) $ECHO_C" >&6
4806 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4807 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4809 # Is the header compilable?
4810 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4811 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4812 cat >conftest.
$ac_ext <<_ACEOF
4813 #line $LINENO "configure"
4814 #include "confdefs.h"
4815 $ac_includes_default
4816 #include <$ac_header>
4818 rm -f conftest.
$ac_objext
4819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4820 (eval $ac_compile) 2>&5
4822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4823 (exit $ac_status); } &&
4824 { ac_try
='test -s conftest.$ac_objext'
4825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4829 (exit $ac_status); }; }; then
4830 ac_header_compiler
=yes
4832 echo "$as_me: failed program was:" >&5
4833 cat conftest.
$ac_ext >&5
4834 ac_header_compiler
=no
4836 rm -f conftest.
$ac_objext conftest.
$ac_ext
4837 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4838 echo "${ECHO_T}$ac_header_compiler" >&6
4840 # Is the header present?
4841 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4842 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4843 cat >conftest.
$ac_ext <<_ACEOF
4844 #line $LINENO "configure"
4845 #include "confdefs.h"
4846 #include <$ac_header>
4848 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4849 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4851 egrep -v '^ *\+' conftest.er1
>conftest.err
4853 cat conftest.err
>&5
4854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4855 (exit $ac_status); } >/dev
/null
; then
4856 if test -s conftest.err
; then
4857 ac_cpp_err
=$ac_c_preproc_warn_flag
4864 if test -z "$ac_cpp_err"; then
4865 ac_header_preproc
=yes
4867 echo "$as_me: failed program was:" >&5
4868 cat conftest.
$ac_ext >&5
4869 ac_header_preproc
=no
4871 rm -f conftest.err conftest.
$ac_ext
4872 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4873 echo "${ECHO_T}$ac_header_preproc" >&6
4875 # So? What about this header?
4876 case $ac_header_compiler:$ac_header_preproc in
4878 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4879 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4880 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4881 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
4883 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4884 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4885 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4886 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4887 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4888 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
4890 echo "$as_me:$LINENO: checking for $ac_header" >&5
4891 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4892 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4893 echo $ECHO_N "(cached) $ECHO_C" >&6
4895 eval "$as_ac_Header=$ac_header_preproc"
4897 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4898 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4901 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4902 cat >>confdefs.h
<<_ACEOF
4903 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4910 echo "$as_me:$LINENO: checking for working malloc" >&5
4911 echo $ECHO_N "checking for working malloc... $ECHO_C" >&6
4912 if test "${ac_cv_func_malloc_works+set}" = set; then
4913 echo $ECHO_N "(cached) $ECHO_C" >&6
4915 if test "$cross_compiling" = yes; then
4916 ac_cv_func_malloc_works
=no
4918 cat >conftest.
$ac_ext <<_ACEOF
4919 #line $LINENO "configure"
4920 #include "confdefs.h"
4921 #if STDC_HEADERS || HAVE_STDLIB_H
4922 # include <stdlib.h>
4927 #ifdef F77_DUMMY_MAIN
4931 int F77_DUMMY_MAIN() { return 1; }
4936 exit (malloc (0) ? 0 : 1);
4941 rm -f conftest
$ac_exeext
4942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4943 (eval $ac_link) 2>&5
4945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4946 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4951 (exit $ac_status); }; }; then
4952 ac_cv_func_malloc_works
=yes
4954 echo "$as_me: program exited with status $ac_status" >&5
4955 echo "$as_me: failed program was:" >&5
4956 cat conftest.
$ac_ext >&5
4958 ac_cv_func_malloc_works
=no
4960 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4963 echo "$as_me:$LINENO: result: $ac_cv_func_malloc_works" >&5
4964 echo "${ECHO_T}$ac_cv_func_malloc_works" >&6
4965 if test $ac_cv_func_malloc_works = yes; then
4967 cat >>confdefs.h
<<\_ACEOF
4968 #define HAVE_MALLOC 1
4974 for ac_func
in select
4976 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4977 echo "$as_me:$LINENO: checking for $ac_func" >&5
4978 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4979 if eval "test \"\${$as_ac_var+set}\" = set"; then
4980 echo $ECHO_N "(cached) $ECHO_C" >&6
4982 cat >conftest.
$ac_ext <<_ACEOF
4983 #line $LINENO "configure"
4984 #include "confdefs.h"
4985 /* System header to define __stub macros and hopefully few prototypes,
4986 which can conflict with char $ac_func (); below. */
4988 /* Override any gcc2 internal prototype to avoid an error. */
4992 /* We use char because int might match the return type of a gcc2
4993 builtin and then its argument prototype would still apply. */
4997 #ifdef F77_DUMMY_MAIN
5001 int F77_DUMMY_MAIN() { return 1; }
5006 /* The GNU C library defines this for functions which it implements
5007 to always fail with ENOSYS. Some functions are actually named
5008 something starting with __ and the normal name is an alias. */
5009 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5019 rm -f conftest.
$ac_objext conftest
$ac_exeext
5020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5021 (eval $ac_link) 2>&5
5023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5024 (exit $ac_status); } &&
5025 { ac_try
='test -s conftest$ac_exeext'
5026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5030 (exit $ac_status); }; }; then
5031 eval "$as_ac_var=yes"
5033 echo "$as_me: failed program was:" >&5
5034 cat conftest.
$ac_ext >&5
5035 eval "$as_ac_var=no"
5037 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5039 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5040 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5041 if test `eval echo '${'$as_ac_var'}'` = yes; then
5042 cat >>confdefs.h
<<_ACEOF
5043 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5050 ac_config_files
="$ac_config_files Makefile src/Makefile libdockapp/Makefile doc/Makefile icons/Makefile contrib/Makefile contrib/wmcpuload.spec"
5052 cat >confcache
<<\_ACEOF
5053 # This file is a shell script that caches the results of configure
5054 # tests run on this system so they can be shared between configure
5055 # scripts and configure runs, see configure's option --config-cache.
5056 # It is not useful on other systems. If it contains results you don't
5057 # want to keep, you may remove or edit it.
5059 # config.status only pays attention to the cache file if you give it
5060 # the --recheck option to rerun configure.
5062 # `ac_cv_env_foo' variables (set or unset) will be overriden when
5063 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5068 # The following way of writing the cache mishandles newlines in values,
5069 # but we know of no workaround that is simple, portable, and efficient.
5070 # So, don't put newlines in cache variables' values.
5071 # Ultrix sh set writes to stderr and can't be redirected directly,
5072 # and sets the high bit in the cache file unless we assign to the vars.
5075 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5077 # `set' does not quote correctly, so add quotes (double-quote
5078 # substitution turns \\\\ into \\, and sed turns \\ into \).
5081 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5084 # `set' quotes correctly as required by POSIX, so do not add quotes.
5086 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5093 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5095 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5097 if cmp -s $cache_file confcache
; then :; else
5098 if test -w $cache_file; then
5099 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5100 cat confcache
>$cache_file
5102 echo "not updating unwritable cache $cache_file"
5107 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
5108 # Let make expand exec_prefix.
5109 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
5111 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5112 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5113 # trailing colons and then remove the whole line if VPATH becomes empty
5114 # (actually we leave an empty line to preserve line numbers).
5115 if test "x$srcdir" = x.
; then
5116 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
5117 s/:*\$(srcdir):*/:/;
5118 s/:*\${srcdir}:*/:/;
5120 s/^\([^=]*=[ ]*\):*/\1/;
5126 DEFS
=-DHAVE_CONFIG_H
5129 : ${CONFIG_STATUS=./config.status}
5130 ac_clean_files_save
=$ac_clean_files
5131 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
5132 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5133 echo "$as_me: creating $CONFIG_STATUS" >&6;}
5134 cat >$CONFIG_STATUS <<_ACEOF
5136 # Generated by $as_me.
5137 # Run this file to recreate the current configuration.
5138 # Compiler output produced by configure, useful for debugging
5139 # configure, is in config.log if it exists.
5142 SHELL=\${CONFIG_SHELL-$SHELL}
5145 cat >>$CONFIG_STATUS <<\_ACEOF
5147 ## --------------------- ##
5148 ## M4sh Initialization. ##
5149 ## --------------------- ##
5151 # Be Bourne compatible
5152 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
5155 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
5160 # Support unset when possible.
5161 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
5167 (set +x
; test -n "`(LANG=C; export LANG) 2>&1`") &&
5168 { $as_unset LANG ||
test "${LANG+set}" != set; } ||
5169 { LANG
=C
; export LANG
; }
5170 (set +x
; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
5171 { $as_unset LC_ALL ||
test "${LC_ALL+set}" != set; } ||
5172 { LC_ALL
=C
; export LC_ALL
; }
5173 (set +x
; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
5174 { $as_unset LC_TIME ||
test "${LC_TIME+set}" != set; } ||
5175 { LC_TIME
=C
; export LC_TIME
; }
5176 (set +x
; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
5177 { $as_unset LC_CTYPE ||
test "${LC_CTYPE+set}" != set; } ||
5178 { LC_CTYPE
=C
; export LC_CTYPE
; }
5179 (set +x
; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
5180 { $as_unset LANGUAGE ||
test "${LANGUAGE+set}" != set; } ||
5181 { LANGUAGE
=C
; export LANGUAGE
; }
5182 (set +x
; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
5183 { $as_unset LC_COLLATE ||
test "${LC_COLLATE+set}" != set; } ||
5184 { LC_COLLATE
=C
; export LC_COLLATE
; }
5185 (set +x
; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
5186 { $as_unset LC_NUMERIC ||
test "${LC_NUMERIC+set}" != set; } ||
5187 { LC_NUMERIC
=C
; export LC_NUMERIC
; }
5188 (set +x
; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
5189 { $as_unset LC_MESSAGES ||
test "${LC_MESSAGES+set}" != set; } ||
5190 { LC_MESSAGES
=C
; export LC_MESSAGES
; }
5193 # Name of the executable.
5194 as_me
=`(basename "$0") 2>/dev/null ||
5195 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5196 X"$0" : 'X\(//\)$' \| \
5197 X"$0" : 'X\(/\)$' \| \
5198 . : '\(.\)' 2>/dev/null ||
5200 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
5201 /^X\/\(\/\/\)$/{ s//\1/; q; }
5202 /^X\/\(\/\).*/{ s//\1/; q; }
5205 # PATH needs CR, and LINENO needs CR and PATH.
5206 # Avoid depending upon Character Ranges.
5207 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
5208 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5209 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
5210 as_cr_digits
='0123456789'
5211 as_cr_alnum
=$as_cr_Letters$as_cr_digits
5213 # The user is always right.
5214 if test "${PATH_SEPARATOR+set}" != set; then
5215 echo "#! /bin/sh" >conftest.sh
5216 echo "exit 0" >>conftest.sh
5217 chmod +x conftest.sh
5218 if (PATH
=".;."; conftest.sh
) >/dev
/null
2>&1; then
5229 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
5230 test "x$as_lineno_1" != "x$as_lineno_2" &&
5231 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
5232 # Find who we are. Look in the path if we contain no path at all
5235 *[\\/]* ) as_myself
=$0 ;;
5236 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5240 test -z "$as_dir" && as_dir
=.
5241 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
5246 # We did not find ourselves, most probably we were run as `sh COMMAND'
5247 # in which case we are not to be found in the path.
5248 if test "x$as_myself" = x
; then
5251 if test ! -f "$as_myself"; then
5252 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
5253 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
5254 { (exit 1); exit 1; }; }
5256 case $CONFIG_SHELL in
5258 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5259 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
5262 test -z "$as_dir" && as_dir
=.
5263 for as_base
in sh bash ksh sh5
; do
5266 if ("$as_dir/$as_base" -c '
5269 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5270 test "x$as_lineno_1" != "x$as_lineno_2" &&
5271 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
5272 CONFIG_SHELL
=$as_dir/$as_base
5274 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
5282 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5283 # uniformly replaced by the line number. The first 'sed' inserts a
5284 # line-number line before each line; the second 'sed' does the real
5285 # work. The second script uses 'N' to pair each line-number line
5286 # with the numbered line, and appends trailing '-' during
5287 # substitution so that $LINENO is not a special case at line end.
5288 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5289 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
5290 sed '=' <$as_myself |
5295 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
5298 s,^['$as_cr_digits']*\n,,
5300 chmod +x
$as_me.lineno ||
5301 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
5302 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
5303 { (exit 1); exit 1; }; }
5305 # Don't try to exec as it changes $[0], causing all sort of problems
5306 # (the dirname of $[0] is not the place where we might find the
5307 # original and so on. Autoconf is especially sensible to this).
5309 # Exit status is that of the last command.
5314 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
5315 *c
*,-n*) ECHO_N
= ECHO_C
='
5317 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
5318 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
5321 if expr a
: '\(a\)' >/dev
/null
2>&1; then
5327 rm -f conf$$ conf$$.exe conf$$.
file
5329 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
5330 # We could just check for DJGPP; but this test a) works b) is more generic
5331 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
5332 if test -f conf$$.exe
; then
5333 # Don't use ln at all; we don't have any links
5338 elif ln conf$$.
file conf$$
2>/dev
/null
; then
5343 rm -f conf$$ conf$$.exe conf$$.
file
5345 as_executable_p
="test -f"
5347 # Sed expression to map a string onto a valid CPP name.
5348 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
5350 # Sed expression to map a string onto a valid variable name.
5351 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
5355 # We need space, tab and new line, in precisely that order.
5361 $as_unset CDPATH ||
test "${CDPATH+set}" != set ||
{ CDPATH
=$PATH_SEPARATOR; export CDPATH
; }
5365 # Open the log real soon, to keep \$[0] and so on meaningful, and to
5366 # report actual input values of CONFIG_FILES etc. instead of their
5367 # values after options handling. Logging --version etc. is OK.
5371 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5372 ## Running $as_me. ##
5377 This file was extended by wmcpuload $as_me 1.0.0, which was
5378 generated by GNU Autoconf 2.53. Invocation command line was
5380 CONFIG_FILES = $CONFIG_FILES
5381 CONFIG_HEADERS = $CONFIG_HEADERS
5382 CONFIG_LINKS = $CONFIG_LINKS
5383 CONFIG_COMMANDS = $CONFIG_COMMANDS
5387 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
5391 # Files that config.status was made for.
5392 if test -n "$ac_config_files"; then
5393 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
5396 if test -n "$ac_config_headers"; then
5397 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
5400 if test -n "$ac_config_links"; then
5401 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
5404 if test -n "$ac_config_commands"; then
5405 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
5408 cat >>$CONFIG_STATUS <<\_ACEOF
5411 \`$as_me' instantiates files from templates according to the
5412 current configuration.
5414 Usage: $0 [OPTIONS] [FILE]...
5416 -h, --help print this help, then exit
5417 -V, --version print version number, then exit
5418 -d, --debug don't remove temporary files
5419 --recheck update $as_me by reconfiguring in the same conditions
5420 --file=FILE[:TEMPLATE]
5421 instantiate the configuration file FILE
5422 --header=FILE[:TEMPLATE]
5423 instantiate the configuration header FILE
5425 Configuration files:
5428 Configuration headers:
5431 Configuration commands:
5434 Report bugs to <bug-autoconf@gnu.org>."
5437 cat >>$CONFIG_STATUS <<_ACEOF
5439 wmcpuload config.status 1.0.0
5440 configured by $0, generated by GNU Autoconf 2.53,
5441 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
5443 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
5444 Free Software Foundation, Inc.
5445 This config.status script is free software; the Free Software Foundation
5446 gives unlimited permission to copy, distribute and modify it."
5451 cat >>$CONFIG_STATUS <<\_ACEOF
5452 # If no file are specified by the user, then we need to provide default
5453 # value. By we need to know if files were specified by the user.
5459 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
5460 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
5462 set dummy
"$ac_option" "$ac_optarg" ${1+"$@"}
5466 *) # This is not an option, so the user has probably given explicit
5468 ac_need_defaults
=false
;;
5472 # Handling of the options.
5474 cat >>$CONFIG_STATUS <<_ACEOF
5475 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5476 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
5477 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
5479 cat >>$CONFIG_STATUS <<\_ACEOF
5480 --version |
--vers* |
-V )
5481 echo "$ac_cs_version"; exit 0 ;;
5483 # Conflict between --help and --header
5484 { { echo "$as_me:$LINENO: error: ambiguous option: $1
5485 Try \`$0 --help' for more information." >&5
5486 echo "$as_me: error: ambiguous option: $1
5487 Try \`$0 --help' for more information." >&2;}
5488 { (exit 1); exit 1; }; };;
5489 --help |
--hel |
-h )
5490 echo "$ac_cs_usage"; exit 0 ;;
5491 --debug |
--d* |
-d )
5493 --file |
--fil |
--fi |
--f )
5495 CONFIG_FILES
="$CONFIG_FILES $1"
5496 ac_need_defaults
=false
;;
5497 --header |
--heade |
--head |
--hea )
5499 CONFIG_HEADERS
="$CONFIG_HEADERS $1"
5500 ac_need_defaults
=false
;;
5503 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
5504 Try \`$0 --help' for more information." >&5
5505 echo "$as_me: error: unrecognized option: $1
5506 Try \`$0 --help' for more information." >&2;}
5507 { (exit 1); exit 1; }; } ;;
5509 *) ac_config_targets
="$ac_config_targets $1" ;;
5517 cat >>$CONFIG_STATUS <<_ACEOF
5519 # INIT-COMMANDS section.
5528 cat >>$CONFIG_STATUS <<\_ACEOF
5529 for ac_config_target
in $ac_config_targets
5531 case "$ac_config_target" in
5532 # Handling of arguments.
5533 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
5534 "src/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
5535 "libdockapp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES libdockapp/Makefile" ;;
5536 "doc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
5537 "icons/Makefile" ) CONFIG_FILES
="$CONFIG_FILES icons/Makefile" ;;
5538 "contrib/Makefile" ) CONFIG_FILES
="$CONFIG_FILES contrib/Makefile" ;;
5539 "contrib/wmcpuload.spec" ) CONFIG_FILES
="$CONFIG_FILES contrib/wmcpuload.spec" ;;
5540 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
5541 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
5542 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5543 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5544 { (exit 1); exit 1; }; };;
5548 # If the user did not use the arguments to specify the items to instantiate,
5549 # then the envvar interface is used. Set only those that are not.
5550 # We use the long form for the default assignment because of an extremely
5551 # bizarre bug on SunOS 4.1.3.
5552 if $ac_need_defaults; then
5553 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
5554 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
5555 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
5558 # Create a temporary directory, and hook for its removal unless debugging.
5561 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
5562 trap '{ (exit 1); exit 1; }' 1 2 13 15
5565 # Create a (secure) tmp directory for tmp files.
5568 tmp
=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
5569 test -n "$tmp" && test -d "$tmp"
5572 tmp
=$TMPDIR/cs$$
-$RANDOM
5573 (umask 077 && mkdir
$tmp)
5576 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
5577 { (exit 1); exit 1; }
5582 cat >>$CONFIG_STATUS <<_ACEOF
5585 # CONFIG_FILES section.
5588 # No need to generate the scripts if there are no CONFIG_FILES.
5589 # This happens for instance when ./config.status config.h
5590 if test -n "\$CONFIG_FILES"; then
5591 # Protect against being on the right side of a sed subst in config.status.
5592 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
5593 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
5594 s,@SHELL@,$SHELL,;t t
5595 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
5596 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
5597 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
5598 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
5599 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
5600 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
5601 s,@exec_prefix@,$exec_prefix,;t t
5602 s,@prefix@,$prefix,;t t
5603 s,@program_transform_name@,$program_transform_name,;t t
5604 s,@bindir@,$bindir,;t t
5605 s,@sbindir@,$sbindir,;t t
5606 s,@libexecdir@,$libexecdir,;t t
5607 s,@datadir@,$datadir,;t t
5608 s,@sysconfdir@,$sysconfdir,;t t
5609 s,@sharedstatedir@,$sharedstatedir,;t t
5610 s,@localstatedir@,$localstatedir,;t t
5611 s,@libdir@,$libdir,;t t
5612 s,@includedir@,$includedir,;t t
5613 s,@oldincludedir@,$oldincludedir,;t t
5614 s,@infodir@,$infodir,;t t
5615 s,@mandir@,$mandir,;t t
5616 s,@build_alias@,$build_alias,;t t
5617 s,@host_alias@,$host_alias,;t t
5618 s,@target_alias@,$target_alias,;t t
5620 s,@ECHO_C@,$ECHO_C,;t t
5621 s,@ECHO_N@,$ECHO_N,;t t
5622 s,@ECHO_T@,$ECHO_T,;t t
5624 s,@build@,$build,;t t
5625 s,@build_cpu@,$build_cpu,;t t
5626 s,@build_vendor@,$build_vendor,;t t
5627 s,@build_os@,$build_os,;t t
5629 s,@host_cpu@,$host_cpu,;t t
5630 s,@host_vendor@,$host_vendor,;t t
5631 s,@host_os@,$host_os,;t t
5632 s,@target@,$target,;t t
5633 s,@target_cpu@,$target_cpu,;t t
5634 s,@target_vendor@,$target_vendor,;t t
5635 s,@target_os@,$target_os,;t t
5636 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
5637 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
5638 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
5639 s,@PACKAGE@,$PACKAGE,;t t
5640 s,@VERSION@,$VERSION,;t t
5641 s,@ACLOCAL@,$ACLOCAL,;t t
5642 s,@AUTOCONF@,$AUTOCONF,;t t
5643 s,@AUTOMAKE@,$AUTOMAKE,;t t
5644 s,@AUTOHEADER@,$AUTOHEADER,;t t
5645 s,@MAKEINFO@,$MAKEINFO,;t t
5646 s,@SET_MAKE@,$SET_MAKE,;t t
5649 s,@CFLAGS@,$CFLAGS,;t t
5650 s,@LDFLAGS@,$LDFLAGS,;t t
5651 s,@CPPFLAGS@,$CPPFLAGS,;t t
5652 s,@ac_ct_CC@,$ac_ct_CC,;t t
5653 s,@EXEEXT@,$EXEEXT,;t t
5654 s,@OBJEXT@,$OBJEXT,;t t
5657 s,@X_CFLAGS@,$X_CFLAGS,;t t
5658 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
5659 s,@X_LIBS@,$X_LIBS,;t t
5660 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
5661 s,@X_LIBRARY_PATH@,$X_LIBRARY_PATH,;t t
5662 s,@XCFLAGS@,$XCFLAGS,;t t
5663 s,@XLFLAGS@,$XLFLAGS,;t t
5664 s,@XLIBS@,$XLIBS,;t t
5665 s,@DFLAGS@,$DFLAGS,;t t
5667 s,@SETGID_FLAGS@,$SETGID_FLAGS,;t t
5668 s,@LIBRARY_SEARCH_PATH@,$LIBRARY_SEARCH_PATH,;t t
5669 s,@HEADER_SEARCH_PATH@,$HEADER_SEARCH_PATH,;t t
5674 cat >>$CONFIG_STATUS <<\_ACEOF
5675 # Split the substitutions into bite-sized pieces for seds with
5676 # small command number limits, like on Digital OSF/1 and HP-UX.
5678 ac_sed_frag
=1 # Number of current file.
5679 ac_beg
=1 # First line for current file.
5680 ac_end
=$ac_max_sed_lines # Line after last line for current file.
5683 while $ac_more_lines; do
5684 if test $ac_beg -gt 1; then
5685 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
5687 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
5689 if test ! -s $tmp/subs.frag
; then
5692 # The purpose of the label and of the branching condition is to
5693 # speed up the sed processing (if there are no `@' at all, there
5694 # is no need to browse any of the substitutions).
5695 # These are the two extra sed commands mentioned above.
5697 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
5698 if test -z "$ac_sed_cmds"; then
5699 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
5701 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
5703 ac_sed_frag
=`expr $ac_sed_frag + 1`
5705 ac_end
=`expr $ac_end + $ac_max_sed_lines`
5708 if test -z "$ac_sed_cmds"; then
5711 fi # test -n "$CONFIG_FILES"
5714 cat >>$CONFIG_STATUS <<\_ACEOF
5715 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
5716 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5718 - |
*:- |
*:-:* ) # input from stdin
5720 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
5721 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
5722 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
5723 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
5724 * ) ac_file_in
=$ac_file.
in ;;
5727 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
5728 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
5729 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5730 X"$ac_file" : 'X\(//\)[^/]' \| \
5731 X"$ac_file" : 'X\(//\)$' \| \
5732 X"$ac_file" : 'X\(/\)' \| \
5733 . : '\(.\)' 2>/dev/null ||
5735 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5736 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5737 /^X\(\/\/\)$/{ s//\1/; q; }
5738 /^X\(\/\).*/{ s//\1/; q; }
5741 [\\/]* | ?
:[\\/]* ) as_incr_dir
=;;
5745 for as_mkdir_dir
in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
5746 case $as_mkdir_dir in
5747 # Skip DOS drivespec
5748 ?
:) as_incr_dir
=$as_mkdir_dir ;;
5750 as_incr_dir
=$as_incr_dir/$as_mkdir_dir
5751 test -d "$as_incr_dir" ||
5752 mkdir
"$as_incr_dir" ||
5753 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
5754 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
5755 { (exit 1); exit 1; }; }
5762 if test "$ac_dir" != .
; then
5763 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5764 # A "../" for each directory in $ac_dir_suffix.
5765 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5767 ac_dir_suffix
= ac_top_builddir
=
5771 .
) # No --srcdir option. We are building in place.
5773 if test -z "$ac_top_builddir"; then
5776 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
5778 [\\/]* | ?
:[\\/]* ) # Absolute path.
5779 ac_srcdir
=$srcdir$ac_dir_suffix;
5780 ac_top_srcdir
=$srcdir ;;
5782 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
5783 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
5785 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
5787 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
5788 ac_abs_top_builddir
=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
5789 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
5790 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
5794 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
5795 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
5798 if test x
"$ac_file" != x-
; then
5799 { echo "$as_me:$LINENO: creating $ac_file" >&5
5800 echo "$as_me: creating $ac_file" >&6;}
5803 # Let's still pretend it is `configure' which instantiates (i.e., don't
5804 # use $as_me), people would be surprised to read:
5805 # /* config.h. Generated by config.status. */
5806 if test x
"$ac_file" = x-
; then
5809 configure_input
="$ac_file. "
5811 configure_input
=$configure_input"Generated from `echo $ac_file_in |
5812 sed 's,.*/,,'` by configure."
5814 # First look for the input files in the build tree, otherwise in the
5816 ac_file_inputs
=`IFS=:
5817 for f in $ac_file_in; do
5819 -) echo $tmp/stdin ;;
5821 # Absolute (can't be DOS-style, as IFS=:)
5822 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5823 echo "$as_me: error: cannot find input file: $f" >&2;}
5824 { (exit 1); exit 1; }; }
5827 if test -f "$f"; then
5830 elif test -f "$srcdir/$f"; then
5835 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5836 echo "$as_me: error: cannot find input file: $f" >&2;}
5837 { (exit 1); exit 1; }; }
5840 done` ||
{ (exit 1); exit 1; }
5842 cat >>$CONFIG_STATUS <<_ACEOF
5846 cat >>$CONFIG_STATUS <<\_ACEOF
5848 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
5849 s
,@configure_input@
,$configure_input,;t t
5850 s
,@srcdir@
,$ac_srcdir,;t t
5851 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
5852 s
,@top_srcdir@
,$ac_top_srcdir,;t t
5853 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
5854 s
,@builddir@
,$ac_builddir,;t t
5855 s
,@abs_builddir@
,$ac_abs_builddir,;t t
5856 s
,@top_builddir@
,$ac_top_builddir,;t t
5857 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
5858 s
,@INSTALL@
,$ac_INSTALL,;t t
5859 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
5861 if test x"$ac_file" != x-; then
5862 mv $tmp/out $ac_file
5870 cat >>$CONFIG_STATUS <<\_ACEOF
5873 # CONFIG_HEADER section.
5876 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
5877 # NAME is the cpp macro being defined and VALUE is the value it is being given.
5879 # ac_d sets the value in "#define NAME VALUE" lines.
5880 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
5881 ac_dB
='[ ].*$,\1#\2'
5884 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
5885 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
5886 ac_uB
='$,\1#\2define\3'
5890 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
5891 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5893 - |
*:- |
*:-:* ) # input from stdin
5895 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
5896 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
5897 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
5898 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
5899 * ) ac_file_in
=$ac_file.
in ;;
5902 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
5903 echo "$as_me: creating $ac_file" >&6;}
5905 # First look for the input files in the build tree, otherwise in the
5907 ac_file_inputs
=`IFS=:
5908 for f in $ac_file_in; do
5910 -) echo $tmp/stdin ;;
5912 # Absolute (can't be DOS-style, as IFS=:)
5913 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5914 echo "$as_me: error: cannot find input file: $f" >&2;}
5915 { (exit 1); exit 1; }; }
5918 if test -f "$f"; then
5921 elif test -f "$srcdir/$f"; then
5926 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5927 echo "$as_me: error: cannot find input file: $f" >&2;}
5928 { (exit 1); exit 1; }; }
5931 done` ||
{ (exit 1); exit 1; }
5932 # Remove the trailing spaces.
5933 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
5937 # Transform confdefs.h into two sed scripts, `conftest.defines' and
5938 # `conftest.undefs', that substitutes the proper values into
5939 # config.h.in to produce config.h. The first handles `#define'
5940 # templates, and the second `#undef' templates.
5941 # And first: Protect against being on the right side of a sed subst in
5942 # config.status. Protect against being in an unquoted here document
5944 rm -f conftest.defines conftest.undefs
5945 # Using a here document instead of a string reduces the quoting nightmare.
5946 # Putting comments in sed scripts is not portable.
5948 # `end' is used to avoid that the second main sed command (meant for
5949 # 0-ary CPP macros) applies to n-ary macro definitions.
5950 # See the Autoconf documentation for `clear'.
5951 cat >confdef2sed.
sed <<\_ACEOF
5956 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
5958 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
5961 # If some macros were called several times there might be several times
5962 # the same #defines, which is useless. Nevertheless, we may not want to
5963 # sort them, since we want the *last* AC-DEFINE to be honored.
5964 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
5965 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
5966 rm -f confdef2sed.sed
5968 # This sed command replaces #undef with comments. This is necessary, for
5969 # example, in the case of _POSIX_SOURCE, which is predefined and required
5970 # on some systems where configure will not decide to define it.
5971 cat >>conftest.undefs <<\_ACEOF
5972 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
5975 # Break up conftest.defines because some shells have a limit on the size
5976 # of here documents, and old seds have small limits too (100 cmds).
5977 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
5978 echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
5979 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
5980 echo ' :' >>$CONFIG_STATUS
5982 while grep . conftest.defines >/dev/null
5984 # Write a limited-size here document to $tmp/defines.sed.
5985 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
5986 # Speed up: don't consider the non `#define' lines.
5987 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
5988 # Work around the forget-to-reset-the-flag bug.
5989 echo 't clr' >>$CONFIG_STATUS
5990 echo ': clr' >>$CONFIG_STATUS
5991 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
5993 sed -f $tmp/defines.sed $tmp/in >$tmp/out
5997 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
5998 rm -f conftest.defines
5999 mv conftest.
tail conftest.defines
6001 rm -f conftest.defines
6002 echo ' fi # egrep' >>$CONFIG_STATUS
6003 echo >>$CONFIG_STATUS
6005 # Break up conftest.undefs because some shells have a limit on the size
6006 # of here documents, and old seds have small limits too (100 cmds).
6007 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
6009 while grep . conftest.undefs
>/dev
/null
6011 # Write a limited-size here document to $tmp/undefs.sed.
6012 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
6013 # Speed up: don't consider the non
`#undef'
6014 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
6015 # Work around the forget-to-reset-the-flag bug.
6016 echo 't clr' >>$CONFIG_STATUS
6017 echo ': clr' >>$CONFIG_STATUS
6018 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
6020 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
6024 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
6025 rm -f conftest.undefs
6026 mv conftest.tail conftest.undefs
6028 rm -f conftest.undefs
6030 cat >>$CONFIG_STATUS <<\_ACEOF
6031 # Let's still pretend it is `configure
' which instantiates (i.e., don't
6032 # use $as_me), people would be surprised to read:
6033 # /* config.h. Generated by config.status. */
6034 if test x
"$ac_file" = x-
; then
6035 echo "/* Generated by configure. */" >$tmp/config.h
6037 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
6039 cat $tmp/in >>$tmp/config.h
6041 if test x
"$ac_file" != x-
; then
6042 if cmp -s $ac_file $tmp/config.h
2>/dev
/null
; then
6043 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6044 echo "$as_me: $ac_file is unchanged" >&6;}
6046 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
6047 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6048 X"$ac_file" : 'X\(//\)[^/]' \| \
6049 X"$ac_file" : 'X\(//\)$' \| \
6050 X"$ac_file" : 'X\(/\)' \| \
6051 . : '\(.\)' 2>/dev/null ||
6053 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6054 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6055 /^X\(\/\/\)$/{ s//\1/; q; }
6056 /^X\(\/\).*/{ s//\1/; q; }
6059 [\\/]* | ?
:[\\/]* ) as_incr_dir
=;;
6063 for as_mkdir_dir
in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
6064 case $as_mkdir_dir in
6065 # Skip DOS drivespec
6066 ?
:) as_incr_dir
=$as_mkdir_dir ;;
6068 as_incr_dir
=$as_incr_dir/$as_mkdir_dir
6069 test -d "$as_incr_dir" ||
6070 mkdir
"$as_incr_dir" ||
6071 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
6072 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
6073 { (exit 1); exit 1; }; }
6079 mv $tmp/config.h
$ac_file
6087 cat >>$CONFIG_STATUS <<\_ACEOF
6090 # CONFIG_COMMANDS section.
6092 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
6093 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
6094 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6095 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
6096 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6097 X"$ac_dest" : 'X\(//\)[^/]' \| \
6098 X"$ac_dest" : 'X\(//\)$' \| \
6099 X"$ac_dest" : 'X\(/\)' \| \
6100 . : '\(.\)' 2>/dev/null ||
6102 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6103 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6104 /^X\(\/\/\)$/{ s//\1/; q; }
6105 /^X\(\/\).*/{ s//\1/; q; }
6109 if test "$ac_dir" != .
; then
6110 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6111 # A "../" for each directory in $ac_dir_suffix.
6112 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6114 ac_dir_suffix
= ac_top_builddir
=
6118 .
) # No --srcdir option. We are building in place.
6120 if test -z "$ac_top_builddir"; then
6123 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
6125 [\\/]* | ?
:[\\/]* ) # Absolute path.
6126 ac_srcdir
=$srcdir$ac_dir_suffix;
6127 ac_top_srcdir
=$srcdir ;;
6129 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
6130 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
6132 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
6134 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
6135 ac_abs_top_builddir
=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
6136 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
6137 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
6140 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
6141 echo "$as_me: executing $ac_dest commands" >&6;}
6143 default-1
) test -z "$CONFIG_HEADERS" ||
echo timestamp
> stamp-h
;;
6148 cat >>$CONFIG_STATUS <<\_ACEOF
6150 { (exit 0); exit 0; }
6152 chmod +x
$CONFIG_STATUS
6153 ac_clean_files
=$ac_clean_files_save
6156 # configure is writing to config.log, and then calls config.status.
6157 # config.status does its own redirection, appending to config.log.
6158 # Unfortunately, on DOS this fails, as config.log is still kept open
6159 # by configure, so config.status won't be able to write to it; its
6160 # output is simply discarded. So we exec the FD to /dev/null,
6161 # effectively closing config.log, so it can be properly (re)opened and
6162 # appended to by config.status. When coming back to configure, we
6163 # need to make the FD available again.
6164 if test "$no_create" != yes; then
6167 $SHELL $CONFIG_STATUS || ac_cs_success
=false
6169 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6170 # would make configure fail if this is the last instruction.
6171 $ac_cs_success ||
{ (exit 1); exit 1; }